﻿html {
    overflow: scroll;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #FF0000;
}

#availableQueues::-webkit-scrollbar, #availableSkills::-webkit-scrollbar {
  width: 4px;
  background: #dcdcdc;
  border-radius: 2px;
}

#availableQueues::-webkit-scrollbar-thumb, #availableSkills::-webkit-scrollbar-thumb {
  background: #0a0a0a;
  width: 6px;
  border-radius: 2px;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

.container-fluid {
    overflow: hidden;
    height: 100%;
}



/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

h1, h2, h3, h4, h5 {
    font-size: 80px;
    white-space: nowrap; 
    margin: 0 auto;
    position: relative;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    position: relative;
}

h4 {
    font-size: 22px;
    font-weight:600;
    padding-bottom: 0px;
    padding-top: 7px;
}

h5 {
    font-size: 16px;
    font-weight: 600;
}

.z-padding {
    padding: 1px;
}

.no-padding {
    padding: 0px;
}

/* Panel Start  */
.panel {
    border-radius: 0px;
    margin-bottom: 0px;
    text-align: center;
    color: white;
    border: none;
    height: 100%;
}

.panel.z-margin {
        height: 18.6vh;
        margin-bottom: 1.5px;
        margin-top: 1px;
    }

.panel-body.red {
    background: #ed1c24;
}

.panel-body.blue {
    background: #002f87;
}

.panel-heading {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    padding: 2px;
    height: 30%;
}

.panel-body {
    padding: 0px;
    height: 70%;
}

.panel-heading.other {
    background: #eee;
    color: black;
    border-color: #eee;
    height: 5.7vh;
    margin-top:-3px;
}
/* Managing heading according to TV's queues */
.panel-heading.other.len-1 h5{
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.panel-heading.other.len-2 h5{
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.panel-heading.other.len-3 h5{
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.panel-heading.other.len-4 h5{
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.panel-heading.other.len-5 h5{
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.panel-heading.other.len-6 h5{
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.panel-heading.red {
    background: #ed1c24;
    border-color: white;
}

.panel-heading.blue {
    background: #002f87;
    border-color: white;
}



.divheight {
    float: left;
    height: 60px;
    width: 60px;
}


.form-control.selection {
    width: 150px;
    display: block;
    margin: 0 auto;
}

/* .row{
    margin: 0;
    padding: 0;
} */

.panel-heading h5 {
    font-size: 16px;
    font-weight:900;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

/* sds */

/* .col-2{
    width: 19.66% !important ; 
    padding: 2px;
} */


.panel.panel-primary.queue-name {
    height: 5.8vh;
    padding-top:2px;
}

.col-md-12 .panel {
    height: 18.5vh;
}

.col-md-12 .panel-heading.red {
    overflow: auto;
}

.col-md-12 .panel-heading.blue {
    overflow: auto;
}

/*don't delete */
@media (min-width: 992px) {
    .col-md-2.custom-width {
        width: 20%;
        height: 100%;
    }
}

@media screen and (max-width: 995px), screen and (max-height: 700px) {

    .panel.z-margin{
        height: auto;
     }

    .panel.panel-primary.queue-name {
        height: auto;
    }
}

@media screen and (max-width: 400px) and (max-height: 400px){
    .loader{
        top:auto;
        left:auto;
    }
    .loader-msg{
        top:auto;
        left:auto;
    }
}

.loader-msg {
    margin-left: 35%;
    margin-top: 28%;
}

/*  loader css*/

.loader {
    position: absolute;
    margin-left: 45%;
    margin-top: 20%;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #002f87;
    border-right: 16px solid #ed1c24;
    border-bottom: 16px solid #002f87;
    border-left: 16px solid #ed1c24;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* *{
    border: 1px solid red;
} */
