body {
    font-size: 1em;
    /* TODO Both color and background color should be adjusted when we have design for dark mode	*/
    background-color: var(--background-color-bright);
    color: #333;
}

button {
    font-size: 1.2em;
    padding: 1em 2em;
    color: var(--text-white);
    border: 0.2em solid transparent;
    border-radius: 0.5em;
}

button:hover {
    background-color: var(--background-button);
}

button:active {
    background-color: var(--background-button);
}

button[disabled], button[disabled]:hover {
    opacity: 0.3;
    cursor: default;
}

h1, h2, h3, h4, h5 {
    font-family: 'TelenorWebFont';
    margin-top: 0;
    margin-bottom: 0;
    padding: 0em;
    font-weight: 400;
}

h1 {
    font-size: 2.5em;
}

p {
    font-size: 2em;
}

a {
    text-decoration: none;
}

/* Top panel styles */
.top-panel {
    height: 4.5em;
    background-color: #0D1027;
    padding: 0 2em;
}

.top-panel-cell-row {
    display: table;
    width: 100%;
    height: 100%;
}

.top-panel-cell, .top-panel-cell-wide {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.top-panel-cell {
    width: 33%;
}

.top-panel-cell:first-child {
    text-align: left;
}

.top-panel-cell:last-child {
    text-align: right;
}

.top-panel-logo {
    vertical-align: middle;
    max-height: 2em;
}

.top-panel-app-name, .top-panel-login {
    font-size: 1.3em;
    font-weight: 700;
}

.top-panel-app-name {
    color: var(--text-white);
    margin-left: 1em;
    vertical-align: middle;
}

.top-panel-login {
    color: var(--background-button);
}

/* Image panel styles */
.image-background-panel {
    background-image: url('../img/login-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 40em;
}

.image-panel {
    position: absolute;
    top: 4.5em;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    height: 40em;
}

.image-section {
    display: flex;
    position: relative;
    max-width: 80em;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5em;
    box-sizing: border-box;
}

.image-section-cell {
    width: 100%;
}

.image-section-login {
    position: absolute;
    top: 20%;
    transform: translate(0, -20%);
    max-width: 60%;
    z-index: 1;
}

.image-section-login h1, .image-section-login p {
    color: var(--text-white);
    /*	color: var(--background-color-bright); TODO when we fix design for dark mode */
}

.image-section-login h1 {
    line-height: 1.5em;
}

.image-section-login p {
    line-height: 1em;
}

/* Content panel styles */
.content-panel {
    width: 100%;
    height: 30em;
}

.content-panel:nth-child(odd) {
/*	TODO */
/*	background-color: var(--background-color-dark);*/
    background-color: white;
}

.content-panel:nth-child(even) {
/*	TODO */
/*	background-color: var(--background-color);*/
    background-color: #F6F7F8;
}

.content-section {
    display: flex;
    align-items: center;
    max-width: 80em;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5em;
    box-sizing: border-box;
}

.content-section-cell {
    width: 40%;
}

.content-section-cell-wide {
    width: 60%;
}

.content-section-cell-right {
    display: flex;
}

.content-section-cell-right .content-section-text-cell, .content-section-cell-right .content-section-illustration-cell {
    margin-left: auto;
}

.content-section-illustration-cell > img {
    max-height: 18em;
}

.content-section-text-cell {
    max-width: 80%;
}

.app-link {
    display: inline-block;
    margin: 0.2em;
}

.app-link > img {
    max-height: 4em;
}

/* Footer styles */
.footer-panel {
    background-color: #0D1027;
    height: 20em;
}

.footer-section {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 80em;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5em;
    box-sizing: border-box;
}

.footer-logo {
    height: 4em;
}

.footer-logo img {
    height: 100%;
    vertical-align: middle;
}

.footer-logo span {
    font-size: 2em;
/*    color: var(--background-color-bright);*/
    color: var(--text-white);
}

.footer-links {
    margin-top: 5%;
    margin-left: auto;
}

.footer-links a {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--background-button);
    margin-left: 3em;
}

/* Cookie consent styles */
.cookieConsentVisible, .cookieConsentHidden, #cookieConsent button {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.cookieConsentVisible, .cookieConsentHidden {
    padding: 2em 4em;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    display: table;
}

.cookieConsentVisible {
    background-color: rgba(20,20,20,0.8);
    color: #ccc;
}

.cookieConsentHidden {
    background-color: rgba(0,0,0,0);
    color: rgba(0,0,0,0);
    visibility: hidden;
}

.cookieConsentHidden button {
    background-color: rgba(0,0,0,0);
    visibility: hidden;
}

.cookieConsentVisible button {
    visibility: visible;
}

.cookieConsentText, .cookieConsentButton {
    display: table-cell;
    vertical-align: middle;
}

.cookieConsentText {
    width: 75%;
    line-height: 1.5em;
}

.cookieConsentText a {
    color: var(--background-color-bright);
    text-decoration: underline;
}

.cookieConsentButton {
    text-align: right;
}