html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

header, hgroup, main, nav, section {
    display: block;
}

body {
    font-family: Roboto, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 2.8rem;
    color: #54617a;
    overflow-x: hidden;
    overflow-y: scroll;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 3.6rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.167em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1em;
    margin-bottom: 1.5rem;
}

a:not([class]) {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #54617a;
    transition: color 0.2s;
}

a:not([class])::before {
     content: "";
     position: absolute;
     bottom: 0;
     left: 50%;
     z-index: 1;
     display: block;
     width: 100%;
     height: 1px;
     background-color: #26b4e9;
     transition: transform 0.2s;
     transform: translateX(-50%) scaleX(0);
 }

a:not([class])::after {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     display: block;
     width: 100%;
     height: 1px;
     background-color: #54617a;
     transition: transform 0.2s;
 }

a:not([class]):hover {
    color: #26b4e9;
}

a:not([class]):hover::before {
     transform: translateX(-50%) scaleX(1);
}

a[name]::before,
a[name]::after {
    display: none;
}
a[name]:hover {
    color: #54617a;
}

a.link-to-login:link, .logo a.link-to-login:visited, .logo a.link-to-login:hover, .logo a.link-to-login:active {
    text-decoration: none;
    position: initial;
}

ul,
ol {
    list-style: none;
}

ul:not([class]) li {
    position: relative;
    padding-left: 12px;
}

ul:not([class]) li::before {
    content: '';
    position: absolute;
    top: 10px;
    display: inline-block;
    width: 4px;
    height: 4px;
    vertical-align: middle;
    border-radius: 50%;
    background-color: #54617a;
    transform: translateX(-12px);
}

ol:not([class]) {
    counter-reset: section;
}

ol:not([class]) li {
    position: relative;
    margin-left: 12px;
    padding-left: 12px;
}

ol:not([class]) li::before {
    content: counters(section, ".") ". ";
    position: absolute;
    left: 0;
    display: inline-block;
    counter-increment: section;
    transform: translateX(-12px);
}

strong {
    font-weight: 700;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #d8e7f5;
}

th {
    padding: 30px;
    text-align: left;
    vertical-align: top;
}

tbody {
    font-size: 1.6rem;
    line-height: 1.54em;
    background-color: #f0f6fb;
}

tbody tr:not(:last-child) {
     border-bottom: 2px solid #fff;
}

tbody td {
    padding: 35px 30px;
    vertical-align: top;
}

td:not(:first-child) {
    border-left: 2px solid #fff;
}

table li {
    position: relative;
    text-indent: 0;
}

table li:not(:last-child) {
    margin-bottom: 20px;
}

table li::before {
     display: none;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.167em;
    margin-bottom: 4.5rem;
}

p {
    margin-bottom: 3.5rem;
}

p:not(:last-of-type) {
    margin-bottom: 1.5rem;
}

.text-link {
    position: relative;
    display: inline-block;
    font-family: Roboto, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

.b-header .header-inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 25px;
    align-items: center;
}

.b-header .logo {
    width: 200px;
    height: auto;
}

.b-header .logo img {
    width: 100%;
    height: auto;
}

.b-header .header-nav {
    margin-left: auto;
}

.b-header .header-nav .header-nav-list {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.b-header .header-nav .header-nav-list .header-nav-item {
    display: inline-block;
}

.b-header .header-nav .header-nav-list .header-nav-item:not(:first-child) {
    margin-left: 60px;
}

.b-header .header-nav .header-nav-list .header-nav-item:last-child {
    margin-right: 50px;
}

.b-header .header-nav .header-nav-list .header-nav-item .item-link {
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00497e;
}

.b-header .header-nav .header-nav-list .header-nav-item::after {
    content: "";
    position: relative;
    bottom: -5px;
    left: 50%;
    display: block;
    width: calc(100% + 30px);
    height: 1px;
    background-color: #00497e;
    transition: transform 0.2s;
    transform: translateX(-50%) scaleX(0);
}

.b-header .header-nav .header-nav-list .header-nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.b-footer {
    background-color: #00497e;
}

.b-footer .footer-inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: center;
}

.b-footer .social-media, .b-footer .social-media {
    display: inline-block;
    width: auto;
}

.b-footer .social-media {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.b-footer .social-media .social-media-item {
    display: inline-block;
}

.b-footer .social-media .social-media-item:not(:first-child) {
    margin-left: 45px;
}

.b-footer .social-media .social-media-item .item-link.facebook {
    width: 7px;
    height: 18px;
}

.form-group .form-control {
    display: inline-block;
    outline: none;
    border: 0;
    border-radius: 30px;
    padding: 25px 22px;
    font-family: Roboto, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: normal;
    color: #54617a;
    background-color: #e8f1f9;
    -webkit-font-smoothing: antialiased;
}

.b-footer .social-media .social-media-item .item-link {
    text-indent: -9999px;
    opacity: 0.8;
    display: block;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.b-footer .social-media .social-media-item .item-link.facebook {
    background-image: url("../img/icon-facebook.svg");
    width: 7px;
    height: 18px;
}

.b-footer .social-media .social-media-item .item-link.twitter {
    background-image: url("../img/icon-twitter.svg");
    width: 15px;
    height: 15px;
}

.b-footer .social-media .social-media-item .item-link.xing {
    background-image: url("../img/icon-xing.svg");
    width: 15px;
    height: 20px;
}

.b-footer .social-media .social-media-item .item-link.linkedin {
    background-image: url("../img/icon-linkedin.svg");
    width: 13px;
    height: 16px;
}

.b-footer .social-media .social-media-item .item-link:hover {
    opacity: 1;
}

.b-footer .footer-nav {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    align-items: baseline;
}

.b-footer .footer-nav .footer-nav-item {
    display: inline-block;
}

.b-footer .footer-nav .footer-nav-item:not(:first-child) {
    margin-left: 60px;
}

.b-footer .footer-nav .footer-nav-item .item-link {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1em;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.b-footer .footer-nav .footer-nav-item::after {
    content: "";
    position: relative;
    bottom: -5px;
    left: 50%;
    display: block;
    width: calc(100% + 30px);
    height: 1px;
    background-color: #fff;
    transition: transform 0.2s;
    transform: translateX(-50%) scaleX(0);
}

.b-footer .footer-nav .footer-nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.form-group .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    line-height: normal;
    color: #54617a;
}
.form-group .form-control::-moz-placeholder {
    /* Firefox 19+ */
    line-height: normal;
    color: #54617a;
}
.form-group .form-control:-ms-input-placeholder {
    /* IE 10+ */
    line-height: normal;
    color: #54617a;
}
.form-group .form-control::-moz-placeholder {
    /* Firefox 18- */
    line-height: normal;
    color: #54617a;
}

.b-login-mask, .b-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15rem 0;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.b-login-mask .form-group {
    display: inline-block;
    width: 50%;
    padding: 0 5%;
}

.b-login-mask .form-control {
    width: 100%;
    margin-bottom: 22px;
}

.b-login-mask .login-mask-text, .b-login-mask .form-group {
    display: inline-block;
    width: 50%;
    padding: 0 5%;
}

.b-login-mask .text-link {
    display: block;
    margin-left: 25px;
    font-size: 1.2rem;
    color: #54617a;
}

.b-login-mask .text-link:hover {
    color: #26b4e9;
}

.b-login-mask .btn {
    margin-top: 50px;
}

button, input[type="submit"] {
    appearance: none;
    position: relative;
    z-index: 1;
    display: block;
    font-family: $base-font;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease-out;
    overflow: hidden;
    user-select: none;
    margin-bottom: 60px;
    box-shadow: 20px 60px 50px 0 rgba(0, 0, 0, 0.2);
    border: 0;
    border-radius: 25px;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 1.69px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0);
}

button::before, input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #26b4e9;
}

button::after, input[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -25px;
    z-index: -1;
    width: 200%;
    height: 200%;
    background-color: #00497e;
    transition: all ease-out 0.3s;
    transform: translate(-100%, -50%) skew(45deg);
    transform-origin: left;
}

button:hover::after, input[type="submit"]:hover::after {
    left: 50%;
    transform: translate(-50%, -50%) skew(45deg);
}

@media only screen and (max-width: 1024px) {
    table {
        overflow-x: auto;
        display: block;
        width: fit-content;
        max-width: 100%;
    }

    .b-login-mask .login-mask-text,
    .b-login-mask .form-group {
        width: 100%;
    }

    .b-login-mask .login-mask-text {
        margin-bottom: 25px;
    }
    
    .b-main .main-inner-wrapper {
        padding: 0 5%;
    }

    .b-footer .social-media,
    .b-footer .social-media {
        width: 100%;
    }

    .b-footer .social-media {
        justify-content: center;
    }

    .footer-nav {
        margin-top: 25px;
    }

    .b-footer .footer-nav-item {
        width: 100%;
        text-align: center;
    }

    .b-footer .footer-nav .footer-nav-item:not(:first-child) {
        margin-left: 0;
    }

    .b-footer .footer-nav-item::before {
        display: none;
    }
}
