@font-face {
    font-family: "Poppins-Light";
    src: url("/wp-content/themes/eroski/familias-jovenes/fonts/poppins/Poppins-Light.woff") format("opentype");
}
@font-face {
    font-family: "Poppins-Bold";
    src: url("/wp-content/themes/eroski/familias-jovenes/fonts/poppins/Poppins-Bold.woff");
}

html,body{
    width: 100%;
    margin:0px;
    padding:0px;
    color:#454346;
}

#new_addkids{
    font-family: "Poppins", "Helvetica", Helvetica, Arial, sans-serif !important;
    min-width:375px !important;
}


/* DUMMY SECTION TO REMOVE */
#dummy_header{
    min-width:375px !important;
}
#dummy_header div{
    position:relative;
    display:inline-block;
    width:50%;
    height:50px;
    margin-bottom:-4px;
    box-sizing:border-box;
    background-size: auto 50px;
}
#dummy_top_left{
    background: url(/wp-content/themes/eroski/familias-jovenes/asstes/img/placeholders/placeholder_nav_izq.png) top left no-repeat;
}
#dummy_top_right{
    background: url(/wp-content/themes/eroski/familias-jovenes/asstes/img/placeholders/placeholder_nav_der.png) top right no-repeat;
}
#dummy_bottom_left{
    background:#db1720 url(/wp-content/themes/eroski/familias-jovenes/asstes/img/placeholders/placeholder_compra_online.png) center no-repeat;
}
#dummy_header div#dummy_bottom_right{
    background: url(/wp-content/themes/eroski/familias-jovenes/asstes/img/placeholders/placeholder_buscar_en.png) center no-repeat;
    background-size: 159px;
    box-shadow: inset 0px 0 6px 0px;
}

/* ADD KID SECTION */
#new_addkids_header{
    position:relative;
    line-height:25px;
    font-size: 14px;
    height:70px;
    padding-top:12px;
    text-align:center;
    box-sizing:border-box;
    background: #9ed9d2 url(/wp-content/themes/eroski/familias-jovenes/assets/img/deco_azul_izq.png) top left /70px no-repeat;
}
#header_deco_der{
    height:70px;
    position:absolute;
    right:0px;
    top:0px;
}
a,input{
    font-family: "Poppins", "Helvetica", Helvetica, Arial, sans-serif !important;
    font-size:14px;
}
#header_name{
    font-size:25px;
    font-family: "Poppins-Bold", "Helvetica", Helvetica, Arial, sans-serif;
    font-weight:bold;
}
#new_addkids_footer, #consent_footer{
    width:100%;
    min-width:375px;
    position:absolute;
    bottom:0px;
    left:0px;
    line-height:25px;
    font-size:12px;
    height:90px;
    background:#F0F0F0;
    display:flex;
    align-items: center;
    justify-content: center;
}
a#footer_enviar, a#consent_footer_enviar{
    width:50%;
    background-color:#db1720;
    text-align:center;
    color:white;
    padding:8px;
    height: 40px;
    line-height:26px;
    box-sizing:border-box;
}
a#footer_enviar.buttomDisabled, a#consent_footer_enviar.buttomDisabled{
    background-color:#d7d7d8;
}

.newkid{
    padding:30px 30px 0px 30px;
    position: relative;
}
.newkid span{
    font-size:8px;
    position:absolute;
    margin-left:10px;
    margin-top:6px;
    display: inline-block;
    width: max-content;
}
.newkid span.title_selected{
    color:#2D92E9;
}
.newkid input{
    box-sizing:border-box;
    width: 47%;
    height:45px;
    padding:18px 10px 6px 10px;
    border:1px solid #D2D2D2;
    border-radius:0px;
    font-size:14px;
}
.newkid input.kidname{
    margin-right:21px;
    width: calc(53% - 21px);
    background:url(/wp-content/themes/eroski/familias-jovenes/asstes/img/kidicon.png) center right 10px /22px no-repeat;
}

/*input[type=date]:invalid {
    color: #d7d7d8;
}*/

input[type=date]{
    background:#FFFFFF;
    margin:0px;
}

.newkid input:focus{
    box-shadow: #2D92E9 0px 0px 6px 0px;
    outline: none;
}

.arrowDown{
    display:none;
}

#addkidbutton{
    float:right;
    text-align:center;
    color:white;
    padding:8px;
    margin-top:30px;
    height: 40px;
    line-height:26px;
    width: 47%;
    box-sizing:border-box;
    font-weight:bold;
    background:#414045;
}
#addkidbutton.adddisabled{
    background:#D7D7D8;
}

#new_addkids_consent{
    display: none;
    background:white;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    padding:40px;
    box-sizing:border-box;
}
#consent_title{
    font-family: "Poppins-Bold", "Helvetica", Helvetica, Arial, sans-serif;
    margin-bottom: 30px;
    font-size: 17px;
}
#consent_close{
    position:absolute;
    top: 40px;
    right:30px;
    width:25px;
}
.consent_block{
    padding-left:40px;
    position:relative;
    margin-bottom: 20px;
    font-size: 18px;
}
.consent_block input[type=checkbox]{
    position:absolute;
    left:0px;
    top:-2px;
    width:20px;
    height:20px;
}




#new_addkids_input{
    height: 176px;
}

#new_addkids_list{
    display:none;
    border-top:1px solid #d7d7d8;
    overflow-y: auto;
    position: fixed;
    height: calc(100% - 471px);
    width:100%;
    padding-bottom: 35px;
    /* margin-bottom: 20px; */
}
#new_addkids_list .newkid{
    padding-bottom:20px;
}

.removekid{
color:#db1720;
    font-size:14px;
    float:right;
    margin-top:10px;
}


@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
    .arrowDown{
        display:block;
        width:10px;
        position:absolute;
        right:40px;
        top:42px;
        fill:#585659;
    }

    input[type='date'], input[type='time'] {
        -webkit-appearance: none;
    }
    input[type='date']:not(:placeholder-shown) {
        padding:22px 10px 6px 10px;
    }
    input[type='date']:valid {
        padding:18px 10px 6px 10px;
    }
}

/* THIS NEXT SECTION SHOULD BE REMOVED ON THE PRODUCTION COMMIT, ITÃ‚Â´S ONLY FOR DEMO PURPOSES */
/*@media screen and (min-width: 450px) {
    html,body{
        height:100%;
        box-sizing:border-box;
    }
    #allwrapper{
        margin:20px 0px;
        height:calc(100% - 40px);
        border:10px solid;
        border-radius:20px;
        box-shadow:0px 0 10px;
    }
    #allwrapper,#new_addkids_footer, #new_addkids_consent{
        width: 450px;
        margin:auto;
        left:auto;
        bottom:30px;
    }
}*/
