@import url('https://fonts.googleapis.com/css?family=Rubik');
@import url('feather.css');
$primary-color: #008ffd;
$easing: all 0.5s cubic-bezier(.55,0,.1,1);
$base-size: 18rem;

$grad1: #0665d0 linear-gradient(135deg,#0665d0 0,#2a8bf9 100%);

$grad2: #d262e3 linear-gradient(135deg,#d262e3 0,#0665d0 100%);

$grad3: #89216b linear-gradient(135deg,#89216b 0,#da4453 100%);

$grad4: #02aab0 linear-gradient(135deg,#02aab0 0,#00cdac 100%);

$grad5: #6a82fb linear-gradient(135deg,#6a82fb 0,#fc5c7d 100%);

$grad6: #2b32b2 linear-gradient(135deg,#2b32b2 0,#1488cc 100%);

$grad7: #ffb119 linear-gradient(135deg,#ffb119 0,#82b54b 100%);

$grad8: #00f260 linear-gradient(135deg,#00f260 0,#0575e6 100%);

$grad9: #e65c00 linear-gradient(135deg,#e65c00 0,#f9d423 100%);

$grad10: rgba(210,98,227,.5) linear-gradient(135deg,rgba(210,98,227,.5) 0,rgba(6,101,208,.5) 100%);
/*Second*/
.loader {
    height: 20px;
    width: 250px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    z-index: 99999999;
    opacity: 1;
    background: rgba(0, 0, 0, 0.39);
}

.loader--dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    height: 25px;
    width: 25px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
    top: 43%;
    left: 43%;
}

    .loader--dot:first-child {
        background-color: #8cc759;
        animation-delay: 0.5s;
    }

    .loader--dot:nth-child(2) {
        background-color: #8c6daf;
        animation-delay: 0.4s;
    }

    .loader--dot:nth-child(3) {
        background-color: #ef5d74;
        animation-delay: 0.3s;
    }

    .loader--dot:nth-child(4) {
        background-color: #f9a74b;
        animation-delay: 0.2s;
    }

    .loader--dot:nth-child(5) {
        background-color: #60beeb;
        animation-delay: 0.1s;
    }

    .loader--dot:nth-child(6) {
        background-color: #fbef5a;
        animation-delay: 0s;
    }

.loader--text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 0rem;
    margin: auto;
    font-size: 21px;
    color:#fff;
}

    .loader--text:after {
        content: "Loading";
        font-weight: bold;
        animation-name: loading-text;
        animation-duration: 3s;
        animation-iteration-count: infinite;
    }

@keyframes loader {
    15% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(230px);
    }

    65% {
        transform: translateX(230px);
    }

    95% {
        transform: translateX(0);
    }
}

@keyframes loading-text {
    0% {
        content: "Loading";
    }

    25% {
        content: "Loading.";
    }

    50% {
        content: "Loading..";
    }

    75% {
        content: "Loading...";
    }
}


.card.db {
    border-radius: 9px;
    border: 1px solid #d5ddef;

    .justify-content-center {
        margin: 0 auto;
        display: block;
        text-align: center;

        div {
            margin-top: 4px;
            font-size: 22px;
            color: #333;
            font-weight: 700;
        }
    }
}

.page-title {
    a {
        color: #3d3d98 !important;

        &:hover {
            color: #ffc108 !important;
        }
    }

    &:after {
        content: "/";
        padding: 5px;
    }
}

.header-topic {
    font-size: 25px;
    color: #fff;
    padding: 0;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
}

.content-header.main-topic, .display-none {
    display: none;
}

.card {
    position: relative;
    margin-bottom: 20px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    background-color: #fff;
    -moz-background-clip: border-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    border: 0 solid transparent;
    border-radius: 0;

    .card-title {
        position: relative;
    }
}

.d-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.height35 {
    height: 31px;
}

.top-btn {
    position: relative;
    text-align: right;
    margin: 0 0 10px;
    width: 600px;
    float: right;
    z-index: 99;
}

.btn-home {
    background-color: #282828;
    border: 2px solid #282828;
    color: #fff;
    padding: 4px 6px !important;
    font-weight: 600;
    border-radius: 5px !important;
    outline: none;
    position: relative;
    margin-right: 5px;

    span {
        margin: 0 auto;
    }

    i {
        font-size: 25px;
        line-height: 24px !important;
    }

    &:hover {
        background-color: transparent;
        border: 2px solid #282828;
        color: #282828;
    }
}

.block div {
    font-size: 15px;
    /* box-shadow: 0px 5px 6px rgba(230,235,244,.4); */
}

.nav-item.active:after {
    position: relative;
    width: 0;
    border-left: 19px solid transparent;
    border-right: 19px solid transparent;
    border-bottom: 19px solid #fff;
    top: -27px;
}

.arrow-up {
    margin-bottom: 17px !important;
    border-radius: 5px;
    margin: 0 auto;
}

.nav-tabs .nav-item {
    + .nav-item {
        margin-left: 0;
    }

    padding: 2px;
}

body {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0988ea;
}

.page-header .main-topic {
    padding: 1px 0 15px 0;
    width: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
}

.page-title {
    font-weight: 500;
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
}

.center-block {
    margin: 0;
    border-radius: 6px;
    margin-bottom: 12px;
}

.ptb15 {
    padding: 15px 0 !important;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.4rem 0.2rem 0.5rem 0.2rem;
    box-shadow: 0 5px 6px rgba(230, 235, 244, 0.59);
}

.main-topic.inner .page-title {
    font-size: 1.3rem;
    color: #fff;
    white-space: nowrap;



    &.text-muted {
        font-size: 1.3rem;
        color: #c5c5c5 !important;
    }
}

.card .card-title {
    font-weight: 500;
    border-bottom: 1px solid rgba(234, 243, 253, 0.9);
    font-size: 1.1rem;
    padding-bottom: 5px;
}

html body .m-t-20 {
    margin-top: 15px;
    margin-bottom: -35px;
}

html body .m-t-51 {
    margin-top: 38px;
    margin-bottom: -35px;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

/*.d-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}*/
.custom-select.width-31 {
    width: 30%;
}

.custom-select.width-17 {
    width: 17%;
}

.custom-select {
    background: #fff;
    position: relative;
    border-radius: 5px;
    font-weight: 600;
    padding: 3px 12px 3px 12px;
    cursor: pointer;
    width: 41%;
    margin-right: 5px;
    height: 33px;

    select {
        border: none;
        outline: none;
        width: 100%;
        background-color: transparent !important;
        background: transparent !important;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;

        option {
            background-color: #e6e6e6;
            border: 1px solid #e6e6e6;
            box-shadow: 0 5px 14px 0 rgba(1,1,1,0.168);
        }
    }
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.text-info {
    color: #7743d4 !important;
}

.text-purple {
    color: #ab8ce4 !important;
}

.text-sgreen {
    color: #44bd32 !important;
}

.text-danger {
    color: #e74c3c !important;
}

.text-warning {
    color: #b33939 !important;
}

.text-success {
    color: #009688 !important;
}

.text-orange {
    color: #fa8231 !important;
}

.text-darkp {
    color: #2c2c54 !important;
}

.text-pink {
    color: #f53b57 !important;
}

.text-grey {
    color: #808e9b !important;
}

.mt-43 {
    /* margin-top: -43px; */
    /* margin-bottom: -6px; */
}

.mt38 {
    margin-top: 38px !important;
}

.mt89 {
    margin-top: 89px !important;
}

.nav-pills .nav-item {
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}

.nav.nav-pills {
    border-bottom: 1px solid #ebedf2;
    padding-bottom: 3px;
}

.nav-link {
    color: #7b7e8a;
}

.text-yellow {
    color: #FFC107;
}

.btn {
    padding: 7px 8px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    outline: none;
    margin-left: 3px;
}

.btn-icon > span {
    display: table;
    margin: 0 auto;

    i, span {
        display: table-cell;
        vertical-align: middle;
    }

    [class*=" la-"], [class^=la-] {
        font-size: 1.3rem;
    }

    i {
        line-height: 0;
    }

    span {
        padding-left: .5em;
    }
}

.bg-white-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;

    &:hover {
        background-color: #fff;
        border: 2px solid #fff;
        color: #333;
    }
}

.bg-save-outline {
    background-color: #008ffd;
    border: 2px solid #008ffd;
    color: #ffffff;
    margin: 18px 18px 18px 32px;

    &:hover {
        box-shadow: 0 2px 5px 0 #747474;
    }
}

.mb37 {
    margin-bottom: 44px !important;
}

.mb20 {
    margin-bottom: 20px;
}

.badge {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: $easing;

    &:hover {
        background-position: 100%;

        .text {
            /*-webkit-transform: rotate(-45deg) translate(0px) rotate(-315deg);
            -ms-transform: rotate(-45deg) translate(0px) rotate(-315deg);
            -moz-transform: rotate(-45deg) translate(0px) rotate(-315deg);
            -o-transform: rotate(-45deg) translate(0px) rotate(-315deg);
            transform: rotate(-45deg) translate(0px) rotate(-315deg);*/
            -moz-transition: $easing, letter-spacing 1.5s ease-out;
            -o-transition: $easing, letter-spacing 1.5s ease-out;
            -webkit-transition: $easing, letter-spacing 1.5s ease-out;
            transition: $easing, letter-spacing 1.5s ease-out;
        }
    }

    .text {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: -9rem;
        top: 0;
        text-align: center;
        color: #fff;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0,rgba(144, 78, 149, 0.8)), color-stop(100%,#e96443)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(144, 78, 149, 0.8) 0,#e96443 100%); /* Chrome10+,Safari5.1+ */
        background: -webkit-linear-gradient(to top, rgba(144, 78, 149, 0.8) 0, #e96443 100%);
        background: linear-gradient(to top, rgba(144, 78, 149, 0.8), #e96443);
        -moz-transform: rotate(-180deg) translate(-($base-size / 2)) rotate(180deg);
        -ms-transform: rotate(-180deg) translate(-($base-size / 2)) rotate(180deg);
        -webkit-transform: rotate(-180deg) translate(-($base-size / 2)) rotate(180deg);
        -o-transform: rotate(-180deg) translate(-($base-size / 2)) rotate(180deg);
        transform: rotate(-180deg) translate(-($base-size / 2)) rotate(180deg);
        -moz-transition: $easing;
        -o-transition: $easing;
        -webkit-transition: $easing;
        transition: $easing;
        padding: 50px 11px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        border-radius: 7px;
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    .mt-43 {
        margin-top: 0;
    }

    .height35 {
        height: auto !important;
    }

    .mb37 {
        margin-bottom: 8px !important;
    }

    body {
        margin: 0 2px;
    }

    .col-xs-12 {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    html body .m-t-51 {
        margin-top: 23px;
        margin-bottom: -26px;
    }

    html body .m-t-20 {
        margin-top: 15px;
        margin-bottom: -26px;
    }

    .top-btn {
        width: auto;
        display: flex;
    }

    .ml-auto h1 {
        font-size: 22px !important;
    }

    .xs-float {
        position: relative;
        top: -2px;
        float: right;
    }

    .misbtn {
        float: none;
        top: 0;
    }

    .custom-select {
        font-weight: 600;
        width: 56%;
        height: 31px;
    }

    .btn.btn-back, .btn.btn-next, .btn.btn-prev {
        padding: 7px 10px !important;
    }
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    -moz-animation: fadeEffect 1s;
    -o-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

.closebtn {
    position: absolute;
    color: #e23427 !important;
    font-size: 37px;
    cursor: pointer;
    padding: 0 4px;
    margin: 4px auto;
    clear: both;
    right: 3%;
    top: -3%;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    z-index: 9;
}

.arrow-up.tabcontent {
    margin-left: auto;
    margin-right: auto;
}

.gutters-tiny.push {
    padding: 4px 0;

    .box-head {
        font-size: 22px;
        border-bottom: 1px dotted #6c757d;
        padding-bottom: 5px;
        color: $primary-color;
        margin-bottom: 8px;
    }

    .tab {
        margin-left: auto;
        margin-right: auto;
        margin-top: -43px;
    }
}

.closebtn:hover {
    font-size: 40px;
    font-weight: 900;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
}

.block .topic {
    /* margin-top: -30px; */
    margin-bottom: 32px;
    color: #018bf7;
    text-transform: capitalize;
    font-size: 22px;
}

a.block {
    &.active, &:hover {
        -webkit-transform: translateY(-6px);
        -moz-transform: translateY(-6px);
        -ms-transform: translateY(-6px);
        -o-transform: translateY(-6px);
        transform: translateY(-6px);
        -moz-box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
        box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
    }
}


a.block.eis {
    display: block;
    position: relative;
    cursor: pointer;
    transition: $easing;
    background-position: center;
    background-size: 100%;
    border-radius: 7px;
}

@media only screen and (max-device-width: 480px) {
    .bg-white.row.mb4 {
        margin: auto 0 2px 0;
    }

    .page-header .main-topic {
        padding: 21px 31px 0 26px;
    }

    .top-btn {
        padding: 0 !important;

        .btn {
            margin-bottom: 5px;
        }

        .custom-select {
            margin-bottom: 5px;
            width: 100% !important;
        }
    }

    .mt34 {
        margin-top: 34px;
    }

    .top-btn {
        margin: 0 auto 0 auto !important;
        right: 6px !important;
    }

    .col-xs-6 {
        width: 50% !important;
        padding: 3px;

        .block-content {
            padding: 15px 0;
        }

        .card.db {
            margin-bottom: 0;
        }
    }

    .mb37 {
        margin-bottom: 0 !important;
    }

    .card.db .justify-content-center div {
        margin-top: 13px;
        font-size: 15px;
    }

    .container-fluid {
        padding-left: 2px;
        padding-right: 2px;
    }

    .main-topic.inner .page-title {
        width: auto;
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }

    .gutters-tiny .tabcontent.block {
        max-height: 300px;
        overflow-y: auto;
        background: #eaeaea;
        margin-bottom: 55px;
        border-top: 2px solid #dadada;
        padding-left: 0;
        padding-right: 0;
        position: relative;
        z-index: 999;
        left: 0;
        right: 0;
        top: -12px;
        width: 100%;
    }
}

.top-3 {
    top: -3px;
}

.table-hide {
    display: none;
}

.show {
    display: block;
}

.card.pull-up {
    height: 137px;
    cursor: pointer;
}

.tab-pane div h1 i {
    font-size: 42px;
    position: relative;
    top: -6px;
}

.btn.btn-back {
    background-color: #333;
    color: #fff;
    border: 2px solid #333;
    padding: 8px 10px;

    &:hover {
        background-color: transparent;
        color: #333;
        border: 2px solid #333;
    }
}

.btn.btn-next {
    background-color: #ed4c67;
    color: #fff;
    border: 2px solid #ed4c67;
    padding: 8px 10px;

    &:hover {
        background-color: #d83954;
        color: #fff;
        border: 2px solid #d83954;
    }
}

.btn.btn-prev {
    background-color: #d83954;
    color: #fff;
    border: 2px solid #d83954;
    padding: 8px 10px;

    &:hover {
        background-color: #ed4c67;
        color: #fff;
        border: 2px solid #ed4c67;
    }
}

.btn.btn-search {
    background-color: #00884f;
    color: #fff;

    &:hover {
        background-color: #00884f;
        color: #fff;
    }
}


.btn.btn-clear {
    background-color: #f30b0b;
    color: #fff;

    &:hover {
        background-color: #f30b0b;
        color: #fff;
    }
}

.table-topic {
    font-size: 16px;
    color: #3c2f2f;
    padding: 3px 8px;
    border: 2px solid #dc3545;
    display: inline-block;
    position: relative;
    margin: 7px 0 17px;
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;

    &:before, &:after {
        border-bottom: 2px solid #dc3545;
        content: "";
        position: absolute;
        height: 5px;
        top: 12px;
        width: 125pc;
    }

    &:before {
        right: 100%;
        margin-right: 3px;
        width: 27px;
    }

    &:after {
        left: 100%;
        margin-left: 4px;
    }
}

.controlLabelWidth label {
    text-transform: capitalize;
}

table tbody tr th, table thead tr th {
    color: #000;
    font-weight: 400;
}

.db-btn {
    padding: .95rem 2rem;
    background-color: #fff;
    border: 2px solid #fff;

    &:hover {
        background-color: transparent;
        border: 2px solid #fff;
        color: #fff;
    }
}
.width-100{
    width:100%!important;
}
.custom-select {
    margin-bottom: 12px;
    }
.form-control {
    margin-bottom: 12px;

    &:focus {
        box-shadow: 1px 0 3px rgba(0, 143, 253, 0.6);
        border: 1px solid #008ffd;
        outline: none;
    }
}

.controllabelwidth label {
    text-transform: capitalize;
}

.table-striped tr:nth-child(even) {
    background-color: #f2f2f2;
}

.row {
    margin: auto 0;
    width: 100% !important;
}

.fs18.nav-link {
    padding: 0.4rem 1rem;
}

.fs18 {
    font-size: 18px !important;
}

.record {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #f30b0b;
}

.eis .org-grad {
    background: #D38312; /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #A83279, #D38312); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #A83279, #D38312); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    opacity: 0.87;
    width: 100.2%;
}

.exdb {
    background-color: #ff7675;
    border: 2px solid #ff7675;
    color: #fff;
    font-size: 17px;
    position: relative;
    top: 1px;
    right: 4px;
    padding: 2px 6px;

    i {
        position: relative;
        top: 4px;
        font-size: 20px;
        left: 1px;
    }

    &:hover {
        background-color: transparent;
        border: 2px solid #ced6e0;
        color: #ced6e0;
    }
}

table {
    span.Green {
        background-color: green;
        padding: 5px 9px;
        font-size: 15px;
        color: #fff;
        border-radius: 5px;
    }

    span.Red {
        background-color: #EA2027;
        padding: 5px 9px;
        font-size: 15px;
        color: #fff;
        border-radius: 5px;
    }

    span.Blue {
        background-color: #3867d6;
        padding: 5px 9px;
        font-size: 15px;
        color: #fff;
        border-radius: 5px;
    }

    span.yellow {
        background-color: #ff9f1a;
        padding: 5px 9px;
        font-size: 15px;
        color: #fff;
        border-radius: 5px;
    }
}

/*.img-bg-blue {
    background-image: url(../images/bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}*/

.draw {
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 77%;
    cursor: pointer !important;
    margin-top: 61px;

    .center-block {
        padding: 141px 40px;
        margin: 0 auto;
        text-align: center;

        label {
            color: #FF5722;
            font-size: 23px;
            font-family: 'Rubik', sans-serif;
        }
    }
}

.main-topic.db {
    padding: 2px 0 13px 0 !important;
}

.top-btn.db {
    margin: 23px 0 10px !important;
}

.table td a {
    color: #E91E63;
}

@media only screen and (max-device-width : 360px) {
    .draw .center-block {
        padding: 90px 40px !important;
    }
}

.main-db {
    h1 {
        margin: 0 auto;
        text-align: center;
        font-size: 2.5rem;
    }

    &:after {
        content: "";
        position: absolute;
        bottom: -16px;
        left: 0;
        right: 0;
        height: 0.5em;
        border-top: 2px solid #f2f2f2;
        z-index: -1;
    }
}


@media only screen and (max-device-width: 320px) {
    .card.pull-up {
        height: auto !important;
    }
}

.mt51 {
    margin-top: 51px !important;
    margin-bottom: -35px;
}


@media only screen and (max-device-width: 600px) {
    .gutters-tiny.push .tab {
        margin-top: 10px;
    }

    .mb20 {
        margin-bottom: 20px !important;
    }

    .custom-select.width-31 {
        width: 61% !important;
    }

    .top-btn {
        display: flex;
        padding: 0;
        text-align: right;
        left: 0;
        right: 0;
        width: 100%;
    }

    .top-btn.db {
        margin: 6px 0 10px !important;
    }

    .top-btn.inner {
        top: 27%;
    }


    .page-header .main-topic {
        padding: 2px 0 3px 0 !important;

        .page-title {
            font-size: 16px;
        }
    }

    .gutters-tiny .tabcontent.block {
        top: -17px;
    }

    .main-topic.inner .page-title.text-muted {
        font-size: 16px;
    }

    .main-topic.inner .page-title {
        /*width: -webkit-fill-available;*/
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }

    .xs-padd0 {
        padding: 0 !important;
    }
}

@media only screen and (min-device-width : 687px) and (max-device-width : 1024px) {
    .main-topic.inner .page-title {
        white-space: nowrap;
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }

    .card.pull-up, .block-content {
        height: auto !important;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .badge .text {
        padding: 25px 11px;
    }

    .draw {
        background-size: 98%;
        margin-top: 92px;

        .center-block {
            padding: 69px 40px;
        }
    }
}

@media only screen and (min-width : 1824px) {
    .block div {
        font-size: 34px;
        padding-top: 24px;
    }

    .badge .text {
        padding: 90px 11px;
    }
}

@media only screen and (min-device-width :1024px) and (max-device-width : 1366px) {

    .draw .center-block {
        padding: 141px 40px;
    }
}

.main-topic .btn-home {
    top: 2px;
}

.main-topic.inner .btn-home {
    top: -4px;
}

.ptb12 {
    padding: 9px 0 8px 0;
}

h5.page-title + h5.page-title + h5.page-title {
    clear: both;
}

.pl8 {
    padding-left: 8px !important;
}

.ml-auto h1 {
    font-size: 24px;
}

.ml-auto.mt-28 {
    margin-top: -28px !important;

    h1 {
        margin-bottom: 5px !important;
    }
}

.result-margin {
    margin-top: -38px;
    margin-left: 30px !important;

    h4 {
        margin-bottom: 6px;
        font-size: 18px;
    }
}

.newdb {
    .min-h .card .card-block {
        height: 131px !important;
        overflow-y: auto;
    }

    .card {
        border-radius: 5px;
        -webkit-box-shadow: 0 1px 20px 0 rgba(69,90,100,0.08);
        box-shadow: 0 1px 20px 0 rgba(69,90,100,0.08);
        border: none;
        margin-bottom: 30px;
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border-radius: .25rem;

        .card-header {
            background-color: transparent;
            border-bottom: none;
            padding: 25px 20px;
            padding: .1rem 1.25rem;
            margin-bottom: 0;
            border-top: 3px solid;
            border-bottom: 1px solid rgba(0,0,0,.125);
            height: 37px;

            &:first-child {
                border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
            }

            h3 {
                margin-bottom: 0;
                color: #505458;
                font-size: 17px;
                font-weight: 600;
                display: inline-block;
                margin-right: 10px;
                line-height: 1.4;
                position: relative;
                top: -2px;

                i {
                    margin-right: 6px;
                    font-size: 23px;
                    position: relative;
                    top: 4px;
                }

                .font-small {
                }
            }

            .card-header-right {
                border-radius: 0 0 0 7px;
                right: 10px;
                top: 7px;
                display: inline-block;
                float: right;
                padding: 1px 0;
                position: absolute;

                .card-option {
                    -webkit-transition: 0.3s ease-in-out;
                    transition: 0.3s ease-in-out;
                    display: inline-block;

                    i {
                        margin: 0 4px;
                        cursor: pointer;
                        font-size: 19px;
                        color: #333;
                        line-height: 20px;
                        font-weight: 900;
                    }

                    a i.red {
                        margin: 0 4px;
                        cursor: pointer;
                        font-size: 19px;
                        color: #F44336 !important;
                        line-height: 20px;
                        font-weight: 900;
                    }
                }
            }
        }

        .card-block {
            padding: 0 0;

            .table-responsive {
                display: inline-block;
                width: 100%;
                overflow-x: auto;
            }

            .table {
                margin-bottom: 0;

                thead {
                    border: 1px solid #dee2e6;
                    background: #f9fafc;
                }

                td, th {
                    border: none;
                    text-align: center;
                }
            }
        }


        .red-border {
            border-top-color: #e53935 !important;
        }

        .green-border {
            border-top-color: #43a047 !important;
        }

        .purple-border {
            border-top-color: #8e24aa !important;
        }

        .orange-border {
            border-top-color: #d35400 !important;
        }

        .maroon-border {
            border-top-color: #ff6348 !important;
        }

        .lightp-border {
            border-top-color: #5758BB !important;
        }

        .lavander-border {
            border-top-color: #ED4C67 !important;
        }

        .fblue-border {
            border-top-color: #0d4d7a !important;
        }

        .wgreen-border {
            border-top-color: #079992 !important;
        }

        .bred-border {
            border-top-color: #eb2f06 !important;
        }

        .dyellow-border {
            border-top-color: #e58e26 !important;
        }

        .bblue-border {
            border-top-color: #0c2461 !important;
        }

        .fflash-border {
            border-top-color: #ff7675 !important;
        }

        .fpurple-border {
            border-top-color: #5758BB !important;
        }

        .agreen-border {
            border-top-color: #A3CB38 !important;
        }

        .lgray-border {
            border-top-color: #E91E63 !important;
        }

        .dgray-border {
            border-top-color: #f7b731 !important;
        }

        .rose-border {
            border-top-color: #b71540 !important;
        }

        .lead-border {
            border-top-color: #7f8fa6 !important;
        }

        .pink-border {
            border-top-color: #82589F !important;
        }

        .blue-border {
            border-top-color: #6ab04c !important;
        }

        .brown-border {
            border-top-color: #6a2e18 !important;
        }

        .bgray-border {
            border-top-color: #42a6f6 !important;
        }

        .yellow-border {
            border-top-color: #FFC107 !important;
        }

        .card-header.red-border h3 i {
            color: #d92622 !important;
        }

        .card-header.yellow-border h3 i {
            color: #fca524 !important;
        }

        .card-header.green-border h3 i {
            color: #43a047 !important;
        }

        .card-header.purple-border h3 i {
            color: #8e24aa !important;
        }

        .card-header.orange-border h3 i {
            color: #d35400 !important;
        }

        .card-header.lightp-border h3 i {
            color: #5758bb !important;
        }

        .card-header.lavander-border h3 i {
            color: #ED4C67 !important;
        }

        .card-header.fblue-border h3 i {
            color: #0d4d7a !important;
        }

        .card-header.wgreen-border h3 i {
            color: #079992 !important;
        }

        .card-header.bred-border h3 i {
            color: #eb2f06 !important;
        }

        .card-header.dyellow-border h3 i {
            color: #e58e26 !important;
        }

        .card-header.bblue-border h3 i {
            color: #0c2461 !important;
        }

        .card-header.fflash-border h3 i {
            color: #ff7675 !important;
        }

        .card-header.fpurple-border h3 i {
            color: #5758BB !important;
        }

        .card-header.dgray-border h3 i {
            color: #f7b731 !important;
        }

        .card-header.rose-border h3 i {
            color: #b71540 !important;
        }

        .card-header.pink-border h3 i {
            color: #82589F !important;
        }

        .card-header.lead-border h3 i {
            color: #7f8fa6 !important;
        }

        .card-header.blue-border h3 i {
            color: #6ab04c !important;
        }

        .card-header.brown-border h3 i {
            color: #6a2e18 !important;
        }

        .card-header.bgray-border h3 i {
            color: #42a6f6 !important;
        }

        .card-header.maroon-border h3 i {
            color: #ff6348 !important;
        }
    }
}

.alignCenter {
    text-align: center !important;
}

.table .form-control {
    width: 42%;
    background: #fff;
    margin-bottom: 0;
}

@media only screen and (max-device-width : 767px) {
    .table .form-control {
        width: 100%;
        background: #fff;
        margin-bottom: 0;
    }

    .table-topic {
        font-size: 14px !important;
    }

    .tab-pane div h1 i {
        font-size: 40px;
        position: relative;
        top: -3px;
    }

    .header-topic {
        font-size: 20px;
        position: relative;
        top: 2px;
    }

    table.dashlet {
        th {
            font-size: 15px;
        }

        .material-checkbox > span::before {
            width: 18px;
            height: 18px;
        }
    }

    .newdb {
        .min-h .card .card-block {
            height: 170px !important;
            overflow-y: auto;
        }

        .card {
            .card-block {
                padding: 5px 0;
            }

            .card-header {
                height: 34px;

                h3 {
                    font-size: 15px;

                    i {
                        font-size: 19px;
                    }
                }
            }
        }
    }

    .table td, .table th {
        padding: 0.3rem;
    }

    .block div {
        font-size: 13px;
    }
}

.newdb.height252 .min-h .card .card-block {
    height: 252px !important;
}

.pTop15 {
    padding-top: 15px !important;
}

table.dashlet {
    th {
        border: 1px solid #dee2e6 !important;
        color: #F44336;
        font-weight: 600;
        font-size: 17px;
        text-align: left !important;
        padding-left: 12px;
    }

    tr td {
        text-align: left !important;
        padding-left: 12px;
    }
}

table.consolidate {
    tbody:first-child::before {
        content: '';
        display: block;
        height: 0;
    }

    tbody::before {
        content: '';
        display: block;
        height: 32px;
    }

    tbody {
        tr.total {
            td {
                font-weight: 700;
                background: rgb(215, 219, 228);
                color: #000000;
                border-right: 1px solid rgba(147, 151, 158, 0.47) !important;
                border: 1px solid rgba(147, 151, 158, 0.47);
            }
        }

        tr.head {
            td {
                font-weight: 700;
                background: rgba(165, 177, 201, 0.34);
                color: #000000;
                border-right: 1px solid rgba(165, 177, 201, 0.34) !important;
                border: 1px solid rgba(165, 177, 201, 0.34);
            }
        }

        tr.table-title {
            background: #0988ea;

            th {
                border: 1px solid #0988ea;
                color: #fff;
            }
        }
    }
}



/*fixed column*/


.zui-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;

    .zui-scroller {
        margin-left: 175px;
        overflow-x: scroll;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .zui-table {
        border: none;
        border-right: solid 1px #DDEFEF;
        border-collapse: separate;
        border-spacing: 0;

        thead th {
            background-color: #DDEFEF;
            border: none;
            color: #336B6B;
            padding: 10px;
            text-align: left;
            text-shadow: 1px 1px 1px #fff;
            white-space: nowrap;
        }

        tr {
            position: relative;
            width: 100%;
            height: 100%;
        }

        tbody {
            tr.head {
                .zui-sticky-col {
                    font-weight: 700;
                    background: rgb(215, 219, 228);
                    color: #000000;
                    border-right: 1px solid rgba(165, 177, 201, 0.34) !important;
                    border: 1px solid rgba(165, 177, 201, 0.34);
                }
            }

            tr.total {
                .zui-sticky-col {
                    font-weight: 700;
                    background: rgb(215, 219, 228);
                    color: #000000;
                    border-right: 1px solid rgba(147, 151, 158, 0.47) !important;
                    border: 1px solid rgba(147, 151, 158, 0.47);
                    border-right-color: rgba(147, 151, 158, 0.47);
                    border-right-style: solid;
                    border-right-width: 1px;
                }
            }

            tr.table-title {
                .zui-sticky-col {
                    background: #0988ea;
                    border: 1px solid #0988ea;
                    color: #fff;
                    height: 34px;
                }
            }

            td {
                padding: 3px 2px;
            }
        }

        .zui-sticky-col {
            border-left: solid 1px #DDEFEF;
            border-right: solid 1px #DDEFEF;
            left: 0;
            position: absolute;
            top: auto;
            width: 175px;
            background: #f2f2f2;
        }
    }
}

.bg-white.row.mb4 {
    margin: auto 0 13px 0;
}

@media only screen and (max-device-width : 767px) {
    .zui-wrapper {
        .zui-scroller {
            overflow-x: scroll;
            overflow-y: auto;
            margin-left: 106px;
        }

        .zui-table .zui-sticky-col {
            border-left: solid 1px #DDEFEF;
            border-right: solid 1px #DDEFEF;
            left: 0;
            position: absolute;
            top: auto;
            width: 107px;
        }

        .zui-table tbody tr.table-title {
            .zui-sticky-col {
                background: #0988ea;
                border: 1px solid #0988ea;
                color: #fff;
                height: 80px;
            }
        }
    }

    .bg-white.row.mb4 {
        margin: auto 0 2px 0;
    }
}

.table.zui-table td, .table.zui-table th {
    overflow: visible !important;
}
