﻿/*Theme customisation*/
.smart-style-2 #header {
    background-color: #2C3742;
}

.smart-style-2 .login-info span {
    background-color: #2C3742;
}

.smart-style-2 #inner-header {
    background-color: #2C3742;
}

/* GLOBAL OVERWRITE */
html {
    min-height: 100vh;
}

body {
    height: 100%;
}

    body .side-logo {
        position: fixed;
        left: 0;
        bottom: -5px;
        z-index: 2;
        background-repeat: no-repeat;
        width: 220px;
        height: 66px;
        /*background-image: url("../../Content/img/Petron-Logo.jpg");*/
        background-size: contain;
        overflow: hidden;
    }

    body.minified .side-logo {
        width: 45px !important;
        /*background-image: url("../../Content/img/Petron-Logo-Mini.jpg") !important;*/
    }

    body #left-panel {
        height: 100%;
        top: unset;
    }

        body #left-panel .login-info {
            padding-top: 0px;
        }

.smart-style-2.minified .login-info span {
    height: 45px;
    padding-top: 5px;
}

    .smart-style-2.minified .login-info span img {
    }

.smart-style-2.minified #left-panel {
    padding-top: 0 !important;
}

.login-info-username {
    white-space: inherit;
    display: inline;
}

.smart-style-2.minified .login-info-username {
    display: none;
}

.minified .login-info {
    padding-top: 0 !important;
}

#main-container {
    height: 100%;
    background: url(../img/mybg.png) #ffffff;
}

#main {
    height: 100%;
    padding-top: 50px;
    background: url(../img/mybg.png) #ffffff;
}

    #main #content {
        height: 100%;
        padding-top: 10px;
        background: url(../img/mybg.png) #ffffff;
    }

.modal-dialog.large {
    width: 850px;
}

#header {
    height: 50px;
}

@media screen and (max-width: 880px) and (min-width: 768px) {
    #header > div {
        display: block;
        vertical-align: middle;
        height: 37px;
        float: left;
    }

    #hide-menu > :first-child > a, .btn-header a {
        margin-top: 5px !important;
        width: 40px !important;
        height: 27px !important;
        line-height: 26px !important;
    }
}

#inner-header {
    margin-left: -14px;
    margin-right: -14px;
    margin-top: -10px;
    height: 50px;
    background-color: black;
    margin-bottom: 4px;
}

    #inner-header .breadcrumb {
        float: left;
        background-color: unset;
        color: white;
        margin-bottom: 0 !important;
    }

        #inner-header .breadcrumb li {
            line-height: 35px;
        }

    #inner-header .role-tag {
        float: right;
        margin-right: 20px;
        margin-top: 15px;
    }

        #inner-header .role-tag .label {
            font-size: 13px !important;
        }

.smart-style-2 #shortcut {
    background-color: rgba(0,0,0,0.9);
}

#div-ajax-content-page {
    height: 100%;
}

/* For the small screen model used*/
.modal-lg {
    max-width: 850px;
}

@media (min-width: 768px) {
    .modal-lg {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width: 850px;
    }
}

/*Trying to adjust the attachment name too long*/
.autospace {
    word-break: break-all;
    table-layout: fixed;
}

.filename {
    height: 23px;
    overflow: auto;
    display: block;
}

    .filename::-webkit-scrollbar {
        width: 5px !important;
        height: 0px !important;
        border-radius: 0.7em !important;
    }

    .filename::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
        display: none !important;
    }

    .filename::-webkit-scrollbar-thumb {
        background-color: darkgrey !important;
        outline: 0px solid slategrey !important;
        border-radius: 0.7em !important;
    }

.form-detail-btn {
    height: 32px;
    line-height: 32px;
    box-sizing: initial !important;
}

.tag.label.label-info {
    display: inline-block;
    margin: 3px 0px 3px 2px;
    color: #FFF;
    position: relative;
    line-height: 1;
    text-align: center;
}

span[data-role="remove"] {
    line-height: 1;
}

.jarviswidget .widget-body {
    min-height: 10px;
    background-color: #f7f7f7 !important;
}

.widget-body-overlay {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 999999;
    cursor: pointer;
}

    .widget-body-overlay .loading {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 50px;
        color: white;
        transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
    }

.easy-pie-title.s4 {
    width: 150px;
}

.smaller-stat span.label.wide {
    width: 80px;
}

.btn-header.btn-crumb > :first-child > a {
    margin-top: 5px;
    margin-right: 10px;
}

.select2-hidden-accessible {
    display: none;
}

.error-message {
    color: red;
}

/*simple tree*/
.tree > ul > li span.collapsed {
    font-weight: bolder;
}

.tree > ul > li span.observable {
    background-color: #cb749c;
    color: #ffffff;
    border-color: #8b0000;
}

.tree > ul > li span.editable {
    background-color: #a5e68c;
    color: #ffffff;
    border-color: #468847;
}

/*cursor helpers*/
.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.hidden-by-boundary {
    position: fixed;
    top: -100em;
}

.hidden-by-default {
    display: none;
}

/*Toggle custom styles*/
.toggle-container {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}



.table-header-middle thead > tr > td {
    text-align: center;
    vertical-align: middle !important;
}

.magnifier-container {
    position: absolute;
    width: auto;
    height: 35px;
    border: 1px solid #73AD21;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    display: none;
    color: aliceblue;
    font-size: 2em;
}

.dataTables_wrapper table {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.modal.modal-fixed-height .modal-body {
    max-height: 420px;
    overflow-y: auto;
}

.modal.modal-fixed-width .modal-body {
    overflow-x: hidden;
}

.modal-content-fixed-height {
    height: 420px;
}

.table.table-hrm {
    table-layout: fixed;
    word-wrap: break-word;
}

.progress-striped .progress-bar-gray {
    background-color: rgba(168, 168, 168, 1);
    background-image: -webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255, 255, 255, 0.15),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255, 255, 255, 0.15)),color-stop(0.75,rgba(255, 255, 255, 0.15)),color-stop(0.75,transparent),to(transparent)));
    background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, 0.15) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.15) 50%,rgba(255, 255, 255, 0.15) 75%,transparent 75%,transparent);
    background-image: linear-gradient(45deg,rgba(255, 255, 255, 0.15) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.15) 50%,rgba(255, 255, 255, 0.15) 75%,transparent 75%,transparent);
    background-size: 40px 40px;
}

.label.label-xs {
    font-style: normal;
    font-size: 0.65em;
}

.filter-item {
    min-height: 32px;
    display: flex;
}

    .filter-item label span {
        line-height: 32px !important;
    }

.smart-timeline-icon.icon-xs {
}

.super-compact-table {
}

    .super-compact-table thead tr td {
        background: #dddddd;
    }

    .super-compact-table tbody tr td {
        font-size: 0.8em;
    }

    .super-compact-table.hoverable tbody tr:hover {
        font-weight: bold;
    }

    .super-compact-table.hoverable tbody tr td:hover {
    }

    .super-compact-table tfoot tr td {
        font-size: 0.8em;
        background: #dddddd;
    }

    .super-compact-table tbody tr td input[type='text'] {
        border: none;
        width: 100%;
        height: 100%;
    }


/* PERIOD TREE */
.tree.period-select-tree ul ul {
    padding-top: 0;
}

.tree.period-select-tree li {
    position: relative;
    margin: 0;
    padding: 10px 0 10px 10px;
}

    .tree.period-select-tree li span {
        background: #3276b1;
        color: #fff;
        border: none;
        border-radius: 50%;
        position: absolute;
        display: inline-block;
        width: 32px;
        height: 32px;
        line-height: 28px;
        font-size: 14px;
        text-align: center;
        left: 0;
        top: 10px;
        z-index: 100;
        padding: 2px;
        text-decoration: none;
    }

    .tree.period-select-tree li:before {
        border-left: 2px solid #eee;
        bottom: 50px;
        height: 100%;
        top: -11px;
        left: -29px;
        width: 1px;
        z-index: 1;
    }

    .tree.period-select-tree li:after {
        border-top: 2px solid #eee;
        height: 20px;
        top: 25px;
        left: -27px;
        width: 27px;
        z-index: 1;
    }

.tree.period-select-tree > ul > li::after, .tree.period-select-tree > ul > li:before {
    border: 0;
}

.tree.period-select-tree li:last-child::before {
    height: 38px;
}

.period-select-tree-title {
    padding-top: 7px;
    margin-left: 35px;
}


/* PROGESS BUTTON*/
.widget-toolbar > .btn.edit-progress-btn {
    margin-top: -3px;
    padding: 0 !important;
    border: none;
}


/* TASK LIST */
.who.taskList {
    padding: 10px;
}

.from.taskListDescriptions {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* CUSTOM TABLE CELL SETTING*/
.table-checkbox-header-cell {
    text-align: center;
    width: 60px;
}

.table-checkbox-cell {
    border-top-width: 1px !important;
}

    .table-checkbox-cell .checkbox {
        align-self: center;
        margin-bottom: 24px !important;
        margin-left: 20px;
        margin-right: 20px;
        padding: 0 0 0 0;
    }

table thead th.sorting {
    position: relative;
    cursor: pointer;
}

    table thead th.sorting:after,
    table thead th.sorting.asc:after,
    table thead th.sorting.desc:after {
        position: absolute;
        top: 10px;
        right: 8px;
        display: block;
        font-family: FontAwesome;
        font-size: 1.5em;
    }

    table thead th.sorting:after {
        content: "\f0dc";
        color: #ddd;
        font-size: 0.8em;
        padding-top: 0;
        margin-top: 0;
    }

    table thead th.sorting.asc:after {
        color: #468847;
        content: "\f0de";
    }

    table thead th.sorting.desc:after {
        margin-top: -0.45em;
        color: #b94a48;
        content: "\f0dd";
    }

table caption {
    /*border: 1px solid #bdbdbd !important;*/
    padding: 5px 5px 5px 5px;
    top: 10px;
    right: 8px;
    color: #333;
    font-family: FontAwesome;
    font-weight: bold;
    font-size: 1.5em;
}

/* CHECKBOXES */
.smart-form .checkbox input:checked:hover + i:after {
    content: '\f00c' !important;
}

label[class="checkbox"] i.overridden-access {
    color: red;
    border: 2px solid red !important;
    margin-top: -2px;
}

label[class="checkbox"] i.footer-checkbox {
    margin-top: -3px;
}

/* RADIO BUTTON*/
.smart-form .radio input + i:after {
    background-color: #3276B1;
}

/* CUSTOM ALIGNMENT SETTING*/
.form-group {
    height: 55px !important;
}

.wrap-flexbox {
    display: flex; /* [1] */
    justify-content: center; /* [2] */
}

.inner-flexbox-center {
    align-self: center; /* [3] */
}

.auto-height {
    height: auto !important;
}

.no-height {
    height: 0 !important;
}

.no-float {
    float: none !important;
}

.full-width {
    width: 100% !important;
}

/* BORDER */
.no-border {
    border: 0 !important;
}

.no-border-top {
    border-top: 0 !important;
}

.no-border-bottom {
    border-bottom: 0 !important;
}

.no-border-left {
    border-left: 0 !important;
}

.no-border-right {
    border-right: 0 !important;
}

/* PADDING */
.no-padding {
    padding: 0 !important;
}

.no-padding-left {
    padding-left: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.padding-5 {
    padding: 5px !important;
}

.padding-10 {
    padding: 10px !important;
}

.padding-15 {
    padding: 15px !important;
}

.padding-20 {
    padding: 20px !important;
}

.padding-top-5 {
    padding-top: 5px !important;
}

.padding-top-10 {
    padding-top: 10px !important;
}

.padding-top-15 {
    padding-top: 15px !important;
}

.padding-top-20 {
    padding-top: 20px !important;
}

.padding-bottom-5 {
    padding-bottom: 5px !important;
}

.padding-bottom-7 {
    padding-bottom: 7px !important;
}

.padding-bottom-10 {
    padding-bottom: 10px !important;
}

.padding-bottom-15 {
    padding-bottom: 15px !important;
}

.padding-bottom-20 {
    padding-bottom: 20px !important;
}

.padding-bottom-25 {
    padding-bottom: 25px !important;
}

.padding-top-bottom-5 {
    padding: 5px 0;
}

/* MARGIN */
.no-margin {
    margin: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.margin-5 {
    margin: 5px !important;
}

.margin-10 {
    margin: 10px !important;
}

.margin-15 {
    margin: 15px !important;
}

.margin-20 {
    margin: 20px !important;
}

.margin-top-5 {
    margin-top: 5px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-bottom-15 {
    margin-bottom: 15px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-left-5 {
    margin-left: 5px !important;
}

.margin-left-10 {
    margin-left: 10px !important;
}

.margin-left-15 {
    margin-left: 15px !important;
}

.margin-left-20 {
    margin-left: 20px !important;
}

.margin-right-5 {
    margin-right: 5px !important;
}

.margin-right-10 {
    margin-right: 10px !important;
}

.margin-right-15 {
    margin-right: 15px !important;
}

.margin-right-20 {
    margin-right: 20px !important;
}

.margin-left-50p {
    margin-left: 50%;
}

/* BOOTSTRAP CUSTOM VALIDATOR */
.inputGroupContainer i.form-control-feedback {
    top: 23px !important;
}


/* WIZARD */
.wizardStepBar.forBudgetStage .nav-tabs {
    border-bottom: none;
}

    .wizardStepBar.forBudgetStage .nav-tabs li span.title {
        margin-top: -10px;
        padding-bottom: 10px;
    }

/* TAB for details */
.nav-tabs.for-well {
	margin-left: -13px;
	margin-right: -13px;
}

/*font-awesome*/
.fa.fa-h4 {
    line-height: 22px;
}

/* font */
.font-12 {
    font-size: 12px !important;
}

.font-15 {
    font-size: 15px !important;
}

.font-weight-lighter {
    font-weight: lighter;
}

.font-weight-normal {
    font-weight: normal;
}

.font-weight-bold {
    font-weight: bold;
}

.font-weight-100 {
    font-weight: 100;
}

.font-weight-200 {
    font-weight: 200;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-700 {
    font-weight: 700;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-900 {
    font-weight: 900;
}

/* loading css */
.spinner {
    margin: 10px auto 0;
    width: 70px;
    text-align: center;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: #333;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* PAGING */
footer ul li a.btn-page {
    width: 40px;
}

.pagination.pagination-alt > li.active .btn {
    background-color: #f7f7f7;
    color: #070707;
}

.pagination.pagination-alt > li .btn {
    background-color: #f7f7f7;
}
/* FONT */
.font-bold {
    font-weight: bold;
}

.line-height-150 {
    line-height: 150%;
}

.line-height-2 {
    line-height: 2.5;
}

.font-underline {
    text-decoration: underline;
}

/* TEXT ALIGNMENT*/
.text-align-left {
    text-align: left !important;
}

.text-align-center {
    text-align: center !important;
}

.valign-middle {
    vertical-align: middle !important;
}

/* SELECT 2 DROPDOWNBOX */
.select2-container .select2-choice span.select2-arrow {
    border: 0;
    background: none;
}

.select2-container-multi ul.select2-choices {
    line-height: 20px; /*Fix dropdown padding*/
    height: auto;
}

.has-feedback.has-success .select2-container .select2-choice {
    border: 1px solid #468847;
}

.select2-overflow {
    /*overflow: auto;*/
    border: 1px solid #bdbdbd;
}

div.select2-container {
    border: 0 !important;
}

div.select2.bordered {
    border: 1px solid #bdbdbd !important;
}

/*div.select2-container-multi {
    border: 1px solid #bdbdbd !important;
}*/

input.select2-input.select2-default {
    padding-left: 10px !important;
}

.select2.form-control {
    height: 31px !important;
}

.form-no-control {
    display: block;
    width: 100%;
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(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;
}

    .form-no-control:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    }

    .form-no-control::-moz-placeholder {
        color: #999;
        opacity: 1;
    }

    .form-no-control:-ms-input-placeholder {
        color: #999;
    }

    .form-no-control::-webkit-input-placeholder {
        color: #999;
    }

    .form-no-control::-ms-expand {
        border: 0;
        background-color: transparent;
    }

    .form-no-control[disabled], .form-no-control[readonly], fieldset[disabled] .form-no-control {
        background-color: #eee;
        opacity: 1;
    }

    .form-no-control[disabled], fieldset[disabled] .form-no-control {
        cursor: not-allowed;
    }

.container-wrapper {
    background-image: url('~/content/img/logo3.jpg');
    /* if the image repeats nicely, tile it, using background-repeat */
    background-repeat: repeat; /* repeat-x, repeat-y and no-repeat are options */
    /* alternatively, you could stretch it to fit the div, using background-size */
    background-size: 100% 100%;
}


/* HEADER */
#logo-group {
    height: 100% !important; /* match header height */
    width: 70% !important;
    float: left;
}

    #logo-group img :first-of-type {
        width: 200px;
    }

    #logo-group img :first-of-type {
        width: 200px;
    }

    #logo-group img {
        height: 100%; /* match header height */
        float: left;
    }

    #logo-group > span {
        float: right;
    }

/* noUI Slider */
.alphabet-slider {
    border-radius: 50%;
    height: 25px;
    width: 25px;
    color: white;
    position: relative;
    border-color: #858585;
    line-height: 25px;
    right: 10px;
    bottom: 5px;
}

    .alphabet-slider.noUi-active:after {
        display: none;
    }
/* EASY PIE CHART */
.easy-pie-chart .percent {
    top: 45%;
}

.degree-sign:after, .percent-sign:after {
    content: "%";
}

.fa.fa-easy-pie {
    position: absolute;
}

.easyPieInfo {
    font-size: 2.0em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    display: block;
}

    .easyPieInfo small {
        display: block;
        font-size: .5em;
        font-weight: normal;
        margin-bottom: 8px;
    }

.separator-right {
    border-right: 1px solid rgba(0,0,0,.07);
}

/* OVERFLOW */
.overflow-container {
    overflow: hidden;
}

.overflow-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.overflow-icon {
    position: absolute;
    font-size: 15em;
    opacity: 0.10;
    right: -30px;
    bottom: -100px;
    transform: rotate(-20deg);
}

.overflow-icon2 {
    position: absolute;
    font-size: 5em;
    opacity: 0.10;
    left: -10px;
    top: -20px;
    transform: rotate(20deg);
}

.overflow-icon.timeline {
    position: fixed;
    right: 25px;
    bottom: -40px;
    transform: none;
}

.overflow-height {
    overflow-y: auto;
    overflow-x: hidden;
}

.depth-2 {
    z-index: 2;
}

.depth-5 {
    z-index: 5;
}

/* QUICK ACTION */
.quick-action-title {
    position: absolute;
    font-weight: bold;
}

.overflow-fa-action {
    position: relative;
    font-size: 4em;
    opacity: 0.15;
    left: 50%;
}

.border-grey {
    border-color: #e2e2e2;
}

.widget-body-toolbar {
    background: none;
}
/* CALENDAR */
#calendar {
    margin-top: -18px;
}

#calendar-buttons {
    top: 50px;
}

.fc-header-title h2 {
    text-shadow: 0 1px 0 #fff;
    margin-top: -12px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 0;
}

.calendar-event-remove {
    position: absolute;
    right: 0px;
    top: 0px;
    padding-top: 5px;
    padding-right: 5px;
}

/* NOTIFICATIONS */
#divNotification {
    margin-right: 10px;
}

    #divNotification .ajax-dropdown {
        padding-top: 0px !important;
        left: unset !important;
        right: 10px !important;
        height: 440px;
    }

        #divNotification .ajax-dropdown:before {
            left: unset !important;
            right: 18px !important;
        }

        #divNotification .ajax-dropdown:after {
            left: unset !important;
            right: 18px !important;
        }

.notification-body {
    margin-top: 10px;
}

.notificationButton {
    margin: 2px 5px;
}

.overflow-fa-notification {
    position: absolute;
    font-size: 10em;
    opacity: 0.10;
    right: -20px;
    bottom: 20px;
    transform: rotate(20deg);
}

.notification-header {
    height: 20px;
    text-align: center;
}

.notification-card {
    height: 45px;
    width: 260px;
}

.notification-btn {
    margin-top: 10px;
}

.badge.badge-right {
    border: 1px solid white;
    margin-right: 15px;
    margin-top: 10px;
    height: 15px;
    line-height: 0.9em !important;
}

blockquote.twitter-tweet {
    background: #ffffff;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

    blockquote.twitter-tweet p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        margin-bottom: 15px;
    }


/* APPROVAL LIST */
.who.approvalList {
    padding: 10px;
    border-bottom: none;
    margin-bottom: 0;
}

.status .who .name b {
    color: inherit;
}

.from.approvalListDescriptions {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding-right: 10px;
}

/* TEXT AREA AUTO-RESIZE*/
.autoresize {
    resize: none;
    overflow: hidden;
    min-height: 50px;
}

.grow {
    max-height: 500px;
    background: white;
}

.approvalListButton {
    position: relative;
}

/* RECENT ACTIVITY */
time.icon strong {
    box-shadow: 0 2px 0 #a90329;
}

/* TIMELINE */
.btn-circle.btn-xl.btn-timeline {
    position: absolute;
    left: -15px;
    top: -15px;
    z-index: 5;
}

    .btn-circle.btn-xl.btn-timeline i {
        color: #e3e3e3;
        position: relative;
        top: 2px;
    }

.btn-labeled.btn-timeline {
    position: absolute;
    left: 32px;
    top: 24px;
    z-index: 5;
}

.booking-timeline-icon {
    background: #3276b1;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    width: 32px;
    height: 32px;
    line-height: 28px;
    font-size: 14px;
    text-align: center;
    left: 10px;
    top: 10px;
    z-index: 100;
    padding: 2px;
}

.booking-timeline {
    position: relative;
}

.booking-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .booking-timeline-list:after {
        content: " ";
        background-color: #eee;
        position: absolute;
        display: block;
        width: 2px;
        top: 0;
        left: 25px;
        bottom: 0;
        z-index: 1;
    }

.booking-timeline-time {
    /*float: left;*/
    /*width: 70px;*/
    text-align: left;
}

    .booking-timeline-time > small {
        font-style: italic;
    }

.booking-timeline-content {
    margin-left: 50px;
}

.booking-timeline-list li {
    position: relative;
    margin: 0;
    padding: 15px 0;
}

.booking-timeline-list > li:hover {
    background-color: #f4f4f4;
}

.booking-timeline-hover li:hover {
    background-color: #f9f9f9;
}


.timeline-centered {
    position: relative;
}

    .timeline-centered:before, .timeline-centered:after {
        content: " ";
        display: table;
    }

    .timeline-centered:after {
        clear: both;
    }

    .timeline-centered:before, .timeline-centered:after {
        content: " ";
        display: table;
    }

    .timeline-centered:after {
        clear: both;
    }

    .timeline-centered:before {
        content: '';
        position: absolute;
        display: block;
        width: 4px;
        background: #f5f5f6;
        left: 50%;
        top: 20px;
        bottom: 20px;
        margin-left: -4px;
    }

    .timeline-centered .timeline-entry {
        position: relative;
        width: 50%;
        float: right;
        margin-bottom: 15px;
        clear: both;
    }

        .timeline-centered .timeline-entry:before, .timeline-centered .timeline-entry:after {
            content: " ";
            display: table;
        }

        .timeline-centered .timeline-entry:after {
            clear: both;
        }

        .timeline-centered .timeline-entry:before, .timeline-centered .timeline-entry:after {
            content: " ";
            display: table;
        }

        .timeline-centered .timeline-entry:after {
            clear: both;
        }

        .timeline-centered .timeline-entry.begin {
            margin-bottom: 0;
        }

        .timeline-centered .timeline-entry.left-aligned {
            float: left;
        }

            .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner {
                margin-left: 0;
                margin-right: -18px;
            }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-time {
                    left: auto;
                    right: -100px;
                    text-align: left;
                }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-icon {
                    float: right;
                }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-label {
                    margin-left: 0;
                    margin-right: 70px;
                }

                    .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-label:after {
                        left: auto;
                        right: 0;
                        margin-left: 0;
                        margin-right: -9px;
                        -moz-transform: rotate(180deg);
                        -o-transform: rotate(180deg);
                        -webkit-transform: rotate(180deg);
                        -ms-transform: rotate(180deg);
                        transform: rotate(180deg);
                    }

        .timeline-centered .timeline-entry .timeline-entry-inner {
            position: relative;
            margin-left: -22px;
        }

            .timeline-centered .timeline-entry .timeline-entry-inner:before, .timeline-centered .timeline-entry .timeline-entry-inner:after {
                content: " ";
                display: table;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:after {
                clear: both;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:before, .timeline-centered .timeline-entry .timeline-entry-inner:after {
                content: " ";
                display: table;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:after {
                clear: both;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
                position: absolute;
                left: -100px;
                text-align: right;
                padding: 10px;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span {
                    display: block;
                }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span:first-child {
                        font-size: 15px;
                        font-weight: bold;
                    }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span:last-child {
                        font-size: 12px;
                    }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
                background: #fff;
                color: #737881;
                display: block;
                width: 40px;
                height: 40px;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
                -webkit-border-radius: 20px;
                -moz-border-radius: 20px;
                border-radius: 20px;
                text-align: center;
                -moz-box-shadow: 0 0 0 5px #f5f5f6;
                -webkit-box-shadow: 0 0 0 5px #f5f5f6;
                box-shadow: 0 0 0 5px #f5f5f6;
                line-height: 40px;
                font-size: 15px;
                float: left;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-primary {
                    background-color: #303641;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-secondary {
                    background-color: #ee4749;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-success {
                    background-color: #00a651;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-info {
                    background-color: #21a9e1;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-warning {
                    background-color: #fad839;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-danger {
                    background-color: #cc2424;
                    color: #fff;
                }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
                position: relative;
                background: #f5f5f6;
                padding: 15px;
                margin-left: 70px;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                text-align: center;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label:after {
                    content: '';
                    display: block;
                    position: absolute;
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 9px 9px 9px 0;
                    border-color: transparent #f5f5f6 transparent transparent;
                    left: 0;
                    top: 10px;
                    margin-left: -9px;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2, .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p {
                    color: #737881;
                    font-family: "Open Sans", Arial, Helvetica, Sans-Serif;
                    font-size: 12px;
                    margin: 0;
                    line-height: 1.428571429;
                }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p + p {
                        margin-top: 15px;
                    }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 {
                    font-size: 16px;
                    font-weight: bold;
                    margin-bottom: 10px;
                }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 a {
                        color: #303641;
                    }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 span {
                        -webkit-opacity: .6;
                        -moz-opacity: .6;
                        opacity: .6;
                        -ms-filter: alpha(opacity=60);
                        filter: alpha(opacity=60);
                    }

/*WEBCAM*/
.webcam-video-container {
    text-align: center;
}

.webcam-video {
    max-width: 480px;
    max-height: 360px;
}

.webcam-photo-container {
    max-width: 432px;
    max-height: 324px;
    border: 1px solid #999;
}

.question-bank-photo {
    width: 100%;
    height: 100%;
}

.webcam-photo-container-small {
    max-width: 324px;
    max-height: 243px;
    border: 1px solid #999;
}

.default-profile {
    width: auto !important;
    height: auto !important;
}


/* USER MATRIX table border*/
table.table-cell-bordered tbody td, table.table-bordered tbody th {
    border-left-width: 1px;
    border-bottom-width: 1px;
}

table.table-cell-bordered td:last-child, table.table-bordered th:last-child {
    border-right-width: 1px;
}

table.table-bordered.force-outer-border {
    table-layout: auto;
    border: 1px solid #ddd !important;
}

@media only screen and (min-width: 320px) and (max-width: 1024px) {
    table.dt_basic {
        overflow-x: auto;
        display: block;
    }

    .tblReminder {
        text-align: center;
        display: inline;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
    table.dt_basic {
        overflow-x: auto;
        display: block;
    }

    .tblReminder {
        text-align: center;
        display: inline;
    }
}

/* MULTILINE ELLIPSIS */
/* styles for '...' */
.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}
    /* create the ... */
    .block-with-text:before {
        /* points in the end */
        content: '...';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of block */
        right: 0;
        bottom: 0;
    }
    /* hide ... if we have text, which is less than or equal to max lines */
    .block-with-text:after {
        /* points in the end */
        content: '';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of text */
        right: 0;
        /* set width and height */
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        /* bg color = bg color under block */
        background: white;
    }

.mykad-modal-body {
    text-align: center;
}

.mykad-status-box {
    padding-top: 40px;
    height: 160px;
}

.mykad-modal-body #mykadStatus {
    font-size: larger;
}


/* PASSWORD STRENGTH INDICATOR*/

div.pass-container {
    height: 30px;
}

div.pass-bar {
    height: 11px;
    margin-top: 2px;
    border-radius: 13px;
}

div.pass-hint {
    color: #333;
    font-family: verdana;
    font-size: 10px;
    font-weight: bold;
}


/* Reminder */
.reminder {
    margin-top: 6px;
    padding: 0 1px;
    font-size: 13px;
    line-height: 15px;
    color: #F00;
}


/* DataTable */

.table.dataTable thead .sorting {
    background: none;
}

.dropdown-fromright {
    right: 0 !important;
    left: auto;
}

/*.no-padding .dataTables_wrapper table {
    border: 1px solid #ddd !important;
    margin-bottom: 0!important;
    border-bottom-width: 0!important
}*/

/* Filter panel */
.smart-form .filter-container {
    width: 100% !important;
}


/*Question bank clear button*/
.smart-form .input-file .button .clearImage {
    position: absolute;
    margin: auto;
    font-size: 18px;
    cursor: pointer;
    color: #ccc;
    top: 12%;
    left: -20px;
    z-index: 5;
}


.smart-form .input-file .button {
    overflow: visible;
}

.questionTitle {
    font-size: 18px;
    padding-bottom: 18px;
    padding-top: 10px;
}

.questionDesc {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 15px;
}

.hr-divider {
    clear: both;
    display: run-in;
    width: 100%;
    background-color: grey;
    height: 1px;
}

.dropdown-menu li a.disable {
    pointer-events: none;
    cursor: default;
    color: lightgrey;
}

.btn-sq-lg {
    width: 150px !important;
    height: 150px !important;
}

.btn-sq {
    width: 100px !important;
    height: 100px !important;
    font-size: 10px;
}

.btn-sq-sm {
    width: 50px !important;
    height: 50px !important;
    font-size: 10px;
}

.btn-sq-xs {
    width: 25px !important;
    height: 25px !important;
    padding: 2px;
}

.inp {
    font-size: 15px;
    width: 60px;
    text-align: center;
    padding: 5px;
}

.imageMaxWidth {
    max-width: 100%;
}

.imagePreviewMaxWidth {
    max-width: 220px;
}

.control-label i {
    display: none;
}

.control-label.mandatory i {
    display: inline-block;
    color: red;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.inner-table-editor {
    background-color: aliceblue;
    padding: 0 0 0 0 !important;
}

    .inner-table-editor > div {
        padding: 8px 20px 8px 20px;
    }

    .inner-table-editor .form-group .btn {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 22px;
    }

.inner-table tr.editing td {
    background-color: oldlace;
}

.image-cropper {
    width: 100%;
    cursor: pointer;
    min-height: 50px;
}

/* USER MATRIX table border*/
table.table-cell-bordered tbody td, table.table-bordered tbody th {
    border-left-width: 1px;
    border-bottom-width: 1px;
}

table.table-cell-bordered td:last-child, table.table-bordered th:last-child {
    border-right-width: 1px;
}

/*.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f5f5f5;
}*/


/* MULTILINE ELLIPSIS */
/* styles for '...' */
.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}
    /* create the ... */
    .block-with-text:before {
        /* points in the end */
        content: '...';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of block */
        right: 0;
        bottom: 0;
    }
    /* hide ... if we have text, which is less than or equal to max lines */
    .block-with-text:after {
        /* points in the end */
        content: '';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of text */
        right: 0;
        /* set width and height */
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        /* bg color = bg color under block */
        background: white;
    }


/* CHARTS */
.dygraph-legend {
    width: 300px !important;
    right: 0px;
    left: unset !important;
}

.mobile-detected .d3pie-article {
    height: 350px;
    margin-bottom: 0px;
}

.d3pie-article {
    margin-bottom: 30px;
    height: 300px;
    position: relative
}

.mobile-detected .d3dpie {
    transform: scale(1,1) translate(0%,0%);
}

.d3dpie {
    margin-top: -30px;
    width: 100%;
    height: 100%;
    position: relative;
    position: absolute;
    transform: scale(1.1,1.1) translate(6%,0%);
}

    .d3dpie svg {
    }

    .d3dpie path.slice {
        stroke-width: 2px;
    }

    .d3dpie polyline {
        opacity: .3;
        stroke: black;
        stroke-width: 2px;
        fill: none;
    }

    .d3dpie svg text.percent {
        fill: white;
        text-anchor: middle;
        font-size: 12px;
        -webkit-text-stroke: 1px black;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    }

#ui-datepicker-div {
    z-index: 9999 !important;
}


ul#sparks {
    text-align: center !important;
    margin-top: 0px;
    min-height: 50px;
}

    ul#sparks .sparks-info {
        min-height: 40px;
        padding-top: 10px !important;
    }


.form-control[value='undefined'] {
    color: #FF3030;
}

.force-line-break {
    -ms-word-break: break-all;
    word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

kbd.api {
    background-color: darkcyan;
}

    kbd.api i {
        color: lemonchiffon;
    }

.cg-option ul li.hidden {
    display: none;
}

.copyright-div {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2;
    font-size: 0.9em;
}

body.minified .copyright-div {
    display: none;
}

.dashboard-widget > section > .row {
    margin: 20px 0 20px 0;
}

.table-header-underline {
    border-bottom: 1px solid #c8c8c8;
    border-bottom: 1px solid rgba(200,200,200,0.8);
}

.transaction-widget-item table td em {
    display: block;
    color: gray;
    font-size: 0.8em;
}

.double-height-td {
    line-height: 2.5em !important;
}

#inner-header .header-menu {
    padding-left: 0;
    height: 30px;
    margin-top: 10px;
    margin-right: 10px;
}

    #inner-header .header-menu li img {
        height:25px;
        margin-top: -5px;
        margin-right: 5px;
        border-radius: 5px;
    }

    #inner-header .header-menu li span {
        line-height: 30px;
        color: aliceblue;
    }
