﻿html, body {
    height: auto;
    min-height: 100%;
}

html {
    height: 100%;
}

body, body #ajaxContainer {
    height: 100%;
}

.dn {
    display: none !important;
}

.content {
    height: auto;
    min-height: 100%;
    overflow: hidden;
}

    .content:after {
        padding-bottom: 332px;
        content: "";
        display: block;
        height: 0px;
        width: 100%;
        margin-top: -260px;
    }

.introduction-content:after {
    margin-top: 0;
}

footer {
    height: 332px;
    margin-top: -332px;
    position: relative;
}


header, .wrapper {
    width: 1147px;
    margin: 0 auto;
}

header {
    height: 198px;
}

    header nav {
        margin: 0 auto;
        display: table;
        height: 135px;
    }

        header nav a {
            font-size: 25.5px;
            display: inline-block;
            margin: 88px 8px 0;
            padding: 12px 15px;
            position: relative;
            text-transform: uppercase;
        }

            header nav a:hover, header nav a.active {
                margin: 88px 7px 0;
            }

                header nav a.active:before, header nav a:hover:before {
                    content: "";
                    display: block;
                    height: 1px;
                    width: 178px;
                    position: absolute;
                    margin: 0 0 0 25px;
                    top: -47px;
                    -webkit-transform: rotate(150deg);
                    -moz-transform: rotate(150deg);
                    -ms-transform: rotate(150deg);
                    -o-transform: rotate(150deg);
                    cursor: default;
                }

            header nav a:nth-child(2).active:before, header nav a:nth-child(2):hover:before {
                margin: 0 0 0 43px;
            }

            header nav a:nth-child(4).active:before, header nav a:nth-child(5).active:before, header nav a:nth-child(6).active:before, header nav a:nth-child(4):hover:before, header nav a:nth-child(5):hover:before, header nav a:nth-child(6):hover:before {
                margin: 0 0 0 -131px;
                top: -46px;
                -webkit-transform: rotate(30deg);
                -moz-transform: rotate(30deg);
                -ms-transform: rotate(30deg);
                -o-transform: rotate(30deg);
            }

            header nav a:nth-child(4).active:before, header nav a:nth-child(4):hover:before {
                margin: 0 0 0 -61px;
            }

            header nav a:nth-child(3):hover {
                border-width: 1px !important;
            }

                header nav a:nth-child(3):hover:before {
                    content: "";
                    display: block !important;
                }

    header .construction-nav a:nth-child(4):hover, header .construction-nav a:nth-child(4).active {
        margin: 10px 7px 0 !important;
    }

    header .construction-nav a:nth-child(3):hover, header .construction-nav a:nth-child(3).active {
        margin: 10px 4px 0 !important;
    }
    header .construction-nav a:nth-child(4).active:before, header .construction-nav a:nth-child(4):hover:before {
        margin: 0 0 0 -128px !important;
    }

/*header .construction-nav a:nth-child(3):hover:before, header .construction-nav a:nth-child(4):hover:before {
        margin: 0 0 0 -131px;
        top: -46px;
        -webkit-transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        -o-transform: rotate(30deg);
    }*/

div.home-logo, div.introduction-logo {
    width: 100%;
    overflow: hidden;
}

    div.home-logo div.animation, div.introduction-logo div.animation {
        margin: 106px auto 0;
        display: block;
        width: 1147px;
        position: relative;
        height: 550px;
    }

    div.introduction-logo div.animation {
        margin-top: 264px;
    }

        div.home-logo div.animation div.logo-wrapper, div.introduction-logo div.animation div.logo-wrapper {
            margin: -15px 0 0 159px;
            height: 770px;
        }

        div.home-logo div.animation .before, div.introduction-logo div.animation .before {
            display: none;
            position: absolute;
            width: 1260px;
            height: 612px;
            top: -67px;
            left: -929px;
        }

        div.home-logo div.animation .after, div.introduction-logo div.animation .after {
            display: none;
            position: absolute;
            width: 1500px;
            height: 684px;
            top: -172px;
            left: 437px;
        }


        div.introduction-logo div.animation .after {
            top: -242px;
            left: 648px;
            width: 1450px;
        }

    div.home-logo div.subtitle {
        position: absolute;
        top: 225px;
        right: 220px;
        z-index: 10;
        display: none;
    }

        div.home-logo div.subtitle span {
            display: block;
            text-align: right;
            width: 320px;
        }

            div.home-logo div.subtitle span:first-child {
                font-size: 32px;
                margin-bottom: 33px;
                position: relative;
            }

            div.home-logo div.subtitle span:last-child {
                font-size: 16px;
            }

            div.home-logo div.subtitle span:first-child:after {
                display: block;
                position: absolute;
                content: "";
                width: 50px;
                height: 1px;
                top: 38px;
                right: 0px;
            }

footer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

    footer nav {
        margin: 60px 0 125px 35px;
        width: 15%;
    }

        footer nav a {
            font-size: 25.5px;
            display: inline-block;
            margin: 7px 0px 2px -21px;
            padding: 13px 11px;
            position: relative;
            text-transform: uppercase;
        }

            footer nav a.active:before, footer nav a:hover:before {
                content: "";
                display: block;
                height: 612px;
                width: 1083px;
                position: absolute;
                margin: 0 0 0 -1095px;
                top: 23px;
                cursor: default;
            }

            footer nav a.active, footer nav a:hover {
                margin: 6px 0px 1px -22px;
            }

    footer .wrapper div {
        width: 100%;
        margin: 40px 0 40px;
    }

    footer div span {
        display: inline-block;
        font-size: 16px;
    }

        footer div span + span {
            float: right;
        }

div.introduction-logo div.animation .before {
    background: url("../construction/img/left-line.png") 1px 1px;
}

div.introduction-logo div.animation .after {
    background: url("../construction/img/right-line.png") -70px -57px;
}

.introduction-nav {
    margin: -174px auto 111px;
    display: table;
    width: auto;
    z-index: 100;
    position: relative;
    height: 47px;
}

    .introduction-nav a {
        display: inline-block;
        padding: 10px 13px;
        margin: 0 81px;
        color: black;
        line-height: 25px;
        font-size: 25px;
        border: 1px solid #ffffff;
        text-transform: uppercase;
        position: relative;
    }

        .introduction-nav a:hover {
            color: #ff0000;
            border: 1px solid #ff0000;
        }

        .introduction-nav a:before {
            display: none;
        }

        .introduction-nav a:hover:before {
            content: "";
            display: block;
            height: 1px;
            width: 1500px;
            position: absolute;
            top: 420px;
            left: -20px;
            -webkit-transform: rotate(30deg);
            -moz-transform: rotate(30deg);
            -ms-transform: rotate(30deg);
            -o-transform: rotate(30deg);
            cursor: default;
            border-top: 1px solid #ff0000;
        }

        .introduction-nav a:last-child:hover:before {
            -webkit-transform: rotate(150deg);
            -moz-transform: rotate(150deg);
            -ms-transform: rotate(150deg);
            -o-transform: rotate(150deg);
            left: -1318px;
        }


.introduction-content:after {
    padding-bottom: 105px;
}

footer.introduction {
    height: 80px;
    margin-top: -80px;
    color: black;
}

    footer.introduction a, footer.introduction a:hover, footer.introduction span span {
        color: #ff0000;
    }


.pageload-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
}

    .pageload-overlay.show {
        visibility: visible;
    }

    .pageload-overlay svg {
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
    }

        .pageload-overlay svg path {
            fill: #fff;
        }

    .pageload-overlay::after,
    .pageload-overlay::before {
        content: '';
        position: fixed;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border-radius: 50%;
        visibility: hidden;
        opacity: 0;
        z-index: 1000;
        -webkit-transition: opacity 0.15s, visibility 0s 0.15s;
        transition: opacity 0.15s, visibility 0s 0.15s;
    }

    .pageload-overlay::after {
        background: #ff7800;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
        -webkit-animation: moveRight 0.6s linear infinite alternate;
        animation: moveRight 0.6s linear infinite alternate;
    }

    .pageload-overlay::before {
        background: #ff0000;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
        -webkit-animation: moveLeft 0.6s linear infinite alternate;
        animation: moveLeft 0.6s linear infinite alternate;
    }

@-webkit-keyframes moveRight {
    to {
        -webkit-transform: translateX(20px);
    }
}

@keyframes moveRight {
    to {
        transform: translateX(20px);
    }
}

@-webkit-keyframes moveLeft {
    to {
        -webkit-transform: translateX(-20px);
    }
}

@keyframes moveLeft {
    to {
        transform: translateX(-20px);
    }
}

.pageload-loading.pageload-overlay::after,
.pageload-loading.pageload-overlay::before {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}


@media screen and (max-width: 1147px) {
    .content, header, div.home-logo, div.home-logo div.animation {
        width: 1147px;
    }
}

.light-box {
    display: block;
}

nav.introduction-nav a:nth-child(2) {
    display: none;
}
