/* Temporary. Used until appropriate icon will be found. */
.filter-ruvdsBlue {
    filter: invert(65%) sepia(77%) saturate(2191%) hue-rotate(172deg) brightness(98%) contrast(93%);
}

/* Normalized styles */
.header {
    border-bottom: solid 1px #f1f1f1;
    color: black;
    height: unset;
    padding: unset!important;
    font-weight: unset!important;
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.3px;
    width: 100%;
    box-shadow: 0 0 12px 0 rgb(32 32 32 / 75%);
    z-index: 5;
    position: fixed;
    background-color: #ffffff;
}

.header * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.header a {
    text-decoration: none;
}

.header img {
    vertical-align: middle;
    max-width: unset;
}

nav.ruvds-site.authorized ~ #main_Content_div {
    padding-top: 115px;
}

#main_Content_div {
    min-width: 1110px;
}
/* ------------------------------------- */

/* On scroll minimized styles */
.header.minimized {
    height: 90px;
    top: -35px;
}

.header.minimized .prefs_block {
    pointer-events: none;
    opacity: 0;
}

nav.ruvds-site .header.minimized .mainmenu_overlay {
    top: calc(100% + 2px)
}

.mainmenu_items-container.minimized {
    display: flex;
    margin: 19px 0px 12px 49px;
}

.header_logo.minimized {
    margin: 7px 0 7px 31px;
}

.header_logo.minimized img {
    width: 105px;
    height: 35px;
}

.headerMenu.minimized {
    top: 55px!important;
}

.headerMenu.minimized .headerMenu_items {
    padding: 9px 0 8px 185px;
}
/* ------------------------------------- */

.header_topmenu {
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px #f1f1f1;
}

.topmenu-container {
    display: flex;
    align-items: baseline;
}

.headerToggle_block {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.headerToggle_block span {
    transition: all .2s;
}

.headerToggle_block span:hover {
    cursor: pointer;
    color: #3CB1F1;
}

.hotline_block {
    margin-right: 32px;
}

.hotline_block :first-child {
    margin-right: 15px;
}

.prefs_block {
    display: flex;
    max-height: 34px;
}

.prefs_flag {
    width: 18px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    margin-right: 4px;
}

.topmenu_list {
    padding: 6px 8px 7px 8px;
    height: fit-content;
    width: 72px;
    cursor: pointer;
    user-select: none;
}

.topmenu_list:first-child {
    margin-right: 8px;
}

.topmenu_list .list {
    margin: 1px 0;
    align-items: center;
}

.topmenu_list.opened {
    background: white;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.topmenu_list:not(.opened) .list:not(:first-child) {
    display: none;
}

.topmenu_list.opened .list {
    background: none;
    transition: all .3s;
}

.topmenu_list.opened .list:hover {
    background: #e9e9e9;
}

.topmenu_list.opened .list .list_arrow {
    transform: rotate3d(35, 35, 1, 180deg);
}

.header_logo {
    width: 105px;
    height: 40px;
    margin: 10px 0 17px 31px;
}

.header_mainmenu {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.mainmenu_nav-block {
    display: flex;
}

.mainmenu_user-block {
    display: flex;
    margin-right: 29px;
}

.mainmenu_items-container {
    display: flex;
    margin: 26px 0px 22px 49px;
}

.mainmenu_item {
    cursor: pointer;
    transition: all .2s;
}

.mainmenu_item:not(:last-child) {
    margin-right: 38px;
}

.mainmenu_item:hover {
    color: #3CB1F1;
}

.ref-out {
    color: black;
    transition: all .2s;
}

.ref-out.inverse {
    color: white;
}

.ref-out.inverse:hover {
    color: black;
}

.mainmenu_item.is-active {
    color: #3CB1F1;
}

.mainmenu_usermenu-container {
    display: flex;
    align-items: center;
}

.usermenu_auth-container {
    display: flex;
}

#auth_logoutButton {
    margin: 0 3px 0 25px;
}

#auth_registerButton {
    margin-left: 7px;
}

#balance_div {
    margin-bottom: 4px;
}

#bonusBalance_div a {
    color: #c9c9c9
}

#bonusBalance_div a:hover {
    color: #3ac1ef;
}

.header_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 32px;
    width: fit-content;
    border-radius: 4px;
    padding: 8px 18px;
    font: 14px/16px 'Open Sans';
    text-decoration: none;
    font-weight: 600;
    color: black;
    transition: all .2s;
}

.header_btn-blue {
    border: 1px solid #3CB1F1;
}

.header_btn-blue:hover {
    color: #3CB1F1;
}

.header_btn-blue.primary {
    color: white;
    background: #3CB1F1;
}

.header_btn-blue.primary:hover {
    color: #3CB1F1;
    background: white;
}

.header_btn-blue.highlighted {
    color: #3CB1F1;
}

.header_btn-blue.highlighted:hover {
    color: white;
    background: #3CB1F1;
}

.header_btn-green {
    border: 1px solid #94CD0A;
}

.header_btn-green:hover {
    color: #94CD0A;
}

.header_btn-green.primary {
    color: white;
    background: #94CD0A;
}

.header_btn-green.primary:hover {
    color: #94CD0A;
    background: white;
}

.header_btn-green.highlighted {
    color: #94CD0A;
}

.header_btn-green.highlighted:hover {
    color: white;
    background: #94CD0A;
}

.header_btn-purple {
    border: 1px solid #6454BC;
}

.header_btn-purple:hover {
    color: #6454BC;
}

.header_btn-purple.primary {
    color: white;
    background: #6454BC;
}

.header_btn-purple.primary:hover {
    color: #6454BC;
    background: white;
}

.header_btn-purple.highlighted {
    color: #6454BC;
}

.header_btn-purple.highlighted:hover {
    color: white;
    background: #6454BC;
}

.hide {
    display: none;
}

.list {
    display: flex;
    align-items: baseline;
}

.list_arrow {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 6px solid #282828;
    transform: rotate(-90deg);
    transition: transform .1s;
}

.topmenu_list .list:not(:first-child) .list_arrow, .prefs-mobile-list .list:not(:first-child) .list_arrow {
    display: none;
}

.text_thin {
    color:#8e8e8e;
}

.text_semibold {
    font-weight: 600;
}
.text_bold {
    font-weight: 700;
}

.font-extrasmall {
    font-size: 12px;
    line-height: 16px;
}

.font-small {
    font-size: 14px;
    line-height: 19px;
}

.font-big {
    font-size: 18px;
    line-height: 28px;
}

.font-extrabig {
    font-size: 18px;
    line-height: 44px;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.mainmenu_overlay {
    background: white;
    position: absolute;
    width: 100%;
    top: calc(100% + 1px);
    left: 0;
    z-index: 3;
    box-shadow: 0px 10px 14px -1px rgba(0, 0, 0, 0.2);
}

.overlay-container {
    display: flex;
    width: 1080px;
    margin: 21px auto 63px auto;
}

.overlay_refs {
    width: 415px;
    height: 100%;
}

.overlay_refs .flex-col span:first-child {
    margin-bottom: 2px;
}

.overlay_refs > span {
    margin-bottom: 20px;
}

.refs_icon {
    width: 24px;
    height: 22px;
    margin-right: 12px;
}

.refs_item {
    display: flex;
    margin-bottom: 15px;
}

.overlay_cards {
    padding: 20px 0 0 13px;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.overlay_cards .card {
    position: relative;
    border: solid 1px #f1f1f1;;
    border-radius: 4px;
    width: 100%;
    height: 260px;
    padding: 28px 31px 24px 18px;
    justify-content: space-between;
}

.overlay_cards .card:first-child {
    margin-right: 27px;
}

.card-personal {
    position: relative;
    top: -12px;
    width: 100%;
    height: 260px;
    margin-left: 52px;
}

.card-personal > *:not(:last-child) {
    margin-bottom: 10px;
}

.card .header_btn {
    min-width: 140px;
}

.card_title {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 16px;
}

.card_icon {
    width: 30px;
    height: 30px;
    margin-right: 7px;
}

@-moz-document url-prefix() {
    .header_btn {
        width: -moz-fit-content;
    }

    .topmenu_list, .prefs-mobile-list {
        height: -moz-fit-content;
    }
}

.header_mobilemenu {
    display: none;
}

.mobilemenu_top {
    display: flex;
    justify-content: flex-end;
    border-bottom: solid 1px #f1f1f1;
    padding: 10px 10px 9px 0;
    white-space: nowrap;
}

.mobilemenu_top .text_thin {
    margin-right: 15px;
}

.mobilemenu_main {
    display: flex;
    justify-content: space-between;
}

.header_logo-mobile {
    width: 78px;
    height: 30px;
    margin: 8px 0 11px 15px;
}

.mobilemenu_toggle {
    width: 20px;
    height: 12px;
    margin: 19px 15px 18px 0;
    cursor: pointer;
}

.mobilemenu_drop {
    position: absolute;
    top: 89px;
    width: 100%;
    background: white;
    box-shadow: 0px 8px 10px rgb(0 0 0 / 20%);
    border-radius: 0 0 4px 4px;
    z-index: 2;
}

.mobilemenu_drop .is-active .nav-mobile_item, .mobilemenu_drop .is-active .user-mobile_item {
    color: #3CB1F1;
}

.drop_nav-mobile {
    margin-top: 15px;
    border-bottom: solid 1px #f1f1f1;
}

.is-active .list_arrow {
    transform: rotate3d(35, 35, 1, 180deg);
}

.nav-mobile_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 15px;
}

.nav-mobile_item, .user-mobile_item .list_arrow {
    margin-right: 19px;
    transition: transform .75s;
}

.overlay-mobile {
    display: none;
}

.overlay-mobile_card {
    margin: 4px 7px 0;
    border: solid 1px #f1f1f1;;
    border-radius: 4px;
    display: flex;
}

.overlay-mobile_card .flex-col {
    padding: 17px 41px 0 0;
}

.card-mobile_icon {
    margin: 18px 15px 0 8px;
    width: 22px;
    height: 22px;
}

.card-mobile_descText {
    font-size: 14px;
    line-height: 24px;
    margin: 5px 0 18px 0;
}

.card-mobile_btn {
    width: 100%;
    margin-bottom: 22px;
}

.overlay-mobile_refs {
    margin: 20px 0 5px 16px;
}

.refs-mobile_icon {
    width: 24px;
    height: 22px;
    margin-right: 12px;
}

.refs-mobile_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    transition: all .2s;
}

.refs-mobile_item:last-child {
    margin: 0;
}

.refs-mobile_item .flex-col :first-child {
    margin-bottom: 2px;
}

.ref-inlineText {
    margin-top: 3px;
}

.drop_prefs-mobile {
    display: flex;
    justify-content: flex-start;
    padding: 11px 0 5px 10px;
    height: 45px;
    border-bottom: solid 1px #f1f1f1;
}

.drop_prefs-mobile:not(.opened) .list:not(:first-child) {
    display: none;
}

.prefs-mobile-list {
    padding: 6px 8px 7px 8px;
    height: fit-content;
    cursor: pointer;
    user-select: none;
}

.prefs-mobile-list.opened .list_arrow {
    transform: rotate3d(35, 35, 1, 180deg);
}

.prefs-mobile-list.opened {
    background: white;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.prefs-mobile-list.opened .list {
    display: flex!important;
}

#prefs_lang-mobile {
    margin-right: 24px;
}

.drop_user-mobile {
    display: flex;
}

.user-mobile_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 11px 16px;
    transition: all .2s;
}

#user-mobile_auth {
    display: flex;
    margin: 21px 0 20px 12px;
}

#user-mobile_personal > .flex-col {
    margin: 0;
    padding: 20px 0 5px 16px;
    border-top: solid 1px #f1f1f1;
}

#user-mobile_personal-dropdown {
    width: 100%;
}

.user-mobile_logout-container {
    width: 100%;
    border-top: solid 1px #f1f1f1;
}

#auth_logoutButton-mobile {
    margin: 15px 0 15px 15px;
}

#auth_loginButton-mobile {
    margin-right: 15px;
}

#auth_registerButton-mobile {
    width: 183px;
}

@media (max-width: 1120px) {
    .headerMenu {
        display: none;
    }

    .header_logo-mobile img {
        width: 78px;
        height: 30px;
    }

    nav.navbar {
        height: unset!important;
        min-height: unset!important;
    }
    
    .header_topmenu, .header_mainmenu {
        display: none;
    }

    .header_mobilemenu {
        display: block;
    }

    .header {
        position: -webkit-sticky;
        position: sticky;
    }
    nav.onLanding {
        padding-bottom: 0!important;
    }

    /*Temporary until proper mobile ruvds site is implemented*/
    nav.ruvds-site .header {
        position: fixed;
        min-width: inherit;
    }

    nav.ruvds-site .header_mainmenu {
        display: flex;
    }

    nav.ruvds-site .header_topmenu {
        display: flex;
    }

    nav.ruvds-site .header_mobilemenu {
        display: none;
    }

    nav.ruvds-site .headerMenu {
        display: block;
    }

    nav.ruvds-site.authorized ~ #main_Content_div {
        padding-top: 115px;
    }
}