/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: "Segoe UI",Arial,sans-serif !important;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    z-index: 1 !important;
}

.modal-content, .btn, .custom-select, .page-link, .form-control, .modal-header, .dropdown-toggle {
    border-radius: 0 !important;
}

.full-modal {
    max-width: 100% !important;
}

.modal-header {
    background-color:#385377 !important;
    color: white !important;
    padding: 0 10px 0 15px !important;
}

.modal-footer {
    border-top: 0 !important;
}

header.w3-container > span {
    height: 23px !important;
}

label {
    margin-bottom: 0 !important;
}

.form-control {
    height: 2.2rem!important;
    padding: 5px 5px 5px 10px !important;
}

.custom-select {
    height: 2.2rem!important;
    padding: 5px 5px 5px 10px !important;
}

.selected-tag {
    margin: 0 !important;
    height: 22px !important;
}

.dropdown-toggle::after {
    display: none !important;
}

#awjobs-pages-main-content {
    overflow-x: auto !important;
    overflow: auto;
    width: 100%;
    height: 80%;
    z-index: 3 !important;
    position: absolute;
}

.ui-draggable {
    z-index:9999 !important;
}

.dhx_matrix_line {
    overflow: visible !important;
}

#awjobs-welcome-container{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    height: 100%;
}

#awjobs-welcome-button{
    order: 0;
    flex-flow: row;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
}

.responsive-main-background{
    height: 100%;
    margin:0px;
    background: url(/img/aw_jobs_small.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

#awjobs-header, #awjobs-mini-navbar, #awjobs-top-navbar{
    z-index: 4 !important;
}

#awjobs-header {
    background: url("/img/awj_logo_lscape_combo.png");
    background-repeat: no-repeat;
    background-size:contain;
    background-position: left;
}

#awjobs-header-small{
    background: url("/img/awj_logo_lscape_small_v2.png");
    background-repeat: no-repeat;
    background-size:contain;
    background-position: left;
}

#scheduler_here{
    /*display: none;*/
    /*width: 70%;*/
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    height: 100%;
}

.w3-display-topright {
    right: 5px !important;
}

#left-button-in-header{
    margin-left: 200px !important;
}

#awjobs_index_page_content{
    height: 30%;
}

#awjobs-home-button, #awjobs-calendar-button, #awjobs-cards-button, #awjobs-user-label, #awjobs-logout-button, #awjobs-teams-button,
#awjobs-operator-home-button{display: none;}
#awjobs-app-button, #awjobs-app-button-small, #awjobs-calendar-button-small, #awjobs-teams-button-small, #awjobs-logout-button-small,
#awjobs-home-button-small, #awjobs-filter-labels, #awjobs-balance-button{
    display: none;
}

#awjobs-team-card, #awjobs-operators-card, #awjobs-tools-card, #awjobs-logout-button{
    /*display: none;*/
}

/* select */
.w3-select:focus {outline:0 !important;}

select { cursor: pointer; }

.file-upload, .photo-upload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.file-upload input.upload, .photo-upload input.upload{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

input[type="datetime-local"].is-valid:hover,
input[type="datetime-local"].is-valid:focus,
input[type="datetime-local"].is-invalid:hover,
input[type="datetime-local"].is-invalid:focus,
input[type="date"].is-valid:hover,
input[type="date"].is-valid:focus,
input[type="date"].is-invalid:hover,
input[type="date"].is-invalid:focus
{
    background-position: center right calc(.375em + 3.2rem) !important;
}

input[type="number"].is-valid:hover,
input[type="number"].is-valid:focus,
input[type="number"].is-invalid:hover,
input[type="number"].is-invalid:focus
{
    background-position: center right calc(.375em + .95rem) !important;
}

/* our palette */
.w3-theme             { color:#fff    !important; background-color:#385377 !important }
.w3-theme-light       { color:#000    !important; background-color:#DDE3E8 !important }
.w3-theme-dark        { color:#fff    !important; background-color:#252b34 !important }
.w3-theme-main-l5     { color:#000    !important; background-color:#DDE3E8 !important }
.w3-theme-main-l4     { color:#000    !important; background-color:#C5DCEB !important }
.w3-theme-main-l3     { color:#000    !important; background-color:#BED1E1 !important }
.w3-theme-main-l2     { color:#fff    !important; background-color:#92AECA !important }
.w3-theme-main-l1     { color:#fff    !important; background-color:#7490AE !important }
.w3-theme-main-d1     { color:#fff    !important; background-color:#385377 !important }
.w3-theme-main-d2     { color:#fff    !important; background-color:#384556 !important }
.w3-theme-main-d3     { color:#fff    !important; background-color:#5E6976 !important }
.w3-theme-main-d4     { color:#fff    !important; background-color:#252b34 !important }
.w3-theme-sec-l       { color:#000    !important; background-color:#CDC5C3 !important }
.w3-theme-sec-m       { color:#000    !important; background-color:#AAABAA !important }
.w3-theme-sec-d       { color:#fff    !important; background-color:#948B8E !important }
.w3-theme-sec-d2      { color:#fff              ; background-color:#948B8E !important }
.w3-theme-com-0       { color:#000    !important; background-color:#B59F4C !important }
.w3-theme-com-1       { color:#000    !important; background-color:#FFF1BC !important }
.w3-theme-com-2       { color:#000    !important; background-color:#DDCA80 !important }
.w3-theme-com-2       { color:#000    !important; background-color:#DDCA80 !important }
.w3-theme-com-3       { color:#fff    !important; background-color:#937D2A !important }
.w3-theme-com-4       { color:#fff    !important; background-color:#67540C !important }
.w3-theme-com-5       { color:#000    !important; background-color:#B5744C !important }
.w3-theme-com-6       { color:#000    !important; background-color:#FFD5BC !important }
.w3-theme-com-7       { color:#000    !important; background-color:#DDA480 !important }
.w3-theme-com-8       { color:#fff    !important; background-color:#93522A !important }
.w3-theme-com-9       { color:#fff    !important; background-color:#672F0C !important }
.w3-text-theme, label { color:#385377 !important; }
.w3-text-theme-sec-l  { color:#CDC5C3 !important; }
.w3-text-theme-sec-l  { color:#CDC5C3 !important; }
.w3-text-theme-sec-d  { color:#948B8E ; }
.w3-text-theme-com-5  { color:#B5744C ; }
.w3-text-theme-com-9  { color:#672F0C ; }


/* end our palette */

/* opacity for white cards */
.opacity-card {
    background: rgb(255, 255, 255);      /* Fall-back for browsers that don't support rgba */
    background: rgba(255, 255, 255, .8);
}

/* spinner/loader */
#awjobs-scheduler-loader-container{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    height: 100%;
}


#awjobs-scheduler-loader{
    order: 0;
    flex-flow: row;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
}

.loader {
    border: 16px solid #DDE3E8;
    border-radius: 50%;
    border-top: 16px solid #92AECA;
    border-right: 16px solid #252b34;
    border-bottom: 16px solid #B59F4C;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin: auto;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* end spinner/loader */

@media screen and (max-width: 1000px) {

    body:after {
        content: 'smallscreen';
        display: none;
    }
}

@media screen and (min-width: 1000px) {

    body:after {
        content: 'screen';
        display: none;
    }

}

@media screen and (max-width: 640px) {

    body:after {
        content: 'smartphone';
    }

}

@media screen and (max-width: 710px) {

    body:after {
        content: 'smartphone';
    }

}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.registriesDropDown:hover, .registriesDropDown:focus {
    background-color: #385377;
}

.dropdownRegistries {
    position: absolute;
    display: block;
}
.dropdownReport {
    position: absolute;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 4;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdownRegistries a:hover {background-color: #f1f1f1}
.dropdownReport a:hover {background-color: #f1f1f1}

.show {display:block;}

.custom-invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.aligner {
    display: flex;
    align-items: center;
    justify-content: center;
}

[v-cloak] {
    display: none;
}

.reportLoader {
    border: 16px solid #DDE3E8;
    border-radius: 50%;
    border-top: 16px solid #92AECA;
    border-right: 16px solid #252b34;
    border-bottom: 16px solid #B59F4C;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.loader-container{
    position: absolute;
}

.interventButton{
    float:left;
    width:20%;
    border-radius: 5px 25px 0 0;
    transform-origin: left;
    height: 40px;
    display: table;
    border:1px solid #385377;   /*w3-theme*/
}

.intervent-content{
    border: 1px solid #385377;  /*w3-theme*/
    min-height: 170px;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

#photo-div, #file-div{
    flex: 1;
}

.dataTable, .dhx_agenda_line, .awjobs-pointable-element {
    cursor: pointer;
}

.draggable {
    cursor: move;
}

.modal-header > .close {
    opacity: 1 !important;
    color: #fff !important;
}

.tableContainer {
    overflow: auto;
}
.custom-invalid-feedback {
    display: block;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.repeatableDot {
    height: 10px;
    width:10px;
    border-radius: 20px;
    display: inline-block;
    margin-left: 5px;
}

.event_date {
    padding-left: 5px;
    padding-top: 5px;
    display: inline-block;
}

.myVueSelect > .dropdown-toggle {
    padding: 0 !important;
}

.myVueSelect > .dropdown-toggle > .vs__selected-options > .form-control {
    margin: 0 !important;
    padding: 0 !important;
}

.clickable:hover {
    cursor: pointer;
}

.v-select .vs__selected-options {
    align-items: center;
}

.open-indicator::before {
    margin-bottom: 5px;
}

legend {
    color:#385377 !important;
    font-weight: bold;
}

.b-table.table > thead > tr > th[aria-sort]::after, .b-table.table > tfoot > tr > th[aria-sort]::after {
    bottom: 9px !important;
    transform: scale(1.5) !important;
    padding-bottom: 0 !important;
}
