@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap');

body{
    font-family: 'Roboto', sans-serif !important;
}

.entry-title {
    font-size: 3em;
}

@media(max-width: 800px) {
  .entry-title {
    font-size: 3.6rem;
  }
}

/*COMPONENTS*/
.mm_button {
    padding: 1em;
    display: inline-block;
    text-align: center;
    min-width: 200px;
    margin: 0.8em;
}

.mm_button.dark {
    background: #000;
    color: #fff;
    text-decoration: none;
}

a.mm_button.dark:hover {
    background: #fff;
    color: #000;
}

.work-content {
    max-width: 100rem;
    display: block;
    margin: 0 auto;
}

#work_photos .img_portfolio {
    display: inline-block;
    cursor: pointer;
    padding: 0.5em;
}

#work_photos .img_portfolio:hover {
    opacity: 0.5;
}

#work_description {
    color: #404040;
}

#work_description li {
    list-style: none;
    margin: 0;
}

#work_description .work_icon {
    margin-left: -15px;
}

#work_photos {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.5em;
}

#work_photos .gallery_column {
    flex: 30%;
    text-align: center;
}

@media(max-width: 1100px) {
  .gallery_column {
    flex: 50%!important;
    max-width: 50%;
  }
}

@media(max-width: 600px) {
  .work-content {
      max-width: 100%;
  }
  .gallery_column {
    flex: 100%!important;
    max-width: 100%!important;
    width: 100%!important;
  }
}

#work_photos .img_portfolio img {
}

.bigImgModal {
    min-width: 100%;
    margin: 0;
}

.bigImgModal .modal-content {
    background-color: #02020200;
    color: #fff;
    border: none;
}

.bigImgModal .modal-header, .bigImgModal .modal-footer{
    border: none;
}

.bigImgModal .modal-dialog {
    min-width: 80%;
}

.bigImgModal .modal-footer {
    justify-content: center;
}

.bigImgModal #img_show_big, .bigImgModal video {
    margin: 0 auto;
    max-height: 80vh;
    max-width: 100%!important;
}

@media(max-width: 800px) {
  .bigImgModal #img_show_big {
      height: auto;
  }
}

.img_portfolio video {
    max-width: 100%!important;
}

.bigImgModal .modal-header button {
    background: none;
    text-decoration: none!important;
    color: #fff;
    font-size: 1.2em;
}

#imgBigCaption {
    font-size: 0.8em;
    font-style: italic;
}

.bigShowControl {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
}

#followingShow {
    top: 0;
    right: 0.5em;
}

.bigShowControl:hover {
    opacity: 0.7;
}

.modal-backdrop.show{
    opacity: .8!important;
}

#showBigSpinner {
    position: absolute;
    top: 45%;
    left: 48%;
    width: 50px;
    height: 50px;
}

@media(max-width: 800px){
    #showBigSpinner {
        left: 45%;
    }
}

/**EVENTI**/
#event_information {
}

#event_information li {
    list-style: none;
}

#event_information ul {
    border-right: solid 1px;
}

.event-content {
  width: 80%;
  margin: 0 auto;
}

/**HOME PAGE**/
#exhibitions_box {
    text-align: center;
}

#exhibitions_box .evento_home {
    padding: 0.5em 0;
    cursor: pointer;
}

.evento_home .titolo_evento {
    font-size: 1.4em;
}

.evento_home .luogo_evento {
    font-size: 0.8em;
}

.evento_home .data_evento {
    font-size: 0.8em;
}

#exhibitions_box .evento_home:hover {
    background: #0000000f;
}

#exhibitions_box .evento_home a {
    color: #000 !important;
    text-decoration: none;
}

.header-home {
    background: url(/wp-content/themes/madoniaTheme/assets/images/front-home.jpg)!important;
    height: 100vh;
    background-size: cover!important;
}

.header-titles {
    font-family: 'Playfair Display', serif;
}

.header-home .header-titles {
    visibility: hidden;
}

.header-home .toggle-inner, .header-home .toggle-inner span{
  color: #fff!important;
}

.header-home nav a {
  color: #fff!important;
  text-decoration: none!important;
}

#header-titles-center {
    font-family: 'Playfair Display', serif;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 40vh;
}

#header-titles-center a {
    font-size: 4em;
    font-weight: 100;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    width: 70%;
    margin: 0 auto;
}

@media(max-width: 1050px){
    #header-titles-center a {
        margin-top: 5vh;
        font-size: 2.5em;
    }   
}

@media(max-width: 600px) {
  #header-titles-center a {
      font-size: 1.2em;
      margin-top: 8vh;
  }
}

#gome-go-down {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0.5em;
}

#gome-go-down a {
    color: #fff!important;
}

#work_box{
    text-align: center;
}

.work_home a{
    text-decoration: none;
}

.work_home img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    z-index: 2;
    transition: all 0.3s;
    transform: scale(1);
}

.work_home .titolo {
    color: #000;
    text-align: center;
    font-size: 2em;
}

.work_home {
    margin: 1em 0;
}

#site-content {
    min-height: 100vh;
}

#site-content h1 {
    text-transform: uppercase;
    text-align: center;
}

#site-content h1 a {
    color: #191919!important;
    text-decoration: none;
}

#work_box .mm_button {
    font-size: 1.1em;
    font-weight: 500;
    padding: 0.8em 2em;
}

/*HEADER*/
.primary-menu, .primary-menu-wrapper {
    text-transform: uppercase;
}
.primary-menu a:hover{
    color: #000!important;
}

.primary-menu .sub-menu a {
    color: #fff !important;
}

.primary-menu .sub-menu a:hover {
    color: #b7b7b7 !important;
}

.primary-menu-wrapper a, .mobile-menu a{
    color: #000!important;
}

.primary-menu-wrapper a:hover{
    color: inherit;
}

.primary-menu ul{
    width: 40rem!important;
}

/*NO EVENTS*/
#no_events {
    width: 60%;
    margin: 0 auto;
}

#no_events .text {
    font-size: 2em;
}

@media(max-width: 800px) {
    #no_events {
        width: 100%;
    }
}

.current-menu-item .event-badge{
    display: none;
}

.event-badge {
    font-weight: 400 !important;
    background-color: #c40000 !important;
    margin-left: 0.6em !important;
    vertical-align: top !important;
}

@media(max-width: 800px) {
    .event-badge {
        font-size: 0.7em !important;
    }
}


body:not(.overlay-header) .primary-menu > li > .icon {
    color: #000!important;
}


body:not(.overlay-header) .header-home .primary-menu > li > .icon {
    color: #fff!important;
}

.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
	font-weight: 400 !important;
    text-transform: uppercase;
}
