@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Regular-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Medium-Italic.ttf') format('truetype');
    font-weight: medium;
    font-style: italic;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Medium.ttf') format('truetype');
    font-weight: medium;
    font-style: normal;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Lighter-Italic.ttf') format('truetype');
    font-weight: lighter;
    font-style: italic;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Lighter.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Bold-Italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
@font-face{
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html{
    overflow-y: scroll;    
}
html,body{
    background-color: #f8f8f8;
    min-height: 100vh;
    margin:0;
    overflow-x: hidden;
    font-family: ubuntu;
}
body{
    display: flex;
    flex-direction: column;
}
.flex-column{
    display: flex;
    flex-direction: column;    
}
a, img { outline: none;}
a{
    color: #0066cc;
}
.container{
    width: 100%;
    max-width: 1500px;
}
.bg-gray{
    background-color: #2a2a2a;
}
.bg-gray-1{
    background-color:#fafafa;
}
.text-white-dark{
    color:#adadad;
}
.text-grom{
    color:#adadad;
}
.link-menu{
    display: inline-block;
    outline: none;
    padding: 12px;
    border-bottom: 4px solid transparent; /*optional for transition */
    transition: 0.2s linear;
    text-transform: uppercase;
}
.link-menu.active{
    outline: none;
    padding: 12px;
    color:white;
    border-bottom: 4px solid #006edd; /*optional for transition */
    transition: 0.2s linear;
}
.link-menu a:active{
    outline: none;
    padding: 12px;
    border-bottom: 4px solid #006edd; /*optional for transition */
    transition: 0.2s linear;
}
.link-menu:hover{
    text-decoration: none;
    color:white;
    border-bottom: solid 4px #006edd;
}
/*.my-2 a.active {
    text-decoration: none;
    color:white;
    border-bottom: solid 4px #006edd;    
}*/
.btn-sea{
    /*background-color: #006edd;*/
    background-color: #0066cc;
    color: white;
    margin:0;
}
.btn-sea:hover{
    background-color: #024d99;
    color: white;
}
.btn-link{
    color: #006edd;
}
.text-sea{
    color: #0066cc;
}
.text-sea2{
    color: #167ade;
}
.text-sea-dark{
    color:#004487;
}
.fs-1{
    font-size: 11px;
}
.fs-2{
    font-size: 13px;
}
.fs-3{
    font-size: 15px;
}
.fs-4{
    font-size: 17px;
}
.fs-5{
    font-size: 19px;
}
.fs-6{
    font-size: 21px;
}
.fs-7{
    font-size: 23px;
}
.fs-8{
    font-size: 25px;
}
.fs-9{
    font-size: 27px;
}
.fs-10{
    font-size: 29px;
}
.fs-11{
    font-size: 31px;
}
.fs-12{
    font-size: 33px;
}
.fs-13{
    font-size: 35px;
}
.fs-14{
    font-size: 37px;
}
.fs-15{
    font-size: 39px;
}
.main-title{
    color: #0056b3;
    font: bold 20px Arial, Tahoma, Helvetica, sans-serif;
    margin: 0;
}
.enter-form{
    height: calc(100vh - 50px);
}
.ln-5{
    line-height: 5em;
}
.form-login{
    max-width: 500px;
    margin:0 auto;
}
.widget-link div{
    text-align: left;
    border-bottom: solid 1px #e8e8e8;
}
.widget-link a{
    display: block;
    padding: 10px;
    width: 100%;
    /*height: 100%;*/
    text-transform: uppercase;
    color:#616161;
    transition: 0.1s linear;
}
.widget-link a:hover{
    /*color:#0066cc;*/
    padding-left: 15px;
    border-left:solid 5px #006edd;
    /*background-color: #f5f5f5;*/
    text-decoration: none;
    transition: 0.1s linear;
}
.widget-link a:active{
    /*color:#0066cc;*/
    padding-left: 15px;
    border-left:solid 5px #006edd;
    text-decoration: none;
    transition: 0.1s linear;
}
.widget-link a.active{
    color:black;
    padding-left: 15px;
    text-decoration: none;
    border-left:solid 5px #006edd;    
    font-weight: bold;
}
.informer div{
    padding-top: 10px;
    min-height: 45px;
    text-align: center;
    border-bottom: solid 1px #e8e8e8;    
}
.img-link {
    width: 98%;
    text-decoration: none;
}
.img-link:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    text-decoration: none;
    transition: 0.1s linear;
}
.img-link-sm {
    width: 60%;
    text-decoration: none;
}
.img-link-sm:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    text-decoration: none;
    transition: 0.1s linear;
}

#ajax_backdrop {
    z-index: 1045;
    position: absolute;
    overflow-x: none;
    overflow-y: none;
    background-color: rgba(247, 247, 247, 0.5);
}
.ajax_imgload{
    z-index: 1046;
    position: absolute;
    overflow-x: none;
    overflow-y: none;    
    background: url("../images/loading.svg") no-repeat center center transparent;
    background-size: 8%;
}

.hidden{
    display: none;
}
.cursor{
    cursor: pointer;
}

#text-new-message{
    resize: none;
    min-height: 65px;
    max-height: 150px;
}
.flex-cont {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    width: 100%;
    height: 70vh;
}
.flex-box {
    margin: 5px;
    padding: 5px;
    flex: 0 1 auto;
}
.flex-box:nth-child(1) {
    flex: 1 1 auto;
    overflow-y: scroll;
}
#message-list{
    /*overflow-y: scroll;*/
    flex: 3 1 5000px;
    /*flex: 3 1;*/
}
.frame{
    min-height: 70vh !important;
}
#rentsoft_ag_iframe{
    min-height: 70vh !important;    
}
.main-flex{
    flex: 1 0 auto;
}
.footer {
    flex: 0 0 auto;
}
.footer a{
    color:#adadad;
}
.footer p{
    margin: 1px;
}
.card-1 {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.card-1:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.card-2 {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.card-3 {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.card-4 {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.card-5 {
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
a.dropdown-item:active{
    background-color: #006edd;
}
.border-message{
    border-color: gray;
}
.page-item.active .page-link {
    background-color: #006edd;
    border-color: #006edd;
}
.page-link {
    color: #006edd;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
body.modal-open {
    overflow-y: scroll;
}
.word-break-1{
    overflow: visible;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, с 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;  
}
.word-break {
    word-wrap: break-word;
    word-break: break-all; /* более приоритетно */    
}
.alert-primary{
    background-color: #e8f3ff;
    /*color:white;*/
}
.mh-100{
    min-height: 100vh;
}
.cursor-pointer{
    cursor: pointer;
}
.text-indent{
    /*text-indent:5px;*/
}
.info-block{
    border-left:solid 3px #de9f00;
    background-color: #f2f2f2;
    padding: 10px;
}
.info-danger{
    border-color:#e53030;
}
.msg-block{
    border-top:solid 3px black;
    background-color: #f2f2f2;
    padding: 10px;
}
.msg-success{
    border-color:#298f3a;
}
.msg-danger{
    border-color:#e53030;
}
.link-logout{
    display: block;
    text-align: left;
    font-weight: bold;

}
.link-logout:hover{
    background-color: #303030;
    text-decoration: none;
    font-weight: bold;
}
.shadow-block {
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);  
}
.link-black {
    color: #101828;
    border-bottom: dotted 1px black;
}
.link-black:hover {
    text-decoration: none;
    color: #101828;
    border-bottom: dotted 1px black;
}
.btn-red {
    background-color: #e6122b;
    color: #ffffff;
}
.btn-red:hover {
    background-color: #ba0c21;
    color: #ffffff;
}
.tariff-block:hover {
    /*box-shadow: 0 .5rem 1rem rgba(0,0,0,.5) !important;*/
}
.text-height-0 {
    line-height: 1!important;
}
.text-height-1 {
    line-height: 1.5!important;
}
.text-height-2 {
    line-height: 2!important;
}
.text-height-3 {
    line-height: 2.5!important;
}
.text-height-4 {
    line-height: 3!important;
}
.text-height-5 {
    line-height: 3.5!important;
}
.loader {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1031;
}
.loader:before {
    content: "";
    position: absolute;
    z-index: 17;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.loader:after {
    content: url("../images/loader.gif");
    position: absolute;
    z-index: 17;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -100px;
}
.loaderElement {
    position: relative;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 16;
}
.loaderElement:before {
    content: "";
    position: absolute;
    z-index: 17;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.loaderElement:after {
    content: url("../images/spinner.gif");
    position: absolute;
    z-index: 17;
    width: 41px;
    height: 41px;
    top: 50%;
    left: 50%;
    margin-top: -20.5px;
    margin-left: -20.5px;
}
/*Менюшка для мобилок*/
.btn-bottom-menu {
    /*color: #212529;*/
    color: #545454;
    font-size: 11px;
    text-align: center;
}
.btn-bottom-menu a {
    color: #545454 !important;   
    text-decoration: none;
}
.btn-bottom-menu a:hover {
    /*font-weight: bold;*/
    color: #006edd !important;
}
.btn-bottom-menu .active {
    color: #0066cc !important;
    font-weight: bold;
}

.shadow-top {
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 15px rgba(0,0,0,0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
a:focus {outline:none !important;}
a::-moz-focus-inner {border:0;}
.border-top-menu-sm {
    border-top: solid 3px #545454;
}
.border-left-menu-sm {
    /*border-left: solid 3px #e8e8e8;*/
    /*border-right: solid 3px #e8e8e8;*/
    border-top: solid 3px #006edd;
}
/*Отрицательный margin*/
.m-2-{
    margin: 0 -12px -8px -12px;
}
.image-link:hover{
    opacity: 0.6;
}
.mt-25 {
    margin-top: 25px;
}
.mt-50 {
    margin-top: 50px;
}
.mt-75 {
    margin-top: 75px;
}
.mt-100 {
    margin-top: 100px;
}
.mt-150 {
    margin-top: 150px;
}
.h-70vh{
    min-height: 66vh;
}
.badge-orange{
    background-color: #e66221;
    color: #fff6f5;
}
.badge-more{
    background-color: #cdcefc;
    color: black;
}
/*body.modal-open {
    overflow: visible;
}*/
.channels-box{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.channels-item{
    text-align: center;
    width: 100px;
    height: 100px;
    margin: 5px;
    flex: 0 1 auto;    
    overflow: hidden; /* Обрезаем все, что не помещается в область */    
}