/**************************
    GLOBALS
***************************/

body {
    background: #fff url('/Content/images/pals-bkgd.jpg') repeat 0px -768px;
    padding: 0;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}

h1, h2, h3, h4, h5, h6, #mobile-menu {
    font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #ee2e24;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 5px;
}

img#logo {
    width: 255px;
}

.dev-only {
    color: #ee2e24 !important;
    margin-bottom: 3px !important;
}

select:focus {
    box-shadow: 0 0 3px #0496f9 !important;
}

div#home-short-application-header,
div#home-application-header {
    padding: 0 1em 1em 1em;
}

#home-short-application-header h2
#home-application-header h2 {
    color: rgba(0,0,0,.87);
}

p,
h1.ui.header .sub.header, h2.ui.header .sub.header {
    font-size: 1.1rem;
}

#home-short-application-form div.opt-hide,
#home-application-form div.opt-hide {
    display: none;
}

h1.ui.header, h2.ui.header, h3.ui.header,
h4.ui.header, h5.ui.header, h6.ui.header {
    color: #ee2e24;
}

.ui.header i {
    color: #e5e5e5;
}

.ui.radio.checkbox label {
    cursor: pointer;
}

#home-short-application-body .segment.field,
#home-application-body .segment.field {
    border: 1px solid white;
    padding: 7px;
}

#home-application-body .piled.segment,
#home-application-body .segment {
    position: absolute !important;
    bottom: auto !important;
    margin-bottom: 70px !important;
    padding-bottom: 80px !important;
    top: 0px !important;
    left: 0px !important;
}

#home-short-application-body .piled.segment,
#home-short-application-body .segment {
    position: absolute !important;
    bottom: auto !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    top: 0px !important;
    left: 0px !important;
}

#home-short-application-form-intro.segment
#home-application-form-intro.segment {
    position: absolute !important;
    bottom: auto !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    top: 0px !important;
    left: 0px !important;
}

.ui.segment {
    background: url('/Content/images/page-bg.jpg');
}

#home-short-application .hidden
#home-application .hidden {
    display: none;
}

#home-short-application-header,
#home-application-header {
    margin-bottom: 20px;
}

    #home-short-application-header img,
    #home-application-header img {
        width: 200px;
    }

#home-short-application-form div[data-opt-show-hide],
#home-application-form div[data-opt-show-hide] {
    display: none;
}

#shared-layout-navigation {
    height: 100px;
    margin-bottom: 35px;
}

.ui.header, .job-description {
    font-family: "Open Sans", sans-serif;
}

    .ui.header > .icon {
        font-size: 2.5em;
        padding-top: .1em;
    }

.ui.steps .step {
    color: #ee2e24;
    line-height: 1.2;
}

.disabled,
.ui.steps .disabled.step {
    pointer-events: auto;
    cursor: not-allowed !important;
}

.ui.steps .step .title {
    font-family: "Open Sans", sans-serif;
}

.ui.button {
    transition: all .5s;
    font-family: "Open Sans", sans-serif;
}

.ui.red.button {
    background: #ee2e24;
    box-shadow: 0 0 0 #fff;
}

    .ui.red.button:hover {
        background: #ff0d00;
        box-shadow: 0 0 10px #fff;
    }

.ui.transparent.button {
    color: #ee2e24;
    background: transparent;
}

    .ui.transparent.button:hover {
        color: #fff;
        background: #ee2e24;
    }

#shared-layout .steps .step.active,
#shared-layout .steps .step.active:after {
    background: #ee2e24;
    color: #fff;
}

#home-short-application-form-work-preferences h3.ui.header
#home-application-form-work-preferences h3.ui.header {
    margin-top: 30px;
}

.ui.ordered.steps .step.active:before,
.ui.steps .active.step .icon,
.ui.steps .step.active .title {
    color: #fff;
}

.ui.dropdown .menu > .item:hover {
    background: #EAEAD7;
}

#shared-layout .steps .step.complete,
#shared-layout .steps .step.inactive,
#shared-layout .steps .step.complete:after,
#shared-layout .steps .step.inactive:after {
    background: #FFCD27;
}

div#shared-layout.ui.container {
    width: 100% !important;
    text-align: left;
}

div#shared-layout.ui.container {
    width: 965px !important;
    text-align: left;
}

div#shared-layout-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#footer-navigation {
    margin-top: 12px;
}

.group:after {
    content: "";
    display: table;
    clear: both;
}


.ui.toggle.checkbox.field {
    margin-top: 10px;
}

label.checkbox-label {
    font-weight: normal;
    padding: 0 1.5em 0 0.5em;
}


/* Remove Semantic Styling */
.ui.form .inline.fields .field {
    margin: 0;
    padding: 0;
}

.ui.radio.checkbox .box,
.ui.radio.checkbox label {
    margin: 0;
    padding: 0 1em 0 1.5em;
}

.ui.middle.aligned.toggle.checkbox.field {
    margin-top: 32px;
}

.step-ordinal {
    position: relative;
    color: #EE2E25;
    background: #FFCD27;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    width: 170px;
    padding: 16px;
    margin: -42px auto 20px;
}

    .step-ordinal .icon {
        position: relative;
        top: 1px;
        display: inline-block;
    }

    .step-ordinal .arrow-right {
        position: absolute;
        right: -10px;
        top: 17px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #FFCD27;
    }

    .step-ordinal .arrow-left {
        position: absolute;
        left: -10px;
        top: 17px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #FFCD27;
    }


#remove-work-history, #remove-education, #remove-reference {
    display: none;
}

/* can be used to output messages to screen when troubleshooting issue */

#debug {
    color: red;
    font-size: 10pt;
    font-weight: bold;
    background-color: yellow;
    padding: 3px;
    z-index: 10;
    opacity: 0.8;
    visibility: hidden;
}

.field-validation-error {
    color: red;
    font-weight: bold;
}

.red-emphasis {
    color: red;
    font-weight: bold;
}

.ui.red.horizontal.divider {
    color: #ee2e24;
}

.navbar-nav > li > a {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/**************************
    OVERRIDES
***************************/

/* Device-Specific Styles */

@media only screen and (min-width: 992px) {
    .container {
        width: 970px;
        margin: 0 auto;
    }

    .lg-no-margin-top {
        margin-top: 0 !important;
    }

    .lg-no-margin-right {
        margin-right: 0 !important;
    }

    .lg-no-margin-bottom {
        margin-bottom: 0 !important;
    }

    .lg-no-margin-left {
        margin-left: 0 !important;
    }

    .lg-no-padding-top {
        padding-top: 0 !important;
    }

    .lg-no-padding-right {
        padding-right: 0 !important;
    }

    .lg-no-padding-bottom {
        padding-bottom: 0 !important;
    }

    .lg-no-padding-left {
        padding-left: 0 !important;
    }

    .lg-text-right {
        text-align: right;
    }

    .lg-text-left {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 991px) {

    div#shared-layout.ui.container {
        max-width: 750px !important;
        width: 95% !important;
    }

    #shared-layout .steps {
        display: -webkit-inline-box;
        -webkit-box-orient: horizontal;
    }

        #shared-layout .steps .step .title,
        .hidden-mobile {
            display: none;
            background: url("/Content/images/pals-bkgd.jpg") 0px -768px repeat-x rgb(181, 230, 234);
        }

    .sm-fluid {
        width: 100%;
    }

    #mobile-menu-controls h3 {
        font-size: 26px;
        margin-top: 15px;
        margin-bottom: 8px;
        font-weight: normal;
    }

    #hamburger-menu-icon {
        text-align: right;
    }

    #mobile-menu-controls .col-sm-offset-4 {
        margin-left: 33.33333%;
    }

    .mobile-menu-control {
        display: inline-block;
        width: 33%;
    }

    #mobile-menu-controls .mobile-menu-control {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 767px) {
    body {
        overflow-x: visible;
    }

    #home-short-application-body .piled.segment,
    #home-short-application-body .segment
    #home-application-body .piled.segment,
    #home-application-body .segment {
        width: 966px;
    }

    .ui.container {
        width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media only screen and (max-width: 767px) {
    .ui.container {
        margin-left: .5em !important;
        margin-right: .5em !important;
    }

    .segment {
        padding-bottom: 80px !important;
    }

    #mobile-menu-controls .col-xs-offset-5 {
        margin-left: 41.66667%;
    }

    #mobile-menu-controls h3 {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
    }

        #mobile-menu-controls h3 i {
            font-size: 25px;
            margin-bottom: 4px;
        }

    #mobile-menu-controls .mobile-menu-control {
        padding-left: 0;
        padding-right: 0;
    }

    .col-xs-3.mobile-menu-control {
        width: 24.5%;
    }
}

@media (max-width: 479px) {
    .col-xs-3.mobile-menu-control {
        width: auto;
    }

    .ui.form .required.field > .checkbox:after,
    .ui.form .required.field > label:after,
    .ui.form .required.fields.grouped > label:after, 
    .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
    .ui.form .required.fields:not(.grouped) > .field > label:after {
        margin-right: -12px;
    }
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-right {
    margin-right: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-margin-left {
    margin-left: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.no-padding-left {
    padding-left: 0 !important;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
