@font-face {
    font-family: 'Segoe UI Light';
    src: url('../fonts/SegoeUI/SegoeUI-Light.eot');
    src: url('../fonts/SegoeUI/SegoeUI-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI-Light.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: './fonts/SegoeUI/Segoe UI Regular';
    src: url('../fonts/SegoeUI/SegoeUI.eot');
    src: url('../fonts/SegoeUI/SegoeUI.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoe UI Italic';
    src: url('../fonts/SegoeUI/SegoeUI-Italic.eot');
    src: url('../fonts/SegoeUI/SegoeUI-Italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI-Italic.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoe UI Semibold';
    src: url('../fonts/SegoeUI/SegoeUI-SemiBold.eot');
    src: url('../fonts/SegoeUI/SegoeUI-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI-SemiBold.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoe UI Bold';
    src: url('../fonts/SegoeUI/SegoeUI-Bold.eot');
    src: url('../fonts/SegoeUI/SegoeUI-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI-Bold.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoe UI Bold Italic';
    src: url('../fonts/SegoeUI/SegoeUI-BoldItalic.eot');
    src: url('../fonts/SegoeUI/SegoeUI-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoeUI/SegoeUI-BoldItalic.woff') format('woff'),
    url('../fonts/SegoeUI/SegoeUI-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root{
    --border-color: #DADEE8;
    --text-secondary: #67737C;
    --text-color: #3D3D3D;
    --background-color: #F6F7F8;
    --link-hover: #D12026;
    --footer-text: rgba(255,255,255,0.5);
    --bold: 'Segoe UI Bold';
    --boldit: 'Segoe UI Bold Italic';
    --med: 'Segoe UI Semibold';
    --fontlight: 'Segoe UI Light';
    --it: 'Segoe UI Italic';
    --reg: 'Segoe UI Regular';
}

html,
body {
    border: none;
    margin: 0;
    padding: 0;
    font-family: var(--reg),sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-color);
    min-height: 100vh;
    background: var(--white);
}
dl, ol, ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
h1, h2, h3, h4, h5, h6{
    font-family: var(--bold);
}
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}
a{
    color: var(--text-color);
}
a:hover {
    color: var(--text-secondary);
    text-decoration: none;
}
:focus-visible {
    outline: none;
}
.form-control:focus{
    box-shadow: none;
    border-color: var(--border-color);
}
.text-danger {
    color: var(--link-hover)!important;
}
.credentials + .text-danger{
    margin-top: -20px;
    display: block;
}
small.text-danger a{
    font-family: var(--med);
    color: var(--text-primary);
}
.custom-select{
    height: auto;
    padding: 10px 32px 10px 12px;
    font-size: 16px;
    line-height: 34px;
    background: url(./images/arrow_dropdawn.svg) right 8px center no-repeat transparent;
    color: var(--text-secondary);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.custom-select:focus{
    box-shadow: none;
    border-color: var(--border-color);
}
.container {
    max-width: 1199px;
    min-width: 960px;
}
.select2-container{
    max-width: 100%;
    min-width: 100%;
}
.custom-control-input +label,
.menu-category label{
    display: inline-flex;
    align-items: center;
    user-select: none;
    margin-bottom: 0;
    cursor: pointer;
}
.custom-control-input +label::before,
.menu-category label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 0.5px solid var(--border-color);
    border-radius: 3px;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    background-color: var(--white);
}
.custom-control-input:checked + label::before{
    border-color: var(--link-hover);
    background: url(/public/styles/images/check_white.svg) no-repeat center var(--link-hover);
}
input::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}
input:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
input:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}

body.login{
    background: #F6F7F8;
    position: relative;
    display: flex;
    flex-direction: column;
}
body.login:after{
    content: '';
    display: block;
    width: 58%;
    height: 100%;
    background: url(./images/login_pic.png), var(--white);
    position: absolute;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: left 70px center;
}
main{
    padding: 40px 0 80px;
}

/*  buttons  */
.btn{
    color: var(--text-color);
    border: 1px solid transparent;
    display: block;
    padding: 14px 32px;
    font-family: var(--med);
    font-size: 13px;
    line-height: 17px;
    text-transform: uppercase;
    border-radius: 26px;
    font-family: var(--bold);
    width: 100%;
}
.btn-submit{
    color: var(--white);
    background: var(--link-hover);
    border-color: var(--link-hover);
    padding: 14px 28px;
    display: flex;
    justify-content: center;
}
.btn-submit:hover{
    background: var(--white);
    color: var(--link-hover);
}
.btn-transparent{
    border-color: var(--link-hover);
    color: var(--link-hover);
    width: 132px;
    background: var(--white);
}
.btn-transparent:hover{
    background: var(--link-hover);
    color: var(--white);
}

/*  form-control & select2  */
label{
    margin: 0;
}
.form-group > div{
    position: relative;
}
.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple, 
.select2-container--default .select2-selection--multiple{
    font-size: 16px;
    line-height: 24px;
    padding: 16px 24px;
    color: var(--text-secondary);
    border-radius: 32px;
    border: 1px solid var(--border-color);
    background: var(--white);
    height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 24px;
    color: var(--text-secondary);
    padding: 0;
}
main:not(.login) .select2-container--default .select2-selection--single .select2-selection__placeholder:after{
    content: ' *';
    color: var(--link-hover);
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    background: url(./images/arrow_dropdawn.svg) center no-repeat;
    height: 100%;
    width: 40px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin: 0;
}
.select2-container--default .select2-search--inline .select2-search__field{
    margin: 0;
    height: 22px;
    color: var(--text-secondary);
}
input.form-control[required]+label{
    color: var(--text-secondary);
    position: absolute;
    left: 24px;
    top: 50%;
    margin: -12px 0 0;
    line-height: 24px;
}
input.form-control[required]+label:after {
  content: ' *';
  color: var(--link-hover);
}
input.form-control[required]:invalid+label {
  display: inline-block;
}
input.form-control[required]:valid+label,
input.form-control[required]:focus+label,
input.form-control[required]:hover+label,
.select2-container--default .select2-selection--single .select2-selection__arrow b{
  display: none;
}
.form-control[readonly] {
    background-color: var(--white);
}

/*  header  */
.header-inner{
    padding: 15px 60px;
    z-index: 20;
    position: relative;
    background: #fff;
    border-radius: 0px 0px 24px 24px;
    border-bottom: 1px solid #EEE;
    display: flex;
    align-items: center;
}
.login .header-inner{
    padding: 15px 0;
    background: transparent;
    border: none;
}
.header-navigation-wrapper{
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom-logo-link img{
    max-height: 61px;
}
.header-navigation-wrapper .primary-menu{
    display: flex;
    gap: 32px;
}
.header-navigation-wrapper .primary-menu .nav-item .nav-link{
    padding: 0;
}
.header-navigation-wrapper .primary-menu .nav-link{
    font-size: 16px;
    font-family: var(--bold), sans-serif;
}
.submenu_left,
.login_button_wrapper{
    margin-left: 40px;
    display: flex;
    align-items: center;
}
.submenu_left,
.submenu_right{
    gap: 12px;
}
.submenu_right{
    margin-left: 12px;
}
.dropdown .btn.dropdown-toggle,
.submenu_right #ham-menu + label,
.message{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FCEFF0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown .btn.dropdown-toggle svg{
    fill: var(--link-hover);
}
.submenu_cabinet.dropdown .btn.dropdown-toggle{
    background: transparent;
    height: auto;
    width: auto;
    text-transform: none;
    font-family: var(--reg), sans-serif;
    font-size: 16px;
    line-height: 1.25;
}
.submenu_left .dropdown-toggle::after{
    display: none;
}
.submenu_cabinet.dropdown .dropdown-toggle::after{
    margin-left: 4px;
    width: 16px;
    height: 16px;
    border: none;
    background: url(./images/arrow_dropdawn.svg) center no-repeat;
}
.submenu_left .dropdown .btn.dropdown-toggle:hover,
.header-inner .dropdown_services.show .btn.dropdown-toggle{
    background: var(--link-hover);
}
.submenu_cabinet.dropdown .dropdown-toggle:hover{
    color: var(--text-secondary);
}
.dropdown .btn.dropdown-toggle:hover svg,
.header-inner .dropdown_services.show .btn.dropdown-toggle svg{
    fill: var(--white);
}
.login_button_wrapper{
    margin-left: 12px;
    gap: 12px
}
.header-inner .dropdown-menu{
    padding: 0;
    margin: 12px 0 0;
    border-radius: 12px;
    border: none;
}
.header-inner .dropdown-menu{
    right: auto!important;
    left: 50%!important;
    -webkit-transform: translate(-50%, 46px)!important;
    -o-transform: translate(-50%, 46px)!important;
    transform: translate(-50%, 46px)!important;
}
.header-inner .submenu_cabinet .dropdown-menu {
    left: auto!important;
    -webkit-transform: translate(0%, 46px)!important;
    -o-transform: translate(0%, 46px)!important;
    transform: translate(0%, 46px)!important;
    right: 0!important;
}
.header-inner .dropdown-menu ul{
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.16);
    margin: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
}
.header-inner .submenu_cabinet .dropdown-menu ul{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}
.header-inner .dropdown-menu ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    width: 80px;
    font-family: var(--bold);
}
.header-inner .submenu_cabinet .dropdown-menu ul li a{
    padding: 15px 40px 15px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--reg), sans-serif;
    display: block;
    width: auto;
    min-width: 190px;
    white-space: nowrap;
    border: 1px solid var(--background-color);
}
.header-inner .submenu_cabinet .dropdown-menu ul li a:hover{
    padding: 15px 40px 15px 38px;
    color: var(--link-hover);
}
.header-inner .submenu_cabinet .dropdown-menu ul li:first-of-type a{
    background: url(./images/user_fill.svg) right 8px center no-repeat, var(--background-color);
    background-size: 20px;
}
.header-inner .submenu_cabinet .dropdown-menu ul li:first-of-type a:hover{
    background: url(./images/arrow_right_hover.svg) left 12px center no-repeat, url(./images/user_fill_hover.svg) right 8px center no-repeat, var(--background-color);
}
.header-inner .submenu_cabinet .dropdown-menu ul li:nth-of-type(2) a{
    background: url(./images/cat_choice.svg) right 8px center no-repeat, var(--background-color);
}
.header-inner .submenu_cabinet .dropdown-menu ul li:nth-of-type(2) a:hover{
    background: url(./images/arrow_right_hover.svg) left 12px center no-repeat, url(./images/cat_choice_hover.svg) right 8px center no-repeat, var(--background-color);
}
.header-inner .submenu_cabinet .dropdown-menu ul li:last-of-type a{
    background: url(./images/out.svg) right 8px center no-repeat, var(--background-color);
}
.header-inner .submenu_cabinet .dropdown-menu ul li:last-of-type a:hover{
    background: url(./images/arrow_right_hover.svg) left 12px center no-repeat, url(./images/out_hover.svg) right 8px center no-repeat, var(--background-color);
}
.header-inner .dropdown-menu ul li a img{
    width: 52px;
    height: 52px;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    object-fit: contain;
    margin-bottom: 6px;
}
.header-inner .btn-modal{
    padding: 0;
    border: none;
    border-radius: 0;
    display: none;
}
.message svg{
    fill: black;
}
.message:hover svg{
    fill: var(--text-secondary);
}
.submenu_right .mobile_menu{
    display: none;
}
.submenu_right .user-icon{
    height: 46px;
    width: 46px;
    margin-right: 12px;
}
.submenu_right .user-icon img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.cabinet_menu{
    gap: 12px;
    align-items: center;
}
header:not(.login){
    background-size: cover;
    border-radius: 0 0 50px 50px;
}
header.cabinet{
    background: url(./images/cabinet.png) no-repeat center center;
}
header.selectsources{
    background: url(./images/selectsources.png) no-repeat center center;
}
header h1{
    font-size: 48px;
    line-height: 1.2;
    font-family: var(--bold);
    margin-left: 60px;
    margin-bottom: 60px;
    color: var(--white);
}

/*  menu  */
#ham-menu,
#ham_close,
#mobile_filter {
  display: none;
}
label[for="ham-menu"],
label[for="mobile_filter"] {
  display: block;
}
label[for="mobile_filter"]{
    padding: 17px 24px 17px 60px;
    border-radius: 12px;
    background:url(./images/filters.svg) left 24px center no-repeat var(--link-hover);
    color: var(--white);
    font-family: var(--bold);
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--link-hover);
    cursor: pointer;
    display: none;
}
label[for="mobile_filter"]:hover{
    background:url(./images/filters_hover.svg) left 24px center no-repeat #FCEFF0;
    color: var(--link-hover);
}
.ham-menu {
  width: 80vw;
  height: 100%;
  position: fixed;
  top: 0;
  visibility: hidden;
    right: -85vw;
  z-index: 998;
  background-color: var(--white);
  transition: 1.2s;
  display: flex;
  flex-direction: column;
  padding: 16px;
}
#ham-menu:checked + label {
  background-color: transparent;
}
#ham-menu:checked ~ div.ham-menu {
    right: 0;
  visibility: visible;
}
.full-page-bg {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.40);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: 500ms;
  position: fixed;
  top: 0;
  left: 0;
}
#ham-menu:checked ~ div.full-page-bg,
#callback_button:checked ~ div.full-page-bg{
  display: block;
  opacity: 1;
  visibility: visible;
}
.menu_close{
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}
.menu_body .modal-menu{
    margin-bottom: 24px;
}
.menu_body .modal-menu .nav-item .nav-link{
    padding: 17px 30px 17px 0;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--bold);
    background: url(./images/arrow_right.svg) right center no-repeat;
}
.menu_body .login_button_wrapper{
    display: flex;
    gap: 8px;
    margin: 0 0 24px;
    justify-content: space-between;
}
.menu_body .login_button_wrapper a{
    width: 100%;
}
.menu_body .contact-wrapper{
    gap: 10px;
}
.contact-wrapper ul li a{
    font-size: 14px;
    font-family: var(--bold);
}
.contact-wrapper ul li:last-of-type a{
    font-family: var(--reg);
}
.contact-wrapper ul li svg{
    fill: var(--link-hover);
}
.contact-wrapper p:first-of-type{
    font-size: 14px;
    color: var(--link-hover);
    font-family: var(--bold);
    margin: 0;
}
.contact-wrapper ul{
    gap: 10px;
}
.contact-wrapper ul li{
    display: flex;
    align-items: center;
}
.contact-wrapper .copyright{
    font-family: var(--fontlight);
    color: var(--text-secondary);
    margin-bottom: 0;
}
.social-links{
    display: flex;
    gap: 12px;
}
.social-links li a{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--background-color);
}
.social-links li a.youtube{
    background: url(./images/youtube.svg) no-repeat center, var(--background-color);
}
.social-links li a.telegram{
    background: url(./images/telegram.svg) no-repeat center, var(--background-color);
}
.social-links li a.facebook{
    background: url(./images/facebook.svg) no-repeat center, var(--background-color);
}
.social-links li a.youtube:hover{
    background: url(./images/youtube.svg) no-repeat center, transparent;
}
.social-links li a.telegram:hover{
    background: url(./images/telegram.svg) no-repeat center, transparent;
}
.social-links li a.facebook:hover{
    background: url(./images/facebook.svg) no-repeat center, transparent;
}
.viber_icon{
    margin-left: 4px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: url(./images/viber.svg) no-repeat center, #8E24AA;
    justify-content: center;
    align-items: center;
}

/*  footer   */
.site-footer{
    background: #0D1922;
    color: var(--white);
    padding: 30px 0;
    line-height: 18px;
}
.site-footer .row > div > div{
    display: flex;
    justify-content: space-between;
}
.site-footer .row > div > div:not(.footer_bottom){
    padding-bottom: 24px;
    border-bottom: 1px solid #2B3740;
    margin-bottom: 24px;
}
.site-footer a{
    color: var(--white);
}
#site-footer a:focus,
.site-footer a:hover{
    color: var(--link-hover);
}
.footer-logo .custom-logo-link img{
    max-height: 53px;
}
.footer_menu{
    align-items: center;
}
.footer_menu ul{
    gap: 40px;
}
.footer_menu .login_button_wrapper{
    margin-left: 40px;
}
.footer_menu .btn-transparent{
    width: auto;
    background: transparent;
}
.footer_main .social-links li a{
    border: 1px solid #2B3740;
}
.footer_main .social-links li a.youtube{
    background: url(./images/youtube_f.svg) no-repeat center, #2B3740;
}
.footer_main .social-links li a.telegram{
    background: url(./images/telegram_f.svg) no-repeat center, #2B3740;
}
.footer_main .social-links li a.facebook{
    background: url(./images/facebook_f.svg) no-repeat center, #2B3740;
}
.footer_main .social-links li a.youtube:hover{
    background: url(./images/youtube_f.svg) no-repeat center, transparent;
}
.footer_main .social-links li a.telegram:hover{
    background: url(./images/telegram_f.svg) no-repeat center, transparent;
}
.footer_main .social-links li a.facebook:hover{
    background: url(./images/facebook_f.svg) no-repeat center, transparent;
}
.footer-contacts{
    align-items: flex-end;
    gap: 12px;
}
.footer-contacts li ul{
    gap: 32px;
}
.footer-contacts ul li svg{
    fill: var(--link-hover);
    margin-right: 8px;
}
.footer_bottom .footer-copyright p{
    margin: 0;
}
.footer-contacts li a{
    line-height: 22px;
    font-family: var(--bold);
}
.footer_bottom{
    opacity: 0.5;
    gap: 200px;
}
.footer_bottom .footer-copyright{
    font-size: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer_bottom .footer-copyright p,
.footer_bottom .footer-copyright a{
    white-space: nowrap;
}
.stop-content{
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
}
.site-footer .callback{
    position: fixed;
    right: 40px;
    bottom: 40px
}
.callback label{
    position: relative;
    cursor: pointer;
    padding: 0;
    width: 80px;
    height: 80px;
    border: 6px solid #FCEFF0;
    background: url(./images/chat.svg) no-repeat center, var(--link-hover);
    border-radius: 50%;
    display: block;
    -webkit-transition: background 1s ease;
    -moz-transition: background 1s ease;
    -o-transition: background 1s ease;
    transition: background 1s ease;
    z-index: 1000;
}
.callback label:before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid var(--link-hover);
    animation: callbackPulse infinite 1.5s;
    border-radius: 50%;
}
#callback_button:checked + label{
    background: url(./images/close.svg) no-repeat center, var(--link-hover);
    -webkit-transition: background 1s ease;
    -moz-transition: background 1s ease;
    -o-transition: background 1s ease;
    transition: background 1s ease;
}
#callback_button{
    display: none;
}
@keyframes callbackPulse{
    50% {
        -webkit-transform: scale(1,1);
        transform: scale(1,1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(2,2);
        transform: scale(2,2);
        opacity: 0;
    }
}
@keyframes widgetRotate{
    0% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    100% {
        -webkit-transform: rotate(0);
        .b24-widget-button-inner-item transform: rotate(0);
    }
}
.callback ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    position: absolute;
    top: -150px;
    left: 50%;
    margin-left: -27px;
    height: 0;
    opacity: 0;
    -webkit-transition: height 0.5s ease-in, opacity 0.5s;
    -moz-transition: height 0.5s ease-in, opacity 0.5s;
    -o-transition: height 0.5s ease-in, opacity 0.5s;
    transition: height 0.5s ease-in, opacity 0.5s;
}
.callback ul li a{
    font-size: 0;
    color: transparent;
    width: 54px;
    height: 54px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    display: block;
    border-radius: 50%;
}
.callback ul li.mail a{
    background: url(./images/gmail.svg) no-repeat center, var(--white);
}
.callback ul li.viber a{
    background: url(./images/viber_callback.svg) no-repeat center, var(--white);
}
.callback ul li.telegram a{
    background: url(./images/telega.svg) no-repeat center, var(--white);
}
.callback ul li.chat_bot a{
    background: url(./images/chat_bot.svg) no-repeat center, var(--white);
}
#callback_button:checked ~ ul{
    height: auto;
    opacity: 1;
    -webkit-transition: height 0.5s ease-out, opacity 0.5s;
    -moz-transition: height 0.5s ease-out, opacity 0.5s;
    -o-transition: height 0.5s ease-out, opacity 0.5s;
    transition: height 0.5s ease-out, opacity 0.5s;
    z-index: 1000;
}

/*  login  */
.login main{
    height: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.login .container .wrapper{
    width: 39%;
    display: flex;
    align-items: center;
    padding-right: 50px;
}
.formholder{
    background: var(--background-color);
    border-radius: 16px;
    padding: 32px;
}
body:not(.login) .formholder a,
body:not(.login) .formholder button,
.modal-content .btn-submit{
    padding: 19px 32px;
    width: auto;
}
.login .formholder{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
}
.login .formholder p,
.login .formholder h1,
.login .formholder .form-group,
.login .formholder a,
.help-block{
    margin-bottom: 20px;
}
.formholder .login_google{
    border-radius: 26px;
    border: 1px solid var(--Border-input, #DADEE8);
    background: var(--white);
    display: flex;
    place-content: center center;
    line-height: 25px;
    padding: 12px 20px;
    gap: 12px;
    color: var(--text-color);
}
.formholder .login_google:hover{
    color: var(--text-secondary);
}
.delimiter{
    position: relative;
    text-align: center;
    line-height: 25px;
}
.delimiter:before{
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    background: var(--border-color);
}
.delimiter span{
    background: #F6F7F8;
    padding: 0 17px;
    position: relative;
    display: inline-block;
    line-height: 25px;
}
.form-group .password .toggle-password{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 24px 0 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.login .form-control{
    position: relative;
    padding-right: 60px;
}
.login .email .form-control,
.login .last_name .form-control,
.login .first_name .form-control{
    background: url(./images/user_fill.svg) no-repeat right 24px center, var(--white);
}
.login .registration .email .form-control,
.login .recovery .email .form-control{
    background: url(./images/email.svg) no-repeat right 24px center, var(--white);
} 
.login .password .form-control{
    padding-right: 60px;
}
.login .formholder .recovery a{
    margin: 0;
}
.formholder a{
    color: var(--link-hover);
}
.recovery .help-block p{
    margin-bottom: 0;
    font-size: 14px;
}

/*  cabinet  */
.cabinet-main{
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}
.cabinet-main .recomended{
    width: 24%;
    flex-basis: 24%;
}
.cabinet-main ul.external{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cabinet-main .external li a{
    padding: 8px 70px 8px 20px;
    border-radius: 16px;
    display: flex;
    font-size: 15px;
    font-family: var(--bold);
    align-items: center;
    height: 70px;
}
.cabinet-main .maininfo{
    width: 76%;
    flex-basis: 76%;
}
.cabinet-main .external li a.journals{
    background: url(./images/journal.png) no-repeat right 8px center, #E7F4FE;
}
.cabinet-main .external li a.sertificates{
    background: url(./images/sertificates.png) no-repeat right 8px center, #FCEDF8;
}
.cabinet-main .external li a.school_bd{
    background: url(./images/school_bd.png) no-repeat right 8px center, #FFF1CE;
}
.cabinet-main .external li a:hover{    
    color: var(--text-secondary);
}
.cabinet-main ul.user_selected_category{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 16px;
    gap: 8px;
}
.cabinet-main ul.user_selected_category li label{
    padding: 8px 25px 8px 12px;
    border-radius: 8px;
    background: url(./images/cross_sign.svg) no-repeat right 12px top 13px, var(--text-color);
    color: var(--white);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.cabinet-main ul.user_selected_category li label:hover{
    background: url(./images/cross_sign.svg) no-repeat right 12px top 13px, var(--text-secondary);
}
.maininfo-header{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.maininfo-body{
    margin-bottom: 24px;
}
.maininfo-header .user-img{
    border-radius: 50%;
    position: relative;
    width: 120px;
    height: 120px;
}
.maininfo-header .user-img form{
    position: absolute;
    padding: 0;
    top: 50%;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
}
.maininfo-header .user-img .user-avatar{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.maininfo-header .user-img .btn-imgmodal{
    background: rgba(255,255,255,0.25);
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    border-radius: 0 0 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-imgmodal input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}
.maininfo-header .user-name{
    font-size: 24px;
    line-height: 1.2;
    font-family: var(--bold);
}
.maininfo-body  form{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    justify-content: space-between;
}
.maininfo-body .form-group{
    width: 47%;
    margin: 0;
}
.maininfo-body .form-group.last{
    width: 100%;
}
.maininfo-body label{
    font-family: var(--bold);
    margin-bottom: 8px;
}
.maininfo-body label span{
    color: var(--link-hover);
}
.modal.menu.show{
    display: flex!important;
    align-items: center;
    justify-content: center;
}
.modal.show .modal-dialog{
    margin: 0;
}
.modal-pass.show .modal-dialog{
    width: 90%;
    margin: 50px auto 0;
}
.modal-content{
    padding: 40px;
    border-radius: 12px;
}
.modal-content .form-group{
    margin-bottom: 24px;
}
.modal-content .close{
    position: absolute;
    top: 16px;
    right: 16px;
}
.modal-content h2{
    text-align: center;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 24px;
}
.maininfo-header .text-danger{
    width: 100%;
    margin-top: 10px;
}
.formholder .button-wrapper{
    display: flex;
    gap: 24px;
}
.modal-content .btn-submit{
    margin: 0 auto;
}

/*  selectsources  */
.content-header{
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.selectsources .content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px 24px;
    margin-bottom: 30px;
}
.selectsources .content .item{
    width: 48.5%;
    flex-basis: 48.5%;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    background: var(--white);
}
.selectsources .content .item:hover{
    box-shadow: 0px 8px 32px 0px rgba(47, 31, 54, 0.25);
}
.selectsources .content .item a{
    padding: 24px 24px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 10px;
}
.item .item_head{
    display: flex;
    position: relative;
    padding-right: 100px;
    margin-bottom: 12px;
}
.item .item_head .rating{
    display: flex;
    gap: 2px;
    font-size: 14px;
    align-items: center;
    margin-bottom: 10px;
}
.item .item_head .rating img{
    width: 16px;
    height: 16px;
}
.item .item_head .rating span{
    margin-left: 6px;
}
.item .item_head h3{
    font-size: 18px;
    font-family: var(--bold);
    line-height: 1.3;
    /*-webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;*/
    min-height: 46px;
    margin-bottom: 0;
}
.item:hover .item_head h3{
    color: var(--link-hover);
}
.selectsources .content .item .item-thumb{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    position: absolute;
    top: -48px;
    right: -41px;
    filter: drop-shadow(0px 6.774194240570068px 13.548388481140137px rgba(98, 97, 138, 0.13));
    padding: 9px;
    background: #fff;
    border-radius: 50%;
    transition: 0.5s;
}
.selectsources .content .item:hover .item-thumb{
    transform: scale(1.1);
    transition: 0.5s;
}
.selectsources .content .item .item-thumb .img{
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    filter: drop-shadow(0px 6.774194240570068px 13.548388481140137px rgba(98, 97, 138, 0.13));
    padding: 14px;
    background: #fff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}
.selectsources .content .item .item-thumb .img img{
    max-width: 90%;
    max-height: 90%;
}
.item-category ul{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.item-category ul li{
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    background: var(--background-color);
}
.item:hover .item-category ul li{
    background: #FFF1CE;
}
.selectsources .content .item .item-footer{
    display: flex;
    justify-content: space-between;
    color: var(--link-hover);
    font-family: var(--bold);
    background: url(./images/item_bottom.svg) no-repeat right bottom;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}
.selectsources .content .item .item-footer .price{
    height: 22px;
}
.selectsources .content .item:hover .item-footer{
    background: url(./images/item_bottom_hover.svg) no-repeat right bottom;
}
.search-wrapper{
    position: relative;
}
.search-wrapper .form-control{
    padding: 19px 58px 19px 20px;
    font-size: 15px;
    line-height: 1.3;
    position: relative;
    border-radius: 16px;
}
.search-wrapper:after,
.search-wrapper .btn-reset{
    content: '';
    display: block;
    background: url(./images/search.svg) center no-repeat, #FCEFF0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    position: absolute;
    top: 6px;
    right: 6px;
}
.search-wrapper .btn-reset{
    cursor: pointer;
    border: none;
    background: #FCEFF0;
    z-index: 10;
    padding: 0;
    color: var(--link-hover);
    font-size: 20px;
}
.category-search{
    margin-bottom: 24px;
}
.category-result div:first-of-type{
    margin-top: 24px;
}
.category-result div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.category-result div:last-of-type{
    margin-bottom: 0;
}
.selectsources .recomended h2{
    font-size: 20px;
    margin-bottom: 16px;
}
.btn.empty-cat{
    padding: 0;
    border: none;
    text-transform: none;
    font-size: 14px;
    font-family: var(--reg);
    text-align: left;
    color: var(--link-hover);
    text-decoration: dotted;
    line-height: 1.5;
    margin-bottom: 32px;
    display: inline-block;
    width: auto;
    border-bottom: 1px dashed #DC8488;
    border-radius: 0;
}
.btn.empty-cat:hover{
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--text-secondary);
}

/*  .treeview  */
/*.menu-category .treeview{
    border-radius: 16px;
    background: var(--background-color);
    padding: 20px;
}
.treeview ul,
.treeview li,
.treeview li.collapsable, 
.treeview li.expandable{
    background: transparent;
    padding: 0;
}
.treeview li.collapsable > label,
.treeview li.collapsable > label{
    font-family: var(--bold);
    margin-bottom: 12px;
}
.treeview .hitarea{
    display: none;
}*/
.menu-category ul li .list_btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
}
.btn_cat_collapse{
    background: transparent;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
.menu-category label{
    display: flex;
    gap: 10px;
}
.menu-category label:hover{
    color: var(--text-secondary);
}
/*.menu-category .treeview li.last,
.menu-category .treeview li.collapsable.lastCollapsable{
    padding-bottom: 0;
}*/
/*.menu-category label:before,
.treeview ul ul,
.treeview ul{*/
.menu-category label:before{
    margin: 0;
}
}
/*#menu-category,
.treeview ul{*/
#menu-category{
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.content-header{
    margin-bottom: 24px;
}
.content-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content-header .sort{
    color: var(--text-secondary);
}
.sort select{
    border: none;
    padding: 8px;
    cursor: pointer;
}
.sort select option{
    color: var(--text-secondary);
}
#pagination{
    display: flex;
    justify-content: flex-end;
}
.page-item .page-link,
.page-item:first-child .page-link{
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0;
    line-height: 46px;
    width: 46px;
    text-align: center;
    color: var(--text-secondary);
    margin: 0;
    background: transparent;
    font-family: var(--bold);
}
.page-item .page-link:hover{
    color: var(--link-hover);
}
.page-item.active .page-link{
    border: 1px solid var(--link-hover);
    background: var(--link-hover);
    color: var(--white);
}
.page-link:focus{
    box-shadow: none;
}

/*  loader  */
.loader {
  border: 6px solid var(--white);
  border-top: 6px solid var(--link-hover);
  border-bottom: 6px solid var(--link-hover);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
        width: 100%;
        min-width: auto;
    }

    /*  header  */
    .header-navigation-wrapper .primary-menu{
        gap: 20px;
    }
    .submenu_left, 
    .login_button_wrapper {
        margin-left: 20px;
    }
    .login .container .wrapper {
        width: 41%;
    }
    .cabinet-main{
        column-gap: 24px;
    }
    .cabinet-main .maininfo {
        width: calc(80% - 24px);
        flex-basis: calc(80% - 24px);
    }
    .maininfo-body form{
        gap: 20px;
    }
    .maininfo-body .form-group{
        width: 48%;
    }
    .submenu_cabinet.dropdown .btn.dropdown-toggle span,
    .submenu_cabinet.dropdown .dropdown-toggle::after{
        display: none;
    }
    .submenu_right .user-icon{
        margin: 0;
    }
    .header-inner .submenu_cabinet .dropdown-menu{
        margin-top: 12px;
    }

    /*  footer  */
    .footer_bottom .footer-copyright{
        flex-direction: column;
        align-items: flex-start;
    }
    .footer_bottom{
        align-items: center;
    }
    .selectsources .content .item{
        width: 48%;
        flex-basis: 48%;
    }
    /*.menu-category .treeview{
        padding: 16px;
    }*/
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    header.login{
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        z-index: 10;
    }
    header:not(.login){
        border-radius: 0;
    }
    .header-navigation-wrapper{
        flex-grow: unset;
    }
    .header-navigation-wrapper .primary-menu,
    .login_button_wrapper{
        display: none;
    }
    .header-inner{
        justify-content: space-between;
         padding: 10px 0;
    }
    header:not(.login) .header-inner{
        padding: 10px 16px;
        border-radius: 0;
        border-bottom: 1px solid #EFEFEF;
        margin-bottom: 40px;
    }
    header h1{
        font-size: 32px;
        margin: 0 0 40px 16px;
    }
    .submenu_left,
    .header-inner .dropdown{
        margin-left: 0;
    }
    .header-inner .header-navigation-wrapper{
        order: 2;
    }
    .header-inner .submenu_left{
        order: 1;
        gap: 8px;
    }
    .header-inner .submenu_right{
        order: 3;
        display: flex;
        margin: 0;
        gap: 8px;
    }
    .submenu_right .mobile_menu{
        display: flex;
    }
    .header-inner .dropdown_services .dropdown-menu{
        left: 0%!important;
        -webkit-transform: translate(0%, 46px)!important;
        -o-transform: translate(0%, 46px)!important;
        transform: translate(0%, 46px)!important;
    }
    header:not(.login) .container,
    header:not(.login) + main > .container{
        max-width: 100%;
    }
    header:not(.login) .container .row{
        margin: 0;
    }
    header:not(.login) .container .row > div,
    header:not(.login) .container{
        padding: 0;
    }
    .footer_head .login_button_wrapper{
        display: flex;
        margin: 0;
    }
    .footer_head,
    .footer_menu,
    .footer_main,
    .footer-contacts li ul,
    .footer-contacts{
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .site-footer{
        padding: 32px 0 24px;
    }
    
    /*  login  */
    body.login{
        background: var(--white);
    }
    body.login:after{
        height: 292px;
        position: static;
        width: 100%;
        background: url(./images/login_pic.png), var(--white);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .login .container .wrapper{
        width: 100%;
        padding-right: 0;
    }
    main{
        padding: 20px 0 60px;
    }
    .login main{
        padding: 24px 0;
        height: auto;
    }
    .login .formholder{
        text-align: center;
    }
    h1{
        font-size: 32px;
    }
    .delimiter span{
        background: var(--white);
    }
    .contact-wrapper ul li{
        text-align: center;
    }

    /*  cabinet  */
    .cabinet-main .recomended,
    .cabinet-main .maininfo{
        width: 100%;
        flex-basis: 100%;
    }
    .cabinet-main {
        column-gap: 0;
        row-gap: 24px;
        flex-wrap: wrap;
    }
    .maininfo-header{
        margin-bottom: 20px;
    }
    .maininfo-header .user-img{
        width: 80px;
        height: 80px;
    }    
    .formholder{
        padding: 20px 16px 32px;
    }    
    label[for="mobile_filter"]{
        display: flex;
    }
    .recomended .filters{
        height: 0;
        transition: height 0.5s ease-out;
        overflow: hidden;
    }
    .recomended .filters .user_selected{
        margin-top: 24px;
    }
    #mobile_filter:checked ~ div.filters{
        height: 100%;
        transition: height 0.75s ease-in;
    }
    /*#menu-category, 
    .treeview ul{*/
    #menu-category{
        flex-direction: row;
        gap: 12px 0;
        flex-wrap: wrap;
    }
    /*.treeview > li{
        width: 50%;
        flex-basis: 50%;
    }
    .treeview > li:nth-of-type(odd){
        padding-right: 10px;
    }
    .treeview > li:nth-of-type(even){
        padding-left: 10px;
    }*/
    .site-footer .callback{
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .container{
        max-width: 540px;
    }
    .maininfo-body .form-group {
        width: 100%;
    }
    .site-footer .row > div > div.footer_bottom{
        gap: 12px;
        flex-direction: column;
    }
    .stop-content{
        text-align: center;
    }
    .footer_bottom .footer-copyright{
        align-items: center;
    }
    .selectsources .content{
        gap: 24px;
    }
    .selectsources .content .item{
        width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 575.98px) {
    .header-inner .site-logo .custom-logo-link img{
        max-width: 90px;
    }
    .menu_body .login_button_wrapper,
    .footer_head .login_button_wrapper{
        flex-direction: column;
        width: 100%;
    }
    .footer_head .login_button_wrapper a,
    .footer_menu .btn-transparent{
        width: 100%;
    }
    .login .formholder .form-head{
        display: flex;
        flex-direction: column;
    }
    .footer-contacts li:last-of-type{
        font-size: 14px;
        text-align: center;
    }
    .dropdown .btn.dropdown-toggle, 
    .submenu_right #ham-menu + label, 
    .message,
    .submenu_right .user-icon {
        width: 38px;
        height: 38px;
    }
    .formholder .button-wrapper{
        gap: 12px;
        flex-direction: column;
    }
    .container{
        max-width: 100%;
    }
    .maininfo-header .user-name{
        font-size: 18px;
    }
    .formholder label{
        font-size: 18px;
    }
    select.form-control[multiple] option{
        overflow: hidden;
    }
    select.form-control[multiple]{
        background: transparent;
    }
    .modal-content {
        padding: 16px;
    }
    .modal-content .close {
        top: 6px;
        right: 6px;
    }
    .form-group .password .toggle-password{
        padding: 0 12px;
    }
    .content-header{
        flex-wrap: wrap;
        gap: 24px;
        padding-bottom: 0;
        border: none;
    }
    .content-header > div{
        width: 100%;
        flex-basis: 100%;
    }
    .item .item_head h3{
        -webkit-line-clamp: unset;
    }
    .item .item_head{
        padding-right: 90px;
    }
}

