



/* ------------- 
content start - style
------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.gc-user-user.gc-main-content.with-left-menu {
    margin-left: 0;
}

/* Баннер */

.top-banner {
    width: 100%;
    height: 100%;
    height: 569px;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1920px) {
	.top-banner {
	    max-height: 50vh;
	}
}

@media (max-width: 769px) {
	.top-banner {
		max-height: 186px;
	}
    
    .top-banner-training {
        max-height: 118px;
    }
}

@media (max-width: 360px) {
	.top-banner {
	    background-position: 43% top;
	}
}

/* top offset */

:root {
    --pt: 105px;
}

body:has(.top-menu) {
    padding-top: var(--pt);
}

:has(.top-menu) .modal, 
:has(.top-menu) .modal-banner-close,
body:has(.top-menu) .with-left-menu .gc-into-main-content {
    top: var(--pt);
}

body:has(.top-menu) .notice-top-panel {
    top: var(--pt);
    left: 0;
}

body:has(.top-menu) .lite-margined-wrapper {
    margin-top: var(--pt);
}

body:has(.top-menu) .block-editor, 
body:has(.top-menu) .gc-right-active-block {
	top: var(--pt);
    height: calc(100% - var(--pt));
}

/* top offset END */

.gc-user-user .gc-account-logo,
.gc-user-user .standard-logo {
	display: none;
}

.top-menu-wrapper {
    background-color: #ffffff;
    padding: 18px 10px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
}

.top-menu {
	display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 46px;
    font-family: "Montserrat", sans-serif;
	max-width: 970px;
    margin: 0 auto;
}

/*  Меню на странице /pl/talks/conversation */

body:has(.gc-user-user) .talks-widget-window {
    padding-top: 7.5vw;
}

body:has(.gc-user-user):has(.talks-widget-window) .top-menu {
    z-index: 10002;
}

/*------------*/

.top-menu-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-menu-logo {
    cursor: pointer;
}

.top-menu-toggler {
    background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/873399/sc/239/h/3263a2d5dee3d9a78dcae774a5070c17.png);
    width: 44px;
    height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 71%;
    max-width: 900px;/*1095px*/
}

.top-menu-nav {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
}

.top-menu-nav-item {
    flex: 1;
}

.top-menu-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    grid-gap: 13px;
    text-decoration: none;
}


.top-menu-nav-icon-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.top-menu-nav-icon {
    max-width: 35px;
    height: auto;
}

.top-menu-nav-link span {
    color: #5097ce;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 1px solid transparent;
    transition: border-color .3s;
}

.top-menu-nav-item-profile .top-menu-nav-icon-wrapper {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
}

.top-menu-nav-item-profile {
    margin-left: 20px;
    cursor: pointer;
}

.top-menu-nav-icon.icon-profile {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-menu-nav-link:hover {
    text-decoration: none;
}

/* Submenu */

.with-submenu {
    position: relative;
}

.top-menu-submenu {
    width: 202px;
    padding-top: 20px;
    position: absolute;
    top: 100%;
    left: calc(50% + 30px);
    transform: translateX(-50%);
    display: none;
}

.top-menu-submenu ul {
    background: #ffffff;
    padding: 0;
    list-style: none;
}

.top-menu-nav-item-profile .top-menu-submenu {
    left: auto;
    right: -50px;
    transform: none;
}

.top-menu-submenu li a {
    display: block;
    padding: 9px 26px;
    color: #5097ce;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: .4s;
    position: relative;
    text-decoration: none;
}

.top-menu-submenu li a:hover {
    background: #5097ce;
    text-decoration: none;
    color: #ffffff;
}

@media (max-width: 1920px) {
	.top-menu {
	    grid-gap: 2.396vw;
	}
}

@media (max-width: 1399px) {
    .top-menu-logo svg {
		    max-width: 196px;
		}

    .top-menu-right {
        gap: 16px;
    }
    
    .top-menu-nav {
		    justify-content: space-between;
		}
		
		.top-menu-nav-item {
		    flex: 0 1;
		}

    .top-menu-nav-link {
        padding-bottom: 6px;
    }

    .top-menu-nav-icon {
        max-width: 28px;
    }

    .top-menu-nav-item-profile {
        margin-left: 16px;
    }

    /* Submenu */

    .top-menu-submenu {
        padding-top: 17px;
        left: calc(50% + 26px);
    }

    .top-menu-submenu:before {
        border-width: 11px;
        bottom: calc(100% - 22px);
        left: 40px;
    }

    .top-menu-nav-item-profile .top-menu-submenu {
        right: -40px;
    }

    .top-menu-nav-item-profile .top-menu-submenu:before {
        right: 60px;
    }

    .top-menu-submenu li a:before {
        --s: 12px;
        right: 28px;
    }

    .top-menu-submenu li a:hover:before {
        right: 16px;
    }
}

@media (max-width: 999px) {
    :root {
        --pt: 105px;
    }

    .top-menu-right {
        flex: auto;
    }

    .top-menu-submenu {
        width: 160px;
        padding-top: 18px;
        left: calc(50% + 28px);
    }

    .top-menu-submenu li a {
        padding: 6px 16px;
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    :has(.gc-user-user) #gcAccountUserMenu {
        /*display: none;*/
    }

    .gc-main-content:not(.gc-user-user) .top-menu {
        left: 70px;
    }

    .gc-main-content.with-left-menu.gc-user-user {
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --pt: 101px;
    }
    
    .top-menu-wrapper {
	    background: transparent;
	    padding: 0;
		}

    .top-menu {
        /* display: none; */
        flex-direction: column;
        grid-gap: 0;
    }
    
    .top-menu-left-wrapper {
		    width: 100%;
		    height: 101px;
		    background: #ffffff;
		}
    
    .top-menu-left,
    .top-menu-right {
		    width: 100%;
		    max-width: 295px;
		    height: 100%;
		    margin: 0 auto;
		}
    
    .top-menu-toggler {
		    display: block;
		}
		
	.top-menu-right {
        display: none;
        margin-top: -10px;
        padding: 0;
        background: #ffffff;
    	border: 2px solid #5097ce;
    }
    
    .top-menu-nav {
        flex-direction: column;
    }
    
    .top-menu-nav-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 8px 18px;
    }
    
    .top-menu-nav-icon-wrapper {
		    flex-grow: 0;
		    min-width: 32px;
        justify-content: flex-end;
		}
		
		.top-menu-nav-link:hover {
		    background: #5097ce;
		    text-decoration: none;
		}
		
		.top-menu-nav-link:hover .top-menu-nav-icon {
            filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(48deg) brightness(107%) contrast(101%);
        }
		
		.top-menu-nav-link:hover span {
		    color: #ffffff;
		}
		
		.top-menu-submenu {
            z-index: 1;
            padding-top: 0;
            border: 2px solid #5097ce;
        }
}

/* ------------- 
content finish - style
------------- */
