/*
Theme Name: Premio Inge Feltrinelli
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0
*/

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

/* Dichiarazione Fonts */

/* C059 Italic */
@font-face {
    font-family: 'C059-Italic';
    src: url('assets/fonts/C059-Italic.eot');
    src: url('assets/fonts/C059-Italic.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/C059-Italic.woff2') format('woff2'),
        url('assets/fonts/C059-Italic.woff') format('woff'),
        url('assets/fonts/C059-Italic.svg#C059-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* C059 Roman */
@font-face {
    font-family: 'C059-Roman';
    src: url('assets/fonts/C059-Roman.woff2') format('woff2'),
        url('assets/fonts/C059-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* C059 Bold Italic */
@font-face {
    font-family: 'C059-Bold-Italic';
    src: url('assets/fonts/C059-BdIta.eot');
    src: url('assets/fonts/C059-BdIta.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/C059-BdIta.woff2') format('woff2'),
        url('assets/fonts/C059-BdIta.woff') format('woff'),
        url('assets/fonts/C059-BdIta.svg#C059-BdIta') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

/* C059 Bold */
@font-face {
    font-family: 'C059-Bold';
    src: url('assets/fonts/C059-Bold.eot');
    src: url('assets/fonts/C059-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/C059-Bold.woff2') format('woff2'),
        url('assets/fonts/C059-Bold.woff') format('woff'),
        url('assets/fonts/C059-Bold.svg#C059-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


/* Generale */
html {
    scroll-behavior: smooth;
  }

/* Tipografia */
h1,h2,h3,h4,h5,h6, .heading-font{font-family: 'C059-Bold' !important;}

.bold_italic{font-family: 'C059-Bold-Italic' !important;}
.italic{font-family: 'C059-Italic' !important;}
.roman{font-family: 'C059-Roman' !important;}
.bold{font-family: 'C059-Bold' !important;}

.mt0{margin-top: 0;}
.mt20{margin-top: 20px;}
.mt25{margin-top: 25px !important;}
.mt30{margin-top: 30px;}
.mt40{margin-top: 40px;}
.mt70{margin-top: 70px;}

.mb0{margin-bottom: 0 !important;}
.mb20{margin-bottom: 30px;}
.mb30{margin-bottom: 30px;}
.mb40{margin-bottom: 40px;}
.mb70{margin-bottom: 70px;}

.pt0{padding-top: 0 !important;}

.pb0{padding-bottom: 0 !important;}
.pb20{padding-bottom: 30px;}
.pb24{padding-bottom: 24px !important;}
.pb30{padding-bottom: 30px;}
.pb40{padding-bottom: 40px;}

.btn-votoMenu a{
    background-color: #fff;
    color: #000 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 99px;
}

.nav-vertical .btn-votoMenu a{
    background-color: #3E1A00;
    color: #fff !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 0;
}

.banner_Home .row_bannerHome > .col > .col-inner{
    border-radius: 40px;
    overflow: hidden;
}

.titolo{
    font-size: 30px;
    line-height: 30px;
    color: #E87B38;
}
.titolo-small{
    font-size: 24px;
    line-height: 28px;
    color: #E87B38;
    font-weight: bold;
}
.titolo-big{
    font-size: 36px;
    line-height: 50px;
    color: #E87B38;
    font-weight: bold;
}

.bg-grey{
    background-color: rgb(238, 238, 238);
}

.bottone-bianco{
    background-color: #fff !important;
    color: #E87B38 !important;
    border-radius: 50px !important;
    border: 2px solid #E87B38 !important;
}
.bottone-bianco:hover,
.bottone-bianco:focus{
    background-color: #E87B38 !important;
    color: #fff !important;
    border: 2px solid #E87B38 !important;
}

/* News */
.single-post .wp-post-image{display:none;}
.entry-category.is-xsmall{display: none;}

/*  Header
    Pagine: Giuria - Singolo Relatore - News
*/
.class-header-custom .header{
    position: absolute;
}
.class-header-custom .header:not(.stuck) {
    left: auto;
    right: auto;
}
.class-header-custom .header .header-wrapper,
.class-header-custom .header .header-bg-image,
.class-header-custom .header .header-bg-color,
.class-header-custom .header .header-bottom{
    box-shadow: none;
    background-color: transparent;
    background-image: none !important;
}
.class-header-custom .nav > li > a{
    color: rgba(255,255,255,.8);
}
.class-header-custom .nav > li.active > a,
.class-header-custom .nav > li > a:hover{
    color: #fff;
}
/* Container */
.container_small{
    max-width: 1350px !important;
    margin: 0 auto;
}

/* Slider */
.row_slider .titolo_slide{
    /* font-size: 120px; */
    font-size: 6.5vw;
    margin-bottom: 0;
}
.row_slider .titolo_slide span{
    color: #E87B38;
}

.row_slider .descrizione_slide{
    font-size: 48px;
    line-height: 52px;
}

/* Box Testo - Under Slide */
.container_testo{
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}
.box_testo{
    background-color: #fff;
    padding: 50px;
    border-radius: 40px;
    margin-top: -100px;
}
.title{
    margin-top: 0;
    margin-bottom: 45px;
    font-size: 35px;
    color: #E87B38;
    line-height: 1em;
}
.title.text_voto{
    color: #3E1A00;
    font-weight: bold;
}
.text_newsletter a{
    color: #000;
    font-weight: bold;
}

/* Tematiche */
.row_tematiche{
    padding: 40px 0;
}
.row_tematiche .titolo{
    font-size: 36px;
    line-height: 52px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}
.row_tematiche .box_tematiche{
    padding: 70px 0;
}
.row_tematiche .border{
    border-style: dashed;
    border-top: 1px;
    border-bottom: 1px;
    border-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='1' stroke-dasharray='30' stroke-dashoffset='0'");
}
.row_tematiche .titolo_tematiche{
    font-size: 30px;
    line-height: 30px;
    color: #E87B38;
}
.row_tematiche .testo_tematiche{
    color: #fff;
}
.row_tematiche .button_category{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* Footer */
#footer{
    border-top: 1px solid #3E1A00;
}

/* Header Pagine interne */
.row_slider .titolo_slide.page_int{
    font-size: 100px; 
}
.row_slider .titolo_slide.page_int.small{
    font-size: 60px;
}

/* Il Premio */
.section_diritti{
    padding-bottom: 0 !important;
    padding-top: 20px !important;
}
.box_diritti h2{
    font-size: 36px;
    line-height: 42px;
}
.box_diritti h2 span{
    color: #E87B38;
}
.timeline{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.timeline::before{
    content: "";
    position: absolute;
    background-color: #000;
    height: 3px;
    width: 90%;
    margin: 0 auto;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    z-index: -1;
}
.row_timeline{
    padding-top: 30px !important;
    padding-bottom: 70px !important;
}
.timeline .event{
    flex-basis: calc(100% / 5);
    text-align: center;
}
.timeline .event img{
    width: 140px;
    max-width: 100%;
}

/* Giuria */
.row_giuria{
    max-width: 1350px !important;
    padding-top: 70px;
    padding-bottom: 70px;
}
.row_giuria .entry-image{
    margin-bottom: 10px;
}
.row_giuria .entry-title a{
    font-size: 21px;
    line-height: 24px;
    margin-bottom: 10px;
}
.row_giuria .ruolo{
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 10px;
}
.row_giuria .ruolo a,
.row_giuria .ruolo a:hover,
.row_giuria .ruolo a:focus{
    color: #E87B38;
}

/* Scheda relatore */
.row_singolo_relatore{
    padding-top: 70px;
    padding-bottom: 70px;
}
.row_singolo_relatore .nome{
    font-size: 36px;
    line-height: 42px;
    color: #E87B38;
    margin-bottom: 10px;
    font-weight: bold;
}
.row_singolo_relatore .ruolo span{
    background-color: #3E1A00;
    border-radius: 20px;
    padding: 10px 20px;
    color: #fff;
    display: inline-block;
}
.row_singolo_relatore .categoria {
    background-color: #3E1A00;
    border-radius: 20px;
    padding: 10px 20px;
    color: #fff;
    display: inline-block;
}

.row_giuria .categoria a,
.row_giuria .categoria a:hover,
.row_giuria .categoria a:focus{
    color: #333333;
}
.row_news .col{
    padding-bottom: 0;
}
.section_news_relatori{
    padding-top: 70px !important;
    padding-bottom: 50px !important;
}
.section_news_relatori .post-title{
    color: #E87B38;
}
.section_news_relatori .from_the_blog_excerpt{
    color: #fff;
}
.row_news{
    max-width: 1350px !important;
}
.box_relatori.row-box-shadow-2 .col-inner{
    box-shadow: none;
}
.box_relatori .post-title{
    font-size: 21px;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}
.box_relatori .ruolo{
    font-size: 18px;
    line-height: 21px;
    color: #E87B38;
    margin-bottom: 10px;
}
.titolo_blog_customtype{
    font-size: 36px;
    line-height: 50px;
    color: #E87B38;
    text-align: center;
    margin-bottom: 0;
}
.titolo_blog_customtype.page_relatori{
    padding: 82px 0 38px;
}

/* Promotori */
.row_promotori{
    max-width: 1350px !important;
    padding-top: 70px !important;
    padding-bottom: 40px !important;
}

/* Pagine Diritti */
.box_testo.diritti{
    background-color: #E87B38;
}
.box_testo.diritti .titolo{
    color: #fff;
}

.page-numbers.nav-pagination{
    width: 100%;
}

/* Diritti in pratica */
.section-voto-dirittiInPratica .row_voto{
    max-width: 1570px !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

/*  Pagina Archivio Voto */
.row_voto {
    max-width: 1350px !important;
    padding-top: 70px;
    padding-bottom: 70px;
}
.row_voto .box_testo{
    border-top-left-radius: 0;
}
.row_voto .title{
    margin-bottom: 24px;
}
.row_voto .entry-image{
    margin: 0 auto 20px;
    text-align: center;
    height: 300px;
    width: 200px;
}
.row_voto .entry-image img{
    /* width: 200px;
    max-width: 100%; */
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.button.btn-secondary{
    background-color: #3e1a00;
    border-color: #3e1a00;
    color: #fff;
}


.button.btn-secondary.is-outline{
    background-color: transparent;
    border-color: #3e1a00;
    color: #3e1a00;;
}

.button.btn-secondary.is-outline:hover,
.button.btn-secondary.is-outline:focus{
    background-color: #3e1a00;
    border-color: #3e1a00;
    color: #fff;
}

.row_voto .entry-title {
	font-size: 21px;
	line-height: 24px;
	margin-bottom: 10px;
    text-align: center;
}
.row_voto .autore {
	color: #3e1a00;
    margin-bottom: 10px;
    text-align: center;
}
.row_voto .button.w-100{
    width: 100%;
}
.row_voto .button-vota{
    padding: 10px 100px;
}
.row_voto .img-selected img{
    transform: scale(1.1);
    border: 5px solid #E87B38;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.row_voto .title_label strong {
	background-color: #fff;
	padding: 15px 40px 35px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
    font-size: 35px;
    color: #E87B38;
    line-height: 70px;
}
.row_voto .title_label strong.active {
    border: 3px solid #E87B38;
}
@media screen and (min-width: 991px) {
    .row_voto .medium-6 {
    max-width: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    }
}
@media screen and (min-width: 1200px) {
    .row_voto .large-2_5 {
        max-width: 20%;
        -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
    }
}

/* Pagina Accedi su feltrinelli */
.divider{
    text-align: center;
    position: relative;
}

.divider:before{
    background-color: #ccc;
    height: 1px;
    width: 100px;
    content: "";
    display: block;
    margin: 0 auto;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.divider span{
    text-align: center;
    position: relative;
    background-color: #fff;
    z-index: 1;
    padding: 0 5px;
    margin: 0 5px;
}

.button.primary:not(.is-outline).button-disabled,
.button.primary:not(.is-outline).button-disabled:hover,
.button.primary:not(.is-outline).button-disabled:focus {
	background-color: #c1c1c1;
    opacity: 1;
    box-shadow: inset 0 0 0 0 transparent;
    pointer-events: none;
}

/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media only screen and (min-width: 1200px){
    .row_voto .entry-title{
        min-height: 120px;
    }
}
@media only screen and (max-width: 991px) {
    /* Slide */
    .row_slider .titolo_slide{
        font-size: 50px;
    }
    .row_slider .descrizione_slide{
        font-size: 40px;
        line-height: 45px;
    }
    .row_slider .br_descrizione{
        display: none;
    }
    /* Tematiche Home */
    .row_tematiche .border{
        border-style: dashed;
        border-left: 1px;
        border-right: 1px;
        border-color: #fff;
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='1' stroke-dasharray='30' stroke-dashoffset='0'");
    }
    /* Testo pagine interne */
    .row_slider .titolo_slide.page_int{
        font-size: 70px; 
    }
    .box_testo{
        padding: 25px;
        margin-top: 0;
    }
    .mt70{
        margin-top: 35px;
    }
    /* Pagina Il Premio */
    .timeline {
        display: block;
    }
    .timeline::before {
        height: 0;
        width: 0;
    }
    .row_voto_login{
        padding-top: 0 !important;
    }
}

@media only screen and (max-width: 849px) {
    .class-header-custom .nav > li > a{
        color: rgba(102,102,102,.85)
    }
    .class-header-custom .nav > li.active > a,
    .class-header-custom .nav > li > a:hover{
        color: rgba(102,102,102,1)
    }
    .class-header-custom .icon-menu{
        color: #fff;
    }
}



@media only screen and (max-width: 767px) {
    .row_voto .title_label{
        margin-bottom: 0;
    }
    .row_voto .title_label strong{
        font-size: 20px;
        line-height: 1em;
    }
}

@media only screen and (max-width: 479px) {
    /* Testo pagine interne */
    .row_slider .titolo_slide.page_int{
        font-size: 50px; 
    }
    .row_slider .titolo_slide.page_int.small{
        font-size: 50px;
    }
}