/* ==========================================================================
   Basic elements
   ========================================================================== */

body {
    font-size: 18px;
    line-height: 1.6;
    background: #F6F6F4;
    font-family: 'Raleway', sans-serif;
}

img {
    vertical-align: middle;
}

a {
    color: #E74149;
    text-decoration: none;
}

a:focus,
a:hover {
    color: #E74149;
    text-decoration: underline;
    outline: 0;
}


/* ==========================================================================
   Page structure
   ========================================================================== */

.page {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #FFFFFF;
}

header {
    width: 100%;
    background-color: #FFFFFF;
    height: 80px;
    border: none;
}

#logo {
    margin: 5px 0 0 30px;
    background-image: url("/img/stocard-logo.svg");
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
    height: 70px;
    width: 230px;
    background-position: center;
}

.insideButtonTop {
    font-size: 20px;
    padding: 0 0 0 3px;
    margin: -12px 0 -72px 0;
    display: block;
}

.insideButtonBottom {
    font-size: 14px;
    padding: 0 0 0 3px;
    margin: -10 0 -10px 0;
    display: block;
}

nav.topmenu {
    float: right;
    margin: 35px 0 0 0;
    width: 520px;
    text-align: right;
}

nav.topmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.topmenu ul li {
    display: inline-table;
}

nav.topmenu li:first-child a {
    margin-left: 0;
}

nav.topmenu li:last-child a {
    margin-right: 0;
}

nav.topmenu a {
    text-decoration: none;
    text-transform: uppercase;
    color: #E74149;
    padding: 0 0 5px 0;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    margin: 0 25px 0 0;
}

section.articles {
    border-left: none;
    border-right: none;
    border-bottom: #DFE2EA solid 1px;
    background-color: #FFFFFF;
    background-repeat: repeat-x;
    padding: 36px 0 0 0;
    height: 172px;
    width: 100%;
}

section h1 {
    font-size: 40px;
    margin: 45px 0 25px 0;
    padding: 0;
    color: #191919;
    font-weight: 200;
    line-height: 1.5;
    text-align: center;
}

section h1:first-child {
    margin-top: 0;
}

section h1:last-child {
    margin-bottom: 0;
}

section h2 {
    font-size: 30px;
    margin: 35px 0 15px 0;
    padding: 0;
    color: #191919;
    font-weight: 200;
    line-height: 1.5;
}

section h2:first-child {
    margin-top: 0;
}

.mediaImage {
    margin: 28px 0 0 0;
}

section.appInfo {
    border-left: none;
    border-right: none;
    width: 100%;
    padding: 0;
    height: auto;
    background-color: #ffffff;
}

section {
    padding-bottom: 25px;
}

section p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

section ul {
    font-size: 18px;
    font-weight: 400;
    padding: 0 0 0 25px;
    margin: 0;
    line-height: 1.6;
}

th {
    font-size: 13px;
    font-weight: normal;
    width: 130px;
    text-align: left;
    height: 30px;
}

select {
    width: auto;
    border: 1px solid #DFE2EA;
    border-radius: 5px;
    background-color: #FFFFFF;
}


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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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;
}

.row {
    margin: 0;
    padding: 0 25px;
}

.subPageHeader {
    box-sizing: initial;
}

.headlineContainer {
    text-align: center;
}


/** Responsive design corrections **/

#page {
    max-width: 1100px;
    width: auto;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 0 0 70px 0;
}

section>* {
    padding: 0 50px;
}

.flagging {
    margin: 0;
}

nav.navbar.navbar-default {
    border: none;
    background: #fff;
    margin-bottom: 0;
    height: 80px;
    border-bottom: 1px solid #DFE2EA;
    max-width: 1100px;
    width: auto;
    margin: 0 auto;
}

#navbar-menu {
    background: #fff;
    border-color: #DFE2EA;
    border-width: 1px;
    border-top: none;
}

.navbar-fixed-bottom .navbar-collapse,
.navbar-fixed-top .navbar-collapse {
    max-height: 100%;
}

#main-navigation {
    margin: 10px 30px 0 10px;
}

#main-navigation a {
    text-transform: uppercase;
    color: #E74149;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    border-bottom: 2px solid transparent;
}

#main-navigation .active>a,
#main-navigation>li:hover>a {
    text-decoration: none;
    border-bottom: 2px solid #E74149;
}

#main-navigation>li:hover>a.dropdown-toggle {
    border: none;
}

.dropdown-menu>li:hover>a {
    text-decoration: none;
    background-color: #E74149;
    color: #FFFFFF;
}

#main-navigation .dropdown-menu>li:hover>a {
    color: #FFFFFF;
}

.dropdown-menu>li>a {
    width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    background: none;
}

.dropdown-menu>li.active>a,
.dropdown-menu>li.active>a:focus,
.dropdown-menu>li.active>a:hover {
    background: #E74149;
}

.navbar-nav>li>a {
    padding: 0;
    margin: 15px;
}

.navbar-collapse.in {
    border: none;
    border-bottom: 1px solid;
}

.navbar-default .navbar-nav .buttonThin {
    background-color: #FFFFFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #E74149;
    display: inline-block;
    color: #E74149;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: normal;
    padding: 3px 20px;
    text-decoration: none;
    text-transform: uppercase;
    float: right;
    margin: 30px 0 0 0;
}

.navbar-inverse .navbar-toggle {
    background-color: #FFFFFF;
    border-color: transparent;
}

.navbar-inverse .navbar-toggle:active,
.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
    background-color: #FFFFFF;
    border-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #E74149;
}

.container {
    width: 100%;
}

button.navbar-toggle {
    margin: 25px 20px 0 0;
}

a.carousel-control,
a.carousel-control span {
    color: #FFFFFF;
}

.buttonThin:hover {
    background: #E74149;
    color: #FFFFFF;
}

.rbox-widget h3 {
    font-weight: 300;
}

#page .rbox-widget .rbox-opening-li-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #E74149
}

#page .rbox-job-title {
    color: #191919;
}

section.subPageHeader {
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    padding: 36px 0 0 0;
    height: 350px;
    width: 100%;
}

#jobs-count {
    color: #FFFFFF;
    position: absolute;
    top: -29%;
    right: -37%;
    color: white;
    font-size: 11px;
    width: 17px;
    height: 17px;
    border-radius: 100%;
    background-color: #E74149;
    text-align: center;
    font-weight: 600;
}

.no-inner-space,
div.col-md-12.no-inner-space,
.row.no-inner-space {
    padding: 0;
    margin: 0;
}

.upper-space,
div.col-md-12.upper-space,
.row.upper-space {
    margin-top: 50px;
}

.no-upper-space,
.row.no-upper-space {
    margin-top: 0;
}

#carousel-content>div {
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
}

#carousel-jobs-1 {
    background-image: url(../img/jobs/picture1.jpg);
}

#carousel-jobs-2 {
    background-image: url(../img/jobs/picture6.jpg);
}

#carousel-jobs-3 {
    background-image: url(../img/jobs/picture4.jpg);
}

#carousel-jobs-4 {
    background-image: url(../img/jobs/picture5.jpg);
}

#carousel-jobs-5 {
    background-image: url(../img/jobs/picture2.jpg);
}

#carousel-jobs-6 {
    background-image: url(../img/jobs/picture3.jpg);
}

#text-banner {
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    padding: 80px 100px;
    width: 100%;
    background-color: #E74149;
    text-align: center;
}

#text-banner h2 {
    font-size: 26px;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-weight: 300;
    line-height: 1.5;
}

input[type='text'] {
    color: #191919;
    border: 1px solid;
    border-color: #DFE2EA;
    color: #191919;
    display: inline-block;
    outline: 0;
    margin: 0 0 20px 0;
    padding: 3px 10px;
    vertical-align: top;
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.select-container {
    color: #8C8C8C;
    font-size: 18px;
    font-family: Raleway, sans-serif;
    font-weight: 400;
    padding: 3px 10px;
    margin: 0 0 20px 0;
}

label {
    color: #8C8C8C;
    font-size: 18px;
    font-family: Raleway, sans-serif;
    font-weight: 400;
    padding: 3px 10px;
    margin: 0 0 20px 0;
}

input[type='submit'] {
    width: initial;
}

textarea {
    color: #191919;
    background-color: white;
    border: 1px solid;
    border-color: #DFE2EA;
    color: black;
    outline: 0;
    margin: 0 0 20px 0;
    padding: 3px 10px;
    text-align: left;
    font-size: 18px;
    font-family: Raleway, sans-serif;
    vertical-align: top;
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

input::placeholder,
textarea::placeholder {
    color: #8C8C8C;
}

#header-main {
    background-image: url(../img/headers/the-app-en.png);
    background-size: cover;
}

.language-de #header-main {
    background-image: url(../img/headers/the-app-de.png);
}

.language-it #header-main {
    background-image: url(../img/headers/the-app-it.png);
}

#header-business {
    background-image: url(../img/headers/business-en.png);
    background-size: cover;
}

.language-de #header-business {
    background-image: url(../img/headers/business-de.png);
}

.language-it #header-business {
    background-image: url(../img/headers/business-it.png);
}

#header-jobs {
    background-image: url(../img/headers/jobs.png);
    background-size: cover;
}

#header-press {
    background-image: url(../img/headers/press-en.png);
    background-size: cover;
}

.language-de #header-press {
    background-image: url(../img/headers/press-de.png);
}

.language-it #header-press {
    background-image: url(../img/headers/press-it.png);
}

#header-contact {
    background-image: url(../img/headers/contact-en.png);
    background-size: cover;
}

.language-de #header-contact {
    background-image: url(../img/headers/contact-de.png);
}

.language-it #header-contact {
    background-image: url(../img/headers/contact-it.png);
}

#header-imprint {
    background-image: url(../img/headers/imprint.png);
    background-size: cover;
}

#main-one {
    border-bottom: 1px solid #DFE2EA;
}

#main-two {
    border-bottom: 1px solid #DFE2EA;
}

#main-three {
    border-bottom: 1px solid #DFE2EA;
}

#main-navigation a.dropdown-toggle {
    box-shadow: 0px 10px 0px 1px #E74149, 0px 16px 0px 1px #E74149, 0px 22px 0px 1px #E74149;
    width: 16px;
    height: 0px;
    right: -37%;
    color: white;
    font-size: 11px;
    border: none;
}

.caret {
    color: transparent;
    height: 30px;
    width: 30px;
    position: relative;
    right: 10px;
}

#contact-button {
    background-color: #FFFFFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #E74149;
    display: inline-block;
    color: #E74149;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: normal;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    margin: 0;
    transition: all, 0.3s;
}

#contact-button:hover {
    color: #FFFFFF;
    background: #E74149;
    transition: all, 0.3s;
}

.textfield-contact {
    border: 1px solid;
    border-color: #DFE2EA;
    color: #191919;
    display: inline-block;
    outline: 0;
    margin: 12px 0;
    padding: 3px 10px;
    vertical-align: top;
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

#contact-button2 {
    background-color: #FFFFFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #E74149;
    display: inline-block;
    color: #E74149;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: normal;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    margin: 0;
    transition: all, 0.4s;
}

#contact-button2:active,
#contact-button2:focus,
#contact-button2:hover {
    color: #FFFFFF;
    background: #E74149;
}

div.col-md-1,
div.col-md-2,
div.col-md-3,
div.col-md-4,
div.col-md-5,
div.col-md-6,
div.col-md-7,
div.col-md-8,
div.col-md-9,
div.col-md-10,
div.col-md-11,
div.col-md-12 {
    padding: 0px 25px;
    margin: 50px 0 0 0;
}

#main-title {
    font-size: 40px;
    text-align: center;
}

#main-image-1 {
    background-image: url("/img/the-app/app-en.png");
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 310px;
    padding: 20px 0 0 0;
}

.language-de #main-image-1 {
    background-image: url("/img/the-app/app-de.png");
}

.language-it #main-image-1 {
    background-image: url("/img/the-app/app-it.png");
}

#main-image-2 {
    background-image: url("/img/the-app/watch-en.png");
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 290px;
    padding: 10px 60px 0;
}

.language-de #main-image-2 {
    background-image: url("/img/the-app/watch-de.png");
}

.language-it #main-image-2 {
    background-image: url("/img/the-app/watch-it.png");
}

#main-navigation .dropdown-menu>li.active>a {
    color: #FFFFFF;
}

.download-app {
    background: #FFF;
    text-decoration: none;
    transition: all 0.3s;
}

.download-app:hover {
    opacity: 0.5;
    transition: all 0.3s;
}

.download-app>img {
    max-height: 90px;
    margin: 15px 10px 0 0;
    text-decoration: none;
    background: #FFF;
    width: 100%;
    padding: 0 10px 0 0;
}

#form-status {
    background: #F6F6F4;
    color: #191919;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    transition: all 0.3s;
}

#form-success {
    background: #41C891;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    transition: all 0.3s;
}

#form-error {
    background: #F42703;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    transition: all 0.3s;
}


/* ==========================================================================
   Mobile adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .row {
        padding: 0 12px;
    }
    div.col-md-1,
    div.col-md-2,
    div.col-md-3,
    div.col-md-4,
    div.col-md-5,
    div.col-md-6,
    div.col-md-7,
    div.col-md-8,
    div.col-md-9,
    div.col-md-10,
    div.col-md-11,
    div.col-md-12 {
        padding: 0px 12px;
        margin: 30px 0 0 0;
    }
    section h1 {
        font-size: 30px;
    }
    section h2 {
        font-size: 25px;
    }
    section p {
        font-size: 16px;
    }
    section.subPageHeader {
        height: 200px;
    }
    #text-banner {
        padding: 30px 40px;
    }
    #text-banner h2 {
        font-size: 23px;
    }
    #carousel-content>div {
        height: 200px;
    }
}
