
html, body {
    font-size: 12px;
    height: 100%;
    position: relative;
    min-height: 100%;
}

.inline-block {
    display: inline-block;
}

.question-icon {
    font-size: 14px !important;
    line-height: 25px !important;
}

.nowrap {
    white-space: nowrap;
}

textarea {
    resize: none;
}

.single-search-row {
    padding-top: 8px;
}

.navbar-header-my {
    background-color: #2C8FEA !important;
    border: none !important;
}

.line {
    display: table;
    vertical-align: middle;
}

    .line i {
        vertical-align: middle !important;
        top: 2px;
        position: absolute;
        left: 5px;
    }

    .line input {
        display: table-cell;
        vertical-align: middle;
        line-height: 0;
        position: relative;
    }

    .line span {
        display: table-cell;
        vertical-align: middle;
        position: relative;
    }

.modal-backdrop {
    position: fixed !important;
    height: 100%;
}

.widget-numbers {
    font-size: 60px;
    font-weight: 500;
}

.select-text-large-shirt {
    font-weight: 500;
    font-size: x-large;
    padding-top: 0 !important;
}

.icon-32 {
    padding: 10px !important;
}

.widget-ads-p {
    height: 75px !important;
    overflow: hidden;
}

.widget-ads-img {
    max-height: 170px !important;
    width: auto;
}

.circle-green-icon {
    background-color: #2C9F1C;
    border-radius: 50%;
    color: white;
    padding: 4px;
}

.circle-blue-icon {
    background-color: #2C8FEC;
    border-radius: 50%;
    color: white;
    padding: 4px;
}

.circle-icon-disable {
    background-color: #C9CCD1;
}

.pointer {
    cursor: pointer;
}

body {
    font-family: "Lato", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    color: #363636;
    -webkit-text-size-adjust: 100%;
    font-weight: 600;
    /*background-color: #4D637B;*/
    height: 100%;
}

footer {
    padding: 15px;
    border-top: 1px solid #DDD;
    position: absolute;
    width: 100%;
    Set the fixed height of the footer here height: 60px;
    background-color: #f5f5f5;
    bottom: 0px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
}

.vcenter {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.control-label {
    text-align: left;
    text-transform: uppercase;
}

.bg-light-groove {
    background-color: #F3F4F9;
}

.bg-light-grey {
    background-color: #97B0CF;
}

.bg-green {
    background-color: #2C9D1C !important;
}

.bg-grey {
    background-color: #4D637B !important;
}

.bg-blue {
    background-color: #2C8FEA !important;
    height: 100%;
}

.c-white {
    color: white !important;
}

.c-green {
    color: green;
}

.l-white {
    color: white !important;
}

    .l-white:hover {
        text-decoration: underline !important;
    }

.scroll-no {
    overflow: hidden;
    overflow-y: auto;
}

/*Buttons*/
.btn-cancel-image {
    background-color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -5px;
    top: -5px;
}

    .btn-cancel-image img {
        position: absolute;
        right: 0;
        top: 0;
    }

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor: not-allowed !important;
    filter: alpha(opacity=65) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none;
    background-color: #c4c4c4 !important;
    opacity: 1 !important;
}

.btn-success {    
    border: none !important;
}

    .btn-success:focus {
        background-color: #2C9D1C !important;
    }

.btn {
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none !important;
    max-width: 300px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:focus, .btn-primary:hover, #UsersTable i:hover {
    background-color: #195BAF !important;
}

.btn-primary {
    border: none !important;
    background-color: #2C8FEA !important;
    color: #fff;
}

.btn-default {
    border: none !important;
    color: #2C8FEA !important;
}

    .btn-default:focus {
        background-color: white !important;
    }

.button-upload {
    line-height: 35px;
    font-size: large;
    font-weight: 500;
}

/* navbar */
/*.navbar-default {
    background-color: #4d637b;
}*/

/*.navbar-brand, .navbar-brand:hover {
    min-height: 75px;
    height: 75px;
    padding: 4px 53px;
    width: 240px;
    background-color: #2d90eb !important;
}*/


/*.search-icon {
    background-color: #2D90EB;
    color: white;
    border-radius: 15px;
    border: none;
}



.sidebar {
    margin-top: 75px;
    width: 240px;
    font-size:large;
    font-weight:bold;
}

    .sidebar a {
        color: #c1cfda;      
    }

    .sidebar .btn-primary {
        text-transform:uppercase;
        font-weight:bold;
    }

    .sidebar .fa-angle-right {
        float:right;        
        padding-top: 4px;
    }

    .sidebar .fa.fa-fw {
        margin-right:5px;
    }
    
    .sidebar ul li {
        border: none;
    }

        .sidebar ul li a {
            padding-top: 15px;
            padding-bottom: 15px;
            border-left:5px solid transparent;
        }

#wrapper {
    background-color: #4D637B;
    display:flex;
    flex-flow:column;
    height:100%;
}

#page-wrapper {
    margin-left: 240px;
    flex-grow:100;
}


.sidebar-nav .nav > li > a:hover, .sidebar-nav .nav > li > a:focus, .sidebar-nav .nav > li.active a {
    background-color: #5e7388;
    color: #fff;
    border-left: 5px solid #2d90eb;
}

.sidebar-nav .nav > li > a.active {
    background-color: #5e7388;
    color: #fff;    
}*/

.margin-bottom {
    margin-bottom: 25px;
}

.sortby-select {
    border-color: #B6CDDB;
    color: #709DBA;
    height: auto;
}

    .sortby-select > option {
        background-color: white;
        font-weight: bold;
    }

.sortby-btn, .sortby-select {
    font-variant: small-caps;
    font-size: .9em;
    border-radius: 15px;
    font-weight: bold;
    padding: 5px 10px;
}

    .sortby-btn > i {
        padding-left: 5px;
    }

.container-fluid {
    height: 100%;
    display: table;
    width: 100%;
    padding: 0;
}

.row-fluid {
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.centering {
    float: none;
    margin: 0 auto;
}

.text-center {
    text-align: center !important;
}


.no-of-referrals:hover, .delete-icon:hover, #RewardsTable i:hover, .special-ads:hover {
    background-color: #107A00 !important;
}

.no-of-referrals {
    min-height: 20px;
    min-width: 20px;
    border-radius: 15px;
    display: inline-block;
}

.add-referrer-btn {
    text-transform: uppercase;
    border-radius: 15px;
    font-weight: bold;
    float: right;
    padding: 5px 35px;
}

.clear-both {
    clear: both;
}

.max-w-150 {
    max-width: 150px;
}

.max-h-150 {
    max-height: 150px;
}

.min-h-150 {
    min-height: 150px !important;
}
/*Margin*/
@media(max-width:768px) {
    .m-m-t-20 {
        margin-top: 20px;
    }
}

.m-t-75 {
    margin-top: 75px !important;
}

.m-b-75 {
    margin-bottom: 75px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-0 {
    margin-bottom: 0px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-t-30 {
    margin-top: 30px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-l-5 {
    margin-left: 5px !important;
}

.m-l-15 {
    margin-left: 15px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-t-50 {
    margin-top: 50px !important;
}
/*Padding*/
.p-0 {
    padding: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}

.p-b-5 {
    padding-bottom: 5px !important;
}

.p-b-20 {
    padding-bottom: 20px !important;
}

.p-l-35 {
    padding-left: 35px !important;
}

.p-l-50 {
    padding-left: 50px !important;
}

.p-t-0 {
    padding-top: 0px !important;
}

.p-t-20 {
    padding-top: 20px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-l-25 {
    padding-left: 25px !important;
}

.p-l-20 {
    padding-left: 20px !important;
}

.p-l-15 {
    padding-left: 15px !important;
}

.p-5 {
    padding: 5px;
}

.p-t-13 {
    padding-top: 13px !important;
}

.p-t-15 {
    padding-top: 15px !important;
}

.p-t-10 {
    padding-top: 10px !important;
}

.p-t-5 {
    padding-top: 5px !important;
}

.p-15 {
    padding: 15px !important;
}

.p-r-10 {
    padding-right: 10px !important;
}

.p-r-50 {
    padding-right: 50px !important;
}

.p-r-60 {
    padding-right: 60px !important;
}

.no-margin {
    margin: 0;
}

html {
    font-size: 12px;
}

    html li {
        font-size: 14px;
    }

body {
    font-family: "Lato", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 1rem;
    color: #363636;
    -webkit-text-size-adjust: 100%;
    font-weight: 600;
}

.pointer-e-all {
    pointer-events: all;
}

.search-li {
    width: 470px !important;
}

.float-none {
    float: none;
}

.logo {
    /*width: 50% !important;
    max-width: 150px !important;*/
}

.body {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.bg-grey {
    background-color: #4D637B !important;
}

.bg-blue {
    background-color: #031993 !important;
}

.c-green {
    color: #2C9D1C;
}

.c-blue {
    color: #2C8FEA !important;
}

.c-white {
    color: white !important;
}

.scroll-no {
    overflow: hidden;
    overflow-y: auto;
}

/*Margin*/
.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-10 {
    margin-bottom: 10px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-t-15 {
    margin-top: 15px !important;
}

.m-l-30 {
    margin-left: 30px !important;
}

.m-l-15 {
    margin-left: 15px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-t-50 {
    margin-top: 50px !important;
}
/*Padding*/
.p-l-50 {
    padding-left: 50px !important;
}

.p-l-0 {
    padding-left: 0px !important;
}

.p-r-0 {
    padding-right: 0px !important;
}

.p-5 {
    padding: 5px;
}

.p-t-13 {
    padding-top: 15px !important;
}

.p-t-10 {
    padding-top: 10px !important;
}

.p-15 {
    padding: 15px !important;
}

.p-r-10 {
    padding-right: 10px !important;
}

/*Links*/
.link-blue:hover {
    color: #2C8FEA;
}

.title {
    text-align: left;
    font-size: x-large;
    /* чтобы линии не выходили за ширину блока заголовка */
    overflow: hidden;
}

    .title:before,
    .title:after {
        content: '';
        /* делаем линию строчно-блочной */
        display: inline-block;
        /* выравниваем вертикально по середине */
        vertical-align: middle;
        /* не позволяем ширине превысить 100% (будет добавлен бордюр) */
        box-sizing: border-box;
        /* установка ширины в 100% делает линию равной ширине тега заголовка
  ** благодаря этому линия заполнит все свободное пространство
  ** слева и справа от текста
  */
        width: 100%;
        height: 2px;
        background: #eee;
        /* добавляем к линии левый и правый бордюр цветом основного фона заголовка
  ** благодаря этому создается нужный отступ между линиями и текстом
  */
        border: solid #FFF;
        border-width: 0 10px;
    }

    .title:before {
        /* смещаем левую линию влево отрицательным отступом, равным 100% ширины
  ** благодаря этому линия встает слева от текста
  */
        margin-left: -100%;
    }

    .title:after {
        /* смещаем правую линию вправо отрицательным отступом, равным 100% ширины
  ** благодаря этому линия встает справа от текста
  */
        margin-right: -100%;
    }

.control-label {
    text-transform: uppercase;
}

.l-white {
    color: white !important;
}

    .l-white:hover {
        text-decoration: underline !important;
    }
/*Buttons*/
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
}

.btn-text-tranform-none {
    text-transform: none !important;
}

.btn {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-rounded, .btn-primary, .btn-danger {
    border-radius: 26px;
}

.btn-primary {
    border: none !important;
    background-color: #2C8FEA !important;
    color: #fff;    
}

.btn-default {
    border: none !important;
    color: #2C8FEA !important;
    border-radius: 26px;
}
/*inputs*/
input[type=date]::-webkit-inner-spin-button {
    display: none !important;
}

.form-control-modal {
    background-color: #F2F5FA !important;
    border: none !important;
    box-shadow: none !important;
}

    .form-control-modal:focus {
        background-color: #F2F5FA !important;
    }

input[type=date]::-webkit-clear-button {
    display: none !important;
}

.input-icon-right-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    background-image: url("../images/angle-arrow-down.png");
    background-position: right 10px top 10px;
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 50%;
    padding-right: 30px;
}

.input-icon-left-calendar {
    opacity: 1 !important;
    visibility: visible !important;
    background-image: url("../images/calendar.png");
    background-position: left 10px top 10px;
    background-repeat: no-repeat;
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 50px;
    background-position-x: 30%;
    background-position-y: 50%;
}

input[type=date]::-webkit-calendar-picker-indicator:hover {
    background-color: transparent !important;
}

input[type=date]::-webkit-calendar-picker-indicator:active {
    background-color: transparent !important;
}

.select-h-30 {
    cursor: pointer;
    height: 30px !important;
    line-height: 1;
}

.select-green {
    background-color: #2C9D1C !important;
}

    .select-green:focus {
        background-color: #2C9D1C !important;
        box-shadow: none !important;
    }

.select-bg-white:focus {
    border: 1px solid #cccccc !important;
    background-color: white !important;
}

.select-user {
    width: auto !important;
    text-transform: none !important;
    display: inline-block !important;
    min-width: 90px !important;
    border: none !important;
    background-color: transparent !important;
    display: inline-block !important;
    box-shadow: none !important;
}

select {
    min-width: 100px;
    text-transform: uppercase;
    border-radius: 26px !important;
    width: 50px;
    padding-right: 30px !important;
    border-radius: 10px;
    -webkit-appearance: none;
    background-image: url('../images/angle-arrow-down.png') !important;
    background-position: right 10px center;
    background-position-x: 95%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    line-height: 1em;
    /* for FF */
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    /* for IE */
    -ms-appearance: none;
    appearance: none !important;
}


.select-classic {
    border-radius: 0 !important;
    text-transform: none;
    border: none !important;
}

    .select-classic:focus {
        background-color: white !important;
    }

select::-ms-expand {
    display: none;
}

.date-select {
    cursor: pointer;
}

.left-inner-addon {
    position: relative;
}

    .left-inner-addon input {
        padding-left: 30px;
    }

    .left-inner-addon i {
        position: absolute;
        padding: 10px 12px;
        pointer-events: none;
    }

.right-inner-addon {
    position: relative;
}

    .right-inner-addon input {
        padding-left: 50px;
    }

    .right-inner-addon i {
        position: absolute;
        left: 0px;
        padding: 12px 12px 12px 12px;
        line-height: 0.8 !important;
        /*pointer-events: none;*/
    }

.search {
    font-size: larger;
    max-width: 470px !important;
    width: 92%;
    padding: 5px;
    height: 25px !important;
    border-radius: 26px;
    border: none;
    background-color: white;
    line-height: 1;
}

.search-result {
    overflow-x: hidden;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    left: 10px;
    border-radius: 0px;
    min-height: 50px !important;
    border: 1px solid #eee;
    top: 35px;
    background-color: white;
}

.search-result-lower {
    font-size: smaller;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result li:hover {
    cursor: pointer;
    color: #2c8fea;
}

.search-m-w-none {
    max-width: none !important;
}

.search-border {
    border: 1px solid #eee !important;
}

.search:focus {
    background-color: white !important;
}

.search-icon {
    background-color: #2C8FEA;
    border-radius: 26px;
    height: 100%;
    color: white;
    pointer-events: none;
}

.navbar-toggle {
    color: white;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #fff !important;
    color: #2C8FEA;
}

.form-control-clasic {
    border: none !important;
    border-radius: 0 !important;
}

    .form-control-clasic:focus {
        background-color: white !important;
    }

.form-control-line:not(.fc-alt) {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
}

.form-control-line:focus {
    border: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    outline: none !important;
}

.form-control-line {
    font-size: x-large !important;
    text-align: center;
    box-shadow: none !important;
    resize: none;
    display: block;
    width: 100%;
    height: 35px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    color: white;
    background-color: transparent;
    background-image: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.text-align-left {
    text-align: left !important;
}

.vcenter {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.container-fluid {
    height: 100%;
    display: table;
    width: 100%;
    padding: 0;
}

.row-fluid {
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.centering {
    float: none;
    margin: 0 auto;
}

.text-center {
    text-align: center !important;
}
/* Toggle Styles */

.navbar {
    border-radius: 0px !important;
    border: none !important;
}

#wrapper {
    position: relative;
    min-height: 100%;
    padding-bottom: 60px;
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

    #wrapper.toggled {
        padding-left: 250px;
        overflow: scroll;
    }

#sidebar-wrapper {
    top: 65px;
    margin-bottom: 65px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    margin-left: -250px;
    overflow-y: auto;
    background: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: calc(100% - 65px);
    height: -o-calc(100% - 65px); /* opera */
    height: -webkit-calc(100% - 65px); /* google, safari */
    height: -moz-calc(100% - 65px); /* firefox */
    height: 100%;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    position: relative;
    padding: 15px;
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
}

.xyz {
    min-width: 360px;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
}

.fixed-brand {
    width: auto;
}
/* Sidebar Styles */
#menu {
    margin-top: 50px;
}

.active a, .nav-pills > li.active > a {
    background-color: #5E7388 !important;
    border: none;
    text-decoration: none;
    color: #fff;
    background-color: #5E7388;
    border-left: #2C8FEA 4px solid;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
    padding-bottom: 65px;
}

    .sidebar-nav li {
        border-radius: 0 !important;
        text-indent: 15px;
        line-height: 40px;
    }

        .sidebar-nav li a {
            padding: 15px;
            border-radius: 0 !important;
            display: block;
            text-decoration: none;
            color: white;
        }

            .sidebar-nav li a:hover {
                text-decoration: none;
                color: #fff;
                background-color: #5E7388;
            }

            .sidebar-nav li a:active,
            .sidebar-nav li a:focus {
                text-decoration: none;
            }

    .sidebar-nav > .sidebar-brand {
        height: 65px;
        font-size: 18px;
        line-height: 60px;
    }

        .sidebar-nav > .sidebar-brand a {
            color: #999999;
        }

            .sidebar-nav > .sidebar-brand a:hover {
                color: #fff;
                background: none;
            }

.no-margin {
    margin: 0;
}

@media(max-width:768px) {

    #page-content-wrapper {
        padding-top: 100px !important;
    }
}

@media(max-width:768px) {
    #sidebar-wrapper {
        height: 100%;
        height: calc(100% - 75px);
        height: -o-calc(100% - 75px); /* opera */
        height: -webkit-calc(100% - 75px); /* google, safari */
        height: -moz-calc(100% - 75px); /* firefox */
        top: 75px !important;
    }
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    .fixed-brand {
        width: 250px;
    }


    @media(max-width:768px) {
        #wrapper.toggled {
            padding-left: 0;
        }
    }

    #sidebar-wrapper {
        width: 250px;
        position: fixed;
        height: calc(100% - 65px);
        height: -o-calc(100% - 65px); /* opera */
        height: -webkit-calc(100% - 65px); /* google, safari */
        height: -moz-calc(100% - 65px); /* firefox */
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }


    #wrapper.toggled-2 #sidebar-wrapper {
        width: 70px;
    }

        #wrapper.toggled-2 #sidebar-wrapper a {
            padding-left: 0 !important;
        }


        #wrapper.toggled-2 #sidebar-wrapper:hover {
            width: 250px;
        }





    #page-content-wrapper {
        padding: 50px;
        padding-top: 100px;
        position: relative;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }




    @media(max-width:768px) {
        #wrapper.toggled #page-content-wrapper {
            position: relative;
            margin-right: 0;
            padding-left: 250px;
        }
    }

    #wrapper.toggled-2 #page-content-wrapper {
        position: relative;
        margin-right: 0;
        margin-left: -200px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        width: auto;
    }
}

.btn-success, .btn-info, .btn-default {
    border-radius:26px;
}
/*Table*/

.table-striped tr:nth-child(even) {
    background: #ECEFF4 !important;
}

.table-striped tr:nth-child(odd) {
    background: #F3F4F9 !important; /* Цвет фона */
}

.table-button {
    position: absolute;
    bottom: 27px;
    right: 0px;
}

/*@media(max-width:768px) {
    .table-button {
        bottom: 25px;
        right: 0px;
    }
}*/

.active-tr {
    border-left: 3px solid #2C8FEC;
}

    .active-tr > td .icon-edit {
        display: inline-block !important;
    }

.icon-edit {
    color: #2C8FEC;
    display: none;
}

.table-responsive {
    border: none !important;
}

.pagination a {
    border-radius: 50% !important;
    background-color: #fff !important;
    border: 1px solid #ddd;
    margin-right: 4px;
    color: black !important;
}

    .pagination a:hover {
        border-radius: 50% !important;
        background-color: #2C8FEA !important;
        border: none !important;
        margin-right: 4px;
        color: white !important;
    }

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    border-radius: 50% !important;
    background-color: #2C8FEA !important;
    border: none !important;
    margin-right: 4px;
    color: white !important;
}

.table {
    background-color: white;
    border-radius: 10px !important;
}

    .table tr:first-child {
        border-top: none !important;
    }

    .table .header {
        vertical-align: middle !important;
    }

    .table td {
        vertical-align: middle !important;
    }


    .table thead {
        border-bottom: none !important;
        border-radius: 10px !important;
        text-transform: uppercase;
        color: white;
    }

    .table th {
        padding: 25px !important;
        background: #97B0CF;
        text-align: left;
        border-top: none !important;
    }

    .table td {
        text-align: left;
        padding: 25px !important;
    }

@media(max-width:768px) {
    .table th {
        padding: 15px !important;
    }

    .table td {
        padding: 15px !important;
    }
}


.table td:first-child, .table th:first-child {
    border-left: none;
}

.table th:first-child {
    border-top-left-radius: 10px;
}

.table th:last-child {
    border-top-right-radius: 10px;
}

/*Modal window*/
.slimScrollBar {
    opacity: 1 !important;
}

.modal {
    z-index: 1041;
    border-radius: 10px;
}

.modal-body {
    margin-top: 0;
    max-height: 100% !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-body_rewards {
    max-height: 400px !important;
    height: 400px;
}

.modal-body_advertisement {
    max-height: 400px !important;
    height: 400px;
    overflow-y: auto;
}

.modal-content {
    border-radius: 10px;
}

.modal-header {
    text-transform: uppercase;
    font-size: x-large;
    color: white;
    background-color: #2C8FEA;
    border-radius: 10px 10px 0 0;
}

    .modal-header button {
        color: black !important;
        opacity: 1;
        font-size: x-large;
    }
/*list*/
.list-number {
    list-style-type: decimal;
}

    .list-number li {
        padding-left: 20px;
        cursor: pointer;
    }

        .list-number li:hover {
            color: #2C8FEA;
        }

.crest {
    color: black;
}

    .crest:hover {
        color: #2C8FEA;
    }

.label-error {
    /*color: #a94442;*/
    color: #fbee00;
}

.label-error_red {
    color: red;
}


.active-tab span {
    color: #2C8FEA;
    border-bottom: 2px solid #2C8FEA;
}

.setting-tabs {
    border-bottom: none !important;
}

    .setting-tabs a {
        /*border-bottom: 1px solid transparent !important;*/
        font-family: "Lato", Helvetica, Arial, sans-serif !important;
        -webkit-font-smoothing: antialiased !important;
        font-smoothing: antialiased !important;
        color: #363636 !important;
        -webkit-text-size-adjust: 100% !important;
        font-weight: 600 !important;
    }

        .setting-tabs a:hover, .setting-tabs a:focus {
            background-color: transparent !important;
            /*border: none !important;*/
        }

    .setting-tabs .active {
        color: #2C8FEA;
        /*border-bottom: 2px solid #2C8FEA;*/
        background-color: transparent !important;
    }

        .setting-tabs .active a {
            color: #2C8FEA !important;
            border: none !important;
            background-color: transparent !important;
        }

.checkbox {
    vertical-align: top;
    margin: 0 3px 0 0;
    width: 17px;
    height: 17px;
}

    .checkbox + label {
        cursor: pointer;
    }


    .checkbox:not(checked) {
        position: absolute;
        opacity: 0;
    }

        .checkbox:not(checked) + label {
            position: relative;
            padding: 0 0 0 60px;
        }

            .checkbox:not(checked) + label:before {
                content: '';
                position: absolute;
                top: -4px;
                left: 0;
                width: 50px;
                height: 26px;
                border-radius: 13px;
                background: #CDD1DA;
                /*box-shadow: inset 0 2px 3px rgba(0,0,0,.2);*/
            }

            .checkbox:not(checked) + label:after {
                content: '';
                position: absolute;
                top: -2px;
                left: 2px;
                width: 22px;
                height: 22px;
                border-radius: 10px;
                background: #FFF;
                /*box-shadow: 0 2px 5px rgba(0,0,0,.3);*/
                transition: all .2s;
            }

    .checkbox:checked + label:before {
        background: #2C8FEA;
    }

    .checkbox:checked + label:after {
        left: 26px;
    }

    .checkbox:focus + label:before {
    }

label {
    font-family: "Lato", Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    font-smoothing: antialiased !important;
    color: #363636 !important;
    -webkit-text-size-adjust: 100% !important;
    font-weight: 600 !important;
}
/*Radio*/

.checkbox-red label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    margin-right: 15px;
    margin-top: 5px;
}

.checkbox-red input {
    display: none;
}

.checkbox-red label:before {
    content: "";
    display: inline-block;
    width: 32px !important;
    height: 32px !important;
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 0px;
    background-color: #CDD1DA;
    /*box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);*/
}

.checkbox-red label:before {
    background-image: none;
    border-radius: 50%;
}

.checkbox-red input[type=checkbox]:checked + label:before {
    background-image: url(../images/tick.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #D41B2D;
}
/*checkbox permissions*/
.checkbox-permissions {
    margin-right: 4px;
    width: 32px;
    height: 32px;
    display: inline-block;
    position: relative;
}

    .checkbox-permissions label {
        display: inline-block;
        cursor: pointer;
        width: 32px !important;
        height: 32px !important;
        position: absolute;
        left: 0;
        /*padding-left: 35px;
    margin-right: 15px;
    margin-top: 25px;*/
    }
    
    .checkbox-permissions label.disabled {
        cursor: default;
    }

    .checkbox-permissions input {
        display: none;
    }
    
    .checkbox-permissions input {
        display: none;
    }

    .checkbox-permissions label:before {
        content: "";
        width: 32px !important;
        height: 32px !important;
        position: absolute;
        left: 0;
        top: 0;
        background-color: #CDD1DA;
        /*box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);*/
    }

    .checkbox-permissions label:before {
        background-image: none;
        border-radius: 50%;
    }

    .checkbox-permissions input[type=checkbox]:checked + label:before {
        background-color: #2C9F1C;
    }

    .checkbox-permissions label:before {
        background-repeat: no-repeat;
        background-position: center center !important;
        background-position-x: center !important;
        background-position-y: center !important;
        background-size: 50% !important;
        border-radius: 50%;
    }

.checkbox-permissions-1 label:before {
    background-image: url(../images/permission1.png);
}

.checkbox-permissions-2 label:before {
    background-image: url(../images/permission2.png);
}

.checkbox-permissions-3 label:before {
    background-image: url(../images/permission3.png);
}

.checkbox-permissions-4 label:before {
    background-image: url(../images/permission4.png);
}

.checkbox-permissions-5 label:before {
    background-image: url(../images/permission5.png);
}

.checkbox-permissions-6 label:before {
    background-image: url(../images/permission6.png);
}

.checkbox-permissions-7 label:before {
    background-image: url(../images/permission7.png);
}

.checkbox-permissions-8 label:before {
    background-image: url(../images/permission8.png);
}


/*Radio*/

.radio label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    margin-right: 15px;
}

input[type=radio] {
    display: none;
}

.radio label:before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 1px;
    background-color: #CDD1DA;
    /*box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);*/
}

.radio label:before {
    background-image: none;
    border-radius: 50%;
}

input[type=radio]:checked + label:before {
    background-image: url(../images/tick.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #2C8FEA;
}
/*date time picker*/
.uib-datepicker-popup {
    padding: 0 !important;
    background-color: #4D637B !important;
}

    .uib-datepicker-popup thead {
        background-color: #2C8FEA !important;
    }

.uib-daypicker {
    padding: 10px;
}

.uib-title {
    text-transform: uppercase;
    color: white !important;
    text-align: left !important;
    background-color: transparent !important;
}

.uib-daypicker th {
    border: none !important;
    text-transform: uppercase;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: white !important;
}

.uib-monthpicker th:first-child button {
    display: none;
}

.uib-monthpicker th:last-child button {
    display: none;
}

.uib-yearpicker th:first-child button {
    display: none;
}

.uib-yearpicker th:last-child button {
    display: none;
}

.uib-daypicker th:first-child button {
    display: none;
}

.uib-daypicker th:last-child button {
    display: none;
}

.text-info {
    color: white !important;
}

.uib-yearpicker {
    min-width: 100% !important;
}

.uib-day button, .uib-month button, .uib-year button {
    min-width: 0% !important;
    color: white !important;
    background-color: transparent;
    border-radius: 50% !important;
    padding: 5px !important;
    line-height: 1;
}

    .uib-day button:hover, .uib-month button:hover, .uib-year button:hover {
        min-width: 0% !important;
        color: white !important;
        text-decoration: underline;
        background-color: transparent;
    }

    .uib-day button:disabled {
        cursor: not-allowed;
        filter: alpha(opacity=65);
        color: #ACBDD1 !important;
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: transparent !important;
        opacity: 1;
    }

.text-muted {
    color: #ACBDD1 !important;
}

.btn-info {
    background-color: #2C9F1C !important;
}



.uib-title:hover {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.uib-title:focus {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.uib-button-bar {
    display: none;
    opacity: 1 !important;
}

.tooltip-permissions .tooltip-inner {
    background-color: #4D637B !important;
    padding: 5px 15px 5px 15px !important;
    opacity: 1 !important;
}

.tooltip-permissions .tooltip-arrow {
    left: 15px !important;
    border-top-color: #4D637B !important;
}
/*Alerts*/

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    vertical-align: middle;
}

.bs-callout-info {
    border-left-color: #2C8FEC;
}

    .bs-callout-info p {
        margin: 0;
    }

.label-http {
    position: absolute;
    left: 25px;
    top: 7px;
    font-size: 14px;
}

.p-l-52 {
    padding-left: 52px !important;
}

/*Nav tabs*/
.nav-tabs {
    /*border-bottom-color: #2C8FEC !important;*/
}

    .nav-tabs > li > a {
        /*border-bottom: 1px solid transparent !important;*/
    }

    .nav-tabs > li.active a {
        background-color: #2C8FEC !important;
        /*border-bottom: 1px solid #2C8FEC !important;*/
        color: white !important;
    }

    .nav-tabs > li > a:hover {
        border-bottom: 1px solid #2C8FEC !important;
    }

    .nav-tabs > li > a:focus {
        /*border-bottom: 1px solid #2C8FEC !important;*/
    }

.ng-table-filters th {
    border-radius: 0px !important;
    padding: 5px !important;
}

.special-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-text {
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 120px;
}

.autocompleteItem_li {
    list-style-type: none;
    width: 100%;
}

.grey_button {
    background-color: gray;
    border-radius: 25px;
}

.search-salesperson-h-33 {
    height: 33px !important;
    line-height: 1;
}

.modal-body_advertisement {
    max-height: 400px !important;
    height: auto;
    overflow-y: auto;
    padding: 15px;
    position: relative;
    margin-top: 0px;
    width: auto;
}

.p-r-25 {
    padding-right: 25px;
}

.p-b-15 {
    padding-bottom: 15px;
}

.modal-customers {
    height: 100px;
    overflow: visible !important;
}

.checkbox-tick label:before {
    background-image: url('../images/tick.png');
}

.gold-color {
    color: #FFD700;
}

.blue-color {
    color: #0026FF;
}

.checkbox-bg-blue {
    background-color: #2C8FEA;
}

.list-referrals {
    list-style: none;
    padding-left: 10px;
}

    .list-referrals li {
        position: relative;
        cursor: pointer;
    }

        .list-referrals li:hover {
            color: #2C8FEA;
        }

.p-l-10 {
    padding-left: 10px;
}

.checkbox-holder {
    padding: 10px 10px 30px 10px;
    height: 32px;
}

.va-middle {
    vertical-align: middle;
}

.display-ib {
    display: inline-block;
}

.referral-icon-width {
    width: 14px;
}

.referrals-table-button {
    margin-right: 15px;
    margin-left: 10px;
}

.referrals-table-cross {
    position: absolute;
    top: 0;
    right: 0;
    color: black;
}

.p-r {
    position: absolute;
    top: 0;
    right: 0;
}

.w-100 {
    width: 100%;
}

.text-o-h {
    overflow: hidden;
    text-overflow: ellipsis;
}

.resize-v {
    resize: vertical;
}

.text-a-r {
    text-align: right;
}

.flex-align {
    display: flex;
    align-items: center;
}
.img-mobile {
        max-height: 170px;
        width:100%;
    }
@media(max-width:768px) {
    .m-p-t-15{
        padding-top:15px;
    }
    .img-mobile {
       max-height: 170px;
       width:100%;
    }
}

.pac-container {  
    z-index: 10000 !important;
    display: block !important;
}
