/*
Theme Name: VVF
Description: Custom theme for VV Foundation.
Version: 1.0.0
Text Domain: wp-bootstrap-starter
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i&amp;subset=cyrillic,cyrillic-ext');

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

body {
  font-family: 'Figtree', 'Source Sans Pro', sans-serif;
  font-size: 18px;
  color: black;
  line-height: 1.5rem;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: underline;
}
  a:hover {
    color: inherit;
  }
  p a:hover {
    opacity: 0.4;
  }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #FFE900 inset !important;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.container-fluid {
  padding-right: 40px;
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: black;
  font-weight: normal;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 60px;
  line-height: 70px;
  font-weight: 400;
}
h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: bold;
}
h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
}
h4 {
  font-size: 1rem;
  line-height: 1.25rem;
}
h5 {
  font-size: 0.88rem;
  line-height: 1.09rem;
}
p {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}

h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}

a.cta {
  display: inline-block;
  font-size: 18px;
  line-height: 20px;
  padding: 15px 20px;
  border: 1px solid black;
}
  a.cta:after {
    content: url(inc/assets/img/cta-arrow.svg);
    width: 11px;
    height: 15px;
    padding-left: 10px;
    vertical-align: middle;
  }
  a.cta:hover:after {
    filter: invert(1); /* Icon's inverse color */
  }
  a.cta:hover {
    color: white !important;
    text-decoration: none;
    background: black;
  }
a.cta-square {
    display: inline-block;
    color: white;
    font-size: 18px;
    line-height: 20px;
    padding: 24px 24px;
    min-width: 310px;
    border: none;
    text-decoration: none;
    text-align: center;
    background: black;
  }
  a.cta-square:hover {
    color: black;
    border: 1px solid black;
    background: white;
  }

@media only screen and (max-width: 575px) {
	h1 {
	  font-size: 26px;
	  line-height: 30px;
      /* font-weight: 400; */
	}
	h2 {
	  font-size: 20px;
	  line-height: 26px;
      /* font-weight: 400; */
	}
  h3 {
    font-size: 18px;
    line-height: 26px;
    /* font-weight: 400; */
  }
  p {
    font-size: 16px;
    line-height: 24px;
    /* font-weight: 400; */
  }
}

/*--------------------------------------------------------------
# Spacings
--------------------------------------------------------------*/
.mt-big { margin-top: 80px !important; }
.mb-big { margin-bottom: 80px !important; }
.pt-big { padding-top: 80px !important; }
.pb-big { padding-bottom: 80px !important; }

.mt-big2 { margin-top: 90px !important; }
.mb-big2 { margin-bottom: 90px !important; }
.pt-big2 { padding-top: 90px !important; }
.pb-big2 { padding-bottom: 90px !important; }

.mt-medium { margin-top: 42px !important; }
.mb-medium { margin-bottom: 42px !important; }
.pt-medium { padding-top: 42px !important; }
.pb-medium { padding-bottom: 42px !important; }

.mt-medium2 { margin-top: 55px !important; }
.mb-medium2 { margin-bottom: 55px !important; }
.pt-medium2 { padding-top: 55px !important; }
.pb-medium2 { padding-bottom: 55px !important; }

@media only screen and (max-width: 575px) {
  .mt-big { margin-top: 45px !important; }
  .mb-big { margin-bottom: 45px !important; }
  .pt-big { padding-top: 45px !important; }
  .pb-big { padding-bottom: 45px !important; }
  
  .mt-medium { margin-top: 40px !important; }
  .mb-medium { margin-bottom: 40px !important; }
  .pt-medium { padding-top: 40px !important; }
  .pb-medium { padding-bottom: 40px !important; }
  
  .mt-medium2 { margin-top: 40px !important; }
  .mb-medium2 { margin-bottom: 40px !important; }
  .pt-medium2 { padding-top: 40px !important; }
  .pb-medium2 { padding-bottom: 40px !important; }
}

@media screen and (max-width: 991px) {
  .container-fluid {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

#page {
  position: relative;
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.btn-primary,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit] {
  color: white !important;
  margin: 0 auto;
  margin-top: 2.5rem;
  font-size: 1rem;
  padding: 1rem 3.3rem;
  background: black;
  border-radius: 0;
  border: none!important;
}
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: #a0a0a0;
}
.btn-primary {
  margin-top: 1.5rem;
  text-decoration: none;
}
  .btn-primary:hover,
  .gform_wrapper .gform_footer input.button:hover,
  .gform_wrapper .gform_footer input[type=submit]:hover,
  .gform_wrapper .gform_page_footer input.button:hover,
  .gform_wrapper .gform_page_footer input[type=submit]:hover {
    background: #808080;
  }
  .btn-primary:focus,
  .btn-primary:active {
    outline: 0;
    box-shadow: none;
    background-color: black !important;
    border: none !important;
  }
.gform_wrapper {
  width: 31.3rem;
  margin: 0 auto !important;
}
  h3.form-title {
    margin: 5rem auto 3.6rem auto !important;
    text-align: center;
  }
  h3.gform_title {
    display: none;
  }
  .gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0 !important;
  }
    .gform_wrapper div.validation_error,
    .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
      display: none !important;
    }
  label.gfield_label {
    display: none !important;
  }
  .gform_wrapper input,
  .gform_wrapper textarea {
    padding: 1rem !important;
    font-size: 18px !important;
    color: #3d3d3d !important;
    width: 100% !important;
    border: 1px solid #BCBCBE !important;
  }
  .gform_wrapper input:focus,
  .gform_wrapper textarea:focus {
    outline: 0;
    border: 1px solid #3d3d3d !important; 
  }
  .gform_wrapper .gfield_error input,
  .gform_wrapper .gfield_error textarea {
    color: #F04949 !important;
    border: 1px solid #F04949 !important;
  }
  .gform_wrapper .gfield_error input::placeholder,
  .gform_wrapper .gfield_error textarea::placeholder {
    color: #F04949 !important;
  }
  .gform_footer {
    padding: 0 !important;
    margin: 1.2rem 0 0 0 !important;
  }
  
  .gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  
  .gform_wrapper.gform_validation_error form.apply .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width: 100% !important;
  }
  
  .gform_confirmation_wrapper  {
    text-align: center !important;
  }
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.hero-gradient {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 250px;
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

header#masthead {
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 0;
  padding: 45px 0 45px 0;
  /* padding: 45px 1rem 45px 1rem; */
  z-index: 1000;
}
  header#masthead .container-fluid {
   
  }
  header#masthead .minimal-logo {
    display: none;
    width: 48px;
    height: auto;
  }

.main-logo.black {
  display: none;
}
header#masthead.sticky {
  position: fixed;
  top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
  background: white;
}
  header#masthead.sticky .top-logo {
    top: 12px;
  }
  header#masthead.sticky .main-logo {
    display: none;
  }
  header#masthead.sticky .minimal-logo {
    display: block;
  }
  header#masthead.sticky .hamburger-inner,
  header#masthead.sticky .hamburger-inner:after,
  header#masthead.sticky .hamburger-inner:before {
    background-color: black;
  }
  header#masthead.sticky .hamburger {
    padding: 18px 0;
  }
  
header#masthead.sticky {
    -webkit-animation: slideIn 0.4s;
       -moz-animation: slideIn 0.4s;
        -ms-animation: slideIn 0.4s;
         -o-animation: slideIn 0.4s;
            animation: slideIn 0.4s;
   
  }
  
  @keyframes slideIn {
      from { 
        -webkit-transition: all 400ms ease;
        transition: all 400ms ease;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
        opacity: 0;
      }
      to   {
        -webkit-transition: all 400ms ease;
        transition: all 400ms ease;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
      }
  }

nav.mobile {
  /* display: none; */
}

header#masthead nav.main {
  flex-flow: column;
}

  .lang-social {
    width: 100%;
    margin-bottom: 2.31rem;
    text-align: right;
  }
    .social {
      margin-top: 59px;
      display: inline-flex;
    }
      .social a:hover {
        opacity: .4;
      }
      .social a:not(:last-child) {
        margin-right: 20px;
      }
    
    #lang_sel_list {
      font-family: "Source Sans Pro";
    }
    .lang-switch-desktop {
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
      margin-right: 1.56rem;
    }
      .lang-switch-desktop ul {
        border-top: none !important;
        float: right;
      }
        .lang-switch-desktop ul li {
          font-size: 0.88rem;
          color: #808080;
          display: inline;
        }
          .lang-switch-desktop ul li.active a,
          .lang-switch-mobile ul li.active a {
            
          }
            #lang_sel_list.lang-switch-desktop ul li.active a,
            .lang-switch-mobile ul li.active a {
              color: #afafaf !important;
              pointer-events: none;
            }
          #lang_sel_list.lang-switch-desktop li:not(:first-child):before {
            content: '/' !important;
            display: inline-block;
            padding: 0 0.7rem;
          }
          #lang_sel_list.lang-switch-desktop ul li a {
            display: inline-block;
            font-size: 0.88rem;
            color: #808080 !important;
            padding-left: 0;
          }
            #lang_sel_list.lang-switch-desktop ul li a:hover {
              background-color: white !important;
              text-decoration: underline !important;
            }
  
header#masthead nav.main .menu-primary-menu-en-container,
header#masthead nav.main .menu-primary-menu-lv-container,
header#masthead nav.main .menu-primary-menu-ru-container {
  width: 100%;
  text-align: right;
}
  ul.navbar-nav {
    float: right;
  }
    ul.navbar-nav > li:last-child a {
      padding-right: 0 !important;
    }
    
    .navbar-brand > a {
      color: #3D3D3D;
      font-size: 1.1rem;
      outline: medium none;
      text-decoration: none;
    }
    
    .navbar-brand > a:visited, .navbar-brand > a:hover {
      text-decoration: none;
    }

#page-sub-header {
  position: relative;
  font-size: 1.25rem;
  margin: 0 auto;
  background-size: cover !important;
  background-position: center center !important;
}
  #page-sub-header .overlay {
    display: table;
    width: 100%;
    height: 100vh;
    min-height: 460px;
    max-height: 860px;
  }
    #page-sub-header .overlay .wrapper {
      display: table-cell;
      padding: 2rem 0;
      vertical-align: middle;
    }
    .hero-author {
      margin-top: 13px;
      font-size: 14px;
      line-height: 24px;
    }
    
#page-sub-header #video-background {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  min-height: 460px;
  max-height: 860px;
}
  #page-sub-header #video-background .overlay {
    position: absolute;
    min-height: 100%;
    z-index: 1;
  }
  #page-sub-header #video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%,-50%);
  }

body.home #page-sub-header {
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
}
  body.home #page-sub-header .overlay {
    
  }
    body.home #page-sub-header .overlay .wrapper {      
      padding: 6.3rem 0;
    }
    #page-sub-header .overlay .wrapper {
      vertical-align: bottom;
    }
      #page-sub-header h1 {
        color: white;
        border: 0;
        padding: 0;
        text-align: left;
        width: 100%;
        margin: 0;
        margin-bottom: 40px;
      }
        #page-sub-header h1 p {
          font-size: inherit;
          line-height: inherit;
          font-weight: inherit;
        }
      body.home #page-sub-header h1 {
        text-align: left;
        width: 100%;
        margin: 0;
      }

#page-sub-header p {
  margin: 0;
  padding: 0;
}
#page-sub-header p {
  
}
#page-sub-header a {
  display: block;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2rem;
  text-decoration: none;
}
  #page-sub-header a.learn-more:before {
    content: "\2014";
    padding-right: 1rem;
  }
#page-sub-header a.learn-more:hover {
  text-decoration: none;
}
#page-sub-header a.learn-more:hover span {
  text-decoration: underline;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  /* body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  } */
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

#masthead .navbar-nav > li > a {
  color: #3D3D3D;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
#masthead .navbar-nav > li > a:hover {
  color: #000 !important;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_parent > a,
nav.mobile .navbar-nav > li > a:hover,
nav.mobile .navbar-nav > li.current_page_item > a,
nav.mobile .navbar-nav > li.current_page_parent > a {
  color: #afafaf;
}

.navbar-brand {
  height: auto;
}

.navbar-toggler:focus, .navbar-toggler:hover {
  text-decoration: none;
  outline: 0;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  font-size: 0.88rem;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.lang-dropdown {
  margin-left: 37px;
  font-size: 14px;
  line-height: 13px;
  text-transform: uppercase;
}
  .lang-dropdown .nav-link {
    padding-left: 0;
  }
  .lang-dropdown a {
    text-decoration: none;
  }
  .lang-dropdown a:hover {
    opacity: .7;
  }
  .lang-dropdown.light {
    color: white;
  }
  .lang-dropdown.dark,
  body.menu-open .lang-dropdown {
    color: black;
  }
  body.menu-open .lang-dropdown {
    display: inline-block !important;
  }
  .lang-dropdown a.dropdown-toggle::after,
  body.menu-open .lang-dropdown a.dropdown-toggle::after {
    content: url(inc/assets/img/caret.svg);
    width: 10px;
    height: 5px;
    margin-left: 8px;
    vertical-align: 0px;
    border: none !important;
  }
  .lang-dropdown a.dropdown-toggle[aria-expanded="true"]::after,
  body.menu-open .lang-dropdown a.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    margin-left: 10px;
    vertical-align: -10px;
  }
  .lang-dropdown.light a.dropdown-toggle::after {
    content: url(inc/assets/img/caret-white.svg);
  }
  .dropdown-menu {
    min-width: 0;
  }
  .dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: black;
  }
  .lang-dropdown.dark .dropdown-menu,
  body.menu-open .lang-dropdown .dropdown-menu {
    border: 0.5px solid black;
    background: white;
  }
  .lang-dropdown.dark .dropdown-menu,
  body.menu-open .lang-dropdown .dropdown-menu {
    border: none;
    border-radius: 0;
    background: black;
  }
  .lang-dropdown.light .dropdown-menu {
    border: none;
    border-radius: 0;
    background: transparent;
  }
    .lang-dropdown.dark .dropdown-menu a.dropdown-item,
    body.menu-open .lang-dropdown .dropdown-menu a.dropdown-item {
      color: rgba(255,255,255,0.4);
      padding-left: 15px;
      padding-right: 30px;
    }
    .lang-dropdown.light .dropdown-menu a.dropdown-item {
      color: rgba(255,255,255,0.4);
      padding-left: 0;
      padding-right: 30px;
    }
    .lang-dropdown .dropdown-menu a.dropdown-item:hover {
      color: white;
      background-color: transparent;
    }
    .lang-dropdown .dropdown-menu a.dropdown-item.active,
    .lang-dropdown .dropdown-menu a.dropdown-item:active,
    .lang-dropdown .dropdown-menu a.dropdown-item:focus,
    body.menu-open .lang-dropdown .dropdown-menu a.dropdown-item.active,
    body.menu-open .lang-dropdown .dropdown-menu a.dropdown-item:active,
    body.menu-open .lang-dropdown .dropdown-menu a.dropdown-item:focus {
        color: white;
        text-decoration: none;
        background-color: transparent;
    }
  
.hamburger-box {
  width: 31px;
}
.hamburger {
  padding-left: 0;
}
  .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    width: 24px;
    height: 1px;
  }
  .hamburger-inner:before {
    width: 31px;
  }
  .hamburger-inner:after {
    width: 15px;
  }
  
  .hamburger--minus.is-active .hamburger-inner {
    width: 0px;
    background-color: black;
  }
  .hamburger--minus.is-active .hamburger-inner:before {
    top: 0;
    left: -5px;
    opacity: 1;
    width: 40px;
    transform: rotate(45deg);
    background-color: black;
  }
  .hamburger--minus.is-active .hamburger-inner:after {
    bottom: 0;
    left: -5px;
    opacity: 1;
    width: 40px;
    transform: rotate(-45deg);
    background-color: black;
  }
  
.top-logo {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  display: inline-block;
}
  
.mobile-wrapper {
  position: relative;
}
  nav.mobile {
    display: none;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
  }
  nav.mobile .container-fluid {
    
  }
  nav.mobile.open {
    display: block;
  }
  nav.mobile .menu-header {
    padding-bottom: 18px;
  }
  
  nav.mobile .row {
    height: 100vh;
  }
    nav.mobile .row .first-col {
      padding-top: 55px;
      padding-right: 130px;
    }
    nav.mobile .row .last-col {
      padding-top: 73px;
      padding-left: 130px;
      margin-top: 0;
      border-left: 1px solid black; 
    }
    nav.mobile .row .last-col h1 {
      margin-top: 55px;
      margin-bottom: 52px;
    }
  
nav.mobile.deactivate {
  display: block;
  transform: translateY(0);
  -webkit-animation: navSlideUp 0.3s forwards;
     -moz-animation: navSlideUp 0.3s forwards;
      -ms-animation: navSlideUp 0.3s forwards;
       -o-animation: navSlideUp 0.3s forwards;
          animation: navSlideUp 0.3s forwards;
          animation-delay: 0.2s;
}
  nav.mobile.deactivate .container-fluid {
    -webkit-animation: navHide 0.5s forwards;
       -moz-animation: navHide 0.5s forwards;
        -ms-animation: navHide 0.5s forwards;
         -o-animation: navHide 0.5s forwards;
            animation: navHide 0.5s forwards;
  }
nav.mobile.open {
  -webkit-animation: navSlideDown 0.3s forwards;
     -moz-animation: navSlideDown 0.3s forwards;
      -ms-animation: navSlideDown 0.3s forwards;
       -o-animation: navSlideDown 0.3s forwards;
          animation: navSlideDown 0.3s forwards;
} 
  nav.mobile.open .container-fluid {
    opacity: 0;
    -webkit-animation: navShowUp 0.5s forwards;
       -moz-animation: navShowUp 0.5s forwards;
        -ms-animation: navShowUp 0.5s forwards;
         -o-animation: navShowUp 0.5s forwards;
            animation: navShowUp 0.5s forwards;
            animation-delay: 0.2s;
  }
    
    @keyframes navShowUp {
        from { 
          -webkit-transform: scale3d(1.05, 1.05, 1);
          transform: scale3d(1.05, 1.05, 1);
          opacity: 0;
        }
        to {
          -webkit-transform: scale3d(1, 1, 1);
          transform: scale3d(1, 1, 1);
          opacity: 1;
        }
    }
    @keyframes navHide {
        from {
          -webkit-transform: scale3d(1, 1, 1);
          transform: scale3d(1, 1, 1);
          opacity: 1;
        }
        to {
          -webkit-transform: scale3d(1.05, 1.05, 1);
          transform: scale3d(1.05, 1.05, 1);
          opacity: 0;
        }
    }
    
    @keyframes navSlideUp {
        0% {
          transform: translateY(0);
        }
        100% {
          transform: translateY(-100%);
          display: none;
        }
    }
    
    @keyframes navSlideDown {
        0% {
            transform: translateY(-100%);
        }
        100% {
            transform: translateY(0);
        }
    }

body.menu-open {
  overflow: hidden;
}
body.menu-open header#masthead {
  position: fixed;
  top: 0;
  /* padding: 45px 1rem 45px 1rem; */
  border-bottom: 0 !important;
  background: transparent;
}
body.menu-open header#masthead .top-logo {
  display: none;
}
    
    
nav.mobile .menu-primary-menu-en-container,
  nav.mobile .menu-primary-menu-lv-container,
  nav.mobile .menu-primary-menu-ru-container {
    text-align: left;
  }
  .lang-social {
    text-align: left;
    margin-bottom: 0;
  }
    ul.navbar-nav {
      float: left;
      width: 100%;
      margin-top: 80px;
    }
      nav.mobile .navbar-nav > li {
        
      }
      nav.mobile .navbar-nav > li:last-child {
        
      }
        nav.mobile .navbar-nav > li > a {
          max-width: 960px;
          padding-left: 1.63rem;
          padding-right: 1.63rem;
          padding: 0 !important;
          font-size: 32px;
          font-weight: bold;
          line-height: 36px;
          color: black;
          text-decoration: none;
          margin: 0 auto;
        }
        nav.mobile .navbar-nav.secondary > li > a {
          font-size: 18px;
          font-weight: 400;
          line-height: 26px;
        }
    .lang-switch-mobile {
      border-top: 1px solid black;
    }
    .lang-switch-mobile ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: row;
      justify-content: center;
    }
      .lang-switch-mobile ul > li {
        width: 100%;
        text-align: center;
        border-right: 1px solid black;
      }
      .lang-switch-mobile ul > li:last-child {
        border-right: 0;
      }
        .lang-switch-mobile ul > li > a {
          font-size: 1.75rem;
          font-weight: bold;
          color: #3D3D3D;
          letter-spacing: 0.47px;
          line-height: 60px;
          text-decoration: none;
          text-transform: uppercase;
        }

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
  }

  .dropdown-menu li a {
    padding: 0;
    text-decoration: none;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
  .navbar-light .navbar-toggler:focus {
    outline: none;
  }
  
  body.menu-open header#masthead {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.2) !important;
  }
    body.menu-open header#masthead .container-fluid {
      /* padding-left: 20px;
      padding-right: 20px; */
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.88rem;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.88rem;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-top: 0;
  padding-bottom: 0;
}

#content.site-content .main-row {
  padding-top: 80px;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: fontawesome;
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
  text-decoration: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  color: black;
  font-size: 14px;
  margin-top: 10px;
  padding: 30px 0;
  border-top: none;
  background: #FFE900;
}
body.home footer#colophon {
  margin-top: 0;
}
footer .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
  footer a {
    color: black !important;
    text-decoration: none;
  }

footer#colophon a.underline,
footer#colophon a.nav-link {
  color: inherit;
  position: relative;
  text-decoration: none;
}
  footer#colophon a.underline:hover:after,
  footer#colophon a.nav-link:hover:after {
    -webkit-transform: scaleX(1) translate3d(0,0,0);
    transform: scaleX(1) translate3d(0,0,0);
  }
  footer#colophon a.underline:after,
  footer#colophon a.nav-link:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -4px;
    left: 0;
    height: 1px;
    width: 100%;
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: scaleX(0) translate3d(0,0,0);
    transform: scaleX(0) translate3d(0,0,0);
    background-color: black;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out
  }
  footer#colophon a.nav-link:after {
    bottom: 4px; 
  }
  
  footer#colophon .get-involved-col h3 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

/* Footer menu */
.copyright-wrapper {
  display: flex;
}
.copyright {
  margin-left: auto;
}
.menu-footer-menu-en-container,
.menu-footer-menu-lv-container,
.menu-footer-menu-ru-container {
  margin-left: 30px;
  margin-right: auto;
}
ul.navbar-nav.footer {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-top: 0;
}
  ul.navbar-nav.footer li {
    margin-right: 20px;
  }
  ul.navbar-nav.footer li:last-child {
    margin-right: 0;
  }
    ul.navbar-nav.footer a.nav-link {
      padding: 0;
    }

@media screen and (max-width: 991px) {
  footer .menu {
    display: none; 
  }
  
  footer .col-12 {
    text-align: center !important;
  }
  
  footer .follow-us {
    margin-bottom: 2.18rem;
  }
  
  .copyright-wrapper {
    display: block;
    text-align: center;
  }
  .menu-footer-menu-en-container,
  .menu-footer-menu-lv-container,
  .menu-footer-menu-ru-container {
    margin-left: 0;
    margin-top: 15px;
  }
  ul.navbar-nav.footer {
    /* display: block; */
    text-align: center;
  }
  ul.navbar-nav.footer li {
    
  }
    ul.navbar-nav.footer li:first-child {
      margin-left: auto;
    }
    ul.navbar-nav.footer li:last-child {
      margin-right: auto;
    }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and (min-width: 3030px) {
  .container-fluid {
    max-width: 3000px;
    padding-right: 0;
    padding-left: 0;
  }
}
@media only screen and (max-width: 1380px) {
  html {
    font-size: 100%;
  }
}

@media screen and (min-width: 1330px) {
  .container-fluid {
    max-width: 3000px;
  }
}

@media screen and (max-width: 1199px) {
  
  .navbar-brand img {
    
  }
  .navbar-dark .dropdown-item {
    /* color: #fff; */
  }
  .dropdown-menu {
    /* background: transparent;
    box-shadow: none;
    border: none; */
  }
  
  .lang-switch-desktop {
    display: none !important;
  }
  #masthead nav.main {
    display: none !important;
  }
  header#masthead {
    margin-bottom: 0;
    padding: 1.6rem 0 1.6rem 0;
  }
    header#masthead nav.main {
      display: none;
      margin-top: 1.5rem;
    }
    header#masthead.show nav.main {
      display: block; 
    }
    #masthead .navbar-nav > li > a {
      padding-bottom: 0.625rem;
      padding-top: 0.313rem;
      font-weight: bold;
    }
    
    #page-sub-header .overlay {
      min-height: 650px;
    }
    #video-background {
      min-height: 650px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  header#masthead .top-logo {
    top: 23px;
  }
    header#masthead img.main-logo {
      height: 60px;
    }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {

  }
  
  #quotes .quote {
    font-size: 1.38rem;
    line-height: 1.88rem;
  }
}

@media screen and (max-width: 991px) {
  
  body.home h3.mobile {
    display: block !important;
    margin: 0 auto;
    text-align: center;
    margin-top: 4.81rem;
  }
  #content.site-content .main-row {
    padding-top: 3.56rem;
  }
  
  .single-content {
    padding: 4.81rem 0;
  }  
  
  body.page-template-page-calendar .event .data .d-inline-block {
    display: block !important;
  }
  body.page-template-page-calendar .event .data .location {
    margin-left: 0 !important;
  }
  
  .home-direction {
    padding: 15px;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {

  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {

  }
  
  header#masthead {
    padding: 1.56rem 0;
    padding-top: 0;
  }
  .navbar-brand img {
    width: 50px;
    height: auto;
  }
  
  #page-sub-header a {
    
  }
  
  .hero-author {
    /* display: none; */
    margin-top: 10px;
    line-height: 16px;
    height: 35px;
    float: left !important;
  }
  
  body.page-template-page-calendar .event .data {
    margin-top: 1.56rem;
  }
  
  .news-item  {
    
  }
    .news-item .news-content {
      
    }
  
  .news-item h3 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .category {
    margin-top: 1.2rem !important;
    margin-bottom: 1rem !important;
  }
}

@media only screen and (max-width: 576px) {
  nav.mobile .navbar-nav > li > a {
    max-width: 540px; 
  }
}

@media only screen and (max-width: 575px) {
  
  #page-sub-header .overlay {
    min-height: 570px;
    height: 90vh;
  }
  #page-sub-header #video-background {
    min-height: 570px;
    height: 90vh;
  }
    #page-sub-header #video-background .overlay {
      min-height: 570px;
      height: 90vh;
    }
  
  header#masthead .minimal-logo {
    width: 26px;
  }
  header#masthead.sticky .top-logo {
    top: 20px;
  }
  
  body.home h3.mobile {
    margin-top: 3.5rem;
  }
  body.home #content.site-content #main .main-row.first {
    padding-top: 1rem;
  }
  
  #content.site-content .main-row {
    padding-top: 2.5rem;
  }
  
  .page-template-page-calendar .cal-image {
    padding-left: 0;
    padding-right: 0;
  }
  
  footer#colophon {
    padding: 50px 0;
  }
    footer#colophon h3:first-child {
      margin-bottom: 5px;
    }
    footer#colophon .mt-big {
       margin-top: 75px !important;
    }
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {

  }
  
  #masthead .navbar-nav > li > a {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  body.home #page-sub-header .overlay .wrapper {
    padding: 3rem 0;
  }
}

@media (min-width: 576px) {
  nav.mobile .navbar-nav > li > a {
    max-width: 540px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 768px) {
  nav.mobile .navbar-nav > li > a {
    max-width: 720px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 992px) {
  nav.mobile .navbar-nav > li > a {
    max-width: 960px;
    padding-right: 15px;
    padding-left: 15px;
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
## Home page
--------------------------------------------------------------*/
.home-direction {
  
}
  .home-direction a {
    position: relative;
    display: block;
    text-decoration: none;
  }
    .home-direction .overlay {
      position: absolute;
      display: block;
      height: 100%;
      width: 100%;
      top: 0; left: 0; bottom: 0; right: 0;
      margin: auto;
      background: rgba(0,0,0,0.3);
      z-index: 1;
    }
    .home-direction .title {
      position: absolute;
      left: 32px;
      bottom: 32px;
      z-index: 2;
    }
      .home-direction .title h2 {
        color: white;
      }

.news-header {
  height: auto;
  align-items: center;
  align-content: center;
  align-content: center;
  margin-bottom: 50px;
}
  .news-header h1 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .news-header a.cta-black {
    margin-left: auto;
  }
.news-item {
  margin-bottom: 2.75rem;
}

.news-item a > div,
.team-item a > div,
.zoom-img a > div,
.slick-slide a > div {
  overflow: hidden;
}
.news-item img,
.team-item img,
.zoom-img img,
.slick-slide img {
  transition: transform .9s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale3d(1, 1, 1);
}
  .news-item a:hover img,
  .team-item a:hover img,
  .zoom-img a:hover img,
  .slick-slide a:hover img {
    transform: scale3d(1.05, 1.05, 1);
  }

.news-item video,
.team-item video,
.zoom-img video,
.slick-slide video {
  transition: transform .9s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale3d(1, 1, 1);
}
.news-item video {
  width: 100%;
  height: 100%;
}
  .news-item a:hover video,
  .team-item a:hover video,
  .zoom-img a:hover video,
  .slick-slide a:hover video {
    transform: scale3d(1.05, 1.05, 1);
  }

.zoom-img a:hover svg path {
  animation: toRightFromLeft .3s ease-in-out forwards;
  will-change: transform;
}
@keyframes toRightFromLeft {
    49% {
        transform: translate(100%)
    }

    50% {
        opacity: 0;
        transform: translate(-100%)
    }

    51% {
        opacity: 1
    }
}

.collection-item {
  
}

.news-item.first {
  display: none;
}
  .news-item a,
  .collection-item a,
  .latest-post a,
  a.latest-post,
  body.page-template-page-calendar .event a {
    color: inherit;
    text-decoration: none;
  }
  .collection-item a {
	  display: block;
  }
    .news-item a:hover,
    .collection-item a:hover,
    .latest-post a:hover,
    a.latest-post:hover,
    body.page-template-page-calendar .event a:hover {
      text-decoration: none;
    }
      /* .news-item a:hover h2,
      .latest-post a:hover h2,
      a.latest-post:hover h2,
      body.page-template-page-calendar .event a:hover h2,
      .news-item a:hover h3,
      .latest-post a:hover h3,
      a.latest-post:hover h3,
      body.page-template-page-calendar .event a:hover h3,
      .news-item a:hover .more-link,
      .latest-post a:hover .more-link,
      a.latest-post:hover .more-link,
      body.page-template-page-calendar .event a:hover .more-link {
        text-decoration: underline;
      } */
      .news-item a:hover p,
      .collection-item a:hover p,
      .latest-post a:hover p,
      a.latest-post:hover p,
      body.page-template-page-calendar .event a:hover p {
        color: #000; 
      }
      .news-item a:hover img,
      .latest-post a:hover img,
      a.latest-post:hover img,
      body.page-template-page-calendar .event a:hover img {
        /* opacity: .8; */
      }
      .collection-item a:hover {
	      /* opacity: .8; */
      }
  .latest-post h2 {
    margin-bottom: 1.63rem;
  }
  .news-item h3 {
    margin-top: 0;
    margin-bottom: 1.6rem;
  }
  body.home .news-item {
    /* margin-bottom: 0; */
  }
    body.home .news-item h3 {
      margin-bottom: 0; 
    }
  a.author-name {
    display: block;
    padding: 8px 0;
    border-top: 0.5px solid black;
    text-decoration: none;
  }
    a.author-name:hover,
    a.author-name:hover h1 {
      color: rgba(0,0,0,0.4);
    }
    a.author-name .container-fluid {
      position: relative;
    }
    a.author-name .title-wrapper {
      max-width: 65%;
    }
      a.author-name h1 {
        display: inline;
        margin: 0;
        width: auto;
        padding-right: 13px;
      }
      a.author-name .details {
        display:inline-block;
        width: auto;
        font-size: 18px;
        line-height: 22px;
      }
        a.author-name .location {
          font-weight: bold;
        }
        a.author-name .works {
          
        }
      /*
      a.author-name .author-image {
        display: none;
        position: absolute;
        width: 310px;
        right: 290px;
        top: 0;
        transform: translateY(calc(50px - 50%));
      }
      a.author-name:hover .author-image {
        display: block;
      }
      */
    a.author-name.disabled {
      pointer-events: none;
    }
      a.author-name.disabled h1 {
        color: rgba(0,0,0,0.4);
      }
  .collection-page h3 {
    
  }
    .collection-page .grey {
      color: rgba(0,0,0,0.4);
    }

    .author-image-wrapper {
       position: relative;
       width: 310px;
       float: right;
       margin-left: auto;
       overflow: visible;
    }
     .author-image {
       display: block;
       position: absolute;
       right: 0;
       width: 100%;
       visibility: hidden;
       z-index: 9;
    }
    a.author-name.mouseover .author-image {
        visibility: visible;
    }
     .author-image img,
     .author-image video {
       opacity: 1;
    }
     .author-image img.lazyloaded,
     .author-image video.lazyloaded {
       transition: none;
       opacity: 1;
    }
     .image-size-landscape img,
     .image-size-landscape video {
       width: 100%;
       height: auto;
    }
     .image-size-portrait img,
     .image-size-portrait video {
       width: auto;
       height: 50vh;
    }
     .image-postition-bottom .author-image {
       top: 0;
    }
     .image-postition-top .author-image {
       top: 0;
    }
     .image-postition-top .author-image img,
     .image-postition-top .author-image video {
       transform: translateY(-100%);
    }

#info-slider {
    margin-top: 3.5rem;
    padding-top: 0;
    padding-bottom: 0;
    background-size: auto 100%;
  }
    #info-slider .slick-prev,
    #info-slider .slick-next {
      display: none !important;
    }
    #info-slider .container-fluid {
      position: relative;
      height: 100%;
    }
    #info-slider .info-slides-wrapper {
      width: 100%;
      height: 877px;
      margin: 0 auto;
      background-repeat: no-repeat;
      background-position: center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
      #info-slider .info-slides-wrapper .content {
        position: absolute;
        bottom: 80px;
        text-align: left;
        width: 50%;
      }
      body.page-template-page-residency #info-slider .info-slides-wrapper .content {
        bottom: 150px;
      }
      body.page-template-page-residency .after-slider-content {
        margin-top: 58px;
      }
      #info-slider .info-slides-wrapper .title {
        color: white;
      }
      #info-slider .info-slides-wrapper .description {
        color: white;
      }
      #info-slider .controls-wrapper {
        overflow: visible;
      }
      #info-slider .slick-prev,
      #info-slider .slick-next {
        display: block !important;
        top: unset;
        bottom: 60px;
        z-index: 2;
      }
      #info-slider .slick-prev {
        width: 50px;
        height: 50px;
        left: unset !important;
        /* right: 150px; */
        right: 90px;
      }
      #info-slider .slick-next {
        width: 50px;
        height: 50px;
        /* right: 100px !important; */
        right: 30px !important;
      }
      #info-slider .slick-prev:before,
      #info-slider .slick-next:before {
        content: url(inc/assets/img/btn-slider-next.svg);
        width: 30px;
        height: 30px;
        opacity: 1;
        /* opacity: .4; */
      }
      #info-slider .slick-prev:before {
        content: url(inc/assets/img/btn-slider-prev.svg);
        width: 30px;
        height: 30px;
      }
      #info-slider .slick-prev:hover:before,
      #info-slider .slick-prev:focus:before,
      #info-slider .slick-next:hover:before,
      #info-slider .slick-next:focus:before {
        opacity: 1;
      }
      
      
      
#collection-slider {
  
}
#news-slider .slick-prev,
#news-slider .slick-next {
  display: block !important;
  top: -92px;
  z-index: 2;
}
#news-slider .slick-prev {
  left: unset !important;
  right: 105px;
}
#news-slider .slick-next {
  right: 45px !important;
}

#collection-slider .slick-prev,
#collection-slider .slick-next {
  top: 35px;
  width: 50px;
  height: 50px;
}
#collection-slider .slick-prev {
  left: unset !important;
  right: 90px;
}
#collection-slider .slick-next {
  right: 30px !important;
}

#collection-slider .slick-prev:before,
#collection-slider .slick-next:before,
#news-slider .slick-prev:before,
#news-slider .slick-next:before {
  content: url(inc/assets/img/btn-slider-next-grey.svg);
  width: 50px;
  height: 50px;
}
#collection-slider .slick-prev:before,
#news-slider .slick-prev:before {
  content: url(inc/assets/img/btn-slider-prev-grey.svg);
  width: 50px;
  height: 50px;
}
#collection-slider .cta-black {
  margin-right: 145px;
}

/* #collection-slider .slick-track {
  display: flex;
}
  #collection-slider .slick-slide {
    float: unset;
    height: auto;
    flex: 1;
  } */
  
.slick-prev:hover:before,
.slick-next:hover:before {
  filter: invert(1); /* Icon's inverse color */
}

.collection-row {
  padding-bottom: 40px;
}
.collection-item {
  padding: 0 12px;
  border-left: 1px solid rgba(0,0,0,0.1);
}
.collection-item:first-child {
  border-left: none;
}

body.single .collection-item {
  padding-bottom: 60px;
}
.collection-item .title {
  font-size: 16px;
  color: black;
  font-weight: bold;
  margin-top: 13px;
  margin-bottom: 0;
}
.collection-item .attributes {
  font-size: 16px;
  color: #8E8E8E;
  margin-bottom: 0;
}
.collection-item {
  margin-bottom: 0;
}

@media screen and (min-width: 3030px) {
  #info-slider .slick-prev {
    right: 60px;
  }
  #info-slider .slick-next {
    right: 0px !important;
  }
  #collection-slider .slick-prev {
      right: 60px;
  }
  #collection-slider .slick-next {
    right: 0px !important;
  }
  #collection-slider .cta-black {
    margin-right: 130px;
  }
}
    
@media screen and (max-width: 1229px) {
  #info-slider .slick-prev {
    right: 90px;
  }
  #info-slider .slick-next {
    right: 30px !important;
  }
}
@media screen and (max-width: 991px) {
  a.author-name h1 {
    max-width: 100%;
  }
  a.author-name .details {
    display: none;
  }
  .author-image-wrapper {
    display: none;  
  }
  
  .latest-post {
    display: none;
  }
  
  .news-item.first {
    display: block; 
  }
  
  #quotes .quote-wrapper {
    width: 90%;
  }
    #quotes .slick-list {
      padding: 0 !important;
    }
    
  #info-slider .info-slides-wrapper {
    height: 570px;
  }
  #info-slider .info-slides-wrapper .content {
    width: 93%; 
  }
  #info-slider .slick-prev {
    right: 90px;
  }
  #info-slider .slick-next {
    right: 30px !important;
  }
  
  #collection-slider .slick-prev,
  #collection-slider .slick-next,
  #news-slider .slick-prev,
  #news-slider .slick-next {
    /* top: -92px; */
  }
  
  header#masthead {
    padding-top: 9px;
    padding-bottom: 9px;
  }
    header#masthead .container-fluid {
      padding-top: 0;
    }
  
  .top-logo {
    /* top: 17px; */
    top: 12px;
  }
    .top-logo img {
      /* width: 81px; */
      height: 60px;
    }
  
  .lang-dropdown.top-header {
    
  }
  
  .residents {
    margin-top: 43px !important;
  }
    .residents h1 {
      margin-bottom: 40px !important;
    }
    body.page-template-page-education .news-header,
    body.page-template-page-exhibitions .news-header,
    body.page-template-page-residency .news-header {
        margin-top: 50px !important;
        margin-bottom: 10px;
    }
    body.page-template-page-residency .news-header h1 {
      max-width: 300px;
    }
    
  a.author-name h1 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media screen and (max-width: 767px) {
  #news-slider .cta-black {
    margin-right: 130px;
  }
  
  #info-slider .info-slides-wrapper .content {
    width: 87%; 
  }
  
  body.single .collection-item {
    border-left: none; 
  }
}

@media screen and (max-width: 575px) {
  .top-logo {
    top: 17px;
  }
    .top-logo img {
      width: 81px;
    }
    
  #news-slider .slick-prev,
  #news-slider .slick-next {
    top: -55px!important;
  }
  #collection-slider .slick-prev,
  #collection-slider .slick-next {
    top: 15px;
  }
  #collection-slider .slick-next {
    right: 30px !important;
  }
  #collection-slider .slick-prev {
    right: 70px;
  }
  #news-slider .slick-prev {
    right: 70px;
  }
  #news-slider .cta-black {
    margin-right: 90px;
  }
  #news-slider .slick-prev {
    right: 55px;
  }
  #news-slider .slick-next {
    right: 15px !important;
  }
  
  #collection-slider .slick-prev,
  #collection-slider .slick-next,
  #news-slider .slick-prev,
  #news-slider .slick-next {
    width: 30px;
    height: 30px;
  }
  #collection-slider .slick-prev:before,
  #collection-slider .slick-next:before,
  #news-slider .slick-prev:before,
  #news-slider .slick-next:before {
    content: url(inc/assets/img/btn-slider-next-grey-mobile.svg);
    width: 30px;
    height: 30px;
  }
  #collection-slider .slick-prev:before,
  #news-slider .slick-prev:before {
    content: url(inc/assets/img/btn-slider-prev-grey-mobile.svg);
    width: 30px;
    height: 30px;
  }
  #info-slider .slick-prev,
  #info-slider .slick-next {
    width: 30px;
    height: 30px;
    bottom: 60px;
  }
  #info-slider .slick-prev {
    right: 70px;
  }
  #info-slider .slick-next {
   right: 30px !important;
  }
  #info-slider .slick-prev:before,
  #info-slider .slick-next:before {
    content: url(inc/assets/img/btn-slider-next-mobile.svg);
  }
  #info-slider .slick-prev:before {
    content: url(inc/assets/img/btn-slider-prev-mobile.svg);
  }
  
  .collection-item {
    padding: 0 30px;
  }
  
  body.page-template-page-residency #info-slider .info-slides-wrapper .content {
    bottom: 100px;
  }
  body.page-template-page-residency #info-slider .slick-prev,
  body.page-template-page-residency #info-slider .slick-next {
    bottom: 36px;
  }
  
  a.author-name h1 {
    font-size: 18px;
    line-height: 26px;
  }
}

.newsletter-section {
  padding: 95px 0;
  background: #FFE900;
}
  .newsletter-section .content {
    max-width: 530px;
    margin: 0 auto;
  }
    .newsletter-section h3 {
      font-weight: bold;
      margin-top: 0;
    }
    .newsletter-section h3.sub {
      font-weight: 400;
      margin-top: 0;
    }
    .newsletter-section form {
      position: relative;
      margin-top: 50px;
    }
    .newsletter-section input[type="text"],
    .newsletter-section input[type="email"] {
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      border-bottom: 1px solid black;
      padding-bottom: 19px;
      font-size: 18px;
      width: 100%;
    }
    .newsletter-section input[type="text"]:focus,
    .newsletter-section input[type="email"]:focus {
        outline: none;
        border-bottom: 2px solid black;
    }
    .newsletter-section button {
      position: absolute;
      right: 0;
      top: -1px;
      border: none;
      background: transparent;
      box-shadow: none;
    }
    .newsletter-section button:focus {
      outline: 0;
    }
    /* For modern browsers */
    .newsletter-section input::placeholder {
        color: black;
    }
    
    /* For Internet Explorer 10-11 */
    .newsletter-section ::-ms-input-placeholder {
        color: black;
    }
    
    /* For Firefox */
    .newsletter-section ::-moz-placeholder {
        color: black;
        opacity: 1; /* Firefox adds transparency to the color by default */
    }
    
    /* For older versions of Firefox */
    .newsletter-section :-moz-placeholder {
        color: black;
        opacity: 1; /* Firefox adds transparency to the color by default */
    }

#quotes {
  position: relative;
  background: black;
}
  #quotes .slick-prev,
  #quotes .slick-next {
    display: none !important;
  }
  #quotes .placeholder-row {
    position: absolute;
    /* left: 15px; */
    left: 0;
    bottom: 100px;
    width: 100%;
    z-index: 2;
  }
  #quotes .row {
    align-items: center;
  }
  #quotes .image {
    height: 838px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  #quotes .quote-wrapper {
    padding-left: 115px;
    padding-right: 76px;
  }
  #quotes .slick-dotted.slick-slider {
    margin-bottom: 0;
  }
    #quotes .slick-dots {
      /* position: relative !important;
      top: 55px;
      bottom: 0; */
      bottom: -25px;
    }
    #quotes .quote {
      color: white;
    }
    #quotes .author {
      color: white;
      margin-top: 37px;
      font-size: 14px;
      line-height: 26px;
      letter-spacing: -2%;
    }
    #quotes .slick-dots li {
        width: 9px;
        height: 9px;
        margin: 0 10px;
    }
    #quotes .slick-dots li button {
        width: 9px;
        height: 9px;
        border: none;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
    }
    #quotes .slick-dots li.slick-active button {
      background: #FFE900;
    }
    #quotes .slick-dots li.slick-active button:before {
        content: "";
        background-color: unset;
        width: 0;
        height: 0;
    }
    
/*--------------------------------------------------------------
## News blocks
--------------------------------------------------------------*/
.category,
.cta-white,
.cta-black {
  display: inline-block;
  color: black;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  border: 1px solid black;
  background: white;
  border-radius: 16px;
  padding: 3px 12px;
  text-decoration: none;
}
.cta-white,
.cta-black {
  font-size: 16px;
  padding: 6px 15px;
  border-radius: 20px;
}
.category {
  margin: 14px 0;
}
  a.category:hover {
    color: white;
    background: black;
  }
.category.outlined {
  color: white;
  border-color: white;
  background: transparent;
}
#page-sub-header .category {
  margin-top: 34px;
}
.cta-black {
  color: white;
  background: black;
}
.category,
.cta-white:hover,
.cta-black:hover {
  text-decoration: none;
}
.cta-white:hover {
  color: white;
  background: black;
}
.cta-black:hover {
  color: black;
  background: white;
}

.latest-post .more-link {
  margin-top: 2.56rem; 
}
.more-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #3D3D3D;
  margin-top: 2rem;
  margin-bottom: 0
}
  .more-link:before {
    content: "\2014";
    padding-right: 1rem;
    display: inline-block;
  }
.more-link:hover {
  color: #3D3D3D;
}
  
/*--------------------------------------------------------------
## About page
--------------------------------------------------------------*/
.page-template-page-about h1 {
  margin-bottom: 40px;
}
.page-template-page-about #main .content-wrapper,
.page-template-page-residency #main .content-wrapper,
.page-template-page-exhibitions #main .content-wrapper,
.page-template-page-education #main .content-wrapper,
.page-template-page-collection #main .content-wrapper,
.page-template-page-patron #main .content-wrapper,
.page-template-page-visitors #main .content-wrapper,
.page-template-page-basic #main .content-wrapper,
.single-post .content-wrapper {
  margin-top: 85px;
}
.page-template-page-about #main h2:first-child,
.page-template-page-residency #main h2:first-child,
.page-template-page-exhibitions #main h2:first-child,
.page-template-page-education #main h2:first-child,
.page-template-page-collection #main h2:first-child,
.page-template-page-patron #main h2:first-child,
.page-template-page-visitors #main h2:first-child,
.page-template-page-basic #main h2:first-child,
.single-post h2:first-child {
  margin-top: 0;
  margin-bottom: 40px;
}
.page-template-page-about #main .container-fluid,
.page-template-page-residency #main .container-fluid,
.page-template-page-exhibitions #main .container-fluid,
.page-template-page-education #main .container-fluid,
.page-template-page-collection #main .container-fluid,
.page-template-page-patron #main .container-fluid,
.page-template-page-visitors #main .container-fluid,
.page-template-page-basic #main .container-fluid,
.single-post {
  font-size: 18px;
  color: black;
  line-height: 26px;  
}
.page-template-page-about #main .container-fluid,
.page-template-page-residency #main .container-fluid,
.page-template-page-exhibitions #main .container-fluid,
.page-template-page-education #main .container-fluid,
.page-template-page-collection #main .container-fluid {
  /* margin-top: 87px;
  margin-bottom: 0; */
}

.page-template-page-about #main .container-fluid .content-wrapper,
.page-template-page-residency #main .container-fluid .content-wrapper,
.page-template-page-exhibitions #main .container-fluid .content-wrapper,
.page-template-page-education #main .container-fluid .content-wrapper,
.page-template-page-collection #main .container-fluid .content-wrapper,
.page-template-page-patron #main .container-fluid .content-wrapper,
.page-template-page-visitors #main .container-fluid .content-wrapper,
.page-template-page-basic #main .container-fluid .content-wrapper,
.page-template-default #main .container-fluid .content-wrapper,
.single-post .content-wrapper {
  max-width: 725px; 
}

.page-template-page-about .team {
  margin-top: 0;
}
.page-template-page-about .team.foundation {
  margin-top: 70px;
}
  .page-template-page-about .team-item {
    margin-bottom: 70px;
  }
  .page-template-page-about .team.foundation .team-item {
    margin-bottom: 30px;
  }
  .team a {
    text-decoration: none;
  }
  .team h3 {
    margin-top: 23px;
    margin-bottom: 13px;
  }
  .team .position {
    color: black;
    font-size: 11px;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
  }
  .team .collapse {
    
  }
  .team .description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }
  .team a.linkedin {
    margin-top: 23px;
    color: black;
    font-size: 11px;
    line-height: 18px;
    text-transform: uppercase;
    text-decoration: underline;
  }
  .team img.icon-collapsible {
    position: absolute;
    right: 0;
    top: 27px;
  }
  .team a.collapsible {
    text-decoration: none;
  }
    .team a.collapsible:hover,
    .team a.collapsible:focus,
    .team a.collapsible:hover h3,
    .team a.collapsible:focus h3 {
      text-decoration: none;
    }
  .team a[aria-expanded="true"] img.icon-collapsible {
    transform: rotate(45deg);
  }

@media screen and (max-width: 575px) {
  .page-template-page-about .team-item {
    margin-bottom: 40px;
  }
  
  .team .description {
    margin-top: 10px;
  }
  
  .page-template-page-about #main .container-fluid,
  .page-template-page-residency #main .container-fluid,
  .page-template-page-exhibitions #main .container-fluid,
  .page-template-page-education #main .container-fluid,
  .page-template-page-collection #main .container-fluid,
  .page-template-page-patron #main .container-fluid,
  .page-template-page-visitors #main .container-fluid,
  .page-template-page-basic #main .container-fluid,
  .single-post {
    font-size: 16px;
    line-height: 24px;  
  }
  
  .newsletter-section form {
    margin-top: 35px;
  }
}

/*--------------------------------------------------------------
## Visitors page
--------------------------------------------------------------*/
body.single-visitor .birth-year {
  margin-top: 30px;
  margin-bottom: 40px;
}
.photo-author {
  margin-top: 20px;
  font-size: 14px;
  line-height: 24px;
}
.page-template-page-visitors .team-item {
  margin-bottom: 70px;
}

@media screen and (max-width: 575px) {
  .page-template-page-visitors .team-item {
    margin-bottom: 40px;
  }
  body.single-visitor .birth-year {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
## News page
--------------------------------------------------------------*/

a.view-more {
  display: inline-block;
  padding: 10px 15px;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  line-height: 12px;
  text-transform: capitalize;
  color: #FFFFFF;
  text-decoration: none;
}
  a.view-more:hover {
    color: black;
    background: white;
  }
  a.view-more:focus,
  a.view-more:active {
    outline: 0;
    box-shadow: none;
  }
#news-header {
  padding-top: 134px;
}
#single-header {
  padding-top: 180px;
}
/* body.single-author #single-header {
  padding-top: 180px;
} */
body.blog .hero-gradient,
body.single-author .hero-gradient,
body.single-work .hero-gradient,
body.single-resident .hero-gradient,
body.single-visitor .hero-gradient,
body.page-template-page-collection .hero-gradient,
body.page-template-default .hero-gradient,
body.error404 .hero-gradient {
  display: none;
}
body.blog header#masthead,
body.single-author header#masthead,
body.single-work header#masthead,
body.single-resident header#masthead,
body.single-visitor header#masthead,
body.page-template-page-collection header#masthead,
body.page-template-default header#masthead,
body.error404 header#masthead {
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
}
body.blog .hamburger-inner, 
body.blog .hamburger-inner:after, 
body.blog .hamburger-inner:before,
body.single-author .hamburger-inner, 
body.single-author .hamburger-inner:after, 
body.single-author .hamburger-inner:before,
body.single-work .hamburger-inner, 
body.single-work .hamburger-inner:after, 
body.single-work .hamburger-inner:before,
body.single-resident .hamburger-inner, 
body.single-resident .hamburger-inner:after, 
body.single-resident .hamburger-inner:before,
body.single-visitor .hamburger-inner, 
body.single-visitor .hamburger-inner:after, 
body.single-visitor .hamburger-inner:before,
body.page-template-page-collection .hamburger-inner, 
body.page-template-page-collection .hamburger-inner:after, 
body.page-template-page-collection .hamburger-inner:before,
body.page-template-default .hamburger-inner, 
body.page-template-default .hamburger-inner:after, 
body.page-template-default .hamburger-inner:before,
body.error404 .hamburger-inner, 
body.error404 .hamburger-inner:after, 
body.error404 .hamburger-inner:before {
  background-color: black;
}
body.blog .lang-dropdown.light,
body.single-author .lang-dropdown.light,
body.single-work .lang-dropdown.light,
body.single-resident .lang-dropdown.light,
body.single-visitor .lang-dropdown.light,
body.page-template-page-collection .lang-dropdown.light,
body.page-template-default .lang-dropdown.light,
body.error404 .lang-dropdown.light {
  color: black;
}
body.blog .lang-dropdown.light .dropdown-menu,
body.single-author .lang-dropdown.light .dropdown-menu,
body.single-work .lang-dropdown.light .dropdown-menu,
body.single-resident .lang-dropdown.light .dropdown-menu,
body.single-visitor .lang-dropdown.light .dropdown-menu,
body.page-template-page-collection .lang-dropdown.light .dropdown-menu,
body.page-template-default .lang-dropdown.light .dropdown-menu,
body.error404 .lang-dropdown.light .dropdown-menu {
  border: none;
  border-radius: 0;
  background: black;
}
  body.blog .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.single-author .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.single-work .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.single-resident .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.single-visitor .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.page-template-page-collection .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.page-template-default .lang-dropdown.light .dropdown-menu a.dropdown-item,
  body.error404 .lang-dropdown.light .dropdown-menu a.dropdown-item {
    color: rgba(255,255,255,0.4);
    padding-left: 15px;
  }
  body.blog .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.blog .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.blog .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.single-author .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.single-author .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.single-author .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.single-work .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.single-work .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.single-work .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.single-resident .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.single-resident .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.single-resident .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.single-visitor .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.single-visitor .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.single-visitor .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.page-template-page-collection .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.page-template-page-collection .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.page-template-page-collection .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.page-template-default .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.page-template-default .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.page-template-default .lang-dropdown .dropdown-menu a.dropdown-item:focus,
  body.error404 .lang-dropdown .dropdown-menu a.dropdown-item.active,
  body.error404 .lang-dropdown .dropdown-menu a.dropdown-item:active,
  body.error404 .lang-dropdown .dropdown-menu a.dropdown-item:focus {
    color: white;
  }
body.blog .lang-dropdown a.dropdown-toggle::after,
body.single-author .lang-dropdown a.dropdown-toggle::after,
body.single-work .lang-dropdown a.dropdown-toggle::after,
body.single-resident .lang-dropdown a.dropdown-toggle::after,
body.single-visitor .lang-dropdown a.dropdown-toggle::after,
body.page-template-page-collection .lang-dropdown a.dropdown-toggle::after,
body.page-template-default .lang-dropdown a.dropdown-toggle::after,
body.menu-open .lang-dropdown a.dropdown-toggle::after,
body.error404 .lang-dropdown a.dropdown-toggle::after {
  content: url(inc/assets/img/caret.svg);
}
body.blog .main-logo.white,
body.single-author .main-logo.white,
body.single-work .main-logo.white,
body.single-resident .main-logo.white,
body.single-visitor .main-logo.white,
body.page-template-page-collection .main-logo.white,
body.page-template-default .main-logo.white,
body.error404 .main-logo.white {
  display: none;
}
body.blog .main-logo.black,
body.single-author .main-logo.black,
body.single-work .main-logo.black,
body.single-resident .main-logo.black,
body.single-visitor .main-logo.black,
body.page-template-page-collection .main-logo.black,
body.page-template-default .main-logo.black,
body.error404 .main-logo.black {
  display: block;
}
body.blog h1 {
  text-align: left;
}
body.blog .filter-label {
  margin-top: -5px;
  color: black;
  font-size: 26px;
}
body.blog .select-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 1px solid black;
  background: url(inc/assets/img/caret.svg) no-repeat scroll right 10px center transparent;
}
  body.blog select {
      transition: border 0.5s;
      color: black;
      padding-right: 40px; /* Adjust as needed depending on your caret image */
      padding-left: 10px;
      border-radius: 0;
      outline: none;
      box-sizing: border-box;
      height: 36px;
      line-height: 36px;
      width: 100%;
      border: none;
      background: transparent;
      -webkit-appearance: none; /* Remove default select dropdown styling for Webkit browsers */
      -moz-appearance: none; /* Remove default select dropdown styling for Firefox browsers */
      appearance: none; /* Remove default select dropdown styling for standard syntax */
  }
body.blog #content.site-content .main-row {
  padding-top: 6.25rem;
}

body.blog #content.site-content .other-news {
  padding-top: 5rem;
}
body.home h3.mobile {
  display: none;
}
.news-block .main-row {
  
}

/*--------------------------------------------------------------
## News single page
--------------------------------------------------------------*/
body.single h3.other {
  margin: 0 auto;
  text-align: center;
}

body.single #content.site-content .main-row {
  padding-top: 3.8rem;
}

.single-content {
  padding: 89px 0;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* For a 16:9 aspect ratio */
}

#post-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-pause-button {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

#btn-play {
  display: block;
  opacity: 1;
}
#btn-pause {
  /* pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s 0.1s; */
}

.video-container:hover .play-pause-button {
  /* display: block; */
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .play-pause-button {
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
  }
    .play-pause-button svg {
      width: 40px;
      height: 40px;
    }
}
  
/*--------------------------------------------------------------
## Calendar page
--------------------------------------------------------------*/
body.page-template-page-calendar  h1 {
  margin-top: 4rem;
  text-align: center;
}
body.page-template-page-calendar .content {
  margin-top: 2rem;
}
body.page-template-page-calendar .event {
  margin-bottom: 3.8rem;
}
body.page-template-page-calendar .event:last-child {
  margin-bottom: 0;
}
  body.page-template-page-calendar .event .data {
    color: #808080;
    font-size: 1rem;
    font-weight: 600;
  }
    body.page-template-page-calendar .event .data .location {
      margin-left: 1.9rem;
    }
      body.page-template-page-calendar .event .data .location img {
        margin-right: 0.4rem;
      }
body.page-template-page-calendar a {
}
body.page-template-page-calendar a:hover {
  
}
body.page-template-page-calendar .cal-image a:hover img {
}

/*--------------------------------------------------------------
## Artists page
--------------------------------------------------------------*/
.artists-page {
	
}
.artists-page h1 {
	margin-top: 4rem;
}
	ul.artists-list {
		margin: 0;
		padding: 0;
	}
  .artists-intro {
    padding-top: 3rem;
  }
	.artists-page ul.artists-list {
		/*padding-top: 7.2rem;*/
    padding-top: 4.2rem;
	}
		ul.artists-list li {
			display: block;
			border-top: 1px solid #000;
			list-style: none;
		}
			ul.artists-list li a {
				display: block;
				padding: 30px 0;
				font-weight: bold;
				font-size: 28px;
				color: #3D3D3D;
				letter-spacing: 0.7px;
				text-decoration: none;
			}
			ul.artists-list li a:hover {
				text-decoration: underline;
			}
				ul.artists-list li a img {
					float: right;
				}
		ul.artists-list li:last-child {
			border-bottom: 1px solid #000;
		}
		
.other-artists h3 {
	margin-top: 60px;
	margin-bottom: 61px;
	text-align: center;
}

@media screen and (max-width: 991px) {
  /* body.blog header#masthead,
  body.single header#masthead,
  body.page-template-page-collection header#masthead {
    border-bottom: 0.5px solid rgba(0,0,0,0.2);
    padding-bottom: 9px;
  } */
  
  #single-header {
    padding-top: 100px;
  }
  
	ul.artists-list {
		padding-top: 3.75rem;
	}
	
	.other-artists h3 {
		margin-bottom: 0;	
	}
  
  .page-template-page-about #main .content-wrapper,
  .page-template-page-residency #main .content-wrapper,
  .page-template-page-exhibitions #main .content-wrapper,
  .page-template-page-education #main .content-wrapper,
  .page-template-page-collection #main .content-wrapper,
  .page-template-page-patron #main .content-wrapper,
  .page-template-page-visitors #main .content-wrapper,
  .page-template-page-basic #main .content-wrapper,
  .single-post .content-wrapper {
    margin-top: 30px;
  }
  
  .page-template-page-about #main h2:first-child,
  .page-template-page-residency #main h2:first-child,
  .page-template-page-exhibitions #main h2:first-child,
  .page-template-page-education #main h2:first-child,
  .single-content h2:first-child {
    margin-top: 0;
    margin-bottom: 25px;
  }
  
  #news-header {
    padding-top: 70px;
  }
  
  .newsletter-section {
    padding: 46px 0;
  }
}

@media screen and (max-width: 767px) {
  #single-header {
    padding-top: 90px;
  }
  body.single-work .image-wrapper {
    margin-top: 90px !important;
  }
  
	ul.artists-list {
		padding-top: 2.90rem !important;
	}
}
@media only screen and (max-width: 480px) {
	ul.artists-list li a {
		padding: 14px 0;
		font-size: 18px;	
	}
		ul.artists-list li a img {
			width: 20px;
			height: auto;
		}
}

/*--------------------------------------------------------------
## Residents page
--------------------------------------------------------------*/
.residents {
	margin-top: 115px;
}
	.residents h1 {
		margin-bottom: 80px;
    line-height: 35px;
	}
	ul.residents-list {
		margin: 0;
		padding: 0;
	}
		ul.residents-list li {
			display: inline-block;
			margin-right: 30px;
      width: 30%;
      padding: 10px;
      padding-left: 0;
      border-bottom: 0.5px solid black;
		}
			ul.residents-list li a {
				font-size: 26px;
				letter-spacing: -0.02em;
				line-height: 31px;
				text-decoration: none;
			}
            ul.residents-list li a:hover,
            ul.residents-list li a:hover h1 {
              color: rgba(0,0,0,0.4);
            }
	.resident-content {
		display: none;
		width: 800px;
	}
		.resident-content img.featured {
			float: left;
			width: 50%;
			padding: 0 45px 45px 0;
		}
		.resident-content a.url {
			display: block;
			margin-top: 25px;
		}
    
body.page-template-page-education .news-header,
body.page-template-page-exhibitions .news-header,
body.page-template-page-residency .news-header {
  margin-top: 70px;
}
		
@media only screen and (max-width: 575px) {
	.resident-content img.featured {
		float: none;
		width: 100%;
		height: auto;
		padding: 0;
		margin-bottom: 47px;	
	}
}

@media only screen and (max-width: 480px) {
	ul.residents-list li {
	    margin-right: 15px;
	}
		ul.residents-list li a {
			font-size: 18px;
			line-height: 22px;
		}
}

/*--------------------------------------------------------------
## Publications page
--------------------------------------------------------------*/
.publications-page {
	
}
	.publications-page h1 {
		margin-top: 4rem;
	}
	.publications-page .news-block {
		
	}
		.publications-page .news-block .main-row {
      
		}
	.publication-content {
		display: none;
		width: 800px;
	}
		.publication-content .author {
			color: #808080;
			font-size: 16px;
			font-weight: 600;
		}
		.publication-content img.featured {
			float: left;
			width: 50%;
			padding: 0 45px 45px 0;
		}
		.publication-content a.url {
			display: block;
			margin-top: 25px;
		}
	.publications-page .news-item .author {
		text-transform: none;
	}
@media screen and (max-width: 1299px) {
    #quotes .quote-wrapper {
      padding-left: 20px;
      padding-right: 20px;
    }
}
@media screen and (max-width: 991px) {
	.publications-page .news-block .main-row {
    
	}
  
  #quotes .placeholder-row {
    bottom: 41px;
  }
  #quotes .image {
    height: 290px;
  }
  #quotes .quote-wrapper {
    width: 100%;
    padding-top: 46px;
    padding-bottom: 118px;
    padding-left: 20px;
    padding-right: 20px;
  }
    #quotes .author {
      margin-top: 0;
      font-size: 14px;
      line-height: 20px;
    }
}
@media only screen and (max-width: 575px) {
	.publication-content img.featured {
		float: none;
		width: 100%;
		height: auto;
		padding: 0;
		margin-bottom: 47px;	
	}
}

/*--------------------------------------------------------------
## Collection page
--------------------------------------------------------------*/
.collection-page h1 {
	margin-top: 4rem;
	margin-bottom: 4rem;
}
.collection-page .description {
  margin-bottom: 4.63rem;
}

body.single-work .image-wrapper {
  margin-top: 170px;
}

#filters {
	padding: 1.13rem 0;
	border-top: 1px solid #3D3D3D;
	border-bottom: 1px solid #3D3D3D;
	background-color: white;
}
	#filters ul {
		display: flex;
		width: 100%;
		padding: 0;
		margin: 0;
		list-style: none;
	}
		#filters ul li {
			width: 100%;
			text-align: center;
		}
			#filters ul li a {
				color: #3D3D3D;
				font-size: 1.56rem;
				font-weight: bold;
				text-decoration: none;
			}
			#filters ul li a:hover {
				text-decoration: underline;
			}
			#filters ul li a.active {
				color: #808080;
				text-decoration: underline;
			}
@media screen and (min-width: 1200px) {
	#filters.sticky {
		position: fixed;
		top: 0;
		width: 100%;
		margin-top: 0;
		z-index: 9;
	}
	#filters-spacer.sticky {
		height: 36px;
	}
}
@media screen and (max-width: 1199px) {
	#filters.sticky {
		position: relative;
	}
	#filters-spacer.sticky {
		height: 0;
	}
}
			
.collection-page .news-block .main-row {
	position: relative;
}
	.collection-page .total-results {
		position: absolute;
		left: 0;
		top: 2rem;
	}
	
.single-author #content,
.single-work #content {
  
}

@media screen and (min-width: 992px) {
  .single-author .collection-item:nth-child(5n) {
    border-left: none;
  }
}

@media screen and (max-width: 991px) {
  .single-author .collection-item:nth-child(odd) {
    border-left: none;
  }
  
  #filters {
	  margin-top: 3.88rem;
  }
  #filters ul {
	  display: block;
	  text-align: center;
  }
	  #filters ul li {
		  width: auto;
		  display: inline-block;
		  padding: 5px 15px;
	  }
    
  .collection-page .description {
    margin-bottom: 4rem;
  }
		
	.collection-page .news-block .main-row {
    
	}
	
	.single-author #content,
	.single-work #content,
    .single-resident #content {
		margin-top: 0rem;
	}
  
  nav.mobile ul.navbar-nav {
    margin-top: 50px;
  }
  nav.mobile .navbar-nav > li > a {
    font-size: 26px;
    line-height: 32px;
    margin-left: 0;
  }
  nav.mobile .navbar-nav.secondary > li > a {
    font-size: 16px;
    line-height: 26px;
  }
  nav.mobile .social {
    margin-top: 23px;
  }
  nav.mobile .row .first-col {
    padding-top: 29px;
    padding-left: 15px;
    padding-right: 15px;
  }
  nav.mobile .row .last-col {
    display: none; 
  }
  nav.mobile .menu-header {
    border-bottom: 0.5px solid rgba(0,0,0,0.2);
  }
  
  ul.residents-list li {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .collection-page #main h1 {
    margin-bottom: 1.75rem !important;
  }
  
  nav.mobile .row .first-col {
    /* padding-top: 10px; */
  }
}

@media only screen and (max-width: 575px) {
	#filters {
		margin-top: 2.94rem;
	}
	#filters ul li {
		padding: 5px 10px;
	}
		#filters ul li a {
			font-size: 1.13rem;
		}
    
  .collection-page #main h1 {
    margin-bottom: 1.75rem !important;
  }
  .collection-page .description {
    // margin-bottom: 2.5rem;
  }
		
	.collection-page .news-block .main-row {
    
	}
	
	.single-author #content,
	.single-work #content,
    .single-resident #content {
		margin-top: 0rem;
	}
}
.single-author h3,
.single-resident h3 {
	margin-top: 0rem;
	margin-bottom: 1.75rem;
}
.single-author .works-block,
.single-resident .works-block {
	padding-top: 30px;
    margin-top: 20px;
	border-top: 0.5px solid rgba(0,0,0,0.2);
}
	.single-author .works-block,
    .single-resident .works-block {
		color: #3D3D3D;
		font-size: 1rem;
	}
	.single-author .works-block .work-title,
    .single-resident .works-block .work-title {
		font-size: 1.13rem;
		margin-top: 1rem;
		margin-bottom: 0.5rem;
		font-weight: bold;
	}

.single-author .back-btn,
.single-work .back-btn,
.single-resident .back-btn {
	color: #808080;
	text-decoration: none;
}

.single-work hr.separator {
  margin-top: 60px;
}
.single-work video {
  width: 100%;
}
.single-work .back-btn {
	display: inline-block;
	margin-bottom: 2.38rem;
}
.single-work img.featured {
	width: auto;
	height: 600px;
}
.single-work .zoom-btn {
  /* position: absolute;
  bottom: 0;
  left: 5%; */
	color: black;
	display: inline-block;
	margin-top: 30px;
	text-decoration: none;
}
	.single-work .zoom-btn:hover {
    
	}
		.single-work .zoom-btn:hover svg {
			filter: invert(1);
		}
	.single-work .zoom-btn svg {
		margin-right: 0.5rem;
		vertical-align: middle;
	}
	.single-work hr.separator {
		border-top: 0.5px solid #000000;
	}
  .single-work .btn-back {
    margin-top: 40px;
  }
  .single-work .btn-back:hover img,
  .btn-back:hover img {
    filter: invert(1);
  }
	.single-work h1 {
		margin-top: 36px;
	}
	.single-work h3 {
		margin-top: 0.5rem;
	}
		.single-work h3 a:hover {
			opacity: 0.4;
		}
	.single-work .year {
		color: black;
    font-size: 26px;
    letter-spacing: -0.5px;
		margin-top: 20px;
	}
	.single-work .attributes {
		color: black;
    font-size: 26px;
    letter-spacing: -0.5px;
    margin-top: 10px;
		margin-bottom: 30px;
	}
  
@media screen and (max-width: 991px) {
  .single-work .image-wrapper {
    text-align: center;
  }
  .single-work hr.separator {
    display: none;
  }
  .single-work .btn-back {
    margin-top: 30px;
  }
  .single-work .zoom-btn {
    position: relative;
    bottom: unset;
    left: unset;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 575px) {
	.single-author .works-block,
    .single-resident .works-block {
		padding-top: 3rem;
		margin-top: 1.5rem;
	}
	.single-work img.featured {
		width: 100%;
		height: auto;
	}
	.single-work h1 {
    margin-top: 25px;
	}
	.single-work .year {
		font-size: 18px;
	}
	.single-work .attributes {
      font-size: 18px;
      margin-top: 0;
      margin-bottom: 20px;
	}
}

/*--------------------------------------------------------------
## Patrons page
--------------------------------------------------------------*/
body.page-template-page-patron h4 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 0;
}
.patrons-content {
  padding-top: 0;
  margin-top: 85px;
  border-top: 0.5px solid black;
}
 .new-bullets ul {
    padding-left: 0;
    list-style: none;
  }
  .new-bullets ul ul {
    list-style: none;
  }
  .new-bullets ul li {
    padding-left: 20px;
  }
  .new-bullets ul li::before {
    content: "•"; /* Creates a new disc */
    font-size: 20px; /* Sets the size of the new disc */
    display: inline-block;
    width: 20px;
    margin-left: -20px;
  }
  
/*--------------------------------------------------------------
  ## Visitors page
  --------------------------------------------------------------*/
  body.page-template-page-visitors h4 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 0;
  }
  .visitors-content {
    padding-top: 0;
    margin-top: 85px;
    border-top: 0.5px solid black;
  }

/*--------------------------------------------------------------
## Custom gallery
--------------------------------------------------------------*/
.gallery {
  margin: auto;
  max-width: 1000px;
  padding-bottom: 70px;
  padding-top: 50px;
  display: table;
  width: 100%;
}
.gallery .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -30px;
  margin-top: -30px;
}
.gallery a {
  outline: none;
  transition: .3s all ease;
  -webkit-transition: .3s all ease;
}
.gallery .inner:focus a,
.gallery .inner:active a,
.gallery .inner:hover a {
  -webkit-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
  transform: scale(1.01);
  -webkit-transform: scale(1.005);
  backface-visibility: hidden;
}
.gallery .inner:focus .play-icon svg,
.gallery .inner:active .play-icon svg,
.gallery .inner:hover .play-icon svg {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.gallery .inner:focus .play-icon svg path,
.gallery .inner:active .play-icon svg path,
.gallery .inner:hover .play-icon svg path {
  fill: ;
}
.gallery .inner {
  position: relative;
  box-sizing: border-box;
  padding: 6px;
}
.gallery .gallery-item {
  float: left;
  text-align: center;
  position: relative;
  width: 33.333%;
  box-sizing: border-box;
}
.gallery img {
  border: 2px solid #cfcfcf;
}
.gallery .gallery-caption {
  margin-left: 0;
}
.gallery .image {
  width: 100%;
  height: 0;
  display: block;
  padding-top: 100%;
  background-color: #F5F5F5;
  background-size: cover;
  background-position: center center;
}
.gallery.gallery-images-6 .gallery-item,
.gallery.gallery-images-5 .gallery-item,
.gallery.gallery-images-3 .gallery-item {
  width: 35%;
}
.gallery.gallery-images-6 .gallery-item-2,
.gallery.gallery-images-5 .gallery-item-2,
.gallery.gallery-images-3 .gallery-item-2 {
  width: 65%;
  float: right;
}
.gallery.gallery-images-6 .gallery-item-4 {
  width: 65%;
}
.gallery.gallery-images-6 .gallery-item-4 .image,
.gallery.gallery-images-6 .gallery-item-2 .image,
.gallery.gallery-images-5 .gallery-item-2 .image,
.gallery.gallery-images-3 .gallery-item-2 .image {
  padding-top: 107.9%;
}
.gallery.gallery-images-5 .gallery-item-4 {
  width: 60%;
}
.gallery.gallery-images-5 .gallery-item-4 .image {
  padding-top: 65%;
}
.gallery.gallery-images-5 .gallery-item-5 {
  width: 40%;
}
.gallery.gallery-images-5 .gallery-item-5 .image {
  padding-top: 98.7%;
}
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: .8;
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #CCC;
}
.mfp-preloader a:hover {
  color: #FFF;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: .65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.mfp-arrow {
  position: absolute;
  opacity: .65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: .7;
}
.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}
.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}
.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}
.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  background: #000;
}
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0;
  margin: 0 auto;
}
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  background: #444;
}
.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape),screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0,0,0,0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0,0,0,0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.fancybox-slide--html .fancybox-close-small {
	opacity: 1;
}
.fancybox-content {
	color: black;
	font-size: 20px;
	line-height: 32px;
}
.fancybox-slide--html .fancybox-close-small {
    padding: 7px !important;
}
.fancybox-button svg path {
    fill: black;
    stroke-width: 3px;
}
.fancybox-info {
	position: absolute;
    left: 20px;
    top: 0;
    z-index: 2;
}
.fancybox-close {
  position: fixed;
  left: 180px;
  bottom: 234px;
  width: auto;
  padding: 0;
  border-radius: 50px;
  background: white;
  z-index: 2;
}
  .fancybox-close .container-fluid {
    padding: 0;
  }
  .fancybox-close a {
    padding: 14px 20px;
  }
  .fancybox-close:hover {
    color: white;
    background: black;
  }
  .fancybox-close:hover a,
  .fancybox-close:hover .close-title {
    color: white !important;
  }
  .fancybox-close:hover svg {
    filter: invert(1);
  }
	.fancybox-close .close-title {
		display: inline-block;
    float: left;
    font-size: 18px;
    color: black;
    margin-right: 20px;
		vertical-align: middle;
	}
	.fancybox-close a {
	    display: inline-block;
	    vertical-align: middle;
	    text-decoration: none;
	}
		.fancybox-close svg {
		    vertical-align: middle;
	    }
	    .fancybox-close a:hover {
        
	    }
@media screen and (max-width: 991px) {
  .fancybox-close {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    background: #F6F6F6;
  }
    .fancybox-info {
        font-size: 1.13rem;
    }
}

@media only screen and (max-width: 575px) {
	.fancybox-content {
		padding: 44px 15px !important;
	}
	.fancybox-info {
     font-size: 0.8rem;
     line-height: 1rem;
     width: calc(100% - 50px);
  }
  .fancybox-close {
	  padding: 0;   
  }
    .fancybox-close a {
      padding: 14px 20px;    
    }
  
  .container-fluid {
    /* padding-right: 20px;
    padding-left: 20px; */
  }
    .row {
      margin-right: -20px;
      margin-left: -20px;
    }
      .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-left: 20px;
        padding-right: 20px;
      }
}

.pre-fade {
  /* opacity: 0;
  transition-property: opacity; */
  opacity: 0;
  /* transform: translateY(20px);
  transition: opacity 0.5s 0.5s, transform 0.5s 0.5s; */
  transition: opacity 0.5s 0.1s;
}

.pre-fade-no-delay {
  opacity: 0;
  transition: opacity 0.5s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
	-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
	   -moz-animation: fadein 1s; /* Firefox < 16 */
	    -ms-animation: fadein 1s; /* Internet Explorer */
	     -o-animation: fadein 1s; /* Opera < 12.1 */
	        animation: fadein 1s;
}

/* Animations */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1 !important; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1 !important; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1 !important; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1 !important; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1 !important; }
}

.fade-in-slide {
  -webkit-animation: fadeinslide 1s;
     -moz-animation: fadeinslide 1s;
      -ms-animation: fadeinslide 1s;
       -o-animation: fadeinslide 1s;
          animation: fadeinslide 1s;
 
}

@keyframes fadeinslide {
    from { 
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(30px);
      transform: translateY(30px);
      opacity: 0;
    }
    to   {
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadeinslide {
    from { 
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(30px);
      transform: translateY(30px);
      opacity: 0;
    }
    to   {
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeinslide {
    from { 
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(30px);
      transform: translateY(30px);
      opacity: 0;
    }
    to   {
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadeinslide {
    from { 
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(30px);
      transform: translateY(30px);
      opacity: 0;
    }
    to   {
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadeinslide {
    from { 
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(30px);
      transform: translateY(30px);
      opacity: 0;
    }
    to   {
      -webkit-transition: all 600ms ease;
      transition: all 600ms ease;
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}