/*
Theme Name: Zanzariere fatte su misura
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   martexx https://martexx.com
Template: Divi
*/
@import url("../Divi/style.css");

.et_fullwidth_nav #main-header .container {
    padding-right: 0;
    padding-left: 0;
    padding-top: 50px;
}

.et_header_style_centered #main-header div#et-top-navigation {
    background-color: #86BC25;
    margin-top: 50px;
}

#top-menu > li.preventivo a {
    padding: 20px !important;
    margin-bottom: 50px;
    color: red;
    font-size: 20px;
    text-transform: uppercase;
    -webkit-animation: blink 1s infinite; /* Safari 4+ */
    -moz-animation: blink 1s infinite; /* Fx 5+ */
    -o-animation: blink 1s infinite; /* Opera 12+ */
    animation: blink 1s infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes blink {
    0%, 49% {
        background-color: #86BC25;
        border: 3px solid #62432B;
    }
    50%, 100% {
        background-color: #62432B;
        border: 3px solid #86BC25;
    }
}

.item-opt.item-misure {
    -webkit-animation: blink2 1.1s infinite; /* Safari 4+ */
    -moz-animation: blink2 1.1s infinite; /* Fx 5+ */
    -o-animation: blink2 1.1s infinite; /* Opera 12+ */
    animation: blink2 1.1s infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes blink2 {
    0%, 49% {
        background-color: #86BC25;
    }
    50%, 100% {
        background-color: #f00;
    }
}

#fascia-nera > div {
    text-align: center;
}


#fascia-nera > div a {
    display: inline-block;
    position: relative;
    margin: 10px 20px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    padding-left: 30px;
    transition: all .3s ease;
}

@media screen and (max-width: 400px) {
    #fascia-nera > div a {
        font-size: 14px;
    }
}

#fascia-nera > div a:after {
    display: block;
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 2px;
    left: 0;
}

#fascia-nera > div a.telefono:after {
    background-image: url("/wp-content/themes/zanzariere/img/telefono.svg");
}

#fascia-nera > div a.email:after {
    background-image: url("/wp-content/themes/zanzariere/img/email.svg");
}

#fascia-nera > div a.whatsapp:after {
    background-image: url("/wp-content/themes/zanzariere/img/whatsapp.svg");
}

#fascia-nera > div a.facebook:after {
    background-image: url("/wp-content/themes/zanzariere/img/facebook.svg");
}

#fascia-nera > div a:hover {
    opacity: .5 !important;
}


.barra-home .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0;
}

.barra-home .et_pb_blurb_position_left .et_pb_blurb_content:hover {
    opacity: .6;
}

.btQuoteBooking .btContactNext {
    margin: 0 0 0 10px !important;
}

.btQuoteBooking .btQuoteBookingForm.btActive .boldBtn {
    -ms-flex: 0 0 200px;
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
}

.item-opt {
    position: relative;
}

@media screen and (max-width: 400px) {
    .item-opt h3 {
        font-size: 16px;
    }
}

.item-opt:before {
    content: '✓';
    display: block;
    font-size: 70px;
    color: #f00;
    position: absolute;
    top: -10px;
    left: -20px;
    z-index: 1;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"],
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="tel"]:focus {
    width: 100%;
    padding: 5px 20px;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid #86BC25;
}

.wpcf7-form textarea {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    border-radius: 20px;
    height: 200px;
    border: 2px solid #86BC25;
}

.item-opt h3 {
    padding-top: 30px;
}

table.misure th,
table.misure td {
    padding: 5px;
    border-bottom: 1px !important;
    font-size: 12px;
    line-height: 1.3em;
}

table.info,
table.info td {
    border-width: 0 !important;
    padding: 0;
    margin: 0 !important;
}

table.info td img {
    width: 150px;
    max-width: none !important;
    margin-right: 20px;
}

#bonus {
    background-image: url("https://zanzarierefattesumisura.it/wp-content/uploads/2020/03/buono.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 210px auto;
    background-color: #86BC25;
}

input.wpcf7-submit {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
    padding: 0 10px 0 10px;
    border-radius: 50px;
    line-height: 2.25;
    color: #86bc25 !important;
    border: #86bc25 2px solid !important;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    margin: 10px auto;
}

input.wpcf7-submit:hover {
    box-shadow: 0 0 10px #CCC inset, 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-widget a {
    transition: all .3s ease;
}

.footer-widget a:hover {
    opacity: .6;
}
