﻿/* Används bara för Cookiepolicy sidorna */


/* Gamla cookiepolicy from .cshtml */
#header,
table th {
    background: whitesmoke;
}
#header .svg {
    padding: 15px;
    margin-right: 25px;
}
#header #FlexHRM-light {
    max-height: 40px;
    height: 40px;
}
p, h1, h2, h3, h4, a {
    padding: 0 15px 0 15px;
}
.h2, h2 {
    font-size: 30px;
}
h3 {
    font-size: 24px;
}
a {
    font-weight: bold;
}
ul {
    padding-left: 40px;
}
ul > li {
    margin-bottom: 10px;
}
table th {
    font-weight: bold;
}
#header .flags {
    position: absolute;
    right: 10px;
    top: 10px;
}
#header .flags svg, header .flags a {
    vertical-align: top;
    float: left;
    margin-right: 10px;
}
#header .flags svg:not(.current) {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray; /* IE 6-9 */
}
#header .flags svg:not(.current):hover {
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter:none !important;
    -o-filter: none !important;
    filter: none !important;
}


/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

/* Text */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}


/* Container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-1, .col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/* Table */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-spacing: 0;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table .thead-dark th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
}

.text-nowrap {
    white-space: nowrap;
}


/* MODAL STYLES ala Jason Watmore
-------------------------------*/
.jw-modal {
    /* modals are hidden by default */
    display: none;

    /* modal container fixed across whole screen */
    position: fixed;
    inset: 0;

    /* z-index must be higher than everything else on the page */
    z-index: 10000;

    /* semi-transparent black background exposed by padding */
    background-color: rgba(0, 0, 0, .75);
    padding: 40px;

    /* enables scrolling for tall modals */
    overflow: auto;
}

.jw-modal.open {
    display: block;
}

.jw-modal-body {
    padding: 20px;
    background: #fff;
    max-width: 500px;
    margin: 0 auto;
}

body.jw-modal-open {
    /* body overflow is hidden to hide main scrollbar when modal window is open */
    overflow: hidden;
}
