

.wrapper {
	@media only screen and (min-width: 768px) {
	     height: 100vh;
 	}
}
body.landing {
    .header {
        max-width: 1280px;
        padding: 0px 25px;
        width: 100%;
        margin: 0 auto;
        height: 100px;
        @media only screen and (min-width: 768px) {
            padding: 0px 25px;
             flex: 1 0 auto;
             align-self: flex-start;
        }
        .logo {
            &__image {
                width: 150px;
                @media only screen and (min-width: 768px) {
                    width: 293px;
                }
            }
            &__link {
                background-color: black;
                display: inline-block;
            }
        }
    }
} 
.visit {

    .main {
        height: 100vh;
        display: block;
        padding: 60px 20px 0px;
      	width: 100%;
        
        @include tablet {
            padding-top: 60px;
        }

      	@media only screen and (min-width: 768px) {
    		top: auto;
      	}

      	@media screen and ( min-height: 0px) and (min-width: 736px) {
            top: 100px;
        }

        @media screen and ( min-height: 400px) and (min-width: 736px) {
            top: auto;
        }
        @media screen and ( min-height: 600px) and (min-width: 736px) {
            //top: 120px;
        }
        @media screen and ( min-height: 900px) and (min-width: 736px) {
            //top: 140px;
        }
        &:before {
            // @include tablet {
            //     background: rgba(0, 0, 0, 0.6);
            //     background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
            //     background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.6)), color-stop(100%, rgba(0, 0, 0, 0)));
            //     background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
            //     background: -o-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
            //     background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
            //     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
            //     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0);
            //     z-index: 3;
            //     height: 300px;
            //     //background-color: red;
            //     display: block;
            //     position: absolute;
            //     top: 0px;
            //     left: 0px;
            //     right: 0px;
            //     width: 100%;
            //     content: '';
            // }

        }
        &__bg {
            @extend .u__bg;
            background-image: url('../img/bg_body.jpg');
        }
        &__sections {

            width: 100%;
            @media only screen and (min-width: 736px) {
           display: table;
            max-width: 1440px;
            padding:0 130px;
            margin: 0 auto;
            height: 100vh;
            position: relative;
            z-index: 3;
            }
        }
        &__sections-inner {
            display: table-cell;
            vertical-align: middle;
        }
        &__animation-overlay {
            top: 0px;
            left: 0px;
            .arrow__down {
                    height: 653px;
            }
            .arrow__right {
                    width: 800px;
            }
        }
        &__title {

            line-height: 1em;
            transition: font-size 0.5s ease;
            margin: 20px 0px;
            opacity: 0;
            width: 100%;
            font-size: 30px;
            font-weight: bold;
            text-transform: uppercase;
            //margin-top: 136px;
            animation: fade-up 0.75s ease forwards;
            animation-delay: 0.75s;
            //padding-top: 30px;
            //overflow: hidden;
            // margin: 55px 0px 0px 0px;
            -webkit-transform: translateZ(0px);
            @media only screen and (min-width: 768px) {
                font-size: 72px;
                padding: 0px;
                margin: 0px;

            }
            @media screen and ( min-height: 0px) and (min-width: 736px) {
                font-size: 40px;
                //padding-top: 30px;
            }
            @media screen and ( min-height: 400px) and (min-width: 736px) {
                font-size: 40px;
            }
            @media screen and ( min-height: 600px) and (min-width: 736px) {
                font-size: 60px;
            }
            @media screen and ( min-height: 900px) and (min-width: 736px) {
                font-size: 68px;
            }
            @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
                font-size: 60px;
                padding-top: 30px;
            }

             @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
                font-size: 58px;
                padding-top: 40px;
            }
        }
        &__subtitle {
            line-height: 1em;
            transition: font-size 0.5s ease;
            margin-top: 0px;
            opacity: 0;
            margin-top: 30px;
            width: 100%;
            font-size: 18px;
            line-height: 1.2em;
            font-weight: normal;
            animation: fade-up 0.75s ease forwards;
            animation-delay: 1s;
            // margin: 30px 0px 0px 0px;
            -webkit-transform: translateZ(0px);
            font-size: 18px;
            //margin-top: 27px;
            @media screen and ( min-height: 400px) and (min-width: 736px) {
                font-size: 24px;
            }
            @media screen and ( min-height: 600px) and (min-width: 736px) {
                font-size: 28px;
            }
            @media screen and ( min-height: 900px) and (min-width: 736px) {
                font-size: 32px;
                //margin-top: 30px;
            }
        }
        &__description {
            -webkit-flex: 1 auto;
            flex: 1 auto;
            transition: font-size 0.5s ease;
            width: 100%;
            animation: fade-up 0.75s ease forwards;
            animation-delay: 1.25s;
            opacity: 0;
            // margin: 44px 0px 0px 0px;
            -webkit-transform: translateZ(0px);
            @media only screen and (min-width: 736px) {
    			margin-top: 20px;
            }
            @media screen and ( min-height: 900px) {
                margin-top: 50px;
            }
            p {
            	span {
            		display: none;
            		&.mobile-only {
            			display: block;
            			padding: 15px 0px 15px;
            			@media only screen and (min-width: 736px) {
                    		display: inline;
                		}

            		}
            		@media only screen and (min-width: 736px) {
                    	display: inline;
                	}
            	}
                strong {
                    font-weight: bold;
                }

                line-height: 1.3em;
                transition: font-size 0.5s ease;
                -webkit-font-smoothing: antialiased;
                text-rendering: optimizeLegibility;
                font-size: 15px;

                @media only screen and (min-width: 736px) {
                    display: block;
                }
                @media screen and ( min-height: 400px) and (min-width: 736px) {
                    font-size: 16px;
                }
                @media screen and ( min-height: 600px) and (min-width: 736px) {
                    font-size: 17px;
                }
                @media screen and ( min-height: 900px) and (min-width: 736px) {
                    font-size: 21px;
                }
            }
        }
        &__info {
            // animation: fade-up 0.75s ease forwards;
            // animation-delay: 1.50s;
            // opacity: 0;
            padding-bottom: 30px;
            -webkit-flex: 1 auto;
            margin-top: 10px;
            flex: 1 auto;
            @media only screen and (min-width: 736px) {
                margin-top: 0px;
            }

            @media screen and ( min-height: 900px) and (min-width: 736px) {
    			//padding-top: 25px;
            }
            &-list {
                list-style: none;
                padding-left: 0px;
            }
            &-item {
                font-size: 13px;
                margin-top: 28px;
                animation: fade-left 0.75s ease forwards;
                opacity: 0;
                animation-delay: 1.50s;
                line-height: 1em;
                &.email {
                	text-decoration: underline;
                	img {
                		margin-top: 4px;
                	}
                }
                 @media screen and ( min-height: 400px) and (min-width: 736px) {
    	          font-size: 14px;
                    float: left;
                    padding-right: 30px;
            	}
                @media screen and ( min-height: 590px) and (min-width: 736px) {
                    font-size: 15px;
                    float: left;
                    padding-right: 30px;
                }
                @media screen and ( min-height: 675px) and (min-width: 736px) {
                    font-size: 15px;
                    padding-right: 0px;

                    float: none;
                }
                @media screen and ( min-height: 900px) and (min-width: 736px) {
                    font-size: 19px;
                }
                a {
                    color: white;
                    text-decoration: none;
                }
                &:nth-child(2) {
                    animation-delay: 1.75s;

                }

                &:nth-child(3) {
                    animation-delay: 2s;
                    max-width: 400px;
                    width: 100%;
                }
            }
            &-icon {
                margin-right: 11px;
                margin-top: -3px;
                margin-bottom: 14px;
                float: left;
                width: 20px;
                @media only screen and (min-width: 736px) {
                	width: 24px;
            	}
            }
        }

    }

    .fade-up__container {
        &__item {}
    }

    br:not(.keep) {
        display: none;
        @media only screen and (min-width: 1140px) {
            display: block;
        }
    }
    .address {
        float: left;
        width: 100%;
        padding-top: 2vh;
         -webkit-flex: 1 auto;
            flex: 1 auto;
        transition: opacity 0.5s ease;
       
        position: relative; 
        z-index: 5;
        @include tablet {
            padding-left: 0;
        }
        @media screen and ( min-height: 660px ){
            padding-top: 5vh;
        }
        &__row {
            clear: both;
           
           
            a[href^="mailto:"] { 
                padding: 10px;
                margin-top: -10px;
                margin-left: -10px;
                position: relative;
                overflow: hidden;
                display: block;
              &:before {
                content: '';
                background-color: #927d4b;
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                display: block;
                transition: transform 0.3s ease;
                transform: translate(0, 100%);
                z-index: 0;
              }
              &:hover {
                &:before {
                    transform: translate(0%, 0%);
                }
                
              }
              div {
                position: relative;
                z-index: 3;
              }
            }
        }
        span {
            display: block;
            float: left;
            line-height: 1em;
            padding: 2vh 2vh 2vh 0px;
        }
        &__label {
                line-height: 1em;
            font-family: lora;
            font-size: 12px;
            color: white;
            @include tablet {
                width: 114px;
                font-family: lora;
                font-size: 18px;
                color: white;
            }
        }
        &__value {
            color: white;
            font-size: 13px;
            margin-top: -2px;
            @include tablet {
                font-size: 20px;
                margin-top: 0px;
            }
            a {
                color: white;
                text-decoration: none;
            }
        }
    }
    .social {
        width: 100%;
        position: relative;
        float: left;
        padding-bottom: 30px;
        margin-top: 50px;
         @media screen and ( min-height: 660px ){
           
         }
        &:before {
            content: '';
            width: 30px;
            height: 1px;
            background-color: #4b4a4c;
            position: absolute;
            display: block;
            top: -20px;

            left: 0px;
            z-index: 3;
            @include tablet {
            top: -10px;

            }
            @include desktop {
                top: -20px;
            }

        }
        ul {
            padding: 0px 0px 0px 0px;;

            list-style: none;
            float: left;
            width: 100%;
        }
        li {
            float: left;
            padding-right: 30px;
        }
        .twitter {
                margin-top: 4px;
        }


    }
}


.visit {
    &.start-up {
        .main {
            &:before {
                @include tablet {}
            }
            .after {
                @include tablet {
                    border-top: 3850px solid transparent;
                    border-left: 3850px solid #927d4b;
                    animation: start-up .85s forwards cubic-bezier(0, 0, 0.24, 1);
                    animation-delay: 2s;
                    opacity: 1;
                    left: -200px;
                    bottom: -200px;
                    z-index: 0;
                }
            }
            &__bg {
                animation: bg-zoom-out 1.2s forwards cubic-bezier(0, 0, 0.24, 1);
                animation-delay: 2s;
                transition: transform 1s ease;
            }
            &__animation-overlay {
                @include tablet {
                    animation: fade-in .5s forwards cubic-bezier(0, 0, 0.24, 1);
                    opacity: 0;
                }
            }
            .animated-overlay {
                .arrow__down {
                    height: 100px;
                    animation: arrow-down-go 1.4s forwards cubic-bezier(0, 0, 0.24, 1);
                    animation-delay: 2s;
                }
                .arrow__right {
                    width: 164px;
                    animation: arrow-right-go 1.4s forwards cubic-bezier(0, 0, 0.24, 1);
                    animation-delay: 2s;
                }
            }
        }
    }
}


.visit-special .social {
    position: relative;

}
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@-webkit-keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fade-left {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@-webkit-keyframes fade-left {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
