body, html{
    width:100%;
    height:100%
    overflow-y:scroll;
    margin: 0px;
}
body{
    border-top: 8px solid #1e325a;
}
#header{
    max-width: 1500px;
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
    margin-top: -8px;
    border-top: 8px solid #881d5b;
    position: relative;
}
#header hr{
    border-bottom: 2px dotted #1e325a;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    margin-left: 0px;
    width: 100%;
}
#header .logo{
    margin-top: 40px;
    margin-bottom: 40px;
    width: 30vh;
    max-width: 205px;
}
#header .logo a{
    width: 30vh;
    max-width: 205px;
    display: block;
}
#header .logo img{
    width: 50vw;
    max-width: 305px;
}
label.hamburg,
input#hamburg {
    display: none;
}
#header .nav ul{
    text-align: right;
    position: absolute;
    top: 68px;
    right: 0px;
}  
#header .nav li{
    float: left;
    list-style: none;
    padding-left: 20px;
}  
#header .nav li a{
    font-family: 'Saira', sans-serif;
    font-weight: 300;
    font-size: 1.25em;
    text-decoration: none;
    color: #1e325a;
} 
#header .nav li a:hover, #header .nav li a.active{
    color: #cc1519;
} 
#main{
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 30px;
    margin-bottom: 80px;
}
#main.start{
    max-width: 100%;
    background-image: url(../img/OCS_Labs_-_Icon_bg.svg);
    background-size: contain;
    height: 50vh;
    background-position: left center;
    background-repeat: no-repeat;
}
#main.start ul{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    list-style: none;
    padding: 0px;
}
#main.start li{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    font-size: 4vh;
    line-height: 5vh;
    margin-bottom: 7vh;
    color: #1e325a;
    text-align: center;
    text-transform: uppercase;
}
#main.start li:before{
    content: "\2022";
    color: #881d5b;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-family: Arial, sans-serif;
}
#main.start li:first-child:before{
    color: #cc1519;
}
#main.start li:last-child:before{
    color: #1e325a;
}
#main p{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    font-size: 1.35em;
    color: #000000;
    text-align: center;
}
#main p strong, #main li strong{
    font-weight: 500;
}
#main.left{
    margin-bottom: 200px;
}
#main.left p{
    text-align: left;
}
#main ul{
    padding-left: 12px;
}
#main li{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    font-size: 1.35em;
    color: #000000;
    text-align: left;
    list-style-type: none;
}
#main li:before{
    content: url("../img/li.svg");
    position: absolute;
    margin-left: -12px;
    margin-top: -4px;
}
#main h1{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    font-size: 2.25em;
    color: #1e325a;
    text-align: center;
    text-transform: uppercase;
}
#main h2{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #881d5b;
}
#main h3{
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    color: #1e325a;
}
#main h4{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    color: #1e325a;
}
#main p a{
    color: #fff;
    background-color: #1e325a;
    text-decoration: none;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
}
#main a:hover{
    background-color: #cc1519;
}
#main #rtb h1{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #881d5b;
    font-size: 1.45em;
    border-bottom: 1px dotted #8383a0;
    padding-bottom: 10px;
}
#main #rtb .post-image{
    display: none;
}
#main #rtb h2{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #881d5b;
}
#main #rtb h3{
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    color: #1e325a;
}
#main #rtb .author, #main #rtb .post-author{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    color: #1e325a;
}
#main #rtb .post-date{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    color: #1e325a;
    position: relative;
    top: 0px;
    left: 0px;
    padding: 0px;
}
#main .rtb-close{
    display: block !important;
    text-align: right;
    cursor: pointer;
}
#main .rtb-close span{
    text-align: center;
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    color: #fff;
    background-color: #1e325a;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    display: inline-block;
}
#main .rtb-close span:hover{
    background-color: #cc1519;
}
#main #rtb a{
    text-decoration: none;
    cursor: pointer;  
}
#main #rtb pre{
    background-color: #e7e6ed;
    padding:10px; 
    overflow: auto;
}
#main #rtb .read-more{
    text-align: left;
    margin-top: 20px;
    border-bottom: 1px dotted #8383a0;
    padding-bottom: 50px;
}
#main #rtb .read-more a{
    color: #fff;
    background-color: #1e325a;
    font-size: 1em;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
}
#main #rtb .read-more a:hover{
    background-color: #cc1519;
}
#main #rtb p{
    text-align: left;
    font-size: 1.1em;
}
.services{
    background-color: #f6f6f6;
    padding-top: 120px;
    padding-bottom: 120px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-left: 10%;
    padding-right: 10%;
}
.services .box{
    width: 30%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.services .box img{
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.services .box img.sm{
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    max-width: 50px;
    height: auto;
    vertical-align: text-top;
    padding-left: 20px;
}
.services .box h2{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 500;
    font-size: 1.3em;
    color: #881d5b;
    text-align: center;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px dotted #881d5b;
    padding-bottom: 10px;
}
.services .box ul{
    padding-left: 12px;
}
.services .box li{
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    color: #000;
    list-style: none;
}
.services .box li:before{
    content: url("../img/li.svg");
    position: absolute;
    margin-left: -12px;
    margin-top: -4px;
}
.partner{
    background: rgb(30,50,90);
    background: -moz-linear-gradient(180deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 52%, rgba(136,29,91,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 52%, rgba(136,29,91,1) 100%);
    background: linear-gradient(180deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 52%, rgba(136,29,91,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1e325a",endColorstr="#881d5b",GradientType=1);
    padding-top: 120px;
    padding-bottom: 120px;
}
.partner h2{
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    font-size: 2.25em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 70px;
}
.partner .logos{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.partner .logos img{
    background-color: #fff;
    margin: 10px;
}
form {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 120px;
}
form input{
    display: block;
    width: 100%;
    background-color: #e7e6ed;
    border: none;
    font-size: 1.5em;
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}
form button{
    display: block;
    width: 100px;
    color: #fff;
    background-color: #1e325a;
    border: none;
    font-size: 1.2em;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    cursor: pointer;
}
form textarea{
    display: block;
    width: 100%;
    background-color: #e7e6ed;
    border: none;
    font-size: 1.5em;
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}
form label, form p{
    font-size: 1em;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
    color: #1e325a;
}

form label.required:after, form span {
    color: #cc1519;
    content: "*";
    font-size: 1em;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
  }
form .invisible{
    display: none;
}
#footer{
    max-width: 1500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 500;
    font-size: 1em;
    color: #1e325a;
}
#footer hr{
    border: none;
    height: 8px;
    border-radius: 8px;
    background-color: #881d5b;
    width: 100%;
    margin-top: -8px;
}
#footer .logo{
    margin-top: -60px;
}
#footer .logo img{
    background-color: #fff;
    border-radius: 100%;
    padding: 20px;
}
#footer h2{
    font-weight: 400;
    font-size: 2em;
    color: #1e325a;
    border-bottom: 1px dotted #1e325a;
    width: calc(100% - 60px);
    margin-left: 30px;
    padding-bottom: 10px;
}
#footer a{
    font-weight: 500;
    color: #1e325a;
    text-decoration: none;
}
#footer a:hover, #footer a.active{
    color: #881d5b;
}
#footer .contact{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    margin-bottom: 70px;
}
#footer .contact .box{
    width: 30%;
}
#footer .contact img{
    background-color: #fff;
    border-radius: 100%;
    padding: 0px;
    border: 2px dotted #fff;
}
#footer .contact a:hover img{
    background-color: #fff;
    border-radius: 100%;
    padding: 0px;
    border: 2px dotted #1e325a;
    transition: 0.5s; 
}
#footer .footer_nav{
    padding-top: 20px;
    border-top: 1px dotted #1e325a;
    width: calc(100% - 60px);
    margin-left: 30px;
    position: relative;
    margin-bottom: 120px;
}
#footer .footer_nav p{
    position: absolute;
    right: 0px;
    top: 4px;
    font-weight: 300;
}
@media only screen and (max-width: 1800px) {
    .services{
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media only screen and (max-width: 1200px) {
    #main{
        margin-top: 10px;
        margin-bottom: 35px;
    }
    #header{
        width: 100%;
    }
    #header .logo{
        margin-left: 30px;
    }
    #header hr{
        margin-left: 30px;
        width: calc(100% - 60px);
    }
    #header .nav{
        height: auto; 
        max-height:0; 
        overflow: hidden; 
        transition: all 0.5s;
        background-image: none;
        background: rgb(30,50,90);
        background: -moz-linear-gradient(0deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 75%, rgba(136,29,91,1) 100%);
        background: -webkit-linear-gradient(0deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 75%, rgba(136,29,91,1) 100%);
        background: linear-gradient(0deg, rgba(30,50,90,1) 0%, rgba(72,42,90,1) 75%, rgba(136,29,91,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1e325a",endColorstr="#881d5b",GradientType=1);
        position: absolute;
        width: 100%;
        z-index: 1;
    }
    #header .nav ul {
        display: block;
        text-align: center;
        height: auto;
        margin-left: 0px;
        margin-right: 30px;
        position: relative;
        top: 0px;
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    #header .nav ul li{
        float: none;
        text-align: center;
        border-bottom: 1px dotted #fff;
        padding-left: 0px;
    }
    #header .nav ul li.last{
        border-bottom: none;
    }
    #header .nav ul li a, #header .nav ul li a.active, #header ul li a:hover{
        color: #fff!important;
        display: block;
        width: 100%;
        padding-top:10px;
        padding-bottom: 10px;
        position: relative;
    }
    #header .nav ul li a.active:before, #header .nav ul li a:hover:before{
        content: url("../img/mobile_dot.svg");
        margin-left: -20px;
        position: absolute;
    }
    input#hamburg {
        display:none
    }
    label.hamburg {
        display: block;
        background: #1e325a; 
        width: 65px; 
        height: 65px; 
        position: absolute;
        top: 66px;
        right: 30px; 
        margin-left: auto;
        border-radius: 100%;
        cursor: pointer;
    }
    #hamburg:checked + .hamburg  + .nav {
        max-height: 600px!important;
    }
    .line {
        position: absolute; 
        left:13px;
        height: 7px; width: 39px; 
        background: #fff; border-radius: 2px;
        display: block; 
        transition: 0.5s; 
        transform-origin: center;
    }
    .line:nth-child(1) {
        top: 17px;
    }
    .line:nth-child(2) {
        top: 29px;
    }
    .line:nth-child(3) {
        top: 41px;
    }
    #hamburg:checked + .hamburg .line:nth-child(2) {
        opacity:0;
    }
    #hamburg:checked + .hamburg .line:nth-child(1) {
        transform: translateY(12px) rotate(-45deg);
    }
    #hamburg:checked + .hamburg .line:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }
    .services{
        padding-left: 30px;
        padding-right: 30px;
    }
    .services .box{
        width: 45%;
    }
    .partner{
        padding-top: 30px;
    }
    .partner .logos img{
        width: 25%;
    }
}
@media only screen and (max-width: 800px) {
    .services{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .services .box{
        width: calc(100% - 60px);
    }
    .partner{
        padding-top: 30px;
    }
    .partner .logos img{
        width: 25%;
    }
    .services{
        padding-left: 0px;
        padding-right: 0px;
    }
    .services .box img{
        width: 16%;
        min-width: 65px;
    }
    #footer .footer_nav p{
        position: relative;
    }
}
@media only screen and (max-width: 550px) {
    label.hamburg{
        top: 12vw;
    }
    #main h1, .partner h2{
        font-size: 1.85em;
    }
    .partner h2{
        margin-bottom: 30px;
    }
    #main p{
        font-size: 1.1em;
    }
    .partner .logos img {
        width: 42%;
    }
    #footer .contact{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #footer .contact .box{
        width: calc(100% - 60px);
        margin-left: auto;
        margin-right: auto;
        border-bottom: 1px solid #1e325a;
        padding-bottom: 20px;
    }
    #footer .contact .box.last{
        border-bottom: 0px solid #1e325a;
    }
}
@media only screen and (max-width: 280px) {
    .partner .logos img {
        width: 90%;
    }
}
@media only screen and (orientation : portrait) {
    #main.start li{
        font-family: 'Saira', sans-serif;
        font-weight: 400;
        font-size: 3.3vh;
        line-height: 4.5vh;
        color: #1e325a;
        text-align: center;
        text-transform: uppercase;
    }
}
