/* SYMPANY STYLEGUIDE*/
@font-face {
    font-family: SympanyRegular;
    src: url("resources/custom/National2-Regular.woff2") format("woff2");
}

@font-face {
    font-family: SympanyBold;
    src: url("resources/custom/National2-Bold.woff2") format("woff2");
}

:root {
    --violett: #9185b3 !important;
    --darkRed: #891350 !important;
    --defaultRed: #ed1b2f !important;
}

body {
    color: #000 !important;
    font-family: SympanyRegular !important;
    font-size: 18px !important;
}

a {
    color: #000 !important;
}

.hyperlink-color {
    color: #b80718 !important;
}

a:hover, #user-menu-button:hover {
    color: #b80718 !important;
    text-decoration: underline !important;
}

a:focus, a:active {
    color: #b80718 !important;
    text-decoration: underline !important;
}


button {
    border-radius: 6px !important;
    color: #fff;
    background-color: var(--violett) !important;
    background: var(--violett) !important;
    box-shadow: none;
}

button:focus {
    color: white;
    background-color: var(--defaultRed) !important;
    background: var(--defaultRed) !important;
}

button:hover, [type="submit"]:hover {
    color: #fff !important;
    background-color: var(--darkRed) !important;
}

.btn-file-input:hover {
    color: #fff !important;
    background-color: var(--darkRed) !important;
}

h1, h2, h3, h4, h5 {
    font-family: 'SympanyBold' !important;
    font-weight: 700 !important;
}

h1 {
    font-size: 29px !important;
}

h2 {
    font-size: 36px !important;
}

h3 {
    font-size: 29px !important;
}

h4 {
    font-size: 20px !important;
}

h5 {
    font-size: 18px !important;
}

/*DETAILS*/
.btn.btn-primary.mat-raised-button.mat-primary.ng-star-inserted {
    background: var(--darkRed) !important;
    cursor: pointer;
}

.previous-btn, btn btn-secondary {
    background: transparent !important;
    color: var(--violett) !important;
    border: var(--violett) 2px solid !important;
}

.previous-btn:hover, btn btn-secondary:hover {
    border-color: var(--darkRed) !important
}

.mat-fab.mat-primary:hover, .mat-flat-button.mat-primary:hover, .mat-mini-fab.mat-primary:hover, .mat-raised-button mat-primary:hover, .mat-raised-button.mat-primary.ng-star-inserted:hover, .mat-raised-button.mat-primary:hover {
    background: var(--darkRed) !important;
}

.btn.btn-primary.mat-raised-button.mat-primary.ng-star-inserted {
    background: var(--violett) !important;
    color: white;
}

.btn.btn-primary.mat-raised-button.mat-primary.ng-star-inserted:hover {
    background: var(--darkRed) !important;
    color: white;
}

.btn.btn-primary.mat-raised-button.mat-primary.ng-star-inserted:active, .btn.btn-primary.mat-raised-button.mat-primary.ng-star-inserted:focus {
    background: var(--defaultRed) !important;
    color: white;
}

.btn.btn-secondary {
    background: transparent !important;
    border: solid 2px var(--violett);
    color: var(--violett) !important;
}

.btn.btn-secondary:hover {
    background: transparent !important;
    border: solid 2px var(--darkRed);
    color: var(--darkRed) !important;
}

.btn.btn-secondary:active, .btn.btn-secondary:focus {
    background: transparent !important;
    border: solid 2px var(--defaultRed);
    color: var(--defaultRed) !important;
}

.close, .close:hover, .close:focus, .close:active {
    background: transparent !important;
}

/* Tooltip */

.tooltip-container {
    text-align: left;
    z-index: 100;
    position: fixed;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: initial;
    color: white;
    width: auto;
    background: var(--primary);
    box-sizing: border-box;
    opacity: 0;
    transform: translate(-50%, -30%);
    animation: tooltip-slide 0.18s ease-out 0.5s;
    animation-fill-mode: forwards;
    pointer-events: none;
    max-height: 200px;
    max-width: 350px;
    border-radius: 8px;
    padding: 15px;
    margin-left: 190px;
    min-width: 360px;
}

.tooltip-container:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid var(--primary);
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary);
    border-bottom: 10px solid transparent;
    left: 0px;
    bottom: -12px;
}

@keyframes tooltip-slide {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.login-banner {
    width: 0px !important;
    height: 0px !important;
    min-height: 0px !important;
}

.modal-header {
    background: var(--violett) !important;
}

.btn.btn-primary.mat-raised-button.mat-primary {
    min-height: 35px !important;
}


.tooltip-elm.content-align {
    margin-left: 5px;
}

.tooltip-elm.content-align .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 105%;
}

.tooltip-elm.content-align:hover .tooltiptext {
    visibility: visible;
}

.tooltip-elm {
    width: 20px;
    height: 20px;
    color: white;
    text-align: center;
    font-size: 14px;
    background-color: var(--violett);
    border-radius: 10px;
}

/* elm loading overlay */

.elm-lds-ring {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
}

.elm-lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 120px;
    height: 120px;
    margin: 8px;
    top: 500px;
    border: 8px solid var(--violett);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--violett) transparent transparent transparent;
}

.elm-lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.elm-lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.elm-lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes elm-lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.elm-loader-container {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 9999;
    background: #eee;
    opacity: 0.9;
}

/*NAVIGATION*/
.navbar-default .navbar-nav > li > a:hover::before {
    border-color: transparent var(--violett) !important;
}

.navbar-default .navbar-nav > li > a:hover {
    background-color: var(--violett) !important;
    color: #fff !important;
}

.active-link {
    background: var(--violett) !important;
}

.navbar-default .navbar-nav > li > a:hover::before {
    border-color: transparent var(--violett) !important;
}

.navbar-default .navbar-nav > li > a:hover {
    background: var(--violett) !important;
    color: #fff !important;;
}

#navbarSupportedContent {
    font-size: 14px;
}

.navbar-default .navbar-nav > li > a::before {
    border-color: transparent transparent !important;;
}

.navbar-default .navbar-nav > li > .active-link::before {
    border-color: transparent var(--violett) !important;;
}

.small-menu-container > button {
    background: none !important;
}

.small-menu-container > span > button {
    background: none !important;
}

.mat-menu-item {
    background: none !important;
}

.mat-menu-item:hover {
    background: none !important;
}

.mat-menu-content > button:hover {
    color: var(--violett) !important;
}

.mat-menu-content > button:focus {
    color: white;
    background-color: transparent !important;
    background: transparent !important;
}

.mat-raised-button {
    line-height: 30px !important;
}

.previous-btn:hover {
    background: none !important;
    color: var(--defaultRed) !important;
}

.previous-btn:active, .previous-btn:focus {
    background: none !important;
    color: var(--darkRed) !important;
}

.padleft-10 {
    padding-left: 15px !important;
}


h5 > span {
    font-size: 21px !important;
}

h5 > .padleft-10 {
    font-size: 16px !important;
}

.padleft-10 > span {
    font-size: 13px !important;
}

#declaration-release-button {
    min-height: 88px !important;
}

.modal-footer > div > .btn.btn-secondary {
    min-height: 45px !important;
}

.modal-footer > div > .btn.btn-primary.mat-raised-button.mat-primary {
    border: none !important;
}

.modal-footer > button {
    min-height: 45px !important;
}

.modal-footer > .btn.btn-primary.mat-raised-button.mat-primary {
    border: none !important;
}

#logout-button {
    border-radius: 0px !important;
}

#logout-button > span > a:hover {
    color: white !important;
}

.fixed-menu .mat-icon {
    margin-top: 3px !important;
}

/* Fix AHV-Upload Button - temporary solution as styling OK but not completely
Mouse pointer does not work well */
.file-input-wrapper {
    height: 70px !important;
}

input#my-file {
    height: 70px;
    cursor: pointer;
}

/* End  Fix AHV-Upload Button */
