/* Style css version 1.6 */

*:focus{
  outline: none;
  -moz-outline: none;
  -webkit-outline: none;

}
body {
    overflow-x: hidden !important;
}

@font-face {
    font-family: "Ubuntu";
    src: url(./../fonts/Ubuntu-Regular.ttf) format('truetype');
}
@font-face {
    font-family: "Ubuntu bold";
    src: url(./../fonts/Ubuntu-Bold.ttf) format('truetype');
}

body { margin:0; padding:0; font-family:'Ubuntu'; font-size:13px; color:#fff;}
.btn{ cursor: pointer; }
.clear, .clearfix { clear:both;}
.wrapper {
  max-width: 754px;
  margin: 20px auto;
}
h2 {
  font-size:1.667em;
  font-family:'Ubuntu bold';
}
.start-page {
  background:#235ea4;
  border-radius:10px;
  position:relative;
}
.start-page .image-container {
  width:50%;
  float:left;
  background:transparent;
}
.start-page .text-container {
  width: 47%;
  float: left;
  background: transparent;
  padding-top: 25px;
  padding-left: 3%;
}
.start-page .text-container p { font-family:'Ubuntu';margin-top:7px;font-weight: bold;}
.start-page .text-container h2 { font-size:2em; margin-top:32px;margin-bottom:13px;}
.start-page .text-container h4 { font-size:1.4em;margin-bottom:0; margin-top:0;}
.start-page .text-container h2 span { color:#a0dbed;}
.start-page .text-container .start-link-txt{ text-decoration: underline;margin-left: 3px;color:#fff ; margin-bottom: 17px;}
.start-page .text-container .txt{ float:left;  font-weight: bold;}
.start-page .image-container img {
  height: auto;
  width: 80%;
  margin: 25px auto;
  display:block;
}
.start-page .boulier {
  background: url(./../img/rectangle-pointu.png) top left no-repeat;
  height: 50px;
  background-size: 100% 106%;
  margin-top: 0;
  width: 200px;
  padding: 0;
  padding-top: 20px;
  color: #fff;
  font-family: 'Ubuntu';
}
.start-page .boulier span {
  font-size: 16px;
  line-height: 20px;
  margin-top: -5px;
  display: inline-block;
  width: 50%;
  font-family:'Ubuntu bold';
}
.start-page .boulier img {
  width: 39px;
  height: 31px;
  margin: 20px 14px;
  margin-top: 0;
  float: left;
}
.start-page button {
  background: #8dc73f;
  font-family:'Ubuntu bold';
  border: none;
  color: #fff;
  width: 180px;
  height: 42px;
  border-radius: 21px;
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 40px;
  margin-top:10px;
  cursor: pointer;
}

.start-page .site-address {
  color: #ffffff;
}
/* Other Elements */

.site-address {
  padding-top: 1rem;
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.site-address .col span {
  display: block;
}

.site-address .col span:first-of-type {
  font-family: 'Ubuntu Bold';
  font-size: 1rem;
}

.site-address .col span:last-of-type {
  font-size: 0.4rem;
}

.start-page .logo {
    position:relative;
    top:-10px;
    left:10px;
}

.logo img {
    width: 122px;
    margin: 10px;
}

.hide-desktop {display:none;}
.triangle-mobile{
  height: 40px;
  width: 84px;
  background: url(./../img/triangle-mobile.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -1px;

  display:none;
}

.hide-desktop {
  height: auto;
  width: 80%;
  margin: auto;
  margin-top:40px;
  margin-bottom:40px;
}

@media only screen and (max-width: 660px){
  /* Start page version mobile */
  .start-page .image-container {
    width :100%;
  }
  .start-page .boulier {
    background: #8dc73f;
    width : 100%;
  }
  .start-page .boulier span{
    margin-top: 5px;
  }
  .start-page .text-container {
    width : 100%;
    text-align:center;
    padding:0;
  }
  .text-container .txt { width : 50%; text-align:right;}
  .text-container .start-link-txt { width : 49%; text-align:left;}
  .hide-mobile {display:none!important;}
  .hide-desktop {display:inherit;}
  .start-page .text-container h4 {margin-bottom: 20px}
  .start-page .text-container p {margin-bottom:25px;}
  .start-page button { margin-top:25px; }
  .triangle-mobile{display:inherit;}
  .more-info{left: 0!important;}
  .bulle-info{left:-75px!important;top:200px!important;}

    .start-page .logo {
    position: inherit;
    text-align:center;
    left:0;
  }

  .logo {
    text-align:center;
  }
  .wrapper { padding-top:60px; }
}





#logement {
  color : #01215c;
}
.form-left-side , .form-right-side{
  width : 43%;
  float: left;
  color: #01215c;
}

.form-left-side {
  padding-right:7%;
}
#logement .form-left-side {
  border-right:3px solid #01205C;
}

.form-right-side {
    width:45%;
    padding-left: 4%;
    border-left:3px solid #01205C;
    min-height: 290px;
}

#logement .form-right-side{
  border-left:none;
}


.clear-fix {
  float:none;
  clear:both;
}

.custom-radiobox {
  position:relative;
}

.custom-radiobox , .custom-control{
    width : 260px;
    padding : 8px;
    margin-top :10px!important;
    background:#f7f8fa;
    border-radius:25px;
    text-align:left;
}

.radio-container  {
    display: inline;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default radio button */
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 270px;
    left: -8px;
    height: 36px;
    top: -10px;
    z-index: 10;
}


.custom-radio-label , .custom-control-label{
    font-size: 16px;
    color: #01205C;
    position: absolute;
    padding-left: 10px;
    margin-top : 4px;
}
span.precision ~ .custom-control-label {
    margin-top :-5px;
    width: 100%;
    position: absolute;
    left: 45px;
}
span.precision {
    padding-left: 10px;
    position: absolute;
    bottom: 10px;
}
.choix-logement {
  position:relative;
}
/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input ~ .checkmark {
    background-color: #CCCCCC;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
}

.custom-radiobox>input:checked {
    background:#dadae3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: block;
    background:#E1E6EB;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
    display: block;
    background: #01205C;
}

/* Style the indicator (dot/circle) */

.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    

}


/*Hid custom checkbox label pseudo elements */
.custom-control-label:after , .custom-control-label:before {
    height: 0;
    display: none !important;
}

.custom-control {
    display:inline-block;
    padding:11px;
    width :276px;
}
/*center papernest radio */
#papernest .custom-control {
  display:block;
  margin:auto;
}

.buttons-container{
  width:100%;
  float:left;
  padding-top: 40px;
}

.btn-info {
    width:245px;
    text-align:center;
    color:#fff;
    border:none;
    border-radius:21px;
    background-color:#8dc73f;
    height: 40px;
    margin: auto;
    font-size: 16px;
    font-family: "Ubuntu bold";
}

.sim-form {
    border-radius : 4px;
    box-shadow : 0px 0px 10px #d4d4d4;
    display: inline-block;
    padding: 50px;
    background: url(../img/triangle.png);
    background-repeat:no-repeat;
    background-size : 30px 100px;
    color: #01205c;
    position:relative;
    min-height:300px;
}

.text-center {
    text-align: center;
}

#logement .question .title {
    font-size: 16px;
    margin-bottom: -10px;
    font-family: "Ubuntu";
    font-weight: bold;
    min-height: 35px

}

#enfants .question {
    margin-bottom:21px;

}

.question span.title {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: "Ubuntu bold";
}

.row {
    width : 100%;
    margin-top:20px;
}

.form-group label{
  width:100%;
  float:left;
  font-size:16px;
  font-family:"Ubuntu bold";
  margin-bottom: 10px;

}
.form-group input {
  float:left;
}

.half {
  width :51%;
  float:left;
  margin-bottom:10px;
}

#logement input.code-postal {
    width: 65px;
    height: 40px;
    border: none;
    background: #f7f8fa;
    border-radius: 23px;
    text-align: center;
    font-size:15px;
    padding-right: 10px;
    padding-left: 10px;

}

.restart-btn {
    background: #ffffff;
    border: none;
    color: #01215c;
    font-family: "Ubuntu bold";
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
    width:245px;
    border-radius:25px;
}
.etape {
  font-family:"Ubuntu";
  color:#01215c;
  font-size:15px;
  margin-top:20px;
  margin-bottom:20px;
}
.mobile-only {display: none}

#logement div.indication-text , #logement p.indication-text{
  margin-bottom:28px;
}

#logement .cp-container {
  margin-top:40px;
}

/* block recapitulation */
#logement {position :relative;}
.recapitulation-button {
  position:absolute;
  bottom: 140px;
  right:-1px;
  cursor:pointer;
}

.recapitulation-button .text-btn-recapitulation {
  text-align:right;
  float: left;
  font-family:"Ubuntu bold";
}
.recapitulation-button .image-btn-recapitulation {
  background : url(../img/recapitulatif.svg);
  background-repeat: no-repeat;
  height: 75px;
  width: 37px;
  margin-left:17px;
  float:left;

}
.error-message{
  color :#c00f33!important;
  text-align:center;
}


.form-content {
  width : 100%;
  float:left;
}


/* Enfants a charge */
.a-des-enfants{
    text-align:center;
}

.custom-text-input label {
    width:100%;
    text-align:center;
    font-size: 20px;
    font-family: "Ubuntu bold";
    line-height: 24px;
    color: #01205C;
    margin-bottom: 15px;
}

.custom-text-input span.indication-text , .ressource-question span.indication-text {
    font-size:15px;
    color: #01205C;
    width: 100%;
    text-align:center;
}
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #01205c;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    -moz-animation: spin 2s linear infinite;
    float:left;
}
/* Safari */
@-webkit-keyframes spin {
 0% { -webkit-transform: rotate(0deg); }
 100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
 0% { transform: rotate(0deg); }
 100% { transform: rotate(360deg); }
}


.label .large-size{
    font-size: 16px;
    margin-bottom: 10px;
    font-family: "Ubuntu";
    font-weight: bold;
}
.form-group{
    width:100%;
    float:left;
}

.form-group> input.form-control[type="number"]{
    width: 85px;
    height: 40px;
    border: none;
    background: #f7f8fa;
    border-radius: 23px;
    text-align: center;
    font-size: 15px;
    padding-left: 14px;
    padding-right: 10px;
}

.texte-explicatif {
  margin-top:30px;
  margin-bottom:20px;
}
.garde-alternee-box label{
  font-size:16px;
}

#enfants .hide-show-box {
  margin-top: 95px;
}
.enfant-garde-alternee-container .custom-radiobox{
    width: 35%;
    margin-right: 15px;
}

.enfant-garde-alternee-container  .radio-container input {
    width: 143px;
    left: -8px;
    height: 40px;
}

.garde-alternee-box {
    margin-bottom:23px;
}
.sim-form {
  min-height:170px;
}

.resultat .image-resultat-negatif{
    background: url(./../img/non-cheque.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:70%;
    height: 300px;
}

.resultat .image-resultat-positif{
    background: url(./../img/oui-cheque.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:70%;
    height: 300px;
}

.resultat .image-resultat-positif , .resultat .image-resultat-negatif  , .resultat .content{
    width: 50%;
    float: left;
}
.resultat-negatif .content {
    padding-top: 75px;
}

.resultat .content p {
    font-size: 15px;
    text-align: justify;
    padding: 0;
    padding-right: 0px;
    margin : 0 0 10px 0;
    padding-right: 57px;
}
.resultat .content .title {
    font-family: "Ubuntu bold";
    font-size:27px;
    margin:0;
} 
.resultat-positif .content{
  padding-top:40px;
}
.resultat .result-text {
  padding-bottom: 40px;
}

.resultat-positif .content p.title{
  padding-bottom:5px;
}
.resultat .content p.small {
  font-size : 12px;
}
.resultat .content span.montant{
  font-size:30px;
  font-family: "Ubuntu bold"
}
.resultat-positif .content p {
  margin : 0;
}
.resultat .content p.text-montant{
  padding : 0 0 10px 0;
  font-size: 17px;
}
.resultat .content p.text-date {
  padding:0 0 10px 0;
  font-size: 17px;
}
.resultat .content p.text-date>b{
  font-family:"Ubuntu bold";
}


#resultats .sim-form {
    width :100%;
    padding: 0;
    min-height:300px;
}
#resultats .btn-info {
  margin-top:20px;
  cursor: pointer;
}

.btn.btn-info.disabled {
  background-color:#01205c;
}

/**/
.btn.btn-link-simulation {
    font-family: "Ubuntu bold";
    background: #c10f33;
    border-radius: 21px;
    padding: 5px 57px;
    margin-top: 12px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    color: #fff;

}
#resultats p.txt-cta {
  margin-top:20px;
  font-size:14px;

}
@media screen and (max-width:700px) and (min-width:660px){
  .custom-control {
    width:260px;
  }
}
/* For mobile screens*/
@media only screen and (max-width: 660px){
  #logement .form-left-side {
    border-right:none !important;
  }

  .mobile-only{
    display : block;
  }
  .desktop-only{
    display: none;
  }

  #logement{
    text-align:center;
  }
  #logement .custom-radiobox {
    margin:auto;
  }

  #logement .half{
    width:100%;
  }

  #logement input.code-postal {
    margin: auto;
    display: block;
    float: none;
    padding-right: 10px;
    font-size:15px;
  }

  .form-left-side{
    width :100%;
    border-right: none;
  }
  .form-right-side{
    margin-top: 40px;
    padding-left: 0;
    min-height: auto;
    width:100%;
  }
  /*recapitulation button on mobile*/
  .recapitulation-button {
    text-align: center;
    width: 100%;
    height: 0;
    position: relative;
    bottom:0;
  }
  #logement .recapitulation-button{
    bottom:0;
  }

  .recapitulation-button .text-btn-recapitulation {
    text-align:center;
    font-family:"Ubuntu bold";
    width: 100%;
    position: relative;
    top:16px;

  }
  .recapitulation-button .image-btn-recapitulation {
    background : url(../img/recapitulatif-mobile.svg);
    background-repeat: no-repeat;
    background-position:center;
    height: 75px;
    width: 100%;
    margin: 0;
    position: relative;
    background-position-y:33px;

  }
  .sim-form {
    margin-bottom:0;

  }

  #logement .sim-form {
    padding-bottom:0;

  }

  .input-depcom{
    margin-top: 40px;

  }
  .as-custom-select {
    left:25%;

  }
  .sim-form {
    padding-bottom: 0;
    background: url(./../img/triangle-mobile.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 75px;
  }
  /*page de resultat*/
  .resultat > .content{
    width : 100%;
    padding:0 !important;
  }
  .resultat > .content > p {
    text-align: center;
  }
  .resultat > .image {
    width: 100% !important;
    background-size: 50% !important;
    height: 200px!important;
  }
  .resultat .content .result-text {
    text-align: center;
    padding-bottom: 40px;
    padding :0 21px 40px 21px;
  }
  .resultat .content .result-text p {
    text-align: center;
    padding: 0;

  }
  .resultat .content .result-text p.title{
    padding: 0 0 15px 0;
  }
  .resultat .content  p.text-montant{
    padding: 13px 0 10px 0;
    font-size: 17px;
  }
  .resultat .content p.text-date {
    padding: 0 0 20px 0;
    font-size: 17px;
  }
  #resultats .btn-info {
    margin-top: 25px;
  }
  .form-right-side {
    border:none;
  }
  

} /**/

/* Bulle d'information */
.bulle-info {
    position:absolute;
    top: 70px;
    background :#dfe2e9;
    border-radius: 20px;
    padding:25px;
    width: 364px;
    margin-left: 18%;
    z-index: 10;
    text-align:left;
    color:#01205c;
    z-index: 102;
}
.bulle-info a {
  text-decoration: none !important;
}

.bulle-info .p-head{
    
}
.bulle-info .p-head img{
    max-width: 25px;
}
.bulle-info .p-head span {
    font-family: "Ubuntu bold";
    font-size: 29px;
    color: #01205c;
    padding-left: 10px;
}
}
.bulle-info .close-btn img , .recapitulation-component .close-bt img{
    width: 15px;
}

.bulle-info .p-main-text p{
    color:#01205c;
    font-family: "Ubuntu";
    text-align:justify;
}
.bulle-info .p-main-text a {
    color:#039ade!important;
    text-decoration: underline;
}

.bulle-info .p-main-text strong{
    color : #01205c;
    font-family: "Ubuntu bold";
}
.bulle-info .red-text{
    color:#C00F33!important;
}
.bulle-info .p-footer{
    margin-top: 10px;
}

.bulle-info .p-footer span{
    color:#01205c;
    font-family: "Ubuntu bold";
    font-size: 12px;
    font-weight: 600;
}
.bulle-info .close-btn , .recapitulation-component .close-btn {
    width: auto;
    background: none;
    position: absolute;
    right: 14px;
    top: 17px;
    cursor: pointer;
    border: none;

}

.more-info {
    font-family: "Ubuntu bold";
    cursor: pointer;
    position: relative;
    left: 15px;
}
.more-info  span{
    position: relative;
    left: 4px;
    top: 0px;
}

.more-info img{
    width:20px;
    position: relative;
    top:5px;
}

#logement .form-right-side .choix-logement  {
  padding-top: 2px;
}


.input-rfr {
  margin-top : 40px;
}
#revenu_rfr .more-info {
  left :20px
}
#conjoint .more-info{
  top:-2px; left :20px;
}

#resultats .loader {
  position: relative;
  left: 46%;
  top: 160px;
}

#resultats .content .result-text .btn-getit {
  border: none;
  background: #fff;
  color: #01205c;
  font-family: "Ubuntu bold";
  text-align: center;
  font-size: 17px;
  margin-top: 15px;
  cursor: pointer;
  text-decoration: underline;
}

#resultats .content .result-text .warning {
  display: inline-block;
  width: 68%;
  margin: auto;
  margin-top: 20px;


}
#resultats  .resultat-negatif .content .result-text .warning{
 margin-top: 7px
}

@media  only screen and (max-width:660px){
  #resultats .content .result-text .warning {
    margin-top:20px;
  }
}
@media  only screen and (max-width:420px){
  #resultats .content .result-text .warning {
    width:80%
  }
}

@media  only screen and (max-width:320px){
  #resultats .content .result-text .warning {
    width:100%
  }
}

#resultats .content .result-text .warning img {
  float: left;
  width: 23px;
  margin-top: 4px;
}

#resultats .content .result-text .warning div {
  float: left;
  width: 80%;
  margin-left: 1%;
  font-size: 12px;
}

/*Recapitulations */
.recapitulation-component {
  width : 600px;
  position : absolute;
  height: 344px;
  /*pos*/
  
  right : 0;
  bottom: 50px;

  background: #dfe2e9;
  font-family: "Ubuntu";
  border-radius: 21px 0 0 21px;
}

.recapitulation-component .recap-component-head {
  font-size : 31px;
  background: #01205c ;
  color : #fff;
  font-family: "Ubuntu bold";
  padding : 20px 0px;
  border-radius : 21px 0 0 0;
  text-align: center;
}


.recapitulation-component .recap-component-body{
  width : 100%;
  padding-top: 30px;
}
.recapitulation-component .recap-component-body .recap-step {
  width  : 33.33%;
  min-height: 100px;
  float: left;
  position: relative;
  margin-bottom:20px;
}

.recapitulation-component .recap-component-body .recap-step .recap-title{
  text-align: center;
  font-size: 17px;
  font-family: "Ubuntu bold";

  }
.recapitulation-component .recap-component-body .recap-step .recap-title img{
   width: 20px;
    position: relative;
    top: 4px;
    right: 7px;

}

.recapitulation-component .recap-component-body .recap-step  .recap-edit{
    position: absolute;
    cursor: pointer;
    bottom: 0;
    right: 35px;
    text-align: right;
    width: 100%;
}
.recapitulation-component .recap-component-body .recap-step  .recap-edit img{
  width: 11px;
  position: relative;
  top: 1px;
  left: -7px;
}
.recapitulation-component .recap-component-body .recap-step .recap-datas{
  height:80px;
  overflow-y:  auto;
}
.recapitulation-component .recap-component-body .recap-step .recap-datas p.data{
  text-align: center;
  font-family: "Ubuntu bold";
  font-size: 14px;
  line-height: 10px;
}

.recapitulation-component .close-btn { top : 30px; }

.recapitulation-component .recap-edit span {
  color : #01205c !important;
}

.recapitulation-component .recap-datas p.data>span.small {
  font-family: "Ubuntu";
  font-size: 13px;
}
@media only screen and (max-width: 660px) {
  .bulle-info {
    width : 77%;
  }

  #revenu_rfr .more-info , #conjoint .more-info {
    left: 20px!important;
  }

  #resultats .sim-form {
    margin-top:-20px;
  }

}

@media only screen and (max-width : 600px) {
  .recapitulation-component {
    width :100%;
    height: auto !important;
  }
  .recapitulation-component .recap-component-body .recap-step {
    width : 50%;
  }
}





@media only screen and (max-width: 396px) {
  .bulle-info {
    width: 80%;
    margin-left: 25%;
  }

  .sim-form {
    padding:0;
    padding-top: 50px;
    text-align: center;
  }
  label.large-size {
    text-align: center;
  }
  .as-custom-select {
    left: 20%;
  }
  #logement .text-center {
    margin-top: 20px;
  }
  .form-left-side, .form-right-side{
    padding-right:0;
    padding-left:0;
  }
  .custom-radiobox label.custom-control-label  {
    width:80%;

  }
  .form-group > input.form-control[type="number"]{
    margin-left:33.33%;
  }
  #revenu_rfr .more-info , #conjoint .more-info{
    left : 15px!important;
  }

  #resultats p.txt-cta {
    font-size : 13px;
  }
  .resultat .content p.text-montant{
    padding : 5px 0 5px 0;
  }
  #resultats .resultat-positif .btn-info{
    margin-top: 15px;
  }
  #resultats .resultat-positif p.txt-cta {
    margin-top: 10px;
  }
  .resultat p.res-text {
    font-size: 13px;
  }
  .resultat > .image {
    height: 150px !important;
  }
  .resultat .content p.text-date{
    padding: 0 0 10px 0;
  }
  .resultat .content p.text-montant{
    font-size:15px;
  }
  .hide-desktop {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .start-page .text-container h2 {
    font-size: 1.8em;
  }
  .start-page .text-container p {
    margin-bottom: 10px;
  }
  .start-page .text-container .start-link-txt {
    margin-bottom:0;
  }
  .start-page {
    margin-top:-20px;
  }
  .sim-form {
    margin-top:-20px !important;
  }
}


.underlined { text-decoration: underline !important; }

.p-footer {
  text-align: justify;
}
.p-footer .pf-title {
  font-family: "Ubuntu bold";
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 575px) {
  .site-address {
    padding-left: 0;
    text-align: center;
  }
}

@media (min-width: 661px) {
  .site-address {
    padding-top: 0rem;
  }
}

/* telephone */
.contact-block-container {}
.contact-block-container a {
  text-decoration:none;
}
.contact-block-container a .contact-block {
  text-align: left;
  margin-top:20px;
}
.contact-block-container a .contact-block .phone-title {
    font-size: 1em !important;
    font-weight: bold;
    color: #a50f78;
    margin-bottom:0;
}
.contact-block #phone-banner {
  width: 90%;
    max-width: 100%;
    margin: 5px 0;
}

@media all and (max-width: 782px) {
  .contact-block .phone-title {
    font-size: 1.1em !important;
  }
  .contact-block-container a .contact-block {
    text-align:center;
  }
}

@media all and (max-width: 782px) {
  .contact-block #phone-banner {
    width: 90%;
  }
}
.contact-block .ouverture {
  color: #057c05;
  font-size:11px;
}
.contact-block .service {
  color: #897c7c;
  font-style: italic;
  font-size:11px;
}
#papernest .form-group {
  float:none;
}

#papernest .question {
  text-align:center;
}
#papernest .title {
  text-align:center;
}
#papernest .texte-explicatif {
  text-align:center;
  margin-top:0;
}
#papernest .sitlog {
  margin-top:-6px;
}

#papernest .buttons-container .justify-content-between , #enfants .buttons-container .justify-content-between{
  text-align:center;
}

#meeting {
  width:100%;
}
#meeting .question {
  text-align:center;
}
#meeting .time-slot-item {
  display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	border: 2px solid #ddd;
	border-radius: 15px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	min-height: 0;
  width:250px;
  margin:auto;
	background-color: white;
}
#meeting .time-slot-item:hover ,#meeting .time-slot-item.selected {
  background:#55cb57;
  color:#fff;
}

/* Contact form specific styles */
#contact .form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px; /* Reduced from 10px to 7.5px to allow for 50% + padding to fit */
}
#contact .form-group-half {
  flex: 0 0 47%;
  max-width: 50%;
  padding: 0 7.5px; /* Reduced padding to allow 2 columns on desktop */
  margin-bottom: 20px;
}
#contact .form-group input.form-control {
  width: 100%;
  padding: 12px;
  box-sizing: border-box; /* Ensure padding is included in width calculation */
}
#contact .form-group {
  width: 100%;
}
#contact .question .title {
  text-align: center;
  width: 100%;
  display: block;
}
#contact .form-text.text-muted {
  font-size: 12px;
  color: #6c757d !important;
  margin-top: 5px;
  text-align: left;
  display: block;
}
/* Ensure proper flex layout for contact form */
#contact .form-group {
  margin-bottom: 15px;
}

/* For mobile screens - single column layout */
@media only screen and (max-width: 660px) {
  #contact {
    display:block;
  }
  #contact .form-group input.form-control {
    float:none;
  }
  #contact .form-row {
    display: flex; /* Use flexbox for mobile too to maintain consistent layout */
    flex-direction: column;
    margin: 0; /* Remove horizontal margins on mobile */
  }
  #contact .form-group-half {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0; /* Remove padding to use full width on mobile */
    width: 100%; /* Explicitly set width to 100% for mobile */
  }
  #contact .question .title {
    text-align: center;
  }
  
  #contact .form-group {
    float:none;
  }
}