.card {
    border-radius: 1em;
    background-color: #184147;
    color: white;
    padding: 1em;
    margin-bottom:35px;
}

.align {
    display: grid;
    place-items: center;
}


#bankid_sign, #bankid_done, #bankid_insurance, #bankid_insurance_done{ display: none;}

.spinner-border{
    display: none;
    margin: 0 auto;
    color: #73cceb;
}

.bankid_text{
    font-size:18px;
}

.bankid_text.success{
    font-weight: bold;
}

.bankid_text.success img{
    display: inline-block;
}

.bankid_text img{
  display: none;
  width:14px;
}

button.button img{
    width: 70px;
    top: -4px;
    position: absolute;
    left: 0px
}

button.button#openModal{
    opacity: 0.5;
    pointer-events: none;
}
         
button.button#openModal:hover{

}

button.button#openModal.submit{
    font-weight: 600;
    pointer-events: unset;
    opacity: 1;
}

i.fas.mini{
    margin-left: 29px;
    margin-right: 4px;
    font-size: 12px;
}


span.mini{
    position: initial !important;
    font-size: 12px !important;
}
   

form.login {
    padding-top:30px;
}

.header {
    display: flex;
    justify-content: center;
    padding-block: 0.5em;
    padding-inline: 1em;
}

.editBtn {
    cursor: pointer;
    text-decoration: underline;
    color:darkorange;
}

.header-container {
    margin-top:20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container--address {
    margin-top:35px;
}

.card .form-group span{
    position: absolute;
    font-size: 14px;;
    left: 45px;
}

.card .form-group span.python_response {
    position: initial;
}

.checkbox_option{
    margin-top:20px;
}

.carbox-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.large-bold-text {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.carbox-image {
    max-width: 100%;
    border-radius: 10px !important;
    margin-bottom: 10px;
    
    max-width: 400px;
    width: 100%;
    margin: 25px auto 20px;
}

.small-text {
    font-size: 15px;
    margin-bottom: 0;
}

.login {
    width: 100%;
}

.login__field {
    padding: 20px 0px;
    position: relative;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: #184147;
}


.login__input {
    border: none;
    border-bottom: 2px solid #184147;
    padding: 5px;
    padding-left: 24px;
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    text-align: center;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px 30px 70px;
    color: #000;
    border-radius: 10px;
    width: 99%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.modal-image {
    max-width: 100%;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.modal-text {
    margin-top: 10px;
}

.modal-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #184147;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 40px;
    text-align: left;
}

.modal-buttons:hover {
    background-color: #73cceb;
    color: black;
}

#addressSection {
    margin: 0; 
    position: relative;
}

#addressFields.zoomout{
    margin-top: -95px;
    transition: all 0.2s;
}

#home_address{
    transition: all 0.2s;
}

#home_address.zoomout{
    top: -80px;
    right: -25%;
    transform: scale(0.5);
}


.line.line--left{
    border-top: 1px dashed white;
    transform: rotate(10deg);
    margin-top: 54px;
    position: absolute;
    top: 0px;
    width: 94%;
    display: none;
}

.line.line--right{
    border-top: 1px dashed white;
    transform: rotate(-10deg);
    margin-top: 47px;
    position: absolute;
    top: 0px;
    width: 94%;
    display: none;
}

#addressSection span{
    font-size: 14px;
}

#showAddressFieldsButton {
    background-color: gray;
    opacity: 90%;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 17px;
    margin-bottom: 10px;
}

#showAddressFieldsButton:hover {
    background-color: #184147;
}

#addressFields input{
    margin: 2px 0;
    border: none;
    width: 100%;
    padding: 3px 10px;
    border-radius: 2px;
}

/* Address fields styles */
#addressFields {
    background-color: #73cceb;
    margin-top: 20px;
}


input.picker[type="date"] {
    position: relative;
    color: black;
}

input.picker[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    color: black;
    background: transparent;
}


.login__input:focus-visible,.login__input:focus{
    outline-color: transparent !important;
}

.login__input.error_input{
    border-bottom: 3px solid coral !important;
}

.login__field .error_span{
    color: coral;
    position: absolute;
    right: 0;
    font-size: 14px;
    font-style: italic;
    bottom:0;
}


.error_input_address{
    position: absolute;
    right: 10px;
    font-style: italic;
    color: darkorange;
    font-size: 13px;
    visibility: hidden;
    top:2px;
}

#submit-help{
    background-color: #000;
    color: white;
    width: 115px;
    position: absolute;
    z-index: 11;
    border-radius: 50%;
    left: 0;
    margin-top: 18px;
    top: -121px;
    text-align: center;
    
}

#submit-help > div{
    padding: 15px 7px 17px;
    font-size: 12px;
    
}

#submit-help .triangle_down {
    border-left: 17px solid transparent;
    border-right: 1px solid transparent;
    border-top: 19px solid #000;
    margin-left: 30px;
    line-height: 0;
    float: left;
    position: absolute;
    left: 0;
    margin-top: -7px;
  }

.agree_text{
    width: 200px;
    font-size: 14px;
}

.disable_filter{
    opacity: 0.5;
    pointer-events: 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;
}

@media only screen and (min-width: 370px) {
    #submit-help .triangle_down {
        left: 5%;
      }

      .agree_text{
        width: 250px;
    }
}

@media only screen and (min-width: 425px){
    .agree_text{
        width: 305px;
    }
  
} 
@media only screen and (min-width: 500px){
    #submit-help {
        width: 180px;
        left: 10%;
    }
    .agree_text{
        width: 380px;
    }
}

@media  only screen and (min-width: 768px) {
    #submit-help{
        width: 240px;
        top: -40px;
    }

    #submit-help .triangle_down {
        border-left: 30px solid transparent;
        border-right: -8px solid transparent;
        border-top: 15px solid #000;
        margin-top: -15px;
        margin-right: -21px;
        margin-left: 179px;
    }
    .agree_text {
        width: 420px;
    }
}  


@media only screen and (min-width: 1200px) {
    form.login h2.help{
        margin: 20px 0 50px;
    }

    .card .form-group span, #addressSection span{
        font-size: 17px;;
    }

    #submit-help{
        margin-right:220px;
    }

    .agree_text {
        width: 440px;
    }
}