/*
 Theme Name:   Theme from Denis
 Description:  Wordpress Theme From Denis
 Author:       Denis R
 Version: 1.1
*/

  :root {
    --green: #00483A;
    --mauve: #5A4397;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  @font-face {
    font-family: 'Calibre';
    src: url('fonts/CalibreLight.otf') format("opentype");
    font-weight: 300;
    font-style: normal;
  }

  @font-face {
    font-family: 'Calibre';
    src: url('fonts/CalibreMedium.otf') format("opentype");
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: 'Calibre';
    src: url('fonts/CalibreRegular.otf') format("opentype");
    font-weight: 400;
    font-style: normal;
  }

  html,
  body {
    font-family: "Calibre";
    font-weight: 400;
    font-size: 22px;
    color: #000;
    line-height: normal;
    min-height: 100vh;
  }

  .color-l {
    color: #808080;
  }

  strong {
    color: #000;
    font-weight: 400;
  }

  em {
    font-weight: 300;
  }

  body {
    position: relative;
  }

  a {
    color: currentColor;
    text-decoration: none !important;
  }

  a:hover {
  }

  img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
  }

  button {
    cursor: pointer;
  }

  h1, h2, h3, h4, h6 {
    font-weight: 400;
  }

  .h1, h1 {
    font-size: 55px;
    line-height: 64px;
  }

  .h2, h2 {
    font-size: 38px;
    line-height: 47px;
  }
  
  .h2.bold, h2.bold {
    font-weight: 500;
  }

  .h3, h3 {
    font-size: 28px;
    line-height: 35px;
  }

  h4, .h4 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
  }

  .h4 {
    line-height: 30px;
    font-weight: 300;
  }

  .container {
    padding: 0 40px;
  }

  .container.container-nopad {
    padding: 0 10px;
  }

  .flexed {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .flexed--between {
    justify-content: space-between;
  }

  .flexed--around {
    justify-content: space-around;
  }

  .flexed--top {
    align-items: flex-start;
  }
  
  .flexed--bottom {
    align-items: flex-end;
  }

  .flexed--center {
    justify-content: center;
  }

  .flexed--full > div {
    flex: 1;
  }

  .rel {
    position: relative;
  }

  header .menu li {
      display: block;
  }

  header {
      padding: 30px 0 22px;
      position: sticky;
      top: 0;
      z-index: 3;
      background: white;
  }

  .header-slogan {
      max-width: 404px;
      width: 100%;
  }

  .logo {
      gap: 50px;
  }

  .menu-opener button {
      text-indent: -99999px;
      background: none;
      position: relative;
      width: 48px;
      height: 45px;
      border: none;
      z-index: 3;
  }

  .menu-opener button:before, 
  .menu-opener button:after {
      content: '';
      position: absolute;
      border-bottom: 1px solid currentColor;
      width: 100%;
      bottom: 4px;
      background: #000;
      left: 0;
      transition: 0.2s;
      transform-origin: center;
  }

  .menu-opener button:hover:before, 
  .menu-opener button:hover:after {
    transform: scale(0.75, 1);

  }

  .menu-opener button:after {
      bottom: 23px;
  }

  .header-menu {
      position: fixed;
      right: 0;
      top: 0;
      height: 100%;
      width: 50%;
      z-index: 2;
      padding: 7rem 6rem 6rem;
      background: #000;
      color: #fff;
      font-size: 45px;
      line-height: 52px;
      font-weight: 500;
      transition: 0.4s;
      transform: translateX(100%);
  }

  .header-menu.active {
    transform: translateX(0%);
  }

  .admin-bar .header-menu {
      top: 32px;
  }

  form.wpcf7-form {
      position: relative;
      z-index: 1;
  }

  .header-menu li {
      margin-bottom: 40px;
  }

  header .menu li a {
      position: relative;
  }

  header .menu li a:after {
      content: '';
      width: 0;
      height: 1px;
      left: 0;
      background: #fff;
      transition: 0.3s;
      position: absolute;
      bottom: 10px;
  }

  header .menu li a:hover:after {
      width: 100%;
  }

  .menu-opener.active button:before, .menu-opener.active button:after {
      border-color: #fff;
      transform: rotate(45deg) scale(0.75);
      transform-origin: 89%;
  }

  .menu-opener.active button:after {
      transform: rotate(-45deg) scale(0.75);
  }

  .admin-bar header {
      top: 32px;
  }

  .footer-sub form.wpcf7-form p > span:first-child {
      display: block;
      margin-top: 12px;
  }

  .footer-sub form.wpcf7-form p > span:first-child input::placeholder {
    font-weight: 300;
    font-family: inherit;
  }

  .footer-sub form.wpcf7-form p > span:first-child input {
      width: 100%;
      padding: 10px 0;
      border: none;
      border-bottom: 1px solid currentColor;
      font-size: 25px;
      font-weight: 300;
      color: currentColor;
      background: none;
  }

  .footer-sub form.wpcf7-form p input[type="submit"] {
      position: absolute;
      right: 0;
      bottom: 40px;
      background: none;
      border: none;
      font-size: 25px;
      font-weight: 300;
      font-family: inherit;
      cursor: pointer;
      color: currentColor;
  }

  .footer-sub form.wpcf7-form p {
      position: relative;
  }

  .wpcf7-not-valid-tip {
      position: absolute;
      font-size: 16px;
      bottom: -20px;
  }

  .wpcf7 form .wpcf7-response-output {
      margin: 0 0 15px;
      padding: 10px 20px 5px;
      text-align: center;
      font-size: 16px;
  }

  .footer-main {
      margin: 100px 0;
  }

  .footer-main h2 {
      margin-bottom: 10px;
  }

  .footer-contact h4 {
      font-size: 35px;
      font-weight: 300;
  }

  .footer-contacts {
      font-weight: 300;
  }

  .footer-contact p {
      margin-bottom: 20px;
  }

  .footer-contact p a {
      border-bottom: 1px solid currentColor;
  }

  ul.footer-social li {
      display: block;
      text-transform: lowercase;
  }
  
  .linked a,
  ul.footer-social li a {
      position: relative;
  }
  
  .linked a:after,
  ul.footer-social li a:after {
      content: '';
      width: 0;
      border-bottom: 1px solid #000;
      transition: 0.2s;
      position: absolute;
      bottom: 5px;
      left: 0;
  }
  
  .linked a:hover:after,
  ul.footer-social li a:hover:after {
      width: 100%;
  }

  .footer-bottom {
      font-size: 15px;
  }

  .footer-bottom-right {
      text-align: right;
  }

  .footer-bottom a {
      border-bottom: 1px solid currentColor;
  }

  .expo-top-gall.gall {
      display: flex;
      height: 550px;
      max-width: 100%;
      overflow: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
  }

  .expo-top-gall.gall::-webkit-scrollbar {
    display: none;
  }

  .expo-top-gall img {
      height: 100%;
      max-width: 48vw;
      object-fit: cover;
  }

  .expo-top-gall.oneimg img {
      max-width: 100%;
      width: 100%;
      height: 550px;
      object-position: top;
  }

  main.expo-main {
      padding-top: 50px;
      padding-bottom: 200px;
  }

  .expo-meta-inner h3 {
      font-weight: 300;
  }

  .expo-dates {
      font-size: 35px;
      line-height: 46px;
      font-weight: 300;
  }

  .expo-date:first-child {
      display: inline-block;
      position: relative;
  }

  .expo-date:first-child:after {
      content: '—';
      font-weight: 400;
  }

  .expo-main-inner {
      align-items: stretch;
      gap: 60px;
  }

  .expo-meta-inner {
      position: sticky;
      top: 142px;
      padding-bottom: 50px;
  }

  .admin-bar .expo-meta-inner {
      top: 174px;
  }

  .expo-main-text {
      padding-top: 45px;
  }

  .expo-main-text p, 
  .expo-main-text ul {
      margin-bottom: 70px;
  }

  .expo-main-text ul li {
      margin-left: 15px;
      margin-bottom: 25px;
  }

  .expo-main-text a {
    text-decoration: underline !important;
  }

  .expo-related-list {
      gap: 27px;
      padding-top: 35px;
  }

  .expo-item-img {
      aspect-ratio: 3 / 4;
      overflow: hidden;
  }

  .expo-item-img a, .expo-item-img a img {
      display: block;
      height: 100%;
      object-fit: cover;
      transition: 0.5s;
      transform-origin: right top;
  }

  .expo-item-img a:hover img {
      transform: scale(1.2);
  }

  .expo-related {
      padding-top: 45px;
  }

  .expo-item-author {
      padding-top: 40px;
      font-weight: 300;
  }

  .expo-item-dates {
      font-size: 34px;
      line-height: 46px;
      font-weight: 300;
  }

  .expo-item-date:first-child:after {
      content: '—';
      font-weight: 400;
  }

  .expo-gallery {
      font-size: 22px;
      line-height: 32px;
      padding-top: 30px;
  }

  .expo-gallery a {
      font-weight: 300;
  }

  .hometop-img {
      aspect-ratio: 92 / 42;
  }

  .hometop-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .hometop-inner {
      position: relative;
  }

  .hometop-info {
      position: absolute;
      right: 0;
      width: 50%;
      bottom: 0;
      background: #fff;
      padding: 41px 55px 21px;
  }

  .expo-link {
      margin-top: 25px;
  }

  .home-news {
      margin-top: 60px;
  }

  .home-news-inner {
      gap: 30px;
      align-items: stretch;
  }

  .home-news-item {
      color: #fff;
      padding: 50px;
  }

  .home-news-title {
      font-size: 45px;
      line-height: 52px;
  }

  .home-news-subtitle {
      font-size: 35px;
      line-height: 42px;
      font-weight: 300;
  }

  .home-news-text {
      font-weight: 300;
      padding-top: 70px;
  }

  .home-news-text p {
      margin-top: 30px;
  }

  .home-news-inner.home-news-2 > div, .home-news-inner.home-news-1 > div {
      flex: 1;
      max-width: 100%;
  }

  .home-news-item {
      max-width: 680px;
  }

  .home-fut {
      margin-top: 165px;
  }

  .home-fut-item {
      margin-top: 50px;
  }

  .home-fut-top a {
      font-weight: 300;
      border-bottom: 1px solid currentColor;
      line-height: 10px;
      display: inline-block;
  }

  .expo-item-inline > div {
      flex: 1;
  }

  .expo-item-inline .expo-item-img {
      aspect-ratio: 3 / 2;
  }

  .expo-item-inline {
      gap: 70px;
  }

  .expo-item-inline .expo-item-img img {
      height: 100%;
      width: 100%;
      object-fit: cover;
  }

  .home .expo-related {
      padding-top: 170px;
  }

  .home-about-inner {
      max-width: 1220px;
      font-size: 45px;
      padding: 250px 0;
  }

  .home-news-inner {
      flex-wrap: nowrap;
      overflow: auto;
  }

  .home-news-item {
      flex-shrink: 0;
  }

  .home-news {
      overflow: hidden;
  }

  .expo-item.expo-related-item {
      width: calc(33% - 15px);
  }

  body:not(.home):not(.single-expositions) .expo-related-list:after {
      content: '';
      width: calc(33% - 15px);
  }

  .projects-list {
      margin-top: 200px;
  }

  .projects-list-inner {
      padding-top: 10px;
  }

  .project-item {
      margin-top: 30px;
      background: #EDEDED;
      padding: 20px 40px;
      position: relative;
      transition: 0.3s;
  }

  .project-item-date {
      font-size: 34px;
      font-weight: 300;
  }

  .project-item-title {
      font-size: 45px;
  }

  .project-item-author {
      font-size: 35px;
      font-weight: 300;
  }

  .project-item-link a {
      padding: 10px 20px 3px;
      border: 1px solid currentColor;
      border-radius: 40px;
  }

  .project-item-link-info {
      text-align: right;
  }

  .project-item-link-text {
      font-weight: 300;
      margin-top: 5px;
  }

  a.abs-link {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      text-indent: -99999px;
  }

  .project-item:hover {
      background: #00483A;
      color: #fff;
  }

  .cats-dates {
      padding: 120px 0 200px;
  }

  .cat-date {
      width: calc(33% - 10px);
  }

  .cats-dates-inner-list:after {
      content: '';
      width: calc(33% - 10px);
  }

  .cats-dates-inner-list {
      padding-top: 40px;
      gap: 20px;
  }

  body.single-workshop, body.single-workshop header {
      background: #00483A;
      color: #fff;
  }

  .logo img + img {
      display: none;
  }

  .single-workshop .logo img + img {
      display: block;
  }

  .single-workshop .logo img {
      display: none;
  }

  .single-workshop .menu-opener button:before, .single-workshop .menu-opener button:after {
      color: #fff;
  }

  .workshop-author h3 {
      font-weight: 300;
  }

  .workshop-main {
      padding-top: 60px;
      padding-bottom: 200px;
  }

  .workshop-link a {
      padding: 10px 20px 3px;
      border: 1px solid currentColor;
      border-radius: 40px;
  }

  .workshop-meta-line h1 {
      flex: 1;
      line-height: 60px;
  }

  .workshop-link {
      margin-top: 10px;
  }

  .workshop-meta-line {
      gap: 20px;
  }

  .workshop-dates {
      font-size: 35px;
      font-weight: 300;
      line-height: 46px;
      margin-top: 10px;
  }

  .workshop-add-infos {
      gap: 30px;
      margin-top: 50px;
  }

  .workshop-add-info {
      width: calc(50% - 30px);
  }

  .workshop-add-info h3 {
      font-weight: 300;
      margin-bottom: 30px;
  }

  .workshop-add-info p {
      margin-bottom: 20px;
  }

  .workshop-add-info ul {
      margin-left: 15px;
  }

  .workshop-add-info a {
      text-decoration: underline !important;
  }

  .workshop-content {
      gap: 150px;
  }

  .single-workshop .footer-top-right {
      margin-left: 150px;
  }

  .workshop-content .h1 {
      padding-bottom: 50px;
      border-bottom: 2px solid currentColor;
      margin-bottom: 140px;
  }

  .workshop-content-text h3 {
      font-weight: 300;
      margin-bottom: 30px;
  }

  .workshop-content-text p {
      margin-bottom: 50px;
  }

  footer {
      padding-bottom: 15px;
  }

  .workshop-content-text {
      font-weight: 300;
  }

  .contact-inner {
      padding: 130px 0;
  }

  .contact-working-hours {
  }

  .contact-working-hours-list {
      max-width: 445px;
      font-weight: 300;
  }

  .contact-address p {
      font-weight: 300;
      margin-bottom: 20px;
  }

  .contact-working-hours p {
      margin-bottom: 20px;
  }
  .about-top-left h1 {
      max-width: 750px;
  }

  .about-top-inner {
      padding-top: 100px;
      font-weight: 300;
  }

  .about-contents {
      padding-top: 100px;
  }

  .about-contents ul {
      margin-left: 0;
      margin-top: 20px;
  }

  .about-contents ul li {
      display: block;
      margin: 5px 0;
  }

  .about-contents ul li a:before {
      content: '';
      width: 54px;
      height: 18px;
      background: url('arrow-h.svg') 50% 50% no-repeat;
  }

  .about-contents ul li a {
      display: inline-flex;
      gap: 18px;
      transition: 0.2s;
  }

  .about-contents ul li a:hover {
      transform: translateX(10px);
  }

  .about-gallery {
      padding-top: 150px;
  }

  .alignleft {
      float: left;
      margin-right: 15px;
      margin-bottom: 60px;
  }

  div#history {
      font-weight: 300;
      padding-top: 350px;
  }

  div#history h2 {
      margin-bottom: 20px;
  }

  div#history p {
      margin-bottom: 15px;
  }

  div#team {
      clear: both;
      padding-top: 250px;
      gap: 100px 20px;
  }

  .wp-caption-text {
      font-size: 23px;
      margin: 10px 0 20px;
  }

  .team-m {
      width: calc(50% - 20px);
  }

  .team-img img {
      width: 100%;
  }

  div#members {
      padding-top: 150px;
      font-weight: 300;
  }

  div#members h2 {
      margin-bottom: 20px;
  }

  div#partners {
      padding: 150px 0 250px;
  }

  .patners-img img {
      width: 100%;
  }

  .about-gallery-inner img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
  }

  .about-gallery-inner {
      position: relative;
  }

  .about-gallery-inner img.active {
      position: relative;
      opacity: 1;
      visibility: visible;
  }

  .about-gallery-arrows {
      justify-content: flex-end;
      margin-top: 10px;
      gap: 5px;
  }

  .about-gallery-arrows button {
      font-size: 20px;
      padding: 5px 10px 7px;
  }

  .workshop-document a {
      padding: 10px 20px 3px;
      display: inline-block;
      border-radius: 40px;
      border: 1px solid #FFF;
      transition: 0.3s;
  }

  .workshop-document a i {
      padding-left: 5px;
      font-size: 20px;
  }

  .workshop-documents-list {
      gap: 20px;
  }

  .workshop-document a:hover {
      background: #fff;
      color: #00483a;
  }

  .workshop-documents {
      margin-top: 40px;
  }

  .workshop-documents h3 {
      font-weight: 300;
      margin-bottom: 10px;
  }

  .no-call-projs {
      background: #EDEDED;
      padding: 75px 40px;
      margin-top: 65px;
      font-weight: 300;
  }

  .no-call-projs h2 {
      margin: 8px 0 5px;
  }

  .no-call-projs a {
      display: inline-block;
      border: 1px solid currentColor;
      padding: 12px 20px 5px;
      margin-top: 30px;
      border-radius: 40px;
      transition: 0.3s;
  }

  .no-call-projs a:after {
      content: '\f107';
      font-family: fontAwesome;
      padding-left: 10px;
  }

  .no-call-projs a:hover {
      background: #000;
      color: #fff;
  }

  .workshops-top {padding: 60px 0 55px;}

  .workshops-feat-cat {
      font-size: 35px;
      font-weight: 300;
      padding-bottom: 70px;
  }

  .workshop-top-text {
      max-width: 800px;
      font-weight: 300;
  }

  .workshops-list {
      padding-bottom: 200px;
  }

  .workshop-item {
      padding: 50px 0;
  }

  .workshop-img {
      overflow: hidden;
      margin-bottom: 80px;
  }

  .workshop-img img {
      transition: 0.4s;
  }

  .workshop-img a:hover img {
      transform: scale(1.2);
  }

  .workshop-item-author {
      font-weight: 300;
  }

  .workshop-item-link a {
      border: 1px solid #000;
      padding: 10px 15px 5px;
      border-radius: 20px;
      transition: 0.3s;
  }

  .workshop-item-link a:hover {
      background: #000;
      color: #fff;
  }

  .workshop-meta {
      align-self: stretch;
  }

  .workshop-meta-inner {
      position: sticky;
      top: 190px;
  }

  .conact div#team {
      padding-top: 0;
      padding-bottom: 200px;
  }

  .expo-links {
      gap: 20px;
  }

  .expo-links a {
      border: 1.5px solid currentColor;
      padding: 9px 15px 5px;
      border-radius: 20px;
      transition: 0.3s;
  }

  .expo-links a:hover {
      background: #000;
      color: #fff;
  }

  .workshop-link a {
      transition: 0.3s;
  }

  .workshop-link a:hover {
      background: #fff;
      color: #00483a;
  }

  .expo-item-title a {
      transition: 0.3s;
  }

  .expo-item-title a:hover {
      opacity: 0.6;
  }

  .hometop-img {
      overflow: hidden;
  }

  .hometop-img a:hover img {
      transform: scale(1.1);
  }

  .hometop-img a img {
      transition: 0.4s;
  }

  .hometop-info .expo-link a {
      transition: 0.3s;
  }

  .hometop-info .expo-link a:hover {
      padding: 0 10px;
  }