﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: PolySans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 16px;
    font-weight: 400;
    color: #142531;
}

main {
    margin-top: 50px;
    position: relative;
    min-height: calc(100svh - (51px) - (80px));
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

/* HEADER */
header { height: 51px;}
header > nav { height: 50px;}

.jumbotron-home {
    background-image: url('/assets/images/jumbotron-home-mobile.png');
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 400px;
    color: white;
    margin-bottom: 80px;
}

    .jumbotron-home > .jumbotron-large-text {
        font-size: 80px;
        margin-top: 50px;
    }
    .jumbotron-home > .jumbotron-text {
        max-width: 100%;
        font-size: 16px;
        line-height: 24px;
    }
    @media (min-width: 768px) {

        .jumbotron-home {
            background-image: url('/assets/images/jumbotron-home.png');
            height: 600px;
            
        }
        .jumbotron-home > .jumbotron-large-text {
            font-size: 160px;
            margin-top: 80px;
        }
        .jumbotron-home > .jumbotron-text {
            max-width: 688px;
            font-size: 24px;
            line-height: 32px;
        }
    }

/* LINKS */
a {
    text-decoration: none;
}

    /* FORMS */
    .form-control {
        border-width: 2px;
    }

    .form-control:focus {
        border-color: #5A5CCD;
        box-shadow: none;
    }

.required:after {
    margin-left: 5px;
    content: "*";
    font-weight: bold;
    color: #dc3545;
}

    /* FOOTER */
footer {
    min-height: 80px;
    width: 100%;
    background-color: #142531;
    color: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.job-offer__list__attrs,
.job-offer__details__attrs {
    margin-bottom: 5px;
}

.job-offer__list__attrs th,
.job-offer__list__attrs td,
.job-offer__details__attrs th,
.job-offer__details__attrs td {
    padding: 5px 10px 5px 0;
}

.job-offer__list-item__text *,
.job-offer__details__body * {
    font-family: PolySans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #142531 !important;
}

.job-offer__list-item__text table,
.job-offer__list-item__text table th,
.job-offer__list-item__text table td,
.job-offer__details__body table,
.job-offer__details__body table th,
.job-offer__details__body table td {
    border-color: #DCDEE0 !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-collapse: collapse !important;
}

.job-offer__list-item__text tr > td,
.job-offer__details__body tr > td {
    padding: 5px 10px !important;
    vertical-align: middle !important;
}

.job-offer__list-item__text table tr > td:first-child:not([colspan="2"]),
.job-offer__details__body table tr > td:first-child:not([colspan="2"]) {
    background-color: #F3F4F5 !important;
    color: #667179 !important;
}

.job-offer__list-item__text tr > td:not(:first-child),
.job-offer__details__body tr > td:not(:first-child) {
    color: #142531;
}

/* JOB OFFER DETAIL */
.job-offer__details {
    font-family: PolySans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    margin-top: 80px;
}

.job-offer__details * {
    font-family: PolySans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

.job-offer__details__attrs tr:not(:last-child) {
    margin-bottom: .5rem;
}

.job-offer__details__attrs tr {
}

.job-offer__details__attrs th {
    vertical-align: top;
    padding: .3em 1em .3em 0;
}

.job-offer__details__attrs td {
    vertical-align: top;
    padding: .3em;
}
   
a#scrollToTop {
    position: fixed;
    bottom: 90px;
    right: 20px;
    opacity: 0.5;
} a#scrollToTop:hover {
    opacity: 1;
}
    /* OLD */
    a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
    /* Provide sufficient contrast against white background */
    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }
    /* Sticky footer styles
-------------------------------------------------- */
    .box-shadow {
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    }
    /* BUTTONS */
    button.accept-policy {
        font-size: 1rem;
        line-height: inherit;
    }
    /* Sticky footer styles
-------------------------------------------------- */
    html {
        position: relative;
        min-height: 100%;
    } .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        white-space: nowrap;
        line-height: 60px; /* Vertically center the text there */
    }
    /* NAV */
    .navbar .nav-item a:hover {
        /*color: #007BC1;*/
    }
    
    /* MY AREA */
    .my-area {
        padding: .8em 1em;
        background-color: #efefef;
    }
    /* SEARCH JOBS */
    .search-jobs {
        background-color: #efefef;
        padding: 1rem;
    } .truncate-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* JOB OFFER LIST */
    .job-offer__list__results-count {
        margin-bottom: 1rem;
    } .job-offer__list-item {
        margin-bottom: 2rem;
    } .job-offer__list-item__attrs {
        margin-bottom: .5rem;
    } .job-offer__list-item__text {
        display: -webkit-box;
        max-height: 200px;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* LOGIN */
    .login-controls {
        width: 50%;
        min-width: 280px;
        margin: 0 auto;
        padding: 1rem 1.5rem;
        background-color: #f5f5f5;
        border-radius: 5px;
    }
    /* REGISTER */
    .register-box {
        padding: 1rem 1.5rem;
        background-color: #f5f5f5;
        border-radius: 5px;
    }
