/* ======================================================================================== */
/* Typography */
/* ======================================================================================== */    

    body {
        font-family: 'PT Sans', sans-serif;
        font-size: 16px;
        line-height: 30px;
        color: rgb(50, 50, 50);
        background-color: rgb(245, 245, 245);
    }

/* ======================================================================================== */
/* Main */
/* ======================================================================================== */

    #main {
        height: auto;
        margin-left: auto;
        margin-right: auto;
        min-height: 100%;
        width: 100%;
        max-width: 2800px;
        min-width: 0px;
        background-color: rgb(245, 245, 245);
    }

/* ======================================================================================== */
/* Header */
/* ======================================================================================== */

    #header {
        display: block;
        position: relative;
        float: left;
        clear: none;
        width: 100%;
        height: auto;
        top: 0px;
        left: 0px;
        margin: 0px;
        padding: 0%;
        z-index: 1;
        overflow: hidden;
    }

    #heroBlock {
        float: left;
        height: auto;
        margin: 12.5% 0% 17.5% 12.5%;
        clear: both;
        width: auto;
        position: relative;
        top: 0px;
        left: 0px;
        padding: 2.5%;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
        border: 2px solid rgb(255, 255, 255);
        background-color: rgba(0, 177, 255, 0.25);
        z-index: 1;
    }

    #heroText {
        display: block;
        position: relative;
        float: left;
        clear: none;
        width: auto;
        height: auto;
        min-height: 0px;
        top: 0px;
        left: 0px;
        margin: 0px;
        padding: 0px;
        font-size: 1.5em;
        line-height: 1.65em;
        font-family: georgia;
        text-align: left;    
        font-weight: 900;
        color: rgb(245, 245, 245);
    }

    .heroTextSmall {
        font-family: 'PT Sans', sans-serif;
        font-size: 0.9em;
        font-weight: normal;
    }

    #frontObject {
        position: absolute;
        width: 50%;
        height: auto;
        top: auto;
        right: 5%;
        bottom: 0%;
        left: auto;
        padding-bottom: 50%;
        background-image:url("../img/header_girl.png");
        background-attachment: scroll;
        -webkit-background-size: contain;
        background-size: contain;
        background-position: 50% 100%;
        background-repeat: no-repeat no-repeat;
        z-index: 2;
    }    

    #backgroundObject {
        position: absolute;
        width: 102%;
        height: 100%;
        top: auto;
        right: -1%;
        bottom: 0%;
        left: auto;
        background-image:url("../img/header_background_index_page.jpg");
        background-attachment: scroll;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 50% 100%;
        background-repeat: no-repeat no-repeat;
        z-index: 0;
    }

/* ======================================================================================== */
/* Navigation */
/* ======================================================================================== */

    #menuIconWrapper {
        float: left;
        height: auto;
        clear: none;
        width: auto;
        position: fixed;
        top: 0px;
        left: auto;
        min-width: 0px;
        min-height: 0px;
        padding: 2.5% 2.5% 0% 0%;
        z-index: 10;
        right: 0%;
        bottom: auto;
    }

    #menuIcon {
        float: right;
        height: 66px;
        clear: none;
        width: 66px;
        position: relative;
        border: 2px solid rgb(255, 255, 255);
        display: block;
        z-index: auto;
        min-width: 0px;
        background-color: rgba(0, 0, 0, 0.33);
        padding: 0%;
        margin: 0%;
    }

    #menuIcon:hover {
        display: block;
        background-color: rgba(200, 200, 200, 0.66);
    }

    #line_1 {
        float: none;
        height: 4px;
        margin: 16px auto 0px;
        clear: none;
        width: 40px;
        position: relative;
        top: 0px;
        left: 0px;
        background-color: rgb(245, 245, 245);
    }

    #line_2 {
        float: none;
        height: 4px;
        margin: 10px auto 0px;
        clear: none;
        width: 40px;
        position: relative;
        top: 0px;
        left: 0px;
        display: block;
        background-color: rgb(245, 245, 245);
    }

    #line_3 {
        float: none;
        height: 4px;
        margin: 10px auto 0px;
        clear: none;
        width: 40px;
        position: relative;
        top: 0px;
        left: 0px;
        display: block;
        background-color: rgb(245, 245, 245);
    }

/* ======================================================================================== */
/* Logo */
/* ======================================================================================== */

    #logo {
        float: left;
        font-size: 2em;
        width: auto;
        height: auto;
        text-align: left;
        font-weight: 900;
        line-height: 1em;
        clear: none;
        min-height: 0px;
        color: rgb(245, 245, 245);
        position: relative;
        top: 0px;
        left: 0px;
        padding: 2.5%;
        letter-spacing: 0px;
        text-transform: none;
        border-top-right-radius: 0px;
        margin-left: 0%;
        margin-right: 0%;
        margin-bottom: 0%;
        display: block;
        background-color: rgba(25, 25, 25, 0.25);
        z-index: 3;
    }

/* ======================================================================================== */
/* Content */
/* ======================================================================================== */

    #content {
        float: none;
        height: auto;
        margin: 0px auto;
        clear: none;
        width: 100%;
        position: relative;
        top: 0px;
        left: 0px;
        display: block;
    }

    .text {
        position: relative;
        float: left;
        clear: none;
        top: 0px;
        left: 0px;
        width: 50%;
        height: auto;
        margin: 0%;
        padding: 5%;
        z-index: 1;
        background-image:url("../img/buta.png");
        background-attachment: fixed;
        -webkit-background-size: contain;
        background-size: contain;        
        background-position: 50% 50%;
        background-repeat: repeat repeat;
    }   
    
    #obAz {
        margin-top: 0%;
        background-color: rgb(0, 160, 225);
    }

    #istoriya {
        background-color: rgb(203, 26, 19);
    }

    #openaz {
        background-color: rgb(69, 145, 5);
    }

    #events {
        background-color: rgb(21, 47, 245);
    }

    #otdyh {
        background-color: rgb(219, 23, 83);
    }

    #pamyatka {
        background-color: rgb(224, 139, 16);
    }

    .left {
        float: left;
        clear: left;
    }    

    .right {
        float: right;
        clear: right;
    }

    .blockHeader {
        display: block;
        position: relative;
        float: left;
        clear: none;
        width: 94.4%;
        height: auto;
        min-height: 0px;
        top: 0px;
        left: 0px;
        margin: 0%;
        margin-bottom: 5%;
        padding: 2.5%;
        border: 2px solid rgb(245, 245, 245);
        background-color: rgba(245, 245, 245, 0);
        font-size: 1.5em;
        line-height: 1em;
        text-align: center;
        color: rgb(245, 245, 245);
        font-weight: 900;
    }

    .blockText {
        position: relative;
        float: left;
        clear: none;
        width: auto;
        min-width: 0px;
        height: auto;
        min-height: 0px;
        top: 0px;
        left: 0px;
        margin: 2.5% 0% 0% 0%;
        line-height: 1.65em;
        font-size: 1.2vw;
        text-align: justify;
        font-weight: normal;
        color: rgb(245, 245, 245);
    }

    .photo {
        height: auto;
        margin: 0%;
        clear: none;
        width: 50%;
        position: relative;
        top: 0px;
        left: 0px;
        z-index: auto;
        overflow: hidden;
        min-width: 0%;
        padding: 0%;
        min-height: 0%;
    }

    .photoWrapper {
        width: 100%;
        position: relative;
        float: left;  
    }
    
    .image {
        float: left;
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0%;
        clear: none;
        color: rgb(0, 0, 0);
        padding: 0%;
        position: relative;
        top: 0px;
        left: 0px;
    }

/* ======================================================================================== */
/* Media queries */
/* ======================================================================================== */
    
    @media only screen and (min-width: 1600px) {

        body {
            font-size: 16px;
        }

        .blockText {
            font-size: 1.2em;
        }
    }

    @media only screen and (max-width: 1024px) {
        body {
            font-size: 14px;
        }

        #heroBlock {
            margin-bottom: 17.5%;
        }

        #menuIcon {
            float: right;
            clear: none;
        }

        #menuIconWrapper {
            height: auto;
            padding: 2.5% 2.5% 0% 0%;
        }
    }

    @media only screen and (max-width: 800px) {
        body {
            font-size: 15px;
        }

        #heroBlock {
            float: none;
            display: none;
        }

        #menuIcon {
            float: right;
            clear: none;
            display: block;
            width: 50px;
            height: 50px;
            margin: 0%;
        }

        #line_1 {
            height: 2px;
            width: 30px;
            clear: none;
            margin-top: 13px;
        }

        #line_2 {
            height: 2px;
            width: 30px;
            clear: none;
            margin-top: 7px;
        }

        #line_3 {
            height: 2px;
            clear: none;
            width: 30px;
            margin-top: 7px;
        }

        #menuIconWrapper {
            padding-top: 5%;
            padding-right: 5%;
        }

        #logo {
            font-size: 1.5em;
            margin-bottom: 45%;
        }

        .photo {
            width: 100%;
        }

        .text {
            width: 100%;
        }

        .blockText {
            font-size: 1.1em;   
        }
    }

    @media only screen and (max-width: 600px) {

        #menuIconWrapper {
            padding: 6% 6% 0% 0%;
        }
    }

    @media only screen and (max-width: 420px) {

        #menuIcon {
            clear: none;
            border-width: 2px;
        }

        #line_1 {
            clear: none;
            height: 2px;
        }

        #line_2 {
            clear: none;
            height: 2px;
        }

        #line_3 {
            clear: none;
            height: 2px;
        }

        .blockText {
            text-align: left;
        }

        .text {
            padding: 7.5%;
        }
    }