/* Back to top button */

.back-to-head {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.25rem;
    text-align: center;
    color: #fff;
    background: #212529;
    line-height: 46px;
    z-index: 99999;
}

.back-to-head:focus,
.back-to-head:hover {
    color: white;
}

.back-to-head:hover {
    background: #5a5c69;
}

.back-to-head i {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
}

/* Error */

.border-error{
    border: 2px solid #fb8080!important;
}

.mb-error {
    margin-bottom: 0.5rem;
}

.invalid-text {
    display: none;
    color: red;
    font-size: 11px;
    font-style: italic;
    padding: 5px 0px;
}

.mb-error .invalid-text {
    display: block;
}

.border-error + .select2-container .select2-selection{
    border: 2px solid #fb8080!important;
}

.border-error + .select2-container .select2-selection .select2-selection__arrow{
    height: 26px!important;
    top: 2px!important;
    right: 2px!important;
}

.border-error + .select2-container + .invalid-text {
    display: block;
} 

.box-error {
    display: none;
    position: relative;
    color: #721c24;
    padding: 5px 15px;
    text-align: left;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    border-color: #fb8080;
}

/* Tab Box */

.tab-box ul li a {
    position: relative;
    padding: 7px 15px 8px 10px;
    color: #999;
    margin-right: -1px;
    border: 1px solid #c5d0dc;
    background-color: #F9F9F9;
    outline: 0;
}

.tab-box ul li.active>a,
.tab-box ul li.active>a:focus,
.tab-box ul li.active>a:hover {
    color: #576373;
    border-color: #c5d0dc #c5d0dc transparent;
    border-top: 2px solid #4C8FBD;
    background-color: #fff;
    box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, .15);
}

.tab-box ul li a i {
    margin-right: 5px;
}

.tab-box .tab-content {
    margin-top: 7px;
    border: 1px solid #c8ced3;
}

.tab-box .tab-content .tab-pane {
    padding: 10px 0px 0px 0px;
}

.tab-box .tab-content .tab-pane .tab-header {
    padding: 5px 5px 1px 15px;
    margin-bottom: 10px;
    background: #ebebeb;
}

.tab-box .tab-content .tab-pane .tab-header h5 {
    color: #373737;
    font-size: 16px;
    font-weight: 600;
}

.tab-box .tab-content .tab-pane .tab-body {
    padding: 0px 10px 10px 10px;
}

.tab-box .tab-content .tab-pane .form-control:not(textarea) {
    height: 32px;
}

/* Autocomplete */

.autocomplete-wrap {
    position: relative;
}

.autocomplete-wrap .autocomplete {
    display: none;
    position: absolute;
    max-height: 134px;
    width: 100%;
    overflow-y: auto;
    margin: 0px;
    padding: 0px;
    background: white;
    list-style: none;
    border: 1px solid #ddd;
    border-top-width: 0px;
    z-index: 1000;
}

.autocomplete-wrap .autocomplete::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-wrap .autocomplete::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

.autocomplete-wrap .autocomplete li {
    color: #373737;
    font-size: 14px;
    font-style: italic;
    padding: 5px 10px 5px 5px;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-wrap .autocomplete li.error {
    color: #ff0000;
}

.autocomplete-wrap .autocomplete li:last-child {
    border-bottom-width: 0px;
}

.autocomplete-wrap .autocomplete li:hover {
    cursor: pointer;
    background: #eee;
}

.autocomplete-wrap .autocomplete li a {
    color: #888;
}

/* Custom Checkbox */
    
.custom-checkbox {
    position: relative;
}

.custom-checkbox input[type="checkbox"] {    
    opacity: 0;
    position: absolute;
    margin: 5px 0 0 3px;
    z-index: 9;
}

.custom-checkbox label:before{
    width: 18px;
    height: 18px;
}

.custom-checkbox label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    background: white;
    border: 1px solid #bbb;
    border-radius: 2px;
    box-sizing: border-box;
    z-index: 2;
}

.custom-checkbox input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 6px;
    height: 11px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    transform: inherit;
    z-index: 3;
    transform: rotateZ(45deg);
}

.custom-checkbox input[type="checkbox"]:checked + label:before {
    border-color: #03A9F4;
    background: #03A9F4;
}

.custom-checkbox input[type="checkbox"]:checked + label:after {
    border-color: #fff;
}

.custom-checkbox input[type="checkbox"]:disabled + label:before {
    color: #b8b8b8;
    cursor: auto;
    box-shadow: none;
    background: #ddd;
}

/* Custom Radio Button 1 */

.custom-radio {
    position: relative;
}

.custom-radio input[type="radio"] {    
    opacity: 0;
    position: absolute;
    margin: 5px 0 0 3px;
    z-index: 9;
}

.custom-radio label:before{
    width: 18px;
    height: 18px;
}

.custom-radio label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    background: white;
    border: 1px solid #bbb;
    border-radius: 2px;
    box-sizing: border-box;
    z-index: 2;
}

.custom-radio input[type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    transform: inherit;
    z-index: 3;
    transform: rotateZ(45deg);
}

.custom-radio input[type="radio"]:checked + label:before {
    border-color: #03A9F4;
    background: #03A9F4;
}

.custom-radio input[type="radio"]:checked + label:after {
    border-color: #fff;
}

.custom-radio input[type="radio"]:disabled + label:before {
    color: #b8b8b8;
    cursor: auto;
    box-shadow: none;
    background: #ddd;
}

/* Custom Radio Button 2 */

.radio-btn-wrap {
    width: 100%;
    height: 100%;
    display: flex;
}

.radio-btn-wrap .radio-content label {
    display: flex;
    align-items: center;
    border-radius: 16px;
    margin: 5px 10px 5px 0px;
    padding: 0 8px 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.radio-btn-wrap .radio-content label:hover {
    background: transparent;
}

.radio-btn-wrap .radio-content span i {
    margin-right: 5px;
}

.radio-btn-wrap .radio-content .radio-input{
    height: 18px;
    width: 18px;
    background: #ffffff;
    border-radius: 50%;
    border: #ccc solid 1px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    outline: none;
    position: relative;
    z-index: 999;
    appearance: none;
    transition: all 0.15s ease-out 0s;
}

.radio-btn-wrap .radio-content .radio-input.checkbox {
    border-radius: 0%;
}

.radio-btn-wrap .radio-content .radio-input:disabled,
.radio-btn-wrap .radio-content .radio-input:hover{
    background: #eee;
}

.radio-btn-wrap .radio-content .radio-input:disabled {
    cursor: not-allowed;
}

.radio-btn-wrap .radio-content .radio-input:checked{
    background: #4CAF50;
    border-color: #4CAF50;
    z-index: 0;
}

.radio-btn-wrap .radio-content .radio-input:checked::before{
    position: absolute;
    content: '\2714';
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    left: 2px;
}

.radio-btn-wrap .radio-content .radio-input:checked::after{
    -webkit-animation: click-wave 0.65s;
    -moz-animation: click-wave 0.65s;
    animation: click-wave 0.65s;
    background: #feb018;
    content: '';
    display: block;
    position: relative;
    z-index: 100;
}

@media (max-width: 640px) {
    .radio-btn-wrap {
        flex-direction: column;
    }
}

/* Toggle Switch */

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 28px;
}

.toggle-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #febf02;
    -webkit-transition: .4s;
    transition: .4s cubic-bezier(0,1,0.5,1);
    border-radius: 4px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s cubic-bezier(0,1,0.5,1);
    border-radius: 3px;
}

.toggle-switch input:checked + .slider {
    background-color: #52c944;
}

.toggle-switch input:focus + .slider {
    box-shadow: 0 0 4px #7efa70;
}

.toggle-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.toggle-switch .slider.round {
    border-radius: 34px;
}

.toggle-switch .slider.round:before {
    border-radius: 50%;
}

/* Avatar */

.avatar-box {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 2rem rgba(67, 160, 71, 0.1);
    padding: 10px;
    background-color: white;
    border-top: 0.125rem solid #A5D6A7;
}

.avatar-box .avatar-item {
    text-align: center;
}

.avatar-box .avatar-item img {
    padding: 2px;
    border: 1px solid #AAA;
    max-width: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    -webkit-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

.avatar-box .avatar-item img:hover {
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .33);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .33)
}

.avatar-box .avatar-upload {
    box-shadow: 0px 0px 2px 1px #ddd;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

.avatar-box .avatar-upload .avatar-edit {
    position: absolute;
    right: -5px;
    top: 40px;
    z-index: 1;
}

.avatar-box .avatar-upload .avatar-edit input {
    display: none;
}

.avatar-box .avatar-upload .avatar-edit input + label {
    display: inline-grid;
    width: 25px;
    height: 25px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid #d2d6de;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}

.avatar-box .avatar-upload .avatar-edit input + label:after {
    content: "\f030";
    font-family: 'FontAwesome';
    color: #337AB7;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 25px;
    margin: auto;
}

.avatar-box .option-selector {
    display: none;
    list-style-type: none;
    margin: auto;
    padding: 0px;
}

.avatar-box .option-selector.show {
    display: block;
}

.avatar-box .option-selector li {
    display: inline-block;
}

.avatar-box .option-selector input {
    display: none;
}

.avatar-box .option-selector label {
    box-shadow: 0px 0px 2px 1px #ddd;
    padding: 5px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

.avatar-box .option-selector label:before {
    display: block;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 30px;
    color: green;
    text-align: center;
    line-height: 28px;
    background-color: #fff;
    z-index: 999;
    transition-duration: 0.4s;
    transform: scale(0);
}

.avatar-box .option-selector label img {
    height: 65px;
    width: 65px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.avatar-box .option-selector input:checked + label {
    box-shadow: 0px 0px 2px 2px rgb(255, 155, 9, 0.7);
}

.avatar-box .option-selector input:checked + label:before {
    content: "\f046";
    font-family: "FontAwesome";
    transform: scale(1);
}

.avatar-box .option-selector input:checked + label img {
    transform: scale(0.9);
    z-index: -1;
}

/* Text Label */

.ct-lebel {
    line-height: 32px;
    position: relative;
    color: #646c70;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Text Input */

.form-control {
    border-radius: 0px;
    padding: 0.2rem 0.3rem;
    height: 30px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.form-control[type=number]::-webkit-inner-spin-button,
.form-control[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-control:read-only {
    cursor: pointer;
    background: #fff;
}

.form-control:disabled {
    cursor: not-allowed;
    background: #e9ecef;
}

/* Text Area */

.form-tarea {
    width: 100%;
    height: auto;
    color: #495057;
    border-radius: 3px;
    padding: 5px 10px 10px 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-tarea:disabled {
    cursor: not-allowed;
    background: #e9ecef;
}

/* Input Sign */

.input-sign-wrap {
    position: absolute;
    font-size: 22px;
    color: #898091;
    cursor: pointer;
    height: 32px;
    z-index: 99;
}

.input-sign-wrap.r{
    right: 0;
    border-left: 1px solid #c5c1c0;
}

.input-sign-wrap.l{
    border-right: 1px solid #c5c1c0;
}

.input-sign-wrap .input-sign {
    padding: 0px 10px 0px 10px;
}

/* Toggle Password */

.toggle-password {
    position: absolute;
    font-size: 22px;
    color: #898091;
    cursor: pointer;
    right: 0;
    height: 32px;
    border-left: 1px solid #c5c1c0;
    z-index: 99;
}

.toggle-password .pass-hide-show {
    padding: 0px 10px 0px 10px;
}

/* Password Guide */

.password-guide-wrap {
    display: none;
    position: absolute;
    top: 32px;
    font-size: 12px;
    font-style: italic;
    padding: 10px 5px 5px 5px;
    width: 100%;
    border: 1px solid #d5cec8;
    border-top-width: 0;
    background: #fff;
    z-index: 9999;
}

.password-guide-wrap .password-stregth-text {
    font-weight: 600;
    margin-bottom: 5px;
}

.password-guide-wrap #password-stregth-meter {
    display: none;
    height: 5px;
    margin: 5px 0px 5px 0px;
    transition: all .4s ease;
}

.password-guide-wrap #password-stregth-meter.strength0 {
    background: none;
    width: 0px;
}

.password-guide-wrap #password-stregth-meter.strength1 {
    background: none repeat scroll 0 0 #FF4545;
    width: 25px;
}

.password-guide-wrap #password-stregth-meter.strength2 {
    background: none repeat scroll 0 0 #FFC824;
    width: 75px;
}

.password-guide-wrap #password-stregth-meter.strength3 {
    background: none repeat scroll 0 0 #6699CC;
    width: 100px;
}

.password-guide-wrap #password-stregth-meter.strength4 {
    background: none repeat scroll 0 0 #008000;
    width: 150px;
}

.password-guide-wrap .password-guide-list ul {
    list-style-type: none;
    margin: 5px 0 0;
    padding: 0;
}

.password-guide-wrap .password-guide-list ul li {
    padding: 0 0 0 10px;
    letter-spacing: 1px;
}

.password-guide-wrap .password-guide-list ul li.valid {
    background-position: left -42px;
    color: green;
    font-weight: bold;
}

/* Button */

.form-btn {
    position: relative;
    border: none;
    display: block;
    width: 100%;
    font-size: 1rem;
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-image: linear-gradient(#2d8cec,#16b);
    outline: 0;
}

.form-btn::after {
    content: '';
    display: block;
    width: 1.2em;
    height: 1.2em;
    position: absolute;
    left: calc(50% - 0.75em);
    top: calc(50% - 0.75em);
    border: 0.15em solid transparent;
    border-right-color: white;
    border-radius: 50%;
    animation: button-anim 0.7s linear infinite;
    opacity: 0;
}

.form-btn:hover {
    background-image:linear-gradient(#16b,#0d4d8c);
}

.form-btn:disabled {
    cursor: progress;
    background: #ddd!important;
}

.form-btn.loading {
    color: transparent;
}

.form-btn.loading img {
    display: none;
}

.form-btn.loading::after {
    opacity: 1;
}

.form-btn i {
    margin-left: 5px;
}

.form-btn.submit {
    background-image: linear-gradient(#28a745,#006016ad);
}

.form-btn.submit:hover {
    background-image: linear-gradient(#006016ad,#28a745);
}

.form-btn.delete {
    background-image: linear-gradient(#dc3545,#af2835);
}

.form-btn.delete:hover {
    background-image: linear-gradient(#af2835,#dc3545);
}

.form-btn.dark {
    background-image: linear-gradient(#697789,#565656);
}

.form-btn.dark:hover {
    background-image: linear-gradient(#565656,#697789);
}

.form-btn.light {
    background-image: linear-gradient(#16b6cf,#547899);
}

.form-btn.light:hover {
    background-image: linear-gradient(#547899,#16b6cf);
}

.form-control:focus{
    box-shadow: none;
}

.form-tarea:focus,
.form-btn:focus {
    outline: 0!important;
}

@keyframes button-anim {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Datatable Button */

.dataTables_wrapper .refresh-btn {
    color: #383434;
    padding: 3px 10px;
    background: #fff;
    border: 1px solid #ced4da;
    margin-left: 20px;
    outline: 0;
}

/* New Record */

.new-record {
    font-size: 16px;
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    background-image: linear-gradient(#28a745,#326e40);
    outline: 0!important;
    border: 0;
}

.new-record:hover {
    background-image:linear-gradient(#326e40,#326e40);
}

/* Counter */

.counter {
    border: 1px solid #ced4da;
    height: 30px;
    position: relative;
    width: 122px;
}

.counter button {
    color: #605b5b;
    font-size: 16px;
    font-weight: 600;
    height: 28px;
    line-height: 28px;
    float: left;
    width: 33px;
    border-width: 0;
    outline: 0;
}

.counter button:disabled {
    cursor: not-allowed;
    background: #e9ecef;
}

.counter .less {
    border-right: 1px solid #ced4da;
}

.counter .more {
    border-left: 1px solid #ced4da;
}

.counter input {
    border: 0px solid;
    float: left;
    font-size: 14px;
    height: 28px;
    text-align: center;
    outline: none;
    width: 54px;
    -webkit-appearance: none;
}

.counter input::-webkit-inner-spin-button,
.counter input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.counter input:disabled {
    cursor: not-allowed;
    background: #e9ecef;
}

/* Modal */

.modal {
    overflow-y: scroll;
}

.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 16px;
}

/* Data Table with Action Button */

.dt-table tbody tr td .status {
    display: block;
    position: relative;
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    letter-spacing: 2px;
    border-radius: 5px;
}

.dt-table tbody tr td .status.draft {
    background: #6c757d;
}

.dt-table tbody tr td .status.pending {
    background: #ed8300;
}

.dt-table tbody tr td .status.live {
    background: #28a745;
}

.dt-table tbody tr td .status.delete {
    background: #dc3545;
}

.dt-table .btn {
    padding: 0.25rem 0.5rem;
    margin-right: 5px;
    border-radius: 5px;
    font-size: .875rem;
    line-height: 1.5;
    outline: 0!important;
    box-shadow: none!important;
}

/* Modal Table with Badge */

.dt-modal table tbody tr td {
    white-space: unset!important;
}

.dt-modal table tbody tr td span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0px 5px;
    border-radius: 5px;
}

.dt-modal table tbody tr td span.success {
    background-color: #28a745;
}

.dt-modal table tbody tr td span.failed {
    background-color: #dc3545;
}

/* DNS Factory Modal */

.df-modal .modal-header {
    background: #008b8b;
}

.df-modal .modal-header .status-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 8px 10px 0px 0px;
}

.df-modal .modal-header .status {
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 2.6;
    padding: 5px 15px;
    border: 1px solid #fff;
}

.df-modal .modal-header .status.draft {
    background: #6c757d;
}

.df-modal .modal-header .status.pending {
    background: #ed8300;
}

.df-modal .modal-header .status.live {
    background: #28a745;
}

.df-modal .modal-header .status.delete {
    background: #dc3545;
}

.df-modal .modal-header .modal-title {   
    color: #fff; 
    margin: 0px auto 0px 0px;
}

.df-modal .modal-header .close {
    color: #f8f9fa;
}

.df-modal .form-control.ch {
    background: #bbffbb!important;
}

.df-modal .form-control:read-only {
    cursor: pointer;
    background: #fff;
}

.df-modal .form-control:disabled {
    cursor: not-allowed;
    background: #e9ecef;
}

/* Confirm Modal */

.modal-confirm {
    color: #636363;
    width: 400px;
}

.modal-confirm .modal-content {
    padding: 10px 10px 0px 10px;
    border-radius: 5px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
}

.modal-confirm .modal-header .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 9;
    text-align: center;
}

.modal-confirm .modal-header .icon-box.success {
    border: 3px solid #28a745;
}

.modal-confirm .modal-header .icon-box.warning {
    border: 3px solid #f15e5e;
}

.modal-confirm .modal-header .icon-box.delete {
    border: 3px solid #dc3545;
}

.modal-confirm .modal-header .icon-box i {
    font-size: 46px;
    display: inline-block;
    margin-top: 13px;
}

.modal-confirm .modal-header .icon-box.success i {
    color: #28a745;
}

.modal-confirm .modal-header .icon-box.warning i {
    color: #f15e5e;
}

.modal-confirm .modal-header .icon-box.delete i {
    color: #dc3545;
}

.modal-confirm .modal-header .close {
    position: absolute;
    top: -5px;
    right: -2px;
}

.modal-confirm .modal-body {
    padding: 10px 10px 0px 10px;
}

.modal-confirm .modal-body .title {
    text-align: center;
    font-size: 26px;
}

.modal-confirm .modal-body p{
    margin: 0px;
}

.modal-confirm .modal-footer {
    border: none;
    padding: 10px 15px 10px;
}

.modal-confirm .modal-footer .cancel {
    background: #e54040;
}

.modal-confirm .modal-footer .confirm {
    background: #0aa750;
}

/* Modals */

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 99999;
}

.custom-modal.show {
    display: block!important;
}

.custom-modal .modal-mask {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.7;
}

.custom-modal .modal-content {
    position: relative;
    top: 25%;
    width: 100%;
    margin: auto;
    max-width: 400px;
    opacity: 1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #fff;
    -webkit-animation: popon .25s;
    animation: popon .25s;
}

.custom-modal .modal-content .modal-header {
    border-bottom: 0;
}

.custom-modal .modal-content .modal-header .icon {
    position: relative;
    margin: 0 auto;
    margin-top: -75px;
    height: 100px;
    width: 100px;
    text-align: center;
    border-radius: 50%;
}

.custom-modal .modal-content .modal-header .icon span {
    font-size: 4em;
    color: #fff;
    padding-top: 20px;
}

.custom-modal .modal-content .modal-body {
    text-align: center;
    padding: 0 15px 0 15px;
}

.custom-modal .modal-content .modal-body .content,
.custom-modal .modal-content .modal-body .heading {
    color: #333;
}

.custom-modal .modal-content .modal-body .heading {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
}

.custom-modal .modal-content .modal-body .content {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.custom-modal .modal-content .modal-bottom {
    padding: 10px;
}

.custom-modal .modal-content .modal-bottom .modal-btn {
    position: relative;
    border-radius: 0.3rem;
    padding: 5px 16px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: 0;
    text-align: center;
    display: flex;
    width: 100%;
    outline: 0;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.1), 0 5px 12px -2px rgba(0, 0, 0, 0.1);
    transition: all 120ms ease-out 0s;
}

.custom-modal .modal-content.success .modal-header {
    border-top: 5px solid #5cb85c;
}

.custom-modal .modal-content.success .modal-header .icon {
    background: #4caf50;
}

.custom-modal .modal-content.success .modal-bottom .modal-btn {
    background: linear-gradient(to right, #009688, #4caf50);
}

.custom-modal .modal-content.info .modal-header {
    border-top: 4px solid #d49e1d;
    border-bottom: 1px solid transparent;
}

.custom-modal .modal-content.info .modal-header .icon {
    background: #d49e1d;
}

.custom-modal .modal-content.info .modal-bottom .modal-btn {
    background: linear-gradient(to right, #ffc107, #795548);
}

.custom-modal .modal-content.error .modal-header {
    border-top: 5px solid #ff5722;
    border-bottom: 1px solid transparent;
}

.custom-modal .modal-content.error .modal-header .icon {
    background: #ff5722;
}

.custom-modal .modal-content.error .modal-bottom .modal-btn {
    background: linear-gradient(to right, #f06292, #f44336);
}

/* Custom Filter Modal */

.filter-modal .modal-header {
    color: #fff;
    background-color: #455a64;
}

.filter-modal .modal-header .close {
    color: #fff;
}

.filter-modal .modal-body .radio-btn-wrap {
    display: block;
}

.filter-modal .modal-body .radio-btn-wrap .radio-content:not(:last-child) {
    margin-bottom: 20px;
}

.filter-modal .modal-footer .btn {
    outline: none;
}

/* Notifications */

.notify {
    position: fixed;
    top: 135px;
    right: 0;
    width: 350px;
    font-size: 0.9em;
    font-weight: 300;
    padding: 4px;
    z-index: 999;
    margin: 0;
    box-shadow: 0 0 10px #000;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.notify span {
    display: block;
    margin-left: 50px;
}

.notify span:nth-child(1) {
    font-weight: 600;
    letter-spacing: 1px;
}

.notify i {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    font-size: 32px;
    text-align: center;
    line-height: 50px;
}

.notify.success {
    color: #0d8801;
    border: 1px solid #fff;
    background: linear-gradient(to bottom, #cdecc2, #ade09b);
}

.notify.success i {
    background: #a1d28f;
    color: #0b6f01;
    text-shadow: 0 1px 1px #edf8e9;
}

.notify.info {
    color: #004d7e;
    border: 1px solid #fff;
    background: linear-gradient(to bottom, #cae2ff, #97c6ff);
}

.notify.info i {
    background: #84b9f9;
    color: #003d65;
    text-shadow: 0 1px 1px #fdfeff;
}

.notify.error {
    color: #fff;
    border: 1px solid #fff;
    background: linear-gradient(to bottom, #fb0202, #ff0000);
}

.notify.error i {
    background: #b30000;
    color: #fff;
    text-shadow: 0 1px 1px #fff;
}

.notify.custom {
    color: #ddd;
    border: 1px solid #fff;
    background: linear-gradient(to bottom, #3e3e3e, #252525);
}

.notify.custom i {
    background: #181818;
    color: #d0d0d0;
    text-shadow: 0 1px 1px #585858;
}

/* Popon */

@keyframes popon {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Loader */

.bg-loading {
    position: fixed;
    z-index: 999999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.bg-loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* Circular Loader */

.bg-loading .circular-loader {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 100px;
    height: 100px;
    text-align: center;
}

.bg-loading .circular-loader .circular-loader-list {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.bg-loading .circular-loader .circular-loader-list div {
    animation: circular-loader-list 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.bg-loading .circular-loader .circular-loader-list div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(1) {
    animation-delay: -36ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(2) {
    animation-delay: -72ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(3) {
    animation-delay: -108ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(4) {
    animation-delay: -144ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(5) {
    animation-delay: -0.18s;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(6) {
    animation-delay: -216ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(7) {
    animation-delay: -252ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(8) {
    animation-delay: -288ms;
}

.bg-loading .circular-loader .circular-loader-list div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes circular-loader-list {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Full Circle Loader */

.bg-loading .full-circle-loader {
    position: relative;
    width: auto;
    height: auto;
}

.bg-loading .full-circle-loader div {
    height: 10px;
    width: 10px;
    background-color: #ff9800;
    border-radius: 50%;
    position: absolute;
    -webkit-animation: 0.8s opaque ease-in-out infinite both;
    animation: 0.8s opaque ease-in-out infinite both;
}

.bg-loading .full-circle-loader > div:nth-child(1) {
    top: -25px;
    left: 0;
}

.bg-loading .full-circle-loader > div:nth-child(2) {
    top: -17px;
    left: 17px;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.bg-loading .full-circle-loader > div:nth-child(3) {
    top: 0;
    left: 25px;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.bg-loading .full-circle-loader > div:nth-child(4) {
    top: 17px;
    left: 17px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.bg-loading .full-circle-loader > div:nth-child(5) {
    top: 25px;
    left: 0;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.bg-loading .full-circle-loader > div:nth-child(6) {
    top: 17px;
    left: -17px;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.bg-loading .full-circle-loader > div:nth-child(7) {
    top: 0;
    left: -25px;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.bg-loading .full-circle-loader > div:nth-child(8) {
    top: -17px;
    left: -17px;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

@keyframes opaque {
    0% {
        opacity: 0.1;
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0.1;
    }
    100% {
        opacity: 0.1;
    }
}

/* File Loader */

.bg-loading .hamburger-loader {
    position: relative;
    width: 96px;
    height: 112px;
    -webkit-animation: contMovement 2.5s infinite;
    animation: contMovement 2.5s infinite;
    will-change: transform;
}

.bg-loading .hamburger-loader .hamburger-loader-rotator {
    position: relative;
    height: 100%;
    -webkit-animation: contRotate 2.5s infinite;
    animation: contRotate 2.5s infinite;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    will-change: transform;
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar {
    width: 100%;
    height: 16px;
    will-change: transform;
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:not(:last-child) {
    margin-bottom: 8px;
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:nth-child(1) {
    background: #ff7bac;
    -webkit-transform-origin: 100% 56px;
    transform-origin: 100% 56px;
    -webkit-animation: barMovement1 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
    animation: barMovement1 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:nth-child(2) {
    background: #ff1d25;
    -webkit-transform-origin: 100% 32px;
    transform-origin: 100% 32px;
    -webkit-animation: barMovement2 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
    animation: barMovement2 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:nth-child(3) {
    background: #ff931e;
    -webkit-transform-origin: 100% 8px;
    transform-origin: 100% 8px;
    -webkit-animation: barMovement3 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
    animation: barMovement3 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:nth-child(4) {
    background: #7ac943;
    -webkit-transform-origin: 100% -16px;
    transform-origin: 100% -16px;
    -webkit-animation: barMovement4 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
    animation: barMovement4 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
}

.bg-loading .hamburger-loader .hamburger-loader-rotator .hamburger-loader-bar:nth-child(5) {
    background: #3fa9f5;
    -webkit-transform-origin: 100% -40px;
    transform-origin: 100% -40px;
    -webkit-animation: barMovement5 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
    animation: barMovement5 2.5s infinite cubic-bezier(0.55, 0.2, 0.29, 1.24);
}

@keyframes barMovement1 {
    0% {
        -webkit-transform: none;
        transform: none;
    }
    37% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    37.0001%,
    63.0001% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(180deg);
        transform: translateX(96px) scaleX(-1) rotate(180deg);
    }
    100%,
    95% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(0);
        transform: translateX(96px) scaleX(-1) rotate(0);
    }
}

@keyframes barMovement2 {
    2% {
        -webkit-transform: none;
        transform: none;
    }
    39% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    39.0001%,
    61.0001% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(180deg);
        transform: translateX(96px) scaleX(-1) rotate(180deg);
    }
    100%,
    93% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(0);
        transform: translateX(96px) scaleX(-1) rotate(0);
    }
}

@keyframes barMovement3 {
    4% {
        -webkit-transform: none;
        transform: none;
    }
    41% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    41.0001%,
    59.0001% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(180deg);
        transform: translateX(96px) scaleX(-1) rotate(180deg);
    }
    100%,
    91% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(0);
        transform: translateX(96px) scaleX(-1) rotate(0);
    }
}

@keyframes barMovement4 {
    6% {
        -webkit-transform: none;
        transform: none;
    }
    43% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    43.0001%,
    57.0001% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(180deg);
        transform: translateX(96px) scaleX(-1) rotate(180deg);
    }
    100%,
    89% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(0);
        transform: translateX(96px) scaleX(-1) rotate(0);
    }
}

@keyframes barMovement5 {
    8% {
        -webkit-transform: none;
        transform: none;
    }
    45% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    45.0001%,
    55.0001% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(180deg);
        transform: translateX(96px) scaleX(-1) rotate(180deg);
    }
    100%,
    87% {
        -webkit-transform: translateX(96px) scaleX(-1) rotate(0);
        transform: translateX(96px) scaleX(-1) rotate(0);
    }
}

/* Load */

@keyframes load {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}