@font-face {
  font-family: 'Palatino';
  src: url('font/Palatino.eot?#iefix') format('embedded-opentype'),  url('font/Palatino.woff') format('woff'), url('font/Palatino.ttf')  format('truetype'), url('font/Palatino.svg#Palatino') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'Titillium Web', sans-serif;
    padding: 0px;
    margin: 0px;
    color: #4a4a4a;
    padding-top: 34px;
    transition: all 300ms ease;
    background: #fff;
}

body.dark {
    background: #181818;
    color: #9b9b9b;
}

.dark #top {
    background: #181818;
}

.dark #search input {
    background-color: #181818;
    color: 
}

.dark .line {
    background: #4a4a4a;
}

.dark .dot {
    background: #4a4a4a;
}

h1 {
    font-size: 36px;
    font-weight: bold;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clr {
    clear: both;
}

.center {
    max-width: 1440px;
    margin: 0px auto;
}

.narrow {
    max-width: 1110px;
}

.alignright {
    float: right;
}

.col25 {
    float: left;
    width: 250px;
    margin-right: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.col25 img {
    width: 90%;
}

#top {
    height: 40px;
    width: 100%;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-bottom: solid 1px #000000;
    line-height: 40px;
    position: relative;
    z-index: 99;
    background: #fff;
    position: fixed;
    margin-top: -34px;
    transition: all 300ms ease;
}

.logo {
    height: 33px;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -1px;
}

#top .title {
    width: 310px;
    height: 33px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 11px;
    color: #000000;
    margin-left: 20px;
    display: block;
    text-decoration: none;
    transition: all 300ms ease;
}

#top .open {
    margin-left: 15px;
}

.dark #top .title {
    color: #9b9b9b;
}

#top .right {
    font-weight: bold;
    margin: 0px;
    margin-right: 15px;
    padding: 0px;
    list-style: none;
}

#top .right li{
    float: left;
    
}

#top .right li a {
    text-decoration: none;
    color: inherit;
    transition: all 500ms linear;
}

#top .right li::after{
    content: '|';
    margin-right: 5px;
    margin-left: 5px;
}

#top .right li:last-of-type::after{
    display: none;
}

#top .right li a:hover {
    color: #f5a623;
}

.banner {
    height: 180px;
    position: relative;
}

.banner-line {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-bottom: solid 1px #000000;
    position: relative;
}

.switch-box {
    width: 36px;
    height: 21px;
    border-radius: 50px;
    box-shadow: inset -2px 2px 3px 0 rgba(0, 0, 0, 0.5);
    background-color: transparent;
    position: absolute;
    top: 10px;
    right: 440px;
    cursor: pointer;
    border: 2px solid #9b9b9b;
}

.switch {
    width: 15px;
    height: 15px;
    background-color: #9b9b9b;
    border-radius: 50%;
    margin-left: 3px;
    margin-top: 3px;
    transition: all 300ms ease;
}

.switch-title {
    text-align: center;
    width: 50px;
    position: absolute;
    right: 380px;
    font-size: 14px;
    top: 11px;
    color: #bdbdbd;
}

.switch-box.active .switch{
    margin-left: 18px;
    background-color: #9b9b9b;
}

.banner2 {
    height: 157px;
    display: none;
    overflow: hidden;
    cursor: pointer;
}

.cross {
    float: left;
    height: 15px;
    width: 11px;
    position: relative;
    transition: transform 300ms ease, opacity 200ms ease 300ms;
}

.cross span{
    position: absolute;
    top: 0px;
    transition: all 300ms ease;
}

.cross.anime span{
    transform: rotate(360deg);
    opacity: 0;
}

.menu-line {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-bottom: solid 1px #000000;
    position: relative;
}

#search {    
    width: 350px;
    position: absolute;
    right: 0px;
    top: 0px;
}

#search input {
    height: 33px;
    padding: 5px 5px 5px 45px;
    width: 308px;
    font-size: 12px;
    font-weight: 600;
    background: #000;
    background-image: url('img/search-ico.png');
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: 22px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    transition: all 300ms ease;
    border-right: 0px;
    color: #9b9b9b;
    outline: 0px;
    border-left: 1px solid;
}

::-webkit-input-placeholder { /* Edge */
    font-size: 12px;
    font-weight: 600;
    color: #9b9b9b;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-size: 12px;
    font-weight: 600;
    color: #9b9b9b;
}

::placeholder {
    font-size: 12px;
    font-weight: 600;
    color: #9b9b9b;
}

#menu {
    list-style: none;
    background: #000;
    height: 44px;
    margin: 0px;
    padding: 0px;
}

#menu li{
    float: left;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #9b9b9b;
    text-transform: uppercase;
    padding: 5px 52px;
    transition: all 300ms ease;
    cursor: pointer;
}

#menu li:hover, #menu li.active{
    background: #f5a623;
    color: #000;
}

#menu li[data-id="ex"]:hover {
    background: #f96e01;
}

#menu li[data-id="pr"]:hover {
    background: #f93901;
}

#slider {
    height: 616px;
    background: #ededed;
    overflow: hidden;
}

#slider img{
    object-fit: cover;
    height: 616px;
}

.slick-dots {
    bottom: 20px !important;
}

.slick-dots li button {
    width: 22px !important;
    height: 22px !important;
    border: solid 3px #ffffff !important;
    background-color: #000000 !important;
}

.slick-dots .slick-active button {
   background-color: #fff !important; 
}

.slick-dots li button::before {
    display: none;
}

.slick-arrow {
    height: 68px !important; 
    width: 29px !important; 
    background: url(img/arrow.svg) !important;  
    top: 40% !important;  
}

.slick-prev.slick-arrow {
    transform: rotate(180deg);
    left: -60px !important; 
    margin-top: -34px;
}

#slider .slick-arrow {
    background: url(img/arrow-white.svg) !important;  
    height: 70px !important;
    width: 31px !important;
}

#slider .slick-next.slick-arrow {
    right: 100px !important; 
}

#slider .slick-prev.slick-arrow {
    left: 100px !important;  
    z-index: 2;
}

.slick-arrow::before {
    display: none !important;
}

.carousel {
    margin: 0px auto 85px;
}

.box {
    width: 333px !important;
    transition: all 400ms linear;
    position: relative;
}

.img-box{
    width: 333px;
    height: 333px;
    overflow: hidden;
    position: relative;
}

.box h2{
    margin-top: 15px;
    margin-bottom: 0px;
    clear: both;
    line-height: 30px;
}

.box .sub-title {
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    margin-top: 10px;
}

.box a{
    color: inherit;
    text-decoration: none;
}

.line {
    width: 100%;
    height: 1px;
    background: #000;
    position: relative;
    margin: 10px 0px;
    transition: all 400ms linear;
}

.dot{
    width: 7px;
    height: 7px;
    background: #000;
    margin-top: -3px;
    position: absolute;
    right: 0px;
    will-change: auto; 
    transition: all 400ms linear;
}

.content h2 {
    border-bottom: 1px solid #000;
    width: 520px;
    position: relative;
}

.page .content p {
    width: 520px;
}

.page .content p.wide {
    width: 100%;
}

.page .content p.landscape {
    width: 100%;
}

.page .content p.landscape img{
    width: 100%;
    height: auto;
}

.quote {
    font-size: 24px;
    line-height: 34px;
    padding: 15px 0px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    font-family: 'Palatino'; 
    font-style: italic;
}

.content h2::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #000;
    margin-top: -3px;
    position: absolute;
    right: 0px;
    bottom: -4px;
}

.box:hover .dot{
    right: 327px;
}

.tag-box a{
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    padding: 7px 9px;
    background-color: rgba(65, 117, 5, 0.61);
    margin: 3px 0px 3px 0px;
    color: #000;
    text-decoration: none;
}

#footer {
    min-height: 270px;
    padding-top: 46px;
    width: 100%;
    background: #000;
    color: #9b9b9b;
    padding-bottom: 20px;
    position: relative;
}

.footer-logo {
    margin-bottom: 15px;
}

.col33{
    float: left;
    width: 333px;
}

.col33 h2{
    width: 333px;
}

.content .col33 {
    margin-right: 37px;
}

#footer .col33 {
    border-right: 1px solid #979797;
}

#footer .col33:nth-child(3) {
    border-right: 0px solid #979797;
    padding-left: 55px;
    padding-top: 15px;
}

#footer .row{
    margin-bottom: 30px;
}

#footer .fb {
    margin-right: 22px;
}

#footer ul {
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 28px;
}

.footer-menu a {
    text-decoration: none;
    color: inherit;
}

#footer span {
    font-size: 12px;
}

#map {
    width: 335px;
    height: 200px;
}

/* SINGLE */

.single, .page {
    padding-top: 63px;
}

.single .left {
    width: 333px;
    margin-right: 46px;
}

.single .left img:first-child {
    margin-top: 0px;
}

.single .left img {
    margin-top: 72px;
    max-width: 100%;
}

.single .right {
    text-align: left;
    width: calc(100% - 379px);
}

.single .right h1{
    margin-top: 0px;
    line-height: 36px;
}

.single .excerpt {
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}

.single .tag-box {
    min-height: 32px;
    margin-top: 90px;
}

.price-box {
    background-color: #dad9da;
    padding: 10px 15px;
    clear: both;
    font-size: 16px;
    font-weight: bold;
    margin-top: 13px;
    display: inline-block;
}

.price-box p{
    margin: 0px;
}

.single {
    padding-bottom: 200px;
}

.page {
    margin-bottom: 30px;
}

.page.kepes .row .box {
    width: 222px !important;
    float: left;
    margin-right: 74px;
}

.page.kepes .row .box .img-box{
    width: 222px;
    height: 222px;
    overflow: hidden;
    position: relative;
}

.img-box img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
}

.img-box img.portrait{
    max-height: initial;
    max-width: 100%;
}

.page.kepes .row .box:hover .dot {
    right: 222px;
}

.page.kepes .row .box:last-of-type {
    margin-right: 0px;
}

.page h1 {
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 36px;
} 

.page h3 {
    margin-top: 10px;
}

.page .content .aligncenter{
    width: 100%;
    height: auto;
}

.page .more {
    text-decoration: underline;
}

.category .box {
    margin-right: 55px;
    margin-bottom: 55px;
    float: left;
    min-height: 500px;
}

.category .box:nth-child(3n) {
    margin-right: 0px;
}

.result a{
    color: inherit;
}

.research-text {
    margin-top: 15px;
    font-size: 14px;
    height: 150px;
}

.research-text p{
    display: inline;
    text-align: left;
}

.research-img {
    height: 300px;
    width: 100%;
}

#infoblokk {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.gallery-item img {
    height: 185px;
    width: auto;
}

.members .research-img{
    height: 222px;
    width: 222px;
}

.members .research-img img {
    height: 100%;
    width: auto;
}

.member-text {
    width: 182px;
    padding: 20px;
    background: #e6e6e6;
}

#hamburger {
  color: #353738;
  position: absolute;
  right: 20px;
    top: 8px;
  display: none;
  z-index: 5;
  cursor: pointer;
  width: 35px;
  height: 30px;
}

#nav-toggle span {
  top: 0px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 4px;
  width: 35px;
  background: #000;
  position: absolute;
  display: block;
  content: '';
}

#nav-toggle span:before {
  top: 10px;
}

#nav-toggle span:after {
  bottom: -20px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 500ms ease-in-out;
}

#nav-toggle.active span:before, #hamburger:active #nav-toggle span:before {
  background-color: transparent;
}

#nav-toggle.active span:after, #hamburger:active #nav-toggle span:after {
  transform: rotate(90deg);
  bottom: 0;
}

#nav-toggle.active span, #hamburger:active #nav-toggle span {
  transform: rotate(-45deg);
  top: 10px;
}

.mob-item {
    display: none;
}


@media screen and (max-width: 1200px) {
    .carousel {
        width: 800px;
    }
    
    #search {
        width: 150px;
    }
    
    #search input {
        width: 108px;
    }
    
    .switch-box {
        right: 240px;
    }
    
    .switch-title {
        right: 180px;
    }
}

@media screen and (max-width: 1200px) {
    .carousel {
        width: 333px;
    }
}

@media screen and (max-width: 1080px) {
    #hamburger {
        display: block;
    }
    
    #top .right {
        font-weight: bold;
        margin: 0px;
        margin-right: 0;
        padding: 10px;
        list-style: none;
        background: #fff;
        position: absolute;
        right: -200px;
        top: 42px;
    }
    
    #top .right li {
        float: none;
    }
    
    #top .right li::after {
        content: '';
        margin-right: 5px;
        margin-left: 5px;
    }
}

@media screen and (max-width: 1020px) {
    
    
    #menu li {
        padding: 5px 15px;
    }
}

@media screen and (max-width: 800px) {
    
    #menu li{
        display: none;
    }
    
    .mob-item {
        display: block;
        text-transform: uppercase;
    }
    
    .col33 {
        float: none;
        width: 333px;
        margin: 0px auto;
        border: 0px !important;
    }
    
    #footer ul {
        padding-left: 0px;
    }
}

@media screen and (max-width: 625px) {
    .open {
        display: none;
    }
    
    #footer span {
        font-size: 12px;
        width: 50%;
        display: block;
        margin-left: 10px;
    }
        #footer .row {
        margin-bottom: 100px;
    }
    
    .slick-arrow {
        display: none !important;
    }
    #slider, #slider img {
        height: 316px;
    }
    
    .banner2 {
        height: 100px;
    }
    
    .center {
        padding: 20px;
    }
    
    .page.kepes .row .box {
        width: 222px !important;
        float: none;
        margin: 0px auto 20px;
    }
    
    .page.kepes .row .box:last-of-type {
        margin-right: auto !important;
    }
}