@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400&display=swap');
@font-face {
    font-family: 'title-input';
    src: url(../css/fonts/Blogger_Sans-Light.otf) format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'title-input-italic';
    src: url(../css/fonts/Blogger_Sans-Light_Italic.otf) format('truetype');
    font-style: normal;
    font-weight: normal;
}
body{
    background: url(../img/bg.png) top;
    background-size: cover;
    padding: 50px 0;
}
img{
    width: 100%;
}
.bg-p{
    background: #fff;
    border-radius: 30px;
    padding: 40px;
}
p{
    font-size: 60px;
    font-family: 'Fraunces', serif;
}

/* header */
header .img-title{
    margin-bottom: 50px;
}

/* contact */
#contact{
    padding: 50px 0;
}
#contact .form-bg{
    background: #fff;
    padding: 30px 30px 80px 30px;
    border-radius: 30px;
    display: block;
    margin: auto;
}
#contact .form-bg .mid{
    margin: 60px 0;
}
#contact .form-group h3{
    margin-top: 0;
    font-size: 50px;
}
#contact .form-group input{
    height: 85px;
    border-style: none;
    background: #dddee1;
    border-radius: 0;
    box-shadow: none;
    font-size: 30px;
}
.call-letter{
    width: 100%;
}
#contact .d-grid{
    display: grid;
    grid-template-columns: 50% 50%;
    justify-content: space-between;
    background: #fff;
    width: 100%;
    margin-top: 20px;
}
#contact .d-grid .date{
    padding-right: 15px;
}
#contact .d-grid .time{
    padding-left: 15px;
}
#contact .d-grid input{
    height: 85px;
    border-style: none;
    background: #dddee1;
    border-radius: 0;
    box-shadow: none;
    font-size: 30px;
}
#contact .form-group h3{
    font-family: 'title-input';
}
#contact .btn-send{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
#contact .btn-send button{
    background: #29587d;
    color: #fff;
    border-radius: 50px;
    border-style: none;
    font-weight: bold;
    font-size: 50px;
    width: 500px;
}
#contact .call-time select{
    font-family: 'title-input';
    height: 85px;
    border-style: none;
    background: #dddee1;
    border-radius: 0;
    box-shadow: none;
    font-size: 30px;
    width: 100%;
    appearance: none;
}
.call-time div label input {
    height: 25px;
    width: 25px;
    margin-right: 6px;
}
#contact .call-time label{
    font-family: 'title-input-italic';
    font-size: 45px;
    width: 100%;
}
.form-group-ext{
    display: none;
    background: #000;
}
input[type="checkbox"]:checked + .form-group-ext{
    display: block;
}
@media (max-width:768px) {
    body{
        background: url(../img/bg.png) top;
        background-size: cover;
        padding: 20px 0;
    }
    .container{
        /*max-width: 350px;*/
    }
    .bg-p{
        background: #fff;
        border-radius: 15px;
        padding: 5px 0;
    }
    .bg-p img{
        max-width: 200px;
        display: block;
        margin: auto;
        margin-top: 18px;
    }
    p{
        font-size: 15px;
        font-family: 'Fraunces', serif;
        margin: 0;
    }
    /* header */
    header .img-title{
        margin-bottom: 30px;
    }
    /* contact */
    #contact{
        padding: 30px 0;
    }
    #contact .form-bg{
        max-width: 900px;
        background: #fff;
        padding: 10px 10px 40px 10px;
        border-radius: 15px;
        display: block;
        margin: auto;
    }
    #contact .form-bg .mid{
        margin: 30px 0;
    }
    #contact .form-group h3{
        margin-top: 0;
        font-size: 20px;
        margin-bottom: 5px;
    }
    #contact .form-group input{
        height: 40px;
        border-style: none;
        background: #dddee1;
        border-radius: 0;
        box-shadow: none;
        font-size: 20px;
    }
    .call-letter{
        width: 100%;
    }
    #contact .d-grid{
        display: grid;
        grid-template-columns: 50% 50%;
        justify-content: space-between;
        background: #fff;
        width: 100%;
        margin-top: 10px;
    }
    #contact .d-grid .date{
        padding-right: 10px;
    }
    #contact .d-grid .time{
        padding-left: 10px;
    }
    #contact .d-grid input{
        height: 40px;
        border-style: none;
        background: #dddee1;
        border-radius: 0;
        box-shadow: none;
        font-size: 20px;
    }
    #contact .form-group h3{
        font-family: 'title-input';
    }
    #contact .btn-send{
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    #contact .btn-send button{
        background: #29587d;
        color: #fff;
        border-radius: 50px;
        border-style: none;
        font-weight: bold;
        font-size: 22px;
        width: 200px;
    }
    #contact .call-time select{
        font-family: 'title-input';
        height: 45px;
        border-style: none;
        background: #dddee1;
        border-radius: 0;
        box-shadow: none;
        font-size: 20px;
        width: 100%;
        appearance: none;
    }
    #contact .call-time label{
        font-family: 'title-input-italic';
        font-size: 15px;
        width: 100%;
    }
    .form-group-ext{
        display: none;
        background: #000;
    }
    .call-time div label input {
        height: auto;
        width: auto;
        margin-right: auto;
    }
}

#popup-rgpd p {
    font-size: 12px;
}

.modal-body p {
    font-size: 20px;
}

.oculto {
    display: none;
}
.popup-806 {
    position: fixed;
    width: 100%;
    top: 136px;
    z-index: 10;
    left: 0;
}
.caja-806 {
    background: #f3f3f3;
    width: 940px;
    margin: 0 auto;
    border: 2px solid #197294;
    -webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
    font-family: 'Open Sans', sans-serif;
    border-radius: 8px;
    height: 374px;
    color: white;
}
.titulo-806 {
    padding: 10px 10px;
    border-bottom: 1px solid #197294;
    background: #197294;
    color: white;
    position: relative;
}
.cerrar-806 {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 27px;
    padding: 0px 10px;
    padding-bottom: 2px;
    background: #F44336;
    cursor: pointer;
    border-top-right-radius: 7px;
    color: white;
}
.cuerpo-806 {
    padding: 10px 10px;
    padding-bottom: 4px;
    overflow-y: auto;
    height: 313px;
}
.burbuja-806 {
    background: #e3e3e3;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 6px;
    color: #000;
}
.btn-popup {
    background-color: #197294;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    padding: 0px 12px;
    margin: 0 auto;
    text-align: center;
    font-weight: 900;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 2px 0px;
    cursor: pointer;
    border: 0;
}
.btn-popup2 {
    background-color: #197294;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding: 0px 12px;
    margin: 0 auto;
    text-align: center;
    font-weight: 900;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 2px 0px;
    cursor: pointer;
    border: 0;
}
.btn-disabled {
    background-color: #afafaf;
    cursor: default;
}
.btn-selected {
    background-color: #476f9f;
    cursor: default;
}

@media only screen and (min-width:640px) and (max-width:980px){
    .popup-806 {
        top: 186px;
    }
    .caja-806 {
        width: 600px;
    }
}

@media only screen and (min-width:360px) and (max-width:639px){
    .popup-806 {
        top: 240px;
    }
    .caja-806 {
        width: 99%;
    }
}

@media only screen and (min-width:1px) and (max-width:359px){
    .popup-806 {
        top: 240px;
    }
    .caja-806 {
        width: 99%;
    }
}