
/**************** 
 global veriables
****************/

:root {
    --btn-bg-color: rgb(0, 149, 219);
}


/******************* 
 general tag styling
*******************/
   
*{
    padding: 0;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-size: 18px;
}

table{
    text-align: left;
    margin: 0 auto;
    padding: 0 1rem;
}

td{
    padding: 0.2rem 0.5rem;
}

ul {
    list-style: none;
    text-align: left;
}

input {
    border: 2px solid black;
    margin-bottom: 1rem;
    padding: 0.7rem 0;
    border-radius: 15px;
    width: 80vw;
    min-width: 15rem;
    max-width: 30rem;
    font-size: 1.2rem;
    text-align: center;

    outline: none;
    -webkit-appearance: none; 
}

label{
    -webkit-appearance: none; 
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

a {
    text-decoration: none;
    color: black;
}
button {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

h1,
h2,
h3,
h4{
    margin: 1.5rem;
}

p {
    text-align: left;
    margin: 1rem auto;
    width: 80vw;
    max-width: 50rem;
}

small{
    font-weight: normal;
}


/*************** 
 element spacing
***************/

/* general page spacing */
.wrapper{
    position: relative;
    text-align: center;
    max-width: 70rem;
    margin: 1rem auto;
}

/* clear text for single button */
.btn-clearance{
    margin-bottom: 5em;
}

/* clear text for duble stack button */
.confirmation-clearance{
    margin-bottom: 12rem;
}

/* clear text for duble stack button */
.bottom-alert-clearance{
    margin-bottom: 9rem;
}

/* fix spacing for signed msg */
.signed-msg{
    margin: 0 auto;
    padding: 0.5rem 0 1rem 0;
    width: 95vw;
    max-width: 40rem;
}

/* move text right above btn-full */
.text-above-btn{
    position: fixed;
    display: block;
    width: 100vw;
    bottom: 4rem;
    left: 0;
}


/************* 
 image styling
*************/

img{
    margin-bottom: 1rem;
}

#profile-picture{
    cursor: pointer;
    border: 1px solid black;
    width: 225px;
    height: 300px;
    object-fit: cover;
}


/************** 
 input styling 
**************/

/* style input for sms code */
.pw-box {
    display: inline-block;
    min-width: 0px;
    width: 30px;
    height: 20px;
    margin: 0.5rem 0.2rem;
    border: 0;
    font-size: 1.5rem;
    background-color: white;
}

/* fix position for sms code */
.pos-sms-box{
    padding-top: 1rem;
    height: 5rem;
    margin-bottom: 1.1rem;
}

/* text + icon align */
.profile-upload {
    margin-top: 3rem;
}
.profile-upload span {
    cursor: pointer;
    padding: 0 1rem;
}
.profile-upload i {
    cursor: pointer;
    position: relative;
    top: 5px;
}

/* firm logo size control */
.firm-logo {
    max-width: 15rem;
    max-height: 6rem;
}


/************** 
 button styling 
**************/

.btn{
    display: inline-block;
    min-width: 20rem;
    margin-top: 1rem;
    padding: 1rem 1rem;
    border: none;
    border-radius: 15px;
    background-color: var(--btn-bg-color);
    color: white;
    text-align: center;
    cursor: pointer;
}

.btn-full {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    padding: 1.5rem 0;
    border-radius: 0;
    font-size: 1.2rem;
}

.btn-full-2 {
    position: fixed;
    left: 0;
    bottom: 4.5rem;
    width: 100vw;
    padding: 1.5rem 0;
    border-radius: 0;
    font-size: 1.2rem;
}

/* .btn-left {
    padding: 0.6rem 1rem 0.4rem 5px;
    margin-right: 1rem;
    border-right: 2px solid white;
}

.btn-right {
    position: relative;
    top: 2px;
    padding: 0.5rem;
    font-size: 1.5rem;
} */

.btn-top-left {
    position: absolute;
    top: 0;
    padding: 0;
    left: 1rem;
    font-size: 30px;
    color: var(--btn-bg-color);
}

.btn-top-right {
    position: absolute;
    top: 0;
    padding: 0;
    right: 1rem;
    font-size: 30px;
    color: var(--btn-bg-color);
}

/* select firm buttons */
.select_firm{
    width: 90vw;
    max-width: 25rem;
    margin: 2rem auto;
}

.select_firm a{
    display: block;
    padding: 0.7rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 7px;
    color: white;
    background-color: var(--btn-bg-color);
}

/* move check mark to right side */
.select_firm i{
    position: relative;
    float: right;
    left: 0.5rem;
    top: 0.5rem;
    font-size: 2rem;
}


/*************** 
 custom checkbox 
***************/

/* The container */
.container {
    position: fixed;
    left: 0;
    bottom: 4.5rem;
    width: 100vw;
    color: white;
    margin: 0 auto;
    padding: 10px 0;
    cursor: pointer;
    text-align: center;
    background-color: var(--btn-bg-color);
}

/* for qr-code document */
.container-bottom {
    position: fixed;
    left: 0;
    bottom: 0rem;
    width: 100vw;
    color: white;
    margin: 0 auto;
    padding: 10px 0;
    cursor: pointer;
    text-align: center;
    background-color: var(--btn-bg-color);
}

/* position text */
.checkmark-text{
    position: relative;
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    width: 15rem;
    top: 0.8rem;
    left: 3rem;
}

/* Create a custom checkbox */
.checkmark {
    position: relative;
    margin: 0 auto;
    bottom: 1.5rem;
    right: 7rem;
    height: 35px;
    width: 35px;
    border-radius: 7px;
    background-color: white;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: white;
}

/* Create the checkmark (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark */
.container .checkmark:after {
    /* display: block; */
    right: 10px;
    bottom: 8px;
    width: 10px;
    height: 20px;
    border: solid var(--btn-bg-color);
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
    z-index: 999;
}


/************* 
 quick add-ons 
*************/

.bg {
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/Bakgrunn_SID_v2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: auto;
}
.bg-white{
    background-color: white;
}
.bg-main{
    background-color: var(--btn-bg-color);
}
.bg-red{
    background-color: rgb(255, 121, 121);
}
.white{
    color: white;
}
.red{
    color: rgb(255, 121, 121);
}
.black{
    color: black;
}
.bold{
    font-weight: bold;
}
.hide{
    display: none;
}
.border-top{
    border-top: 2px solid black;
}
.block{
    display: block;
}
.transparent{
    opacity: 0.6;    
}
