﻿@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype"), url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format('truetype');
}

:root {
    --theme-primary: #123524;
    --theme-primary-1: #415D4F;
    --theme-primary-2: #70857B;
    --theme-primary-3: #A0AEA7;
    --theme-primary-4: #CFD6D3;
    --theme-secondary: #FFCF48;
    --theme-secondary-1: #FFD86C;
    --theme-secondary-2: #FFE291;
    --theme-secondary-3: #FFEBB5;
    --theme-secondary-4: #FFF5DA;
}


html, body {
    _font-family: Montserrat, Inter, 'Proxima Nova Rg', Roboto;
    font-family: Gilroy, Inter, Roboto, Montserrat, 'Proxima Nova Rg';
}

svg
{
 fill: white;
}

.sidebar {
    background: linear-gradient(180deg, #095940 0%, #013926 100%);
    border-radius: 0 25px 25px 0;
    _box-shadow: 10px 0 5px 0 var(--theme-primary-4);
}

.sidebar-item button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.sidebar-logo a, .sidebar-item a {
    color: var(--theme-secondary-4);
}

.sidebar-logo a:hover, .sidebar-item a:hover, .sidebar-item button:hover, .sidebar-item button:active {
    color: var(--theme-secondary);
}

.sidebar-logo a:hover svg, .sidebar-item a:hover svg, .sidebar-item button:hover svg, .sidebar-item button:active {
    fill: var(--theme-secondary) !important;
    stroke: var(--theme-secondary) !important;
}

.sidebar-item.active:before {
    top: -7px;
    left: -5px;
    width: 7px;
    height: 44px;
    content: " ";
    background-color: white;
    border-radius: 0px 30px 30px 0px;
    position: absolute;
}
.sidebar-item.active a {
    color: var(--theme-secondary);
}

.sidebar-item img {
    filter: brightness(300%)
}
.sidebar-item.active img {
    filter: brightness(100%)
}

.sidebar-item:hover img {
    filter: brightness(100%)
}


a {
    /*color: var(--theme-primary);*/
}

.link-brand {
    color: #AAAAAA;
}
.dark .link-brand {
    color: #AAAAAA;
}
.link-brand:hover {
    color: var(--theme-secondary);
}

/* HEADERS */
h1.brand {
    padding-top: 17px;
    font-size: 1.3rem;
}

.h1 {
    font-size: 1.3rem;
}

h2.brand {
    font-size: 24px;
    color: var(--text-black);
}

.h2 {
    padding: 10px 0 20px 0;
    font-size: 24px;
    color: var(--text-black);
}

h3.brand {
    font-size: 18px;
    color: var(--text-black);
}

.h3 {
    padding: 10px 0 20px 0;
    font-size: 18px;
    color: var(--text-black);
}


.popup-header {
    font-size: 30px;
    color: var(--text-black);
}

/* NAV */
.dropdown-menu {
    font-size: 14px;
}
/* BUTTONS */
button:focus, .button:focus, .btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-transparent:focus {
    outline: none;
    box-shadow: none;
}

.btn-transparent {
    border: none;
    background-color: transparent;
}

.btn-transparent:active, .btn-transparent:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary {
    min-width: 144px;
    height: 45px;
    border: none;
    font-weight: 300;
    border-radius: 22.5px;
    color: var(--theme-primary);
    background-color: var(--theme-secondary);
}

.btn-primary:focus, .btn-primary:hover, .btn-primary:active, .btn-danger:hover, .btn-dander:active {
    color: var(--theme-secondary)!important;
    background-color: var(--theme-primary-1)!important;
    box-shadow: 0 10px 10px 0px var(--theme-primary-2)!important;
    -moz-box-shadow: 0 10px 30px 0px rgba(78, 103, 175, 0.5)!important;
}
.btn-primary:disabled {
    cursor: default;
    color: var(--theme-secondary) !important;
    background-color: var(--theme-primary-2) !important;
    box-shadow: 0 10px 10px 0px var(--theme-primary-2) !important;
    -moz-box-shadow: 0 10px 30px 0px rgba(78, 103, 175, 0.5) !important;
}

.btn-danger:hover, .btn-dander:active {
    border-color: var(--theme-primary-1) !important;
}

.btn-secondary {
    width: 100px;
    height: 45px;
    font-weight: 300;
    border: none;
    color: var(--theme-primary-1);
    background-color: transparent;
}

.btn-secondary:focus, .btn-secondary:hover {
    color: var(--theme-secondary);
    background-color: var(--theme-primary-1);
}

.btn-transparent {
    border: none;
    box-shadow: none;
    border-radius: 22.5px;
    background-color: transparent;
    color: var(--text-black);
}

/* STATUS LINE */
.statis-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ROW SYSTEM */
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    max-width: 100%;
}

.col-wide {
    flex-grow: 1;
}

.content {
}

.content-item {
    padding: 27px 52px 31px 52px;
    _padding: 27px 141px 31px 52px;
    border-radius: 27px;
    box-shadow: 0px 2px 13px 0 rgba(163, 167, 175, 0.65);
    margin: 5px 0 20px 0;
    background-color: white;
}

.content-item-label {
    position: absolute;
    top: 5px;
    left: 15px;
    width: 0px;
    height: 0px;
    border-left: 30px solid gray;
    border-top: 30px solid gray;
    border-right: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-top-left-radius: 27px;
    background-color: transparent;
}

.content-item-title {
    color: var(--text-black);
    font-weight: 600;
    padding-bottom: 15px;
}

.content-item-title-details {
    color: var(--text-black);
    font-weight: 500;
    padding-left: 20px;
}

.content-secondary-block-expand,
.content-block-expand {
    padding: 2px 0 2px 2px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 15px 9px;
}

.content-block .content-block-expand:before {
    content: url(/images/expandcontrol-collapsed.svg);
    padding-right: 23px;
}

.content-block.active .content-block-expand:before {
    content: url(/images/expandcontrol-expanded.svg);
    padding-right: 23px;
}

.content-secondary-block .content-secondary-block-expand:before {
    content: url(/images/expandcontrol-collapsed.svg);
    padding-right: 23px;
}

.content-secondary-block.active .content-secondary-block-expand:before {
    content: url(/images/expandcontrol-expanded.svg);
    padding-right: 23px;
}

.content-block-title {
    cursor: pointer;
}

.expand-all {
    content: url(/images/expandcontrol-all-expanded.svg);
}

div.active .expand-all {
    content: url(/images/expandcontrol-all-collapsed.svg);
}

.content-block .content-block-body {
    height: 0;
    overflow: hidden;
    -moz-animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;
    -o-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

.content-block.active .content-block-body {
    height: inherit;
    overflow: inherit;
    -moz-animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;
    -o-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

.content-secondary-block .content-secondary-block-body {
    height: 0;
    overflow: hidden;
    -moz-animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;
    -o-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

.content-secondary-block.active .content-secondary-block-body {
    height: inherit;
    overflow: inherit;
    -moz-animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;
    -o-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

/* адаптация content для research item */
.research .content-block-expand {
    font-size: 24px;
    font-weight: normal;
    padding-top: 10px;
}

.research .content-block .content-block-expand:before {
    position: relative;
    top: -5px;
    padding-right: 7px;
}



table.brand th {
    color: var(--control-label);
}

table.brand td {
    color: var(--text-black);
}

/* FORM */

.form-button {
    display: flex;
}

.form-button.sm, .form-group.sm, .sm .form-group, .sm .form-button {
    max-width: 576px;
}

.brand input:invalid {
    border: 1px solid var(--text-warning);
}

.brand select:invalid {
    border: 1px solid var(--text-warning);
}

.brand input.input-validation-error {
    border: 1px solid var(--text-warning);
}

.brand select.input-validation-error {
    border: 1px solid var(--text-warning);
}

/* INPUT */
.input-line {
    font-size: 14px;
    color: #555555;
    display: block;
    width: 100%;
    _height: 52px;
    background: transparent;
    padding: 0 5px;
    outline: none;
    border: none;
    border-bottom: 1px solid #CCC;
    background-color: var(--theme-primary-4);
}
.input-line:focus {
    border-color: transparent !important;
}

/* MODAL */
.brand .modal-title {
    font-size: 30px;
    color: var(--text-black);
}

.brand .modal-header {
    border-bottom: none;
}

.brand .modal-footer {
    border-top: none;
}

/* select2 */
/*.select2-results__option--highlighted {
    background-color: red !important;
}
*/
.select2-container--default .select2-selection--single {
    border: 1px solid rgb(206, 212, 218) !important;
    _border-radius: 0 !important;
}

.select2-search__field:focus-visible, .select2-selection__rendered:focus-visible, .select2-selection:focus-visible, .select2-selection--single:focus-visible {
    outline: -webkit-focus-ring-color auto 0px !important;
}

.select2-selection__arrow {
    margin-top: 4px;
}

.select2-container .select2-selection--single {
    height: 37px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    _color: #444;
    line-height: 24px !important;
    font-size: 1rem !important;
}
/* /select2 */



.card-primary.card-outline-tabs > .card-header a.active {
    border-top: 3px solid var(--theme-secondary);
}

/* DASHBOARD */
.dashboard-month, .dashboard-month:active, .dashboard-month:focus-visible {
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    width: 190px;
    font-size: 18px;
/*    outline: -webkit-focus-ring-color auto 0px;
    outline-color: transparent;
    outline-style: auto;
    outline-width: 0px;
*/}
.dashboard-month:after {
    color: var(--theme-secondary);
}


/* */
.gray-label {
    color: #A2A2A2; 
}
.light-label {
    color: #000;
}
/* DARK THEME */
.dark .theme-toggler svg {
    transform: rotate(180deg);
}
body.dark {
    background: linear-gradient(137.44deg, #252927 16.29%, #08261C 48.3%);
}
.dark .sidebar, .dark .wrapper { background: transparent; }
.dark .label-brand {
    color: #FFF !important;
}

.dark .gray-label {
    color: #898989;
}
.dark .light-label {
    color: #FFF;
    
}

.dark .dataTables_info {
    padding-top: 8px;
    white-space: nowrap;
    color: #FFF !important;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.dark * {
    scrollbar-width: auto;
    scrollbar-color: #2C604C #12221C;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #e1e1e2;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

    /* Chrome, Edge, and Safari */
.dark *::-webkit-scrollbar {
    width: 16px;
}

.dark *::-webkit-scrollbar-track {
    background: #12221C;
}

.dark *::-webkit-scrollbar-thumb {
    background-color: #2C604C;
    border-radius: 10px;
    border: 3px solid #12221C;
}

.dark .item-about {
    color: #FFFFFF;
}
.dark .card-grid-filter-item:not(.active) {
    background: #3E7D66;
}
.dark .card-grid-filter-item:not(.active):hover {
    background: #3E7D6699;
}

/* WIZARD */
.dark .wizard-step a, .dark wizard-step-text, .dark .form-group-line, .dark .step-title, .dark .step-subtitle {
    color: #FFFFFF !important;
}
.dark .control-label-file {
    color: #FFFFFF;
}
.dark .category-item-txt {
    color: #FFFFFF;
}
.dark .item-tag {
    color: #FFFFFF;
}
.dark .contact-items .td, .dark .contact-items .td input,
.dark .access-items .td, .dark .access-items .td input {
    color: #FFFFFF !important;
}