/* Top */

html {
    min-width: 1033px;
}

body {
    margin: 0 auto;
    padding: 0;
    min-height: 720px;
    min-width: 1024px;
    max-width: 1900px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: black;
}

#top {
    position: relative;
}

#top #video {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    min-width: 1690px;
}

#top .video-pane {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: auto;
    overflow: hidden;
    z-index: 1;
}

#top .registration-block {
    position: absolute;
    top: 25px;
    left: 50%;
    margin-left: 213px;
    width: 407px;
    height: 707px;
    z-index: 2;

    /* On center-bottom of the screen
    position: absolute;
    top: 267px;
    left: 50%;
    width: 449px;
    height: 643px;
    z-index: 2;
    transform: translate(-50%, 0);
    */
}

#top .registration-block .background {
    background: url(../images/1/background_reg.png) 0 bottom no-repeat;
    width: 407px;
    height: 707px;
    top: 0;
    left: 0;
    position: absolute;
}

#top .registration-block .background .logo {
    position: absolute;
    top: 0;
    left: 18px;
    right: 22px;
    height: 354px;
}

#top .background input.input {
    width: 278px;
    height: 38px;
    color: #333;
    border: 1px solid #b29d75;
    margin: 13px auto;
    background: #eddbbb;
    position: relative;
    display: block;
    padding: 2px 12px 3px;
    text-align: center;
    font-size: 17px;
    font-family: Arial;
}

#top .background div.input {
    position: relative;
    display: block;
    margin: 18px auto;
    color: #999;
    width: 278px;
    padding: 0 3px;
}

#top .background div.input .label {
    position: absolute;
    top: 0;
    font-family: Arial;
    font-size: 13px;
    left: 22px;
    line-height: 15px;
    color: #666;
    width: 220px;
}

#top input::-webkit-input-placeholder,
#top input::-moz-placeholder,
#top input:-moz-placeholder,
#top input:-ms-input-placeholder {
    color: black;
    opacity: 1;
    text-align: left;
}

#top input::-webkit-input-placeholder {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#top input::-moz-placeholder {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#top input:-moz-placeholder {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#top input:-ms-input-placeholder {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#top input:focus::-webkit-input-placeholder {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#top input:focus::-moz-placeholder {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#top input:focus:-moz-placeholder {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#top input:focus:-ms-input-placeholder {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#top .background form {
    width: 100%;
    position: relative;
    margin-top: 360px;
}

#top input[type=submit] {
    background: url('../images/1/reg-button.png');
    width: 309px;
    height: 82px;
    margin: 32px auto 0;
    border: none;
    position: relative;
    display: block;
    cursor: pointer;
}

#top input[type=submit]:hover {
    background-position: 0 -84px;
}

#top input[type=submit]:active {
    background-position: 0 -167px;
}

#top .user-agreement-box {
    width: 800px;
    height: 700px;
    position: fixed;
    top: 50%;
    margin-top: -380px;
    z-index: 4;
    left: 50%;
    margin-left: -415px;
    padding: 45px 15px 15px;
    background-color: rgba(177, 230, 255, 0.9);
    border: none;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 25px;
    -webkit-box-shadow: 10px 10px 24px -5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 24px -5px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 24px -5px rgba(0, 0, 0, 0.75);
}

#top .user-agreement-box iframe {
    width: 800px;
    height: 100%;
    border: none;
}

#top .user-agreement-box .label {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 24px;
    top: 10px;
}

#top .user-agreement-box .close-button {
    position: absolute;
    right: 13px;
    top: 13px;
    cursor: pointer;
    font-size: 17px;
}

#top .user-agreement-button {
    border-bottom: 1px solid #666;
    cursor: pointer;
}

#top .error {
    background-color: rgba(255, 102, 102, 0.9);
    border: 1px solid #ff3333;
    width: 300px;
    height: 38px;
    position: absolute;
    margin-left: -276px;
    text-align: center;
    color: #333;
    display: none;
    padding: 2px 12px 3px;
    font-family: Arial;
    font-size: 14px;
}

#top .error.agreement {
    top: 173px;
}

#top .error.name {
    top: 0;
}

#top .error.email {
    top: 58px;
}

#top .error.pass {
    top: 116px;
}

#top .error.visible {
    display: table;
}

#top .error.visible > div {
    vertical-align: middle;
    height: 100%;
    display: table-cell;
    position: relative;
}

#top .message {
    font-family: calibri, sans-serif;
    font-weight: bold;
    color: white;
    width: 1024px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -136%);
    z-index: 1;
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

#top .message header {
    font-size: 45px;
}

#top .message article {
    font-size: 30px;
}

/* Mid */

#middle {
    margin: 0 auto;
    max-width: 1900px;
    position: relative;
    background: url("../images/1/bg.jpg") 0 0 repeat transparent;
    overflow: hidden;
}

#middle:before, #middle:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: url("../images/1/left_wall.png") 0 0 repeat-y transparent;
    width: 10px;
    height: 100%;
}

#middle:after {
    left: inherit;
    right: 0;
    transform: scaleX(-1);
}

#middle > hr {
    border: none;
    margin: 0;
    padding: 0;
    outline: none;
    background: url("../images/1/horizontal_line.jpg") 0 0 repeat-x transparent;
    width: 100%;
    height: 29px;
    position: relative;
    z-index: 3;
}

#middle > article {
    background: url("../images/1/content_bg.jpg") 0 0 repeat-y transparent;
    margin: 0 auto;
    width: 1027px;
}

#middle article.top {
    font-family: arial, sans-serif;
    font-weight: bold;
    height: 453px;
    position: relative;
}

#middle article.top:before, #middle article.top:after {
    content: '';
    position: absolute;
    left: -115px;
    bottom: 0;
    background: url("../images/1/corner_swords.png") 0 0 no-repeat transparent;
    width: 115px;
    height: 129px;
}

#middle article.top:after {
    left: inherit;
    right: -115px;
    transform: scaleX(-1);
}

#middle article.top img {
    position: absolute;
    left: 21px;
    top: 29px;
}

#middle article.top aside {
    padding-left: 423px;
    padding-top: 75px;
}

#middle article.top aside h1 {
    font-size: 50px;
    color: #cc0000;
    font-weight: bold;
    padding-bottom: 22px;
}

#middle article.top aside p {
    font-size: 30px;
    color: #003399;
    line-height: 41px;
    padding-bottom: 29px;
}

#middle article.top aside p span {
    color: #cc0000;
}

#middle section.slider {
    width: 100%;
    height: auto;
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
    overflow: hidden;
}

#middle section.slider img {
    position: absolute;
    opacity: 0;
    transition: opacity 1000ms;

    width: 100% !important;
    height: auto !important;
}

#middle section.slider img.placeholder {
    position: relative;
}

#middle section.slider img.current {
    opacity: 1;
}

#middle article.middle {
    position: relative;
    font-family: arial, sans-serif;
}

#middle article.middle .slider-controller {
    text-align: center;
    white-space: nowrap;
    height: 27px;
    line-height: 27px;
    padding-top: 38px;
    padding-bottom: 34px;
}

#middle article.middle .slider-controller .item {
    display: inline-block;
    width: 23px;
    height: 23px;
    background-color: white;
    border-radius: 50%;
    margin: 0 9px;
    border: solid 2px transparent;
    transition: width 200ms, width 200ms, border 200ms;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

#middle article.middle .slider-controller .item.current {
    width: 19px;
    height: 19px;
    border: solid 4px #0099ff;
}

#middle article.middle h1 {
    font-size: 30px;
    font-weight: bold;
    color: #cc0000;
    padding: 0 52px 2px;
}

#middle article.middle h2 {
    font-size: 25px;
    font-weight: bold;
    color: #003399;
    padding: 0 52px 26px;
    line-height: 36px;
    width: 655px;
}

#middle article.middle ul {
    font-size: 18px;
    color: #333;
    margin-left: 75px;
    padding-bottom: 51px;
}

#middle article.middle li {
    list-style-image: url("../images/1/li.png");
    padding-left: 10px;
    line-height: 40px;
}

#middle article.middle img {
    position: absolute;
    right: 29px;
    bottom: -18px;
}

#middle section.belt {
    display: inline-block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

#middle section.belt .side {
    display: inline-block;
    background: url("../images/1/wood_left.jpg") 0 0 no-repeat transparent;
    width: 248px;
    height: 254px;
    vertical-align: top;
    margin-top: 32px;
}

#middle section.belt .side.right {
    transform: scaleX(-1);
}

#middle section.belt .frame {
    white-space: normal;
    display: inline-block;
    position: relative;
}

#middle section.belt .frame hr {
    background: url("../images/1/horizontal_line_small.jpg") 0 0 repeat-x transparent;
    width: 100%;
    height: 24px;
    display: inline-block;
    position: relative;
    border: none;
}

#middle section.belt .frame .images {
    white-space: nowrap;
}

#middle section.belt .frame .images img {
    display: inline-block;
    cursor: pointer;
}

#middle section.belt .frame .images .delimiter {
    display: inline-block;
    background: url("../images/1/mid_wall_small.jpg") 0 0 no-repeat transparent;
    width: 7px;
    height: 269px;
    border: none;
}

#middle article.bottom {
    font-family: arial, sans-serif;
    text-align: center;
    padding-bottom: 57px;
}

#middle article.bottom h1 {
    font-size: 40px;
    font-weight: bold;
    color: #cc0000;
    padding-top: 60px;
    padding-bottom: 2px;
}

#middle article.bottom h2 {
    font-size: 40px;
    font-weight: bold;
    color: #003399;
}

#middle article.bottom button {
    background: url('../images/1/button.png');
    width: 366px;
    height: 82px;
    border: none;
    position: relative;
    display: block;
    cursor: pointer;
    margin: 39px auto 0;
}

#middle article.bottom button:hover {
    background-position: 0 -82px;
}

/* Bottom */

#bottom {
    font-family: arial, sans-serif;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #cccccc;
    padding: 56px 0;
    line-height: 20px;
}

/* Winter Theme */

#middle.winter > hr.big-mid-1, #middle.winter > hr.big-mid-2 {
    z-index: 1;
}

#middle.winter > hr.big-top:before {
}

#middle.winter > hr.big-mid-1:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -30px;
    z-index: 1;
    background: url("../images/1/snow_big_top.png") 10px 0 no-repeat transparent;
    height: 149px;
    width: 100%;
}

#middle.winter > hr.big-mid-2:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -30px;
    z-index: 1;
    background: url("../images/1/snow_big_bottom.png") 0 0 no-repeat transparent;
    height: 149px;
    width: 100%;
}

#middle.winter section.belt .frame hr.small-top:before {
    content: '';
    background: url("../images/1/snow_frame_top.png") 0 0 no-repeat transparent;
    width: 1463px;
    height: 163px;
    position: absolute;
    top: -34px;
    left: -32px;
    z-index: 2;
    pointer-events: none;
}

#middle.winter section.belt .frame hr.small-bottom:before {
    content: '';
    background: url("../images/1/snow_frame_top.png") 0 0 no-repeat transparent;
    width: 1463px;
    height: 163px;
    position: absolute;
    top: -34px;
    left: -32px;
    z-index: 2;
    pointer-events: none;
    transform: scaleX(-1);
}

/* Responsive */

@media all and (max-width: 1600px) {

    #middle section.belt .side {
        visibility: hidden;
    }
}

@media all and (max-width: 1510px) {
    #top .registration-block {
        right: 100px;
        margin-left: 0;
        left: auto;
    }

    #middle section.belt .side {
        display: none;
    }

    #middle section.belt .frame {
        width: 100%;
        position: relative;
        margin-top: -4px;
        top: 4px;
    }

    #middle section.belt .frame .images img {
        width: 333px !important;
        height: auto !important;
    }

    #middle section.belt .frame .images .delimiter {
        background: url("../images/1/mid_wall_small.jpg") 0 0 no-repeat transparent;
        width: 7px;
        height: 194px;
    }

    #middle.winter section.belt .frame hr.small-top:before {
        transform: scale(0.72, 1) translate(-18%, 0);
    }

    #middle.winter section.belt .frame hr.small-bottom:before {
        transform: scale(-0.72, 1) translate(18%, 0);
    }
}

@media all and (max-width: 1300px) {

    #middle article.top:before, #middle article.top:after {
        display: none;
    }
}

@media all and (max-width: 1065px) {

    #top .registration-block {
        right: 10px;
        margin-left: 0;
        left: auto;
    }

    #top .message {
        left: 10px;
        transform: translate(0, -136%);
    }
}

