.header {
    padding-right: 20px;
    text-align: right;
    padding-top: 10px;
    text-decoration: none;
}

.header a {
    padding-right: 20px;
    text-align: right;
    padding-top: 10px;
    text-decoration: none;
    color: #023047;
    text-align: right;
    font-size: 12px;
    font-weight: 100;
}

@media screen and (min-width: 601px) {
    .mobileheader {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .header {
        display: none;
    }
    .mobileheader {
        padding-right: 20px;
        text-align: right;
        padding-top: 10px;
        text-decoration: none;
    }
    
    .mobileheader a {
        padding-right: 20px;
        text-align: right;
        padding-top: 10px;
        text-decoration: none;
        color: #023047;
        text-align: right;
        font-size: 11px;
    }
}

/* Style the navbar */
#mytopnav {
    overflow: hidden;
}


/* Add a black background color to the top navigation */
.topnav {
    background-color: #ffffff;
    overflow: hidden;
    border-bottom: #d00010 0.5px solid;
    padding-left: 10px;
    padding-right: 10px;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #023047;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
    color: #ffffff;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: #023047;
    padding: 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 119px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: #023047;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
    color: #023047;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: #023047;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

.content {
    padding: 16px;
}

.sticky {
    position: fixed;
    top: 0;
    z-index: 4;
    min-width: -webkit-fill-available;
}

.sticky + .content {
    padding-top: 60px;
}
#alertMessagBlockShow {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #FFF;
    margin: 0 auto;
    transition: all 0.4s ease-in-out;
    position: relative;
}
#alertMessagBlock{
    width: 100%;
    height: 35px;
    overflow: hidden;
    background: #FFF;
    margin: 0 auto;
    transition: all 0.4s ease-in-out;
    position: absolute;
}

#alertMessagBlock.slideUp {
    height:0;
}

#alertMessagBlockShow  .flash-message, #alertMessagBlock .flash-message {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    font-family: sans-serif,arial,verdana;
    height: 100%;
}
#alertMessagBlockShow .success, #alertMessagBlock .success {
    color: #270;
    border-left: 15px solid green;
    background-color: #DFF2BF;
}

#alertMessagBlockShow  .error, #alertMessagBlock .error {
    border-left: 15px solid #FF6600;
    color: #D8000C;
    background-color: #FFBABA;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-error:before {
    content: "\f071";
    padding-right: 5px;
    font-size: 16px;
}

.fa-success:before {
    content: "\f00c";
    padding-right: 5px;
    font-size: 16px;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
        overflow: visible;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 10px;
        top: -55px;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
    .topnav.responsive .dropdown-menu {
        float: right;
        position: absolute;
        background: #fff;
        right: 0;
        width: 100%;
        height: auto;
        top: 55px;
        border-bottom: #229861 0.5px solid;
        z-index: 5;
    }
    .sticky .topnav.responsive .dropdown-menu {
        top: 47px;
    }
}

/**
* Search block added
*/
.jobs-logo {
    height: 40px;
}

.searchBlock {
    display: inline-block;
    float: left;
    margin-right: -32px;
    margin-top: 14px;
    width: 350px;
    display: none;
}
.searchBlock input[type=text] {
    padding: 5px 12px;
    font-size: 17px;
    border: 1px solid grey;
    float: left;
    width: 100%;
    background: #FFF;
    border-radius: 5px;
    position: relative;
}

.searchButton {
    float: left;
    width: 27px;
    display: inline-block;
    vertical-align: bottom;
    margin-top: 18px;
}

.searchButton button {
    float: left;
    width: 100%;
    padding: 0;
    background: #FFF;
    color: #999;
    font-size: 20px;
    border: none;
    border-left: none;
    cursor: pointer;
    margin-right: 22px;
    position: relative;
}

.searchButton button:hover {
    background: #fff;
}

.searchBlock::after {
    content: "";
    clear: both;
    display: table;
}
.showSearch {
    display:inline-block!important;
}

@media screen and (max-width: 600px) {
    .searchBlock {
        float: left;
        margin-right: 0px;
        margin-top: 0px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 91px;
        z-index: 1;
        display: none;
    }
    .searchBlock  input[type=text] {
        padding: 6px 12px 6px;
        font-size: 14px;
        border-right: none;
        border-left: none;
        border-radius: 0;
    }
    .searchOn {
        position: absolute;
        right: 5px;
        top: 81px;
        z-index: 1;

        width: 57px;
        margin-top: 14px;
    }
    .searchOn button {
        font-size: 19px;
    }
    .menuOn {
        display: none;
    }
    .stickySearch .searchBlock {
        float: left;
        margin-right: 0px;
        margin-top: 0px;
        width: 100%;
        position: fixed;
        left: 0;
        top: 57px;
        z-index: 1;
    }
    .stickySearch .searchOn {
        position: fixed;
        right: 5px;
        top: 44px;
        z-index: 1;
    }
}
@media only screen and (min-width: 601px) and (max-width: 749px) {
    .home_page_link {
        display: none!important;
    }
    .dropdown .dropbtn {
        font-size: 17px;
        padding: 16px 7px;
    }
    .topnav a {
        font-size: 17px;
        padding: 16px 7px;
    }
    .searchBlock {
        top: 73px!important;
    }
    .stickySearch .searchBlock {
        top: 39px!important;
    }
    .searchButton {
        margin-top: 19px!important;
    }
    .searchButton button {
        font-size: 16px!important;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1079px) {
    .searchBlock {
        position: absolute;
        margin-right: -32px;
        margin-top: 14px;
        width: 100%;
        left: 0;
        top: 77px;
    }
    .searchBlock input[type=text] {
        padding: 8px 12px;
        font-size: 18px;
        border: 1px solid grey;
        border-radius: 0;
        float: left;
        width: 100%;
        background: #FFF;
        position: relative;
        border-right: none;
        border-left: none;
    }

    .searchOn button {
        right: -16px;
        width: 57px;
        padding: 3px 0 0;
        background: #FFF;
        color: #999;
        font-size: 22px;
        border: none;
        border-left: none;
        cursor: pointer;
        margin-right: 22px;
        position: absolute;
        top: 94px;
    }
    .stickySearch .searchBlock {
        position: fixed;
        top: 43px;
    }
    .stickySearch .searchOn {
        position: fixed;
        top: -53px;
    }
    .stickySearch .searchOn button{
        right: 0px;
    }
}
@media screen and (min-width: 1080px) {
    .searchBlockOuter {
        float: left;
        padding-right: 15px;
    }
}

