:root {
    --nokk-turquoise: #57bfc8;
    --nokk-blue: #00b5ec;
    --navbar-height: 64px;
    --content-height: calc(calc(100vh - var(--navbar-height)) - var(--navbar-height));
    --content-height-simple: calc(100vh - var(--navbar-height));
}

html, body {
    max-width: 1440px;
    overflow-x: hidden;
}

html {
    margin-left: auto;
    margin-right: auto;
}

body {
    margin:0;
    padding:0;  
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:100vh;
    font-size: 16px;
}

main {
    flex: 1 0 auto;
}

.navbar {
    max-width: 1440px;
    height: var(--navbar-height);
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    box-shadow: none;
    background-color: white;
}

.navbar .navbar-expand-lg {
    height: var(--navbar-height);
}

/*
.navbar .active {
    border-bottom: 3px solid var(--nokk-blue);
}
*/

.container-fluid {
    background-color: white;
}

.navbar .nav-link {
    width: fit-content;
    color: black;
    border-bottom: 3px solid white;
}

.navbar .nav-link:hover {
    border-bottom: 3px solid var(--nokk-blue);
    color: var(--nokk-blue);
}

#navbarDropdownMenu:hover #angle-down, .nav-arrow #angle-up {
    display: none;
}

#navbarDropdownMenu:hover #angle-up {
    display: inline;
}

/* doesn't work yet */
#mobileNavbarDropdownMenu:focus #angle-up {
    display: inline;
}

.dropdown:hover #web-dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-item:hover {
    color: var(--nokk-blue);
    background-color: white;
}

.page-footer, .page-footer-mobile {
    max-width: 1440px;
    height: var(--navbar-height);
    min-height: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, var(--nokk-turquoise), var(--nokk-blue));
    font-size: 20px;
    z-index: 13;
}

.page-footer .p-3 a {
    padding-right: 5%;
}

.page-footer-mobile .p-3 a {
    padding-right: 2%;
    font-size: 14pt !important;
}

.h-service {
    color: var(--nokk-blue);
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 2%;
}

.img-mask-left {
    width: 100%;
    height: 100vh;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 50%, rgba(0,0,0,0) 100%);
}

.img-mask-right {
    width: 100%;
    height: 100vh;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.9) 50%, rgba(0,0,0,0) 100%);
}

.img-mask-blue {
    width: 100%;
    height: 100vh;
    background-color: rgb(7, 191, 200, 0.1);
}

.text {
    width: 100%;
    padding-left: 3%;
    padding-right: 3%;
}

.text-image {
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    width: 100vw;
    margin-top: var(--navbar-height);
    height: var(--content-height);
    align-items: center;
}

.service-image {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 32.5vw; /* 333/1024 */
    height: 100vh;
    display: table;
}

.service-image.start {
    background-image: url(../img/services.jpg);
}

.service-image.rcms {
    background-image: url(../img/rcms.png);
}

.service-image.elsi {
    background-image: url(../img/elektrosicherheit.jpg);
}

.service-image.greene {
    background-image: url(../img/green_energy.png);
}

.service-image.messung {
    background-image: url(../img/power_quality.jpg);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.service-image.glt {
    background-image: url(../img/glt.jpg);
}

.service-image.blitz {
    background-image: url(../img/blitz.jpg);
}

.service-text {
    color: black;
    opacity: 1;
    overflow: hidden;
    padding-bottom: 2%;
    padding-top: 2%;
    height: 100vh;
    max-height: 100%;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}

.service-text.left {
    width: 100%;
    padding-left: 5%;
    padding-right: 50%;
}

.service-text.right {
    width: 100%;
    padding-left: 50%;
    padding-right: 5%;
}

.fixed-content {
    top: 0;
    bottom:0;
    position:fixed;
    overflow-y:scroll;
    overflow-x:hidden;
}

.text-box {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 10px 10px 110px 7px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 110px 7px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 110px 7px rgba(0,0,0,0.75);
    padding: 3%;
}

.text-box p {
    margin: 25px;
}

.highlighted-text {
    font-size: 20px;
    color: var(--nokk-blue);
    font-weight: bold;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

h1 {
    margin-bottom: 3%;
    margin-top: 3%;
}

h2 {
    margin-bottom: 2%;
    margin-top: 2%;
}

h3 {
    margin-bottom: 1%;
    margin-top: 1%;
}

a {
    color: var(--nokk-blue);
}

a:hover {
    color: #0096c3;
}

.mobile-service-headline-container {
    position: relative;
    text-align: center;
}

.mobile-service-headline {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-service-text {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
}

.mobile-ref {
    width: 100vw;
    text-align: center;
    margin-bottom: 10vh;
}

.mobile-ref a img {
    width: 35%;
}

.mobile-table {
    margin-left: 5%;
    margin-right: 5%;
}

.mobile-table tr td {
    padding-bottom: 5%;
    padding-right: 2%;
    min-width: 77px;
}

.mobile-vita {
    padding-top: 10%;
    padding-bottom: 10%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(87, 191, 200, 0.25));
}

.index-background {
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(87, 191, 200, 0.25));
}

.index-frame {
    background-color: var(--nokk-blue);
    padding: 10%;
    border: 0;
}

.index-frame:hover {
    background-color: #00b5ec8e;
    box-shadow: 10px 10px 110px 7px rgba(87, 191, 200,0.75);
    -webkit-box-shadow: 10px 10px 110px 7px rgba(87, 191, 200,0.75);
    -moz-box-shadow: 10px 10px 110px 7px rgba(87, 191, 200,0.75);
}

.index-frame p {
    margin: 0;
    color: white;
    font-size: xx-large;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }

.carousel-link {
    color: white;
    font-weight: bold;
    font-size: 96px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
    
}

.carousel-link:hover {
    color: white;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0px 0px 60px white;
}

.carousel-link-mobile {
    color: white;
    font-weight: bold;
    font-size: 46px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

.carousel-link-mobile:hover {
    color: white;
    opacity: 0.8;
}

.thumbnail-label {
    color: white;
    text-align: center;
    width: 100%;
    height: fit-content;
    font-size: 16pt;
    font-weight: bold;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

.carousel-indicators button:hover {
    opacity: 1;
}

/* cookie banner */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2147483645;
    box-sizing: border-box;
    width: 100%;

    background-color: #F1F6F4;
}

.cookie-consent-banner__inner {     
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 12px;
}

.cookie-consent-banner__copy { 
    margin-bottom: 16px;
}

.cookie-consent-banner__header {
    margin-bottom: 8px;

    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
}

.cookie-consent-banner__description {
    font-weight: normal;
    color: #838F93;
    font-size: 16px;
    line-height: 24px;
}

.cookie-consent-banner__cta {
    box-sizing: border-box;
    display: inline-block;
    min-width: 164px;
    padding: 11px 13px;
        
    border-radius: 2px;

    background-color: var(--nokk-blue);
        
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}

.cookie-consent-banner__cta--secondary { 
    padding: 9px 13px;

    border: 2px solid #3A4649;

    background-color: transparent;

    color: var(--nokk-blue);
}

.cookie-consent-banner__cta:hover {
    background-color: #0096c3;
    color: #FFF;
}

.cookie-consent-banner__cta--secondary:hover {
    border-color: #838F93;
        
    background-color: transparent;

    color: #31cfff;
}

.cookie-consent-banner__cta:last-child {
    margin-left: 16px;
}