@charset "UTF-8";

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSansRegular.eot');
    src: url('../fonts/PTSansRegular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSansRegular.ttf') format('truetype'),
        url('../fonts/PTSansRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSansBold.eot');
    src: url('../fonts/PTSansBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PTSansBold.ttf') format('truetype'),
        url('../fonts/PTSansBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==================== Общие ==================== */

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

:root {
    --font-family-style: "PTSans";
    --color-pimary-style: rgb(1, 196, 255);
    --color-body-text: #000;
    --color-menu-style: rgb(105, 112, 119);
    --width-component: calc(100vw - 45px);   
}

body,
html {
    font-size: 16px !important;
    color: var(--color-body-text);
}

html {
    background: #F2F4F8;
}

body {
    font-family: var(--font-family-style);
    font-weight: 400;
    font-style: normal;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

a {
    cursor: pointer;
    color: var(--color-pimary-style);
}

a:hover,
a:focus,
a:active {
    /* opacity: 0.7; */
}

#system-message-container joomla-alert {
    font-size: 1.05em;
    font-weight: normal;
    font-family: var(--font-family-style);
}

.sp-scroll-up {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1em;
    background: rgb(64, 140, 64, 0.54);
    border-radius: 2em;
}

@media (min-width: 576px) {

    /* контейнер для контента сайта */
    .container {
        max-width: 1630px;
        width: 100% !important;
    }
}

/* --- header */
#sp-header {    
    background: #3B4256;
    padding: 12px 15px 11px 21px;
    border-bottom: 1px solid #9194A3CC;
    box-shadow: none;
    height: 75px;    
}

@media (min-width: 576px) {
    #sp-header .container-fluid {
        max-width: 1630px;
        width: 100% !important;
        margin: 0 auto;
    }
}

/* ---buttons */
/* .btn {
    font-size: 0.875em;
    line-height: normal;
    padding: 10px 24px 10px 24px;
    text-transform: uppercase;
    border-radius: 0rem;
    transition: all 400ms;
}

.btn-primary {
    color: #fff;
    border-color: var(--color-pimary-style);
    background-color: var(--color-pimary-style);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    opacity: 0.7;
    border-color: var(--color-pimary-style) !important;
    background-color: var(--color-pimary-style) !important;
    transition: all 400ms;
} */

/* Стили для кнопок отчетов Печать и Большой экран */
.reports-control-button {
    float: right;
    padding: 5px;
    border-radius: 3px;
    /* margin: 31px 0 0 10px; */
}

.acr-reports-controls-container {
    margin-bottom: 0em;
}

/* --- logo */
@media (min-width: 1400px) {
    #sp-header .logo a {
        font-size: 32px;        
    }
}

#sp-header .logo a {
    color: #fff;
    font-size: 20px;
    font-size: clamp(1.2rem, 0.894rem + 1.362vw, 2rem);
    line-height: 26px;
    padding-bottom: 0px;
}

#sp-logo .burger-icon>span {
    background-color: #fff;
}

/* --- link login */
a.sp-sign-in {
    font-size: 18px;
    color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sp-sign-in .user-text{
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 107px;
    white-space: nowrap;
}
@media (min-width: 1400px) {
    .sp-sign-in .user-text{      
        max-width: 234px;       
    }
}
.sp-profile-wrapper .sp-profile-dropdown a {
    font-size: 18px;
}
.sp-profile-wrapper .sp-profile-dropdown {
    border: 1px solid transparent;
    box-shadow: 0px 4px 8px 0px #B0C5D466;

}

/* --- menu  */
#sp-menu {
    position: relative; 
    display: flex;
    background: linear-gradient(180deg, #3B4256 40%, #555863 100%);
}

#sp-menu .hp-horizontal-menu {
    padding-bottom: 20px;
    margin-top: 10px;
    margin-left: -1rem; 
    z-index: 10;
}
@media (max-width: 1130px) {
    #sp-menu .hp-horizontal-menu {        
        margin-left: -15px; 
    }
}

#sp-menu .hp-horizontal-menu li.sp-menu-item {
    margin-left: -51px;
}
#sp-menu .hp-horizontal-menu li.sp-menu-item:first-child {
    margin-left: 0px;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item>a {
    position: relative;
    bottom: -6px;
    font-family: var(--font-family-style);
    background-image: url('data:image/svg+xml,<svg width="321" height="109" viewBox="0 0 321 109" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(%23filter0_d_108_2635)"><path d="M20 25C20 19.4772 24.4772 15 30 15H261.698C265.549 15 269.058 17.2113 270.719 20.6854L301 84H20V25Z" fill="%23DDE1E6"/></g><defs><filter id="filter0_d_108_2635" x="0" y="0" width="321" height="109" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="5"/><feGaussianBlur stdDeviation="10"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_108_2635"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_108_2635" result="shape"/></filter></defs></svg>');
    background-position: 0% 0%;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-menu-style);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 00.16px;
    line-height: 70px;
    min-width: 236px;
    width: clamp(13.5rem, 1.25rem + 20vw, 16.25rem);
    height: 61px;
    text-align: center;
    padding-left: 0px;
    text-transform: uppercase;
    -webkit-transition: bottom 0.4s ease 0s;
    transition: bottom 0.4s ease 0s;
}

@media (min-width: 1200px) {
    #sp-menu .hp-horizontal-menu li.sp-menu-item>a {
        min-width: 260px;
    }
}

#sp-menu .hp-horizontal-menu li.sp-menu-item>a:hover {
    color: var(--color-menu-style);
    -webkit-transition: bottom 0.4s ease 0s;
    transition: bottom 0.4s ease 0s;
    bottom: 0px;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item:nth-child(1) {
    z-index: 4;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item:nth-child(2) {
    z-index: 3;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item:nth-child(3) {
    z-index: 2;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item:nth-child(4) {
    z-index: 1;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item.active {
    z-index: 5;
}

#sp-menu .hp-horizontal-menu li.sp-menu-item.active>a {
    background-image: url('data:image/svg+xml,<svg width="321" height="109" viewBox="0 0 321 109" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(%23filter0_d_108_2635)"><path d="M20 25C20 19.4772 24.4772 15 30 15H261.698C265.549 15 269.058 17.2113 270.719 20.6854L301 84H20V25Z" fill="%23fff"/></g><defs><filter id="filter0_d_108_2635" x="0" y="0" width="321" height="109" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="5"/><feGaussianBlur stdDeviation="10"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_108_2635"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_108_2635" result="shape"/></filter></defs></svg>');
    padding-left: 0px;
    color: var(--color-pimary-style);
}

/* menu offcanvas */
.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li>a {
    padding: 14px 20px 14px 0px;
    text-transform: uppercase;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a,
.offcanvas-menu .offcanvas-inner ul.menu>li>span {
    color: var(--color-menu-style);
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 700;
    opacity: 1;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a>span:after {
    color: var(--color-menu-style);
}
.offcanvas-menu .offcanvas-inner ul.menu>li li a {
    color: var(--color-menu-style);
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul li {
    padding: 6px 0px;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    opacity: 1;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul.menu-child>li>ul.menu-child>li {
    padding: 6px 0px;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul.menu-child>li>ul.menu-child>li a {
    font-size: 0.9em;
    line-height: 1.4;
    font-weight: 400;
}
.offcanvas-menu .offcanvas-inner ul.menu li.active a {
    color: var(--color-menu-style);
}
.offcanvas-menu .offcanvas-inner ul.menu li.active>a,
.offcanvas-menu .offcanvas-inner ul.menu li.active>a>span::after {
    color: var(--color-pimary-style);
    font-weight: 400;
}

/* --- main-body */
#sp-main-body {
    background: #F2F4F8;
}
#sp-main-body .container-inner {  
    position: relative;  
    padding: 0 20px;
    background: #fff;    
}
@media (min-width: 991.98px) {
    #sp-main-body .container-inner {    
        padding: 0 20px;    
        margin-top: -20px !important;        
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        border-bottom-left-radius: 6px;
        z-index: 98;
    }    
} 
@media (max-width: 991px) {
    #sp-main-body .container{
        padding: 0;
    }
} 
/* --- page login form */
.com-users.view-login main#sp-component {
    margin-top: 0px !important;  
    min-height: 400px;
    border-radius: 6px;
    padding: 30px 54px;
    width: 90%;
}
.com-users.view-login .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
}
.com-users.view-login #sp-header {
    display: none !important;
}
.com-users.view-login .login {
    max-width: 332px;    
}
.com-users.view-login .login h1{
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    text-align: center;
}

/* --- page profile */
.profile {
    max-width: 1000px;
    margin: 30px auto;
}
/* .profile-edit {
    max-width: 1290px;
    margin: 30px auto;
}
@media (min-width: 991.98px) {
    .com-users.view-profile main#sp-component {
        margin-top: -6px !important;
        width: var(--width-component);
        border-radius: 6px;       
    }
} */
/* ================= Общие - end =================== */