/* here you can put your own css to customize and override the theme */
ul#top-menu-right-elements {
    display: flex;
    display: -webkit-inline-box;
    margin-top: 10px;
    margin-right: 50px;
    list-style: none;
    float: right;
}

ul#top-menu-right-elements > li {
    padding-right: 15px;
}

ul#top-menu-right-elements > li > a {
    color: #ffffff
}

.page-header.navbar .page-logo {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.page-header.navbar.navbar-fixed-top,
.page-header.navbar.navbar-static-top {
    z-index: 1030;
}

div#ifsHeaderBar {
    background-color: #00305e;
}

.page-sidebar-fixed .page-sidebar {
    top: 120px;
    padding-top: 0px;
}

.page-sidebar-closed .page-sidebar:hover {
    margin-top: 0;
}

.page-sidebar .sidebar-toggler,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .sidebar-toggler {
    margin-top: 10px;
}

.page-sidebar .page-sidebar-menu > li.nav-item,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.nav-item {
    background-color: #ECF0F2;
}

iframe.load {
    background: url("http://www.ajaxload.info/images/exemples/25.gif") no-repeat 50% 50%;
    position: absolute;
    width: 70%;
    height: 15%;

}

.row-fluid .panel-default .panel-body a.btn {
    margin-top: 3px;
    margin-bottom: 3px;
}

table.table.table-striped.table-bordered {
    /*border: 2px solid #ddd;*/
}

table.table.table-striped.table-bordered thead tr {
    background-color: #2C3542;
    color: white;
}

table.table.table-striped.table-bordered thead tr th a {
    color: white;
}

.page-content-wrapper {
    width: auto;
    min-width: 100%;
}

@media (min-width: 992px) {
    .page-content-wrapper .page-content {
        padding-top: 30px;
    }
}

.page-content, .page-footer {
    background-color: #eef1f5 !important;
}

.page-sidebar {
    border-right: 1px solid #00305e;
}

div.grid-view div.summary {
    margin-bottom: 10px;
}

.btn-group .dropdown-menu.dropdown-menu-right {
    right: auto;
}

/*input and dropdownlists on a gridview */
.grid-view thead input, .grid-view thead select {
    border-radius: 5px;
    height: 28px;
    color: black;
    border: none;
}

/*fixes the sidebar menu and make it seen above the content*/
.page-sidebar {
    position: relative;
    z-index: 1;
}

.row-fluid {
    position: relative;
}

/*add an astrisk(ein Sternchen) to a required field's labels*/
.form-group.required .control-label:after {
    content: " *";
}

/* styling for the copyright line */
#copyrightLine {
    font-size: 12px;
    padding: 15px 5px;
    color: #ffffff;
}

/* positioning the labels on the layout's footer */
.page-footer .page-footer-inner {
    display: inline-block;
    padding-top: 0;
    width: 100%;
}

.page-bar {
    border-radius: 0;
    margin-top: -27px;
}

/*prevent from the last entry-dropdown in a grid-table from being covered by the container */
div.grid-container-with-extra-bottom-padding div.kv-grid-container {
    padding-bottom: 200px;
}

/* center vertically and horizontally */
.screenCenter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* define the line with the ifs-logo */
.ifslogo {
    background-color: white;
    padding: 3px;
}

/* centerize the form in the registration page */
#regForm {
    max-width: 500px;
}

#regForm button {
    float: right !important;
    margin-right: 5%;
}

/* create scope form */
#createScopeForm {
    max-width: 600px;
}

#createScopeForm button {
    float: right !important;
    margin-right: 5%;
}

#buttonAddScopeModal {
    margin-left: 4%;
}

.label-success {
    border-color: #5AAD34 !important;
    background-color: rgba(95, 208, 44, 0.51) !important;
}

.badge-success {
    border-color: #5AAD34 !important;
    background-color: rgba(95, 208, 44, 0.51) !important;
}

/* Consultant Search Form */
#w2.form-horizontal {
    float: left;
}

/* designing and limitating the form width */

#consultantRegForm {
    max-width: 700px;
    padding-top: 40px;
}

/* the last line in the first  form of the consultant Registration forms */
#conRegExpLine {
    padding: 5px;
    display: inline;
}

/* pushes the last line to the right for alignment with the other lines */
#conRegChkBoxLine {
    left: 60px;
    position: relative;
}

/* AuditorCV - edit profile - general information - 'Auditor in progress applied'  */

#audInProgApplied {
    font-weight: bold;
    margin-left: -3%;
}

.auditorRightsItem {
    display: flex;
    flex-direction: column;
    margin: 3px;
    justify-content: flex-start;
    padding: 5px;
}

.auditorRightsItem .underlinedTitle {
    margin-bottom: 5px;
    text-decoration: underline;
    font-weight: bold;
}

.auditorRightsItem .checkbox {
    left: 20px;
    margin: 0px;
}

.field-auditor-enabled .bootstrap-switch {
    margin-left: 0px !important;
}

/* Auditors -> Manage auditors -> Edit Profile -> Standarads & Scopes */
#standsScopesTab {
    width: 50%;
}

/* Auditors -> Manage auditors -> Edit CV -> Scope examples, first button 'Choose scope examples' */
#buttonAddScopeExamplesModal {
    margin-bottom: 20px;
}

/* Auditors -> Manage auditors -> Edit CV -> Language -> first button 'Add native language' -> Modal */

.modal-body {
    overflow-y: auto !important;
}

/* keeps the side-bar menu on top */
.page-sidebar-wrapper {
    z-index: 1002;
    position: absolute;
}

/* keeps the main layout footer on top */
.page-footer {
    z-index: 1002;
    position: absolute;
}

/* Auditors -> Manage auditors -> Edit CV  - green buttons that open the modals */
.modalButton {
    margin-bottom: 10px;
}

.modal-header {
    font-size: 1.5em;
}

/* Auditors -> Manage auditors -> Edit CV -> Language -> LanguageGrid -> Native Language -> Actions */
/* makes the icon of the 'delete language' in one line and keeps it separated from the icons of the 'comment' */
#deleteNativeLanguageButton {
    display: block;
    padding-bottom: 10px;
}

/* Auditors -> Manage auditors -> Edit CV -> General Information -> 'Auditor in progress applied' div */
#isfood6auditorinprogressapplied_div {
    display: flex;
    flex-direction: column;
}

/*force the dropdownlist of the plug-in select2 not to be covered by the modal*/
.select2-dropdown {
    z-index: 10050;
}

/* avoids the initial text in the text input from not to be seen */
input.select2-search__field, li.select2-search--inline {
    width: inherit !important;
}

/* Standards and Scopes View Auditors and Consultants */

div.standards-scopes-label {
    margin-right: 10px;
}

div.standards-scopes-label-detail {
    width: 85%;
}

/* Auditors -> Manage auditors -> Edit CV -> Experience -> add experience Modal , add Audit Modal*/
#AddExperienceModal .modal-content,
#AddAuditModal .modal-content {
    width: 200%;
    left: -50%;
}

.modal-size-600 {
    width: 600px;
}

.modal-size-800 {
    width: 800px;
}

.sub-modal .form-horizontal {
    max-height: 50vh !important;
    overflow-y: auto;
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.form-group .bootstrap-switch-wrapper {
    margin-left: 15px;
}

/**
 Firefox fix
 */
.bootstrap-switch.bootstrap-switch-wrapper.bootstrap-switch-small {
    width: 80px !important;
}

.flexWrapContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flexWrapContainer > div {
    width: 50% !important;
    padding-right: 50px;
}

@media (max-width: 900px) {
    .flexWrapContainer div {
        width: 100% !important;
    }
}

/* Consultants -> edit Profile -> tables */
.detail-view-content {
    width: 100% !important;
}

div.titleForTable {
    display: flex;
    padding: 0px;
    padding-top: 10px;
    padding-left: 10px;
    margin-bottom: 2px !important;
}

div.titleForTableButtons {
    flex: 0 0 125px;
}

div.titleForTableValue {
    flex: 1;
}

/* for Active-forms - enable changing of the fields width */
.col-sm-1-custom {
    width: 8.3333333% !important;
}

.col-sm-2-custom {
    width: 16.66666667% !important;
}

.col-sm-3-custom {
    width: 25% !important;
}

.col-sm-4-custom {
    width: 33.33333333% !important;
}

/* for consultants-grid */
.consultant-photo img {
    margin-bottom: 10px;
    max-height: 100%;
    max-width: 100%;
}

.consultant-photo {
    float: left;
    max-width: 15%;
}

#reviewsProgressBar {
    background-color: orange;
    height: 100%;
}

.consultantsReviewsSmall {
    width: 25%;
    float: left;
}

.consultantsReviewsBig {
    width: 50%;
    float: left;
}

.consultantsReviewsSmallRight {
    width: 25%;
    float: left;
    clear: right;
}

/* button on titles of tables */
.btn-on-title {
    bottom: 4px;
    position: relative;
}

.table-bordered td {
    line-height: 25px !important;
}

#auditors-grid th {
    text-align: center;
}

#auditors-grid img.tableIfsImage {
    border: 2px solid white;
    width: 80px;
}

.gridloading {
    background-color: white !important;
    background-image: url('../../img/bigloading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 80px 80px;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.page-header {
    /* width: 100% !important; */
    /* position: fixed !important; */
    /* display: block; */
    /* clear: both; */
}

div.clearfix {
    position: fixed;
    display: block;
    clear: both;
}

/* bugs fixing for responsive display of the main layout, sidemenu and gridtable titles */
@media (max-width: 992px),(max-width: 767px),(max-width: 576px),(max-width: 480px),(max-width: 350px) {
    div.page-sidebar.navbar-collapse.collapse.in {
        padding: 20px !important;
        padding-top: 120px !important;
        width: 100vw !important;
        position: fixed !important;
        height: auto !important;
    }

    div.slimScrollDiv {
        height: auto !important;
    }

    ul.page-sidebar-menu.page-header-fixed {
        height: auto !important;
    }

    div.page-content {
        top: 80px !important;
        position: relative !important;
    }

    #mainBody {
        overflow: visible !important;
    }

    html {
        overflow: scroll !important;
    }

    div.page-footer {
        position: relative !important;
        top: 40px !important;
    }

}

.page-container {
    width: 100%;
}

.page-header-fixed .page-container {
    margin-top: 120px;
}

div.table-responsive.kv-grid-container th {
    padding-top: 25px !important;
}

div.auditor-cv-standard-form div.bootstrap-switch-wrapper {
    width: 37% !important;
}

div.auditor-cv-standard-form .form-group .bootstrap-switch-wrapper {
    margin-left: 0px;
}

.buttonsDiv {
    text-align: left;
    white-space: nowrap;
}

.buttonsDiv > * {
    margin-left: 5px;
    vertical-align: middle;
}


/* design for the footer on main layout , fixes bug of footer overflow by scrolling the page horizontally*/
div.page-footer {
    z-index: -1;
    background-color: #00305e !important;
    min-height: 65px;
    left: 0;
    right: 100px;
}

/*cancels overwriting of the file 'components-rounded.min.css' for icons like datepicker */
.input-group-addon > i {
    color: #333 !important;
}

/* Carla Quick Nav */
.quick-nav-carla-resize-70 {
    top: -233px !important;
    transform: scale(0.7, 0.7);
}

/* Daterangepicker stuff */
.daterangepicker_input .input-mini {
    width: 120px !important;
}

#date-range-picker.drp-container.ifs.dashboard-daterange {
    width: 250px;
}

#date-range-picker.drp-container.ifs .form-control,
#date-range-picker.drp-container.ifs .form-control .btn-pill {
    border-radius: 20px;
}

#date-range-picker.drp-container.ifs .form-control {
    position: relative;;
    display: flex;
    align-items: center;
    border: none;
    padding-right: 40px;
}

#date-range-picker.drp-container.ifs .btn-pill {
    position: absolute;
    right: 0;
    top: 0;
}

.flex-center {
    display: flex !important;
    justify-content: center;
}

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

#alert-container .alert .icon {
    margin-right: 10px;
}

img.icon-risk-hexagon.icon-small {
    height: 20px;
}

#cvTabView > li .icon-risk-hexagon {
    margin: -10px -10px 10px 0px;
    visibility: hidden;
}

.cv-hint {
    margin-bottom: 10px;
}

/* accordion BEGIN */
.ui-accordion.ui-accordion-custom .ui-accordion-header {
    font-family: Verdana, Arial, sans-serif;
    font-size: 2rem;
    margin: 10px 0 0 0;
    background: #ECF0F2;
}

.ui-accordion.ui-accordion-custom .ui-accordion-header:hover,
.ui-accordion.ui-accordion-custom .ui-accordion-header-active {
    color: #94A5AD;
    background: #3E4B5C;
    transition: all 0.3s ease-out;;
}

.ui-accordion.ui-accordion-custom .ui-accordion-header-icon.ui-icon:before {
    font-family: 'FontAwesome', sans-serif;
    content: "\f078";
    font-size: smaller;
    vertical-align: super;
}

.ui-accordion.ui-accordion-custom .ui-accordion-header-icon.ui-icon {
    background: none;
    text-indent: unset;
    font-size: 100%;
    height: 2rem;
    width: 2rem;
    margin-top: -0.25rem;
    transition: transform 0.5s ease-in;
}

.ui-accordion.ui-accordion-custom .ui-accordion-header-active .ui-accordion-header-icon.ui-icon {
    /*content: "\f077";*/
    transform: scaleY(-1);
}

.ui-accordion.ui-accordion-custom .ui-accordion-content {
    padding: 0 1rem 1rem 1rem;
    height: fit-content !important;
}

.ui-accordion.ui-accordion-custom .ui-accordion-content-active {
    display: block !important;
}

/* accordion END */
