/************************************************************************************
Utilities
*************************************************************************************/
html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'AvenirLTStdLight';
    position: relative;
    background: #eff0f1;
    color: #333333;
}

.wrapper {
    margin-left: 280px;
    min-height: 100%;
    height: 100%;
}

.clear {
    clear: both;
}

.aligncenter {
    display: block;
    margin: 0 auto
}

.alignleft {
    float: left
}

.alignright {
    float: right
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

.displayblock {
    display: block;
}

.container {
    min-height: 100%;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.section-bg {
    width: 100%;
    width: calc(100% + 300px);
    height: 100%;
    position: absolute;
    left: -300px;
    top: 0px;
    z-index: -10; /* Ensure div tag stays behind content; -999 might work, too. */
    transition: all 0.5s;
}

.main-bg {
    width: 100%;
    width: calc(100% + 300px);
    height: 100%;
}

.about-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -5; /* Ensure div tag stays behind content; -999 might work, too. */
    transition: all 0.5s;
}

    .about-bg .main-bg {
        width: 100%;
    }


/************************************************************************************
Sidebar
*************************************************************************************/
.header {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
}

.head-nav,
.head-nav.small-res,
.logo {
    transition: all 0.5s ease-out 0s;
}

    .logo a img {
        margin: 0 auto;
        display:block;
    }

.head-nav {
    width: 240px;
    top: 0;
    left: 0;
    padding: 30px 10px 30px 30px;
    z-index: 100;
    position: fixed;
    display: table;
}

ul.main-slider {
    margin: 0;
    padding: 0;
}

    ul.main-slider li img {
        max-height: 530px;
    }

    ul.main-slider li .cap {
        width: 100%;
        height: 70px;
        line-height: 60px;
        font-family: 'AvenirLTStdLight';
        font-size: 26px;
        font-weight: bold;
    }}


.logo {
    margin-bottom: 20px;
    text-align: center;
    padding-right: 20px;
    width: 50%;
    display: table-row;
    height: 20%;
}

    .logo a {
        display: block;
        position: relative;
        width: 100%;
    }

.menu {
    width: 150px;
    margin: 0 auto;
}
.menu ul {
    padding: 0;
}

    .menu ul li a {
        color: #666666;
        font-family: 'AvenirLTStdLight';
        font-size: 14px;
        line-height: 22px;
        text-transform: capitalize;
    }

        .menu ul li a:hover,
        .menu ul li a.active {
            font-weight: bold;
        }

.intro {
    font-family: 'AvenirLTStdLight';
    font-size: 26px;
    line-height: 18px;
    letter-spacing: -0;
    opacity: 1;
}

    .intro h3 {
        font-size: 21px;
        line-height: 26px;
        margin: 0 0 0 -10px;
        padding: 16px 0 15px 10px;
        min-height: 56px;
        background: url(../images/bg-h3.png) no-repeat;
    }

    .intro p {
        padding-bottom: 10px;
        margin: 15px 0 0;
    }


.head-nav.small-res {
    padding: 10px;
    width: 100px;
}

    .head-nav.small-res .logo {
        margin: 10px 0;
    }

        .head-nav.small-res .logo a img {
            width: 100px;
        }

    .head-nav.small-res + .wrapper {
        margin-left: 120px;
    }

    .head-nav.small-res .intro {
        opacity: 0;
    }

    .head-nav.small-res .menu ul li a {
        font-size: 16px;
        line-height: 18px;
    }

    .head-nav.small-res .menu ul {
        margin: 0;
    }


/************************************************************************************
Foot nav
*************************************************************************************/

.foot-nav {
    /*background: url("../images/foot-line.png") repeat-x;*/
    height: 20px;
    width: 280px;
    position: fixed;
    bottom: 0;
    text-align: left;
}

    .foot-nav .copy {
        font-size: 10px;
        line-height: 24px;
        margin-left: 15px;
        color: #999;
    }



/************************************************************************************
Loader
*************************************************************************************/

.on-load {
    background: #eff0f2;
    width: 100%;
    height: 100%;
    z-index: 777999;
    position: fixed;
}

.loadingwheel {
    width: 100%;
    max-height: 150px;
    position: absolute;
    top: 50%;
    margin-top: -65px;
    text-align: center;
}





/************************************************************************************
Homepage
*************************************************************************************/

.top-tag {
    height: 60px;
    background: #ffffff;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.30);
}

.head-slider {
    position: relative;
    z-index: 1;
    width: 100%;
}

.bx-wrapper {
    margin: 0 auto;
    max-width: 100%;
}

    .bx-wrapper .bx-viewport {
        background: none;
        border: none;
        box-shadow: none;
        left: 0;
        width: 100%;
        text-align: center;
        overflow-y: hidden;
    }

        .bx-wrapper .bx-viewport ul {
            margin: 0;
        }

.home-slider {
    margin: 0 auto;
    position: relative;
    text-align: center;
    height: calc(100% - 330px);
    vertical-align: middle;
}

    .home-slider .bx-wrapper img {
        margin: 0 auto;
    }

    .home-slider .bx-wrapper .bx-controls {
        position: absolute;
        height: 60px;
        width: 34px;
        display: block;
        top: 50%;
        right: 10px;
        margin-top: -30px;
    }

    .home-slider .bx-wrapper .bx-pager {
        height: 25px;
        width: 28px;
        top: 50%;
        margin-top: -55px;
        right: -1px;
        padding: 25px 0;
        background: none;
        border-radius: 15px;
    }

    .home-slider .bx-wrapper .bx-controls-direction a {
        margin: 0;
        display: none;
    }

    .home-slider .bx-wrapper .bx-prev {
        left: auto;
        right: -2px;
        top: -28px;
    }

    .home-slider .bx-wrapper .bx-next {
        right: -1px;
        bottom: -33px;
    }

    .home-slider .bx-wrapper .bx-pager.bx-default-pager a,
    .home-slider .bx-wrapper .bx-pager.bx-default-pager a.active {
        opacity: 0.5;
    }

        .home-slider .bx-wrapper .bx-pager.bx-default-pager a:hover {
            opacity: 1;
        }

.subb-slider {
    margin-top: 10px;
}

    .subb-slider .bx-pager {
        display: none;
    }

    .subb-slider .bx-wrapper .bx-controls-direction a {
        margin-top: 0px;
    }

    .subb-slider ul.sub-slider li img {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
    }

        .subb-slider ul.sub-slider li img.img-bw {
            opacity: 1;
            transition: all 0.5s;
        }

    .subb-slider ul.sub-slider li:hover img.img-bw {
        opacity: 0;
    }

    .subb-slider .bx-wrapper .bx-prev,
    .subb-slider .bx-wrapper .bx-next {
        top: 45%;
        opacity: 0.8;
        width: 25px;
    }

    .subb-slider .bx-wrapper .bx-prev {
        background: url("../lib/jquery/images/bg_direction_nav.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    }

    .subb-slider .bx-wrapper .bx-next {
        background: url("../lib/jquery/images/bg_direction_nav.png") no-repeat scroll 100% 0 rgba(0, 0, 0, 0);
    }

        .subb-slider .bx-wrapper .bx-prev:hover,
        .subb-slider .bx-wrapper .bx-next:hover {
            opacity: 1;
        }

    .subb-slider .bx-wrapper {
        overflow-x: hidden;
    }

        .subb-slider .bx-wrapper li {
            height: 70px;
            cursor: pointer;
            margin-top: 10px;
        }

/*.subb-slider .bx-wrapper li:hover img {
	filter: none;
    -webkit-filter: grayscale(0%);
	height: 70px;
	position: absolute;
	margin-top: 0;
}*/

.slider-cap {
    text-align: center;
    margin: 10px auto 15px;
    display: block;
    padding: 0 10px;
}

    .slider-cap h6 {
        font-family: 'PSLPaksinasRegular';
        font-size: 20px;
        font-size: 1.2vw;
        color: #777777;
        margin: 0;
        font-weight: normal;
    }

    .slider-cap h1 {
        font-family: 'PSLSimilanyaExtraRegular';
        font-size: 5.2em;
        font-size: 5.5vw;
        line-height: 0.75em;
        color: #333333;
        margin: 0;
        font-weight: normal;
    }

.slider-cap {
    display: none;
}

/************************************************************************************
About Page
*************************************************************************************/

.about-page .content .box {
    width: 410px;
    height: 290px;
    padding: 30px 20px;
}

.content {
    font-family: 'AvenirLTStdLight';
    font-size: 14px;
    color: #999999;
    padding: 10px;
}

    .content .box .jspVerticalBar {
        width: 10px;
    }

    .content .box .jspTrack {
        background: #d7d8d9;
    }

    .content .box .jspDrag {
        background: #cc3333;
        border-radius: 5px;
    }


    .content h1 {
        font-family: 'AvenirLTStdLight' /*'PSLSimilanyaExtraRegular'*/;
        font-size: 41px;
        line-height: 36px;
        color: #cc3333;
        margin: 0 0 0px;
    }

    .content h2 {
        font-size: 22px;
        line-height: 28px;
        color: #333333;
        margin: 0 0 0px;
    }

    .content h3 {
        font-size: 15px;
        line-height: 18px;
        margin: 0 0 10px;
        font-weight: normal;
        color: #666666;
    }

    .content h4,
    .content p {
        font-size: 15px;
        line-height: 18px;
        margin: 0;
        font-weight: normal;
    }

    .content .box p {
        font-size: 15px;
        line-height: 18px;
        margin: 5px 0;
        width: 400px;
        text-align: justify;
        text-indent: 30px;
    }

/************************************************************************************
Project Page
*************************************************************************************/

/*.project-port {
	height: 100%;
	overflow-x: scroll;
}
.project-port ul {
	padding: 0;
	height: 100%;
	display:block;
	margin: 0;
}
.project-port ul li {
	width: 250px;
	height: 50%;
	display: block;
	overflow: hidden;
	transition: 1s;
	position: relative;
}
.project-port ul li:hover,
.project-port ul li.active {
	width: 750px;
	overflow: hidden;
	z-index: 1;
}*/
/*.project-port ul li img {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray; 
    -webkit-filter: grayscale(1);
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}
.project-port ul li:hover img,
.project-port ul li.active img {
	filter: none;
	-webkit-filter: grayscale(0);
} 
.project-port ul li .show-over {
	position: relative;
}
.project-port ul li .show-over .detail {
	opacity: 0;
	width: 250px;
	min-height: 100px;
	height: 100%;
	background: #cc3333;
	right: 750px;
	top: 0;
}
.project-port ul li:hover .show-over .detail {
	right: 0px;
	opacity: 1;
}*/


#project-port,
#project-port .owl-wrapper-outer,
#project-port .owl-wrapper-outer .owl-wrapper,
#project-port .item {
    width: 100%;
    height: 100%;
}

    #project-port .owl-wrapper-outer .owl-wrapper .owl-item {
        width: 100%;
        height: 100%;
        display: table;
    }

    #project-port .item {
        display: block;
        display: table-cell;
        vertical-align: middle;
    }

        #project-port .item div.ul {
            padding: 0;
            margin: 0;
            width: 100%;
            height: 100%;
            -webkit-column-gap: 0px;
        }

            #project-port .item div.ul > div {
                height: 50%;
                width: 100%;
                position: relative;
                z-index: 0;
                transition: all 0.5s;
                -webkit-backface-visibility: hidden;
            }

                #project-port .item div.ul > div .show-case {
                    transition: all 0.7s;
                    width: 100%;
                    height: 100%;
                    overflow: hidden;
                    position: absolute;
                }

                    #project-port .item div.ul > div .show-case .show-img {
                        width: 100%;
                        height: 100%;
                        float: left;
                        transition: all 0.5s;
                        overflow: hidden;
                    }

                        #project-port .item div.ul > div .show-case .show-img a {
                            width: 100%;
                            height: 100%;
                            display: block;
                            position: relative;
                        }

                        #project-port .item div.ul > div .show-case .show-img img {
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                        }

                    #project-port .item div.ul > div .show-case .show-detail {
                        width: 200px;
                        opacity: 0;
                        transition: all 0.55s;
                        height: 100%;
                        display: inline-block;
                        position: absolute;
                        top: 0;
                        right: -3999px;
                    }

                #project-port .item div.ul > div:hover .show-case .show-detail {
                    max-width: 280px;
                }

                #project-port .item div.ul > div .show-case .show-detail .float-bottom {
                    /*position: absolute;*/
                    bottom: 0;
                    height: auto;
                    position: absolute;
                    width: 100%;
                    margin-left: 6px;
                    margin-bottom: 5px;
                }

                #project-port .item div.ul > div .show-case .show-detail h1,
                #project-port .item div.ul > div .show-case .show-detail h2,
                #project-port .item div.ul > div .show-case .show-detail p {
                    margin: 0;
                    color: #fff;
                    width: 90%;
                    padding-left: 1%;
                    overflow: hidden;
                }

                #project-port .item div.ul > div .show-case .show-detail h1 {
                    font-family: 'AvenirLTStdLight' /*'PSLSimilanyaExtraRegdiv.ular'*/;
                    font-size: 20px;
                    text-transform: capitalize;
                    line-height: 22px;
                    display: block;
                    width: 100%;
                    font-weight: normal;
                }

                #project-port .item div.ul > div .show-case .show-detail h2 {
                    font-family: 'AvenirLTStdLight' /*'DBSodaXRegdiv.ular'*/;
                    font-size: 13px;
                    font-weight: normal;
                    color: #000;
                    line-height: 15px;
                    margin: 5px 0;
                    display: block;
                    width: 100%;
                }

                #project-port .item div.ul > div .show-case .show-detail p {
                    font-family: 'AvenirLTStdLight' /*'KittithadaLight45FRegdiv.ular'*/;
                    font-size: 11px;
                    line-height: 12px;
                    margin-bottom: 10px;
                    max-height: 108px;
                    display: block;
                    width: 100%;
                }

                #project-port .item div.ul > div .show-case .show-detail .gap-line {
                    height: 0;
                    border-bottom: 1px dashed #fff;
                    margin: 7px 0;
                    width: 100%;
                }

                #project-port .item div.ul > div:hover .show-case .show-detail:after {
                    clear: both;
                    float: none;
                }

            #project-port .item div.ul > div {
                width: 100%;
                z-index: 20;
            }

                #project-port .item div.ul > div:hover,
                #project-port .item div.ul > div.active {
                    z-index: 30;
                }

                    #project-port .item div.ul > div:hover .show-case {
                        background: #cc3333;
                        width: 300%;
                        position: absolute;
                        z-index: 100;
                    }

                        #project-port .item div.ul > div.active .show-case .show-img,
                        #project-port .item div.ul > div:hover .show-case .show-img {
                            width: 66%;
                            overflow: hidden;
                        }

                            #project-port .item div.ul > div:hover .show-case .show-img a {
                                width: 100%;
                            }

                        #project-port .item div.ul > div.active .show-case .show-detail,
                        #project-port .item div.ul > div:hover .show-case .show-detail {
                            width: 34%;
                            right: 0;
                            left: auto;
                        }

                            #project-port .item div.ul > div:hover .show-case .show-detail .float-bottom {
                                width: 94%;
                            }

                #project-port .item div.ul > div.flip-right:hover .show-case {
                    margin-left: -200%;
                }

                #project-port .item div.ul > div.flip-right2:hover .show-case {
                    margin-left: -200%;
                }


                    #project-port .item div.ul > div:hover .show-case .show-detail,
                    #project-port .item div.ul > div.flip-right:hover .show-case .show-detail,
                    #project-port .item div.ul > div.flip-right2:hover .show-case .show-detail {
                        opacity: 1;
                    }


                #project-port .item div.ul > div .show-case .show-detail:after {
                    clear: both;
                    float: none;
                }

    #project-port .owl-controls {
        display: none !important;
    }

.customNavigation {
    text-align: center;
}

    .customNavigation a {
        display: block;
        width: 22px;
        padding: 5px 10px;
        height: 42px;
        position: absolute;
        top: 47.5%;
        /*background: rgba(40, 40, 40, 0.2);*/
        color: #fff;
        cursor: pointer;
        transition: all 0.5s;
    }

        .customNavigation a:hover {
            opacity: 0.8;
        }

        .customNavigation a img {
            width: 100%;
        }

        .customNavigation a.next {
            right: 0;
        }

#project-port .item ul li.notshow {
    background: url('../images/logo.png') center center no-repeat;
}

    #project-port .item ul li.notshow:hover {
        width: 100%;
        margin-left: 0;
    }

    #project-port .item ul li.notshow .show-case {
        display: none;
    }







/************************************************************************************
Clients Page
*************************************************************************************/

.clients-list ul {
    padding: 0;
}

    .clients-list ul li {
        float: left;
        margin-bottom: 10px;
        position: relative;
        width: 14%;
        height: 100px;
        padding: 10px 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .clients-list ul li img {
            width: 95%;
            height: auto;
            margin: 0 auto;
            position: absolute;
            /*left: 0;*/
            /*top: 0;*/
            max-width: 230px;
            max-height: 110px;
        }

            .clients-list ul li img.img-gray {
                display: block;
                width: 95%;
                height: auto;
                margin: 0 auto;
                position: absolute;
                /*left: 0;*/
                /*top: 0;*/
                /*z-index: 1;*/
                max-width: 230px;
                max-height: 110px;
            }


            .clients-list ul li img.img-gray {
                -webkit-transform: rotateY(0deg);
                -o-transform: rotateY(0deg);
                transform: rotateY(0deg);
                transition: 0.8s;
                opacity: 1;
            }

        .clients-list ul li:hover img.img-gray {
            -webkit-transform: rotateY(180deg);
            -o-transform: rotateY(180deg);
            transform: rotateY(180deg);
            transition: 0.8s;
            opacity: 0;
        }

        .clients-list ul li img.img-color {
            -webkit-transform: rotateY(180deg);
            -o-transform: rotateY(180deg);
            transform: rotateY(180deg);
            transition: 0.8s;
            opacity: 0;
        }

        .clients-list ul li:hover img.img-color {
            -webkit-transform: rotateY(0deg);
            -o-transform: rotateY(0deg);
            transform: rotateY(0deg);
            transition: 0.8s;
            opacity: 1;
        }




/************************************************************************************
Contact Page
*************************************************************************************/

.box-contact {
    width: 400px;
    margin-right: 30px;
    float: left;
}

.content .full-width {
    width: 95%;
}

.contact-form {
    padding: 0;
    margin: 0;
}

    .contact-form .label {
        height: 17px;
        line-height: 22px;
        font-size: 13px;
        color: #000;
        padding: 2px 0;
    }

input[type=text],
textarea {
    height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    border: 2px solid #d2d5d7;
    border-radius: 5px;
    width: 380px;
    margin-bottom: 5px;
    color: #666666;
}

textarea {
    height: 150px;
}

.contact-form input[type=button],
.contact-form input[type=submit] {
    padding: 2px 50px;
    text-align: center;
    color: #ffffff;
    background: #cc3333;
    border: none;
    font-family: 'KittithadaLight45FRegular';
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.map {
    width: calc(100% - 450px);
    float: right;
    height: 100%;
}

.google-map {
    width: 100%;
    height: 300px;
    border-bottom: 2px solid #cc3333;
}

.map img {
    width: 100%;
}

.map span.pic-map img.img-fixed {
    height: auto;
    width: 100%;
    margin: -5% auto 0;
}

.map span.pic-map {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: block;
    position: relative;
    background: #eef0f2;
    text-align: center;
}

    .map span.pic-map a {
        position: absolute;
        bottom: 0;
        right: 90px;
        float: left;
        height: 30px;
        width: 80px;
        display: block;
        transition: 0.3s;
    }

        .map span.pic-map a + a {
            right: 5px;
        }

        .contact-form input[type=submit]:hover,
        .map span.pic-map a:hover {
            opacity: 0.9;
        }








.full-screen {
    position: fixed;
    background: #f1f1f1;
    width: 100%;
    height: 100%;
}




.fancybox-wrap.project-photo {
    width: 100% !important;
    height: 100% !important;
}

.project-photo .fancybox-inner,
.project-photo .fancybox-skin,
.project-photo .fancybox-outer {
    height: 100% !important;
    width: 100% !important;
}

.fancybox-lock .fancybox-overlay {
    overflow: hidden;
}

.project-photo .fancybox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 37px;
    opacity: 0.8;
}

.pj-slider .bx-wrapper li {
    height: 100%;
    /*display: table-cell;
	vertical-align: middle;
	float: none !important;*/
}

    .pj-slider .bx-wrapper li div {
        display: table-cell;
        width: 100%;
        height: 100%;
        vertical-align: middle;
    }

.pj-slider .bx-wrapper img {
    z-index: 0;
    max-height: 100% !important;
    margin: auto;
    width: 100%;
    height: auto;
    /*display: table-cell;
	vertical-align: middle;*/
}

.pj-slider .bx-controls-direction {
    z-index: 500;
}

.pj-slider .bx-wrapper .bx-prev,
.pj-slider .bx-wrapper .bx-next {
    top: 50%;
    margin: 0;
}

.pj-slider .bx-wrapper .bx-prev {
    background: url("../lib/jquery/images/controls-pj.png") 0 -32px no-repeat;
}

.pj-slider .bx-wrapper .bx-next {
    background: url("../lib/jquery/images/controls-pj.png") -43px -32px no-repeat;
}

.pj-slider .bx-wrapper .bx-prev:hover {
    background-position: 0 0;
}

.pj-slider .bx-wrapper .bx-next:hover {
    background-position: -43px 0;
}

.pj-slider .bx-wrapper .bx-pager {
    position: fixed;
    bottom: 0px;
    height: 25px;
    background: #f1f1f1;
    width: 50%;
    left: 25%;
    z-index: 1000;
}

.clear {
    clear: both;
    float: none;
}


.pj-name {
    position: fixed;
    right: 0;
    bottom: 0;
    text-align: right;
    width: calc(100% - 40px);
    height: 25px;
    color: #666;
    font-family: Arial;
    font-size: 26px;
    background: #f1f1f1;
    padding: 10px 20px;
}



.select-pj {
    float: left;
}

    .select-pj select {
        height: 26px;
        padding: 4px 0;
        width: 215px;
    }

        .select-pj select option {
            line-height: 26px;
            height: 26px;
        }

.gray {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    /* Firefox 4+ */
    filter: gray; /* IE 6-9 */
}








img {
    border: none;
}
