﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* ELAN CSS*/
.navbar-brand {
    color: #e76a23;
}

#support-btn {
    width: 80px;
    height: 80px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    border-radius: 45%;
    background-color: #e76a23;
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
}
    #support-btn:hover {
        background-color: #e1874d;
        bottom: 28px;
        right: 28px;
        box-shadow: 6px 6px 7px rgba(0, 0, 0, 0.5);
        transition: 0.2s;
    }

@media only screen and (max-width: 768px) {
    #support-btn {
        width: 60px;
        height: 60px;
        bottom: 18px;
        right: 18px;
    }

    #support-btn:hover {
        bottom: 21px;
        right: 21px;
    }
}

.support-icon {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-image: url('./Images/SSG-Ikoner_500x500px_Support.png');
    background-size: cover;
}

@media only screen and (max-width: 582px) {
    #weblink-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


.d-flex {
    display: flex;
}

.ml-8 {
    margin-left: 8px;
}

.align-items-center {
    align-items: center;
}

.color-box {
    display: inline-block;
    vertical-align: middle;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #808080;
}

    .extra-top-margin {
    margin-top: 10px;
}

div.tooltip-inner {
    max-width: 350px;
}

.spacer {
    margin-top: 20px; /* define margin as you see fit */
}

/* File uploads */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Fix för att skapa "blank" ikon*/

.glyphicon-none:before {
    content: "\2122";
    color: transparent !important;
}