textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
    -webkit-appearance: none;
    border-radius: 0;
}

html,body
{
    background: #006b8f;
    font-size:14px;
    color: white;
    font-family:"Lato";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#logo
{
    display:block;
    padding:20px;
    width: 100%;
    margin:auto;
    max-width: 300px;
    box-sizing: border-box;
}

.flex {
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100vh;
    width: 100%;
}

div#block {
    display: block;
    width: 100%;
    max-width: 500px;
    background: white;
    /* padding: 20px; */
    border-radius: 10px;
    overflow: hidden;
    user-select: none;
    position: relative;
    margin: 10px;
    box-shadow: rgba(0,0,0,0.3) 2px 2px 10px;
}

h1 {
    padding: 20px;
    font-size: 35px;
    margin: 0;
    text-align: center;
    font-weight: normal;
    padding-top: 0;
    text-transform: uppercase;
    font-weight: 600;
    width: calc(100% - 40px);
    max-width: 452px;
    text-align: left;
    display: inline-block;
    padding-top: 200px;
    padding-bottom: 100px;
    position: relative;
    text-shadow: black 0 0 30px;
}

#block a {
    display: block;
    padding: 20px;
    background: #ecf0f1;
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: normal;
    line-height: 32px;
    word-break: break-all;
    height: 20px;
    overflow: hidden;
    transition: all ease-out 0.1s;
}

#block a:hover, #block a:hover * {
    background: #2abbc7!important;
    color: white;
}

a i.fa {
    font-size: 24px;
    line-height: 20px;
    color: #7f8c8d;
    margin-right: 10px;
    display: inline-block;
    vertical-align: baseline;
    transition: all ease-out 0.1s;
}

#block a:nth-child(2n) {
    background: white;
}

section.photo {
    background: #555 url('chateau.jpg');
    width: 100%;
    background-size: cover;
    background-position: center center;
}

.in {
    display: block;
    margin: auto;
    max-width: 1200px;
    width: calc(100% - 20px);
    position: relative;
}

.photo .in {text-align: right;}

section.carte .in:before {
    content: "";
    border-left: solid 6px white;
    position: absolute;
    top: -50px;
    left: 40px;
    height: 196px;
    transform: rotate(
            15deg
    );
}

section.carte {
    display: block;
    position: relative;
    padding-bottom: 200px;
}

.carte img {
    display: block;
    width: 300px;
    /* position: relative; */
    height: 300px;
    /* background: #cccccc26; */
    margin-top: 50px;
}

h2 {
    /* padding: 20px; */
    font-size: 25px;
    margin: 0;
    text-align: center;
    font-weight: normal;
    padding-top: 0;
    text-transform: uppercase;
    font-weight: bolder;
    /* width: 100%; */
    /* max-width: 452px; */
    text-align: left;
    display: inline-block;
    /* padding-top: 200px; */
    /* padding-bottom: 100px; */
    /* position: relative; */
}

h3 {
    /* padding: 20px; */
    font-size: 20px;
    margin: 0;
    text-align: center;
    font-weight: normal;
    padding-top: 0;
    text-transform: uppercase;
    font-weight: bolder;
    width: 100%;
    /* max-width: 452px; */
    text-align: left;
    display: inline-block;
    /* padding-top: 200px; */
    /* padding-bottom: 100px; */
    position: relative;
}

p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.obj {
    background: white;
    margin: 10px;
    margin-top: -50px;
    position: relative;
    color: #006b8f;
    width: 100%;
    flex-grow: 1;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
    padding: 35px 32px 20px 35px;
    position: relative;
    overflow: hidden;
    min-width: 147px;
    max-width: 180px;
    margin-bottom: 90px;
    text-decoration: none;
}

header .in {
    margin: 20px auto;
}

.header .in img {
    /* height: 200px; */
    width: 600px;
    /* background: #cccccc3d; */
    display: block;
    max-width: 100%;
}

header a {
    /* float: right; */
    color: #006b8f;
    text-decoration: none;
    /* padding-top: 20px; */
    display: block;
    align-items: top;
    font-weight: bolder;
    text-transform: uppercase;
    border: solid 2px white;
    padding: 3px 16px;
    border-radius: 10px;
    /* margin-bottom: 10px; */
    position: absolute;
    right: 0;
    top: 0;
    background: white;
}

header a:hover {
    background: #006b8f;
    color: white;
}

.photo h1:before {
    content: "";
    border-left: solid 6px white;
    position: absolute;
    top: 95px;
    left: 0;
    height: 150px;
    transform: rotate(
            15deg
    );
}

.carte .in {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.right {
    width: calc( 100% - 300px);
}

.avantages .in {display: flex;align-items: stretch;justify-content: space-around;flex-wrap: wrap;/* margin-top: -50px; */position: relative;margin-bottom: 0px;padding-bottom: 40px;}

.obj p {
    font-weight: 100;
    /* text-transform: uppercase; */
    color: black;
    font-size: 16px;
}

.obj:before {content: "";border-left: solid 2px #006b8f;position: absolute;top: 17px;left: 23px;height: 50px;transform: rotate(15deg);}

.obj:after {content: "";border-left: solid 2px #006b8f;position: absolute;bottom: -13px;right: -32px;height: 108px;transform: rotate(15deg);width: 37px;background: #006b8f;}


section.avantages {
    background: #555 url('bourse.jpg');
    padding-bottom: 0;
    position: relative;
    background-size:cover;
    background-position: center bottom;
}

.form {
    background: white;
    color: black;
    padding-bottom: 80px;
}

.form .txt {
    position: relative;
    max-width: 512px;
    padding-left: 175px;
    padding-bottom: 19px;
}

.form .txt h2 {
    font-size: 40px;
    padding-top: 50px;
    color: #006b8f;
    max-width: 432px;
}

footer img {/* height: 300px; */display: block;width: 600px;max-width: 100%;}

footer {
    padding: 20px 0;
}

.cols {
    display: flex;
    flex-wrap: wrap;
}

label {
    display: inline-block;
    width: 160px;
    text-align: right;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 16px;
    margin-right: 11px;
}

input, textarea, select {
    box-sizing: border-box;
    border: solid 2px;
    padding: 7px 5px;
    font-weight: bolder;
    color: #383838;
    border-color: black;
    margin: 5px 0;
    flex-grow: 1;
    outline: none!important;
    -webkit-appearence: none;
    appearance: none;
    font-family: 'Lato';
    font-weight: 200;
    font-size: 16px;
}

label.small {
    width: 60px;
}

input[type="submit"] {
    background: #006b8f;
    color: white;
    border: solid 3Px #006b8f;
    border-radius: 20px;
    height: 34px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 18px;
    width: 250px;
    float: right;
    outline: none;
    /* line-height: 34px; */
    padding: 0;
}

textarea#description {
    /* width: 1032px; */
    min-height: 100px;
    resize: vertical;
}

.large2 {
    display: flex;
}

.large2 label {
    margin-top: 18px;
}

.form .txt:before {
    content: "";
    border-left: solid 6px #006b8f;
    position: absolute;
    top: -48px;
    left: 152px;
    height: 200px;
    transform: rotate(
            15deg
    );
}

.form .in {
    max-width: 1000px;
}

.cols div {
    width: calc(50% + 50px);
    display: inline-flex;
    align-items: center;
    justify-content: stretch;
}

.cols div:nth-child(2n) {
    width: calc(50% - 50px);
}

@media screen and (max-width:900px) {
    .form .cols div {
        width:100%!important;
    }
    .form .cols div .small
    {
        width:160px;
    }
    .carte .in
    {
        display:block;
        padding-top:20px
    }
    .carte .in:before
    {
        left: 50%!important;
        margin-left: -118px;
    }

    .carte .in img
    {
        display:block;
        margin:auto;
    }
    .carte .right{
        width:calc(100% - 40px);
        padding:20px;
    }
}

@media screen and (max-width:550px) {

    label{
        display:block!important;
        text-align:left;
        width:100%;
    }
    form div
    {
        display:block!important;
    }
    input,textarea,select
    {
        width:100%;
    }
    form {
        padding-left: 70px;
    }

    form {
        padding-left: 0!important;
    }
    .txt
    {
        padding-left:11px!important;
    }
    .txt:before
    {
        display:none;
    }
    .txt h2
    {
        font-size:30px!important;
    }

}

.right p {
    color: white;
    font-weight: 200;
}

form {
    padding-left: 70px;
}

input[type="submit"]:hover {
    background: white;
    color: #006b8f;
}

select {
    appearance: auto;
}

.blanc {
    background: white;
    padding: 100px 0;
    color: black;
    border-bottom: solid 50px #006b8f;
}

.blanc h2 {
    color: #006b8f;
    font-size: 35px;
    position: relative;
}

.blanc h3 {
    padding-top: 20px;
    color: #555;
}

.blanc table td {
    border-top: solid 1px #eee;
    padding: 15px 4px;
    /* line-height: 36px; */
    word-break: break-all;
}

.blanc table {
    width: 100%;
    margin-top: 20px;
    border: solid 3px #555555;
}

thead {
    background: #555;
}

.blanc table thead td, .blanc table thead th {
    border: solid 1px #555;
    color: white;
    padding: 10px;
    text-align: left;
}

span.etat {
    display: inline-block;
    background: #555;
    color: white;
    text-transform: uppercase;
    font-weight: bolder;
    padding: 2px 10px;
    border-radius: 5px;
    margin-left: 5px;
    line-height: 12px;
    font-size: 11px;
}

table a {
    color: #555555;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

table a:hover,table a:hover i {
    color: #006b8f;
}

span.etat.warning {
    background: #e47e00;
    font-size: 13px;
    line-height: 14px;
}
@media screen and (max-width:500px)
{
td {
    display: block;
    border:none;
}
thead {
    display:none;
}
tr td:first-child
{
    background:#555;
    color:white;
    border:none;
}
}

ul.flip-clock-container.flip-1 {
    padding: 20px 0;
}

ul.flip-clock-container {
    transform: scale(0.25);
    float: right;
    position: absolute;
    top: 20px;
    right: 0;
    transform-origin: top right;
}

li.flip-item-days {
}

.flip-item-days::before {
    opacity: 0;
}

.blanc {}

@media screen and (max-width:750px)
{
 h2{
     padding-top:40px;
     text-align:center!important;
     width:100%;
 }


 .in, p * {
     text-align:center!important;
     overflow:hidden;
 }

ul.flip-clock-container {
    transform-origin: top center;
    right: 50%;
    margin-right: -514px;
    top: 0px;
}
}

.flip-clock-container .flip-item-days .flip-digit:last-child {
    width: 206px;
}

section.mainHTML {
    background: white;
    padding: 50px 0;
}

div#in {
    display: block;
    max-width: 1190px;
    width: 100%;
    margin: auto;
}

#in a {
    color: #006b8f;
    text-decoration: none;
    font-weight: bold;
}

#in h1 {
    padding-top: 0;
    text-align: left;
    color: #006b8f;
    width: 100%!important;
    margin: 0;
    max-width: 100%;
    display: block;
    text-shadow: 0 0 black;
    padding: 20px 0;
}
.form a {
    color: #006b8f;
    text-decoration: none;
    font-weight: bold;
}

.preview {
    text-align: center;
    background: orange;
    padding: 30px;
    color: white;
    font-weight: bolder;
    font-size: 20px;
}

.preview a {
    color: white;
}