/*------------------------------------------
 * Add your custom css below.
------------------------------------------*/
/*----------------------------------------
* Tipografy
-----------------------------------------*/
.slideshow-window {
background-color: transparent!important;
border: 0px!important;
border-radius: 0px!important;
}
body{
    font-family: "Calibri", "Lato", "Istok Web", "Arial";
}
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    font-family: "Calibri", "Lato", "Istok Web", "Arial";
}
h1, h2, h3, h4, h5, h6 {
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;
}
h2 {
    font-size: 26px;
    line-height: 34px;
}

#container {
    padding: 0px!important;
}
#primary-menu > ul > li,#top-menu > ul > li, .search-box> ul > li, #bottom-menu > ul > li, #bottom-menu-1 > ul > li,#bottom-menu-2 > ul > li{
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;
    text-transform: none;
    /*border-right:1px solid #ffffff;*/
    margin:0;
    color:#ffffff;
    padding: 0 15px;
    height: auto;
    transition: border-right .3s ease;
}

#calendar-eventi-title{
    margin-top:6px;
    margin-bottom: 9px;
}
#primary-menu > ul > li:after{
    content: "|";
    font-size: 20px;
    position: absolute;
    top: -1px;
    opacity:0.6;
    right: -4.5px;
    display: flex;
    flex-direction: row;
}
#primary-menu > ul > li, .search-box> ul > li, #bottom-menu > ul > li, #bottom-menu-1 > ul > li,#bottom-menu-2 > ul > li{
    font-size:18px!important;
}
#bottom-menu > ul > li, #bottom-menu-1 > ul > li,#bottom-menu-2 > ul > li{
position: relative;
}



#top-menu > ul > li, .search-box> ul > li{
    font-size:16px!important;

}
#primary-menu > ul > li a,
#top-menu > ul > li a,
.search-box> ul > li a,
#bottom-menu > ul > li a,
#bottom-menu-1 > ul > li a,
#bottom-menu-2 > ul > li a{
    color:#ffffff;
    transition: color .3s ease;
}
.nav_shrink #primary-menu > ul > li a,
.nav_shrink #top-menu > ul > li a,
.nav_shrink .search-box> ul > li a,
.nav_shrink #bottom-menu > ul > li a,
.nav_shrink #bottom-menu-1 > ul > li a,
.nav_shrink #bottom-menu-2 > ul > li a {
 color:#000000;
}
.entry{
    color:#000000;

}
.nav_shrink #primary-menu > ul  ul > li a,
.nav_shrink #top-menu > ul ul > li a,
.nav_shrink .search-box> ul ul > li a,
.nav_shrink #bottom-menu >ul  ul > li a,
.nav_shrink #bottom-menu-1 > ul ul > li a,
.nav_shrink #bottom-menu-2 > ul ul > li a,
#primary-menu > ul  ul > li a,
#top-menu > ul ul > li a,
.search-box> ul ul > li a,
#bottom-menu >ul  ul > li a,
#bottom-menu-1 > ul ul > li a,
#bottom-menu-2 > ul ul > li a {
    color:#ffffff;
    font-size:16px;
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;
}
#primary-menu > ul > li a:hover{
    display: inline;
}
.search2.no-line-right{
    position: relative;
    z-index: 10;
}
.tbody-calendar tr td#today, .tbody-calendar tr td#today a{
    color: #A58C24;
    font-weight: bold;
}
.tbody-calendar tr td#today a:hover,.tbody-calendar tr td#today:hover a{
    color: #ffffff;

}
#footer .widgets li{
    display: block;
}
#primary-menu ul >li, #top-menu > ul > li, #bottom-menu-2 > ul > li , #bottom-menu-1 > ul > li, #bottom-menu > ul > li{
    transform: scale(1,0.9)!important;
    -webkit-transform: scale(1,0.9)!important;
    -moz-transform: scale(1,0.9)!important;
    -o-transform: scale(1,0.9)!important;
    -ms-transform: scale(1,0.9)!important;
}
.nav_shrink #primary-menu > ul > li:after,
.nav_shrink  .search-box> ul > li:after,
.nav_shrink  #bottom-menu > ul > li:after,
.nav_shrink  #bottom-menu-1 > ul > li:after,
.nav_shrink  #bottom-menu-2 > ul > li:after{
    /*border-right:1px solid #202020;*/
    content: "|";
    font-size: 20px;
    color:#000000;
    position: absolute;
    top: -1px;
    opacity:0.5;
    right: -4.5px;
    display: flex;
    flex-direction: row;
}
 #bottom-menu-1 > ul > li:hover ul{
     display:block;
     left: -14px;
     top: 0;
     text-align: left;
     z-index: 99;
    background-color: #000000;
     padding-top: 0;
     margin-top: 20px;
}
#bottom-menu-1 > ul > li:hover ul a{
    font-size: 14px;
}
#primary-menu > ul ,#top-menu> ul, #bottom-menu > ul,#bottom-menu-1 > ul,#bottom-menu-2 > ul{
    display: flex;
    margin-bottom: 0;
}
#primary-menu > ul > li:last-child:after, #top-menu> ul > li:last-child:after, #bottom-menu> ul > li:last-child:after,#bottom-menu-1> ul > li:last-child:after,#bottom-menu-2> ul > li:last-child:after,
#primary-menu > ul > li.no-line-right:after, #top-menu> ul > li.no-line-right:after,.search-box> ul > li.no-line-right:after, #bottom-menu> ul > li.no-line-right:after,#bottom-menu-1> ul > li.no-line-right:after,#bottom-menu-2> ul > li.no-line-right:after{
    content: "";
}
#primary-menu ul ul{
    top: 28px !important;
    /*background-color: transparent !important;
    background-image: -ms-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -moz-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -o-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #202020), color-stop(0.8,rgba(32,32,32,0.5)),color-stop(1, transparent))!important;
    background-image: -webkit-linear-gradient( top, #202020 0%,rgba(32,32,32,0.5) 80%, transparent 100%)!important;
    background-image: linear-gradient(to bottom, #202020 0%,rgba(32,32,32,0.5) 80%, transparent 100%)!important;*/

    background-color: transparent !important;
background-image: -ms-linear-gradient(top, transparent 0%, #202020 100%)!important;
background-image: -moz-linear-gradient(top, transparent 0%, #202020 100%)!important;
background-image: -o-linear-gradient(top, transparent 0%, #202020 100%)!important;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, transparent), color-stop(0.8,rgba(32,32,32,0.5)),color-stop(1, #202020))!important;
background-image: -webkit-linear-gradient( top, transparent 0%,rgba(32,32,32,0.5) 80%, #202020 100%)!important;
background-image: linear-gradient(to bottom, transparent 0%,rgba(32,32,32,0.5) 80%, #202020 100%)!important;
}
#primary-menu ul ul ul{
  background-color: transparent !important;
      background: 0px!important;
      left: 0px;
      top:0px!important;
      display: block!important;
      opacity: 1!important;
      position: relative;
      padding: 0 0 0 0;
      margin: 0 0;
}
.nav_shrink #primary-menu ul ul ul{
  background-color: transparent !important;

}
#primary-menu ul ul ul>li{
  margin-left:15px;
  width:calc( 100% - 15px );
  padding-right: 15px;
}
#primary-menu ul ul ul>li,#primary-menu ul ul>li{

transform: scale(1,1)!important;
  -webkit-transform: scale(1,1)!important;
  -moz-transform: scale(1,1)!important;
  -o-transform: scale(1,1)!important;
  -ms-transform: scale(1,1)!important;
}
#primary-menu ul ul ul>li:first-child{
  padding-top: 13px;
}
#primary-menu ul ul ul>li:last-child{
  padding-bottom: 0;
}
section.slider.post-slider.vc-post-styling.slick-initialized.slick-slider{
    clear: both;
}
#container-calendar-article .col-md-12, #container-loghi .col-md-12{
    padding-right: 0;
    padding-left: 0;
}
#container-calendar-article .col-md-4{
    padding-left: 0;
}

#primary-menu ul ul {
    border-radius:0 0 0 0;
    left: 0px;
    margin-left: 0;
}
.nav_shrink #primary-menu ul ul{
    background:#efebe8 ;
    background-color:#efebe8!important;
    background-image:none!important;


}
input[type=text]:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    box-shadow: 0 0 5px #A58C24;
    border: 2px solid #A58C24;
}
.home #primary-menu > ul > li.current a, #primary-menu > ul > li.current-menu-item a, #primary-menu > ul > li.current-menu-parent a, #primary-menu > ul > li.current_page_parent a{
    color: #ffffff!important;

}
.nav_shrink .home #primary-menu > ul > li.current a,
.nav_shrink  #primary-menu > ul > li.current-menu-item a,
.nav_shrink  #primary-menu > ul > li.current-menu-parent a,
.nav_shrink  #primary-menu > ul > li.current_page_parent a{
    color: #202020!important;

}
.home #primary-menu > ul > li.current, #primary-menu > ul > li.current-menu-item, #primary-menu > ul > li.current-menu-parent, #primary-menu > ul > li.current_page_parent{
    border-bottom-width: 0px!important;
}
#primary-menu ul ul li{
    margin: auto auto auto auto;
    border-bottom: 0px;
}
.nav_shrink #primary-menu ul ul li a{
    color:#202020;
}
ul.sub-menu{
    padding-top: 20px;
}
#primary-menu{
    margin-top:28px;
    padding-right: 0px;
}
.container-bar{
    width: 1000px;
    margin: 0 auto;
}

.single #main{
    margin-bottom: 0;
}
.single .calendar-box .title-section{
    margin-top: 0;
}

#top-menu ul li a{
    display: block;
    height: auto;
    text-indent:0;
    background: none;
    border-radius: 0;
    width:auto;
    color:#ffffff;
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;

}
#bottom-menu ul li a,#bottom-menu-1 ul li a,#bottom-menu-2 ul li a{
    display: block;
    height: auto;
    text-indent:0;
    background: none;
    border-radius: 0;
    width:auto;
    color:#ffffff;
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;
    font-size:16px;

}

.image-calendar, .image-calendar a{
/*flex-direction: column;
    display: flex;
    justify-content: flex-end;*/
}
.image-calendar img{
    margin-bottom:8px;
}
.card-body.calendar .category{
    margin-bottom:12px;
}
.tools {
    float: right;
    border-left: none;
    width: auto!important;
    padding-left: 0px;
    margin: 0px 30px 0 0px;
    -webkit-transition: height .3s ease, margin-top .3s ease;
    -moz-transition: height .3s ease, margin-top .3s ease;
    -ms-transition: height .3s ease, margin-top .3s ease;
    -o-transition: height .3s ease, margin-top .3s ease;
    transition: height .3s ease, margin-top .3s ease;
}
.tools ul li a{

}
.top-bar-class{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 62px;
    -webkit-transition: height .3s ease, margin-top .3s ease;
    -moz-transition: height .3s ease, margin-top .3s ease;
    -ms-transition: height .3s ease, margin-top .3s ease;
    -o-transition: height .3s ease, margin-top .3s ease;
    transition: height .3s ease, margin-top .3s ease;
}
.nav_shrink .top-bar-class{
    margin-top: 40px;
}
.top-bar-class #menu-secondary,.top-bar-class #menu-secondary-en,.top-bar-class #menu-secondary-1,.top-bar-class #menu-secondary-en-1,.top-bar-class #menu-footer-bottom-2,.top-bar-class #menu-footer-bottom-2-en,.top-bar-class #menu-footer-bottom-1,.top-bar-class #menu-footer-bottom-en-1{
    display: flex;
    flex-direction: row;
}
#menu-footer-bottom-1 .menu-item:hover ul,#menu-footer-bottom-en-1 .menu-item:hover ul{
    display: block;
    text-align: left;
    position: absolute;
    top: 14px;
    margin-left: 16px;
    left:0;
    min-width: 300px;
    background-color:#000000;
}


#footer {
    background: #000000;
}
.widget {
    margin-bottom: 60px;
}
.top-bar-class #menu-footer-bottom-1 li ul a,.top-bar-class #menu-footer-bottom-en-1 li ul a{
    font-size:14px;
}
.top-bar-class #menu-footer-bottom-1 li a,.top-bar-class #menu-footer-bottom-en-1 li a{
    font-size:18px;
}
#menu-secondary-1 li a,#menu-footer-bottom-2 li a,#menu-footer-bottom-1 li a,#menu-footer-bottom-en-1 li a,#menu-secondary-en-1 li a{
    font-size: 18px;
}
#primary-menu, .tools{
    display: flex;
    justify-content: flex-end;
    width:100%!important;
}
 .tools ul{
    display: flex;
    margin-right: 10px;

    flex-direction: row;
    justify-content: space-between;
    width:100%!important;
}
body{
    background: #efebe8;
}
/*Change the background color of top bar and dropmenu to white*/
#top{

    z-index: 100000;
    display: flex;
    flex-direction: row;
    height:170px!important;
    background-color: transparent !important;
    background-image: -ms-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -moz-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -o-linear-gradient(top, #202020 0%, transparent 100%)!important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #202020), color-stop(0.8,rgba(32,32,32,0.5)),color-stop(1, transparent))!important;
    background-image: -webkit-linear-gradient( top, #202020 0%,rgba(32,32,32,0.5) 80%, transparent 100%)!important;
    background-image: linear-gradient(to bottom, #202020 0%,rgba(32,32,32,0.5) 80%, transparent 100%)!important;

    -webkit-transition:height .5s ease, background-image .5s ease, background-color .5s ease;
    -moz-transition:height .5s ease, background-image .5s ease, background-color .5s ease;
    -ms-transition:height .5s ease, background-image .5s ease, background-color .5s ease;
    -o-transition:height .5s ease, background-image .5s ease, background-color .5s ease;
    transition:height .5s ease, background-image .5s ease, background-color .5s ease;

}
#logo a{
    height: 120px;
    margin: 8px 30px 8px 0;
    -webkit-transition: height .5s ease, background-size .5s ease;
    -moz-transition: height .5s ease, background-size .5s ease;
    -ms-transition: height .5s ease, background-size .5s ease;
    -o-transition: height .5s ease, background-size .5s ease;
    transition: height .5s ease, background-size .5s ease;
}

#logo{
    width: 100%;
    max-width: 180px;
}
.right-bar{
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.right-bar #primary-menu{
    max-width: none;
}
.ul-search{
    margin-bottom: 0;
}
#top.nav_shrink{
    height: 100px!important;
    background-color: #efebe8 !important;
    background-image: -ms-linear-gradient(top, transparent 0%, transparent 100%)!important;
    background-image: -moz-linear-gradient(top, transparent 0%, transparent 100%)!important;
    background-image: -o-linear-gradient(top, transparent 0%, transparent 100%)!important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, transparent), color-stop(1, transparent))!important;
    background-image: -webkit-linear-gradient( top, transparent 0%, transparent 100%)!important;
    background-image: linear-gradient(to bottom, transparent 0%, transparent 100%)!important;
}
#top.nav_shrink #logo a{
height: 82px;}


/*------------------------------------
* FOOTER
------------------------------------*/
#footer .textwidget ul li{
    text-align: left;
    border-bottom: 0px;
    font-size: 14px;
}
.textwidget ul{
    margin-bottom:0;
}
.textwidget ul li{
    margin-bottom: 0;
    padding-bottom: 0;
}
.widget.widget_text{
    margin-bottom: 0;
    margin-top:auto;
}
#footer .widget_media_image{
    text-align: left;
    margin-top:8px;

}
.top-bar-class.second-bar{
    margin-top:32px;
}
.style-trasparent{
    background-color: transparent;
    border:1px solid #ffffff;
    -webkit-border-radius:0 ;
    -moz-border-radius:0 ;
    border-radius:0 ;
}
.title-section{
    margin:40px 0px;
    padding-right: 6px;
    padding-left: 20px;
}
.caption-calendar .previous{
    float:left;
    font-size: 18px;
    color:#000000;
    line-height: 32px;
}
.content-exys-protagonisti .titolo-box{
    background:url('/wp-content/themes/Samsara_child/images/line3.png') right bottom 8px repeat-x

}
#slidedown-menu #mobile-menu li a {
    color: #000000;
}

.slick-prev, .slick-next{
    width: 30px !important;
}
.calendar-box{
    display: inline-block;
}
.calendar-box .calendar-all{
    padding-right: 15px;
    padding-left: 15px;
}
.content-exys.footer .vc_section {
    padding-left: 45px!important;
    padding-right: 45px!important;
}
.content-exys.footer .footer-id-box{
    width: 100% !important;
    left:0!important;
}
.content-exys{
    left:0!important;


}
.article-protagonsti{
    background-color: #000000;
}
.content-exys-protagonisti{
    padding-right:0!important ;
    padding-left: 0!important;
}
.content-exys-protagonisti .vc_column-inner{
    padding-top: 0!important;
}
.content-exys-protagonisti .mega-post-title{
    text-align: center;
}
.content-exys-protagonisti .content-exys{
    margin: auto!important;
    float:none;
}
.approfondimenti{
    display: flex;
    flex-direction: row;
    justify-content: end;
    flex-wrap: wrap;
}

.approfondimenti .single-document{
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: left;
}
.approfondimenti .single-document p,.approfondimenti .single-document img{
    padding-right: 10px;
align-self: center;
line-height: normal;
margin-bottom: 0;
}
.approfondimenti img {
    width: 50px;
}
.caption-calendar{
    margin-top: 5px;
    margin-bottom: 12px;
    font-size: 26px;
    font-family: "Libre Bodoni";
    text-align: center;
    color: #A58C24;
}
.thead-calendar{
    background-color: #000000;

}
.approfondimenti{
    margin-top:20px;
}
.thead-calendar tr th{
    text-align: center;
    padding: 14px 15px 12px;
    font-size: 18px;
    color:#ffffff;

}
.tbody-calendar tr td{
    text-align: center;
    font-size: 18px;
}
.tbody-calendar tr{
    border-bottom:1px solid #c1c1c1;
}


.tbody-calendar tr td a{
    padding: 14px 15px 12px;

    color:#000000;
    text-align: center;
}
.caption-calendar .next{
    color:#000000;
    float: right;
    font-size: 18px;
    line-height: 32px;
}

.tbody-calendar .active-day{
display: flex;
flex-direction: column;
align-items: center;
    background-color:#dadada;
}

#calendar-regio p, #calendar-regio a, #calendar-regio-sidebar a, #calendar-regio-sidebar p{
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;

}
.tbody-calendar td a:hover{
    background: #A58C24;
}
.tbody-calendar td p{
    padding: 14px 15px 12px;
    margin: 0;
}
.tbody-calendar td.pad:hover{
    background:transparent;
}
.tbody-calendar td:hover .active-day{
    color:#ffffff;
}
.logo-slider .vc_carousel-slideline .vc_item img{
    width:100%;
    height:auto;
}
.content-exys{
    padding:0 40px !important;
    max-width: 1279px;
    margin:auto;
}
.category .content-exys{
    padding:0 55px !important;

}
.category .row{
    padding: 0 15px;
}
.category .vc_item{
    padding-left: 30px;
    padding-right: 30px;
    margin:0 0px 60px 0px;
}
.titolo-box{
    width:100%;
    background:url('/wp-content/themes/Samsara_child/images/line.png') right bottom 8px repeat-x
}
.titolo-box span {
    padding-right: 10px;
}
.center-button{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    z-index: -1;
    top: calc( 50% - 23px);
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out, z-index .5s ease-in-out ;
    -moz-transition: opacity .5s ease-in-out, z-index .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out, z-index .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out, z-index .5s ease-in-out;
    transition: opacity .5s ease-in-out, z-index .5s ease-in-out;

}
.center-button a button{
    width:110px;
    text-transform: uppercase;
}
.btn-group-lg>.btn, .btn-lg {
    padding: 14px 16px 10px;
    line-height: 1.2;
}
#caledar-eventi-box .btn-group-lg>.btn,#caledar-eventi-box .btn-lg{
    padding: 8px 12px 6px;
    font-size:12px;
}

.center-button button{
    margin:0 10px 0 10px !important;
}
.btn.focus, .btn:focus, .btn:hover{
    background-color: #A58C24;
    border-color: #A58C24;
    color:#ffffff;
}
.btn{
    -webkit-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -moz-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -ms-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -o-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    transition:color .3s ease, border-color.3s ease, background-color .3s ease;
}
.card-container{
/*display: flex;
display: -webkit-flex;
flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
align-items: stretch;
-webkit-align-items: stretch;
justify-content: space-between;
-webkit-justify-content: space-between;
margin-top: 10px;*/
}
.card-content{
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}
.card-body{
display: contents;
display: -webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
flex: 1;
-webkit-flex: 1;
padding: 10px 20px 20px;
    height:100%;
}

.card-body .title{
    text-transform: uppercase;
    font-size: 20px;
    line-height: 20px;
}
.card-body .subtitle{
    font-size: 20px;
    line-height: 20px;
    margin:0 0 10px;
}
.card-body .luogo, .card-body .data{
    font-size: 18px;
    line-height: 20px;
    margin:0 0 0px;
    font-family:  "LibreBodoni", "Times New Roman", "Lora", serif;
}
body{
    color:#202020;
}
.card-body .card-text{
    font-size: 16px;
    line-height: 1.2em;
    color: #444444;
    margin:10px 0 20px 0;
}
.card-body .category {
    color: #444444;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.share-simple-wrapper a{
    margin:0 5px;
    color:#202020;
}
.share-simple-wrapper a:hover{
    color:#A58C24;
}
a, a:visited{
    color:#202020;
}
.card-body.protagonisti .subtitle{
    margin-bottom: 0;
}
.card-body.protagonisti {
    display: block;
    padding: 10px 20px 20px;
    height: 120px;
}
.card-img-top{
    width:100%;
    height: auto;
}
.vc_item:hover .center-button{
    z-index: 1;
    opacity:1;
}
.vc_inner{
    display: grid;
}

.center-button a:hover{
    opacity:1;
}
.nav_shrink #logo a{
    opacity: 1;
    transition: opacity .5s ease;
    -webkit-transition:opacity .5s ease;
    -moz-transition:opacity .5s ease;
    -ms-transition:opacity .5s ease;
    -o-transition:opacity .5s ease;

}

#searchform{
    position: absolute;
    right: 21px;
    top: -6px;
}
.widget #searchform{
    position: relative;
    right: 0;
    top: 0;
}
#searchform form div{
    display: flex;
    flex-direction: row;
}
#searchform input{
    margin:0;
}
#searchform input[type=text]{
    min-width: 150px;

}
.nav_shrink  #primary-menu > ul > li >a{
    padding-bottom:20px;
}
#primary-menu > ul > li >a{
    padding-bottom:30px;

}

.sf-sub-indicator{
    display: none;
}
#logo a.sticky-logo{
    opacity: 0;
    background: url(/wp-content/uploads/2018/06/logo-teatro-regio-di-Parma-negativo.png) no-repeat;
    -webkit-transition:opacity .5s ease, height .5s ease, background-size .5s ease;
    -moz-transition:opacity .5s ease, height .5s ease, background-size .5s ease;
    -ms-transition:opacity .5s ease, height .5s ease, background-size .5s ease;
    -o-transition:opacity .5s ease, height .5s ease, background-size .5s ease;
    transition:opacity .5s ease, height .5s ease, background-size .5s ease;
}
.nav_shrink #logo a{
    opacity: 0;
}
.nav_shrink #logo a.sticky-logo{
    opacity: 1;
}

.card-content .card{
    display: contents;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1;
    -webkit-flex: 1;
    background-color: #ffffff;
}
.mtauto{
    margin-top: auto;
}
#footer .flex-box{
    display: flex;
}
#footer .right-bar{
    height: 100%;
}
#footer .right-bar .top-bar-class:last-child{
    margin-top:auto;
}
/*------------------------------------
* altro
------------------------------------*/

.fullwidth{
    width: 100% !important;
}
 #searchform #searchsubmit{
    background-color: #A58C24!important;
}

.button-category-intro{
    clear: both;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 30px;
    padding-left: 30px;
    margin-bottom: 60px;
}
.category .title-section{
    margin: 40px 0px 10px;
    padding:0 30px 0 30px;
}
.button-category-intro a button{
    text-transform: uppercase;
}
.button-category-intro a:first-child{
    margin-right: 18px;
}
.color-category-nero .style-trasparent{
    border-color:#202020;
    color:#202020;
    -webkit-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -moz-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -ms-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    -o-transition:color .3s ease, border-color.3s ease, background-color .3s ease;
    transition:color .3s ease, border-color.3s ease, background-color .3s ease;
}
.color-category-nero .style-trasparent:hover{
color:#ffffff;
border-color:#A58C24;
}

.button-category-intro .fa{
    font-size: 16px;
    text-decoration: none;
    margin: 0 14px;
}

.button-category-intro .share-simple-wrapper{
    align-self: center;

}
.button-category-intro .share-simple-wrapper a:last-child{
    margin-right: 0px;
}
.widget .share-simple-wrapper {
    justify-content:center;
    display: flex;
    margin:16px 0;
}
.widget .share-simple-wrapper a {
    font-size: 16px;
}
#sidebar>div:first-child{
    margin: 75px 0 4px 0;
}
.widget .share-simple-wrapper a{
    margin:0 14px;
}
.no-line-right.social{
    padding: 0 6px!important;
}
.no-line-right.social.first{
    padding-left: 15px!important;
}
.lang-item{
    padding: 0 15px 0 6px!important;
}
.lang-item-first{
    padding:0 6px 0 24px!important;
}

p {
    margin: 0 0 8px 0;
    line-height: 21px;
}
.entry a{
    color:#202020;
}
a:hover{
    color:#A58C24;
    text-decoration: none;
}
.entry h2 {
    font-size: 26px;
    line-height: normal;
}
.widget .calendar-all, .widget .calendar-left{
    padding-left: 0;
    padding-right: 0;
}
.widget .tbody-calendar td p,.widget .tbody-calendar tr td a,.widget .thead-calendar th{
    padding: 14px 0 12px;
}

.widget .tbody-calendar td,.widget .tbody-calendar tr td,.widget .thead-calendar th{
    min-width:14.285%;

}
.widget .calendar-box{
    margin: auto;
    width: 100%;

}
.widget #calendar-regio-sidebar{
    width: 100%;

}
.content-exys.article{
    padding: 0 85px!important;
}
#calendar-regio-sidebar .caption-calendar .next{
    float: none;
    margin:0 10px;
}
#calendar-regio-sidebar .caption-calendar .next:first-child{
    margin-left: 20px;
}
#container-calendar-article, #container-loghi-article{
    padding: 0 55px;
}
#slidedown-menu #secondary-mobile ul ul li a{
    font-size: 18px;
}
#slidedown-menu{
    margin-bottom: 0px;
}

#secondary-mobile .menu-item{
    font-size: 16px;
    font-weight: bold;
    padding-left: 5px;
    border-bottom:0px solid #333;
}
#secondary-mobile .lang-item-first{
    padding-left: 5px!important;
    padding-bottom: 10px;
}
#secondary-mobile .lang-item{
    padding-bottom: 10px;

}

#slidedown-menu #secondary-mobile ul ul li a {
    font-weight: normal;
    font-size: 18px;
}

#container-loghi-article .footer-id-box.vc_row-no-padding,#container-loghi-article .vc_row{
    left:0!important;
    width: 100%!important;
    padding: 0 30px;
    margin-left: 0;
    maegin-right:0;
}
.van-pagenavi span, .van-pagenavi a{
    padding: 10px 10px;
    border: 2px solid transparent;
}
.van-pagenavi span{
    background: #a48c00;
    border: 2px solid #a48c00;
}
.van-pagenavi{
    margin:40px 0;
}
strong {
    color: #202020;
}
.single-document a{
    color:#202020;
}
.post:last-child {
     margin-bottom: 0px;
}

@media all and (max-width:1140px) {
    .container-bar {
        display: flex;

    }
    .tools{
    margin-top:42px!important;
    }
    #footer .container-bar {
        display: block;
    }

    .right-bar{
        align-self: center;
    }
    .tools{
        margin-top: 0;
    }appuntamenti
}
    @media only screen and (max-width: 959px) and (min-width: 768px){
        #main {
            width: 100%!important;
            margin:auto;
        }
    }
@media all and (max-width:960px) and (min-width: 840px)  {

.container-bar{
    width:760px!important;
}

}
@media all and (min-width:992px) {

    .sliderpost .vc_item .card, .category .card{
        min-height: 450px;
    }
}
@media all and (max-width:991px) {
    .post, .portfolio{
        width:100%;
    }
    article h2::before {
        width: 96.5%;
    }
    #calendar-regio, #calendarioancora {
        width: 100%;
    }
    #calendar-regio .calendar-all,  #calendar-regio .calendar-left {
        padding-left: 0;
        padding-right: 0;
    }

    #calendar-regio .tbody-calendar td p,  #calendar-regio .tbody-calendar tr td a,  #calendar-regio .thead-calendar th {
        padding: 14px 0 12px;
    }

    #calendar-regio .tbody-calendar td,  #calendar-regio .tbody-calendar tr td,  #calendar-regio .thead-calendar th {
        min-width: 14.285%;

    }

    #calendar-regio .calendar-box {
        margin: auto;
        width: 100%;

    }

    #calendar-regio #calendar-regio-sidebar {
        width: 100%;

    }

}



@media all and (max-width:767px)  {
    #logo a{
        -webkit-background-size: 70px!important;
        background-size: 70px!important;
        background-position: center left;
    }
    #top {

        height: 74px!important;
        background: #efebe8 !important;

    }
    #top.nav_shrink {

        height: 74px!important;
        background: #efebe8 !important;

    }
    .tools ul{
        margin:auto;
    }
    #searchform2 #searchform{
        top:70px;
    }
    .tools{
        margin-right: 10px;
        margin-top: 7px!important;
    }
    #logo a.sticky-logo{
        opacity: 1;
    }
    .container-fullwidth{
        position: relative;
    }
    .tools ul li, .tools ul li.menu{
        width:35px!important;
        margin-bottom: 0;

    }
    .margin-noslider{
        height:0;
    }
    .vc_column_container>.vc_column-inner {
        padding-right: 7px!important;
        padding-left: 20px !important;
    }
    .category .vc_item{
        padding-left: 0;
        padding-right: 0;
    }
    .title-section{
        padding-left: 0px;

    }

    .category .title-section {
        padding: 0 0px 0 0px;
    }
    #calendarioancora{
        display: block;

    }
    .calendar-box .calendar-all,.calendar-box .calendar-all .calendar-left,.calendar-box .calendar-all .calendar-right{
        padding-right: 0px !important;
        padding-left:0px !important;
    }

}
@media all and (max-width:839px) and (min-width: 560px)  {

    .container-bar{
        width:480px!important;
    }

}
@media all and (max-width:600px){
    .image-calendar img{
        width: 100%;
        height: auto;
    }
    *[id^='caledar-single-evento']{
        flex-direction: column!important;
        background-color: #ffffff;
    }
    .image-calendar{
        display: block;
    }
    .image-calendar a{
        display: initial;
    }
    *[id^='caledar-single-evento'] .btn-group{
        padding: 0 10px;
    }
.tbody-calendar tr td p,.tbody-calendar tr td a,.thead-calendar tr th{
    padding: 7px 8px 5px;
    font-size:16px!important;

}
    #calendar-regio{
    width:100%;
 }
    .calendar-box .calendar-all{
        padding-right:5px;
        padding-left:5px;

    }

    .calendar-box .calendar-all .calendar-left,.calendar-box .calendar-all .calendar-right{
        padding-right: 0px !important;
        padding-left:0px !important;
    }
    .caption-calendar{
        font-size: 18px;
    }
    .caption-calendar #previous, .caption-calendar #next{
        line-height:23px;
    }
}

@media all and (max-width:559px) and (min-width: 480px)  {

    .container-bar{
        width:420px!important;
    }

}
@media all and (max-width:480px){
    .card-body{
        min-height: auto!important;
    }
    .color-nero a.buy{
        margin-bottom:10px;
        margin-left:10px;
    }
    .color-nero{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .fullwidth-mobile{
        width:100%;
        max-width:100%;
    }
    .category .content-exys, .content-exys.article {
        padding:0 35px!important;
    }
    .title-section{
        padding-left:4px;
    }
    article h1{
        font-size:30px;

    }
    #main{
        margin-bottom:20px;
    }
    .entry h2, .title-section h2, #calendar-eventi-title{
        font-size:24px;
    }
    .entry h3{
        font-size:20px;
    }

    .title-section h2 span{
        font-size: inherit !important;
    }

}
