.border:before,.slide:after {
    content: ''
}

body,html {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.section {
    opacity: 1;
    -webkit-transition: 900ms ease all;
    transition: 900ms ease all;
}

#bg {
    overflow: auto;
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 0;
    top: 0;
    border: 0;
    margin: 0;
    transition: 500ms ease all;
    -webkit-transition: 500ms ease all;
    -moz-transition: 500ms ease all;
    -ms-transition: 500ms ease all;
    -o-transition: 500ms ease all
}

svg {
    position: absolute;
    height: 15em;
    top: 50%;
    left: 50%;
    margin: -103px -50px;
    transition: 1100ms ease all;
    -webkit-transition: 1100ms ease all;
    -moz-transition: 1100ms ease all;
    -ms-transition: 1100ms ease all;
    -o-transition: 1100ms ease all
}

li,p,span {
    font-family: 'Raleway', sans-serif;
    font-weight: 300
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Work Sans',sans-serif;
    font-weight: 700
}

#v-lin {
    position: absolute;
    height: 1px;
    width: 100px;
    background-color: #000
}

#fade,.slide,.slide-img,.slide:after {
    position: absolute;
    width: 100%;
    height: 100%
}

.menu-c li {
    list-style: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    padding: 2px 0;
    text-align: center;
    cursor: pointer;
    line-height: 25px;
    transition: 400ms ease all;
    -webkit-transition: 400ms ease all;
    -moz-transition: 400ms ease all;
    -ms-transition: 400ms ease all;
    -o-transition: 400ms ease all
}

.menu-c ul li:hover a {
    /* color:#000; */
    /* padding-left:5px */
    color: red !important;
}

.menu-c ul li a {
    width: 100%;
    color: #fff;
    text-decoration: none;
    transition: 300ms ease all;
    -webkit-transition: 300ms ease all;
    -moz-transition: 300ms ease all;
    -ms-transition: 300ms ease all;
    -o-transition: 300ms ease all
}

.slide {
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    top: 0;
    right: 0;
    z-index: 1;
    opacity: 1;
    overflow: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transition: 600ms 300ms ease opacity;
    -webkit-transition: 600ms 300ms ease opacity;
    -moz-transition: 600ms 300ms ease opacity;
    -ms-transition: 600ms 300ms ease opacity;
    -o-transition: 600ms 300ms ease opacity
}

.slide:after {
    background-image: url(../../img/grid.png);
    background-repeat: repeat;
    background-size: 3px 3px;
    left: 0;
    z-index: 1000
}

.slide-off {
    opacity: 1;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0)
}

.slide-img {
    transition: 1000ms ease all;
    -webkit-transition: 1000ms ease all;
    -moz-transition: 1000ms ease all;
    -ms-transition: 1000ms ease all;
    -o-transition: 1000ms ease all;
    left: 0;
    top: 0;
    opacity: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center
}

.slide-img:nth-child(1) {
    background-image: url(../../img/home-slide/1.jpg);
}

.slide-img:nth-child(2) {
    background-image: url(../../img/home-slide/2.jpg);
}

.slide-img:nth-child(3) {
    background-image: url(../../img/home-slide/3.jpg);
}

.slide-img:nth-child(4) {
    background-image: url(../../img/home-slide/4.jpg);
}

.slide-img:nth-child(5) {
    background-image: url(../../img/home-slide/5.jpg);
}

.slide-img:nth-child(6) {
    background-image: url(../../img/home-slide/6.jpg);
}

.slide-hide {
    opacity: 0;
    transform: scale(1.1,1.1) translateY(0);
    -moz-transform: scale(1.1,1.1) translateY(0);
    -webkit-transform: scale(1.1,1.1) translateY(0)
}

.slide-show {
    opacity: 1;
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1)
}

@media only screen and (max-width: 0px) {
    .slide,.slide-img {
        /* width:100% */
    }

    .slide {
        height: 50%;
        top: 50%
    }

    .menu {
        left: 0;
        top: 70px;
        width: 70px;
        font-size: 1em
    }

    .menu li {
        padding: 13.1px;
        text-align: right
    }
}

p#Enter-txt {
    font-weight: 700;
    font-size: 15px;
    margin: -6px -111px;
    left: 50%;
    cursor: pointer;
    color: #999;
    z-index: 20;
    -webkit-transition: 1000ms ease all;
    -moz-transition: 1000ms ease all;
    -ms-transition: 1000ms ease all;
    -o-transition: 1000ms ease all
}

.loading-gif,p#Enter-txt {
    position: absolute;
    top: 50%;
    -webkit-transition: 1000ms ease all;
    transition: 1000ms ease all
}

p#Enter-txt:hover {
    cursor: pointer;
    color: #000
}

.logo-close {
    left: 45px
}

img.doted {
    bottom: 5%;
    position: absolute;
    width: 70%;
    left: 15%
}

.st-menu-open img.menu {
    left: 0!important;
    margin-left: 0!important
}

.tp-loader.spinner2 {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    margin-top: -61px;
    margin-left: -53px;
    background-color: #000;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.15);
    border-radius: 100%;
    -webkit-animation: tp-scaleout 5s infinite ease-in-out;
    animation: tp-scaleout 5s infinite ease-in-out;
    opacity: 1;
    z-index: 0
}

.col.span_8_of_8.slide-container,nav#menu-4 {
    z-index: 100
}

@-webkit-keyframes tp-scaleout {
    0% {
        -webkit-transform: scale(0);
        opacity: 1
    }

    100%,20% {
        -webkit-transform: scale(1);
        opacity: 0
    }
}

@keyframes tp-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 1;
        -webkit-transform: scale(0)
    }

    100%,20% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 0
    }
}

#rev_slider_6_1_wrapper .tp-loader.spinner2 {
    background-color: #FFB600!important
}

.loading-gif {
    height: 30px;
    width: 30px;
    left: 50%;
    margin: -15px;
    z-index: 100;
    opacity: 1;
    -webkit-transition: 1000ms ease all;
    -moz-transition: 1000ms ease all;
    -ms-transition: 1000ms ease all;
    -o-transition: 1000ms ease all
}

.loading-gif img {
    position: absolute;
    width: 100%
}

.loading-gif span:nth-child(1) {
    height: 7px;
    width: 60px;
    animation: span1 3s infinite ease-in-out;
    -webkit-animation: span1 3s infinite ease-in-out
}

@-webkit-keyframes span1 {
    0%,100% {
        -webkit-transform: translateX(100%)
    }

    50% {
        -webkit-transform: translateX(-100%)
    }
}

@keyframes span1 {
    0%,100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -moz-transform: translateX(100%)
    }

    50% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        -moz-transform: translateX(-100%)
    }
}

.loading-gif span:nth-child(2) {
    width: 7px;
    height: 60px;
    animation: span2 3s infinite ease-in-out;
    -webkit-animation: span2 3s infinite ease-in-out
}

@-webkit-keyframes span2 {
    0%,100% {
        -webkit-transform: translateY(-100%)
    }

    50% {
        -webkit-transform: translateY(100%)
    }
}

@keyframes span2 {
    0%,100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        -moz-transform: translateY(-100%)
    }

    50% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        -moz-transform: translateY(100%)
    }
}

.loading-gif span:nth-child(3) {
    width: 7px;
    height: 60px;
    left: calc(100% - 7px);
    animation: span3 3s infinite ease-in-out;
    -webkit-animation: span3 3s infinite ease-in-out
}

@-webkit-keyframes span3 {
    0%,100% {
        -webkit-transform: translateY(100%)
    }

    50% {
        -webkit-transform: translateY(-100%)
    }
}

@keyframes span3 {
    0%,100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        -moz-transform: translateY(100%)
    }

    50% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        -moz-transform: translateY(-100%)
    }
}

.loading-gif span:last-of-type {
    height: 7px;
    width: 60px;
    top: calc(100% - 7px);
    animation: span4 3s infinite ease-in-out;
    -webkit-animation: span4 3s infinite ease-in-out
}

@-webkit-keyframes span4 {
    0%,100% {
        -webkit-transform: translateX(-100%)
    }

    50% {
        -webkit-transform: translateX(100%)
    }
}

@keyframes span4 {
    0%,100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        -moz-transform: translateX(-100%)
    }

    50% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -moz-transform: translateX(100%)
    }
}

img#logo-m {
    position: absolute;
    width: 100px;
    left: calc(50% - 50px);
    top: calc(50% - 25px)
}

nav#menu-4 {
    z-index: 100000000000;
    position: absolute;
    height: 100%;
    width: 300px;
    left: -370px;
    border-right: 1px solid rgba(255,255,255,0);
    transition: 600ms ease all;
    -webkit-transition: 600ms ease all;
    -moz-transition: 600ms ease all;
    -ms-transition: 600ms ease all;
    -o-transition: 600ms ease all
}

nav#menu-4.menuOn {
    background-color: rgba(255,255,255,1);
    border-right: 1px solid #ccc;
    left: 0
}

nav#menu-4.menuOn a {
    color: #000000;
}

nav#menu-4.menuOn ul {
    padding-left: 84px;
    padding-right: 0;
}

.menu-c {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    position: absolute;
    top: 50%;
    margin-top: -125px
}

.menu-c ul {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px;
    transition: 500ms ease-in-out all;
    -webkit-transition: 500ms ease-in-out all;
    -moz-transition: 500ms ease-in-out all;
    -ms-transition: 500ms ease-in-out all;
    -o-transition: 500ms ease-in-out all
}

h2.icon.icon-lab {
    height: 150px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

img.logo-s,p.test {
    position: absolute
}

img.logo-s {
    /* cursor: pointer; */
    z-index: 10000;
    width: 250px;
    top: calc(50% - 80px);
    left: calc(50% - 125px);
    -webkit-transition: 1000ms ease all;
    -moz-transition: 1000ms ease all;
    -ms-transition: 1000ms ease all;
    -o-transition: 1000ms ease all
}

.border,img.logo-s {
    -webkit-transition: 1000ms ease all;
    transition: 1000ms ease all
}

p.test {
    color: #000;
    font-size: 53px;
    left: 413px;
    top: -59px;
    z-index: 1000
}

p.background--light {
    color: #fff
}

p.background--dark {
    color: #bbbb
}

.border {
    position: absolute;
    height: calc(100% - 30px);
    width: calc(100% - 30px);
    border: 15px solid tan;
    top: 0;
    z-index: 2;
    left: 0;
    -webkit-transition: 1000ms ease all;
    -moz-transition: 1000ms ease all;
    -ms-transition: 1000ms ease all;
    -o-transition: 1000ms ease all
}

.border:after,.border:before {
    position: absolute;
    left: -15px;
    top: calc(50% - 50px);
    -webkit-transition: 500ms ease all;
    transition: 500ms ease all;
}

.border:before {
    /* height: 100px; */
    /* width: 15px; */
    /* border: 15px solid #fff; */
    /* background-color: rgba(255,255,255,1); */
}

.border:after {
    /* content:'Menu'; */
    color: #000;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    margin-top: 42px;
    margin-left: -10px;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
}

img.logo-s.logo-dark {
    width: 252px
}

.loading-gif.gif-hide {
    opacity: 0
}

.border.show-menu:before {
    width: 40px;
}

@media only screen and (max-width: 736px) {
    img.logo-s.logo-light {
        width: 40%;
        left: 30%;
    }
    img.logo-s.logo-dark {
        width: calc(40% + 1px) !important;
        top: calc(50% - 80px);
        left: 30%;
    }
    .border:before {
        width: 40px;
    }
    .border:after {
        /* margin-left:20px; */
    }
    /*-------Page Project----------*/
    .details-handler p{
        padding-left: 22px;
    }

}

span.touch-spin {
    position: absolute;
    width: 60px;
    height: 100vh;
    box-sizing: border-box;
    top: 0;
    padding-right: 0;
    left: -30px;
    z-index: 100;
    -webkit-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
}
span.touch-spin:before {
    background-color: #fff;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    content: '';
    position: absolute;
    -webkit-transition: 500ms ease all;
    transition: 500ms ease all;
}
span.touch-spin:after {
    content: 'Menu';
    color: #000;
    margin-top: 50vh;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
    margin-left: 26px;
    position: absolute;
    -webkit-transition: 500ms ease all;
    transition: 500ms ease all;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
span.touch-spin.show-menu {
    /* height: 41px; */
    width: 50px;
    left: -20px;
}
span.touch-spin.show-menu:before {
    /* top: 0px; */
    /* height: 50px; */
    width: 50px;
}
span.touch-spin.show-menu:after {
    /* margin-top: 10px; */
    margin-left: 19px;
}
.fullfade {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0);
    visibility: hidden;
    z-index: 100000;
    -webkit-transition: 900ms ease all;
    transition: 900ms ease all;
}

.fullfade.fullfadeOn {
    visibility: visible;
    background-color: rgba(0,0,0,0.7);
}


@media only screen
and (max-height: 600px) {
    .menu-c {
        bottom: 0;
        top: initial;
        margin: 0;
    }
    span.touch-spin {
        bottom: 30px;
        top: initial;
        border: none;
        width: 60px;
    }
    span.touch-spin:after{
        margin-left: 27px;
    }
}

@media only screen
and (max-width: 700px)
and (orientation: landscape) {
    img#logo-m {
        height: 60PX;
        width: 60px;
        left: calc(50% - 40px);
        top: 10px;
    }
    h2.icon.icon-lab {
        height: 0;
        margin: 0;
    }
    img.logo-s.logo-light {
        height: 40%;
        width: auto;
        left: 40%;
        top: calc(50% - 59px);
    }
    img.logo-s.logo-dark {
        height: calc(40% + 1px) !important;
        width: auto !important;
        top: calc(50% - 60px);
        left: 40%;

    }
    span.touch-spin {
        bottom: 30px;
        top: initial;
        border: none;
        width: 60px;
    }
    span.touch-spin:after{
        margin-left: 27px;
    }
}





.nav {
    z-index: 2;
    position: absolute;
    height: 100vh;
    width: 100vw;
    right: 15px;
    top: 0;
    overflow: hidden;
    background-color: transparent;
    -webkit-transition: 1s ease all;
    transition: 1s ease all;
}

.right-arrow,.left-arrow {
    position: absolute;
    height: 100vh;
    width: 50vw;
    top: 0;
    margin: 0;
    background-color: transparent;
    -webkit-transition: 500ms ease all;
    transition: 500ms ease all;
}
.homenav {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 10;
}
.homenav.homenavhide {
    display:none;
    visibility:hidden;
}
.homenav div,.homenav div img{
    position: relative;
    float: left;
    height: 100%;
}
.homenav div img{
    height: 50px;
    padding: 0 20px;
}
.homenav div:last-of-type img{
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}
img#avatar {
    position: absolute;
    z-index: 1000;
    width: 30px;
    -webkit-transition: 500ms ease transform;
    transition: 500ms ease transform;
    -webkit-transform: translate(-35px,-30px);
    transform: translate(-35px,-30px);
}
img#avatar.left {
    -webkit-transform: rotate(-180deg) translate(-7px,27px);
    transform: rotate(-180deg) translate(-7px,27px);
}

.right-arrow {
    right: 0;
}

@media only screen and (max-width: 400px)
{
    span.touch-spin {
        bottom: 0px;
        top: initial;
        border: none;
    }
    nav#menu-4
    {
        width: 140px;
    }

    nav#menu-4.menuOn ul
    {
        padding-left: 15px;
        padding-right: 0;
    }
    nav#menu-4 ul li
    {
        padding-left: 10px;
        padding-right: 0;
        font-size: 14px;
    }
}
