﻿/*.treeview-menu:before{
    content:'';
}
.treeview-menu > li:before {
    background: #425668;
    bottom: auto;
    content: "";
    height: 8px;
    left: 23px;
    margin-top: 15px;
    position: absolute;
    right: auto;
    width: 8px;
    z-index: 1;
    border-radius: 50%;
}
.treeview-menu > li:after {
    border-left: 1px solid #425668;
    bottom: 0;
    content: "";
    left: 27px;
    position: absolute;
    top: 0;
}*/
.callout{
    margin:15px;
}
.datepicker-dropdown{
    z-index:2021 !important;
}
.dataTables_wrapper .dataTables_length {
    padding: 10px 5px;
}
.form-inline .bootstrap-select, .form-inline .bootstrap-select.form-control:not([class*=col-]) {
    min-width: 100px;
}
.table > tbody > tr > td{
    vertical-align:middle;
}
    .table > tbody > tr > td > span.label {
        padding: 5px;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 12px;
        min-width:55px;
        text-align:center;
        display:table;
    }

    .tooltip .tooltip-inner {
        padding: 10px !important;
        background: #222D32 !important;
        text-align: left;
        border-radius: 4px;
    }
span.required {
    color: #ff0000;
    font-size: 20px;
    font-weight: bolder;
}
.skin-blue .main-header .navbar {
    /*
        background-color: #323770;
        box-shadow: 0 2px 4px 0 rgba(43,43,43,0.1);
    */
    background-color: white;
}
.skin-blue .main-header .logo {
    background-color: white;
}

.skin-blue .main-header .logo:hover {
    background-color: white;
}


.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background-color: #394093;
}

.margin-top-20 {
    margin-top: 20px;
}
.alert {
    margin: 15px;
}
.btn-sync-reward {
    background: #323770 !important;
    margin-left: 0px;
    margin-right: 10px;
}
.btn-create {
    float:right;
    color: #FFF;
    background: #DB3539;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
}
    .btn-create:hover, .btn-create:active, .btn-create:focus {
        color: #FFF;
        background: #c21e22;
    }
    .btn-save {
        color: #FFF;
        background: #DB3539;
        border-radius: 50px;
        padding: 10px 75px;
        font-weight: bold;
    }
    .btn-save:hover, .btn-save:active, .btn-save:focus {
        color: #FFF;
        background: #c21e22;
    }

.btn-search {
    color: #FFF;
    background: #666;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: bold;
}

    .btn-search:hover, .btn-search:active, .btn-search:focus {
        color: #FFF;
        background: #c21e22;
    }

hr {
    border: 1px solid #ddd !important;
}
li a {
    cursor: pointer;
}

.open > .dropdown-menu {
    left: inherit;
    right:0;
}
.table{
    width:100% !important;
}
.field-validation-error{
    color:#FF0000;
}
.input-validation-error{
    border-color:#FF0000;
}

div.dataTables_wrapper div.dataTables_info{
    margin-left:5px;
}
div.dataTables_wrapper div.dataTables_paginate{
    margin-right:5px;
}

.bootstrap-select > .dropdown-toggle {
    background: #FFF !important;
    height: 40px;
}
.bootstrap-select .dropdown-toggle .filter-option{
    padding-top:3px;
}
.bootstrap-select .dropdown-menu li a{
    padding:8px 10px;
}
.bootstrap-select .dropdown-toggle:focus{
    outline:none !important;
}
.bootstrap-select .dropdown-menu > .active > a {
    background: #323770;
}

.selectgroup {
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.selectgroup-item {
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
}

    .selectgroup-item + .selectgroup-item {
        margin-left: -1px;
    }

    .selectgroup-item:not(:first-child) .selectgroup-button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .selectgroup-item:not(:last-child) .selectgroup-button {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.selectgroup-input {
    opacity: 0;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.selectgroup-button {
    display: block;
    border: 1px solid rgba(0, 40, 100, 0.12);
    text-align: center;
    padding: 8px 10px;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    color: #9aa0ac;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 12px;
    line-height: 1.5;
    min-width: 2.375rem;
}

.selectgroup-button-icon {
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: 1.125rem;
    line-height: 1.125rem;
}

.selectgroup-input:checked + .selectgroup-button {
    border-color: #467fcf;
    z-index: 1;
    color: #467fcf;
    background: #edf2fa;
}

.selectgroup-input:focus + .selectgroup-button {
    border-color: #467fcf;
    z-index: 2;
    color: #467fcf;
    box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
}

.selectgroup-pills {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
}

    .selectgroup-pills .selectgroup-item {
        margin-right: .5rem;
        -ms-flex-positive: 0;
        flex-grow: 0;
    }

    .selectgroup-pills .selectgroup-button {
        border-radius: 50px !important;
    }

.pagination > li.btn-paginate > a {
    
}
.ck-editor__editable{
    min-height:300px;
}

.checkbox.checbox-switch {
    padding-left: 0;
}

    .checkbox.checbox-switch label,
    .checkbox-inline.checbox-switch {
        display: inline-block;
        position: relative;
        padding-left: 0;
    }

        .checkbox.checbox-switch label input,
        .checkbox-inline.checbox-switch input {
            display: none;
        }

        .checkbox.checbox-switch label span,
        .checkbox-inline.checbox-switch span {
            width: 40px;
            border-radius: 20px;
            height: 22px;
            border: 1px solid rgba(0, 40, 100, 0.12);
            background-color: #e9ecef;
            border-color: rgba(0, 40, 100, 0.12);
            box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
            transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;
            display: inline-block;
            vertical-align: middle;
            margin-right: 5px;
        }

            .checkbox.checbox-switch label span:before,
            .checkbox-inline.checbox-switch span:before {
                display: inline-block;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background: rgb(255,255,255);
                content: " ";
                position: relative;
                left: 0px;
                transition: all 0.3s ease;
                box-shadow: 0 1px 4px rgba(0,0,0,0.4);
                top: 0px;
            }

        .checkbox.checbox-switch label > input:checked + span:before,
        .checkbox-inline.checbox-switch > input:checked + span:before {
            left: 18px;
            top: 0px;
        }

        /* Switch Primary */
        .checkbox.checbox-switch.switch-primary label > input:checked + span,
        .checkbox-inline.checbox-switch.switch-primary > input:checked + span {
            background-color: rgb(0, 105, 217);
            border-color: rgb(0, 105, 217);
            /*box-shadow: rgb(0, 105, 217) 0px 0px 0px 8px inset;*/
            transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
        }
        .checkbox.checbox-switch.switch-primary label > input:disabled + span,
        .checkbox-inline.checbox-switch.switch-primary > input:disabled + span {
            cursor: default;
            opacity: 0.7;
        }
            .checkbox.checbox-switch.switch-primary label > input:checked:disabled + span, 
            .checkbox-inline.checbox-switch.switch-primary > input:checked:disabled + span {
            background-color: rgb(0, 105, 217);
            border-color: rgb(0, 105, 217);\
            /* box-shadow: rgb(109, 163, 221) 0px 0px 0px 8px inset;*/
            transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
        }



.skin-blue .sidebar-menu > li.menu-open > a {
    text-shadow: rgba(0,0,0,.25) 0 -1px 0;
    background: linear-gradient(#d51f26,#d51f26),#d51f26;
    box-shadow: rgba(0,0,0,.25) 0 1px 0, inset rgba(255,255,255,.16) 0 1px 0;
}
.navbar-custom-menu > .navbar-nav > li.user-menu > .dropdown-menu:before {
    content: "";
    border: 10px solid transparent;
    border-left-color: #fff;
    border-top-color: #fff;
    position: absolute;
    border-radius: 3px;
    top: -8px;
    right: 15px;
    -webkit-box-shadow: -5px -5px 12px -2px rgba(0,0,0,0.3);
    box-shadow: -5px -5px 12px -2px rgba(0,0,0,0.3);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 1002;
}
.navbar-custom-menu > .navbar-nav > li.user-menu > .dropdown-menu {
    width: inherit;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
    margin-top: 10px;
    border: 1px solid rgba(0, 40, 100, 0.12);
    margin-right: 15px;
    border-radius:4px;
    width:225px;
}
    
    .navbar-custom-menu > .navbar-nav > li.user-menu > .dropdown-menu > li > a {
        padding: 10px 15px;
    }

@media (max-width: 767px)
{
    .navbar-custom-menu > .navbar-nav > li.user-menu > .dropdown-menu {
        margin-right: 60px;
        right:0;
    }
        .navbar-custom-menu > .navbar-nav > li.user-menu > .dropdown-menu > li > a{
            color:#808080;
        }
}

@media only screen and (max-width: 800px) {
    .open > .dropdown-menu {
        right: -50px !important;
    }
    table.dataTable td.dataTables_empty {
        padding-left: 0 !important;
    }
    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .no-more-tables tr {
        border: 1px solid #ccc;
    }

    .no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30% !important;
        white-space: normal;
        text-align: left;
        min-height:20px;
    }

        .no-more-tables td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 30%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
            min-height:30px;
        }

        /*
	Label the data
	*/
        .no-more-tables td:before {
            content: attr(data-title);
        }
}