/*
Theme Name: Montereale
Description: Montereale
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Colori */
/* Centrale Cultura:  #fbbc43 */
/* Centrale Teatro:   #ed6a5b */
/* Centrale Energia:  #31b7bc */
/* Centrale Suono:    #ce84b7 */
/* Centrale Luce:     #f2dc00 */
/* Centrale BTN Luce: #e3c000 */
/* Centrale Scienza:  #0bbbef */
/* Hover:             #a3a3a3 */

/* SITO */
.slidehome .box_titlehome p {line-height: 1 !important; color: #fff !important;} /* Titolo Homeape */
.col_dx article {margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #000;}
ul {margin-top: 0;}
.fusion-button {text-align: center;}
a:hover {color: #a3a3a3 !important;}
ul {padding-left: 0;}
ul li {list-style-type: none;}
.box_cta ul li a:after {content: " →"; font-family: WorkSansM !important;}
.fusion-li-item, .box_cta li {line-height: 1.15; padding: 10px 5% 10px 0 !important;}
.box_cta li {border-bottom: 1px solid #cecece;}
.btn_download, .btn_booked, .btn_location {text-align: left;}
.txt-underline p {border-bottom: 2px solid #000;}
#box_btnhome div {margin-right: 40px !important;}
.btn_home {min-width: 300px;}
.panel-heading h4 a:hover span {color: #000 !important;}
.box_correlati .fusion-post-content-wrapper {margin-top: 15px;}
.panel-body p:last-of-type {margin-bottom: 0;}

.arrow {font-size: 80% !important;}
.icon-wrapper.circle-no {height: auto !important; padding: 10px 0;} /* Liste puntate con icona */

.fusion-load-more-button, .awb-gallery-buttons a {font-size: 20px !important; line-height: 1.15 !important; background: transparent !important; border: 2px solid #000; color: #000; border-radius: 50px; padding: 14px; width: auto; height: auto; min-width: 300px;}
.awb-gallery-buttons a {border: 2px solid #000 !important; margin-top: 10px; margin-bottom: 20px;}
.box_correlati .fusion-load-more-button {margin: 40px auto 0;}
.box_correlati .fusion-load-more-button:hover {border-color: #fff; color: #fff;}
.box_news-ed-eventi .fusion-load-more-button {margin: 30px auto;}
.box_news-ed-eventi .fusion-load-more-button:hover, .awb-gallery-buttons a:hover {border-color: #cecece !important; color: #cecece;}

.slidehome p, #box_titlehome p {text-shadow: 0 0 25px rgba(0,0,0,0.3);}

.nmt, .nmt p {margin-top: 0 !important}
.nmb, .nmb p {margin-bottom: 0 !important}

/* Slides e Carousel di immagini */
.fusion-slider-sc:not(.fusion-has-margin) .flexslider {margin-bottom: 0 !important}
.fusion-image-carousel {margin-bottom: 0;}
.ilightbox-holder .ilightbox-inner-toolbar {display: none;}
.awb-swiper-button-next, .awb-swiper-button-prev, .awb-swiper-button-next:hover, .awb-swiper-button-prev:hover {background-color: transparent;}
#box_titlehome, #box_subtitlehome, #box_subtitlehome a {font-family: NPL !important; color: #fff !important; ;}
#box_titlehome, #box_subtitlehome {text-transform: none !important;}
#box_titlehome p {font-size: 85px !important; line-height: 1 !important;}
#box_subtitlehome {font-size: 45px !important; line-height: 1.05 !important; letter-spacing: -0.015em !important;}
#box_subtitlehome a {font-size: 20px; text-align: center !important; text-transform: uppercase; color: #fff; padding: 14px; border: 2px solid #fff; border-radius: 50px; margin-right: 45px; background-color: rgba(0, 0, 0, 0.15);}
#box_subtitlehome .space {height: 30px !important;}
#box_subtitlehome a:hover {color: #a3a3a3 !important; border: 2px solid #a3a3a3 !important;}
@media (max-width: 639.98px) {.col_dx div {border-left: none !important;} /* Bordo SX */ .data-evento p {text-align: center;} .panel-body {font-size: 1.05rem !important;} #box_titlehome p {font-size: 60px !important;} #box_subtitlehome {font-size: 28px !important;} #box_subtitlehome a {display: block; margin-right: 0 !important; width: calc(100% - 70px)} #box_subtitlehome a:first-of-type {margin-bottom: 40px !important;}}
@media (min-width: 640px) and (max-width: 1439px) {#box_subtitlehome {font-size: 30px !important;}}

/* Icone pagine Centrali */
.box_ico-centrale tr {display: flex; flex-direction: row; height: 100%}
.box_ico-centrale td {vertical-align: middle; height: 100%;}
.box_ico-centrale td:nth-child(1) {padding-right: 15px;}
.box_ico-centrale img {width: auto; height: 70px; /*margin: 5px 0 0 !important;*/}
@media (max-width: 479.98px) {.box_ico-centrale table {display: table; width: 100%;} .box_ico-centrale tr {display: table-row;} .box_ico-centrale td {display: table-cell;} #box_titlehome p {font-size: 56px !important;}}
@media (min-width: 460px) {.box_ico-centrale img {height: 80px;}}
@media (min-width: 600px) {.box_ico-centrale img {height: 100px;}}
@media (min-width: 700px) {.box_ico-centrale img {height: 120px;} .box_ico-centrale td:nth-child(1) {padding-right: 30px;}}
@media (min-width: 760px) {.box_ico-centrale img {height: 140px;}}
@media (min-width: 900px) {.box_ico-centrale img {height: 150px;}}
@media (min-width: 1920px) {.box_ico-centrale img {height: 160px;}}
@media (min-width: 641px) and (max-width: 1100px) {.box_ico-centrale td:nth-child(1) {padding-bottom: 20px;} .box_ico-centrale tr {flex-direction: column;}}

/* Gallery */
/*.awb-gallery-buttons a {border: none;}
.awb-gallery-buttons a:hover {text-decoration: underline;}*/

/* Form */
.alert-icon {display: none;}
input {padding: 0 !important;}
input[type="checkbox" i] {margin-left: 0 !important;}
textarea {border-bottom: 1px solid #000 !important; padding: 13px 0 !important;}
select {width: 100%; height: auto; min-height: 161px;}
select option {padding: 5px 0;}
.choice {font-family: "NPSB"; font-weight: normal; font-size: 13px; margin-bottom: 5px !important;}
.pp {font-size: 12px; margin-bottom: 0 !important;}
.wpcf7-not-valid-tip {font-size: 13px;}
input[type="submit"] {padding: 14px !important; background-color: transparent !important; color: #000 !important; float: right; border: 1px solid #000 !important;}
input[type="submit"]:hover {color: #a3a3a3 !important; float: right; border: 1px solid #a3a3a3 !important;}
.wpcf7 .wpcf7-submit:disabled, .wpcf7 .wpcf7-submit:hover:disabled {color: #fff !important; background-color: #dbdbdb !important; border: 1px solid #dbdbdb !important;}

/* Menu */
#menu-montereale-flyout .mainvoice a {font-size: 22px; /*border-top: 1px solid #fff;*/ margin-top: 5px; padding-top: 15px;}
@media (min-width: 640px) {.mainvoice {font-size: 65px !important;} .submegamenu ul {font-size: 1.5rem !important;}}
@media (min-width: 1440px) {.mainvoice {font-size: 85px !important;}}
.mainvoice .menu-text {text-align: left !important;}

/* Tabelle */
table {width: 100%; border-collapse: collapse}
.where-list caption {font-size: 120%; padding: 5px 10px 2px 0;}
.where-list caption, .where-list tr, .privacy-policy tr {border-bottom: 1px solid #000;}
.where-list th, .where-list data-title {text-transform: uppercase !important;}
.where-list th, .where-list td {font-size: 0.9rem; font-weight: normal; padding: 5px 10px 5px 0;}
.where-list caption, .where-list th, .where-list td:before, .where-list td:nth-child(1) {font-family: "NPSB" !important; font-weight: normal !important;}
.where-list caption, .where-list th, .where-list td {text-align: left !important;}
.spacetab {height: 30px; clear: both;}
.where-list td:nth-child(1) {width: 37%;}
.where-list td:nth-child(2) {width: 40%;}
.where-list td:nth-child(3) {width: 23%;}
@media only screen and (max-width: /*414px*/499.89px) {
    .where-list caption {padding-bottom: 5px;}
    .where-list  thead tr {position: absolute !important; top:-9999px !important; left:-9999px !important;}
    .where-list td {position: relative !important; white-space: normal !important; text-align:left !important; padding-left: 30% !important;}
    .where-list td:before {position: absolute; left: 0 !important; width: 30% !important; white-space: nowrap !important; text-align:left !important; font-weight: bold !important; content: attr(data-title) !important;}
    .where-list caption, .where-list thead, .where-list tbody, .where-list th, .where-list td, .where-list tr {display: block !important;} 
    .where-list td:nth-child(1), .where-list td:nth-child(2), .where-list td:nth-child(3) {display: block !important; width: 100% !important;}
    .where-list td:nth-child(1) {padding-top: 7px;}
    .where-list td:nth-child(2) {padding-top: 0; padding-bottom: 0;}
    .where-list td:nth-child(3) {padding-bottom: 7px;}
}
table strong, table bold {font-weight: normal !important;}

/* Footer */
.title_footer p span {border-bottom: 1px solid #fff !important;}
#footer table td:nth-child(1) {padding-right: 7px;}
#footer .recapiti table td:nth-child(1) {width: 7%; min-width: 45px;}
#footer .small p {font-size: 13px !important;}
@media (max-width: 1024px) {#footer p, #footer table td {font-size: 16px;}}
@media (max-width: 640px)  {#footer table td {padding: 1px 0;}}
@media (max-width: 500px)  {#footer p, #footer table td {font-size: 13px !important;} #footer table td:nth-child(2) {margin-bottom: 10px;} #footer .small p {font-size: 11px !important;}}
@media (max-width: 320px)  {#footer p, #footer table td {font-size: 11px !important;}}
@media (min-width: 641px)  {#footer table td {padding: 3px 0;}}
@media (min-width: 1025px) {#footer p, #footer table td {font-size: 20px !important;}}
@media (min-width: 1920px) {#footer p, #footer table td {font-size: 30px !important;}}

/* Box news ed eventi */
.box_news-ed-eventi article {padding-bottom: 0 !important;}
.box_news-ed-eventi p {font-size: 15px !important;}
.box_menu-news-ed-eventi p {font-size: 15px !important; line-height: 1.5;}
.box_menu-news-ed-eventi a, .box_menu-news-ed-eventi strong.off {margin: 0 7px 0 0;}
.box_menu-news-ed-eventi strong.off {font-family: "NPSB" !important; font-weight: normal;}
@media (max-width: 414px) {.box_menu-news-ed-eventi a {margin: 0 5px 0 0;}}

/* Privacy policy */
#privacy-policy h2 {font-size: 20px !important;}
#privacy-policy h3 {font-size: 18px !important; margin-top: 0; margin-bottom: 5px;}
#privacy-policy p, #privacy-policy ul li, #privacy-policy ol li, #privacy-policy td, #privacy-policy th {font-size: 0.9rem !important;}
#privacy-policy p {margin-bottom: 0;}
#privacy-policy td, #privacy-policy th {padding: 5px 10px 5px 0;}
#privacy-policy th {font-family: "NPSB" !important; font-weight: normal !important; text-transform: uppercase; text-align: left; border-top: 1px solid #000;}
#privacy-policy ul, #privacy-policy ol {margin-bottom: 0;}
#privacy-policy ul {padding-left: 10px;}
#privacy-policy ul li {list-style-type: disc !important;}
#privacy-policy hr {border: none; margin: 5px 0;}
#privacy-policy table {margin-top: 5px; margin-bottom: 5px;}

/* Breakpoints */
@media (max-width: 1439.98px) {.panel-body {font-size: 0.9rem !important;}}
@media (max-width: 1024px)    {.col_dx.event div {border-left: none !important;} /* Bordo SX */}
@media only screen and (max-width: 1024px) {#toTop {bottom: 0; right: 30px !important;}}
@media (max-width: 1023.98px) {.panel-body {font-size: 0.95rem !important;}}
@media (max-width: 639.98px)  {.col_dx div {border-left: none !important;} /* Bordo SX */ .data-evento p {text-align: center;} .panel-body {font-size: 1.05rem !important;}}
@media (max-width: 480px)     {body, ul li {font-size: 17px !important;} .fusion-button {width: 100%;} .btn_download, .btn_booked, .btn_location {width: auto;} .slidehome p, #box_titlehome p {text-shadow: 0 0 25px rgba(0,0,0,0.5);} .icon-wrapper.circle-no {margin-right: 0;}}
@media (min-width: 1920px)    {.box_desc {width: 80%;}}

/* Breakpoints Fonts */
@media (max-width: 639.98px) {.slidehome .box_titlehome p {font-size: 70% !important;} /* Titolo Homeape */ #box_btnhome div {width: 100%; margin-right: 0.96% !important;}}
@media (max-width: 414px)    {.box_title h1 {font-size: 28px !important;}}
@media (min-width: 640px) and (max-width: 1439px) {.box_title h1, .box_title h2, .box_blog_dx h2, h2.blog-shortcode-post-title, h2.blog-shortcode-post-title a, h3.blog-shortcode-post-title, h3.blog-shortcode-post-title a {font-size: 30px !important;} /* h1/h2 piccoli */}
@media (min-width: 1440px)    {body, ul li {font-size: 30px;} .btn_location {font-size: 25px !important;} .box_smalldesc, .box_smalldesc h1 {font-size: 20px !important;}}
@media (max-width: 1279.98px) {h2.blog-shortcode-post-title, h2.blog-shortcode-post-title a {line-height: 1.05 !important;} h3.blog-shortcode-post-title, h3.blog-shortcode-post-title a {line-height: 1.05 !important;}}

/* Breakpoint Articoli */
@media (max-width: 719px) {
    .box_blog article .fusion-post-content-wrapper, .box_blog-correlati article .fusion-post-content-wrapper, .box_all-blog article .fusion-post-content {border-bottom: 1px solid #000 !important;}
    .box_correlati article::after {content: ''; position: absolute; bottom: 0; width: calc(100% - 30px); border-bottom: 1px solid #000;}
    .box_correlati article {padding-bottom: 20px; margin-bottom: 30px !important;}
    .box_blog article .fusion-post-content-wrapper {padding-bottom: 10px !important;}
    .box_all-blog article .fusion-post-content     {padding-bottom: 25px !important; margin-bottom: 10px !important;}
    .box_all-blog article:last-of-type .fusion-post-content {border-bottom: none !important;}
/*  .fusion-load-more-button {margin-top: 0 !important;}*/
    .fusion-load-more-button, .fusion-load-more-button.fusion-blog-button:hover {width: 100%;}
    .box_news-ed-eventi .fusion-load-more-button {margin-top: 10px;}
}