﻿@font-face {
    font-family: SourceSerifProbold;
    src: url("../fonts/SourceSerifPro-bold.otf");
}

@font-face {
    font-family: SourceSansProRegular;
    src: url("../fonts/SourceSansPro-Regular.otf");
}

@font-face {
    font-family: SourceSansProSemiBold;
    src: url("../fonts/SourceSansPro-Semibold.otf");
}

@font-face {
    font-family: SourceSerifProblack;
    src: url("../fonts/SourceSerifPro-black.otf");
}

:root {
    --main-rk-orange: #ee7402;
    --rk-lightest-blue: #4fc1e9;
    --rk-light-blue: #3bafda;
    --rk-blue: #1c2c4e;
}
.fa-file-pdf{
    color:#FF0000;
}
.fa-file-word {
    color: #00a2ed;
}

html {
    height: 100%;
    font-size: 100%;
}

body {
    background-color: white;
    font-size: 1rem;
}

body.CrossedBackground {
    background: #e5e5e5 url("../Images/Background-transparent.png") bottom;
    background-color: #E5F2FA;
    background-repeat: repeat-x;
}

p, a, .form-control, .btn, fieldset label, button {
    font-family: SourceSansProRegular;
    font-size: 1rem;
    line-height: 140%;
}

fieldset label {
    /*font-family:  Helvetica, Arial, sans-serif;
        */
    margin-bottom: 0px;
}

div.vis-timeline {
    background-color: #fff;
}


h1, h2, h3 {
    font-family: SourceSerifProblack;
    color: var(--rk-blue) !important;
}

h1 {
    font-size: 2.5rem;
    font-family: SourceSerifProblack;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.rk-orange-color {
    color: var(--main-rk-orange);
}

.rk-orange-background {
    background-color: var(--main-rk-orange);
}

.nav-link:not(.active) {
    cursor: pointer;
}

.overflow-visible {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

#popover-user-info-body > div:hover {
    cursor: pointer;
    color: #fff;
    background-color: var(--rk-lightest-blue);
}

#popover-tools-body > div:hover {
    cursor: pointer;
    color: #fff;
    background-color: var(--rk-lightest-blue);
}


.list-special .list-group-item:first-child {
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.list-special .list-group-item:last-child {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.watermark {
    opacity: 0.2;
    color: black;
    position: fixed;
    font-size: 48px;
    font-weight: bold;
    top: 55px;
    left: 10px;
    pointer-events: none;
}

.watermarkNoSave {
    opacity: 0.15;
    color: red;
    position: fixed;
    font-size: 150px;
    font-weight: bold;
    pointer-events: none;
    z-index: 1030;
    display: none;
}

.rk-mainwrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid rgba(0,0,0,0.15);
    background-color: white;
    box-shadow: none;
    padding: 25px;
}


#popover-settings-body {
    padding: 0.5rem 0.75rem !important;
}

#popover-settings-header {
    font-size: 12pt;
}

/*RkLoading spinnern*/
#loadSpinner {
    display: none;
    position: fixed;
    top: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    clear: left;
    text-align: center;
    margin: 0 auto;
    padding: 20px 50px 20px 50px;
}

#loadSpinnerContent {
    width: 3rem;
    height: 3rem;
}

/*Ramarna <card> med RK utseende*/
.card-style1 {
    box-shadow: 0px 0px 10px 0px rgb(89 75 128 / 9%);
    padding:1rem;
    border:0;
    margin-bottom:1.5rem;
}

.section-title {
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.text-rkorange {
    color: var(--main-rk-orange) !important;
}

.text-rkdarkblue {
    color: var(--rk-blue) !important;
}

.bg-infocard {
    background: var(--rk-blue);
}
.rkHeaderIcon {
    text-align: center;
    margin-bottom:0;
}
.rkHeaderIcon span.fa {
    font-size: 110px;
    color: lightgrey;
}

/*Möjlighet till större checkboxar*/
.checkbox-lg .form-check-input {
    top: .3rem;
    scale: 1.4;
    margin-right: 0.7rem;
}

.checkbox-lg .form-check-label {
    padding-top: 5px;
}

.checkbox-xl .form-check-input {
    top: 1.2rem;
    scale: 1.7;
    margin-right: 0.8rem;
}

.checkbox-xl .form-check-label {
    padding-top: 19px;
}

/*För att dropdowns skall kunna submenyer*/
.dropdown-menu {
    border-radius: 0px !important;
}

.dropdown-submenu {
    position: relative;
    border-radius: 0px !important;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        border-radius: 0px !important;
        z-index:990;
    }

.dropdown-item {
    position: relative;
}

/*Fuling för att datatables dropmeny för antal rader envisas med att bli ful utan denna*/
.dataTables_length label select {
    padding-right: 25px!important;
}


/*Klass för att kunna ta bort spinners (upp och ner knappar) på numeriska fält*/
.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}
