-webkit-scrollbar-thumb {
    background: #eb6822;
    border-radius: 10px;
}

-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/*Стили двух колоночного контейнера*/
body {
    overflow-x: hidden;
}
#start{
   display: block; 
   width: 100%;
}

#mainForm{
    position: relative;
    display: flex;
}

#main{
   width: 420px;
   height: auto;
}

#forms{
   z-index: 200;
   width: 100%;
   background: #ffffff;
}

.emojionearea-editor{
    width: calc(100vw - 80px - 420px);
}

@media (max-width: 768px) {

    #mainForm{
        display: block;  
    }

    .emojionearea-editor{
        width: calc(100vw - 80px);
    }

    #main{
       position: absolute!important;
       left: 0;
       top: 0;
       display: inline-block;
       width: 100%;
       /*overflow: hidden;*/
       /*z-index: 1000;*/
    }

    #forms{
        display: inline-block; 
        z-index: auto;
        position: absolute!important;
        left: 0;
        top: 0;
        width: 100%;
        overflow: hidden;
        /*z-index: 1100;*/
    }

    #frmHello {
        display: none;
    }

    ::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
    }
    ::-moz-scrollbar {
        width: 0px;  /* remove scrollbar space */
        background: transparent;  /* optional: just make scrollbar invisible */
    }
    ::-ms-scrollbar {
        width: 0px;  /* remove scrollbar space */
        background: transparent;  /* optional: just make scrollbar invisible */
    }
}

/*---------- Стили для приложения ----------*/
label {
    font-weight: 500;
}
.title {
    height: 5vh;
    min-height: 45px;
    background-color: #438fa2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
}
.button-box {
    text-align: center;
}
.button {
    height: 5vh;
    min-height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow:hidden;
}
.button:hover {
    cursor: pointer;
}
.button-arrow {
    background-color: #FFFFFF;
    opacity: 0.4;
    width: 25%;
    height: 100%;
}
.button-arrow .fa {
    color: #fff;
    font-size: 30px;
    margin: 0 auto;
}
.button-text {
    color: #fff;
    margin: 0 auto;
    text-transform: lowercase;
    font-size: 10pt;
}
/*----------------------------------------------------------*/
/*Цвета*/
/*---------- Прелоадер для страниц ----------*/
.modal-load {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    background: rgba(255,255,255,0.6);

}
.spinner-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #afeeee;
    border-top: 3px solid #6ac0f3;
    border-radius: 50%;
    animation: rotation 0.8s ease infinite;
    -webkit-animation: rotation 0.8s ease infinite;
    -moz-animation: rotation 0.8s ease infinite;
}
@keyframes rotation{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}
/*---------- Модальное окно ----------*/
.modal-querybox {
    z-index: 1200;
    height: 100vh;
    width: 100%;
    background: rgba(0,0,0,0.4);
    /*pointer-events: auto;*/
    /*overflow-y: scroll;*/
}
.modal-querybox .modal-dialog {
    width: 70%;
    /*max-width: 650px;*/
    margin: 15px auto;
}
.modal-querybox .content-box {
    position: relative;
    min-height: 20vh;
    background-color: #ebeef0;
    margin: 48px 5px 80px;
    overflow: hidden;
}
.modal-querybox .header-pages {
    height: 45px;
    background: #6ac0f3;
    border: none;
    flex-wrap: nowrap;
}
.modal-querybox .header-pages-img {
    margin: 20px;
}
.modal-querybox .header-pages-img .fa {
    font-size: 20px;
    color: #fff;
}
.modal-querybox .header-pages-img .fas, .modal-querybox .header-pages-img .far, .modal-querybox .header-pages-img .fal {
    font-size: 25px;
    color: #fff;
}
.modal-querybox .header-pages-title {
    font-size: 20px;
    color: #fff;
}
.modal-querybox .header-pages-title:first-letter {
    text-transform: uppercase;
}
.modal-querybox .button-close {
    width: 25px;
    height: 25px;
    margin: 15px;
    cursor: pointer;
}
.modal-querybox .button-close .fa {
    font-size: 25px;
    color: #fff;
}
.modal-querybox .button-close:hover .fa {
    font-size: 25px;
    color: #FF0000;
}
.modal-querybox .content-block {
    height: auto;
    max-height: 90vh;
    padding: 15px;
    overflow: hidden;
    background: whitesmoke;
}
.modal-querybox .custom-form {
    margin-top: 20px;
}
.modal-querybox .form-horizontal .control-label {
    font-weight: normal;
}
.modal-querybox .content-block .button-container {
    width: 20%;
    min-width: 90px;
}
.modal-querybox .button {
    height: 4vh;
    min-height: 35px;
    padding: 0 10px;
}


.block-btn{
    display: flex;
    justify-content: center;
}

.btn-2{
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6ac0f3;
    border-color: #6ac0f3;
    color: #fff;
    margin: 0 10px;
    cursor: pointer;
}

.btn-2:hover{
    filter: brightness(0.9);
}

.btn-cancle{
    background-color: #bdbdbd !important;
}

.modal-center{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-size{
    height: 90%;
    /*overflow: auto;*/
}


/*---------- HEADER-PAGES ----------*/
.header-pages {
    height: 50px;
    background-color: #6ac0f3;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
}
.header-pages .buttons-box {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}
.header-pages .btn-menu {
    padding: 0 5px 0 0;
    display: flex;
}
.header-pages .btn-menu .btn-menu-btn {
    color: #ffffff;
    font-size: 16pt;
    width: 28pt;
    height: 28pt;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s;
    background: #6ac0f3;
    cursor: pointer;
}
.header-pages .btn-menu .btn-menu-btn:hover {
    background: #63aeda;
}
.header-pages .btn-menu .fa, .header-pages .btn-menu .far, .header-pages .btn-menu .fas, .header-pages .btn-menu .fal {
    font-weight: normal;
}
.header-pages-content {
    margin-left: 10px;
    flex-shrink: 1;
    display: flex;
    align-items: center;
}
.stat-select{margin: 0 0px 0 10px;}
.header-pages .button {
    height: 35px;
}
.header-pages .button .button-text{
    font-size: 20pt;
    color: #adb7be;
    margin: 0;
}
.header-pages .button:hover .button-text{
    color: #00a8ff;
}
.header-pages-title {
    font-size: 24px;
    /*font-weight: bold;*/
    color: #ffffff;
    display: flex;
}
/*--------- PAGES-MENU ---------*/
.pages-menu {
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
}
.pages-menu .button {
    width: 42px;
    height: 35px;
    border-radius: 25px;
}
.pages-menu .button .button-text {
    font-size: 20pt;
}
.pages-menu .add-block {
    margin-left: 10px;
}
.pages-menu .search-block {
    margin-left: 10px;
    flex-grow: 1;
}
/*--------- CONTENT BLOCK ---------*/
.content-block {
    position: relative;
    height: calc(100vh - 60px);
    background-color: #fff;
    overflow: hidden;
    margin-top: -1px;
}