.design{
    padding:15px;
}
.fancybox-wrap,
.fancybox-skin{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.fancybox_content_wrapper {
    padding: 0 0 15px 0;
    overflow: hidden;
    min-width: 200px;
    max-width: 600px;
}

.fancybox_content_wrapper .fancybox_content_row {
    margin-top: 15px;
    margin-bottom: 0px;
}

.fancybox_content_wrapper .fancybox_content_row .fancybox_content_row_section {
    margin-bottom: 10px;
}

.fancybox_content_wrapper td {
    vertical-align: top;
}

.fancybox_content_wrapper .table {
    margin-bottom: 10px;
}

.fancybox_content_wrapper .table tr td {
    border: none;
    border-top-width: 0;
}

.fancybox-layout-popup .fancybox-inner{
    border-radius:10px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
}
.fancybox-layout-popup h3,
.fancybox-layout-header h3{
    font-weight: 600;
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    color: #676A6C;
    padding-bottom: 11px;
    margin-top:0;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 10px;
    line-height: 1.5;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1;
    padding-bottom: 15px;
}
.fancybox-layout-popup table tr:first-child td{
    border-top:0;
}
.fancybox-layout-popup .fancybox-item.fancybox-close::before,
.fancybox-layout-header .fancybox-item.fancybox-close::before {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0px;
    left: 0;
    display: block;
    background-image: url('../img/close-dark.svg');
    color: #676A6C;
    font-size: 18px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
}

.fancybox-layout-popup .fancybox-item.fancybox-close,
.fancybox-layout-header .fancybox-item.fancybox-close {
    position: absolute;
    top: 23.5px !important;
    right: 25px !important;
    background-image: none;
    float: right;
    height: 15px !important;
    width: 15px !important;
}
.fancybox-layout-popup .fancybox-inner .fancybox-success{
    padding-left:25px;
    padding-right:25px;
    padding-bottom:25px;
    padding-top: 20px;
}
.fancybox-layout-popup .modal-title{
    line-height:1;
    margin-bottom: 25px;
}
.fancybox-layout-popup .modal-body{
    padding:0px;
    max-height:calc(100% - 70px);
    font-size:14px;
}
.fancybox-layout-popup .modal-title h3{
   margin-left:-25px;
   margin-right:-25px;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    padding-bottom:20px;
    color: #676A6C;
}
.fancybox-layout-popup .fancybox-item.fancybox-close{
    width:12px !important;
    height:12px !important;
    top:28px !important;
}
.fancybox-layout-popup .fancybox-item.fancybox-close::before{
    width:12px !important;
    height:12px !important;
    background-image: url('../img/close-modal.svg');
}
.fancybox-layout-popup .fancybox-wrapper,
.fancybox-layout-popup .fancybox-content{
    height:100%;
}

.fancybox-layout-popup .modal-body::-webkit-scrollbar {
    width:18px;
}
.fancybox-layout-popup .modal-body::-webkit-scrollbar-track {
    background:#fff;
    border-radius:0px;
}

.fancybox-layout-popup .modal-body::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius:0px;
    border-right:3px solid #02A4F7;
    background-clip: padding-box;
    
}

.fancybox-layout-popup .modal-body .grid-view{
    padding:0;
    border:0;
}
.fancybox-layout-popup .modal-body .grid-view thead tr th:first-child,
.fancybox-layout-popup .modal-body .grid-view tbody tr td:first-child{
    padding-left:0;
}
.fancybox-layout-popup .modal-body .grid-view thead tr th,
.fancybox-layout-popup .modal-body .grid-view thead tr td,
.fancybox-layout-popup .modal-body .grid-view tbody tr td{
    border:0;
}

.fancybox-layout-popup .modal-logo img{
    max-width:100%;
}
.fancybox-layout-popup .modal-logo{
    margin-bottom:20px;
}
.fancybox-layout-popup .fancybox-content.fancybox-content-without-title{
    padding-top:40px;
}
.fancybox-layout-popup .fancybox-content .modal-body:first-child{
    max-height:100%;
}
.fancybox-layout-popup .modal-footer{
    background: transparent;
    padding: 0;
    padding-top:25px;
    border: 0;
    box-shadow: none;
    text-align: center;
}
.fancybox-layout-popup .modal-footer .row-flex{
    margin-left:-13px;
    margin-right:-13px;
    display:flex;
}
.fancybox-layout-popup .modal-footer .col-button{
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding-left:13px;
    padding-right:13px;
}
.fancybox-layout-popup .modal-title ~ .modal-footer:nth-child(2){
    padding-top:0;
}
.fancybox-layout-popup .modal-footer .row-button-3{
    margin-left:-5px;
    margin-right:-5px;
}
.fancybox-layout-popup .modal-footer .row-button-3 .col-button{
    padding-left:5px;
    padding-right:5px;
}

.fancybox-layout-popup .nav-tabs li{
    width: 50%;
    text-align: center;
}
.fancybox-layout-popup .nav-tabs li a{
    border:0 !important;
    border-bottom:1px solid #F6F6F6 !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 23px;
    padding: 0px 10px 5px;
    color: #C4C4C4;
}
.fancybox-layout-popup .nav-tabs li.active a,
.fancybox-layout-popup .nav-tabs li a.active{
    font-weight: 600;
    font-size: 14px;
    line-height: 23px;
    color: #02A4F7 !important;
    border-bottom:1px solid #02A4F7 !important;
}
.fancybox-layout-popup .nav-tabs li:hover,
.fancybox-layout-popup .nav-tabs li a:hover{
    background:transparent;
}
.fancybox-layout-popup .nav-tabs li.active:hover a,
.fancybox-layout-popup .nav-tabs li a.active:hover,
.fancybox-layout-popup .nav-tabs li.active:focus a,
.fancybox-layout-popup .nav-tabs li a.active:focus{
    color: #02A4F7;
}
.fancybox-layout-popup .tab-content{
    padding-top: 25px;
}

.btn-submit-invite-email.btn-disabled,
.btn-submit-invite-mobile.btn-disabled{
    color: #FFFFFF;
    border-color: #C4C4C4;
    background: #C4C4C4;
}
.fancybox-layout-popup .modal-body-content .form-group{
    margin-bottom:20px;
}
.fancybox-layout-popup .modal-body-content .form-group:last-child{
    margin-bottom:0px;
}
.fancybox-layout-popup .custom-control{
    padding-left:0;
    padding-top:1px;
    padding-bottom:1px;
}
.fancybox-layout-popup .custom-control label{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    font-size: 14px;
    line-height: 40px;
    color: #676A6C;
}
.fancybox-layout-popup .custom-select{
    font-size: 14px;
    line-height: 1;
    color: #676A6C;
    border: 0.5px solid #C4C4C4;
    border-radius: 5px;
    height: 30px;
    background:url('../img/dropdown-arrow.svg');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 8px;
}
.fancybox-layout-popup .modal-footer .btn-not-full{
    width:80%;
}
.fancybox-layout-popup .modal-footer .btn-white{
    border: 1px solid #C4C4C4;
    border-radius: 5px;
}
.fancybox-layout-popup .modal-body p{
    margin-bottom:20px;
}
.fancybox-layout-popup .modal-body .form-control:not(select){
    background: #FFFFFF;
    border: 0.5px solid #C4C4C4;
    border-radius: 5px;
}
.fancybox-layout-popup .modal-body .form-control:first-child:not(.custom-select){
    font-size: 14px;
    text-align: center;
    color: #676A6C;
    font-family: "Hind Siliguri", sans-serif;
    text-align-last: center;
}
.fancybox-layout-popup .modal-body .switch-wrapper{
    margin-bottom:20px;
}
.fancybox-layout-popup .modal-body .switch-wrapper .row-flex{
    display:flex;
    justify-content: center;
}
.fancybox-layout-popup .modal-body .switch-wrapper .row-flex .col-switch{
    text-align:center;
}
.fancybox-layout-popup .modal-body .switch-wrapper .switch-date{
    margin-bottom:3px;
}
.fancybox-layout-popup .modal-body .switch-wrapper .switch-label{
    min-width: 106px;
    text-align: center;
    border-radius: 3px;
    padding: 2px;
    font-size: 12px;
    line-height: 18px;
    background: #F6F6F6;
    color: #C4C4C4;
}
.fancybox-layout-popup .modal-body .switch-wrapper .col-icon{
    padding-left:15px;
    padding-right:15px;
    align-items:center;
    display: flex;
}
.fancybox-layout-popup .modal-body .switch-wrapper .switch-label.switch-label-active{
    background: #D5F1FF;
    color: #006EA7;
}
.fancybox-layout-popup .fancybox-clockin{
    padding-top:5px;
}
.fancybox-layout-popup .fancybox-clockin .clockin-img-wrapper{
    width:100%;
    height:calc(100vw * 287/1520);
    border-radius:5px;
    overflow: hidden;
}
.fancybox-layout-popup .fancybox-clockin .clockin-img-wrapper img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.fancybox-layout-popup .fancybox-clockin .title{
    font-weight: 600;
    font-size: 13px;
    line-height: 21px;
    text-align: center;
    font-family: "Hind Siliguri", sans-serif;
    color: #676A6C;
    margin-bottom:15px;
}
.fancybox-layout-popup .fancybox-clockin .date-time .date{
    font-weight: 500;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    color: #676A6C;
    margin-bottom:3px;
}
.fancybox-layout-popup .fancybox-clockin .date-time .time{
    font-family: "Hind Siliguri", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    color: #02A4F7;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form{
    margin-top:25px;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-control{
    background: #FFFFFF;
    border: 0.5px solid #C4C4C4;
    border-radius: 5px;
    font-size: 12px;
    color: #676A6C;
}

.fancybox-layout-popup .fancybox-clockin .clockin-form .form-control::placeholder {
    font-size: 12px;
    color: #C4C4C4;
    font-family: "Hind Siliguri", sans-serif;
}

.fancybox-layout-popup .fancybox-clockin .clockin-form .form-control:-ms-input-placeholder {
    font-size: 12px;
    color: #C4C4C4;
    font-family: "Hind Siliguri", sans-serif;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-control::-ms-input-placeholder {
    font-size: 12px;
    color: #C4C4C4;
    font-family: "Hind Siliguri", sans-serif;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group{
    font-size: 12px;
    line-height: 28px;
    color: #C4C4C4;
    font-family: "Hind Siliguri", sans-serif;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group .input-group{
    display:flex;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group .input-group .form-control{
    border-right:0px;
    border-radius:5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    display:flex;
    font-size:12px;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group .input-group-addon{
    padding: 5px 10px;
    background: transparent;
    border-color:#C4C4C4;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    display:flex;
    width:auto;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group .input-group-addon img{
    width:15px;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .btn-clockin{
    width:100%;
    font-family: "Hind Siliguri", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    height: 29px;
    text-align: center;
    color: #FFFFFF;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .manage-wrapper a{
    font-size: 11px;
    line-height: 28px;
    margin-top:3px;
    color: #02A4F7;
}
.fancybox-layout-popup .fancybox-clockin .clockin-form .form-group .input-group .form-control:focus ~ .input-group-addon{
    border-color:#1ab394;
}
.modal-footer .btn{
    font-size:14px;
    padding:6px 12px;
    line-height:1;
}
@media(min-width:768px){
    .fancybox-layout-popup .modal-title{
        width:450px;
    }
}
@media(max-width:1200px){
    .fancybox-layout-popup .fancybox-clockin .clockin-img-wrapper{
        width:100%;
        height:calc(100vw * 350/423);
    }
}
@media(max-width:768px){
    .fancybox-layout-popup .modal-body{
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 22px;
        color: #676A6C;
    }
    .fancybox-layout-popup .modal-title h3{
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 26px;
        text-align: center;
        color: #676A6C;
    }
    .fancybox-layout-popup .fancybox-inner{
        padding-right:15px;
        padding-left:15px;
    }
    .fancybox-layout-popup .modal-title h3{
        margin-right:-15px;
        margin-left:-15px;
    }
    .fancybox-layout-popup .fancybox-inner{
        max-width:90vw;
    }
    .fancybox-layout-popup .modal-body{
        max-height: calc(100vh - 150px);
    }
    .fancybox-layout-popup{
        width:90vw !important;
        left:5w !important;
    }
    .fancybox-layout-popup .fancybox-inner{
        width:90vw !important;
    }
    .fancybox-layout-popup .fancybox-content .modal-body:first-child {
        max-height: 80vh;
    }
    .fancybox-layout-popup .modal-footer .btn-not-full{
        width:100%;
    }
    .fancybox-layout-popup .modal-footer .row-flex{
        margin-left:-10.5px;
        margin-right:-10.5px;
    }
    .fancybox-layout-popup .modal-footer .col-button{
        padding-left:10.5px;
        padding-right:10.5px;
    }
    .fancybox-layout-popup .fancybox-clockin .title{
        line-height:1;
    }
    .fancybox-layout-popup .fancybox-clockin .date-time .date{
        line-height:1;
        margin-bottom: 15px;
    }
    .fancybox-layout-popup .fancybox-clockin .date-time .time{
        font-size:20px;
        line-height: 1;
    }
    .fancybox-layout-popup .fancybox-clockin .date-time{
        margin-bottom:20px;
        margin-top:15px;   
    }
    .fancybox-layout-popup .fancybox-clockin .clockin-form .btn-clockin{
        font-size:14px;
        height:35px;
    }
    .fancybox-layout-popup .fancybox-clockin .clockin-form .manage-wrapper a{
        font-size:12px;
        margin-top:15px;
        display: block;
        line-height: 1;
    }
    .fancybox-layout-popup .fancybox-clockin .clockin-form .form-group{
        margin-bottom:20px;
    }
    .fancybox-layout-popup .fancybox-clockin .clockin-form{
        margin-top:20px;
    }
    .fancybox-layout-popup .fancybox-item.fancybox-close, .fancybox-layout-header .fancybox-item.fancybox-close{
        right: 20px !important;
    }
}