/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,400,700);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color: #454545;
    font-size: 12px;
    line-height: 12px;
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    border: 0;
}

body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 24px;
    min-width: 320px;
}

a {
    text-decoration: none;
    color: #454545;
    text-decoration: none;
    border-bottom: 2px solid #828282;
    font-weight: 600;
    line-height: 17px;
    color: #454545;
    transition: border 0.2s;
}
a:hover {
    border-bottom: 2px solid transparent;
}
a.big{
    font-weight: 600;
    background: #ffffff;
    padding: 16px 80px;
    display: inline-block;
    border-bottom: 0px;
    margin-top: 10px;
    /*margin-bottom: 10px;*/
    border: 1px solid transparent;
}
a.big:hover{
    border: 1px solid #454545;
}
b {
    font-weight: 600;
}
.clear{
    clear:both;
}
.center{
    text-align: center;
}

#header-container {
    width: 100%;
    height: 130px;
    position: absolute;
    background: #ffffff;
    min-width: 320px;
    padding: 0 40px;
}
header{
    max-width:944px;
    margin: auto;
    position: relative;
    text-align: center;
    display: block;
    height: 100%;
    background: white;
    box-sizing: border-box;
}
header .logo{
    display: block;
    height: 70px;
    position: absolute;
    left:0px;
    margin-top: 29px;
    top:0;
    border: none;
}
header .logo img{
    height: 100%;
}
header .caption {
    padding-top: 59px;
    font-size: 18px;
    font-weight: 600;
}
header .links{
    position: absolute;
    top:0;
    right: 0px;
    margin-top: 63px;
    font-size: 15px;
}
header .links li {
    line-height: 17px;
}
header .links li img{
    width:4px;
    margin-right: 11px;
    position:relative;
    top:-1px;
}
header .links a{
    display: inline-block;
}
#content-container{
    width: 100%;
    min-height: 100%;
    background: #eeeeee;
    padding-top: 130px;
}

/* ==========================================================================
   jobs list
   ========================================================================== */
main{
    max-width:1024px;
    margin: auto;
    text-align: center;
    display: block;
    padding:62px 25px 72px 25px;
}

.jobs {
    text-align: center;
    margin: auto;
    padding-bottom: 10px;
}
.jobs li {
    width:132px;
    height:129px;
    background: #ffffff;
    margin: 17px 15px;
    box-sizing:content-box;
    display: inline-block;
    line-height: 12px;
    position: relative;
}
.jobs li a {
    border: none;
    height: 100%;
    display: block;
}
.jobs li img {
    width:132px;
    height: 75px;
}
.jobs h3 {
    font-size: 9px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 11px;
}
.jobs h2 {
    font-size: 9px;
    font-weight: 700;
    margin-top: 1px;
    line-height: 9px;
    position:absolute;
    height: 28px;
    width:100%;
}
/* ==========================================================================
   video
   ========================================================================== */
section#video {
    max-width:1024px;
    text-align: center;
    margin: auto;
    display: none;
    padding:20px 40px;
}
#video > div {
    position: relative;
    width: 100%;
    height: 0;
    margin-bottom: 10px;
    padding-bottom: 56%;       
}
#video > div iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}



/* ==========================================================================
   job view
   ========================================================================== */
body#job {
    background: #e0e0e0;
    /*text-align: center;*/
    max-width: 1024px;
    position: relative;
    margin: auto;
}
#job section {
}
#job section .job-header{
    color: #ffffff;
    text-align: center;
    padding: 0 40px;
    width: 100%;
    height: 354px;
    font-size: 15px;
    background: url("../img/big.jpg") center;
    background-size: cover;
}
#job .job-header .links{
    text-align: left;
    padding-top: 35px;
}
#job .job-header .links a {
    line-height: 17px;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
}
#job .job-header .links a:hover {
    border-bottom: 2px solid transparent;
}

#job .job-header .links img {
    padding: 0 3px;
}
#job .job-header h2 {
    font-size: 30px;
    font-weight: 600;
    margin-top: 101px;
}
#job .job-header h1 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 15px;
}
#job .content{
    max-width: 622px;
    margin: auto;
    padding: 64px 0;
}
#job .content h3{
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
}
#job .content p{
    padding: 10px 0;
}
#job .content ul{
    list-style-type: disc;
    margin-left: 20px;
    padding: 10px 0;
}
#job .content a.big {
    margin-top:73px;
    margin-bottom: 28px;
}

@media only screen and (max-width: 840px) {
    header .logo li img{
        top:0px;
    }
    header .caption {
        font-size: 15px;
        padding-top: 4px;
        text-align: right;
    }
    header .links{
        font-size: 12px;
        text-align: right;
        position: static;
        margin-top: 0px;
        padding-top: 46px;
        display: block;
    }
    header .links li img{
        top:0px;
    }
    main{
        text-align: center;
        display: block;
        padding:31px 5px;
        padding-bottom: 41px;
    }

    .jobs {
        text-align: center;
        margin: auto;
        
    }
    .jobs li {
        margin: 17px 10px;
    }


    #job .content{
        padding: 20px 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #job .content a.back{
        margin-top:23px;
        margin-bottom: 18px;
    }

    section#video {
        padding:20px;
    }
}

@media only screen and (max-width: 550px) {
    #header-container{
        position: relative;
        z-index: 1;
    }
    #header-container {
        height: auto;
        padding-bottom: 6px;
    }
    header .logo{
        position: static;
        display: block;
        height:80px;
        padding: 10px 0 5px 0;
        margin-top: 0;
    }
    header .caption {
        text-align: center;
    }
    header .links{
        text-align: center;
        padding-top: 5px;
    }
    #content-container{
        position:absolute;
        top:0;
        z-index: 0;
        padding-top:134px;
    }
}

@media only screen and (max-width: 430px) {
    header .headline{
        width: 180px;
        margin: auto;
    }
    header .caption {
        font-size: 13px;
        line-height: 20px;
    }
}


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

.hidden {
    display: none !important;
    visibility: hidden;
}

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
