@media not print {
    .print-show {
        display: none;
    }
}

/** Print stylesheet **/
@media print {
    .navbar-static-side, .footer, .nav.nav-tabs, .print-hidden, .dropdown-select {display: none;}
    #page-wrapper {margin-left: 0; min-height: 0 !important;}
    .border-bottom, .tabs-container .tab-pane .panel-body {border: none !important}
    .wrapper-content {padding-bottom: 0;}
    .ibox {margin-bottom: 0;}
    .ibox-content {border-width: 0; padding-bottom: 0; padding-top: 0;}

    table tr td,
    table tr th {
        page-break-inside: avoid;
    }

    table tbody {
        page-break-inside: avoid;
    }

    .no-break-wrapper {
        display: block;
        page-break-inside: avoid !important;
        margin: 4px 0 4px 0;
    }

    a[href]:after {
        content: none !important;
    }
    .print-visible-cell {
        display: table-cell !important;
    }

    .print-visible-inline-block {
        display: inline-block !important;
    }

    input.print-no-border {
        border: none;
    }
}

.sidebar-logo {
    max-width: 160px;
    margin-bottom: 10px;
}

.print-visible-cell, .print-visible-inline-block {
    display: none;
}

table.table-vertical-middle > tbody > tr > td,
table.table-vertical-middle > tbody > tr > th,
table.table-vertical-middle > thead > tr > th {
    vertical-align: middle;
}

.text-grey {
    color: #969696;
}

.reorder {
    cursor: move;
}

.text-center-both {
    vertical-align: middle !important;
    text-align: center !important;
}

.form-row {
    margin-bottom: 25px;
}

.overflow-auto {
    overflow: auto;
}

.text-center {
    text-align: center;
}

.nested-form-header {
    padding-top: 7px;
    font-weight: bold;
    padding-bottom: 10px;
}

/** End of print stylesheet**/
.curtain {
    z-index: 2100;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#page-wrapper.full-width {
    margin-left: 0;
}

button.btn.btn-link {
    border: 0;
    margin-bottom: 3px;
    padding: 0;
}

button.btn.btn-link.icon-space {
    margin-left: 10px;
}

button.btn.btn-link {
    color: #337ab7;
}

button.btn.btn-link:focus, button.btn.btn-link:hover {
    color: #23527c;
}

td.highlight {
    background: rgba(26, 148, 179, 0.20);
}

.btn.btn-close {
    font-size: 1.2em;
    background: #605F61;
    color: #fff;
    border: 0;
}

.btn.btn-close:hover, .btn.btn-close:active {
    background: #504F51;
    color: #fff;
    border: 0;
}

td.col-center, th.col-center {
    text-align: center;
}

.header-center > th, .header-center > td {
    text-align: center;
}

/**** iconmoon ****/
@font-face {
    font-family: 'icomoon';
    src:    url('fonts/icomoon.eot?ql6kau');
    src:    url('fonts/icomoon.eot?ql6kau#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?ql6kau') format('truetype'),
    url('fonts/icomoon.woff?ql6kau') format('woff'),
    url('fonts/icomoon.svg?ql6kau#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-class:before {
    content: "\e900";
}
/**** End of iconmoon ****/

tr.row-center > th, tr.row-center > td {
    text-align: center;
}

.section-title {
    margin-bottom: 20px;
}

.table-with-select .Select-control {
    overflow: auto;
}

.margin-top-form {
    margin-top: 15px;
}

.tooltip-inner {
    white-space: pre-wrap;
}

.ibox-content a.no-deco {
    color: rgb(103, 106, 108) !important;
    text-decoration:none;
}

table.table-dark-header th {
    background-color: rgba(34, 34, 34, 0.03);
}

table.table-centered > tbody > tr > th, table.table-centered > tbody > tr > td,
table.table-centered > thead > tr > th, table.table-centered > thead > tr > td {
    text-align: center;
    vertical-align: middle;
}

.not-found {
    font-weight: bold;
}

.index-override * {
    z-index: 2000;
}

.input-group-addon.input-group-addon-middle {
    border-left: 0;
    border-right: 0;
}

.modal-dialog {
    width: auto; min-width: 600px;
}

.modal-body{
    max-height: calc(100vh - 150px);
    max-width: calc(100vw - 200px);
    overflow-x: auto;
    overflow-y: auto;
}

.modal-workflows .modal-body {
    overflow-x: visible;
    overflow-y: visible;
}

.modal-preview-embed {
    min-height: 500px;
}

@media (min-height: 768px) {
    .modal-preview-embed {
        min-height: 550px;
    }
}

@media (min-height: 900px) {
    .modal-preview-embed {
        min-height: 700px;
    }
}

@media (min-height: 1000px) {
    .modal-preview-embed {
        min-height: 800px;
    }
}

@media (min-height: 1100px) {
    .modal-preview-embed {
        min-height: 900px;
    }
}

@media (min-width: 1200px) {
    .modal-preview-embed {
        min-width: 1000px;
    }
}

@media (min-width: 1600px) {
    .modal-preview-embed {
        min-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .modal-preview-embed {
        min-width: 1600px;
    }
}

.label-canceled {
    color: #FFFFFF;
    background-color: #969696;
    border-color: #8A8A8A;
}

.text-theme {
    color: #179d82;
}

.float-right {
    float: right;
}

.btn-sm-narrow {
    padding: 3px 6px;
}

.input-sm {
    font-size: 12px;
}

.-sm {
    font-size: 12px;
}

.bold {
    font-weight: bold;
}

a.sort-asc:after {
    position: absolute;
    font-weight: bold;
    padding-left: .6em;
    content: '\f106';
    font-family: FontAwesome;
}

a.sort-desc:after {
    position: absolute;
    font-weight: bold;
    padding-left: .6em;
    content: '\f107';
    font-family: FontAwesome;
}

/**** btn-canceled ****/
.btn-canceled {
    color: #FFFFFF;
    background-color: #969696;
    border-color: #8A8A8A;
}

.btn-canceled:hover,
.btn-canceled:focus,
.btn-canceled:active,
.btn-canceled.active,
.open .dropdown-toggle.btn-canceled {
    color: #FFFFFF;
    background-color: #8a8a8a;
    border-color: #8A8A8A;
}

.btn-canceled:active,
.btn-canceled.active,
.open .dropdown-toggle.btn-canceled {
    background-image: none;
}

.btn-canceled.disabled,
.btn-canceled[disabled],
fieldset[disabled] .btn-canceled,
.btn-canceled.disabled:hover,
.btn-canceled[disabled]:hover,
fieldset[disabled] .btn-canceled:hover,
.btn-canceled.disabled:focus,
.btn-canceled[disabled]:focus,
fieldset[disabled] .btn-canceled:focus,
.btn-canceled.disabled:active,
.btn-canceled[disabled]:active,
fieldset[disabled] .btn-canceled:active,
.btn-canceled.disabled.active,
.btn-canceled[disabled].active,
fieldset[disabled] .btn-canceled.active {
    background-color: #969696;
    border-color: #8A8A8A;
}

.btn-canceled .badge {
    color: #969696;
    background-color: #FFFFFF;
}
/**** btn-canceled ****/

/**** panel-canceled ****/
.panel-canceled {
    border-color: #969696;
}
/**** panel-canceled ****/

.form-group .error,
.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
  color: #ed5565;
}

.text-green {color: #3c763d;}
.help-block {
  font-style: italic;
  margin-bottom: 0;
}
.btn + .btn {
  margin-left: 5px;
}
.control-label.required:after, span.required:after {
  content: '*'; color: #ed5565; font-size: 11px;
}
.nl2br {
  white-space: pre-line;
}
.col-serial {
  width: 35px;
}
.p-r {
  padding-right: 15px;
}
.p-l {
  padding-left: 15px;
}

.sweet-alert-wrapper {
  display: inline-block;
}
.btn + .sweet-alert-wrapper {
  margin-left: 5px;
}
/*.sweet-alert {
  margin-top: -350px;
}*/
.sweet-alert button.confirm[disabled] {
  color: white;
}
.table>tbody>tr.odd, .table>thead>tr.odd {
  background-color: #f9f9f9;
}

/*****Start JDatepicker customisation******/
.ui-widget-header {
  background: #1ab394;
  border: 1px solid #1ab394;
}
.ui-widget-content {
  color: #676a6c;
  border: 1px solid #e5e6e7;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border: 1px solid transparent;
  background: none; color: #555;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  color: #1ab394;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  background: #fff;
  border: 1px solid #cdd5da;
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
  background-image: url("plugins/datepicker/images/ui-icons_1ab394_256x240.png");
}
.ui-datepicker td span,
.ui-datepicker td a {
  text-align: center;
}
/*****End JDatepicker customisation******/

/*****Start JDatepicker firefox fix******/
#page-wrapper {
  z-index: 1;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  color: #676A6C;
}
/* Don't forget to set navbar at the same level */
.navbar-static-side {
    z-index: 1;
}
/*****End JDatepicker firefox fix******/

.phone-number {
  margin-bottom: 5px;
}
.phone-number .number {
  font-size: 13px;
  width: 95px;
}
.contact-item + .contact-item {
  border-top: 1px solid #e7eaec;
  padding-top: 5px;
  margin-top: 5px;
}
.nric-inline-new {
  width: 85px;
  display: inline-block;
}
.table-enrollment-add-learners input {
  padding: 6px 3px;
}
.table-enrollment-add-learners .Select-placeholder,
.table-enrollment-add-learners :not(.Select--multi)>.Select-control .Select-value {
  padding-left: 5px;
  padding-right: 5px;
}
.enrollment-item-list {
  padding-left: 5px;
}
.form-control-year {
  width: 100px;
  float: left;
  margin-right: 10px;
}
.form-control-year:last-child {
  margin-right: 0;
}
.form-control-separator {
  width: 5px;
  float: left;
  margin-right: 10px;
  margin-top: 5px;
}

/*****Start IGroup styles*****/
.igroup {
    margin-bottom: 20px;
}
.igroup-title {
    font-size: 120%;
    padding-left: 25px;
}

.form-control-nested {
    margin-bottom: 10px;
    clear: both;
}

.form-control-field, .form-control-separator {
    margin-right: 10px;
}

.form-control-separator {
    width: 5px;
    float: left;
    margin-top: 5px;
}

.form-control-nested-add {
    display: block;
    clear: both;
    padding-top: 10px;
}

.field-wrapper {
    display: block;
    float: left;
}

.field-wrapper.error input, .field-wrapper.error .Select-control {
    border-color: #cc5965;
}

.clear-both {
    display: block !important;
    clear: both;
}

/** second level tab navigation **/
.secondary-tabs-container .nav {
    background: #fff;
}

.secondary-tabs-container .nav-tabs {
    border: none;
    border-left: 1px solid #e7eaec;
    border-right: 1px solid #e7eaec;
    border-bottom: 1px solid #e7eaec;
    padding: 5px 5px 5px 0;
}

.secondary-tabs-container .nav-tabs li {
    float: right;
}

.secondary-tabs-container .nav-tabs li.title {
    float: left;
}

.secondary-tabs-container .nav-tabs > li > a {
    padding: 6px 9px 6px 9px;
    border: none !important;
    border-radius: 3px;
    margin: 4px 5px 4px 5px;
    cursor: hand;
    background: none;
}

.secondary-tabs-container .nav-tabs > li.active > a,
.secondary-tabs-container .nav-tabs > li > a:hover,
.secondary-tabs-container .nav-tabs > li > a:focus,
.secondary-tabs-container .nav-tabs > li:active > a:hover,
.secondary-tabs-container .nav-tabs > li:active > a:focus {
    background: rgba(26, 179, 148, 0.24) !important;
}

.secondary-tabs-container .nav-tabs > li > span {
    font-weight: 600;
    padding: 10px 5px 10px 25px;
    position: relative;
    display: block;
}
/** end of second level tab navigation **/

/** has-feedback-left **/
.fa.form-control-feedback {
    line-height: 34px; /* @input-height-base; */
}
.input-sm ~ .fa.form-control-feedback {
    line-height: 30px; /* @input-height-base; */
}
.input-lg ~ .fa.form-control-feedback {
    line-height: 46px; /* @input-height-base; */
}

.has-feedback-left input.form-control {
    padding-left: 34px; /* @input-height-base; */
    padding-right: 12px; /* @padding-base-horizontal */
}

.has-feedback-left .form-control-feedback {
    left: 0;
}
.form-horizontal .has-feedback-left .form-control-feedback {
    left: 12px; /* @grid-gutter-width / 2 */
}

.has-feedback-left input.input-sm {
    padding-left: 30px;
}
.has-feedback-left input.input-lg {
    padding-left: 46px;
}
/** end fo has-feedback-left **/

.row-no-padding [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row.row-no-padding-smart {
    margin-left: 0;
    margin-right: 0;
}

.row-no-padding-smart [class*="col-"]:first-child {
    padding-left: 0 !important;
}

.row-no-padding-smart [class*="col-"]:last-child {
    padding-right: 0 !important;
}

span.aligned {
    line-height: 34px;
    margin-left: 8px;
}

span.error {
 color: #cc5965;
}

.workflow-widget > .milestone-widget {
    padding-bottom: 5px;
    display: inline-block;
}

.workflow-widget > p {
    display: none;
}

.workflow-widget > .milestone-widget:not(:last-child),
.workflow-widget > span:not(:last-child) {
    margin-right: 10px;
}

.workflow-widget > button.btn {
    margin-bottom: 0;
}

.workflow-widget > span {
    vertical-align: middle;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
}

/**** MilestoneWidget related ****/
.milestone-widget > button.btn,
.milestone-widget > .widget-body-wrapper > button.btn {
    width: 130px;
    padding: 3px 6px;
    margin-bottom: 0;
}

.milestone-widget > button.btn > span {
    width: 108px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.milestone-widget > button {
    display: inline-block;
}

.milestone-widget > .widget-body-wrapper {
    display: none;
    position: absolute;
}

.milestone-widget.expanded > .widget-body-wrapper {
    z-index: 1;
    display: inline-block;
    margin-left: -130px;
}

.milestone-widget.expanded > .widget-body-wrapper.expand-left {
    z-index: 1;
    display: inline-block;
    margin-left: -480px;
}

.milestone-widget.expanded > .widget-body-wrapper > button.btn {
    width: 480px;
}

.milestone-widget.expanded > .widget-body-wrapper > button.btn > span {
    width: 466px;
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
}

.milestone-widget.expanded > .widget-body-wrapper > button.btn:after {
    content: '\f00d';
    font-family: FontAwesome;
    float: right;
}

.milestone-widget.expanded > .widget-body-wrapper > button.btn {
    border-bottom: 1px transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.milestone-widget .panel {
    z-index: 1000;
    position: absolute;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 480px;
}

.milestone-widget .panel .panel-body {
    border: none;
    padding: 15px 30px 15px 30px;
}

.milestone-widget .panel .panel-body.lighten {
    opacity: 0.5;
}

.milestone-widget .panel .panel-body .abs-center-container {
    position: absolute;
    left: 50%;
    top: calc(50% - 4em);
}

.milestone-widget .panel .panel-body .abs-center-container > span {
    position: relative;
    left: -50%;
    font-size: 4em;
}

.widget-text {
    line-height: 30px;
    display: block;
}

.workflow-line:not(:last-child) {
    margin-bottom: 15px;
}

.workflow-line td > span {
    display: inline-block;
    line-height: 26px;
    margin-top: -1px;
}

.workflow-line td > .milestone-widget {
    display: inline-block;
}

.workflow-line td > .milestone-widget:not(:last-child) {
    margin-right: 20px;
}

.workflow-line td > .milestone-widget {
    position: relative;
}

.workflow-line td > .milestone-widget:not(:first-of-type):before {
    content:"";
    position: absolute;
    bottom: 0;
    left: -20px;
    right: 0;
    height: 13px; /* Half the size of btn */
    width: 20px;
    border-top: 1px dotted #8A8A8A;
}
/**** End of MilestoneWidget related ****/

/**** react-modal related ****/
body.ReactModal__Body--open {
    overflow: hidden;
}

body.ReactModal__Body--open .modal {
    display: block;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5)
}

.modal-dialog {
    display: table;
}
/**** end of react-modal related ****/

/**** dropdown-select ****/
.filter-wrapper .large {
    font-size: 1.8em;
}

.filter-wrapper .form-group {
    margin-bottom: 0;
}

.filter-wrapper > .row > div:not(:first-of-type) {
    padding-left: 0;
}

.filter-wrapper > .row > div > a:not(.btn) {
    line-height: 34px;
    font-size: 1.1em;
}

.filter-wrapper input {
    border-color: #cccccc;
}

.filter-wrapper .input-group-addon {
    border-color: #cccccc;
    background: #f3f3f4;
}

.dropdown-select {
    position: relative;
    color: #7a7a7a;
}

.btn-dropdown-select {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 0;
    border: 1px solid #cccccc;
}

.dropdown-select:focus > .btn-dropdown-select, .dropdown-select:hover > .btn-dropdown-select {
    background: white;
    border: 1px solid #1ab394;
    border-bottom: 1px solid transparent;
    color: #7a7a7a;
    z-index: 1010;
}

.btn-dropdown-select.active {
    color: #7a7a7a;
}

.btn.btn-dropdown-select:disabled {
    opacity: 1;
}

.btn.btn-dropdown-select:disabled > * {
    opacity: 0.65;
}

.dropdown-select .dropdown-select-menu {
    display: none;
}

.dropdown-select:hover .dropdown-select-menu {
    display: block;
    margin-top: -1px;
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #179d82;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    min-width: 450px;
}

.dropdown-select.dropdown-select-large:hover .dropdown-select-menu {
    min-width: 600px;
}

.dropdown-select-menu .group:not(:first-of-type) > div.col-sm-12 {
    margin-top: 15px;
}

.dropdown-select .option {
    cursor: pointer;
    position: relative;
    left: 20px;
}

.dropdown-select-menu .option.disabled {
    pointer-events: none;
    cursor: no-drop;
}

.dropdown-select .option > input {
    position: absolute;
    display: inline-block;
    margin: 4px 0 0;
    left: -20px;
}

/**** End of dropdown-select ****/

/**** dashboard widget ****/
.grouped-status:after {
    content: '';
    display: block;
    padding-bottom: 5px;
}

/**** End of dashboard widget ****/

/**** FullCalendar related customizations ****/
.fc-time{
    display : none;
}

.fc-day.selected {
    background: rgba(26, 179, 148, 0.24) !important;
}

.fc-day.unavailable {
    background: #ffe6e6;
}

.fc td.fc-day {
    text-align: right;
    vertical-align: bottom;
}

.fc-event-container .event-btn {
    position: relative;
    z-index: 2;
    float: right;
    margin-top: -1.35em;
}

.fc-event-container .event-btn:hover {
    color: #e7e7e7;
}

/**** end of FullCalendar related customizations ****/

/**** Workflow container ****/
.workflow-container {
    margin-bottom: 15px;
}

.workflow-container > span {
    padding-right: 15px;
}

.workflow-container > div {
    display: inline-block;
}
/**** End of workflow container ****/

/**** Login modal ****/
.login-modal {
    position: fixed;
    z-index: 2200;
    width: 400px;
    min-height: 300px;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -150px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 15px
}
/**** End of Login Modal ****/

/**** Zebra-striped alternating divs ****/
.zebra-striped-div .row {
    padding-top: 10px;
    padding-bottom: 10px;
}

.zebra-striped-div .row:nth-of-type(odd) {
    background: #f8f8f8;
}
/**** End of Zebra-striped alternating divs ****/

td.remarks-short {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-xxs {
    padding-left: 5px;
}
