.fadein{
    /*opacity: 0;*/
}
:root{
    --custwidth: 100px;
}

#maingallery{
    width: 100%;
    height: 100%;
    height: 1000px;
    position: relative;
}
#maingalleryA,
#maingalleryB{
    height: 1000px;
    transition: 1.2s;
    overflow: hidden;
    position: relative;
}
#maingalleryA{
    float: left;
    width: 100%;
}
#maingalleryB{
    float: left;
    width: 0%;
}
.maingalleryImg{
    max-width: 100%;
}
.maingalleryHolder{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 1s;
    transition-delay: 0.3s;
    white-space: nowrap;
    opacity: 0;
    font-size: 50px;
    color: #fff;
    text-shadow: 0px 0px 2px #000;
}
#maingalleryMore{
    position: absolute;
    bottom: 60px;
    left: 50%;
    width: 80px;
    height: 60px;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-size: 20px;
}

/*      About US    */

#onas{
    margin-top: 150px;
    width: 100%;
    min-height: 800px;
}
#onas_left{
    width: 50%;
    height: 100%;
    float: left;
    min-height: 800px;
    padding-right: 40px;
    text-align: center;
}
#onasl_header{
    padding-top: 10px;
    padding-bottom: 0px;
    font-size: 24px;
    text-align: center;
}
#onasl_headertwo{
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 20px;
    text-align: center;
}
#onasl_big{
    font-size: 42px;
    line-height: 56px;
    font-family: 'HR';
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}
#onasl_small{
    margin-top: 50px;
    font-size: 22px;
    line-height: 32px;
    font-family: 'HR';
    text-align: justify;
}
#onas_right{
    width: 50%;
    float: left;
    min-height: 800px;
    background: #f00;
    background: url("/img/src/ter.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
@media only screen and (max-width: 1200px) {
    #onas_left,
    #onas_right{
        clear: both;
        float: none;
        width: 100%;
        text-align: center;
    }
    #onas_left{
        min-height: 0;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 160px;
    }
}
@media only screen and (max-width: 800px) {
    .maingalleryHolder{
        font-size: 32px;
    }
}
@media only screen and (max-width: 700px) {
    #onas_right{
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    .maingalleryHolder{
        font-size: 24px;
    }
}
/*      Wizualizacje     */
#wizualizacje{
    width: 100%;
    min-height: 1000px;
    margin-top: 150px;
}
#vis_header{
    width: 100%;
    height: 70px;
    line-height: 70px;
    font-size: 50px;
}
.vis_content{
    min-height: 420px;
    position: relative;
    overflow: hidden;
}
.vis_inner{
    max-height: 420px;
    position: absolute;
    top: 0;
    left: 0px;
    min-width: 5375px;
    overflow: hidden;
    transition: 0.3s;
    z-index: 10;
}
.vis_option{
    width: 450px;
    min-height: 350px;
    margin-right: 40px;
    height: 100%;
    float: left;
}
.vis_photo{
    margin-top: 20px;
    min-height: 330px;
    width: 100%;
}
.vis_date{
    font-size: 16px;
    opacity: 0.7;
    padding-top: 20px;
    padding-bottom: 10px;
}
.vis_desc{
    font-size: 28px;
    line-height: 35px;
    cursor: pointer;
}
#vis_left{
    position: absolute;
    top: 0px;
    left: 0;
    width: 50%;
    height: calc(100% - 70px);
    z-index: 90;
    opacity: 0.1;
    cursor: url('/img/ui/left.png'), auto;	
}
#vis_right{
    position: absolute;
    top: 0px;
    right: 0;
    width: 50%;
    height: calc(100% - 70px);
    z-index: 90;
    opacity: 0.1;
    cursor: url('/img/ui/right.png'), auto;
}
#loadMoreVisButton{
    padding: 13px 16px;
    background: #fff;
    border: 2px solid #ccc;
    font-size: 24px;
}

@media only screen and (max-width: 700px) {
    #vis_left,
    #vis_right{
        display: none;
    }
    .vis_desc{
        display: none;
    }
    .vis_content{
        width: 100%;
    }
    .vis_inner{
        width: 100%!important;
        min-width: 100%;
    }
    .vis_option{
        display: none;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .vis_photo{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    #realizacje,
    #wizualizacje{
        margin-top: 100px;
        text-align: center;
    }
    #vis_header{
        text-align: center;
    }
    .vis_option:first-child{
        display: block;
    }
}

/*          Realizacje          */

#realizacje{
    margin-top: 150px;
    margin-bottom: 100px;
    min-height: 1900px;
}
#realizacjedwa{
    margin-top: 100px;
    min-height: 900px;
}
.implementation,
.implementationtwo{
    width: 25%;
    float: left;
}
.innerimpl{
    display: block;
    text-decoration: none;
    width: 96%;
    height: 96%;
    margin: 2%;
    padding: 80px;
    cursor: pointer;
    position: relative;
    text-shadow: 0px 0px 2px #000;
    overflow: hidden;
    text-align: center;
}
.implOuter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    transition: 0.3s;
    opacity: 0;
}
.implOuter:hover{
   opacity: 1;
}
.implheader{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    color: #fff;
}
.impldesc{
    font-size: 50px;
    color: #fff;
    line-height: 1.2;
}
.implheader_reverse{
    font-size: 22px;
    color: #fff;
    line-height: 300%;
    position:  absolute;
    bottom:  300px;
    right: 80px;
    text-align: right;
}
.impldesc_reverse{
    font-size: 50px;
    color: #fff;
    line-height: 1.2;
    position:  absolute;
    bottom:  80px;
    right: 80px;
    text-align: right;
    max-width: calc(100% - 160px);
}

@media only screen and (max-width: 1400px) {
    #project_right{
        display: none;
    }
    #project_left{
        width: 100%!important;
        padding: 20px!important;
        text-align: center;
    }
}
@media only screen and (max-width: 1300px) {
    .impldesc,
    .impldesc_reverse{
        font-size: 38px;
    }
    #fullscreenDescriptorText{
        width: 100%;
    }
}
@media only screen and (max-width: 1200px) {
    .impldesc,
    .impldesc_reverse{
        font-size: 30px;
    }
}
@media only screen and (max-width: 1000px) {
    #fullscreenDescriptor{
        left: 0!important;
    }
    .impldesc,
    .impldesc_reverse{
        font-size: 22px;
    }
    .stopka_kolumna{
        width: 100%!important;
        float: none;
        clear: both;
        text-align: center;
    }
    .stopka_kolumna:first-child{
        min-height: 150px;
    }
}
@media only screen and (max-width: 800px) {
    .implementation,
    .implementationtwo{
        display: block;
        float: none;
        clear: both;
        width: 100%;
    }
    .impldesc,
    .impldesc_reverse{
        font-size: 30px;
        text-align: center;
    }
    .implheader_reverse,
    .implheader{
        text-align: center;
    }
    #threedotszone{
        top: auto!important;
        bottom: 100px!important;
    }
    #realis_implor{
        text-align: center;
    }
    #fullscreenDescriptorText{
        text-align: center;
    }
}
@media only screen and (max-width: 500px) {
    #pl_header{
        margin-bottom: 40px!important;
    }
}
@media only screen and (max-width: 450px) {
    .impldesc,
    .impldesc_reverse{
        font-size: 18px;
    }
}
@media only screen and (max-width: 350px) {
    #pl_header{
        font-size: 38px!important;
        margin-bottom: 20px!important;
    }
}
#highlightedproject{
    display: block;
    float: none;
    clear: both;
}
#hp_fullscreen{
    display: block;
    width: 100%;
    min-height: 800px;
    position: relative;
}
.hp_fullpicture{
    display: block;
    min-height: 800px;
    transition: 0.6s;
    float: left;
    overflow: hidden;
}
.hp_fullpicture:nth-child(1){
    width: 100%;
    background: url("/img/wideart/0001.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hp_fullpicture:nth-child(2){
    width: 0%;
    background: url("/img/wideart/0002.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hp_fullpicture:nth-child(3){
    width: 0%;
    background: url("/img/wideart/0003.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hp_fullpicture:nth-child(4){
    width: 0%;
    background: url("/img/wideart/0004.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hp_fullpicture:nth-child(5){
    width: 0%;
    background: url("/img/wideart/0005.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#threedotszone{
    z-index: 40;
    position: absolute;
    right: 80px;
    top: 80px;
}
.iamdot{
    width: 20px;
    height: 20px;
    float: left;
    border: 2px solid #fff;
    border-radius: 10px;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.iamdot:nth-child(1){
    background: #fff;
}
#fullscreenDescriptor{
    position: absolute;
    top: 0px;
    left: 80px;
    width: 100%;
    height: 100%;
    /*background: rgba(0,0,0,0.5);*/
    padding-top: 80px;
    max-width: 600px;
}
#fullscreenDescriptorText{
    text-shadow: 0px 0px 2px #000;
}
#kontakt{
    margin-top: 80px;
    width: 100%;
    min-height: 700px;
}
#project_inner{
    background: #d1cac3;
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
    height: 700px;
}
#project_left{
    width: 50%;
    float: left;
    height: 100%;
    padding-top: 100px;
    padding-left: 100px;
    padding-bottom: 100px;
    position: relative;
}
#pl_header{
    font-size: 50px;
    margin-bottom: 180px;
}
#pl_desc{
    font-size: 22px;
}
#project_right{
    width: 50%;
    float: left;
    height: 100%;
    background: url("/img/more.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#stopka{
    width: 100%;
    min-height: 450px;
    margin-top: 150px;
}
#stopka_tabela{
    width: 96%;
    height: 100%;
    min-height: 400px;
    margin-left: 2%;
    margin-right: 2%;
}
.stopka_kolumna{
    width: 25%;
    height: 100%;
    min-height: 400px;
    float: left;
}
.stopka_kolumna:first-child{
    filter: invert();
    background: url("/img/logo/cropped.png");
    background-position: top left;
    background-size: 200px auto;
    background-repeat: no-repeat;
    width: 25%;
}
.stopka_kolumna:nth-child(2){
    width: 30%;
}
.stopka_kolumna:nth-child(3){
    width: 30%;
}
.stopka_kolumna:nth-child(4){
    width: 15%;
}
.sk_header{
    font-weight: bold;
    font-size: 24px;
    line-height: 60px;
    margin-bottom: 40px;
}
.sk_desc{
    font-size: 24px;
}
#autor{
    background: #d1cac3;
    text-align: center;
    height: 50px;
    line-height: 50px;
}
#autor > a{
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width: 880px) {
    .smalltopbar #tb_menu{
        height: 160px!important;
    }
   
}

@media only screen and (max-width: 500px) {
    .smalltopbar #tb_menu{
        height: 220px!important;
    }
   
}

#dividedMap{
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}
#alterMapSide,
#zielinskiMapSide{
    width: 50%;
    height: 700px;
    float: left;
    overflow: hidden;
    position: relative;
}
.mapInner{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -60%);
}
#kontaktDetails{
    width: 100%;
    height: 400px;
}
.infoSide{
    width: 33.33%;
    height: 400px;
    float: left;
}
.infoTable{
    vertical-align: top;
}
.infoTable td{
    vertical-align: top;
    padding-left: 10px;
    padding-right: 10px;
}
.infoTable a{
    text-decoration: none;
    color: rgb(0,102,204);
}
.swam_contact{
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 200%;
    font-size: 22px;
}
#zielinskiInfoSide{
    text-align: right;
}
#whitePaper{
    text-align: center;
    padding-top: 20px;
    background: rgb(255,255,255);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 100%;
}
#whitePaper li{
    list-style-type: none;
}
#wP_table{
    margin-top: 20px;
    text-align: left;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
#wP_table td{
    padding-left: 20px;
    padding-right: 20px;
}
#wP_table td:nth-child(2){
    text-align: right;
}

@media only screen and (max-width: 1300px) {
    #alterInfoTable{
        text-align: right;
        float: right;
    }
    #alterInfoTable td:nth-child(1){
        display: none;
    }
    #zielinskiInfoTable{
        text-align: left;
    }
    #alterInfoTable tr:first-child td{
        background-position: center right 10%!important;
        display: table-cell;
    }
    #zielinskiInfoTable tr:first-child td{
        background-position: center left 10%!important;
        display: table-cell;
    }
    #zielinskiInfoTable td:nth-child(2){
        display: none;
    }
}
@media only screen and (max-width: 1000px) {
    #kontaktDetails{
        height: auto;
    }
    .infoSide{
        float: none;
        width: 100%;
    }
    #alterInfoTable,
    #zielinskiInfoTable{
        text-align: center;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #alterInfoTable,
    #zielinskiInfoTable{
        text-align: center;
    }
    #alterInfoTable tr:first-child td{
        background-position: center center!important;
        display: table-cell;
    }
    #zielinskiInfoTable tr:first-child td{
        background-position: center center!important;
        display: table-cell;
    }
    #alterMapSide{
        width: 100%;
        float: none;
    }
    #zielinskiMapSide{
        display: none;
    }
}