﻿
/* === Global scroll-friendly modals === */
.modal.modal-scroll .modal-dialog {
    margin: 60px auto;
    height: calc(100vh - 120px);
}

.modal.modal-scroll .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal.modal-scroll .modal-body,
.modal.modal-scroll .block-content-modal {
    overflow-y: auto;
    flex: 1 1 auto;
}


/* DataTables pagination spacing fix */

.dataTables_wrapper .dataTables_paginate {
    margin-top: 10px;
    text-align: center;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        margin: 0 4px; /* spacing between buttons */
        padding: 4px 10px; /* nicer clickable area */
        border-radius: 4px;
    }

/* Prevent DataTables pagination from being clipped */
.dataTables_wrapper {
    padding-bottom: 20px;
}


        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background-color: #f5f5f5;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background-color: #337ab7;
            color: white !important;
            border: 1px solid #337ab7;
        }


.dataTable > tbody > tr > td {
    padding: 3px !important;
    font-size: 13px;
}

.dataTable > thead > tr > th {
    padding: 10px !important;
    font-size: 13px;
}

/*DT section issue fixes for theme */
dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #5c90d2 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #5c90d2 !important;
}

/*Select2 issue fixes for theme */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none !important;
}

ul.select2-choices {
    padding-right: 30px !important;
}

ul.select2-selection__rendered:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.select {
    -webkit-appearance: menulist-button !important;
}

/*Allow for spinning of icons */
.cust-spin {
    animation-name: spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*MARGIN*/
.m-l-n {
    margin-left: 0;
}

.m-l-5 {
    margin-left: 5px;
}

.m-l-10 {
    margin-left: 10px;
}

.m-l-15 {
    margin-left: 15px;
}

.m-l-20 {
    margin-left: 20px;
}

.m-r-n {
    margin-right: 0;
}

.m-r-5 {
    margin-right: 5px;
}

.m-r-10 {
    margin-right: 10px;
}

.m-r-15 {
    margin-right: 15px;
}

.m-r-20 {
    margin-right: 20px;
}

.m-t-n {
    margin-top: 0;
}

.m-t-5 {
    margin-top: 5px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-t-15 {
    margin-top: 15px;
}

.m-t-20 {
    margin-top: 20px;
}

.m-b-n {
    margin-bottom: 0;
}

.m-b-5 {
    margin-bottom: 5px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-b-15 {
    margin-bottom: 15px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-b-40 {
    margin-bottom: 40px;
}

.remove-margin {
    margin: 0;
}

/*PADDING*/
.p-l-n {
    padding-left: 0;
}

.p-l-5 {
    padding-left: 5px;
}

.p-l-10 {
    padding-left: 10px;
}

.p-l-15 {
    padding-left: 15px;
}

.p-l-20 {
    padding-left: 20px;
}

.p-r-n {
    padding-right: 0;
}

.p-r-5 {
    padding-right: 5px;
}

.p-r-10 {
    padding-right: 10px;
}

.p-r-15 {
    padding-right: 15px;
}

.p-r-20 {
    padding-right: 20px;
}

.p-t-n {
    padding-top: 0;
}

.p-t-5 {
    padding-top: 5px;
}

.p-t-10 {
    padding-top: 10px;
}

.p-t-15 {
    padding-top: 15px;
}

.p-t-20 {
    padding-top: 20px;
}

.p-b-n {
    padding-bottom: 0;
}

.p-b-5 {
    padding-bottom: 5px;
}

.p-b-10 {
    padding-bottom: 10px;
}

.p-b-15 {
    padding-bottom: 15px;
}

.p-b-20 {
    padding-bottom: 20px;
}

.remove-padding {
    padding: 0;
}

.w85 {
    width: 85%;
}

.w93 {
    width: 93%;
}

.no-resize {
    resize: none;
}

.cursor-p {
    cursor: pointer;
}

.alert {
    z-index: 9999 !important;
}

.dataTables_empty {
    text-align: center;
}


/*page loader*/
#page-loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 99999;
}

#page-blocker {
    width: 100%;
    height: 100%;
    /*position: fixed;
    top: 0;*/
    z-index: 99999;
}

    #page-loader.white-loader,
    #page-blocker.white-loader {
        background-color: white;
    }

#page-loader .spinner {
    margin: 0 auto;
    width: 95px;
    text-align: center;
    position: relative;
    top: 50%;
    margin-top: -9px;
}

    #page-loader .spinner div {
        width: 18px;
        height: 18px;
        border-radius: 100%;
        display: inline-block;
        top: 50%;
        margin-top: 9px;
        -webkit-animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
        animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

#page-blocker .spinner {
    margin: 0 auto;
    width: 100px;
    text-align: center;
    position: relative;
    top: 50%;
    margin-top: -9px;
}

    #page-blocker .spinner div {
        width: 18px;
        height: 18px;
        border-radius: 100%;
        display: inline-block;
        top: 50%;
        margin: 9px 3px 0;
        -webkit-animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
        animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

    #page-loader .spinner .bounce1,
    #page-blocker .spinner .bounce1 {
        -webkit-animation-delay: -0.48s;
        animation-delay: -0.48s;
        background-color: #157dc3;
    }

    #page-loader .spinner .bounce2,
    #page-blocker .spinner .bounce2 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
        background-color: #157dc3;
    }

    #page-loader .spinner .bounce3,
    #page-blocker .spinner .bounce3 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
        background-color: #157dc3;
    }

    #page-loader .spinner .bounce4,
    #page-blocker .spinner .bounce4 {
        background-color: #157dc3;
    }

@-webkit-keyframes sk-threeBounceDelay {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-threeBounceDelay {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*modal loader*/
#modal-loader {
    width: 100%;
    height: 100%;
    /*position: fixed;*/
    top: 0;
    z-index: 99999;
}

    #modal-loader.white-loader {
        background-color: white;
    }

    #modal-loader .spinner {
        margin: 0 auto;
        width: 90px;
        text-align: center;
        position: relative;
        top: 50%;
        margin-top: -9px;
    }

        #modal-loader .spinner div {
            width: 18px;
            height: 18px;
            border-radius: 100%;
            display: inline-block;
            top: 50%;
            margin-top: 9px;
            -webkit-animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
            animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
        }

        #modal-loader .spinner .bounce1 {
            -webkit-animation-delay: -0.48s;
            animation-delay: -0.48s;
            background-color: #CB0021;
        }

        #modal-loader .spinner .bounce2 {
            -webkit-animation-delay: -0.32s;
            animation-delay: -0.32s;
            background-color: #FFCE34;
        }

        #modal-loader .spinner .bounce3 {
            -webkit-animation-delay: -0.16s;
            animation-delay: -0.16s;
            background-color: #5F8A42;
        }

        #modal-loader .spinner .bounce4 {
            background-color: #19468E;
        }

@-webkit-keyframes sk-threeBounceDelay {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-threeBounceDelay {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.nav-main ul.ulEchoSite {
    padding-left: 20px !important;
}

/*Error class*/
.has-error.form-material > .form-control {
    -webkit-box-shadow: 0 1px 0 #d26a5c;
    box-shadow: 0 1px 0 #d26a5c;
}

    .has-error.form-material > .form-control:focus {
        -webkit-box-shadow: 0 2px 0 #d26a5c;
        box-shadow: 0 2px 0 #d26a5c;
    }

        .has-error.form-material > .form-control:focus + label {
            color: #d26a5c;
        }

        .has-error.form-material > .form-control:focus ~ .input-group-addon {
            color: #d26a5c;
            -webkit-box-shadow: 0 2px 0 #d26a5c;
            box-shadow: 0 2px 0 #d26a5c;
        }

    .has-error.form-material > .form-control ~ .input-group-addon {
        color: #d26a5c;
        -webkit-box-shadow: 0 1px 0 #d26a5c;
        box-shadow: 0 1px 0 #d26a5c;
    }

.has-error.form-material label {
    color: #d26a5c;
}

.has-error.form-material > .help-block {
    color: #d26a5c;
}

/*Datatables button*/
.dt-button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    margin: 3px;
}

    .dt-button.active.focus, .dt-button.active:focus, .dt-button.focus, .dt-button:active.focus, .dt-button:active:focus, .dt-button:focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .dt-button.focus, .dt-button:focus, .dt-button:hover {
        color: #333;
        text-decoration: none;
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .dt-button.active, .dt-button:active {
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
        box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    }

.nav-menu-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}


.credit-card {
    border-radius: 15px !important;
    border: 3px solid #e9e9e9 !important;
    max-width: 90% !important;
    height: 200px !important;
}

.p-t-69 {
    padding-top: 69px;
}

.p-l-40 {
    padding-left: 40px;
    padding-right: 0px;
}

