/*************** Common CSS ********************/
td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}
.gray-text {
    color: gray;
    font-weight: 500;
}

.action-icon-danger {
    cursor: pointer;
    color: #B10A0A;
    font-size: 20px;
    margin: 5px;
}

.action-icon-info {
    cursor: pointer;
    color: #094B42;
    font-size: 20px;
    margin: 5px;
}

.readonly-background {
    background: #eee !important;
    opacity: 1;
}

.readonly-block {
    border: 0px;
    display: block;
    word-wrap: break-word;
    height: 100%;
}

.validation-failed-error {
    border-color: #dd4b39 !important;
    box-shadow: none !important;
}

.validation-error-msg {
    width: 100%;
    display: block;
    color: #a94442;
    text-align: left;
}

.help-block.with-errors:empty {
    display: none !important;
}

.dark-gray-btn {
    background: #616060 none repeat scroll 0% 0%;
    color: #FFF;
}

.select2-selection--single {
    height: 100%;
}

.select2-selection__rendered {
    word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal !important;
}

.chart-remark {
    font-size: 13px;
    margin-bottom: 5px;
}

@media ( min-width : 1200px) {
    .chart-remark {
        height: 40px;
    }
}

.rmc-table-header {
    background: #504E4E !important;
    color: #fff !important;
}

.rmc-panel-header {
    background: #F1F0F0 !important;
}

.breadScrumText {
    padding: 8px 20px;
    background: #F1F0F0;
    font-weight: 600;
    font-size: 16px;
}

.border-right {
    border-right: 1px solid #B5ADAD;
}

.border-left {
    border-left: 1px solid #B5ADAD;
}

.overlay-custom {
    z-index: 900;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-container .overlay-custom {
    z-index: 750;
}

.overlay-container {
    position: relative;
}

.overlay-custom>.fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

.sDom-padding-left {
    padding-left: 0px !important;
}

.sDom-padding-right {
    padding-right: 0px !important;
}

/*************** End Common CSS ********************/

/************** Overridden CSS **********************/
.content-wrapper {
    background-color: white !important;
}

.box {
    border-top: 0px !important;
    margin-bottom: 10px !important;
}

.box-header {
    border: 1px solid gray !important;
    text-align: center;
}

.box-header>.fa, .box-header>.glyphicon, .box-header>.ion, .box-header .box-title
{
    font-size: 15px !important;
}

.box-body {
    border: 1px solid gray;
    border-top: 0px;
    border-radius: 0px !important;
}

.box-title {
    font-weight: 600;
}

.sidebar-menu .treeview-menu>li>a {
    padding: 7px 5px 7px 15px !important;
}

.sidebar-menu .treeview-menu>li>a.menu-level-4 {
    padding: 7px 5px 7px 30px !important;
} 

/* .sidebar-menu .treeview-menu>li.active>a {
        color: #B31111 !important;
}   */
.nav-tabs-custom>.tab-content {
    border-radius: 0px !important;
}

.nav-tabs-custom {
    border-radius: 0px !important;
}

.nav-tabs-custom>.nav-tabs>li.active>a, .nav-tabs-custom>.nav-tabs>li.active>a:hover
{
    color: #B31111 !important;
}

.nav-tabs-custom>.nav-tabs>li.active {
    border-top-color: #504E4E !important;
}

.nav-tabs-custom>.nav-tabs>li>a:hover {
    color: black !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice
{
    background-color: #504E4E !important;
    border-color: #504E4E !important;
}

.select2-dropdown .select2-search__field:focus, .select2-search--inline .select2-search__field:focus
{
    border: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]
{
    background-color: #616060 !important;
    color: #FFF !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #616060 !important;
    border-color: #616060 !important;
    color: #fff !important;
}

table.table-bordered.dataTable {
    border-collapse: collapse !important;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus,
.pagination>li>span:hover {
    color: #616060 !important;
    background-color: #eee !important;
    border-color: #ddd !important;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover,
.pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover
{
    color: white !important;
    background-color: #616060 !important;
    border-color: #867474 !important;
}

/************** Overridden CSS End**********************/

/****************** Log in and forgot password CSS *************************/
.login-form-container {
    border-right: 1px solid #D6CBCB;
    padding-left: 0px;
}

.login-box button {
    max-width: 125px;
}

@media ( min-width : 768px) {
    .login-form-container {
        padding-right: 30px !important;
    }
}

@media ( min-width : 768px) {
    .login-box {
        width: 70% !important;
        max-width: 550px;
    }
    .login-form-container {
        border-right: 1px solid #D6CBCB;
        padding-right: 30px;
    }
    .login-box button {
        width: 125px;
    }
}

@media ( max-width : 768px) {
    .login-box {
        width: 68% !important;
        max-width: 335px;
    }
    .login-form-container {
        border-right: 0px;
    }
}

@media ( max-width : 400px) {
    .login-box {
        width: 75% !important;
    }
}

@media ( min-width : 434px) {
    .login-btn-container>button {
        display: inline-block;
    }
    .login-btn-container>div {
        margin-left: 5px;
    }
}

@media ( max-width : 433px) {
    .login-btn-container>div {
        margin-top: 7px;
    }
}

.alert-login-failed {
    color: red;
    padding-bottom: 10px;
    font-size: 16px;
}

.alert-logout-success {
    color: darkgreen;
    padding-bottom: 10px;
    font-size: 16px;
}

/****************** End Log in CSS *********************/

/******************* Left Sidebar **********************/
@media ( min-width : 768px) {
    .sidebar-mini.sidebar-collapse .main-header .logo {
        width: 0px !important;
        padding: 0px !important;
    }
}

@media ( min-width : 768px) {
    .sidebar-mini.sidebar-collapse .main-header .navbar {
        margin-left: 8px !important;
    }
}

@media ( max-width : 767px) {
    .skin-black-light .main-header>.logo {
        background-color: #FFF !important;
        border-bottom: 1px solid #EEE !important;
    }
}

.logo-right {
    -webkit-transition: width .3s ease-in-out;
    -o-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    display: block;
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    width: 230px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 5px 15px;
    font-weight: 300;
    overflow: hidden;
}

.main-header .logo .logo-lg {
    display: block;
    text-align: left !important;
    padding: 0 8px !important;
}

@media ( max-width : 768px) {
    .logo-right {
        display: none;
    }
}

@media ( min-width : 768px) {
    .main-header .logo-right {
        display: none;
    }
}

@media ( min-width : 768px) {
    .sidebar-mini.sidebar-collapse .main-header .logo-right {
        display: block;
    }
}

.sidebar-menu>li.active>a {
    background: #B31111 !important;
    color: #fff;
    font-size: 16px;
    padding: 10px 5px 10px 15px;
}

.menu-level-1 {
    background: #002873 !important;
    color: #fff !important;
    border-bottom: 1px solid #989393;
}

.menu-level-2 {
    background: #D6D2D2 !important;
    color: #000 !important;
}

.menu-level-4 {
    padding: 7px 5px 7px 30px !important;
}

.menu-selected>a {
    color: #2e3436 !important;
}
/******************* Left Sidebar **********************/

/******************* dashborad css ********************/
@media ( min-width :1200px) {
    #manager_curr_prog_date_text {
        text-align: left;
    }
    #managerDaterangeText {
        text-align: center;
    }
}

.help-icon {
    position: absolute;
    z-index: 1;
    right: 0px;
    font-size: 25px;
    color: #B95414;
    cursor: pointer;
    top: -10px;
}

.custom-help-block {
    position: absolute;
    border: 1px solid gray;
    padding: 5px;
    z-index: 2;
    background: #fff;
    text-align: left;
    right: 8px;
    opacity: 0.9;
    color: #000 !important;
}

.update-text-container {
    border: none !important;
    border-left: 1px solid !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media ( min-width : 1200px) {
    .advanceview-right-part>div {
        margin-left: 10px;
    }
    .advanceview-right-part>div:FIRST-CHILD {
        margin-left: 0px;
    }
}

.box-header {
    padding: 6px !important;
}

.dashboard-view .row {
    margin-right: 0px;
    margin-left: 0px;
}

.dashboard-view marquee[id="updateText"] {
    font-weight: 900;
}

.dashboard-view .graph-view-container .box-header {
    background: #F1F0F0;
}

.graph-view-container img {
    max-height: 270px;
    max-width: 500px;
}

.dashboard-view .right-widgets .box-header {
    background: #504E4E;
    color: #fff;
}

.dashboard-view .col-lg-12, .dashboard-view .col-lg-8, .dashboard-view .col-lg-6,
.dashboard-view .col-lg-4 {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.dashboard-view .filter-bar {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.dashboard-view .filter-bar .btn {
    background: #616060;
    color: #fff;
}

.dashboard-view .filter-bar .filter-bar-inner-content {
    background: #f1f0f0;
    padding: 5px 8px 5px 8px;
    border: 1px solid gray;
}

.dashboard-view .graph-view-container {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media ( min-width : 1200px) {
    .dashboard-view .graph-view-container {
        padding-right: 9px !important;
    }
}

@media ( max-width : 1200px) {
    .top-manager-filter.border-right {
        border-right: 0px;
    }
}

.top-manager-filter .form-group {
    margin: 3px;
    margin-bottom: 5px !important;
}

.learner-filter-bar .form-group {
    margin: 5px;
    margin-bottom: 5px !important;
}

@media ( min-width : 500px) {
    .manager-filter-bar .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
}

.manager-filter-bar .form-group label {
    width: 90px;
}

@media ( min-width : 768px) {
    .so-filter-bar .pull-right-context {
        float: right;
    }
}

.filter-bar .btn {
    padding: 5px 24px;
}

/* SO Dashboard */
.so-dashboard-center-widget tr:FIRST-CHILD>th,
.so-dashboard-center-widget tr:FIRST-CHILD>td {
    border-top: 0px !important;
}

.so-dashboard-center-widget tr:last-child>th,
.so-dashboard-center-widget tr:last-child>td {
    border-bottom: 0px !important;
}

.so-dashboard-center-widget tr>th:first-child,
.so-dashboard-center-widget tr>td:first-child {
    border-left: 0px !important;
}

.so-dashboard-center-widget tr>th:last-child,
.so-dashboard-center-widget tr>td:last-child {
    border-right: 0px !important;
}

@media ( min-width : 400px) {
    .clientListFilterList>span {
        width: 335px !important;
    }
}

@media ( min-width : 768px) {
    .form-control.cust-filter-width {
        max-width: 150px;
    }
}

/**************** End dashboard css *********************/

/**************** Report CSS  *********************/
.jasper-navigation-bar {
    padding: 5px !important;
    border-radius: 0px !important;
}

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    padding: 2px !important;
    padding-left: 5px !important;
    border: 1px solid #867474 !important;
}

/**************************************************/

/*************** Follow up report ****************/
.follow-up-report tr:FIRST-CHILD>th, .follow-up-report tr:FIRST-CHILD>td
{
    border-top: 0px !important;
}

.follow-up-report tr:last-child>th, .follow-up-report tr:last-child>td {
    border-bottom: 0px !important;
}

.follow-up-report tr>th:first-child, .follow-up-report tr>td:first-child
{
    border-left: 0px !important;
}

.follow-up-report tr>th:last-child, .follow-up-report tr>td:last-child {
    border-right: 0px !important;
}
/*****************************************/

/*************** Survey Report ***********/
.surveyReport tr:FIRST-CHILD>th, .surveyReport tr:FIRST-CHILD>td {
    border-top: 0px !important;
}

.surveyReport tr:last-child>th, .surveyReport tr:last-child>td {
    border-bottom: 0px !important;
}

.surveyReport tr>th:first-child, .surveyReport tr>td:first-child {
    border-left: 0px !important;
}

.surveyReport tr>th:last-child, .surveyReport tr>td:last-child {
    border-right: 0px !important;
}
/*****************************************/

/*************** Progression Report **************/
.progression-report tr:FIRST-CHILD>th, .progression-report tr:FIRST-CHILD>td
{
    border-top: 0px !important;
}

.progression-report tr:last-child>th, .progression-report tr:last-child>td
{
    border-bottom: 0px;
}  

.progression-report tr>th:first-child, .progression-report tr>td:first-child
{
    border-left: 0px !important;
}

.progression-report tr>th:last-child, .progression-report tr>td:last-child
{
    border-right: 0px !important;
}
/*****************************************/
#learnerSurveyReportDiv td span {
    font-size: 12px !important;
}

.jasper-report-container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.jasper-report-container .jrPage img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 82%;
}

.jasper-report-container {
    border: none !important;
}

.jasper-report-container>table>tbody>tr>td:first-child,
.jasper-report-container>table>tbody>tr>td:last-child {
    width: 5px !important;
}

.jrPage tr td {
    white-space: normal !important;
}

.jrPage>tbody>tr:last-child, .jrPage>tbody>tr:nth-child(2) {
    display: none;
}

.jrPage {
    width: 100% !important;
}

.satisfaction-table .jrPage tr:last-child {
    display: table-row !important;
}

.satisfaction-table .jrPage tr:nth-child(2) {
    display: block;
}

.satisfaction-question {
    font-weight: bold;
    padding-left: 0px !important;
}

@media ( min-width : 1200px) {
    .satisfaction-table .jrPage {
        width: 50% !important;
    }
}

@media ( max-width : 1200px) {
    .jasper-report-container .jrPage img {
        width: auto;
    }
    .satisfaction-question {
        padding-left: 20px !important;
    }
}

.satisfaction-table .jrPage, .admin-comment .jrPage {
    margin-left: 0% !important;
}

.satisfaction-table .jrPage tr td:first-child, .satisfaction-table .jrPage tr td:last-child,
.admin-comment .jrPage tr td:first-child, .admin-comment .jrPage tr td:last-child
{
    display: none;
}

.competance-report img {
    width: auto !important;
}

@media ( max-width : 850px) {
    .competance-report {
        border: none !important;
    }
    .competance-report img {
        width: 100% !important;
    }
    .competance-report  table tr td:first-child, .competance-report table tr td:last-child
    {
        width: 5px !important;
    }
}

@media ( max-width : 800px) {
    #sortFilters {
        text-align: center;
    }
    #sortFilters .btn {
        margin-bottom: 10px;
    }
    .mainReportFilterSearchBoxDiv {
        width: 55%;
    }
}

@media (min-width : 500px) and (max-width : 800px) {
    #sortFilters .btn {
        margin-bottom: 0px;
        display: block;
        width: 80%;
        margin: auto;
    }
}

/******************* Detailed filter CSS *******************/
@media ( max-width : 1200px) {
    #detailedFilter .filter-btn-group {
        margin-top: 70px;
        margin-left: 15px;
    }
}

@media ( min-width : 1200px) {
    #detailedFilter .filter-btn-group {
        margin-top: 25px;
        margin-left: 15px;
    }
}

@media ( max-width : 990px) {
    #detailedFilter .filter-btn-group {
        margin-top: 10px;
        margin-left: 15px;
    }
}

@media ( min-width : 990px) {
    #detailedFilter .startDateWrapper {
        padding-right: 5px;
    }
    #detailedFilter .endDateWrapper {
        padding-left: 5px;
    }
}

#detailedFilter .select2-container {
    width: 100% !important;
}

@media ( min-width : 768px) {
    .left-part-detail-filter {
        border-right: 1px solid #f4f4f4;
    }
    #detailedFilter .form-group {
        margin-bottom: 5px;
    }
}

.filter-icon {
    cursor: pointer;
}

#detailedFilter .help-block, #filterIconWrapper .help-block {
    left: 15px;
    right: initial;
}

/******************* End Detailed filter CSS ***************/

/******************* Competence Dashboard CSS ***************/
.competeDashboard .btn {
    background: #616060 none repeat scroll 0% 0%;
    color: #FFF;
}

table[id="competenceLevelsTable"] th {
    text-align: center;
}

table[id="competenceLevelsTable"] tr td {
    text-align: center;
}

table[id="competenceLevelsTable"] tr td:first-child {
    text-align: left;
}

@media ( min-width : 768px) {
    #competenceFilterForm {
        float: right;
    }
    #competenceFilterForm select {
        min-width: 200px;
    }
}

@media ( max-width : 768px) {
    #competenceFilterForm button {
        margin-top: 5px;
    }
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover,
.pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover
{
    color: white !important;
    background-color: #616060 !important;
    border-color: #867474 !important;
}

.competeDashboard .sorting_asc:AFTER {
    display: none !important;
}

.competeDashboard .pagination-pages {
    float: right !important;
}
/************************************************************/

/********************* Client User filter *************************/
.client-user-filter-wrapper {
    border: 1px solid gray;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 0px !important;
    margin-right: 0px !important;
    background: #F1F0F0;
}

@media ( min-width :1200px) {
    .filter-btn-group {
        margin-top: 25px;
    }
}

@media ( max-width :1200px) {
    .filter-btn-group {
        margin-top: 5px;
        margin-left: 15px;
    }
}
/********************* End Client User filter *********************/

/********************* Curriculum Config filter fields row *********************/
.rmc-filter-fields-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
}
.rmc-filter-fields-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1 1 125px;
    max-width: none;
    padding-left: 5px;
    padding-right: 5px;
}
/********************* End Curriculum Config filter fields row *****************/

/********************* Client Settings *************************/
.select2-results li {
    word-wrap: break-word;
}

.setting-view .filter-bar {
    margin-top: 15px;
    margin-bottom: 15px;
}

.setting-view .row {
    margin-right: 0px;
    margin-left: 0px;
}

/********************* Client Settings *************************/

/*********************For header & Sidebar**********************/
.green-sidebar {
    background: #00a65a !important;
}

.green-theme {
    background-color: #00a65a !important;
    color: white !important;
}

.green-hover {
    background-color: #008046 !important;
}

.green-focus {
    background-color: #008046 !important;
}

.red-sidebar {
    background-color: #B31111 !important;
}

.red-theme {
    background-color: #B31111 !important;
    color: white !important;
}

.red-hover {
    background-color: #8c0d0d !important;
}

.red-focus {
    background-color: #8c0d0d !important;
}

.blue-sidebar {
    background-color: #3c8dbc !important;
}

.blue-theme {
    background-color: #3c8dbc !important;
    color: white !important;
}

.blue-hover {
    background-color: #31749b !important;
}

.blue-focus {
    background-color: #31749b !important;
}

.white-sidebar {
    background-color: white !important;
}

.white-theme {
    background-color: white !important;
    color: black !important;
}

.white-hover {
    background-color: white !important;
}

.white-focus {
    background-color: white !important;
}

.orange-sidebar {
    background-color: #ffa600 !important;
}

.orange-theme {
    background-color: #ffa600 !important;
    color: white !important;
}

.orange-hover {
    background-color: #cc8500 !important;
}

.orange-focus {
    background-color: #cc8500 !important;
}

.violet-sidebar {
    background-color: #e74be7 !important;
}

.violet-theme {
    background-color: #e74be7 !important;
    color: white !important;
}

.violet-hover {
    background-color: #e74be7 !important;
}

.violet-focus {
    background-color: #e74be7 !important;
}

.yellow-sidebar {
    background-color: #e6e600 !important;
}

.yellow-theme {
    background-color: #e6e600 !important;
    color: black !important;
}

.yellow-hover {
    background-color: #cccc00 !important;
}

.yellow-focus {
    background-color: #cccc00 !important;
}
/*********************For header & Sidebar**********************/

@media ( max-width :876px) {
    #soFilterBtnGroup {
        margin-top: 5px;
    }
}

@media ( min-width :876px) {
    #soFilterBtnGroup {
        margin-left: 5px;
    }
}

@media(max-width:500px){
    .oprn-overview-fltr-btns {
        margin-top: 10px;	
    }

    .operation-overview-filter-bar .col-xs-6 {
        width: 100%;
    }
}

@media(min-width:501px){
    .oprn-overview-fltr-btns {
        margin-top: 25px;	
    }
}

.operation-overview-filter-bar {
    background: #f1f0f0;
    padding: 5px 5px 0px 5px;
    border: 1px solid gray;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

#recurringReportsTable select {
    width: 100%;
    height: 27px;
    padding: 0 9px;
}

.empty-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

#editor-container {
    height: 375px;
}