﻿
main.main-content {
    padding: 73px 0 20px 0;
    margin-top:0px !important;
}

.about-page .content {
    margin-top: 10px;
    table-layout: fixed;
    min-height: unset;
}

.about-page .table {
    width: 100%;
    display: table;
}

    .about-page .table > * {
        display: table-cell;
    }

.about-page .content > :last-child {
    padding-left: 45px;
    vertical-align: top;
}

.about-page h2 {
    font-size: 1.6667em;
    color:#131313;
}

.about-page .content .wp-content .p1 {
    font-size: 1.4em;
    line-height: 1.9;
    color: #675757
}

.project-item {
    width: 960px;
    height: 535px;
    display: block !important;
    float: none !important;
    top: 0 !important;
    left: 0 !important;
    position: relative !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 100% !important;
    margin-top: 41px;
    margin-bottom: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
    text-align: start !important
}
.project-item:first-child{
    margin-top:0px;
}

.project-item .hr{
    position:absolute;
    border-top:1px solid #b1a5a5;
    left:0;
    right:0%;
    top:-21px;
}

.project-slide {
    padding: 0;
    direction: ltr;
    margin: 0;
    zoom: 1;
    opacity: 1 !important;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.project-slide:hover .slider-dir a{
    opacity:1;
    width:30px;
}

.slider-dir{
    position:absolute;
    top:50%;
    left:0;
    transform:translateY(-50%);
    width:100%;
    z-index:2;
}

.slider-dir a{
    text-decoration: none;
    top: 50%;
    /*color: rgba(255,255,255,.8)!important;*/
    color: #131313 !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,.3);
    transition: all .3s ease;
    width: 0px;
    height: 30px;
    opacity: 0;
    display:block;
    cursor:pointer;
    font-size:20px;
}

.slider-dir a.dir-left{
    float:left;
    text-align:right;
}
.slider-dir a.dir-right{
    float:right;
}

.slider-dir a i{
    color:#fff
}

.project-slide ul {
    height: 100%;
    zoom: 1;
}

.project-slide ul li{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    float: left;
    margin-right: -100%;
    position: relative;
    opacity: 0;
    display: block;
    z-index: 2;
    text-align:center;
    transition: opacity 1.5s ease;
    height: 100%;
    overflow: hidden;
    text-align: center;
}
.project-slide ul li.active{
    opacity:1;
}

.project-slide ul li img{
    height:535px;
}

.footer-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    height: 60px;
/*    background-color: rgba(0, 0, 0, 0.5);*/
    z-index: 2;
    text-align: center;
    font-size: 1.3em;
    line-height: 0.8;
    font-weight: 600;
}
.layover {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.25);
    display: block;
}

@media (max-width: 1170px) {
    .slider-dir a {
        opacity: 1;
        width: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-name{
        font-size:1.0em;
        line-height:1.5;
        padding:10px 0;
        height:40px;
    }
}
@media (max-width: 768px) {
    .footer-name {
        font-size: 0.7em;
        line-height: 1.0;
        padding: 10px 0;
        height: 30px;
    }
    .about-page .table{
        padding-left:20px;
        padding-right:20px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 479px) and (orientation: portrait) {
    .project-item {
        width: auto;
        height: 250px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        clear: both;
    }
}
@media only screen and (min-device-width: 480px) and (max-device-width: 640px) and (orientation: landscape){
    .project-item {
        width: auto;
        height: 250px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        clear: both;
    }
}