/*
Theme Name: MNT Flat
Description: MNT Flat Theme
Author: Dev AM
Version: 1.0
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

@font-face {
  font-family: 'Lausanne-Regular';
  src: url('fonts/Lausanne-Regular.eot?#iefix') format('embedded-opentype'),
	     url('fonts/Lausanne-Regular.woff') format('woff'), url('fonts/Lausanne-Regular.ttf')  format('truetype'), url('fonts/Lausanne-Regular.svg#Lausanne-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
body {
    font-size: 1vw;
    font-family: 'Lausanne-Regular';
    font-weight: 300;
}
body *{
    font-weight: 300 !important;
}


html, body{
    overflow-x: hidden;
}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body, select, input, textarea {color: #000;}

a {color: #000; text-decoration: none;}
a:hover{  }

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #0080ff; color: #fff; text-shadow: none;}
::selection {background: #0080ff; color: #fff; text-shadow: none;}

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #0080ff;}

ins {background-color: #0080ff; color: #000; text-decoration: none;}
mark {background-color: #0080ff; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }


.space-left{
    padding-left: 5px;
}
.space-right{
    padding-right: 5px;
}
.space-both{
    padding-left: 5px;
    padding-right: 5px;
}

.text-center{text-align: center;}


.bordered{
    border: 1px solid #000;
}
.padding-10{padding: 10px;}

.width-30{width: 30%;}
.width-40{width: 40%;}
.width-50{width: 50%;}
.width-70{width: 70%;}

.clearafter:after{
    display: table;
    content: '';
    clear: both;
}


/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

#rotate {
    display: none;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #fff;
/*    box-shadow: 0px 0px 40px 0px #000;*/
    z-index: 500;
}

#header .logo-container{
    overflow: hidden
}
#header .logo-container.mobile{
    display: none;
}

#header #logo{
    max-width: 200%;
    height: 4.1vw;
    transition: height 0.3s;
}


#header.small{
     box-shadow: 0px 0px 40px 0px #000;
}
#header.small #logo{
    height: 2.4vw;
    transition: height 0.3s;
}

#badge-header {
    position: fixed;
    top: 1vw;
    right: 10px;
    z-index: 500;
    opacity: 1;
    transition: opacity 0.3s;
}
#badge-header.hidden{
    opacity: 0;
}
#badge-header.transparent{
    color: #fff;
}

#header.transparent{
    background-color: transparent !important;
}
#header.transparent img{
    filter: invert(100%);
}


#menu-container #nav {
    display: flex;
    flex-direction: row;
}
#menu-container #nav .single-menu {
    flex: 1;
}

#menu-container .single-menu.main .social-header a,
#menu-container .single-menu.main .social-header a:hover {
    display: inline-block;
    border-bottom: 0;
}
#menu-container .single-menu.main .social-header a i {
    margin-right: 10px;
}



/* MENU */
#menu-container {
    position: fixed;
    background-color: #fff;
    width: 100%;
    padding: 10px;
    padding-right: 50px;
    left: 0;
    top: -50%;
    z-index: 500;
    z-index: 1000;
    box-shadow: 0px 0px 40px 0px #000;
    transition: top 0.3s;
}
#menu-container.visible{
    top: 0;
}

#menu-container ul li:before {
    content: "»";
    padding-right: 5px;
}

#menu-container .wpml-ls ul li:before {
    content: "";
    padding-right: 0px;
}


#menu-container li {
    border-bottom: 1px solid transparent;
}
#menu-container li:hover {
    border-bottom: 1px solid #000
}
#menu-container .single-menu{
    padding-right: 10px;
}

#menu-container a.custom-menu-item{
    display: block;
    border-bottom: 1px solid transparent;
}
#menu-container .single-menu.main a{
    display: block;
    border-bottom: 1px solid transparent;
}
#menu-container .single-menu.main a:hover,
#menu-container a.custom-menu-item:hover{
    display: block;
    border-bottom: 1px solid #000;
}

/* language selector */
.wpml-ls-legacy-list-horizontal a{
    padding: 0 !important;

}
.wpml-ls-legacy-list-horizontal{
    padding: 0 !important;
    margin-right: 10px !important;
}

span.wpml-ls-display.icl_lang_sel_translated {
    display: none !important;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    margin-right: 10px !important;
}



#search-wrapper{
    position: fixed;
    background-color: #ccc;
    z-index: 600;
    top: -50%;
    transition: top 0.3s, left 0.3s;
    left: 100%;
    cursor: pointer;
    padding: 10px;
    color: #ccc;
    overflow: hidden;
    z-index: 1000;

}
#search-wrapper input{
    background-color: transparent;
    color: #fff;
}
#search-results{
    overflow: hidden;
    height: 7.5vw;
}
#search-results a{
    color: #fff;
}
.single-title {
    line-height: 1.3vw;
}

#search-wrapper input::placeholder {color: #fff;}
#search-wrapper input:-ms-input-placeholder {color: #fff;}
#search-wrapper input::-ms-input-placeholder {color: #fff;}

#search-wrapper:hover{
    background-color: #000;
}

#search-wrapper.visible{
    top: 0;
    color: #fff;
}
#search-wrapper.shifted{
    background-color: #000;
    left: 0;
    cursor: inherit;
}

#search-wrapper .content-wrapper{
    visibility: hidden;
}



img#close-search {
    position: fixed;
    top: 7vw;
    z-index: 9999;
    right: 10px;
    width: 20px;
    cursor: pointer;
    top: -50%;
    transition: top 0.3s;
}

img#icon-search{
    position: fixed;
    top: 10px;
    z-index: 9999;
    right: 10px;
    width: 20px;
    top: -50%;
    transition: top 0.3s;
}

img#close-search.visible {
    /* calc jQuery */
}

img#icon-search.visible{
    top: 10px;
}

/**************/
.popup-wrapper {
    position: fixed;
    left: 32.5%;
    width: 35%;
    top: 22vh;
    background-color: #009900;
    border: 2px solid #000;
    z-index: 9000;
    color: #000;
    display: none;
    /* UNHIDE POPUP GREENPASS */
}
.popup-wrapper a {
    color: #fff;
}
.popup-wrapper a:hover {
    color: #fff;
}
.popup-wrapper .main-cta {
    font-size: 4vw;
    line-height: 1em;
    padding: 10px;
    height: 42vh;
}
.popup-wrapper img {
    width: 100%;
    display: block;

}
.popup-wrapper .buttons {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    background-color: #828083;
}
.popup-wrapper .buttons div {
    padding: 10px;
    flex: 1 0 100%;
}
.popup-wrapper .buttons .col-cta {
    font-size: 1.3vw;
    height: 8vw;
    border-top: 2px solid #000;
/*    border-right: 2px solid #000;*/
}
.popup-wrapper .buttons .col-cta2 {
    background-color: #3abfac;
    font-size: 1.3vw;
    height: 8vw;
    border-top: 2px solid #000;
}
.popup-wrapper .col-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #fff;
}
.popup-wrapper .buttons .col-close span {
    cursor: pointer;
}
.popup-wrapper .buttons .col-close span:hover {
    color: #fff;
}


/*
*******************************/
.fixed-popup {
    position: fixed;
    left: 32.5%;
    width: 35%;
    top: 22vh;
    z-index: 5000;
}


/**************/
.gif-overlay {
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding-top: 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gif-overlay img {
    display: block;
    height: 100%;
}



/**************/

.home .entry{
	padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0;
}
#main-slider{
	padding-left: 10px;
    padding-right: 10px;
}

.home-sub-menu{
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.home-sub-menu a .menu-item{
    padding: 10px;
    background-color: #9d9d9c;
}
.home-sub-menu a .menu-item.bg-color-accent {
    background-color: #a7d4b9;
    /* color: #fff; */
    padding: 0;
    height: calc(1.25em + 20px);
    display: flex;
    flex-direction: row;
    align-items: center;
}
.home-sub-menu a .menu-item marquee {
    display: inline-block;
    margin: 0;
/*    line-height: 0.8em;*/
    width: 100%;
}
.home-sub-menu a .menu-item span{
    display: block;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.home-sub-menu a:hover .menu-item{
    background-color: transparent;
    -webkit-box-shadow:inset 0px 0px 0px 1px #000;
    -moz-box-shadow:inset 0px 0px 0px 1px #000;
    box-shadow:inset 0px 0px 0px 1px #000;
}
.home-sub-menu a:hover .menu-item.bg-color-accent {
    background-color: #fff;
    color: #000;
}


.news-box{
    position: relative;
	background-color: #000;
	color: #fff;
	padding: 10px;
	margin-bottom: 10px;
    overflow: hidden;
}

span.big-bullet {
    width: 1vw;
    height: 1vw;
    display: inline-block;
    background-color: #fff;
    vertical-align: text-top;
    border-radius: 50%;
    margin: 0 5px;
}

.news-box p {
    position: absolute;
    margin: 0;
    line-height: 1.3vw;
    text-align: left;
    /* Starting position */
    -moz-transform:translateX(0%);
    -webkit-transform:translateX(0%);
    transform:translateX(0%);
    /* Apply animation to this element */
    -moz-animation: scroll-left 800s linear infinite;
    -webkit-animation: scroll-left 800s linear infinite;
    animation: scroll-left 800s linear infinite;
/*    background-color:red;*/
    white-space:nowrap;
}
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
    0% { -moz-transform: translateX(0%); }
    100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes scroll-left {
    0% { -webkit-transform: translateX(0%); }
    100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll-left {
    0% {
        -moz-transform: translateX(0%); /* Browser bug fix */
        -webkit-transform: translateX(0%); /* Browser bug fix */
        transform: translateX(0%);
    }
    100% {
        -moz-transform: translateX(-100%); /* Browser bug fix */
        -webkit-transform: translateX(-100%); /* Browser bug fix */
        transform: translateX(-100%);
    }
}


#home-footer{
    padding: 0 5px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#home-footer .item-wrapper {
    padding: 0 5px;
    flex: 1;
}
#home-footer .item-wrapper.half {
    display: flex;
    flex-direction: column;
}
#home-footer .item-wrapper.half .menu-item-box {
    height: 50%;
}

#home-footer .menu-item-box {
    padding: 10px;
    background-color: #9d9d9c;
    margin-bottom: 10px;
    height: 100%;
}
#home-footer .menu-item-box:last-of-type {
    margin-bottom: 0;
}
#home-footer .menu-item-box .social-columns {
    display: flex;
    flex-direction: row;
    margin-top: 1.5em;
    
}
#home-footer .menu-item-box .social-columns div {
    display: flex;
    flex-direction: column;
    width: 50%;
}



#home-footer .social-bar i{
    padding-right: 10px;
    margin-top: 5px;
    font-size: 1vw;
    line-height: 0.7em;
}
#home-footer .social-bar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/**************/

/* in evidenza */
#main-slider {
    mix-blend-mode: multiply;
}
#main-slider .slick-slide{
    border-right: 10px solid #fff;
}
#main-slider .image-wrapper{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}




#wrapper {
    width: 100%;
}

.entry{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
}

.programma-eventi{
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.programma-eventi .single-event span{
    display: block;
    border-bottom: 1px solid #fff;
}
.programma-eventi .gallery-img{
    //padding-bottom: 40%;
    background-position: center;
    background-size: cover;
    margin-bottom: 5px;
}
.programma-eventi a:hover span{
    border-bottom: 1px solid #000;
}
.programma-eventi a:hover .gallery-img{
    -webkit-box-shadow:inset 0px 0px 0px 1px #000;
    -moz-box-shadow:inset 0px 0px 0px 1px #000;
    box-shadow:inset 0px 0px 0px 1px #000;
}



#main-slider{
    outline: none;
    padding-bottom: 5px;
}
#main-slider *{
    outline: none;
}

#main-slider .image-wrapper{
    margin-bottom: 5px;
}

#main-slider .details span{
    display: block;
    border-bottom: 1px solid #fff;
}
#main-slider a:hover span{
    border-bottom: 1px solid #000;
}
#main-slider a:hover .image-wrapper{
    -webkit-box-shadow:inset 0px 0px 0px 1px #000;
    -moz-box-shadow:inset 0px 0px 0px 1px #000;
    box-shadow:inset 0px 0px 0px 1px #000;
}



.intestazione{
    padding: 10px;
    margin-bottom: 10px;
}

.home .social-share i{
	margin-left: 5px;
}





/* CATEGORY - CUSTOM ARCHIVE
*******************/

.category .wrapper-separatore,
.custom-archive .wrapper-separatore{
    padding: 0 5px;
}
.category .separatore-anno ,
.custom-archive .separatore-anno {
    border: 1px solid #000;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.category #wrapper,
.custom-archive #wrapper{
    padding: 0px;
}

.category .row,
.custom-archive .row{
    margin-bottom: 10px;
    padding: 5px;
}



.category .single-event span,
.custom-archive .single-event span{
    display: block;
    border-bottom: 1px solid #fff;
}
.category .gallery-img,
.custom-archive .gallery-img{
    background-position: center;
    background-size: cover;
    margin-bottom: 5px;
    padding-bottom: 40%;
}
.category a:hover span,
.custom-archive a:hover span{
    border-bottom: 1px solid #000;
}
.category a:hover .gallery-img,
.custom-archive a:hover .gallery-img{
    -webkit-box-shadow:inset 0px 0px 0px 1px #000;
    -moz-box-shadow:inset 0px 0px 0px 1px #000;
    box-shadow:inset 0px 0px 0px 1px #000;
}
.category .row .details,
.custom-archive .row .details{
    padding: 0;
}


.custom-archive.mobile{
    display: none;
}


.pagination__next{
    display: none;
}

.scroller-status{
    padding: 10px;
}

/* PAGE
********************************************************************/
 .page #featured-image{
    background-size: contain;
    background-position: 10px 0;
    background-repeat: no-repeat;
}
 .page .entry-title {
    font-size: 2vw;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
}


.page article .entry-content{
    padding-left: 10px;
    padding-right: 10px;
        text-align: justify;
}


.page .entry-content{
    //padding-top: 10px;
}

.page .entry-content strong{
    font-weight: 100;
    text-decoration: underline;
}


.page .main-content{
    padding-right: 1%;
}
.page .entry-content .details{
    padding-left: 1%;
}
.page .details .service-col a {
    display: block;
    border-bottom: 1px solid #000;
    text-decoration: none !important;
}

.page .extra{
    padding-left: 1%;
}
.page .extra .caption{
    font-size: 0.8vw;
    padding-top: 10px;
    display: block;
}
.page .extra .social-share{
    font-size: 2vw;
    padding-bottom: 10px;
}
.page .extra .social-share i{
    font-size: 1.5vw;
    margin-left: 10px;
}

.page p{
    padding-bottom: 1vw;
}




/* PAGE grandi e piccoli
**********************/
.page-template-page-gamec-grandiepiccoli .link-archive{
    padding: 0 5px;
}
.page-template-page-gamec-grandiepiccoli .link-archive img{
    margin-bottom: 10px;
}

.page-template-page-gamec-grandiepiccoli .link-archive .link-button-wrapper{
    padding: 0 5px;
    margin-bottom: 10px;
}
.page-template-page-gamec-grandiepiccoli .link-archive .link-button{
    background-color: #9b9b9c;
    padding: 10px;
}











/* SINGLE
********************************************************************/
.single article .entry-content{
    padding-left: 10px;
    padding-right: 10px;
}

.single #featured-image{
    background-size: contain;
     background-position: center;
    background-repeat: no-repeat;
}
.single .entry-title{
    font-size: 2vw;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
}
.single .entry-content{
    //padding-top: 10px;
}

.single .entry-content strong{
    font-weight: 100;
    text-decoration: underline;
}


.single .main-content{
    padding-right: 1%;
}
.single .main-content iframe {
    width: 100%;
    height: calC((47vw - 20px) / 16 * 9);
}
.single .main-content figure img {
    height: inherit;
}
.single .details{
    padding-left: 1%;
}
.single .details a.underlined {
    display: block;
    border-bottom: 1px solid #000;
    text-decoration: none !important;
}

.single .details .service-col a {
    display: block;
    border-bottom: 1px solid #000;
    text-decoration: none !important;
}
.single .anchor-link {
    position: relative;
    top: calc(-2.4vw - 40px);
}
.single .details .capitoli .singolo-capitolo {
    padding-bottom: 1em;
}


.single .extra{
    padding-left: 1%;
}
.single .extra .caption{
    font-size: 0.8vw;
    padding-top: 10px;
    display: block;
}
.single .extra .social-share{
    font-size: 2vw;
    padding-bottom: 10px;
}
.single .extra .social-share i{
    font-size: 1.5vw;
    margin-left: 10px;
}

.single p{
    padding-bottom: 1vw;
}

.single .entry-content{
    text-align: justify;
}


/* ADD TO CALENDAR */
.addeventatc {
    display: block !important;
    padding: 0 !important;
    position: inherit !important;
    border: 0 !important;
    border-bottom: 1px solid #000 !important;
    font-family: 'Lausanne-Regular' !important;
    font-size: 1vw !important;
    border-radius: 0 !important;
    line-height: 3vw !important;
    padding-bottom: 2px !important;
}
.addeventatc .addeventatc_icon{ display: none; }

.addeventatc_dropdown {
    width: 100% !important;
    position: initial !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: left !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.addeventatc-selected {
    background-color: transparent !important;
}

.addeventatc_dropdown .copyx {
    display: none !important;
}

.addeventatc_dropdown span{
    background-position: left !important;
    padding: 0px !important;
    font-family: 'Lausanne-Regular' !important;
        font-size: 1vw !important;
    color: #000 !important;
    background-image: none !important;
    line-height: 1.25vw !important;
}
.addeventatc_dropdown span:hover{
    background-color: transparent !important;
}
.addeventatc_dropdown em{
    display: none !important;
}



/* single-gallery */
.featherlight .featherlight-content {
    background: #ccc !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;

     border-bottom: 0px solid transparent !important;
}
.featherlight:last-of-type{
    z-index: 800 !important;
}

.single div.gallery{
    margin-bottom: 10px;
    padding: 0 5px;
}


.featherlight .featherlight-image{
    width: auto !important;
    height: 100% !important;
}

.featherlight .featherlight-close-icon {
    font-family: 'Lausanne-Regular' !important;
    position: fixed !important;
    bottom: 10px !important;
    right: 10px !important;
    line-height: 25px !important;
    width: 25px !important;
    background: transparent !important;
/*    color: #fff !important;*/
    color: transparent !important;
    top: initial !important;
    width: 9vw!important;
    height: 9vw !important;
    font-size: 10vw !important;
    line-height: 9vw !important;
    outline: inherit !important;
    background-image: url(https://gamec.it/wp-content/themes/mnt-flat/images/icon-close.png) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;

}

.featherlight-next{
    right: 10px !important;
}

.featherlight-next:hover, .featherlight-previous:hover{
    background: transparent !important;
}
.featherlight-next span, .featherlight-previous span{
    display: block !important;
    text-shadow: initial !important;
    color: transparent !important;
    width: 9vw !important;
}

.featherlight-previous {
    left: 0 !important;
    right: 85% !important;
}
.featherlight-next span {
    right: 0 !important;
    left: auto;
    width: 9vw !important;
}

.featherlight-previous span:after {
    background-image: url(https://gamec.it/wp-content/themes/mnt-flat/images/arrow-left.png);
    width: 100%;
    content: "";
    height: 35px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -30%;
}

.featherlight-next span:after {
    background-image: url('https://gamec.it/wp-content/themes/mnt-flat/images/arrow-right.png');
    width: 100%;
    content: "";
    height: 35px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -30%;
    background-position: right;
}



.single-image-gallery div{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}




/* SINGLE - ONGOING / eventi */

.eventi #featured-image{
    padding: 10px;
    background-position: 10px 0;
}



/* SINGLE - MOSTRE */
.category-mostre #featured-image,
.category-exhibitions #featured-image{
    background-size: cover;
    padding: 0 10px;
}

.overlay-wrapper{
	overflow: hidden;
}
.overlay-title {
    width: 100%;
}






/*IL GIRO DEL GIORNO - CUSTOM */
body.post-template-default.single.single-post.postid-5702 {
    background-color: #f2f2f2;
}

body.post-template-default.single.single-post.postid-5702 .addeventatc {
    background-color: #f2f2f2 !important;
}

body.post-template-default.single.single-post.postid-5702 #header {
    background-color: #f2f2f2;
}






/* PAGINA PAGE NEWS
*******************/
.page-template-page-news{
    background-color: #000;
}
.page-template-page-news p{
    padding-bottom: 1vw;
}
.page-template-page-news #header,
.page-template-page-news #badge-header{
    filter: invert(100%);
}

.page-template-page-news #header.small{
        box-shadow: 0px 0px 40px 0px #fff;
}


.page-template-page-news .row.border-top .inner-wrapper{
    border-top: 1px solid #fff;
    padding-top: 10px;
}

.page-template-page-news #news-wrapper {
    padding: 0 10px;
}
.page-template-page-news .bordered-title{
    padding: 10px;
    border: 1px solid #fff;
    margin-bottom: 10px;
}
.page-template-page-news #news-wrapper article.odd{
    padding-right: 10px;
}

.page-template-page-news article.even{
    padding-right: 10px;
}

.page-template-page-news article p:last-child {
    padding-bottom: 10px;
}
.page-template-page-news article a{
    color: #fff;
}


#home-footer.fixed{
    position: fixed;
    width: 100%;
}
footer.fixed{
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer area {
    outline: none;
}




/* PAGINA GAMEC PER LA SCUOLA*/
.section-fisarmonica{
    padding: 0 5px;
}
.fisarmonica {
    padding: 5px;
    padding-bottom: 0;
}
.fisarmonica-content{
    display: none;
    padding-bottom: 10px;
    text-align: left;
}

.fisarmonica-toggle {
    background-color: #9d9d9c;
    border: 1px solid #9d9d9c;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.fisarmonica-toggle:hover,
.fisarmonica-toggle.open {
    background-color: transparent;
    border: 1px solid #000;
}

/* PAGINA CERCA */
.category .wrapper-separatore, .custom-archive .wrapper-separatore{
    padding: 0 10px;
}


/* PAGINA STAFF */
/*
.page-template-page-contattiestaff .section-fisarmonica{
    padding: 0 5px;
}
*/


/* PAGINA STAFF */
.page-template-page-staff article{
    padding: 0 5px;
}
.page-template-page-staff article{
    visibility: hidden;
}

.people-wrapper{
/*    display: none;*/
}
.people-wrapper .mobile{
    display: none;
}
.person {
    padding: 0 5px;
}
.image-profile{
/*    padding-bottom: 150%;*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.page-template-page-staff .title-wrapper{
    padding-left: 5px;
    padding-bottom: 10px;
}
.page-template-page-staff .section-title{
    padding: 10px;
    background-color: #9d9d9c;
    border: 1px solid #9d9d9c;
    cursor: pointer;
}

.page-template-page-staff .section-title:hover{
    background-color: transparent;
    border: 1px solid #000;
}

.page-template-page-staff .person p{
    padding: 0.5vw 0 !important;
}

.page-template-page-staff .didascalia-custom {
    position: absolute;
    right: 0;
    margin-top: -30px;
    padding-left: 10px;
}



/* PAGINA PREMIO BONALDI */
.page-template-page-premiobonaldi .premi{
    padding: 0 10px;
}
.page-template-page-premiobonaldi .premi .title{
    font-size: 2vw;
}
.page-template-page-premiobonaldi .extra{
    font-size: 2vw;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 0;
}


/* PAGE COLLEZIONI */
.page-template-page-collezioni div.gallery{
    margin-bottom: 10px;
    padding: 0 5px;
}


/* PAGE CONTATTI */
input,
textarea{
    border: 0;
    border-bottom: 1px solid #000;
    outline: none;
    width: 100%;
    font-family: 'Lausanne-Regular';
    margin-bottom: 10px;
}
input[type=submit]{
    border: 0;
    border-bottom: 1px solid #000;
    background-color: transparent;
    text-align: left;
    padding: 0;
}
input[type=submit]:disabled{
    opacity:0.5;
}

span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item{
    margin: 0;
    margin-bottom: 10px;
    width: 100%;
}

span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item input[type="checkbox"] {
    vertical-align: baseline;
    width: 2vw;
}




/* banners/errors */
div.wpcf7-response-output {
    border: 0 !important;
    border-bottom: 1px solid #000 !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 10px !important;
}
span.wpcf7-not-valid-tip {
    border-bottom: 1px solid #000 !important;
    color: #000 !important;
}


/* PAGE 404 */
.error404 h2 {
    padding-left: 10px;
}


/* FOOTER
*******************/
footer {
    padding: 10px 5px;
    //font-size: 0.6vw;
    background-color: #9d9d9c;
}
footer div{
    padding: 0 5px;
}
footer img{
    padding-right: 10px;
}


.menu-footer-gamec-container ul li:before,
.menu-footer-gamec-en-container ul li:before {
    content: "»";
    padding-right: 5px;
}
.menu-footer-extra-container ul li:before,
.menu-footer-extra-en-container ul li:before {
    content: "»";
    padding-right: 5px;
}

#home-footer ul li {
/*    text-transform: uppercase;*/
}

#home-footer ul li.menu-item {
    padding: 0 !important;
}

footer .mobile{
    display: none;
}

#home-footer li {
    border-bottom: 1px solid transparent;
}
#home-footer li:hover {
    border-bottom: 1px solid #000;
}

/*COOKIE*/
#cookie-law-info-bar {
    font-size: 1vw;
    padding: 10px !important;
    text-align: left !important;
    z-index: 9999;
    bottom: 20px !important;
    right: 20px !important;
    border: 1px solid #000 !important;
    background-color: #9b9b9c !important;
}

#cookie-law-info-bar a{
    display: block !important;
    border-bottom: 1px solid #000 !important;
}
#cookie-law-info-bar span a{
	padding-top: 5px;
}

#cookie-law-info-bar .cli-plugin-main-link{
    margin-left: 0;
}


.page-template-page-cookie .entry-title{
    color: #fff;
}
.page-template-page-cookie{
    background-color: #000;
}
.page-template-page-cookie p {
    padding-bottom: 1em;
}
.page-template-page-cookie ol {
    margin-left: 1.2em;
}
.page-template-page-cookie #header,
.page-template-page-cookie #badge-header{
    filter: invert(100%);
}

.page-template-page-cookie #header.small{
        box-shadow: 0px 0px 40px 0px #fff;
}


.page-template-page-cookie .row.border-top .inner-wrapper{
    border-top: 1px solid #fff;
    padding-top: 10px;
}

.page-template-page-cookie #news-wrapper {
    padding: 0 10px;
}





/********************/

.col-md-1{
    float: left;
    width: 10%;
}
.col-md-2{
    float: left;
    width: 20%;
}
.col-md-3{
    float: left;
    width: 30%;
}
.col-md-4{
    float: left;
    width: 40%;
}
.col-md-5{
    float: left;
    width: 50%;
}
.col-md-6{
    float: left;
    width: 60%;
}
.col-md-7{
    float: left;
    width: 70%;
}
.col-md-8{
    float: left;
    width: 80%;
}
.col-md-9{
    float: left;
    width: 90%;
}
.col-md-10{
    width: 100%;
}

.col-md-f4{
    float: left;
    width: 25%;
}

/*
.w-20{width: 20%;}
.w-30{width: 30%;}
.w-40{width: 40%;}
.w-50{width: 50%;}
*/

/****************************************************/
@media all and (min-width: 700px) and (max-width: 1020px) and (orientation:portrait) {

     #rotate {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #fff;
        z-index: 9999;
        padding: 10px !important;
        color: #000;
    }
}

@media all and (max-width: 799px) and (orientation:landscape) {
     #rotate {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #fff;
        z-index: 9999;
        padding: 10px !important;
        color: #000;
    }
}

/****************************************************/

@media screen and (min-width: 761px) {
    hr.menu-separator.mobile{
        display: none;
    }

    .menu-separator.mobile{

    }


    .programma-eventi.mobile{
        display: none;
    }
    .social-bar .social-mobile{
        display: none;
    }

    /* gamec grandi e piccoli */
    .page-template-page-gamec-grandiepiccoli .link-archive .mobile{
        display: none;
    }

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


    .sm-space-left{
        padding-left: 5px;
        padding-right: 0;
    }
    .sm-space-right{
        padding-left: 0;
        padding-right: 5px;
    }

    .sm-mb-10{
        margin-bottom: 10px;
    }


    hr.menu-separator.mobile {
        border-top: 3px solid #000;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .menu-separator.desktop {
        display: none;
    }

    .hide-mobile{
        display: none !important;
    }


    /**/




    /*HEADER*/
    #header{
        z-index: 600;
        transition: top 0.3s, background-color 0.3s;
    }
    #header.removeShadow{
        box-shadow: none !important;
    }
    #header.nav-up{
        top: -100%;
        transition: top 0.3s;
    }
    #header.nav-up{
        top: -100%;
        transition: top 0.3s;
    }

    #header.add-bg{
        background-color: #fff !important;
    }
    #header.transparent.add-bg img{
        filter: none !important;
    }


    #badge-header.nav-up{
        top: -100% !important;
        transition: top 0.3s;
    }
    #badge-header.nav-down{
        transition: top 0.3s;
    }
    #badge-header.add-bg.transparent {
        color: #000;
    }



    #header .logo-container.desktop{
        display: none;
    }
    #header .logo-container.mobile{
        display: block;
    }
    #header .logo-container.mobile #logo{
        width: 100%;
        height: auto;
    }

    #badge-header{
        top: 5vw;
        z-index: 600;
    }


    #menu-container{
        padding-right: 10px;
        top: -100%;
    }

    #menu-container #nav {
        flex-direction: column;
    }
    #menu-container .single-menu {
        border-bottom: 3px solid #000;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    #menu-container .single-menu-last {
        padding-top: 10px;
    }



    #menu-container .single-menu.main .social-header a i {
        margin-right: 10px;
        font-size: 5vw;
        margin-top: 5px;
        margin-bottom: 5px;
    }



    /**/
    .popup-wrapper {
        width: calc(100% - 20px);
        top: 15vh;
        left: 10px;
    }

    .popup-wrapper .main-cta {
        font-size: 10vw;
    }
    popup-wrapper .col-close {
        font-size: 4vw;
    }
    .popup-wrapper .buttons .col-cta,
    .popup-wrapper .buttons .col-cta2 {
        font-size: 5vw;
    }

    .popup-wrapper .buttons .col-cta,
    .popup-wrapper .buttons .col-cta2 {
        height: 18vh;
    }
    .popup-wrapper .buttons .col-cta br {
        display: none;
    }

    /*
    *******************************/
    .fixed-popup {
        left: 10px;
        width: calc(100% - 20px);
        top: 22vh;
    }
    

    /**************/
    .gif-overlay {
        right: 0;
        top: 8vw;
        height: 105vw;
    }
    .gif-overlay img {
        height: auto;
    }




    /* HOME */

    body{
        font-size: 3.5vw;
        overflow-x: hidden;
    }

    .home .entry{
        overflow:hidden;
    }

    .news-box p{
        line-height: 4vw;
    }
    span.big-bullet{
        vertical-align: middle;
        width: 3vw;
        height: 3vw;
    }

    .programma-eventi.desktop{
        display: none;
    }

    /* SINGLE EVENTO/MOSTRA */
    .single .main-content {
        padding-right: 0;
    }
    .single .main-content iframe {
        height: calC((100vw - 20px) / 16 * 9);
    }
    .single .details{
        border-top: 1px solid #000;
        padding-top: 10px;
        padding-left: 0;
    }

    .single .overlay-wrapper{
        display: none;
    }

    /* SINGLE EVENT/MOSTRA */
    .single .entry-title{
        font-size: 6vw;
    }
    .single .extra {
        padding-left: 10px;
    }
    .single .extra .caption {
        font-size: 3.5vw;
        padding-top: 0;
        padding-bottom: 10px;
    }
    .single .extra .social-share {
        font-size: 6vw;
    }
    .single .extra .social-share i {
        font-size: 6vw;
    }
    .single p{
        padding-bottom: 4vw;
    }

    .single div.gallery{
        margin-bottom: 0;
    }
    .single .gallery .image-container {
        padding-bottom: 70%;
        margin-bottom: 10px;
    }

    .featherlight .featherlight-image {
        width: 100% !important;
        height: auto !important;
    }



    /* ADD TO CALENDAR */
    .addeventatc {
        font-size: 3.5vw !important;
    }
    .addeventatc_dropdown span{
        font-size: 3.5vw !important;
        line-height: 3.5vw !important;
        padding-bottom: 1vw!important;
    }
    .addeventatc_dropdown em{
        color: #000 !important;
    }


    /* eventi */
    .eventi #featured-image{
        border-left: 10px solid #fff;
        border-right: 10px solid #fff;
        background-size: cover;
        background-position: center;
    }


    /* PAGE */
    .page .entry-title {
        font-size: 6vw;
    }
    .page .extra{
        padding-left: 0;
    }
    .page .extra .social-share{
        font-size: 6vw;
    }
    .page .extra .social-share i {
        font-size: 6vw;
    }

    .page #featured-image {
        background-size: cover;
        background-position: 10px 0;
        background-repeat: no-repeat;
        border-right: 10px solid #fff;
    }



    .page .entry-content .details{
        padding: 0;
        padding-top: 10px;
        border-top: 1px solid #000;
        margin-top: 10px;
    }
    .page .extra .caption{
        font-size: 3.5vw;
        padding-top: 0;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }


    /* PAGE grandi e piccoli */
    .page-template-page-gamec-grandiepiccoli .link-archive .desktop{
        display: none;
    }
    .page-template-page-gamec-grandiepiccoli .link-archive .desktop{
        display: none;
    }

    .page-template-page-gamec-grandiepiccoli .link-archive .link-button{
        padding: 10px;
        background-color: #9b9b9c;
        margin-bottom: 10px;
    }



    /* PAGE STAFF */
    .page-template-page-staff .title-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }

    .page-template-page-staff .didascalia-custom {
        position: inherit;
        padding-left: 5px;
        margin-top: 0;
        margin-bottom: 10px;
    }


    .fisarmonica {
        padding-top: 0;
    }

    /* PAGINA PREMIO BONALDI */
    .page-template-page-premiobonaldi .extra{
        font-size: 6vw;
        padding-bottom: 10px;
        padding-top: 10px;
        padding-left: 0;
    }
    .page-template-page-premiobonaldi .entry-content .details{
        padding-top: 0;
        padding-bottom: 10px;
    }




    /* CATEGORY CUSTOM ARCHIVE */
    .category .desktop,
    .custom-archive.desktop{
        display: none;
    }
    .category .mobile,
    .custom-archive.mobile{
        display: block;
    }


    .category .wrapper-separatore,
    .custom-archive .wrapper-separatore {
        padding: 0 5px;
    }



    .category .gallery-img,
    .custom-archive .gallery-img{
        background-position: center;
        background-size: cover;
        margin-bottom: 5px;
        padding-bottom: 60%;
    }






    /* FOOTER */

    .social-bar .social-mobile{
        display: block;
    }

    #home-footer{
        padding: 0 10px;
    }
    
    #home-footer .social-bar i{
        font-size: 6vw;
        padding-left: 0;
        padding-right: 10px;

    }

    #home-footer .item-wrapper {
        width: 50%;
        flex: initial;
        margin-bottom: 10px;
    }
    #home-footer .item-wrapper.half .menu-item-box {
         height: inherit; 
    }
    #home-footer .item-wrapper.line-mobile {
        width: 100%;
        flex-direction: row;
        padding: 0;
    }
    #home-footer .item-wrapper.line-mobile .menu-item-box {
        width: 50%;
        margin: 0 5px;
    }
    
    #home-footer .menu-item-box .social-columns {
        flex-direction: column;
        margin-top: 0.2em;
    }




    footer .mobile{
        display: block;
        padding-left: 0;
        padding-right: 0;
    }
    footer .desktop{
        display: none;
    }

    #home-footer .f4{
        padding: 0;
    }

    #home-footer .sm-pr-5{
        padding-right: 5px;
    }
    #home-footer .sm-pl-5{
        padding-left: 5px;
    }

    /*COOKIE*/
    #cookie-law-info-bar {
        bottom: 10px !important;
        right: 10px !important;
    }


    /**/
    .col-sm-2{
        float: left;
        width: 50%;
    }
    .col-sm-4{
        float: left;
        width: 100%;
    }

}
/* FZ MARZO 2022 */
body.page-id-813 .service-col a,
body.page-id-2086 .service-col a { display: inline !important; }
body.page-id-12260 #featured-image,
body.page-id-12260 .extra,
body.page-id-12269 #featured-image,
body.page-id-12269 .extra {display: none;}
