﻿/* Upload file */
/* Note: This CSS will style all instances of 
   <input type=file /> controls in your website. */
input[type="file"],
input[type="file"]:visited,
input[type="file"]:hover,
input[type="file"]:focus,
input[type="file"]:active {
    margin: 0;
    padding: 0em 0em;
    padding: 0rem 0rem;
    overflow: hidden; /* long file names overflow so just hide the end */
    background: #ffffff;
    border-radius: .2em;
    border-radius: .2rem;
    outline: none;
    border: 2px solid #bbb;
    cursor: pointer;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

    input[type="file"]:hover {
        background: #f9f9ff; /* I am using a light blue to indicate an interaction */
        border: 2px solid #999;
    }

    input[type="file"]:visited,
    input[type="file"]:focus,
    input[type="file"]:active {
        background: #fff; /* Default back to white when focused. */
        border: 2px solid #999;
    }

    /* Note: Firefox flags the file name box as a *readonly* input. So that attribute selector was added below. Note: These selectors blow up in IE so have to be separated from the same styles above. */
    input[type="file"]:disabled,
    input[type="file"]:read-only {
        margin: 0;
        padding: 0em 0em;
        padding: 0rem 0rem;
        overflow: hidden; /* long file names overflow so just hide the end */
        background: #ffffff;
        border-radius: .2em;
        border-radius: .2rem;
        outline: none;
        border: 1px solid lightgrey;
        cursor: pointer;
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
    }

        input[type="file"]:disabled:hover,
        input[type="file"]:read-only:hover {
            background: #f9f9ff; /* I am using a light blue to indicate an interaction */
            border: 2px solid #999;
        }

        input[type="file"]:disabled:visited,
        input[type="file"]:disabled:focus,
        input[type="file"]:disabled:active,
        input[type="file"]:read-only:visited,
        input[type="file"]:read-only:focus,
        input[type="file"]:read-only:active {
            background: #fff; /* Default back to white when focused. */
            border: 2px solid #999;
        }

/* IE UPLOAD BUTTON STYLE: This attempts to alter the file upload button style in IE.  Keep in mind IE gives you limited design control but at least you can customize its upload button.*/
::-ms-browse { /* IE */
    display: inline-block;
    margin: 0;
    padding: .2em .5em;
    padding: .2rem .5rem;
    text-align: center;
    outline: none;
    border: none;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
}
/* FIREFOX UPLOAD BUTTON STYLE */
::file-selector-button { /* firefox */
    display: inline-block;
    margin: 0rem 1rem 0rem 0rem;
    padding: .18em .5em;
    padding: .18rem .5rem;
    -webkit-appearance: button;
    text-align: center;
    border-radius: .1rem 0rem 0rem .1rem;
    outline: none;
    border: none;
    border-right: 1px solid lightgrey;
    background: #eee;
    white-space: nowrap;
    cursor: pointer;
}
/* CHROME AND EDGE UPLOAD BUTTON STYLE */
::-webkit-file-upload-button { /* chrome and edge */
    display: inline-block;
    margin: 0rem 1rem 0rem 0rem;
    padding: .19em .5em;
    padding: .19rem .5rem;
    -webkit-appearance: button;
    text-align: center;
    border-radius: .1rem 0rem 0rem .1rem;
    outline: none;
    border: none;
    border-right: 1px solid lightgrey;
    background: #30d9c8;
    white-space: nowrap;
    cursor: pointer;
}
/**/
.table thead th {
    vertical-align: bottom;
    border-bottom: 0;
}

.thead-main {
    color: #495057;
    background-color: #f0f0f78c;
    border-color: #dee2e6;
    border-bottom: 1px solid #dee2e6 !important;
}


.a-link {
    color: #30d9c8;
    display: block;
    font-weight: 600;
}

ul.context-menu {
    list-style-type: none;
}

.table td, .table th {
    padding: 1rem 1.5rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/* Table responsiveness */
@media screen and (max-width: 1690px) {
    .table td, .table th {
        padding: 1rem 1.0rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}

@media screen and (max-width: 1345px) {
    .table td, .table th {
        padding: 1rem .5rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}

.th-medium { display: none;}

@media (max-width: 1510px) {
    .th-medium { display: inline-block; }
    .th-large { display: none; }
}

@media (max-width: 1199px) {
    .th-medium { display: none; }
    .th-large { display: inline-block; }
    .table td, .table th {
        padding: 1rem 1.5rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}

@media (max-width: 882px) {
    .th-medium { display: inline-block; }
    .th-large { display: none; }
    .table td, .table th {
        padding: 1rem 1.0rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}

@media (max-width: 448px) {
    .table td, .table th {
        padding: 1rem .5rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}

/* Mina böcker table */
.th-xsmall {
    display: none;
}

@media screen and (min-width: 475px) {
    .th-xsmall { display: inline-block; }
    .th-small { display: none; }
}
/* End table responsiveness */

.kort {
    background-color: #394263!important;
    color: #fff;
}


.card-exp {
    font-size: 1.2em;
}
.card-num {
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 1px;
}
.card-gt {
    text-transform: uppercase;
    font-size: 0.6em;
}

.btn-main {
    background-color: #30d9c8;
    border-color: #30d9c8!important;
    color: #31333D;
    font-weight: bold;
}

.btn-outline-primary {
    color: #30d9c8;
    border-color: #30d9c8;
}

.btn-in {
    width: auto!important;
    padding: 6px 12px!important;
}

.inp-6 {
    display: inline-block;
    width: 49%;
}

.a-fq {
    padding: 7px 15px;
    background-color: #d7d7e1;
    border-radius: 8px;
    color: #31333D !important;
    white-space: nowrap;
    line-height: 3;
}

.uploaded-img-area > img {
    border-radius: 8px;
}

.buttons {
    list-style: none;
    padding-left: 0;
}
/* support */
.search-area input {
    min-width: 290px;
    max-width: 600px;
    width: 100%;
    min-height: 40px;
    border: solid 1px;
    border-color: #DDDDDD;
    border-radius: 3px;
    padding: 0px 10px 0px 10px;
    background: #FFFFFF;
    outline: none;
}

/* Tabs */

#tabs {
    width: 100%;
    height: 30px;
    padding-left: 0;
    margin-top: 30px;
}

a {
    cursor: pointer;
}

#tabs li {
    float: left;
    list-style: none;
    margin-right: 5px;
    outline: none;
}

    #tabs li a {
        font-weight: bold;
        color: #31333D;
        display: block;
        text-decoration: none;
        outline: none;
        border-bottom: 3px solid #30d9c8;
        padding: 5px 7px 8px 7px;
    }

        #tabs li a.inactive {
            padding: 5px 7px 8px 7px;
            color: #666666;
            outline: none;
            border: none;
        }

            #tabs li a:hover, #tabs li a.inactive:hover {
                color: #30d9c8;
                outline: none;
            }


/* select */
.wrap {
    position: absolute;
    right: 0;
    top: 40%;
    width: 350px;
    left: 0;
    margin: 0 auto;
}

/* select starting stylings ------------------------------*/
.select {
    position: relative;

}

.select-text {
    position: relative;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    font-size: 1rem;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 1rem 0.7rem;
}

    /* Remove focus */
    .select-text:focus {
        outline: none;
        
    }

/* Use custom arrow */
.select .select-text {
    appearance: none;
    -webkit-appearance: none
}

.select:after {
    position: absolute;
    top: 26px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}


/* LABEL ======================================= */
.select-label {
    color: rgba(0,0,0, 0.26);
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 10px;
    transition: 0.2s ease all;
}

/* active state */
.select-text:focus ~ .select-label, .select-text:valid ~ .select-label {
    color: #30d9c8;
    top: 0;
    transition: 0.2s ease all;
    transform: translateY(-50%) scale(0.9);
}

/* BOTTOM BARS ================================= */
.select-bar {
    position: relative;
    display: block;
    width: 350px;
}

/*    .select-bar:before, .select-bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 1px;
        position: absolute;
        background: #2F80ED;
        transition: 0.2s ease all;
    }*/

    .select-bar:before {
        left: 50%;
    }

    .select-bar:after {
        right: 50%;
    }

/* active state */
.select-text:focus ~ .select-bar:before, .select-text:focus ~ .select-bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}
