.header {
    position: relative;
    margin-bottom: 17px;
    min-height: 45px;
    height: auto;
    width: auto;
    margin-left: -25px;
    margin-right: -25px;
    padding: 5px 0 7px;
    background: -webkit-gradient(linear, left top, left bottom, from(#2D3882), to(#222B6F));
    background: -webkit-linear-gradient(top, #2D3882, #222B6F);
    background: -moz-linear-gradient(top, #2D3882, #222B6F);
    background: -o-linear-gradient(top, #2D3882, #222B6F);
    background: linear-gradient(to bottom, #2D3882, #222B6F);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2D3882', endColorstr='#222B6F',GradientType=0 ); /* IE6-9 */
    border-bottom: 1px solid #161C4F;
}
.header:after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    background-color: #354191;
    height: 4px;
}
.layout.is-fixed .header {
    margin-left: -10px;
    margin-right: -10px;
}
.logo {
    display: block;
    width: 216px;
    height: 34px;
    margin:0 auto;
    background: url('../../styles/mgid/images/logo_beta.png') top left no-repeat;
}
.special_es_logo {
    background: url('../../styles/mgid/images/logo_beta_es.png') top left no-repeat;
}
.epeex .logo {
    display: block;
    height: 34px;
    width: 100px;
    margin:0 auto;
    background: url('../../styles/mgid/images/logo_epeex.svg') top left no-repeat;
}
.adgage .logo {
    height: 42px;
    width: 100px;
    background: url('../../styles/mgid/images/logo_adgage.svg') top left no-repeat;
}
.qubz .logo {
    height: 42px;
    width: 100px;
    background: url('../../styles/mgid/images/logo_qubz.svg') top left no-repeat;
}
.inis .logo {
    height: 42px;
    width: 100px;
    background: url('../../styles/mgid/images/logo_inis.svg') top left no-repeat;
}
.user {
    position: absolute;
    width: 590px;
    top: 12px;
    right: 25px;
}
.user p {
    display: block;
    margin: 0 0 9px;
    text-align: right;
    color: #edf0f7;
}
.user a {
    color: #94a4d3;
    display: block;
    float: right;
    padding:0 5px;
    margin: 4px 0;
    line-height: 12px;
    text-transform: uppercase;
}
.user .out {
    padding: 0 0 0 5px;
    border-left: 1px solid #94a4d3;
}

/*----- switch lang flags -----*/
.header__item {
    position: relative;
    width: 216px;
    margin: 0 auto;
    text-align: center;
}
.epeex .header__item {
    width: 300px;
}
.inis .header__item,
.adgage .header__item {
    width: 280px;
}
.qubz .header__item {
    width: 330px;
}
.user-change-lang {
    display: inline-block;
    position: absolute;
    width: 33px;
    height: 21px;
    top: 10px;
    left: 200px;
    padding-right: 7px;
    text-align: left;
    overflow: hidden;
    z-index: 2;
}
.user-change-lang.show {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-right: 0;
    overflow: visible;
}
.user-change-lang a {
    display: none;
    width: 25px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    filter: grayscale(100%);
    transition: all .3s ease;
    border: 1px solid #ccc;
}
.user-change-lang a.activeLocale {
    display: inline-block;
    position: relative;
}
.user-change-lang a.activeLocale:after {
    position: absolute;
    content: '';
    border: solid #fff;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 2px;
    top: 7px;
    right: -8px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.user-change-lang.show a.activeLocale:after {
    display: none;
}
.user-change-lang.show a {
    display: inline-block;
}
.user-change-lang a:hover,
.user-change-lang a.activeLocale {
    filter: grayscale(0);
}
.user-change-lang.show:after {
    display: none;
}
.lang-icon .en {
    background: url('../../styles/images/flags/gb.svg') no-repeat;
    background-size: cover;
}
.lang-icon .es {
    background: url('../../styles/images/flags/es.svg') no-repeat;
    background-size: cover;
}
.lang-icon .ru {
    background: url('../../styles/images/flags/ru.svg') no-repeat;
    background-size: cover;
}
.lang-icon .vi {
    background: url('../../styles/images/flags/vi.svg') no-repeat;
    background-size: cover;
}
.lang-icon .th {
    background: url('../../styles/images/flags/th.svg') no-repeat;
    background-size: cover;
}
.lang-icon .uk {
    background: url('../../styles/images/flags/uk.svg') no-repeat;
    background-size: cover;
}
.lang-icon .hi {
    background: url('../../styles/images/flags/hi.svg') no-repeat;
    background-size: cover;
}
.lang-icon .id {
    background: url('../../styles/images/flags/id.svg') no-repeat;
    background-size: cover;
}
.lang-icon .it {
    background: url('../../styles/images/flags/it.svg') no-repeat;
    background-size: cover;
}
.lang-icon .pt-br {
    background: url('../../styles/images/flags/pt-br.svg') no-repeat;
    background-size: cover;
}
.lang-icon .pl {
    background: url('../../styles/images/flags/pl.svg') no-repeat;
    background-size: cover;
}
.lang-icon .tr {
    background: url('../../styles/images/flags/tr.svg') no-repeat;
    background-size: cover;
}
/*----- /switch lang flags -----*/

.menu-separator {
    padding: 0 5px;
    border-left: 1px solid #94a4d3;
}
