* {
    margin: 0;
}

html {
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #F9F9F9;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1rem;
    /*min-width: 1920px;*/
}

iframe {
    border: none;
}

@media screen and (max-width: 766px) {
    .container {
        display: grid;
        width: 100%;
        height: calc(100vh - 17px);
        grid-template-areas: "logo header"
            "menu content";
        grid-template-columns: 320px auto;
        grid-template-rows: 60px auto;
    }

    .header-agent-text {
        font-size: 0.825rem;
    }

    .dashboard-box {
        border: 1px solid #efefef;
        height: 320px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeCalls-box {
        border: 1px solid #efefef;
        height: 180px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeAgents-box {
        border: 1px solid #efefef;
        height: 180px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .header-agent-layer {
        align-items: center;
        display: flex;
        padding: 5px 5px 5px 20px;
        width: 240px;
    }
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
    .container {
        display: grid;
        width: 100%;
        height: calc(100vh - 17px);
        grid-template-areas: "logo header"
            "menu content";
        grid-template-columns: 320px auto;
        grid-template-rows: 60px auto;
    }

    .header-agent-text {
        font-size: 0.825rem;
    }

    .dashboard-box {
        border: 1px solid #efefef;
        height: 320px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeCalls-box {
        border: 1px solid #efefef;
        height: 180px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeAgents-box {
        border: 1px solid #efefef;
        height: 180px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .header-agent-layer {
        align-items: center;
        display: flex;
        padding: 5px 5px 5px 20px;
        width: 240px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1599px) {
    .container {
        display: grid;
        width: 100%;
        height: 100vh;
        grid-template-areas: "logo header"
            "menu content";
        grid-template-columns: 320px auto;
        grid-template-rows: 60px auto;
    }

    .header-agent-text {
        font-size: 1.2rem;
    }

    .dashboard-box {
        border: 1px solid #efefef;
        height: 320px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeCalls-box {
        border: 1px solid #efefef;
        height: 220px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeAgents-box {
        border: 1px solid #efefef;
        height: 220px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .header-agent-layer {
        align-items: center;
        display: flex;
        padding: 5px 5px 5px 20px;
        width: 300px;
    }
}

@media screen and (min-width: 1600px) {
    .container {
        display: grid;
        width: 100%;
        height: 100vh;
        grid-template-areas: "logo header"
            "menu content";
        grid-template-columns: 320px auto;
        grid-template-rows: 60px auto;
    }

    .header-agent-text {
        font-size: 1.2rem;
    }

    .dashboard-box {
        border: 1px solid #efefef;
        height: 320px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeCalls-box {
        border: 1px solid #efefef;
        height: 220px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .activeAgents-box {
        border: 1px solid #efefef;
        height: 220px;
        overflow: auto;
        margin: 5px;
        padding: 5px;
    }

    .header-agent-layer {
        align-items: center;
        display: flex;
        padding: 5px 5px 5px 20px;
        width: 300px;
    }
}


/*.container > div {
    border: 1px dashed #888;
  }*/

.logo {
    background-color: #4A4A4A;
    background-image: url(../img/logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 75% 82%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    grid-area: logo;
}

.header {
    background-color: #1367C9;
    display: flex;
    flex-direction: row;
    font-size: 1.2rem;
    color: #FFF;
    grid-area: header;
    padding: 5px;
}

.header-agent-subtext {
    font-size: 0.825rem;
}

.menu {
    background-color: #4A4A4A;
    grid-area: menu;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 15px;
}

.sidebar-menu-icon {
    color: rgba(255, 255, 255, 0.24);
}

.sidebar-menu-text {
    color: rgba(255, 255, 255, 0.24);
    font-size: 1rem;
    font-weight: 600;
    margin-left: 15px;
}

.sidebar-ccp-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    transition: 0.5s;
}

.sidebar-ccp {
    height: 460px;
}

.sidebar-ccp-wrapper {
    background-color: #F2F2F2;
    color: #031316;
    display: flex;
    height: 460px;
    transition: 0.5s all ease;
    width: 0px;
}

.ccpOpened {
    width: 320px;
}

.switchenabled {
    background: linear-gradient(to right, rgb(242, 242, 242) 50%, #4A4A4A 50%);
    background-size: 200%;
    background-position: left;
}

.switchdisabled {
    background-position: right;
}

.sidebar-space {
    height: calc(100% - 500px);
}

.content {
    display: flex;
    flex-direction: column;
    grid-area: content;
    
}

.content-header {
    display: flex;
    justify-content: space-between;
    background-color: #FFF;
    border-bottom: 1px solid #efefef;
    font-weight: 600;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.content-header-text {
    font-size: 1.5rem;
}

.circle {
    background-color: #FFF;
    border-radius: 50%;
    height: 35px;
    text-align: center;
    width: 35px;
}

.header-icons-layer {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: row-reverse;
    margin-right: 5px;
    padding: 5px 20px 5px 5px;
    width: 80%;
}

.header-icon {
    margin-top: 7px;
    color: #1367C9;
}

.header-agent-picture {
    border-radius: 50%;
    height: 45px;
    margin-right: 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    background-color: #FFFFFF;
    border: solid 1px #b6c0ca;
    border-radius: 5px;
    color: #2A2A2A;
    font-size: 1rem;
    left: 50%;
    margin-left: -60px;
    padding: 5px 0;
    position: absolute;
    text-align: center;
    top: 150%;
    visibility: hidden;
    width: 120px;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #b6c0ca transparent;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1367C9;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #F9F9F9;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #1367C9;
}

input:focus+.slider {
    box-shadow: 0 0 1px #1367C9;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(255, 255, 255);
    /* Fallback color */
    background-color: #FFFFFF;
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #1367C9;
    border: 1px solid #888;
    border-radius: 5px;
    height: 300px;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    text-align: center;
    width: 400px;
    /* Could be more or less, depending on screen size */
}

.modal-logo {
    background-image: url(../img/logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 80% 80%;
    height: 100px;
}

.modal-loading {
    margin-top: 60px;
}

.loader {
    width: 200px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.tabledash {
    border: solid 1px #efefef;
    border-collapse: collapse;
    color: #212529;
    text-align: center;
    width: 100%;
}

.thdash {
    border-bottom: solid 1px #efefef;
    color: rgba(55, 77, 103, 0.54);
    font-size: 1rem;
    padding: 4px;
}

.tddash {
    border-bottom: solid 1px #efefef;
    font-size: 0.825rem;
    padding: 4px;
}

.bg {
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #8ef;
    z-index: -1;
}

.agentsTable {
    border: solid 1px #efefef;
    border-collapse: collapse;
    color: #212529;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.callsTable {
    border: solid 1px #efefef;
    border-collapse: collapse;
    color: #212529;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}