/*
Theme Name:     galileo-immobiliare
Description:    Child theme del template Blue Diamond, realizzato per il nuovo sito di Galileo Immobiliare
Author:         idearia
Template:       bluediamond-v1-11
Author URI:     www.idearia.it
*/



/*
-------------------------------------------- general
*/
html {
    background-color: #003256;
}

body {
    font-family: 'Kanit', sans-serif !important;
    font-weight: 400;
    color: #7a7a7a;
}
body a {
    color: #991915;
}
body a:hover {
    color: #991915;
    text-decoration: underline;
}
.gform_button.button:hover {
    background-color: #73020f !important;
}
h1,h2,h3,h4,h5,h6 {
    color: #3c3b3b;
    font-family: 'Kanit', sans-serif !important;
}



/*
-------------------------------------------- CLEAR  for custom elements
*/
.capannone-slide:after,
.custom-filter-title:after,
.sezione-soluzioni:after,
.sezione-prenotazione:after,
.custom-contact-wrap:after,
.capannone-cars:after,
#filterable-grid:after,
#button-filter:after,
.filter-steps:after,
.custom-contact-wrap .textwidget:after,
.sezione-thumbs-capannoni:after {
    content: "";
    clear: both;
    display: block;
}







/*
	============================================================================================================
	   Header
	============================================================================================================
*/

.header-wrapper {
    position: relative;
}
.header-wrapper .logo-right-text {
    color: #991915;
    font-style: italic;
}

.custom-contact-wrap {
    float: right;
    margin-right: -16px;
}
.custom-contact-wrap .textwidget {
    padding: 0;
}
.custom-contact-wrap .contact-icon {
    float: left;
    font-size: 18px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
}
.custom-contact-wrap .contact-icon:nth-of-type(1) {background-color: #73020f;}
.custom-contact-wrap .contact-icon:nth-of-type(2) {background-color: #991915;}
.custom-contact-wrap .contact-icon:nth-of-type(3) {background-color: #bc1e1e;}
.custom-contact-wrap .contact-icon a {
    color: #fff;
}
.page-header-top-gimmick {
    display: none;
}

ul.sf-menu li a {
    font-family: 'Kanit', sans-serif !important;
}
ul.sf-menu .sub-menu li {
    background-color: #276591;
    border-color: #276591;
}
ul.sf-menu .sub-menu li a {
    color: #fff;
}
/*
	============================================================================================================
	   Homepage
	============================================================================================================
*/
html body .gdl-top-slider {
    margin-top: 40px;
}
.nivo-controlNav,
.nivo-prevNav,
.nivo-nextNav {
    background-color: #73020f !important;
}

body .slick-arrow:before {
    color: #003256;
}
.custom-slider {
    margin: 30px 10px 0;
}

.map-capannone {
    height: 180px;
    width: 100%;
}
.capannone-main {
    position: relative;
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    width: 100%;
}
.capannone-main h3 {
    position: absolute;
    width: 100%;
    text-align: left;
    background-color: rgba(255,255,255,0.5);
    bottom: -15px;
    padding: 8px 8px 8px 12px;
    font-weight: 400;
    font-size: 18px;
    color: #003256;
    box-sizing: border-box;
    line-height: 30px;
}
.capannone-main h3:before {
    display: inline-block;
    content: "";
    background-image: url(img/marchio.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 40px;
    height: 30px;
    margin-right: 24px;
    float: left;
}
.capannone-main h3 span {
    text-transform: lowercase;
}
.capannone-main > a {
    display: block;
    height: 100%;
    width: 100%;
}




/*
-------------------------------------------- Filterable grid
*/



.filter-header h2 {
    color: #003256;
    margin: 30px 0 0;
    padding: 16px 20px;
    font-size: 20px;
}
.filter-header h2 span {
    color: #991915;
}
#custom-filter {
    margin: 0;
}
#custom-filter ul {
    list-style-type: none;
}
#button-filter,
#filterable-grid {
    margin: 0;
    padding: 0;
}
#button-filter {
    margin-bottom: 20px;
}
#button-filter li {
    border: 1px solid #ddd;
    border-right: none;
    float: left;
}
#button-filter li a {
    padding-left: 18px;
    padding-right: 18px;
}
#button-filter li.current {
    background-color: #eee;
}
#button-filter li.current a {
    color: #991915;
}
#button-filter li:last-child {
    border-right: 1px solid #ddd;
}
#filterable-grid li {
    display: block;
    margin-bottom: 20px;
    position: relative;
    float: left;
}
#filterable-grid li:before {
    display: block;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #003256;
    opacity: 0;
    transition: opacity 0.35s ease 0s;
}
#filterable-grid li:hover:before {
    opacity: 0.7;
}
#filterable-grid li .excerpt {
    position: absolute;
    color: #fff;
    opacity: 0;
    padding: 30px;
    transform: translate3d(100%, 0px, 0px);
    -webkit-transform: translate3d(100%, 0px, 0px);
    -moz-transform: translate3d(100%, 0px, 0px);
    -ms-transform: translate3d(100%, 0px, 0px);
    -o-transform: translate3d(100%, 0px, 0px);
    transition: opacity 0.35s ease 0s, transform 0.35s ease 0s;
    font-size: 16px;
    font-weight: 400;
}
@media screen and (max-width:400px) {
    #filterable-grid li .excerpt p {
        line-height: 1.25;
    }
    #filterable-grid li .excerpt {
        padding: 25px;
    }
}
#filterable-grid li .excerpt a:before {
    content: "";
    display: block;
    margin: 16px 0;
    height: 2px;
    width: 100%;
    /*opacity: 1;
    transition: transform 0.35s ease 0s;*/
    background-color: #fff;
    /*transform: translate3d(-100%, 0px, 0px);
    -webkit-transform: translate3d(-100%, 0px, 0px);
    -moz-transform: translate3d(-100%, 0px, 0px);
    -ms-transform: translate3d(-100%, 0px, 0px);
    -o-transform: translate3d(-100%, 0px, 0px);*/
}
/*#filterable-grid li:hover .excerpt a:before {
    transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
}*/
#filterable-grid li .excerpt a {
    text-transform: uppercase;
    display: block;
    color: #fff;
}
#filterable-grid li .excerpt a:hover {
    color: #991915;
}
#filterable-grid li:hover .excerpt {
    opacity: 1;
    -webkit-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}
#filterable-grid li img {
    float: left;
    width: 100%;
    height: 100%;
    display: block;
}

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


    /*#button-filter {
        border: 1px solid #ddd;
    }*/
    #button-filter li {
        border: none;
        box-sizing: border-box;
        width: 50%;
        border-right: 1px solid #ddd;
    }
    #button-filter li a {
        display: block;
        text-align: center;
    }
    #button-filter li:nth-child(1),
    #button-filter li:nth-child(2) {
        border-top: 1px solid #ddd;
    }
    #button-filter li:nth-child(1),
    #button-filter li:nth-child(2),
    #button-filter li:nth-child(3),
    #button-filter li:nth-child(4) {
        border-bottom: 1px solid #ddd;
    }
    #button-filter li:nth-child(2n+1) {
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }
    #button-filter li:last-child {
        border-bottom: 1px solid #ddd;
    }
}
@media screen and (max-width:440px){

    #button-filter li {
        width: 100%;
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        border-top: none;
    }
    #button-filter li:first-child {
        border-top: 1px solid #ddd;
    }
    #button-filter li a {
        display: block;
    }
}

@media screen and (min-width:769px){

    #filterable-grid li {
        display: block;
        width: 49%;
        margin-right: 2%;
    }

    #filterable-grid li:nth-child(2n) {
        margin-right: 0;
    }
}
@media screen and (min-width:800px){

    #filterable-grid li .excerpt {
        font-size: 18px;
    }
}
/*
-------------------------------------------- Search & Filter
*/
.custom-filter {
    background-color: #f5f2eb;
    margin-top: 30px;
}
.custom-filter h2 {
    color: #003256;
    margin: 0;
    padding: 16px 20px;
    font-size: 20px;
}
.custom-filter h2 span {
    color: #991915;
}
.custom-filter-title {
    background-color: #003256;
    color: #fff;
    padding: 8px 20px;
    box-sizing: border-box;
}
.custom-filter-title p {
    float: left;
    width: 33.33333%;
    line-height: 30px;
    margin: 0;
}
.custom-filter-title p:before {
    display: inline-block;
    margin-right: 14px;
    width: 30px;
    height: 30px;
    background-color: #991915;
    text-align: center;
    border-radius: 50%;
}
.custom-filter-title p:after {
    content: " \203A";
    display: inline-block;
    float: right;
    margin-right: 40px;
    font-weight: 700;
    font-size: 20px;
}
.custom-filter-title p:last-child:after {
    content: none;
}
.custom-filter-title p:nth-child(1):before {content: "1"}
.custom-filter-title p:nth-child(2):before {content: "2"}
.custom-filter-title p:nth-child(3):before {content: "3"}


.filter-steps {
    background-color: #003256;
    color: #fff;
    padding: 8px 20px;
    box-sizing: border-box;
    margin-bottom: 30px;
}
.filter-steps p {
    float: left;
    width: 49%;
    line-height: 30px;
    margin: 0;
}
.filter-steps p:before {
    display: inline-block;
    margin-right: 14px;
    width: 30px;
    height: 30px;
    background-color: #991915;
    text-align: center;
    border-radius: 50%;
}
.filter-steps p:after {
    content: " \203A";
    display: inline-block;
    float: right;
    margin-right: 12%;
    font-weight: 700;
    font-size: 20px;
}
.filter-steps p:last-child:after {
    content: none;
}
.filter-steps p:nth-child(1) {
    margin-right: 2%;
}

@media screen and (max-width:800px) {

.filter-steps p {
    float: none;
    width: 100%;
    text-align: center;
}

.filter-steps p:after {
    content: none;
}
.filter-steps p:nth-child(1) {
    margin-right: 0;
    margin-bottom: 20px;
}
}


.filter-steps p:nth-child(1):before {content: "1"}
.filter-steps p:nth-child(2):before {content: "2"}
.filter-steps p:nth-child(3):before {content: "3"}

.searchandfilter {
    padding: 20px;
}
.searchandfilter ul {
    margin: 0;
    padding: 0;
}
.searchandfilter > div > ul {
    width: 100%;
    position: relative;
}
.searchandfilter > div > ul > li h4 {
    display: none;
}
.searchandfilter > div > ul > li {
    display: block;
    box-sizing: border-box;
}
.searchandfilter ul ul li {
    display: block;
    margin-bottom: 16px;
}
.searchandfilter > div > ul > li:last-child:before {
    content: "Naviga tra le nostre proposte immobiliari e scegli quella più adatta alle tue esigenze.";
    display: block;
    position: static;
}
.searchandfilter > div > ul > li:last-child input {
    background-color: #991915;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 20px;
}




/*
-------------------------------------------- Modifiche builder
*/

.home .stunning-text-title {
    text-align: center;
}

.home .stunning-text-button.gdl-button {
    right: auto;
    left: 50%;
    transform: translate(-50%, 0px);
    -webkit-transform: translate(-50%, 0px);
    -moz-transform: translate(-50%, 0px);
    -ms-transform: translate(-50%, 0px);
    -o-transform: translate(-50%, 0px);
}

/*
-------------------------------------------- Soluzioni disponibili
*/

.sezione-soluzioni {
    margin: 10px;
}
#custom-filter {
    margin-left: 10px;
    margin-right: 10px;
}
.soluzione-mt {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.soluzione-mt img {
    width: 100%;
}
.soluzione-mt h5 {
    margin: 8px 0;
}

.soluzioni-info {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #003256;
    color: #fff;
    border-radius: 4px;
    padding: 0 12px;
}
.soluzioni-info:before {
    content: "+";
    margin-right: 8px;
    display: inline-block;
}



.sezione-thumbs-capannoni {
    margin: 60px 10px;
}
.thumb-capannone {
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    margin-bottom: 20px;
    position: relative;
}

.thumb-capannone > a {
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
}

/*
	============================================================================================================
	   Form Section
	============================================================================================================
*/

.sezione-prenotazione {
    margin: 0 10px 30px;
    background-color: #f5f2eb;
    box-sizing: border-box;
    padding: 20px;
    position: relative;
}
.sezione-prenotazione h4 {
    font-weight: 400;
    font-size: 26px;
    color: #003256;
}
.sezione-prenotazione h4 span {
    color: #991915;
}
.prenotazione-col > p {
    font-size: 20px;

}
.prenotazione-col {
    box-sizing: border-box;
}
#gform_wrapper_1 {
    margin: 0;
    font-size: 15px;
}
#gform_wrapper_1 .gform_footer {
    float: right;
    padding: 0;
    margin: 0;
}
#gform_wrapper_1 .gfield {
    box-sizing: border-box;
}
#gform_wrapper_1 .gfield label {
    margin: 0;
    font-weight: 400;
}
#gform_wrapper_1 input,
#gform_wrapper_1 select,
#gform_wrapper_1 textarea {
    border-radius: 8px;
    width: 100%;
    color: #555;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
}
#gform_wrapper_1 input.gform_button {
    color: #fff;
    text-transform: uppercase;
    padding: 8px 26px;
    background-color: #991915;
    font-family: "Kanit",sans-serif !important;
    font-weight: 400;
}
#field_1_2,
#field_1_3 {
    float: left;
    width: 48.5%;
    clear: none;
}
#field_1_2 {
    margin-right: 3%;
}
#field_1_3 {
    margin-bottom: 10px;
}
#field_1_4 {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin: 10px 0;
}


/*
	============================================================================================================
	   Footer
	============================================================================================================
*/
.textwidget > iframe {
    width: 100%;
}

.footer-wrapper i.fa {
    display: block;
    float: left;
    margin-top: 5px;
}
span.info-box {
    display: block;
    padding-left: 26px;
}

.custom-sidebar-title {
    font-family: "Kanit",sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}
.gdl-footer-3 .custom-sidebar-title {
    padding: 0;
    margin: 0;
}
.gdl-footer-4 .textwidget {
    padding: 0;
}






/*
	============================================================================================================
	   Single Capannone
	============================================================================================================
*/



.page-header-wrapper .page-header-title {
    font-weight: 400;
    font-size: 26px;
}
h5 {
    font-weight: 600;
}
.single-capannone .blog-content h4 {
    font-weight: 400;
    font-size: 24px;
    color: #003256;
    border-bottom: 1px solid #ddd;
    margin: 20px 0 12px;
}
.capannone-thumb.full img {
    width: 100%;
}

.capannone-slide-nav {
    margin: 16px;
    cursor: pointer;
}
.single-gallery-nav.slick-slider {
    margin-bottom: 60px;
}

@media screen and (min-width:680px){
    .capannone-cars p {
        float: left;
        width: 50%;
        box-sizing: border-box;
        padding-right: 20px;
    }
}
.capannone-address p span,
.capannone-cars p span {
    font-weight: 700;
    color: #003256;
}
.capannone-cars p {
    margin-bottom: 20px;
}
.capannone-address p span:before,
.capannone-cars p span:before {
    content: "";
    display: inline-block;
    background-image: url(img/galileo_icon_red.png);
    background-attachment: scroll;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 16px;
    margin-bottom: -6px;
    margin-right: 12px;
}
.single-maps {
    height: 360px;
}

@media screen and (max-width:768px){
    .single-maps {
        height: 220px;
    }
}

/*
	============================================================================================================
	   Contact Form
	============================================================================================================
*/
body .gform_wrapper {
    max-width: 100%;
}
.gform_wrapper:after,
.gform_fields:after {
    content: "";
    display: block;
    clear: both;
}
.gform_fields {
    padding: 0 !important;
}
.gform_wrapper .textarea {
    width: 100% !important;
    box-sizing: border-box;
}
.gform_button.button,
#gform_wrapper_2 .gform_button.button {
    background-color: #991915;
    border-radius: 8px;
    text-transform: uppercase;
    font-family: "Kanit",sans-serif;
    font-size: 18px !important;
    padding: 6px 30px;
}
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
    border-color: #991915;
}
#gform_wrapper_2 input,
#gform_wrapper_2 textarea {
    background-color: #f4f4f4;
}
#gform_wrapper_2 input:focus,
#gform_wrapper_2 textarea:focus {
    background-color: #fff;
}








/*
	============================================================================================================
	   Articolo
	============================================================================================================
*/

.comment-wrapper #respond textarea,
.comment-wrapper #respond input {
    box-shadow: none;
    background-color: #f9f9f9;
}
.comment-wrapper #respond textarea:focus,
.comment-wrapper #respond input:focus {
    border-color: #991915;
    background-color: #fff;
}
.comment-wrapper #respond #submit:hover {
    background-color: #73020f;
}
.comment-wrapper #respond #submit {
    background-color: #991915;
    border-radius: 8px;
    text-transform: uppercase;
    font-family: "Kanit",sans-serif;
    font-size: 16px !important;
}





/*
	============================================================================================================
	   Media Queries
	============================================================================================================
*/



@media screen and (max-width:479px) {


    .thumb-capannone {
        width: 48%;
        padding-bottom: 48%;
        margin-right: 4%;
    }
    .thumb-capannone:nth-child(2n) {
        margin-right: 0;
    }
    body div.copyright-right {
    	float: none;
    }
}


@media screen and (max-width:868px) {
    .custom-filter .custom-filter-title p:after {
        content: none;
    }
}

@media screen and (min-width:600px) {

    .map-capannone,
    .capannone-main {
        float: right;
        height: 400px;
    }
    .map-capannone {
        width: 30%;
    }
    .capannone-main {
        width: 70%;
    }
}


@media screen and (min-width:680px) {

    .sezione-prenotazione .prenotazione-col .gform_wrapper:before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        /* background-image: url(img/business-man.png); */
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: bottom left;
        z-index: 0;
    }
    .prenotazione-col {
        float: left;
        width: 48%;
    }
    .prenotazione-col:first-child {
        margin-right: 10%;
        width: 42%;
    }
}






@media screen and (min-width:480px) and (max-width:767px) {
    .soluzione-mt {
        float: left;
        width: 48%;
        margin-right: 4%;
    }
    .soluzione-mt:nth-child(2n) {
        margin-right: 0;
    }

    .thumb-capannone {
        width: 32%;
        padding-bottom: 32%;
        margin-right: 2%;
    }
    .thumb-capannone:nth-child(3n) {
        margin-right: 0;
    }
}





@media screen and (max-width:767px) {
    body div.body-outer-wrapper {
        padding-bottom: 0;
        padding-top: 0;
    }
    body .container {
        padding: 0 10px;
    }
    .body-wrapper.boxed-style,
    body div.boxed-style,
    body .container {
        max-width: 100%;
    }
    /*.custom-contact-wrap {
        display: none;
    }*/
    body .header-wrapper .navigation-wrapper {
        position: absolute;
        top: 0;
        right: 0;
    }
    body .header-wrapper .responsive-menu-wrapper {
        margin-right: 93px;
    }
    body .header-wrapper .responsive-menu-wrapper .dropdown-menu {
        height: 28px;
        color: #004f88;
        border-color: #73020f;
        border-radius: 0;
        font-size: 15px;
        font-family: "Kanit",sans-serif;
    }
    #gdl-social-icon {
        height: 0;
        display: none !important;
    }
    .custom-contact-wrap {
        margin-right: 0;
    }
    .custom-contact-wrap .contact-icon {
        font-size: 15px;
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    .slick-next.slick-arrow {right: -21px;}
    .slick-prev.slick-arrow {left: -21px;}
    .custom-filter-title {
        display: none;
    }
    .searchandfilter > div > ul > li {
        padding-right: 0;
    }
    .searchandfilter > div > ul > li h4 {
        display: block;
        background-color: #003256;
        color: #fff;
        padding: 8px 20px;
        box-sizing: border-box;
        line-height: 30px;
    }
    .searchandfilter > div > ul > li h4:before {
        display: inline-block;
        margin-right: 14px;
        width: 30px;
        height: 30px;
        background-color: #991915;
        text-align: center;
        border-radius: 50%;
    }
    .searchandfilter > div > ul > li:nth-child(1) h4:before {content: "1"}
    .searchandfilter > div > ul > li:nth-child(2) h4:before {content: "2"}
    .searchandfilter > div > ul > li:nth-child(3) h4:before {content: "3"}



}






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

    .header-wrapper .logo-right-text {
        position: absolute;
        right: 0;
        bottom: 74px;
        margin: 0 30px 0 280px;
    }

    .searchandfilter > div > ul > li {
        float: left;
        width: 33.33333%;
    }

    .searchandfilter > div > ul > li:last-child input {
        position: absolute;
        bottom: 0;
        left: 83.33%;
        transform: translate(-50%, 0px);
        -webkit-transform: translate(-50%, 0px);
        -moz-transform: translate(-50%, 0px);
        -ms-transform: translate(-50%, 0px);
        -o-transform: translate(-50%, 0px);
        margin-top: 0;
    }
    .soluzione-mt {
        float: left;
        width: 31%;
        margin-right: 3.5%;
        margin-bottom: 0;
    }
    .soluzione-mt h5 {
        margin: 8px 0;
    }
    .soluzione-mt:last-child {
        margin-right: 0;
    }

    #gform_wrapper_2 form ul li {
        float: left;
        width: 32%;
        margin-right: 2%;
        clear: none !important;
    }
    #gform_wrapper_2 form ul li:nth-child(3),
    #gform_wrapper_2 form ul li:nth-child(4){
        margin-right: 0;
    }
    #gform_wrapper_2 form ul li:nth-child(4) {
        float: none;
        width: 100%;
    }
    .thumb-capannone {
        width: 15%;
        padding-bottom: 15%;
        margin-right: 2%;
    }
    .thumb-capannone:last-child {
        margin-right: 0;
    }
}



.essb_links.essb_template_metro-retina.essb_nospace li a {
    border-radius: 0 !important;
}




