#pinForm input[type=text] {
    width: 4rem;
    text-align: center;
    border-color: #d1d4d7;
    border-style: dashed;
    background: #fff;
    color: #000;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 2.8rem;
    line-height: 4rem;
    margin: 0 1px;
}

#pinForm label {
    display: block;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2rem;
}

#pinForm button {
    margin-top: 4rem;
    display: block;
}

#pinForm {
    height: fit-content;
}

#pinArea {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#pinArea img {
    height: 40rem;
}
#pinArea h2 {
    position: absolute;
    margin: -44rem 0 0 0 !important;
}

.pinMinus {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 4rem;
    color: #757575;
    visibility: hidden;
}

#checkLoading {
    position: relative;
    height: 1.15rem;
    left: 1.6rem;
}

/*#writeMesssage::before {
    content: '';
    display: block;
    background-image: url(../images/svg-icons/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 3rem;
    height: 3rem;
    position: absolute;
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
    cursor: pointer;
    top: 1rem;
    left: -4rem;
    border: 2px solid #14a0f4;
    box-shadow: -2px 2px 2px 0px #82ccf9;
    border-radius: 4px;
}*/
#writeMesssage .form-group {
    margin-bottom: 1rem;
}
#writeMesssage .form-group textarea {
    min-height: unset;
    height: 16rem;
}
.form-group input:read-only {
    background-color: #d8dee1 !important;
}

.contact {
    padding-top: 2rem;
}

.errorMessage {
    display: none;
    width: 100%;
    margin-top: 2.5rem;
    font-size: .875em;
    font-weight: 600;
    color: var(--bs-form-invalid-color);
}

.inputError {
    border-color: #dc3545 !important;
    background-color: #efdde2 !important;
}

.go-back-button {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: absolute !important;
    float: left;
    height: 100% !important;
    width: 6rem !important;
    left: -7rem;
    top: 0rem;
    background: #f1f5f8 !important;
    color: #003465 !important;
    font-size: 1.6rem !important;
    opacity: 0.7;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 2px 2px 8px rgba(0,0,0,.1);
}
.go-back-button::before {
    content: '';
    display: flex;
    background-image: url(../images/svg-icons/arrow-left.svg);
    background-repeat: repeat-x;
    background-position: center;
    width: 4rem;
    height: 2rem;
    margin-right: 0.5rem;
}
.go-back-button:hover {
    opacity: 1.0;
    border: 1px solid #c1c4c7;
    box-shadow: 8px 8px 5px 0px rgb(72 85 94 / 20%);
}

.flag-text { 
    margin-left: 10px;
}
.flag-icon.flag-icon-squared {
    transform: scaleX(1.25);
    box-shadow: 1px 1px 2px 0px #757575;
}

/* Container for flexboxes */
.country-row {
    display: flex;
    flex-wrap: wrap;
    color: #3e474f;
    font-weight: 600;
    font-size: 1.5rem;
}
/* Create four equal columns */
.country-column {
    flex: 25%;
    padding: 10px 20px 30px 20px;
    box-sizing: border-box;
}
/* On screens that are 992px wide or less, go from 4 columns to 2 columns */
@media screen and (max-width: 992px) {
    .country-column {
        flex: 50%;
    }
    #countryContainer {
        background-image: none !important;
    }
}
/* On screens that are 600px wide or less, make the columns stack on top of each other */
@media screen and (max-width: 600px) {
    .country-row {
        flex-direction: column;
    }
}

.country-div {
    padding: 6px;
    cursor: pointer;
    opacity: 0.9;
}
.country-div:hover {
    background-color: #70c5f8;
    opacity: 1.0;
}
.country-selected {
    background-color: #70c5f8;
    opacity: 1.0;
}

.region-div {
    text-align: left;
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 1rem;
}

#countryContainer {
    background-image: url("../images/world_map.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto;
    scale: 0.95;
    padding-top: 40px;
}

.country-label {
    margin-left: 50px;
    font-size: 1.75rem;
    font-weight: 600;
    color: #9aa3aa;
}

.select-button {
    background-color: #70c5f8;
    padding: 2px 20px;
    margin-left: 4px;
}

@media screen and (max-width: 767px) {
    #countryForm {
        padding: 20px !important;
    }
}

.asan_logo {
    padding: 0px;/*8px 24px;*/
    border: none;/*1px solid #dfdfdf;*/
    border-radius: 10px;
    background-color: #fff;
    transition: .5s ease-in-out;
    /*box-shadow: 1px 1px 4px 0px rgba(72,85,94,.2);*/
}

.asan-logo-img {
    width: 144px;
}

.oauth-redirect-link {
    display: flex;
    justify-content: center;
    background-color: transparent;
    color: #337ab7;
    text-decoration: none;
    margin-top: 30px;
}

.btn.btn-blue.asan_logo:hover {
    background: #007fcc40;
    color: #f1f5f6;
}

.asan-login-text {
    margin: 10px 20px;
    text-align: justify;
    font-weight: 500;
}

.contact h2 {
    margin: 0 !important;
    text-align: center;
    margin-bottom: 30px !important;
}

#countryForm {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #dfdfdf;
    padding: 30px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.175);
}

section.contact {
    background-color: #f1f5f6;
    margin-bottom: 0px !important;
    padding-bottom: 10rem;
}

#writeMesssage {
    scale: 0.95;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 25vh; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: fit-content;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: #9E9E9E;
    font-size: 35px;
    line-height: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
    min-height: 30px;
    padding: 0px 12px;
    color: white;
    flex-direction: row;
	justify-content: space-between;
}

#success-message-modal {
	font-weight: 700;
	font-size: 16px;
}

.success-header-modal {
	color: #48494a;
    font-size: 18px;
    font-weight: 700;
}
