/* vars */
:root {
    --black: #000;
    --gray: #333;
    --gray-light: #9a9da0;
    --blue: #09f;
    --blue-dark: #202954;
    --green: #169939;
}
.bg-black {
    background-color: var(--black);
}
.bg-blue {
    background-color: var(--blue)
}
.bg-green {
    background-color: var(--green);
}
/* login
/* ------------------------ */
.login-wrapper {
    min-height: 100vh;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,c9ebff+100 */
    background: #c9ebff; /* Old browsers */
    background: -moz-linear-gradient(top, #fff 0%, #c9ebff 50%, #c9ebff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fff 0%, #c9ebff 50%, #c9ebff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fff 0%, #c9ebff 50%, #c9ebff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#c9ebff', GradientType=0); /* IE6-9 */
}
@media (max-width: 768px) {
    .login-wrapper {
        display: flex;
    }
}
.login-wrapper .inner {
    max-width: 400px;
    margin: 0 auto;
}
.super-chiurlo > img {
    display: block;
    width: 100%;
    height: auto;
}
.form-login-wrap {
    display: block;
    width: 100%;
    border-bottom: 1px solid #fff;
    margin-bottom: 50px; /*footer fixed*/
    background: #080b3c;
}
.form-login-wrap > form {
    padding: 40px 50px;
}
.form-login-wrap .form-group {
    margin-bottom: 10px;
}
.form-login-wrap .form-control {
    padding: 8px 10px;
    border-radius: 1px;
    height: auto;
    font-size: 16px;
}
.form-login-wrap .btn {
    display: block;
    width: 100%;
    border-radius: 1px;
    padding: 10px 0;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}
/* buttons
/* ------------------------ */
.btn-green {
    background-color: #33ab7d;
    border-color: #33ab7d;
    color: #fff !important;
    transition: all .2s ease-in-out;
}
.btn-green:hover {
    background-color: #00c485;
    border-color: #00c485;
}
/* header
/* ------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
}
.header .inner {
    max-width: 600px;
    position: relative;
    background: #fff;
    border-bottom: 1px solid #123885;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    height: 80px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin: 0 auto;
}
.header-controls {
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}
.header-controls .btn {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    background-color: var(--gray-light);
    color: #fff;
    transition: background-color .2s ease;
    padding: 6px 20px;
    outline: none !important;
}
.header-controls .btn.active {
    background-color: var(--blue-dark);
}
.header .logout {
    color: var(--gray);
    font-size: 16px;
    line-height: 20px;
    flex-shrink: 0;
}
main {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
hr {
    margin-top: 15px;
    margin-bottom: 0;
    border-color: #f1f1f1;
}
/* footer
/* ------------------------ */
.app-footer {
    position: fixed;
    z-index: 10;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-size: 14px;
}
/* list filters
/* ------------------------ */
.list-filters-wrap {
    background: #f5f5f5;
    border: 1px solid #e4e4e4;
    padding: 0 10px;
    margin: 0 15px;
}
.btn-toggle-filters {
    display: block;
    cursor: pointer;
    min-height: 40px;
    line-height: 40px;
    font-size: 16px;
}
.btn-toggle-filters .fa {
    transition: transform .2s ease-in-out;
    color: #878787;
}
.btn-toggle-filters.active .fa {
    transform: rotate(180deg);
}
.list-filters {
    display: none;
}
.title-calls {
    font-size: 30px;
    padding: 7px 15px;
    border-bottom: 1px solid #efefef;
    /*margin: 7px 0;*/
}
/* calls list
/* ------------------------ */
.calls-list-wrap {
    margin: 90px 0 50px;
}
.calls-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.calls-list > li {
    display: block;
    /*border-bottom: 1px solid #f1f1f1;*/
}
.calls-list > li:last-child {
    border-bottom: 0;
}
.call-entry {
    display: table;
    width: 100%;
    height: 90px;
    position: relative;
    overflow: hidden;
}
.call-entry > div {
    height: 90px;
    display: table-cell;
    vertical-align: middle;
}
.call-entry .ico-check, .ico-call,
.call-entry .datetime,
.call-entry .ico-speaker {
    width: 50px;
    height: 110px;
    text-align: center;
}
.call-entry .ico-check {
    background: #53ad70;
}
.call-entry .ico-call {
    background: #d90f16;
}
.call-entry .ico-check > img,
.call-entry .ico-call > img {
    width: 30px;
}
.call-entry .datetime {
    background: #09f;
    color: #fff;
    font-size: 16px;
    padding: 0 2px;
}
.call-entry .caller-wrap {
    padding: 0 10px;
    height: 110px;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.call-entry .caller-wrap .media-left {
    display: none;
    vertical-align: middle;
}
.call-entry .caller-wrap .fa {
    font-size: 24px;
}
.call-entry .ico-speaker {
    height: 90px;
    cursor: pointer;
}
.calls-list .btn-green {
    display: block;
    width: 100%;
    margin: 5px 0 0;
    border-radius: 0;
    font-weight: bold;
    font-size: 20px;
    background-color: #169939;
    padding: 10px 0;
}
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #f2f2f2;
}
@media (min-width: 425px) {
    .call-entry .caller-wrap .media-left {
        display: table-cell;
    }
}
@media (min-width: 768px) {
    .call-entry .ico-check, .ico-call,
    .call-entry .datetime,
    .call-entry .ico-speaker {
        width: 90px;
    }
    .call-entry .caller-wrap {
        font-size: 17px;
    }
}
/* v2
/* ------------------------ */
.call-entry-2 {
    overflow: hidden;
    position: relative;
    min-height: 120px;
    padding: 8px 0 7px;
    border-bottom: 1px solid #f1f1f1;
}
.call-entry-status {
    width: 30px;
}
.call-entry-status .status-dot {
    font-size: 21px;
    display: inline-block;
    margin-top: 4px;
}
.call-entry-status .status-dot.status-dot-green {
    color: #169939;
}
.call-entry-status .status-dot.status-dot-red {
    color: #d90000;
}
.call-entry-body {
    width: 100%;
    line-height: 1.3;
}
.call-entry-2 .entry-date {
    font-size: 18px;
    font-weight: bold;
    color: #09f;
}
.call-entry-2 .entry-user {
    font-size: 22px;
    font-weight: bold;
}
.call-entry-2 .entry-phone {
    font-size: 18px;
}
.call-entry-2 .entry-customer {
    font-size: 18px;
}
.call-entry-arrow {
    width: 21px;
    height: 36px;
    margin-top: 18px;
}
/* swipe effect
/* ------------------------ */
.swipe-wrap {
    display: flex;
    flex-wrap: nowrap;
    width: 200vw;
    transition: margin-left .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.swipe-wrap.swipe-left {
    margin-left: -240px;
}
.call-entry-inner {
    width: 100vw;
    max-width: 600px;
    display: flex;
    padding: 0 15px;
}
.call-entry-inner.entry-buttons {
    flex-wrap: wrap;
    padding: 0;
    max-width: 242px;
    gap: 1px;
}
.entry-buttons button, .entry-buttons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 500;
    color: #fff;
    border: none;
    border-radius: 0;
}
.call-entry-info-wrap {
    padding: 5px 15px 0 45px;
    font-size: 16px;
    line-height: 1.2;
}
.entry-buttons img {
    display: block;
    margin: 0 auto 5px;
    max-width: 32px;
    height: auto;
}
/* swal custom
/* ------------------------ */
.swal2-popup .swal2-title {
    font-size: 30px;
    font-weight: 400;
    color: #333;
}
.swal2-popup .swal2-cancel {
    background: #333 !important;
}
.swal2-popup .swal2-confirm {
    background: #169939 !important;
}
/* modal
/* ------------------------ */
.modal-header .close {
    font-size: 30px;
    margin-top: -13px;
    margin-right: -6px;
}
/* closed calls list custom
/* ------------------------ */
.open-calls-list {
    border-bottom: 4px solid #dfdfdf;
}
.closed-calls-list {
    background: #efefef;
}
.closed-calls-list .title-calls {
    border-color: #c8c8c8;
}
.closed-calls-list .call-entry-2 {
    border-color: #c8c8c8;
}
.no-calls-found {
    text-align: center;
    padding: 7px 15px;
}
/* calendar-overlay */
/* team-overlay */
.calendar-overlay,
.team-overlay {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 10;
    width: min(600px, 100%);
    margin: 0 auto;
    background: #efefef;
    transition: all .35s ease;
    opacity: 0;
    transform: translateY(100%);
}
.calendar-overlay.active,
.team-overlay.active {
    opacity: 1;
    transform: translateY(0);
}
.calendar-overlay .inner,
.team-overlay .inner {
    padding: 15px 15px 60px;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 80px);
}
.calendar-overlay .btn-overlay-close,
.team-overlay .btn-overlay-close {
    position: absolute;
    z-index: 20;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    outline: none;
}
.calendar-overlay .btn-overlay-close:before,
.calendar-overlay .btn-overlay-close:after,
.team-overlay .btn-overlay-close:before,
.team-overlay .btn-overlay-close:after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    position: absolute;
    top: calc(50% - 1px);
    left: 4px;
    transform-origin: center;
}
.calendar-overlay .btn-overlay-close:before,
.team-overlay .btn-overlay-close:before {
    transform: rotate(45deg);
}
.calendar-overlay .btn-overlay-close:after,
.team-overlay .btn-overlay-close:after {
    transform: rotate(-45deg);
}
.calendar-overlay hr,
.team-overlay hr {
    border-color: #c8c8c8;
    margin: 20px 0;
}
.team-overlay .reperibles-list-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    margin: 0 0 15px;
    color: #202954;
}
.team-overlay .reperibles-list {
    margin: 0;
    padding: 0 30px 0 0;
    list-style: none;
}
.team-overlay .reperibles-list > li {
    font-size: 18px;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
}
.team-overlay .reperibles-list span.dot {
    flex-grow: 1;
    position: relative;
}
.team-overlay .reperibles-list span.dot:before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 10px;
    right: 10px;
    display: block;
    height: 2px;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 2px 2px;
}
.cal-entry-date{
    border: 1px solid #666;
    position: relative;
    margin-right: 10px;
}
.cal-entry-date .year-month{
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    font-size: 12px;
    border-bottom:  1px solid #666;
    white-space: nowrap;
}
.cal-entry-date .week-num{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}
.cal-entry-date .week-num sup{
    top: -.5em;
}
.arrow-calendar{
    position: absolute;
    left: 65%;
    z-index: 2;
    top: 13px;
    font-size: 20px;
}
.arrow-calendar i:first-child{
    margin-right: 20px;
}
.arrow-calendar i.disabled{
    opacity: .5;
    pointer-events: none;
}
