@import url(boostrap.min.css);

@font-face {
    font-family: "Sofia-Pro";
    src: url(../webfonts/Sofia-Pro.ttf);
}

:root {
    /*--green: #05bca9;*/
    --green: #022759;
    --gray: rgba(192,192,192,.4);
    --dark: rgb(65,65,65);
}

* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family: 'Sofia-Pro';

}

/*---------------------------- preloader area ----------------------------*/
.spinner-wrapper {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--green);
z-index: 999999;
}



.spinner {
  width: 40px;
  height: 40px;
  background-color: #fff;

  position: absolute;
  top: 48%;
  left: 48%;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
/*------------------------End of preloader area------------------------------*/




body {
    overflow-x: hidden !important;
    overflow-y: auto;
}

.img_container {
    width: 100%;
}

.img_container img {
    width: 100%;
}

.header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    background: #fff;
    height: 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header h1 {
    color: gray;
}

.header .img_container {
    width: 2rem;
    height: 2rem;
    margin: 1rem;
}


.body {
    position: absolute;
    background: var(--gray);
    top: 3rem;
    right: 0px;
    left: 0px;
    bottom: 0rem;
    text-align: center;
    overflow-x: hidden !important;
    overflow-y: auto;
}

.body section {
    width: calc(50% -1rem);
    float: right;
    text-align: center;
    padding: 6px;
}

.body section:only-child {
    width: 100%;
    float: none;
}

.section_flex {
    display: flex !important;
    justify-content: center !important;
}

.large_text {
    font-size: 2rem;
    color: var(--dark);
    margin: 1rem 0.5rem 1rem 0.5rem;
}

.normal_text {
    font-size: 1.1rem;
    margin: 10px 0px 10px 0px;
}
.left {
    text-align: left;
}

.danger {
    color: red;
}

.btn {
    background: var(--green);
    border: none;
    border-radius: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    color: white;
    font-weight: bolder;
}

.btn:hover {
   opacity: 0.4;
    box-shadow: 0px 0px 5px white;
    color: #ccc;
}

form {
    width: auto;
    text-align: center;
    margin-top: 2rem;
}

label {
    font-size: 1.2rem;
    text-shadow: 0px 0px 2px white;
}

.form-control {
    width: 90%;
    max-width: 20rem;
    display: inline-block;
    padding: 1rem 0.5rem 1rem 0.5rem;
    margin: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--green);
    outline: none;
}

.form-control[type=submit] {
    padding: none !important;
}

.form-control:focus {
    border: 1px solid var(--dark);
}

@media screen and (max-width: 500px) {
    .body section {
        width: 95%;
        float: none;
    }
}

/*.table_container {
    overflow-x: auto;
}

table {
    background: var(--dark);
}

td, th {
    background: white;
    padding: 0.5rem;
}*/

.icon {
    background: var(--green);
    color: white;
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.center_container {
    text-align: center;
    margin: 1rem 0 1rem 0;
}

.footer {
    display: none;
    position: fixed;
    background: none;
}

@media print {
    .btn {
        display: none;
    }

    .receipt {
        display: block;
        text-align: left;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: white;
        padding: 3rem;
        line-height: 2rem;
    }
}