header{
    position: relative;
    width: 100%;
    height: 170px;
    margin: 0;
    padding: 0;
    background-color: #0b3975;
}
header:after{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 550px;
    height: 100%;
}
header[data-type-background="world"]:after{background: url('../img/bgWorld.png') no-repeat right top}
header[data-type-background="people"]:after{background: url('../img/bgPeople.png') no-repeat right top}
header[data-type-background="sport"]:after{background: url('../img/bgSport.png') no-repeat right top}
header[data-type-background="photos"]:after{background: url('../img/bgPhotos.png') no-repeat right top}
header > aside{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 30px;
    background: url('../img/bgTopBlock.png') repeat-x;
}
header > aside > div{
    position: relative;
    width: 990px;
    height: 100%;
    margin: auto;
}
header > aside > div > ul{
    position: relative;
    float: left;
    margin: 3px 0px 0px 10px;
    padding: 0;
    list-style: none;
}
header > aside > div > ul > li{
    float: left;
    padding: 0;
    margin: 0;
    border-right: 1px solid #093166;
}
header > aside > div > ul > li:last-child{
    border: none;
}
header > aside > div > ul > li > a{
    position: relative;
    display: block;
    padding: 3px 15px;
    font: 13px "Segoe UI", Arial, Tahoma, Verdana, sans-serif;
    color: #fff;
    text-decoration: none;
    -webkit-transition-duration: 0.4s;
         -o-transition-duration: 0.4s;
            transition-duration: 0.4s;
}
header > aside > div > ul > li:first-child a{
    padding-left: 0;
}
header > aside > div > ul > li > a:hover{
    text-decoration: none;
    color: #b6ceec;
}
header > aside > div > ul > li:last-child > a{
    position: relative;
    float: left;
    margin: 2px 0px 0px 10px;
    padding: 0;
    display: block;
    width: 21px;
    height: 19px;
    text-indent: -999999px;
    opacity: 1.0;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
}
header > aside > div > ul > li:last-child > a:hover{
    opacity: 0.6;
}
header > aside > div > ul > li:last-child > a.linkVk{
    background: url('../img/iconVk.png') no-repeat center center;
}
header > aside > div > ul > li:last-child > a.linkFb{
    background: url('../img/iconFb.png') no-repeat center center;
}
header > aside > div > ul > li:last-child > a.linkTw{
    background: url('../img/iconTw.png') no-repeat center center;
}
header > aside > div form{
    position: relative;
    float: right;
    background-color: #fff;
    border: 1px solid #fff;
    margin: 3px 7px 0px 0px;
}
header > aside > div form input[type="text"]{
    position: relative;
    float: left;
    width: 200px;
    padding: 2px 3px 2px 10px;
    margin: 0;
    font: 13px "Segoe UI", Arial, Tahoma, sans-serif;
    color: #666;
    background-color: transparent;
    border: none;
    outline: none;
}
header > aside > div form input[type="submit"]{
    position: relative;
    float: left;
    width: 26px;
    padding: 2px 0px 3px 0px;
    margin: 0;
    text-indent: -999999px;
    background: url('../img/iconSearch.png') no-repeat center center;
    border: none;
    cursor: pointer;
    -webkit-transition-duration: 0.5s;
         -o-transition-duration: 0.5s;
            transition-duration: 0.5s;
}
header > aside > div form input[type="text"]:focus + input[type="submit"] {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}
header > div#blockHead{
    position: relative;
    width: 990px;
    height: 140px;
    margin: auto;
    padding: 0;
    background: url('../img/bgLight.png') no-repeat left bottom;
}
header > div#blockHead a.styleLogo{
    position: absolute;
    display: block;
    bottom: 10px;
    left: 0;
    width: 380px;
    height: 100px;
    text-indent: -999999px;
    background: url('../img/iconLogo.png') no-repeat center center;
}

@media screen and (max-width: 990px) {
    header > aside > div {
        width: 100%;
    }
    header > div#blockHead {
        width: 100%;
        position: relative;
        z-index: 2;
    }
}

@media screen and (max-width: 767px) {
    header {
        height: auto;
        background-color: transparent;
    }
    header > div#blockHead,
    header[data-type-background="world"]:after,
    header[data-type-background="photos"]:after,
    header[data-type-background="people"]:after,
    header[data-type-background="sport"]:after {
        display: none;
    }
    header > aside {
        height: auto;
        background-image: none;
    }
    header > aside > div > ul {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
        float: none;
        margin: 0;
        padding-bottom: 0;
    }
    header > aside > div > ul > li {
        float: none;
        border-right: none;
    }
    header > aside > div > ul > li > a {
        padding: 8px 0;
        text-align: left;
        font-size: 16px;
        text-decoration: none;
        color: #092f5f;
    }
    header > aside > div > ul > li > a:hover {
        text-decoration: none;
    }
    header > aside > div > ul > li:last-child > a {
        float: none;
        margin: 10px 0;
        width: 25px;
        height: 25px;
        font-size: 0;
    }
    header > aside > div > ul > li:last-child > a.linkFb {
        background-size: contain;
    }
    header > aside > div form {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        float: none;
    }
    header > aside > div form input[type="text"] {
        float: none;
    }
    header > aside > div form {
        margin: 0;
        background-color: transparent;
        border: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        padding-bottom: 10px;
    }
    header > aside > div form input[type="text"] {
        width: calc(100% - 41px);
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        background-color: white;
        padding: 12px 15px;
        border: 1px solid #dcdcdc;
        border-right: none;
    }
    header > aside > div form input[type="submit"] {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
        padding: 0;
        width: 41px;
        height: 41px;
        background-color: #092f60;
    }
    header > aside > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
}