/* Fonts Used */

@font-face{
  font-family: 'Poor Richard';
  src: url(../fonts/poor_richard.ttf);
}

@font-face{
  font-family: 'Footlight';
  src: url(../fonts/footlight.ttf);
}

/* Fonts Used End */



/* ------------------------------------------------------------------ */



/* Fonts Size and Rem selection */

html{
  font-size: 16px;
}

@media screen and (max-width: 800px) {
  
  html{
    font-size: 15px;
  }

}

@media screen and (max-width: 700px) {
  
  html{
    font-size: 14px;
  }

}

@media screen and (max-width: 600px) {
  
  html{
    font-size: 13px;
  }

}

@media screen and (max-width: 500px) {
  
  html{
    font-size: 12px;
  }

}

@media screen and (max-width: 400px) {
  
  html{
    font-size: 11px;
  }

}

@media screen and (max-width: 300px) {
  
  html{
    font-size: 9px;
  }

}

@media screen and (max-height: 400px) {
  
  html{
    font-size: 9px;
  }

}

@media screen and (max-width: 200px) {
  
  html{
    font-size: 7px;
  }

}

@media screen and (max-width: 100px) {
  
  html{
    font-size: 5px;
  }

}

@media screen and (max-width: 80px) {
  
  html{
    font-size: 4px;
  }

}

@media screen and (max-width: 50px) {
  
  html{
    font-size: 3px;
  }

}

/* Fonts Size and Rem selection END */



/* ------------------------------------------------------------------ */



/* Base Elements Styles */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  word-break: break-word;
}

body{
  min-height: 100vh;
  font-size: .8rem;
  line-height: 1.6rem;
  font-family: 'Footlight';
  background-color: #f4f4f4;
}

div.site-topper{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 500;
}

i{
  height: 1rem;
  width: 1rem;
  cursor: pointer;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}

div.big-wrapper{
  min-height: 100vh;
  z-index: 5;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

div.after-site-topper{
  height: 2rem;
}

.absolute-invisibility{
  position: absolute;
  display: none;
  width: 0; height: 0;
  border: 0; outline: 0;
  background: transparent;
}

main{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

div.main-content{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

/* Base Elements Styles */



/* ------------------------------------------------------------------ */



/* Messages Styles */

@keyframes slide-mini-message-up{
  0%{bottom: -3rem;}
  100%{bottom: 0rem;}
}

@keyframes slide-small-message-left{
  0%{right: -5rem;}
  100%{right: 1rem;}
}

@keyframes fade-in-normal-message-left{
  0%{opacity: 0;}
  100%{opacity: 1;}
}

div.mini-message-holder{
  position: fixed;
  right: 0;
  left: 0; 
  bottom: 0;
  z-index: 50;
  margin: 1rem auto;
  display: none;
  align-items: center;
  justify-content: center;
}

div.mini-message-holder.show{
  display: flex;
  animation: slide-mini-message-up .5s 1;
}

div.mini-message-holder div.mini-message{
  background-color: rgb(48, 48, 48);
  color: white;
  fill: white;
  display: flex;
  padding:  .3rem .5rem;
  border-radius: .5rem;
  font-family: 'Poor Richard';
  font-size: .8rem;
  box-shadow: 0 0 5px 1px black;
}

div.small-message-holder{
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 50;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  max-width: 30vw;
}

div.small-message-holder.show{
  display: flex;
  animation: slide-small-message-left .5s 1;
}

div.small-message-holder div.small-message{
  word-break: break-word;
  background-color: rgb(22, 48, 165);
  color: white;
  fill: red;
  display: flex;
  padding:  .3rem .5rem;
  border-radius: .5rem;
  font-family: 'Poor Richard';
  font-size: .8rem;
  box-shadow: 0 0 5px 1px black;
}

div.normal-message-holder,
div.x-message-holder{
  position: fixed;
  right: 0; top: 0;
  bottom: 0; left: 0;
  z-index: 40;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

div.normal-message-holder.show,
div.x-message-holder.show{
  display: flex;
  animation: fade-in-normal-message-left .5s 1;
}

div.normal-message-holder div.normal-message,
div.x-message-holder div.x-message{
  background-color: rgb(165, 22, 122);
  color: white;
  fill: red;
  display: flex;
  padding:  .3rem .5rem;
  border-radius: .5rem;
  max-width: 80vw;
  max-height: 80vh;
  font-family: 'Poor Richard';
  font-size: .8rem;
  overflow: auto;
  box-shadow: 0 0 5px 1px black;
  word-break: break-word;
}

div.normal-message-holder div.normal-message .message-context,
div.x-message-holder div.x-message .message-context{
  padding: 0 .5rem;
}

/* Messages Styles END */



/* ------------------------------------------------------------------ */



/* Spinning Loader */

@keyframes spin-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.el-loader-spin{
  border: .5rem solid #f3f3f3;
  border-radius: 50%;
  width: 2rem; height: 2rem;
  display: inline-block;
  animation: spin-loader 2s linear infinite;
  border-top: .5rem solid #636363;

  /* Info ->
    1. Maximum of four colors
    2. Change width and height to change radius
    3. Change border width to change thickness
    4. Change border color to change default base color
    5. Simply add class to div
   */
}

/* Spinning Loader END */



/* ------------------------------------------------------------------ */



/* Custom Scroll bar */

::-webkit-scrollbar {
  width: .3rem;
  height: .3rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

a{
  color: slategray;
}

/* Custom Scroll bar END */



/* ------------------------------------------------------------------ */



/* Nav Ham */

.el-nav-holder {
  display: inline-block;
  cursor: pointer;
}

.el-nav-holder .bar-1, .el-nav-holder .bar-2, .el-nav-holder .bar-3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

@keyframes navbar-top-transform-open{

  0%{
    -webkit-transform: rotate(0) translate(0) ;
    transform: rotate(0) translate(0) ;
  }

  50%{
    -webkit-transform: rotate(315deg) translate(-9px, 6px) ;
    transform: rotate(315deg) translate(-9px, 6px) ;
  }

  100%{
    -webkit-transform: rotate(-405deg) translate(-9px, 6px) ;
    transform: rotate(-405deg) translate(-9px, 6px) ;
  }
}

@keyframes navbar-bottom-transform-open{

  0%{
    -webkit-transform: rotate(0) translate(0) ;
    transform: rotate(0) translate(0) ;
  }

  50%{
    -webkit-transform: rotate(-315deg) translate(-8px, -8px);
    transform: rotate(-315deg) translate(-8px, -8px);
  }

  100%{
    -webkit-transform: rotate(405deg) translate(-8px, -8px);
    transform: rotate(405deg) translate(-8px, -8px);
  }
}

@keyframes navbar-top-transform-close{

  0%{
    -webkit-transform: rotate(-405deg) translate(-9px, 6px) ;
    transform: rotate(-405deg) translate(-9px, 6px) ;
  }
  
  50%{
    -webkit-transform: rotate(315deg) translate(-9px, 6px) ;
    transform: rotate(315deg) translate(-9px, 6px) ;
  }
  
  100%{
    -webkit-transform: rotate(0) translate(0) ;
    transform: rotate(0) translate(0) ;
  }
}

@keyframes navbar-bottom-transform-close{
  
  0%{
    -webkit-transform: rotate(405deg) translate(-8px, -8px);
    transform: rotate(405deg) translate(-8px, -8px);
  }
  
  50%{
    -webkit-transform: rotate(-315deg) translate(-8px, -8px);
    transform: rotate(-315deg) translate(-8px, -8px);
  }
  
  100%{
    -webkit-transform: rotate(0) translate(0) ;
    transform: rotate(0) translate(0) ;
  }
}

@keyframes navbar-mid-transform-open{

  0%{
    opacity: 1;
  }
  
  100%{
    opacity: 0;
  }
}

@keyframes navbar-mid-transform-close{

  0%{
    opacity: 0;
  }
  
  70%{
    opacity: 0;
  }
  
  100%{
    opacity: 1;
  }
}

.el-nav-holder.change-to-x .bar-2 {
  opacity: 0;
  animation: navbar-mid-transform-open .1s 1 linear;
}

.el-nav-holder.change-to-def .bar-2 {
  opacity: 1;
  animation: navbar-mid-transform-close 1s 1 linear;
}

.el-nav-holder.change-to-x .bar-1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
  transform: rotate(-45deg) translate(-9px, 6px) ;
  animation: navbar-top-transform-open 1s 1 linear;
}

.el-nav-holder.change-to-x .bar-3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
  transform: rotate(45deg) translate(-8px, -8px) ;
  animation: navbar-bottom-transform-open 1s 1 linear;
}

.el-nav-holder.change-to-x .bar-1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
  transform: rotate(-45deg) translate(-9px, 6px) ;
  animation: navbar-top-transform-open 1s 1 linear;
}

.el-nav-holder.change-to-x .bar-3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
  transform: rotate(45deg) translate(-8px, -8px) ;
  animation: navbar-bottom-transform-open 1s 1 linear;
}

.el-nav-holder.change-to-def .bar-1 {
  -webkit-transform: rotate(-0) translate(0, 0) ;
  transform: rotate(-0) translate(0, 0) ;
  animation: navbar-top-transform-close 1s 1 linear;
}

.el-nav-holder.change-to-def .bar-3 {
  -webkit-transform: rotate(0) translate(0, 0) ;
  transform: rotate(0) translate(0, 0) ;
  animation: navbar-bottom-transform-close 1s 1 linear;
}

/* Nav Ham ENDS */



/* ------------------------------------------------------------------ */



/* Magnifing Glass */

.el-img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
}

/* Magnifing Glass ENDS */



/* ------------------------------------------------------------------ */



/* Autocomplete for Input */

.el-autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.el-autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.el-autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}

.el-autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* Autocomplete for Input ENDS */



/* ------------------------------------------------------------------ */



/* Custom Select */
.el-custom-select select {
  display: none; /*hide original SELECT element: */
}

.el-custom-select .el-select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.el-custom-select .el-select-selected:after {
  position: absolute;
  content: "";
  top: 17px;
  right: 5px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.el-custom-select .el-select-selected.el-select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.el-custom-select .el-select-items div,.el-select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.el-custom-select .el-select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.el-custom-select .el-select-hide {
  display: none;
}

.el-custom-select .el-select-items div:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.el-custom-select .el-same-as-selected {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Custom Select ENDS */



/* ------------------------------------------------------------------ */



/* Custom Range Input */

.el-slide-square-container {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.el-slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 25px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

.el-slide-circle-container .el-slider{
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;  
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

/* Mouse-over effects */
.el-slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.el-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #04AA6D; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.el-slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #04AA6D; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.el-slide-circle-container .el-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: #04AA6D;
  cursor: pointer;
}

.el-slide-circle-container .el-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}
/* Custom Range Input ENDS */



/* ------------------------------------------------------------------ */



/* Footer Styles */

footer{
  text-align: center;
  /* position: absolute; */
  /* bottom: 0; left: 0; right: 0; */
  width: 100%;
  display: flex;
}

footer > div.site-footer{
  width: 100%;
  display: flex;
  background-color: grey;
  font-size: .8rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  line-height: 1.3rem;
}

footer > div.site-footer a#foot-contact{
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

footer > div.site-footer .footer-svgs{
  width: 100%;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

footer > div.site-footer .footer-svgs.show{
  overflow: visible;
}

footer > div.site-footer .footer-svgs .inside-foot-svgs{
  padding: .2rem;
  background-color: rgb(58, 58, 58);
  position: absolute;
  bottom: 100%;
  display: none;
  flex-wrap: wrap;
  width: auto;
  align-items: center;
  justify-content: center;
  fill: aquamarine;
  border-radius: .7rem;
}

footer > div.site-footer .footer-svgs.show .inside-foot-svgs{
  display: flex;
}

footer > div.site-footer .footer-svgs .inside-foot-svgs::after{
  content: " ";
  border: 7px solid rgb(58, 58, 58);
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border-color: transparent;
  border-top-color: rgb(58, 58, 58);
}

footer > div.site-footer .footer-svgs a{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: .3rem;
}

/* Footer Styles Ends */



/* ----------------------------------------------------------------------- */
/* -----------------------  Add Your Styles Below  ----------------------- */
/* ----------------------------------------------------------------------- */

