/*
 Theme Name:   Arche Child
 Description:  Arche Child Theme
 Author:       Infovi.digital
 Template:     arche
*/

/*  WRITE YOUR CUSTOM CODE FROM HERE */

/*  =================================== 
    Home page
    ===================================  */

html {
    margin-top: 0px !important;
}

.container {
    margin-top: 40px;
    margin-bottom: 40px;
}

#header .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.home .span4.columns {
    margin-top: 81px !important;
}

/* Accordion */

.accordion-title h2 {
    background-color: transparent;
    color: #fff;
}

.accordion-heading h3 {
    margin-left: 46px !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    background-color: #222;
    min-height: 47px;
    font-size: 21px;
}

.accordion-heading a:hover {
    text-decoration: none !important;
    color: inherit;
}

.accordion-heading a:focus {
    text-decoration: none !important;
    color: inherit;
}

.accordion-heading .toggle_faq {
    box-sizing: border-box;
    width: 47px;
    height: 47px;
    padding: 0;
    text-align: center;
}

.accordion-heading .toggle_faq i {
    width: 47px;
    height: 47px;
    line-height: 47px;
    padding: 0;
    text-align: center;
    transition: all 0.3s;
}

.accordion-heading a:hover i {
    display: block;
    transform: rotate(90deg) !important;
}

.faq_accordion .accordion-body {
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
}

.faq_accordion .accordion-inner {
    padding: 20px;
}

.faq_accordion .accordion-inner p {
    margin: 0;
    line-height: 1.6;
}

.accordion-inner img {
    margin-bottom: 20px;
    width: 100%;
}

.span4.gallery-wrapper .span3 {
    width: 47%;
}

.gal-zoom {
    background-image: none;
}

.span4.gallery-wrapper .span3.first {
    margin-left: 2.564102564102564% !important;
}


/*  =================================== 
    Contact
    ===================================  */

.page-title h2 {
    background: none !important;
}

.gfield_required {
    display: none;
}

.gfield_contains_required .gfield_label:after {
    content: " (richiesto)";
    font-size: 11px;
    color: #999;
}

.gfield_error {
    background-color: transparent !important;
    border: none !important;
}

.validation_error {
    display: none;
}

.gfield_error .gfield_label {
    color: inherit !important;
}

.gform_footer input {
    background-color: #A39B79;
    padding: 16px 40px;
    border-radius: 2px;
}

.gform_footer input:hover {
    cursor: pointer;
    background-color: #706b53;
    padding: 16px 50px;
}


/*  =================================== 
    Media queries
    ===================================  */

@media (max-width: 979px) and (min-width: 768px){

    .row-fluid .span4.gallery-wrapper {
        width: 100%;
        padding-right: 10px;
    }

}

@media (max-width: 767px){

    nav#nav {
        margin-top: -105px;
    }

    #content-holder {
        padding: 0 20px;
    }

    .contact-info {
        padding-left: 0;
    }

    #header .container .span-3 {
        width: 25% !important;
    }

    #header .container .span-9 {
        width: 75% !important;
    }


    .faq_accordion .toggle_faq { 
        width: 47px !important;
    }

    .faq_accordion h3 {
        display: block;
        overflow: hidden;
        font-size: 16px;
    }

    .gallery-wrapper.span4 {
        width: 100% !important;
    }
}

@media (max-width: 480px){

    #header {
        height: 130px;
    }

    #content-holder {
        margin-top: 130px;
    }
    
    .row-fluid .span4.gallery-wrapper {
        width: 100%;
        padding-right: 10px;
    }
    
    .cp-gallery-item .span3 {
        float: left !important;
    }
    
    .span4.gallery-wrapper .span3.first {
        margin-left: 0px !important;
    }
}