/* Custom font
   ========================================================================== */
@font-face {
    font-family: 'Lota Grotesque';
    src: url('/fonts/LotaGrotesque-Bold.woff2') format('woff2'),
        url('/fonts/LotaGrotesque-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lota Grotesque';
    src: url('/fonts/LotaGrotesque-Regular.woff2') format('woff2'),
        url('/fonts/LotaGrotesque-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lota Grotesque';
    src: url('/fonts/LotaGrotesque-Light.woff2') format('woff2'),
        url('/fonts/LotaGrotesque-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Brand colors
   ========================================================================== */

    /* rgba(237, 237, 237, 1.0); /* Black 10% */
    /* rgba(218, 218, 218, 1.0); /* Black 20% */
    /* rgba(178, 178, 178, 1.0); /* Black 40% */
    /* rgba(119, 120, 123, 1.0); /* Black 65% */

    /* rgba(40, 40, 40, 1.0); /* 3F Tekst */

    /* rgba(236, 28, 36, 1.0); /* 3F Rød */
    /* rgba(94, 3, 41, 1.0); /* 3F Corporate Rød */
    /* rgba(235, 168, 120, 1.0); /* 3F Gnist */
    /* rgba(252, 222, 201, 1.0); /* 3F Varm Sand */
    /* rgba(212, 214, 226, 1.0); /* 3F Himmel */
    /* rgba(0, 255, 105, 1.0); /* 3F Signal Grøn */

    /* rgba(247, 247, 247, 1.0); /* 3F Web Background */
    /* rgba(184, 184, 184, 1.0); /* 3F Web Border */
    /* rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
    /* rgba(231, 19, 28, 1.0); /* 3F Web Button */

/* Base elements
   ========================================================================== */
html {
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;

    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;

    color: rgba(40, 40, 40, 1.0); /* 3F Tekst */

    background-color: transparent;
}

body {
    position: relative; /* Required for overlay */
    padding: 0px 7px; /* Required for focus outline */
}

header {
    position: relative;
    width: 100%;
    height: auto;

    margin-bottom: 50px;

    /*display: none; /* iframe setting */
}

main {
    width: 920px;
    height: auto;

    margin: 0 auto;
}

section {
    position: relative;

    width: 100%;
    height: auto;

    margin: 0 auto;
    margin-top: 50px;
}

section:first-of-type {
    margin-top: 0px;
}

.section_inner {
    margin-top: 25px;
}

.section_button {
    margin-top: 25px;
    margin-bottom: 25px;
}

article {
    position: relative; /* required */

    width: 100%;
    height: auto;

    padding: 50px;

    background-color: rgba(247, 247, 247, 1.0); /* 3F Web Background */

    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
}

.article_transparent {
    padding: 0px;
    background-color: transparent;

    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
}

.p {
    width: 615px;
    height: auto;
}

footer {
    width: 100%;
    height: 25px;

    background-color: rgba(247, 247, 247, 1.0); /* 3F Web Background */

    display: none; /* iframe setting */
}

footer div {
    width: 960px;
    height: auto;

    margin: 0 auto;
}

footer div img {
    position: relative;
    top: -1px;

    width: 55px;
    height: auto;

    margin: 25px 0px;
}

/* Navigation
   ========================================================================== */
#navigation_bar {
    width: 1400px;
    height: 77px;

    margin: 0 auto;

    background-image: url("/images/header.jpg");
    background-repeat: no-repeat;
    background-position: top center;

    display: none;
}

#navigation_bar a {
    display: none; /* Hidden due to header image */
}

#hero_bar {
    width: 1400px;
    height: auto;

    margin: 0 auto;

    padding: 75px 0px 75px 240px;

    background-image: url("/images/hero.jpg");
    background-repeat: no-repeat;
    background-position: center center;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-background-clip: border-box;
    -moz-background-clip: border-box;
    -o-background-clip: border-box;
    background-clip: border-box;

    /*display: none; /* iframe setting */
}

#hero_bar p {
    width: 415px;
    height: auto;

    font-size: 1.25em; /* 20 */
    line-height: 1.3;
}

/* Links
   ========================================================================== */
a, a:link, a:active, a:visited {
    color: rgba(236, 28, 36, 1.0); /* 3F Rød */
	outline: none;
	text-decoration: none;

    font-weight: 400;

	-webkit-transition: color 0.25s ease;
	-moz-transition: color 0.25s ease;
	-o-transition: color 0.25s ease;
	transition: color 0.25s ease;
}

a:hover { 
	color: rgba(236, 28, 36, 1.0); /* 3F Rød */
}

aside a, aside a:link, aside a:active, aside a:visited {
    color: rgba(177, 27, 20, 1.0); /* 3F Graf Rød 2 */
}

aside a:hover { 
	color: rgba(177, 27, 20, 1.0); /* 3F Graf Rød 2 */
}

/* Headlines
   ========================================================================== */
h1 {
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 3.125em; /* 50 */
    letter-spacing: -0.015em;

    word-break: break-word;

    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

h2 {
    /* Section / Article */
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5625em; /* 25 */

    word-break: break-word;

    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

h3 {
    /* Article header */
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5625em; /* 25 */

    margin: 0;
    padding: 0;
    margin-bottom: 28px;
}

h4 {
    /* Header bold */
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.125em; /* 18 */ 

    margin: 0;
    padding: 0;
}

h5 {
    /* Header */
    font-family: 'Lota Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.0em;

    margin: 0;
    padding: 0;

    margin-bottom: 32px;
}

h6 {
    font-size: 1.0em;

    margin: 0;
    padding: 0;
}

/* Form - Select and input
   ========================================================================== */
select, input {
	outline: none;
	border: 0px;
    padding: 4px 15px 0px 15px;

    background-color: rgba(255, 255, 255, 1.0) !important; /* White background, mobileview fix */
}

select {
    width: 50%;
    height: 50px;

    background-image: url('/images/select_arrow.png');
    background-position: right center;
    background-repeat: no-repeat;
    -webkit-appearance: none;       
    -moz-appearance: none;    
    -o-appearance: none;    
    appearance: none;
}

select:focus::-ms-value {
    background-color: white;
    color:#000; /* IE fix */
}

select option:disabled {
    /*font-weight: bold;
    color: #212121;*/
}

input {
    width: 50%;
    height: 50px;

    background-color: rgba(255, 255, 255, 1.0); /* White */

    border-style: solid;
    border-width: 1px;
    border-color: rgba(184, 184, 184, 1.0); /* 3F Web Border */

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
}

input[type="radio"], input[type="checkbox"] {
    width: auto;
    height: auto;

    /* Remove */
    box-shadow: none;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.1); /* Black 10% */
}

input[type="radio"] {
    position: relative;
    top: 0px;
    left: 0px;

    outline: none; 
    box-shadow: none;

    -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
    -moz-transform: scale(1.5); /* Mozilla, Firefox */
    -ms-transform: scale(1.5); /* IE 9 */
    -o-transform: scale(1.5); /* Opera */
    transform: scale(1.5);
}

input[type="radio"]:checked::before {
    position: absolute;
    top: 2px;
    left: 2px;

    width: 9px;
    height: 9px;

    background-color: rgba(236, 28, 36, 1.0); /* 3F Rød */
    border-radius: 50%;

    content: "";
    display: block;
}

label {
    margin: 0px 25px 0px 7px;
}

label:hover {
    cursor: pointer;
}

/*
input[type='radio']:after {
    position: relative;
    top: -2px;
    left: -2px;

    width: 15px;
    height: 15px;

    content: '';
    display: inline-block;
    visibility: visible;

    border-radius: 15px;
    background-color: rgba(255, 255, 255, 1.0); /* White *//*
}

input[type='radio']:checked:after {
    position: relative;
    top: -2px;
    left: -2px;

    width: 15px;
    height: 15px;

    content: '';
    display: inline-block;
    visibility: visible;

    border: 0px solid white;
    border-radius: 15px;
    background-color: rgba(236, 28, 36, 1.0); /* 3F Rød *//*
}*/

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;       
    -moz-appearance: none;    
    -o-appearance: none;    
    appearance: none;
}

.image-toggle {
    width: 30px;
    height: 30px;
}

.image-toggle img {
    transition: transform 0.5s ease;
    cursor: pointer;
}

#vacation_toggle:checked + .image-toggle img {
    transform: rotate(-180deg);
}

#vacation_special_toggle:checked + .image-toggle img {
    transform: rotate(-180deg);
}

#vacation_care_toggle:checked + .image-toggle img {
    transform: rotate(-180deg);
}

::-webkit-input-placeholder {
    font-size: 14px;
    color: rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px;
    color: rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px;
    color: rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
}

:-ms-input-placeholder {
    font-size: 14px;
    color: rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
}

:-o-input-placeholder {
    font-size: 14px;
    color: rgba(105, 105, 105, 1.0); /* 3F Web Placeholder Text */
}

textarea {
    resize: vertical;
}

/* Form - Buttons
   ========================================================================== */
button {
    float: left;

    display: flex;
    justify-content: center; /* H */
    align-items: center; /* V */

    width: 150px;
    height: 50px;

	outline: none;
	border: 0px;

    margin-left: 25px;

    font-weight: 700;
	text-decoration: none;

	color: rgba(255, 255, 255, 1.0); /* White */

    background-color: rgba(236, 28, 36, 1.0); /* 3F Rød */

	-webkit-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	-moz-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	-o-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;

    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -o-border-radius: 25px;
    border-radius: 25px;
}

button:hover {
    cursor: pointer;
}

button:hover:not([disabled]) {
	text-decoration: none;

    color: rgba(255, 255, 255, 1.0); /* White */
    background-color: rgba(177, 27, 20, 1.0); /* 3F Graf Rød 2 */
}

button:active {
	position: relative;
	top: 1px;
}

button:disabled {
    background-color: rgba(236, 28, 36, 0.25); /* 3F Rød @ 25% */
}

.button_back {
    margin-left: 0px;

	color: rgba(236, 28, 36, 1.0); /* 3F Rød */
    background-color: rgba(255, 255, 255, 1.0); /* White */

    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2);

    /*border-style: solid;
    border-width: 1px;
    border-color: rgba(236, 28, 36, 1.0); /* 3F Rød */
}

.button_back:hover {
	color: rgba(177, 27, 20, 1.0) !important; /* 3F Graf Rød 2 */
    background-color: rgba(255, 255, 255, 1.0) !important; /* White */
    /*border-color: rgba(177, 27, 20, 1.0) !important; /* 3F Graf Rød 2 */
}

.button_print, .button_email, .button_calendar {
    float: right;

    width: 145px;
}

.button_calendar {
    width: 165px;
}

/* Tables
   ========================================================================== */
table {
    width: 100%;
    height: auto;

    line-height: 1.5;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(112, 111, 111, 0.25); /* Black 70% */
}

td {
    padding: 10px;
    width: auto%;

    vertical-align: top;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(112, 111, 111, 0.25); /* Black 70% */
}

table tr td:first-child {
    vertical-align: top;
}

table tr:first-child {

}

/* Miscellaneous
   ========================================================================== */
img {
    width: 100%;
}

section img {
    width: auto;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

fieldset, p {
    border: 0;
    margin: 0;
    padding: 0;
}

/* Remove focus border */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Allowing padding to be used as inner-padding */
section, article, aside, div, span, p, input, select {
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

b {
    font-weight: 700;
}

ul {
    margin: 0;
    padding: 0px 0px 0px 16px;

    /*list-style: none; /* Remove default black dot */
    /* list-style-image: url("/images/custom_li_bullet.png");*/
}

/* Ultra thin lines */
hr {
    height: 1px;
    border: 0;
    border-top: 1px solid;
    color: rgba(218, 218, 218, 1.0); /* Black 20% */
    margin: 0px;
}

.hr_dotted {
    border-top-style: dotted;
    border-top-width: 1px;
    border-top-color: rgba(218, 218, 218, 1.0); /* Black 20% */
}

.printonly {
    display: none;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}