.fc .fc-button-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    padding: 0.25rem 0.5rem !important;
    margin: 0rem 0.07rem !important;
    border-radius: 0.2rem !important;
}

.fc .fc-button-primary:hover {
    background-color: var(--primary-active-color) !important;
    border-color: var(--primary-active-color) !important;
}

.mas-dropdown>a {
    cursor: pointer;
}

.mas-dropdown:hover>.dropdown-menu {
    display: block;
    transition: all ease-in-out 1s;
}

.mas-dropdown:hover a .fa-angle-down {
    transform: rotate(180deg);
    transition: all ease-in-out 0.5s;
}

.mas-dropdown a .fa-angle-down {
    transform: rotate(360deg);
    transition: all ease-in-out 0.5s;
}


.dataTables_length>label>.form-control {
    padding: 0px;
    height: 30px;
}

.dataTables_filter>label>.form-control {
    padding: 4px;
    height: 30px;
}

.dataTables_filter {
    text-align: right;
}

.toast-message {
    font-size: 12px;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    font-size: 12px;
}

.select2-container--bootstrap4 .select2-selection--multiple {
    height: auto;
}

.select2-container .select2-selection--multiple {
    height: auto;
}

#printbtns {
    display: flex;
}

@media print {
    #breadcrumbs {
        display: none;
    }

    #printbtns {
        display: none;
    }

    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate,
    .print,
    .filterData {
        display: none;
    }
}

/*
input:valid {
    color: green;
  }
  input:invalid {
    color: red;
  } */

label.error {
    color: red;
    font-size: 12px;
}

input.error,
textarea.error,
select.error,
label.error {
    border-color: red;
}

button {
    border-radius: 5px
}

.rounded-0 {
    border-radius: 5px;
}

input,
select,
textarea {
    border-radius: 5px;
}

.select2-container--bootstrap4 .select2-results__option {
    font-size: 12px;
}

@media only screen and (min-width:1200px) {
    #DataTables_Table_0_wrapper .row {
        display: flex;
        flex-wrap: nowrap;
    }
}

@media only screen and (max-width:600px) {
    #DataTables_Table_0_wrapper .row {
        display: flex;
        flex-direction: column;
    }

    div.dataTables_wrapper div.dataTables_filter {
        text-align: left;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        margin: 0px;
        width: 100%;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        margin: 0px;
        width: 100%;
    }

    #DataTables_Table_0_wrapper .row .dataTables_filter label {
        width: 100%;
    }

    #DataTables_Table_0_wrapper .row .dataTables_filter label input {
        width: 100%;
    }
}

#DataTables_Table_0_length {
    text-align: left;
}

#DataTables_Table_0_info {
    text-align: left;
}


@media only screen and (min-width:1200px) {
    .items {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (max-width:1024px) {
    .items {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width:600px) {
    .items {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width:320px) {
    .items {
        width: 50px;
        height: 50px;
    }
}


.text-navy {
    color: #21305B;
}

.bg-navy {
    background-color: #21305B;
}

.border-bottom-navy {
    border-bottom: 1px solid #21305B;
}

.border-left-navy {
    border-left: 1px solid #21305B;
}

.border-navy {
    border: 1px solid #21305B;
}

.text-red {
    color: #BD1F40;
}

.bg-red {
    background-color: #BD1F40;
    color: white;
}

.select2-results__option[aria-selected] {
    cursor: pointer;
    font-size: 11px;
}


h-100vw {
    height: 100vw
}

h-50vw {
    height: 50vw
}

h-33vw {
    height: 33vw
}

h-25vw {
    height: 25vw
}

h-20vw {
    height: 20vw
}

h-16vw {
    height: 16vw
}

h-14vw {
    height: 14vw
}

.select2-container--default .select2-selection--single {
    border-color: #d8dfed;
    border-radius: 5px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #BD1F40;
    box-shadow: none;
}

.custom-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.custom-shadow2 {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.dropdown-menu {
    z-index: 9;
}

/* Calling Css */

.pad {
    width: 100%;
    height: 500px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: -100px;
    right: 0;
    margin: auto;
    animation: showPad 1s ease forwards 1;
}

.pad .dial-pad .contact {
    width: 60%;
    position: relative;
    margin-left: 20%;
    margin-top: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pad .dial-pad .contact.showContact {
    opacity: 1;
}

.pad .dial-pad .contact .avatar {
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    box-shadow: 0 15px 30px -10px black;
    position: absolute;
    left: 0px;
    top: 8px;
}

.pad .dial-pad .contact .contact-info {
    border-radius: 8px;
    width: 85%;
    margin-left: 15%;
    background-color: #2D2D2D;
    height: 76px;
    overflow: hidden;
}

.pad .dial-pad .contact .contact-info>div {
    width: 80%;
    margin-left: 20%;
    font-size: 12px;
    margin-top: 3px;
}

.pad .dial-pad .contact .contact-info .contact-name {
    color: #FDFDFD;
    margin-top: 12px;
}

.pad .dial-pad .contact .contact-info .contact-position {
    font-style: italic;
    color: #AEAEAE;
}

.pad .dial-pad .contact .contact-info .contact-number {
    color: white;
}

.pad .dial-pad .contact .contact-info .contact-number span {
    color: #82B54B;
    display: inline;
}

.pad .dial-pad .contact .contact-buttons {
    position: absolute;
    right: -5px;
    top: 0px;
    width: 40px;
    height: 76px;
}

.pad .dial-pad .contact .contact-buttons button {
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    box-shadow: 0 12px 25px -5px black;
    display: block;
    position: absolute;
    right: 0px;
    background-size: 75% auto;
    background-position: center center;
    background-repeat: no-repeat;
}

.pad .dial-pad .contact .contact-buttons button:focus {
    outline: none;
}

.pad .dial-pad .contact .contact-buttons button.icon-message {
    background-color: #FFC44E;
    top: 5px;
}

.pad .dial-pad .contact .contact-buttons button.icon-video {
    background-color: #A529F9;
    bottom: 5px;
}

.pad .dial-pad .phoneString {
    width: 100%;
    height: 80px;
    background-color: #e5e2e2;
    margin-top: 40px;
}

.pad .dial-pad .phoneString input {
    background-color: transparent;
    width: 60%;
    margin-left: 20%;
    height: 80px;
    border: none;
    font-size: 30px;
    color: black;
    font-weight: 700;
    letter-spacing: 2px;
}

.pad .dial-pad .phoneString input:focus {
    outline: none;
}

.pad .dial-pad .digits {
    overflow: hidden;
    width: 60%;
    margin-left: 20%;
    margin-top: 20px;
}

.pad .dial-pad .digits .dig-spacer {
    width: 60px;
    margin: 10px calc(50% - 90px);
    float: left;
}

.pad .dial-pad .digits .dig {
    color: rgba(0, 0, 0, 0.617);
    font-size: 30px;
    float: left;
    background-color: #d5d2d2;
    text-align: center;
    width: 96px;
    height: 55px;
    border-radius: 100%;
    margin: 10px 0px;
    padding-top: 4px;
    font-weight: 700;
    cursor: pointer;
}

.pad .dial-pad .digits .dig.clicked {
    animation: pulse-gray linear 0.5s 1;
}

.pad .dial-pad .digits .dig:nth-child(3n-1) {
    margin: 10px calc(50% - 90px);
}

.pad .dial-pad .digits .dig.astrisk {
    padding-top: 17px;
}

.pad .dial-pad .digits .dig.pound {
    /* padding-top: 10px; */
}

.pad .dial-pad .digits .dig .sub-dig {
    font-size: 8px;
    font-weight: 300;
    position: relative;
    top: -2px;
}

.pad .dial-pad .digits .dig.addPerson,
.pad .dial-pad .digits .dig.goBack {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 55% auto;
    margin-bottom: 25px;
    box-shadow: 0px 25px 30px -15px black;
}

.pad .dial-pad .digits .dig.addPerson {
    background-color: #285EFA;
    background-image: url(https://s16.postimg.org/4u2rbu85t/add_Person.png);
}

.pad .dial-pad .digits .dig.addPerson.clicked {
    animation: pulse-blue linear 0.5s 1;
}

.pad .dial-pad .digits .dig.goBack {
    background-color: #BD1F40;
    background-image: url(https://s4.postimg.org/x6g6auu7d/back_Arrow.png);
}

.pad .dial-pad .digits .dig.goBack.clicked {
    animation: pulse-red linear 0.5s 1;
}

.pad .call-pad {
    opacity: 0;
    /* height: 0px;
    /* pointer-events: none; */
    background-image: url(https://s21.postimg.org/x4te7wpo7/call_Background.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.pad .call-pad.in-call {
    height: 100%;
    opacity: 1;
    pointer-events: all;
}

.pad .call-pad .pulsate {
    opacity: 0;
    width: 150px;
    height: 0px;
    overflow: visible;
    position: relative;
    display: block;
    margin: 0 auto 0;
    top: 120px;
    transition: opacity 0.5s ease;
}

.pad .call-pad .pulsate.active-call {
    animation: pulsator 2s ease infinite;
    opacity: 1;
}

.pad .call-pad .pulsate div {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.479);
    border-radius: 100%;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.pad .call-pad .pulsate div:nth-child(1) {
    width: 110px;
    height: 110px;
}

.pad .call-pad .pulsate div:nth-child(2) {
    width: 122px;
    height: 122px;
}

.pad .call-pad .pulsate div:nth-child(3) {
    width: 134px;
    height: 134px;
}

.pad .call-pad .ca-avatar {
    width: 100px;
    height: 100px;
    margin: 70px auto;
    margin-bottom: 30px;
    display: block;
    background-color: #111111;
    border-radius: 100%;
    box-shadow: 0px 20px 25px -10px rgba(0, 0, 0, 0.8);
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    transition: opacity 1s ease, transform 1s ease;
    opacity: 0.5;
    transform: scale(0.5, 0.5);
}

.pad .call-pad .ca-avatar.in-call {
    transform: scale(1, 1);
    opacity: 1;
}

.pad .call-pad .ca-name,
.pad .call-pad .ca-number,
.pad .call-pad .ca-status {
    width: 60%;
    margin-left: 20%;
    color: black;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.pad .call-pad .ca-name {
    font-size: 18px;
}

.pad .call-pad .ca-number {
    font-size: 28px;
    letter-spacing: 2px;
}

.pad .call-pad .ca-status {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pad .call-pad .ca-status:after {
    content: attr(data-dots);
    position: absolute;
}

.pad .call-pad .ca-buttons {
    width: 70%;
    margin-left: 15%;
}

.pad .call-pad .ca-buttons .ca-b-single {
    float: left;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    position: relative;
    margin-bottom: 40px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 55% auto;
}

.pad .call-pad .ca-buttons .ca-b-single:nth-child(3n-1) {
    margin-left: calc(100% - 230px);
    margin-right: calc(100% - 230px);
}

.pad .call-pad .ca-buttons .ca-b-single:after {
    content: attr(data-label);
    color: white;
    position: absolute;
    text-align: center;
    font-size: 10px;
    width: 100px;
    bottom: -20px;
    left: -18px;
    letter-spacing: 2px;
}

.call,
.end-call {
    color: white;
    font-size: 30px;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    margin: 10px 0px;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    left: calc(50% - 30px);
    bottom: 50px;
    box-shadow: 0px 25px 30px -15px black;
    background-color: #82B54B;
}

.call .call-icon,
.end-call .call-icon {
    position: absolute;
    left: 0px;
    top: 10px;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.call .call-icon.in-call,
.end-call .call-icon.in-call {
    -ms-transform: rotate(134deg);
    -webkit-transform: rotate(134deg);
    transform: rotate(134deg);
}

.call .call-change,
.end-call .call-change {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    overflow: hidden;
}

.call .call-change span,
.end-call .call-change span {
    width: 70px;
    height: 67px;
    display: block;
    background-color: #BD1F40;
    position: relative;
    top: 70px;
    left: 70px;
    border-radius: 100%;
    transition: left 0.3s ease, top 0.3s ease;
}

.call .call-change.in-call span,
.end-call .call-change.in-call span {
    top: -5px;
    left: -5px;
}

.call.clicked,
.end-call.clicked {
    animation: pulse-green linear 0.5s 1 forwards;
}

@keyframes pulse-gray {
    0% {
        box-shadow: inset 0 0 0px 30px #ababab, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #878787, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #cacaca, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: inset 0 0 0px 30px #285EFA, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #285EFA, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #285EFA, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: inset 0 0 0px 30px #82B54B, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #82B54B, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #82B54B, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: inset 0 0 0px 30px #BD1F40, inset 0 0 0px 30px white;
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    10% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    30% {
        box-shadow: inset 0 0 0px 10px #BD1F40, inset 0 0 0px 30px white;
    }

    60% {
        box-shadow: inset 0 0 0px 0px #BD1F40, inset 0 0 0px 0px white;
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes pulsator {
    0% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    40% {
        -ms-transform: scale(0.8, 0.8);
        -webkit-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8);
    }

    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes showPad {
    0% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

.accept-call {
    background: #82B54B !important;
}

.reject-call {
    background: #BD1F40 !important;
}

.incoming-call-container {
    position: absolute;
    bottom: 0;
}

.unmute {
    background: #BD1F40 !important;
}
