@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700&display=swap');

html, body {
    height: 100%;
}

body {
    background-color: #FAFAFA;
}

h5 {
    margin-left: 15px;
    font-size: 18px;
}

h2 {
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 33px;
    margin-bottom: 20px;
    margin-left: 15px;
}

h3 {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 41px;
    margin-left: 20px;
}

label {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
}

select {
    background-image: url('/account/assets/img/down-arrow.png') !important; 
    background-size: 15px !important;
}

#background {
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed; top: 0; left: 0;
    z-index: 5;
    opacity: 0.85;
}

.password-group a {
    font-size: 12px;
    display: inline-block;
    padding-bottom: .5rem;
}

.campaigns {
    margin-top: -10px;
    margin-bottom: 10px;
    max-height: 0px;
    overflow: hidden;
}
.campaign {
    margin-left: 12px;
    margin-right: 12px;
    height: 40px;
    background-color: #F6F6F6;
    border-bottom: 2px solid white;
    position: relative;
    transition-duration: 0.2s;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.07);
}
.campaign:hover {
    background-color: rgb(238, 238, 238);
}
.campaign:active {
    background-color: rgb(230, 230, 230);
}
.campaign-status {
    display: inline-block;
}


.status {
    margin-top: 7px;
    color: white;
    padding: 2px 14px 2px 14px;
    border-radius: 4px;
    display: inline-block;
}

.waits {
    background-color: #E5B76C;
}
.going {
    background-color: #57B894;
}
.stopped {
    background-color: #ddb256;
}
.completed {
    background-color: #F7685B;
}

.campaign-name, .externalClient-name{
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    display: inline-block;
    cursor: pointer;
}



.goldButton {
    font-family: Open Sans;
    background: #E5B76C;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    border: none;
}
.goldButton:hover {
    background: rgb(209, 166, 98);
}
.goldButton:active {
    background: rgb(187, 149, 88);
}


.greenButton {
    font-family: Open Sans;
    background: #57B894;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    border: none;
}
.greenButton:hover {
    background: rgb(78, 165, 133);
}
.greenButton:active {
    background: rgb(73, 156, 126);
}


.x:after {
    height: 20px;
    width: 20px;
    position: absolute;
    top:-10px;
    right: 5px;
    content: '\d7';
    font-size: 30px; 
    color: rgb(56, 40, 40);
    text-align: center;
    cursor: pointer;
}

.header {

    width: 100%;
    height: 82px;
    min-width: 1820px;
    background-color: white;
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;

}

.header img {
    margin-top: 20px;
    margin-left: 20px;
    width: 120px;
    margin-right: 20px;
}

.user-type {

    font-weight: 600;
    font-size: 13px;
    color: white;
    text-align: center;
    line-height: 24px;
    padding-left: 10px;
    padding-right: 10px;
    height: 24px;
    background: #E5B76C;
    border-radius: 4px;

}



.user-type-active {
    font-weight: 600;
    font-size: 13px;
    color: white;
    text-align: center;
    line-height: 24px;
    padding-left: 10px;
    padding-right: 10px;
    height: 24px;
    background: #E5B76C;
    border-radius: 4px;
    transition-duration: 0.2s;
}
.user-type-active:hover {
    background: #d6ab66;
}
.user-type-active:active {
    background: #caa260;
}

.user-type-inactive {
    font-weight: 600;
    font-size: 13px;
    color: white;
    text-align: center;
    line-height: 24px;
    padding-left: 10px;
    padding-right: 10px;
    height: 24px;
    background: #9e9b95;
    border-radius: 4px;
    transition-duration: 0.2s;
}
.user-type-inactive:hover {
    background: #928f8a;
}
.user-type-inactive:active {
    background: #8a8782;
}


.user-data {

    height: 36px;
    background-color: rgb(245, 245, 245);
    border-radius: 7px;
    position: absolute;
    right: 30px;
    top: 23px;

}

.user-data a {
    background-color: #E5B76C;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    margin-top: 2px;
    margin-right: 3px;
    display: inline-block;
    color: white !important;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
    transition-duration: 0.3s;
}

.user-data a:hover {
    background-color: rgb(216, 172, 101);
}

.user-data a:active {
    background-color: rgb(202, 162, 96);
}

.user-data .name {
    display: inline-block;
    line-height: 35px;
    margin-left: 10px;
    margin-right: 10px;
}

.logo div {

    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 3px;
    margin-left: 15px;

}

.custom-select {
    background-image: url('/account/assets/img/down-arrow.png');
    background-size: 10px !important;
}

.buttons-panel {
    
    min-width: 1820px;
    height: 50px;
    text-align: center;
}

.content {
    margin: 0 auto;
    min-width: 1820px;
    max-width: 1820px;
    
}



.client {
    height: 40px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.07);
    border-radius: 3px 3px 3px 3px; 
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.client:hover {
    background-color: #f7f5f5;
}
.client:active {
    background-color: #f1f1f1;
}
.client-name {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    display: inline-block;
    line-height: 40px;
    margin-left: 15px;
}
.client-email {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 200;
    line-height: 40px;
    display: inline-block;
    margin-left: 20px;
}

.content h1 {
    margin-left: 15px;
    margin-top: 30px;
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 30px;
}

.count {
    position: absolute;
    right: 30px;
}

.money {
    color: #57B894;
}

.limit {
    color: #F7685B;
}

.rub { 
    color: black;
	line-height: 5px;
	width: 0.4em;
	border-bottom: 1px solid #000; 
	display: inline-block;
} 


.buttons-panel a {
    font-family: Open Sans;
    font-size: 15px;
    display: inline-block;
    margin: 10px;
    margin-top: 10px;
    color: black;
    max-width: 340px;
    min-width: 340px;
    height: 36px;
    background: #FFFFFF;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    border: 0;
    transition-duration: 0.2s;
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    text-decoration: none;
}

.buttons-panel a:hover {
    background: rgb(245, 245, 245);
}

.buttons-panel a:active {
    background: rgb(233, 233, 233);
}

.buttons-panel .active {
    background-color: #E5B76C;
    color: white !important;
}
.buttons-panel .active:hover {
    background-color: rgb(214, 171, 101);
    color: white !important;
}
.buttons-panel .active:active {
    background-color: rgb(204, 162, 95);
    color: white !important;
}

.down-arrow {
    width: 13px;
    opacity: 0.2;
    position: absolute;
    right: 15px;
    top: 15px;
}

.rotated {
    transition-duration: 0.6s;
    transform: rotate(180deg);
}

.normal {
    transform: rotate(0deg);
    transition-duration: 0.6s;
}


.footer {
    display: none;
    background-color: white;
    position: absolute;
    bottom: 0;
}


#banner-info {
    width: 750px;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -315px;
    margin-left: -325px;
    z-index: 8;
    border-radius: 4px;
    padding-bottom: 20px;
}

#banner-contents {
    overflow: hidden;
    width: 685px;
    height: 374px;
    margin: 0 auto;
    margin-top: 30px;
    border: 1px solid #AAB2BD;
    border-radius: 3px;
    position: relative;
}


#banner-data {
    font-family: Open Sans;
    font-style: normal;
    font-size: 11px;
    margin: 0 auto;
    margin-top: 10px;
    max-width: 685px;
}


#info-button {

    font-family: Open Sans;
    font-style: normal;
    font-size: 14px;
    background-color: #57B894;
    border: 0;
    padding: 10px;
    border-radius: 5px;
    color: white;
    margin: 0 auto;
    margin-top: 20px;
    display: block;
    transition-duration: 0.3s;
}

#info-button:hover {
    background-color: #51ad8c;
}

#info-button:active {
    background-color: #4aa080; 
}


#get-back-button {

    font-family: Open Sans;
    font-style: normal;
    font-size: 14px;
    background-color: #b3516a;
    border: 0;
    padding: 10px;
    border-radius: 5px;
    color: white;
    margin: 0 auto;
    margin-top: 20px;
    display: block;
    transition-duration: 0.3s;
}

#get-back-button:hover {
    background-color: #a0475d;
}

#get-back-button:active {
    background-color: #924054;
}

.table-row {
    width: 685px;
    word-wrap: break-word;
    border-bottom: 1px solid rgb(212, 218, 226);
}

.table-element {
    padding: 5px;
    vertical-align: top;
    display: inline-block;
    width: 49%;
}

#campaign-info {
    width: 750px;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -325px;
    z-index: 6;
    border-radius: 4px;
    padding-bottom: 20px;
}

#campaign-data {
    font-family: Open Sans;
    font-style: normal;
    font-size: 14px;
    margin: 0 auto;
    margin-top: 10px;
    max-width: 685px;
}

#campaign-data .table-row {
    width: 685px;
}

#campaign-info h2 {
    margin-top: 20px;
    display: block;
    text-align: center;
}

.header-content {
    width: 1870px;
    margin: 0 auto;
}

.hidden-content {
    display: none;
}

.documents h1:hover {
    cursor: pointer;
    color: #2c2c2c;
}

.offer-menu {
    margin-bottom: 70px;
    font-size: 11px;
}

.offer-menu .head {
    margin-bottom: 10px;
    font-size: 13px;
}

.offer-menu .item {
    cursor: pointer;
    margin-bottom: 5px;
    transition-property: color;
    transition-duration: 0.1s linear;
}

.offer-menu .item:hover {
    color: #d6ab66;
}

/* SIDEBAR START */

.sidebar {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.03);
    background-color: white;
    height: 100%;
    position: fixed;
    z-index: 3;
    padding: 0;
}

.sidebar .button {
    display: block;
    background-color: white;
    padding: 15px;
    font-size: 14px;
    padding-left: 30px;
    text-decoration: none;
    color: #222222;
    width: 100%;
    transition-property: background-color;
    transition-duration: 0.09s;
}

.sidebar .button:hover {
    background-color: #f8f8f8;
}

.sidebar a i {
    margin-right: 5px;
}

.header {
    position: fixed;
    z-index: 1;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.04);
}

.content-col {
    position: relative;
    padding: 0;
}

.content-container {
    padding-left: 10px;
    padding-right: 10px;
}

.content-col h2 {
    margin-top: 15px;
}

.content-col h1 {
    font-size: 25px;
    margin-bottom: 15px;
    margin-left: 15px;
}

.block-label {
    margin-top: 15px;
    display: block;
    color: #686868;
    font-size: 13px;
    margin-left: 30px;
}

.buttons-container {
    margin-top: 15px;
    max-height: 90vh;
    overflow-y: scroll;
}

@media (max-height: 930px) {
    .buttons-container {
        max-height: 85vh;
    }
}

#logo img {
    width: 125px;
}

#logo {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.btn-item-container {
    position: relative;
}

.button.active {
    background-color: #fafafa;
}

.left-border.active {
    height: 100%;
    position: absolute;
    width: 5px;
    background-color: #E5B76C;
}

.header {
    background-color: white;
    height: 70px !important;
}

.user_type {
    color: #a1a1a1;
    font-size: 13px;
    font-weight: 200;
}

.user_info {
    float: right;
    margin-right: 10px;
    margin-top: 18px;
}

.user_name {
    line-height: 15px;
    font-weight: 400;
}

.logout-button {
    margin-left: 10px;
    margin-top: -20px;
    display: inline-block;
    font-size: 13px;
    vertical-align: middle;
    color: white;
    background-color: #E5B76C;
    padding: 6px;
    border-radius: 2px;
    color: white;
    transition: linear 0.09s background-color;
}

.logout-button:hover {
    background-color: #dbaf69;
}

a.logout-button {
    color: white;
    text-decoration: none;
}

.header {
    min-width: auto !important;
    width: 100%;
}

.header-container {
    position: fixed;
    z-index: 2;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.03);
    height: auto;
}

.pointer{
    cursor: pointer;
}

.opacity_hover{
    opacity: 1;
}
.opacity_hover:hover{
    opacity: 0.6;
}

.navbar-hide {
    top: -70px;
    transition: top 0.3s;
}

.navbar-show {
    top: 0;
    transition: top 0.3s;
}

.client:hover {
    background-color: white !important;
}

.reset-password-window img {
    width: 100px;
}

.reset-password-window .reset-modal {
    background-color: white;
    width: 400px;
    padding: 15px;
}

#toggle-cabinet {
    height: 100%;
    margin-left: 20px;
}

#toggle-cabinet a {
    padding-left: 15px;
    padding-right: 15px;
    height: 100%;
    display: inline-block;
    color: black;
    font-size: 13px;
    vertical-align: top;
    line-height: 70px;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.1s;
}

#toggle-cabinet a:hover {
    color: #745726;
    background-color: #fcfcfc;
}

#toggle-cabinet a:active  {
    background-color: #f8f8f8;
}

/* SIDEBAR END */


::-webkit-scrollbar-button {
    background-image: url('');
    background-repeat: no-repeat;
    width: 5px;
    height: 0
}

::-webkit-scrollbar-track {
    background-color: #ecedee
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0;
    border-radius: 0;
    background-color: #E5B76C;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d6ab65;
}

::-webkit-resizer {
    background-image: url('');
    background-repeat: no-repeat;
    width: 4px;
    height: 0
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar:horizontal {
    height: 4px;
}

.repl-mob-button {
    display: none !important;
}

.credit-text.mobile {
    display: none;
}

.sidebar .mobile-bar {
    display: none;
    position: absolute;
    right: -60px;
    top: 14px;
    font-size: 25px;
}

.sidebar .mobile-bar i {
    background-color: white;
    padding: 10px;
    border-radius: 35px;
}

.notify-block-container {
    margin-top: 22px; 
    margin-right: 15px; 
    display: inline-block;
}

#go-to-top-btn {
    background-color: #E5B76C;
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 50px;
    right: 15px;
    z-index: 2;
    padding: 10px;
    border-radius: 4px;
    border: none;
    display: none;
}

#go-to-top-btn:focus {
    background-color: #51ad8c;
    outline: none;
}

#go-to-top-btn:hover {
    background-color: #51ad8c;
}

#go-to-top-btn:active {
    background-color: #51ad8c;
    border: none;

}

.pointer-events-none{
    pointer-events: none;
}

@media screen and (max-width: 1200px)
{
    .user-credit-limit {
        margin-right: 0;
    }
    .user-money {
        margin-right: 0;
    }

    .user_info {
        display: block;
    }

    .repl-mob-button {
        display: inline-block !important;
    }

    .repl-button {
        display: none !important;
    }

    .credit-text.mobile {
        display: block;
    }

    .credit-text.full {
        display: none;
    }

    .credit {
        padding-right: 0px !important;
    }

    .user_name {
        display: none;
    }

    .user_type {
        display: none;
    }

    .logout-button {
        margin-top: 0px;
    }

}

@media screen and (max-width: 991px)
{
    #toggle-cabinet {
        margin-left: 80px;
    }
    .user_current_type {
        margin-left: 75px;
    }

    .sidebar .mobile-bar {
        display: inline-block;
    }

    .sidebar {
        width: 0;
    }

    .sidebar-content {
        min-width: 300px;
        overflow: hidden;
    }

    .mobile-bar {
        display: inline-block;
    }

    .notify-block-container {
        margin-right: 0px;
    }
    .notify-block-container #notification-block {
        margin-right: 0px;
    }
    .notify-block-container #discount-block {
        margin-right: 0px;
    }

    .sidebar-content {
        min-width: 300px;
    }

    .sidebar.active {
        width: 300px;
    }

}

@media screen and (max-width: 425px){
    .sidebar-content {
        min-width: 83%;
    }

    .sidebar.active {
        width: 83%;
    }
}

@media screen and (max-width: 375px){
    .sidebar-content {
        min-width: 80%;
    }

    .sidebar.active {
        width: 80%;
    }
}

@media screen and (max-width: 320px){

    .sidebar-content {
        min-width: 75%;
    }

    .sidebar.active {
        width: 75%;
    }
}

@media screen and (max-width: 990px) {
    .sidebar {
        transition-duration: 0.3s;
        transition-property: width;
    }
}

@media screen and (max-width: 575px)
{
    .notify-block-container, .user-credit-limit, .user-money, .user_current_type, .user_info {
        display: none;
    }
}

.buildings-form__checkbox{
	display: flex;
	align-content: center;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	margin: 5px 0;
}

.buildings-form__checkbox input{
	margin: 0 12px;
    position: relative;
}

input:invalid {
	border-color: #C72D34;
}