

:root {
    --leftbar-width: 140px; /* ширина меню */
    --leftbar-item-height: 140px; /* высота иконки меню*/
    /*--leftbar-offset: 0px;*/
    --leftbar-submenu-width: 275px; /* ширина внутреннего меню */
    --bg-color: #008eea; /* фон меню */
    --icon-bg-color: #44b5ff;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #44b5ff;  /* фон иконки при наведении */
    --icon-bg-active-color: #ffffff;  /* фон активной иконки */
    --icon-title-color: #ffffff;  /* цвет подписей иконок */
    
    --icon-active-filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(2081%) hue-rotate(181deg) brightness(104%) contrast(105%);

    --submenu-bg-color: #FFF;   /* фон внутреннего меню */
    --submenu-title-color: #979797;  /* цвет заголовка внутреннего меню */
    --submenu-link-color: #1a4895;  /* цвет ссылки внутреннего меню */
    --submenu-link-hover-color: #FFF;  /* цвет ссылки внутреннего меню при наведении*/
    --submenu-link-bg-hover-color: #BA965C;  /* фон ссылки внутреннего меню при наведении */
    --counter-bg-color: rgba(104, 141, 51, 0.62);  /* цвет счетчика */
}

body.english {
    --bg-color: #EE3324; /* фон меню */
    --icon-bg-color: #ff5a4e;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #ff5a4e;  /* фон иконки при наведении */
    --icon-active-filter: invert(51%) sepia(7%) saturate(5964%) hue-rotate(317deg) brightness(101%) contrast(100%);
}

body.spanish {
    --bg-color: #FCBD10; /* фон меню */
    --icon-bg-color: #FFCF4B;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #FFCF4B;  /* фон иконки при наведении */
    --icon-active-filter: brightness(0) saturate(100%) invert(83%) sepia(40%) saturate(3149%) hue-rotate(350deg) brightness(102%) contrast(98%);                          
}

body.russian {
    --bg-color: #1A4895; /* фон меню */
    --icon-bg-color: #266fea;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #266fea;  /* фон иконки при наведении */
    --icon-active-filter: brightness(0) saturate(100%) invert(30%) sepia(58%) saturate(3059%) hue-rotate(210deg) brightness(98%) contrast(86%);                          
}

body.individual {
    --bg-color: #000000; /* фон меню */
    --icon-bg-color: #000000;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #000000;  /* фон иконки при наведении */
    --icon-active-filter: brightness(0) saturate(100%);    
    --submenu-link-color: #000000;
}

.logo.gc-account-logo {
    display: none;
}

#gcAccountUserMenu {
    display: none;
}

.gc-account-leftbar {
    width: auto;  
    background: var(--bg-color);
    font-family: var(--font-family) !important;
}

.gc-account-leftbar::-webkit-scrollbar {
    width: 0;
}

.gc-account-leftbar .gc-account-user-menu {
    display: flex;
    flex-direction: column;
    grid-gap: 3px;
}

.gc-account-leftbar .gc-account-user-menu .menu-item:not(.menu-item-profile:not(.default)):not(.menu-item-tasks) .menu-item-icon {
    display: none;
}

.menu-item svg {
    overflow: hidden;
}

.gc-account-leftbar .gc-account-user-menu li {
    box-shadow: 4px 4px 25px 0px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    transition: .3s;
}
.gc-account-leftbar .gc-account-user-menu li a {
    overflow: hidden;
}
.gc-account-leftbar .gc-account-user-menu li.menu-item-profile a {
    padding: 10px;
    height: auto;
}

.gc-account-leftbar .gc-account-user-menu li a path,
.gc-account-user-submenu-bar .gc-account-user-submenu li a,
.gc-account-leftbar .gc-account-user-menu li svg > * {
    transition: .3s;
}

/*.with-left-menu .gc-into-main-content {
    left: calc(var(--leftbar-width));
    }*/

.gc-main-content.with-left-menu {
    margin-left: calc(var(--leftbar-width));
}

.gc-account-leftbar .gc-account-user-submenu-bar div.user-balance {
    margin: 18px;
}

.gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small {
    width: 400px;
}

-- /* Отключить подписи */
/*.gc-account-leftbar .menu-item-label { 
    display: none;
}*/ 

.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
    height: 73px;
}

.gc-account-leftbar .gc-account-user-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--icon-bg-color);
    width: var(--leftbar-width);
    height: var(--leftbar-item-height);
}

.gc-account-leftbar .gc-account-user-menu li a:hover {
    background-color: var(--icon-bg-hover-color);
}

.gc-account-leftbar .gc-account-user-menu li.active a,
.gc-account-leftbar .gc-account-user-menu li.selected a {
	background: var(--icon-bg-active-color);
} 

.gc-account-leftbar .gc-account-user-menu li.active a .custom-menu-icon,
.gc-account-leftbar .gc-account-user-menu li.selected a .custom-menu-icon,
.gc-account-leftbar .gc-account-user-menu li.active a img,
.gc-account-leftbar .gc-account-user-menu li.selected a img {
    filter: var(--icon-active-filter);
}


.gc-account-leftbar .gc-account-user-submenu-bar li.menu-item-help a, 
.gc-account-leftbar .gc-account-user-submenu-bar li.menu-item-delimiter a {
    border-top: none;
}

.gc-account-leftbar .gc-account-user-submenu-bar {
    padding: 20px;
    left: calc(var(--leftbar-width));
    background: var(--submenu-bg-color);
    box-shadow: 4px 4px 25px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.gc-account-leftbar .gc-account-user-submenu-bar:not(.gc-account-user-submenu-bar-notifications_button_small){	
    width: var(--leftbar-submenu-width);
}

.gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
    max-height: 700px;
    overflow-y: scroll;
}

.gc-account-user-submenu-bar h3 {
    color: var(--submenu-title-color);
    margin: 0 0 20px 0;
    padding: 0;
    font-family: var(--font-family);
	font-weight: 400;
	font-size: 33px;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    padding: 10px 0;
    margin-bottom: 0;
    font-family: var(--second-family);
	font-weight: 500;
	font-size: 22px;
	text-transform: uppercase;
    color: var(--submenu-link-color);
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
    background: none;
}

.gc-account-leftbar .menu-item .notify-count:not(:empty), 
.gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count:not(:empty) {
	display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--counter-bg-color) !important;
    border-radius: 80px;
	width: 61px;
	height: 44px;
    min-width: auto;
    padding: 5px;
    font-family: var(--font-family);
	font-weight: 400;
	font-size: 28px;
	text-align: center;
	color: #ffffff;
}

.gc-account-leftbar .menu-item-notifications_button_small .notify-count:not(:empty) {
	border-radius: 80px !important;
	height: 44px !important;
	width: 90px !important;
	color: #008eea !important;
	background-color: #ffffff !important;
}

.menu-item-notifications_button_small.selected .notify-count:not(:empty) {
    color: #ffffff !important;
    background-color: var(--icon-bg-color) !important;
}

.gc-account-leftbar .menu-item .notify-count {
    bottom: 29px;
    right: 12px;
}

.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small .notify-count {
    top: unset;
    right: unset !important;
    bottom: unset !important;
}

.gc-fade-wrapper .gc-fade {
    left: 0;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li[class*="menu-item-gus"] a {
    color: var(--submenu-link-color);
}

@media (max-width: 768px) {
	:root {
        --leftbar-width: 70px !important;
        --leftbar-item-height: 70px !important;
    }
    

    
    .gc-account-leftbar .gc-account-user-menu {
        margin-bottom: 0;
    }
    
    
    .gc-account-leftbar.expanded {
        height: auto;
        top: 0;
        bottom: auto;
        z-index: 10002;
        
    }
    
    .gc-account-leftbar:not(.expanded) {
        height: 66px;
    }

    .gc-main-content.with-left-menu {
        margin-left: 0;
    }

    .gc-account-leftbar .gc-account-user-menu {
        width: var(--leftbar-width);
    }
    
    .gc-account-leftbar .toggle-link img {
	    display: none;
	}

    .gc-account-leftbar .toggle-link {
        background: #ffffff;
        height: 66px;
    }
    
    .gc-account-leftbar .toggle-link:before {
    	position: absolute;
    	top: 50%;
        transform: translateY(-50%);
	    content: "";
	    display: block;
	    width: 33px;
	    height: 33px;
	    background-image: url("data:image/svg+xml,%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.0625 1H15.9375' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M1.0625 8H15.9375' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M1.0625 15H15.9375' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
        background-size: 17px 16px;
        background-repeat: no-repeat;
        background-color: #008EEA;
        background-position: center;
        border-radius: 50%;
	}
    
    body.english .gc-account-leftbar .toggle-link:before {
        background-color: #EE3324;
	}
    
    body.spanish .gc-account-leftbar .toggle-link:before {
        background-color: #FCBD10;
	}
    
    body.russian .gc-account-leftbar .toggle-link:before {
        background-color: #1A4895;
	}

    .gc-page-nav-items-menu a {
        background: #ffffff;        
        color: var(--icon-title-color);
    }

    .gc-account-leftbar .gc-account-user-menu {
        background: var(--bg-color);
    }
    
    .gc-account-user-submenu-bar h3 {
	    font-size: 24px;
	}
		
	.gc-account-user-submenu-bar .gc-account-user-submenu li a {
	    font-size: 16px;
	}
    
    .gc-account-leftbar .menu-item .notify-count:not(:empty), .gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count:not(:empty) {
	    font-size: 14px;
	}
	
	.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
	    width: 70px;
	    height: 36px;
	}
	
	.menu-item svg {
        max-height: 38px !important;
    }
	
	.gc-account-leftbar .menu-item-notifications_button_small .notify-count:not(:empty) {
	    border-radius: 40px !important;
	    width: 45px !important;
	    height: 22px !important;
	}
	
	.gc-account-leftbar .menu-item .notify-count:not(:empty), .gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count:not(:empty) {
	    border-radius: 40px;
	    width: 30px;
	    height: 22px;
	}
	
	.gc-account-leftbar .menu-item .notify-count {
        bottom: 14px;
        right: 12px;
    }	
}

@media (max-height: 1170px) {
    body:not(:has(.gc-user-user)) {
        --leftbar-width: 100px; /* ширина меню */
        --leftbar-item-height: 100px; /* высота иконки меню*/
    }
    
    body:not(:has(.gc-user-user)) .menu-item svg {
	    max-height: 60px;
	}
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item.menu-item-notifications_button_small .notify-count:not(:empty) {
        font-size: 20px;
        height: 40px !important;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
        max-height: 600px;
    }
}

@media (max-height: 930px) {
    body:not(:has(.gc-user-user)) {
        --leftbar-width: 70px; /* ширина меню */
        --leftbar-item-height: 70px; /* высота иконки меню*/
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item .notify-count:not(:empty), 
    body:not(:has(.gc-user-user)) .gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count:not(:empty) {
        border-radius: 40px;
        width: 30px;
        height: 22px;
        font-size: 14px;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item.menu-item-notifications_button_small .notify-count:not(:empty) {
        height: 30px !important;
        width: 50px !important;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item .notify-count {
        bottom: 12px;
        right: 10px;
    }
    
    body:not(:has(.gc-user-user)) .menu-item svg {
	    max-height: 40px;
	}
}

@media (max-height: 750px) {
    :root {
    	--leftbar-width: 100px;
    	--leftbar-item-height: 100px;        
    }

    .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
        max-height: 500px;
    }
    
    .menu-item svg {
	    max-height: 60px;
	}
    
    .gc-account-leftbar .menu-item:not(.menu-item-notifications_button_small) .notify-count:not(:empty), 
    .gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count:not(:empty) {
        font-size: 14px;
        width: 45px !important;
        height: 22px !important;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .gc-account-user-menu li a {
        height: 64px;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
        height: 36px;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item.menu-item-notifications_button_small .notify-count:not(:empty) {
        height: 22px !important;
        width: 44px !important;
        font-size: 14px;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item .notify-count {
        bottom: 14px;
        right: 2px;
    }
    
    body:not(:has(.gc-user-user)) .gc-account-leftbar .menu-item .notify-count {
        bottom: 14px;
        right: 2px;
    } 
    
    body:not(:has(.gc-user-user)) .gc-account-user-submenu-bar .gc-account-user-submenu li a {
        font-size: 18px;
    }
}


