main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.pagination li{
    margin: 0 10px;
}
.pagination li.active a{
    text-decoration: none;
    color: #000;
}
.button{
    line-height: 50px;
    color: #fff;
    text-align: center;
    padding: 0 25px;
    border-radius: 5px;
    background: #00796B;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    border: none;
    margin-top: 15px;
}
.button:hover{
    opacity: 0.8;
    color: #fff;
}
button.button{
    display: inline-block;
    line-height: 45px;
    margin-top: 0;
    width: 300px;
}
.charts > div.col-lg-6{
    display: none;
}
.charts > div.col-lg-6.active{
    display: block;
}
.select2{
    width: 100% !important;
}
.select{
    line-height: 50px;
    background: #D9D9D9;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-size: 18px;
    margin-right: 15px;
    display: none !important;
}
.sort_charts{
    line-height: 50px;
    background: #D9D9D9;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-size: 18px;
    margin-right: 15px;
}
.daterange{
    background: #D9D9D9;
    border: none;
    border-radius: 5px;
    padding: 9px 25px;
    font-size: 18px;
    display: block;
}
.daterange4{
    background: #D9D9D9;
    border: none;
    border-radius: 5px;
    padding: 9px 25px;
    font-size: 18px;
    display: block;
}
.inputs{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px 0;
}
.input{
    margin-right: 15px;
}

.load{
    margin: 50px auto;
    display: none;
    text-align: center;
}
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #000;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.flex{
    display: flex;
}
.head_sms p{
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin-right: 20px;
}
.head_sms a{
    margin-right: 20px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
}
.head_sms a.active{
    text-decoration: underline;
}
.sms_filters{
    margin-top: 30px;
}
.sms_filters .select2{
    margin-top: 10px !important;
}
.sms_filters .flex{
    align-items: flex-end;
}
.sms_filters p{
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
    margin-bottom: 0;
}
.sms_filters .daterange{
    background: #fff;
    border: 1px solid #aaa;
    color: #555;
    padding: 3px 15px;
}

.sms_button{
    margin-top: 30px;
}
.table_sms{
    margin-top: 50px;
}
#modal_add_csv{
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
}
#modal_add_csv p.title{
    font-size: 26px;
    text-align: center;
    font-weight: 500;
}
#modal_add_csv p{
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
}
#modal_add_csv input[type='radio']{
    text-align: center;
}
#modal_add_csv input[type='text']{
    width: 100%;
    border-radius: 5px;
    border: 1px solid #aaa;
}
#modal_add_csv input[type='file']{
    display: block;
    width: 100%;
}
#modal_add_csv textarea{
    width: 100%;
    border-radius: 5px;
    height: 150px;
    border: 1px solid #aaa;
}
.add_csv{
    display: none;
}
#addcsv:checked ~ .add_csv{
    display: block;
}
#addcsv:checked ~ .add_text{
    display: none;
}
#addtext:checked ~ .add_csv{
    display: none;
}
#addtext:checked ~ .add_text{
    display: block;
}
#modal_add_csv span{
    margin-top: 15px;
    display: block;
    color: #aaa;
    font-size: 14px;
}
.u_status{
    cursor: pointer;
}
.kv-grid-container img{
    max-width: 120px !important;
}
.create_mailings{
    border: 1px solid #aaa;
    margin-top: 60px;
    padding: 40px 60px 60px;
    border-radius: 20px;
}
.create_mailings p{
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 5px;
}
.create_mailings input, .create_mailings select{
    width: 100%;
}
.create_mailings .input{
    margin-right: 0;
}
.create_mailings button{
    width: 100%;
    margin-top: 30px;
}
.create_sc, .create_sc_offers{
    border: 1px solid #aaa;
    margin-top: 60px;
    padding: 40px 60px 60px;
    border-radius: 20px;
}
.create_sc p, .create_sc_offers p{
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 5px;
}
.create_sc input, .create_sc select, .create_sc_offers input, .create_sc_offers select{
    width: 100%;
}
.create_sc .input, .create_sc_offers .input{
    margin-right: 0;
}
.create_sc button, .create_sc_offers button{
    width: 100%;
    margin-top: 30px;
}
.create_sc .button_all, .create_sc_offers .button_all{
    width: 100%;
    margin-top: 30px;
}
.help{
    border: 1px solid #aaa;
    margin-top: 60px;
    padding: 40px 60px 60px;
    border-radius: 20px;
    background: #00796B;
    color: #fff;
}
.flex input[type='radio']{
    width: auto !important;
    margin-left: 10px;
}

.showcase{
    background: #D9D9D9;
    width: 100%;
    padding: 20px 20px;
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
.showcase p{
    margin: 0;
    padding: 0;
}
.showcase .item:last-of-type p{
    padding: 4px 0;
}
#table_sc img{
    max-width: 100px;
}
.offers th a{
    font-size: 12px;
}

/*.offers td[data-col-seq='1'], .offers td[data-col-seq='6']{*/
/*    width: 100px;*/
/*}*/
/*.offers td:last-of-type{*/
/*    width: 100px;*/
/*}*/
.tc6_1{
    width: 100px;
}
.button{
    cursor: pointer;
}
.flex_table{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.flex_table #table_utm{
    width: 35%;
}
.flex_table #table_utm td{
    max-width: 33%;
    /*font-size: 12px;*/
    /*padding: 11px 5px;*/
}
.flex_table #table_utm th{
    max-width: 33%;
}
.flex_table #table_utm_scroll{
    width: 65%;
    overflow-x: scroll;
}
.flex_table #table_utm22{
    width: 37%;
}
.flex_table #table_utm_scroll22{
    width: 63%;
    overflow-x: scroll;
}
.flex_table #my_block1_b{
    width: 25%;
}
.flex_table #my_block2_b{
    width: 75%;
    overflow-x: scroll;
}
#tables.table th, #tables_scroll.table th{
    height: 100px;
}
#tables_scroll.table th.hid{
    visibility: hidden;
    --bs-table-bg-type: rgb(255 0 0 / 5%) !important;
}
#tables_scroll #total th{
    height: auto;
}
#tables_scroll #total1 th{
    height: auto;
}
#tables2.table th, #tables_scroll2.table th{
    height: 100px;
}
#table_head_utm .flex_td{
    display: flex;
    justify-content: space-between;
}
.tabcheck.active{
    color: green;
}
.tabcheck{cursor: pointer}
.trh_hide{cursor: pointer}
.hide{
    display: none;
}
th.hide, td.hide{
    display: none;
}

.canvas {
    position: relative;
    height:40vh;
    width:100%;
    padding:0 1rem;
}

[class="0-legend"] {
    cursor: pointer;
    list-style: none;
    padding-left: 0;
}
[class="0-legend"] li {
    display: inline-block;
    padding: 0 5px;
}
[class="0-legend"] li.hidden {
    text-decoration: line-through;
}
[class="0-legend"] li span {
    border-radius: 5px;
    display: inline-block;
    height: 10px;
    margin-right: 10px;
    width: 10px;
}