/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#mappa-tcbrescia{height:700px}
@media all and (max-width: 1024px){
	#mappa-tcbrescia{height:500px}
}
@media all and (max-width: 480px){
	#mappa-tcbrescia{height:350px}
}

.of-c img{object-fit:contain!important}
.off-canvas-center .nav-vertical>li>a{font-size:1.2em;padding-top:10px;padding-bottom:10px}

:root {
    /* VARS */
    --orange: #CF540C;
    --green1: #2E6959;
    --green2: #21403D;
    --background: #F7F2EC;

    background-color: var(--orange);
  }
.color_orange{
    color: var(--orange)!important;
}
.color_white{
    color: #ffffff!important;
}

/*************** BACKGROUND   ***************/
  .background_gradient{
    background: rgb(26,49,48);
    background: linear-gradient(0deg, rgba(26,49,48,1) 0%, rgba(40,87,73,1) 33%, rgba(104,142,158,1) 100%);
  }
  .background_gradient_invert{
    background: rgb(26,49,48);
    background: linear-gradient(-90deg, rgba(104,142,158,1) 0%, rgba(40,87,73,1) 33%, rgba(26,49,48,1) 100%);
  }
  .half_background{
    background: linear-gradient(-180deg, rgba(26,49,48,1) 0%, rgba(40,87,73,1) 25%, rgba(104,142,158,1) 50%, rgba(104,142,158,0) 50.1%)!important;
  }
@media all and (max-width: 480px){
	.half_background.mobile_full{ 
		background: rgb(26,49,48);
		background: linear-gradient(-90deg, rgba(104,142,158,1) 0%, rgba(40,87,73,1) 33%, rgba(26,49,48,1) 100%)!important;
	}
}


/*************** TYPOGRAPHY   ***************/
.raleway-regular, p, ul {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.raleway-medium, p .raleway-medium, ul .raleway-medium, p.raleway-medium, ul.raleway-medium {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.raleway-bold, p strong, p b, ul strong, ul b, .button {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@font-face {
    font-family: 'RadiantCharisma';
    src: url('./fonts/radiantcharisma-medium-webfont.woff2') format('woff2'),
         url('./fonts/radiantcharisma-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RadiantCharisma';
    src: url('./fonts/radiantcharisma-mediumitalic-webfont.woff2') format('woff2'),
         url('./fonts/radiantcharisma-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

h1, .h1{
    font-size: 50px;
    font-family: 'RadiantCharisma';
    font-weight: 300;
    line-height: 64px;
}
.h1_raleway{
    font-size: 80px;
    line-height: 90px;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
}

h2, .h2{
    font-size: 43px;
    font-family: 'RadiantCharisma';
    font-weight: 300;
    line-height: 52px;
}

h3, .h3{
    font-size: 34px;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    line-height: 42px;
}

h4{
    font-size: 25px;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: normal;
}
p{
    font-size: 18px;
}
#footer p,
#footer a{font-size:14px}
#footer .ux-menu-link__link{min-height:10px}

.fw_800{
    font-weight: 800;
}
.fw_500{
    font-weight: 500;
}

.uppercase{
    text-transform: uppercase;
    letter-spacing: normal;
}

.vertical_text_lr{
    color: var(--green1);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-size: 230px;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    margin: 0;
    transform-origin: center;
    transform: rotate(180deg) translateX(40px);
}
.vertical_text_rl{
    color: var(--green1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 230px;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    margin: 0;
    line-height: 0.7;
}

/*************** SPACING ***************/
.m_0{
    margin: 0px!important;
}
.mb_0{
    margin-bottom: 0px!important;
}
.mb_10{
    margin-bottom: 10px!important;
}
.mb_20{
    margin-bottom: 20px;
}
.mb_50{
    margin-bottom: 50px;
}

.pb_0{
    padding-bottom: 0px!important;
}
.pb_50{
    padding-bottom: 50px!important;
}
.pb_100{
    padding-bottom: 100px!important;
}
.pl_0{
    padding-left: 0px!important;
}
.pr_0{
    padding-right: 0px;
}
.col.p_0{
    padding: 0;
}
.pr_200{
    padding-right: 200px;
}
.offset_y_300{
    transform: translateY(300px);
}
.offset_y_200{
    transform: translateY(200px);
}
.offset_y_-300{
    transform: translateY(-300px);
}

/*************** FLEX ***************/
.align_self_end{
    align-self: flex-end;
}

/*************** HEADER ***************/
#logo{
	background-color: #F7F2EC;
    height: 100%;
    display: flex;
    align-items: center;
	justify-content: center;
}
#logo > a{
	width: 220px;
}
.header{
    border-bottom: .5px solid white;
}
.header .flex-row {
    padding-left: 0;
}
.header-nav-main{
	justify-content: space-evenly;
    padding-right: 50px;
}
.header-main .nav > li > a{
	font-weight: 500;
}
.header-main .nav > li.menu-item.active > a{
	font-weight: 700;
}
.header-main .nav > li a:hover{
	font-weight: 700;
}
.sub-menu li a{
    font-size: 14px;
}

#content{
	min-height: 100vh;
}

/*************** BUTTONS ***************/

.button{
    padding: .5em 2em;
    margin-top: 20px;
}

.btn_outline_white{
    color: white!important;
    border: 1.5px solid white!important;
}
.btn_outline_white:hover{
    color: white!important;
    background-color: var(--orange)!important;
    border-color: transparent!important;
}
.btn_hover_white:hover{
    color: black!important;
    background-color: white!important;
    border-color: transparent!important;
}

.btn_outline_orange{
    color: var(--green1)!important;
    border: 1.5px solid var(--orange)!important;
}
.btn_outline_orange:hover{
    color: white!important;
    border-color: transparent!important;
    background-color: var(--orange)!important;
}

/*************** IMAGES ***************/
.overlay_background::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .3);
    z-index: 1;
}
.overlay_background{
    color: red;
}

/*************** COMPONENTS ***************/
/* FORM RICHIEDI INFORMAZIONI */
.wpcf7-form input, .wpcf7-form textarea{
    background-color: var(--green1);
    color: white;
    border: none;
}
.wpcf7-form input::placeholder,  .wpcf7-form textarea::placeholder{
    color: white;
}
.wpcf7-list-item-label{
    color: white;
    font-weight: 500;
}
.wpcf7-list-item-label > a{
    color: white;
    font-weight: 500;
    text-decoration: underline;
}
.wpcf7-spinner{
    display: none;
}
.wpcf7-submit{
    color: white!important;
    border: 1.5px solid white!important;
    background-color: var(--green2)!important;
    margin-right: 0px!important;
}
.wpcf7-submit:hover{
    color: white!important;
    border-color: transparent!important;
    background-color: var(--orange)!important;
}
/* FORM CONTATTACI */
.section_form_contattaci{
    margin-top: -150px;
}
#form_contattaci input, #form_contattaci textarea{
    background-color: white;
    color: var(--green1);
    border: none;
}
#form_contattaci input::placeholder,  #form_contattaci textarea::placeholder{
    color: var(--green2);
}
#form_contattaci .wpcf7-submit{
    color: white!important;
    border: 1.5px solid white!important;
    background-color: transparent!important;
    margin-right: 0px!important;
}
#form_contattaci .wpcf7-submit:hover{
    color: var(--green2)!important;
    border-color: transparent!important;
    background-color: white!important;
    box-shadow: none!important;
}
/* Google maps */
.google-map {
    filter: grayscale(1);
}
/* SLIDER */
.slider_box_orange{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
    background-color: var(--orange);
    height: auto;
    padding: 50px;
}
.slider_box_green{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
    background-color: var(--green1);
    color: white;
    height: auto;
    padding: 50px;
}
/* HOVER CONTENT - RIVELA BUTTON */
.slider_full{
    padding-right: 200px;
}
.hover_column:hover .hover_background{
    width: 100%;
    max-height: 100%;
    background: var(--orange);
    background: linear-gradient(45deg, rgba(206,83,13,0) 0%, rgba(206,83,13,1) 80%);
    transition: all .5s ease;
}
.hover_column:hover .hover_content a{
    opacity: 1;
    transition: opacity .1s ease;
}
.hover_column:hover .hover_content_small p{
    opacity: 1;
    transition: opacity .1s ease;
}
.hover_box{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
}
.hover_content{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 200px;
    padding: 50px;
    z-index: 1;
}
.hover_content  a{
    opacity: 0;
}
.hover_content_small{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 150px;
    padding: 30px;
    z-index: 1;
}
.hover_content_small p{
    opacity: 0;
}
.hover_background{
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    max-height: 200px;
    background: var(--orange);
    background: linear-gradient(45deg, rgba(206,83,13,1) 0%, rgba(206,83,13,1) 80%);
    transition: all .5s ease;
}
.hover_background.small{
    max-height: 130px;
}

/* BREADCRUMB */
.breadcrumb, .breadcrumb a{
    color: var(--green1);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .1em;
}
span.breadcrumb_last{
    color: var(--orange);
}
.form_small_container{
    transform: translateY(200px);
}

/* NUMBERS */
.number{
    font-size: 55px;
    font-family: 'RadiantCharisma';
    font-weight: 300;
    line-height: 64px;
    margin-bottom: 12px;
}

/* FOOTER */
.footer_menu_item > .ux-menu-link__link:hover > .ux-menu-link__text{
    color: var(--orange);
}
.footer_menu_item.ux-menu-link--active > a > span{
    font-weight: 600;
    color: var(--orange);
}
.absolute-footer{
    display: none;
}

@media only screen and (min-width: 851px) {
    .p_0d{
        padding: 0px!important;
    }
}

/* SOCIALS */
.social_icons_desktop {
    position: fixed;
    right: 0;
    bottom: 0px;
    width: auto;
    height: auto;
    padding: 37px 19px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background-color: var(--orange);
    cursor: pointer;
    z-index: 10;
}

/* TABELLA INFO */
.tabella_info .text{
    padding: 12px;
}
/* CIRCLE CONTAINER */
.circle_container{
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--orange);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: 700;
    color: white;
}
/* 404 */
.error-404 .header-font{
    color: var(--orange);
    opacity: 1!important;
}
.error-404 p{
    color: var(--green2);
}
.error-404 form{
    display: none;
}
.error-404 {
    padding: 60px 30px 100px 30px;
}

.back-to-top{
    right: unset;
    left: 50%;
    transform: translateX(-50%)!important;
    /* display: none!important; */
}


@media only screen and (max-width: 1280px) {
    /*************** SMALL MONITOR *******************************************************/
    .slider_box_orange, .slider_box_green{
        width: 60%;
    }
    .flickity-page-dots{
        bottom: 50px;
    }
}
@media only screen and (max-width: 1024px) {
    /*************** TABLET LANDSCAPE *******************************************************/
    /* SLIDER */
    .slider_box_orange, .slider_box_green{
        position: relative;
        top: 0;
        right: unset!important;
        width: 100%;
    }
    .slider_box_green{
        position: relative;
        top: 0;
        right: unset!important;
        width: 100%;
    }
    .flickity-page-dots{
        bottom: 20px;
    }
}

@media only screen and (max-width: 850px) {
    /*************** TABLET  *******************************************************/
    h1, .h1{
        font-size: 42px;
        line-height: 1.4em;
        margin-bottom: 30px;
    }
    .h1_raleway{
        font-size: 50px;
        line-height: 60px;
    }
    p{
        font-size: 16px;
        margin-bottom: 30px;
    }
    .offset_y_300{
        transform: translateY(0px);
    }
    .offset_y_200{
        transform: translateY(0px);
    }
    .offset_y_-300{
        transform: translateY(0px);
    }
    .slider_full{
        padding-right: 0px;
    }
    #logo{
        justify-content: start;
        padding-left: 15px;
    }
    .pb_0t{
        padding-bottom: 0px;
    }
    /*************** Margine laterale ***************/
    section:not(.full_width){
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    /* SLIDER */
    .slider_box_orange{
        position: relative;
        top: 0;
        right: unset!important;
        width: 100%;
    }
    .slider_box_green{
        position: relative;
        top: 0;
        right: unset!important;
        width: 100%;
    }
    .flickity-page-dots{
        background-color: var(--orange);
        position: relative;
        padding: 20px;
        left: unset;
        right: unset;
    }
    /* MOBILE HERO CONTENT */
    .mobile_hero_content{
        position: relative;
        width: 100vw;
        margin-left: -15px;
        padding: 50px 30px;
        padding-bottom: 20px;
        background-color: var(--green1);
    }
    /* CIRCLE CONTAINER */
    .circle_container{
        font-size: 24px;
    }
}

@media only screen and (max-width: 500px) {
    /*************** MOBILE  *******************************************************/
    h1, .h1{
        font-size: 30px;

        margin-bottom: 30px;
    }
    h2, .h2{
        font-size: 28px;
        line-height: 35px;
    }
    h3, .h3{
        font-size: 24px;
        line-height: 1.4em;
    }
    h4, .h4{
        font-size: 20px;
        line-height: 1.1em;
    }
    .h3_p{
        font-size: 16px;
        line-height: 1.6;
        font-weight: 500;
    }
    /*************** BUTTONS ***************/
    .button{
        padding: .4em 2em;
        font-size: 12px;
        margin-top: 12px;
    }
    /*************** Header ***************/
    .header-inner{
        padding-left: 30px!important;
        padding-right: 30px;
    }
    #logo{
        background-color: unset;
        padding-left: 0;
    }
    .header-main{
        background-color: white;
    }
    .nav-icon > a {
        color: var(--green1)!important;
    }
    /* MENU MOBILE */
    .mobile-sidebar .menu-item a{
        justify-content: start!important;
        font-weight: 500;
        font-size: 18px;
    }
    .sub-menu > li > a{
        justify-content: start!important;
        font-weight: 600!important;
        padding: 0 30px 0 60px;
        font-size: 17px;
    }
    .header-button{
        text-align: left;
        padding: 0 30px;
    }
    .header-button .button{
        width: 100%;
        padding: 12px 20px;
        font-weight: 700;
        font-size: 20px;
        margin-top: 20px;
    }
    .logo_mobile_container{
        position: absolute;
        top: -80px;
        left: 30px;
    }
    .mfp-close {
        top: 50px;
        right: 7px;
    }
    .main-menu-overlay{
        opacity: 95%!important;
    }
    .mfp-content {
        height: 100vh;
        padding-top: 90px!important;
    }
    /* FORM CONTATTACI */
    .section_form_contattaci:not(.full_width), .contattaci_row >.col{
       /*  padding-left: 0px!important; */
    }
    .section_form_contattaci .wpcf7{
        padding: 0px 30px;
    }
    .text_contattaci{
        padding-right: 30px;
    }
    /* NUMBERS */
    .number{
        font-size: 42px;
        width: 30px;
    }
    .number_container .col-inner{
        display: flex;
        gap: 12px;
    }
    .number_container .col-inner > div:nth-child(2){
        margin-top: 18px;
    }
    /* HOVER CONTENT */
    .hover_content, .hover_content_small{
        top: 20%;
        right: unset;
        left: 0;
        width: auto;
        padding: 30px;
    }
    .hover_column .hover_background{
        width: 100%;
        max-height: 100%;
        background: var(--orange);
        background: linear-gradient(45deg, rgba(206,83,13,0) 0%, rgba(206,83,13,1) 80%);
        transition: all .5s ease;
    }
    .hover_column .hover_content a, .hover_content_small p{
        opacity: 1;
        transition: opacity .1s ease;
    }
    /* SLIDER */
    .slider_box_orange{
        padding: 50px 30px;
        padding-bottom: 50px;
        width: 100vw;
    }
    .slider_box_green{
        padding: 50px 30px;
        width: 100vw;
        /* height: 400px;*/
    }
    .flickity-page-dots{
        width: 100vw;
        margin-top: -50px;
        display: none;
    }
    /* TABELLA INFO */
    .tabella_info *{
        border: none;
    }
    .tabella_info .text{
        padding: 12px 0px;
    }
    .tabella_info h4.h4_title{
        border-bottom: 1px solid var(--green2);
        padding-bottom: 12px;
    }
    .tabella_info h4:not(.h4_title){
        margin-top: -20px;
    }
    /* CIRCLE CONTAINER */
    .circle_container{
        font-size: 18px;
    }
    /* PRENOTA ORA BLOCK */
    .section_prenota:not(.full_width){
        padding-left: 30px!important;
        padding-right: 30px!important;
    }
    .breadcrumb{
        padding-bottom: 0px!important;
    }
    /* BACK ON TOP */
    .back-to-top{
        right: 9px;
        bottom: 30px;
        left: unset;
        transform: unset;
        display: inline-block!important;
        background-color: rgba(207, 87, 12, .43)!important;
        border-color: transparent!important;
        border-radius: 0!important;
        height: 39px;
        width: 39px;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/* ANIMAZIONI */


/* ENTRATA */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 30px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0px, 0);
    }
  }

  .fadeUp {
    animation-name: fadeInUp;
    animation-timing-function: ease-out;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  .delay1 {
    animation-delay: .3s;
  }
  .delay2 {
    animation-delay: .6s;
  }
  .delay3 {
    animation-delay: .9s;
  }
  .delay4 {
    animation-delay: 1.2s;
  }

  /* ARROW RIGHT */
  .arrow_right{
    transform: translateX(0px);
    transition: transform .5s ease-in;
  }
  .arrow_right:hover{
    transform: translateX(10px);
    transition: transform .5s ease-out;
  }

/* ARROW PULSE */
.arrow_pulse {
    animation: pulse 2s infinite;
    animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes pulse {
    0% {
        transform: translateX(0);
        opacity: .5;
    }
    50% {
        transform: translateX(20px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: .5;
    }
}