html {
  min-height: 100%;
  position: relative;
}

body {
  font-family: Calibri, 'Montserrat', sans-serif;
    /* font-family: 'Open Sans', sans-serif; */
  background-color: #FFF;
  text-align: center;
}

.optimizeLegibility {
        text-rendering: optimizeLegibility;
      }

@font-face {
      font-family: 'FontAwesome';
      src: url('../fonts/fontawesome-webfont.eot?v=4.4.0');
      src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
      font-weight: normal;
      font-style: normal;
      }

p {
  color: #323232;
}

.blue-space h5 {
  color: #F5D542;
  margin-top: 20px;
    font-weight: bold;
}
.box a {
  text-decoration: none;
}

/* autocomplete */

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.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;
}

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

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

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

/* Sections */
.blue-section {
  background-color: #50641c;
}

.white-section {
  background-color: #FFF;
}

.grey-section {
  background-color: #F3F7F8;
}

/* title */

/* galioja nuo 576 iki 320px */
@media (min-width:320px) {
  /*Navigation Bar*/
  .navbar-brand {
    font-family: Calibri, 'Montserrat', sans-serif;
    /* font-family: 'Open Sans', sans-serif; */
    font-size: 2rem;
    font-weight: bold;
  }
  h1 {
    font-weight: bold;
    font-size: 205%;
  }
  .blue-space a {
    /* margin-top: 15px; */
    margin-top: 2px;
    margin-bottom: 0.1rem
  }
  .btn {
    background: #F5D542;
    font-weight: bold;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #50641c;
    padding: 3px 35px 3px 35px;
    text-decoration: none;
    font-size: 110%;
  }
  .intro {
    margin: auto;
    color: #898b8a;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .white-space {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  /* about */
  #about .container-fluid {
    padding: 1% 7%;
  }
  .empty-space1 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  /* carousel */
  .justify {
    text-align: justify;
    padding: 8px 11%;
    min-height: 120px;
    line-height: 1.1;
  }
  .region-box {
    vertical-align: text-top;
    max-width: 60%;
    align-items: center;
    display: inline-block;
    margin-left: 1%;
    margin-right: 1%;
}
.empty-space2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* -----SEARCH PAGE----- */
.blue-space-search h1 {
  font-size: 205%;
}
.form-row {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0;
  margin-right: 0;
  padding-right: 0px;
  padding-left: 0px;
}
 .row-p .col-sm-12 {
  padding-right: 0px;
  padding-left: 0px;
}
/* black titles */
.search-text-div {
  font-size: 1.8rem;
  background-color: #D2E1E6;
  margin-bottom: 0;
}
/* button */
.yellow-button {
  color: #000;
  padding: 2px 45px 2px 45px;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: normal;
  margin-top: 0.7rem;
}
/* RESULTS */
.results-img {
  height: 100%;
  width: 100%;
}
.circle {
  height: 3.35rem;
  width: 3.35rem;
  border-radius: 50%;
  background-color: #50641c;
  color: #FFF;
  text-align: center;
  line-height: 1;
  padding: 16px 1px 1px 1px;
  text-decoration: none;
  font-size: 57%;
  position: fixed;
  right: 1rem;
  bottom: 3.45rem;
}

.circle-big {
  height: 6.5rem;
  width: 6.5rem;
  border-radius: 50%;
  background-color: #50641c;
  color: #FFF;
  text-align: center;
  line-height: 1;
  padding: 38px 1px 1px 1px;
  text-decoration: none;
  font-size: 92%;
}

.found {
  margin: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: left;
}
.readMoreclass a {
  text-decoration: none;
  color: #323232;
}
#readMore {
  display: block;
}

.justify-cite-us {
  text-align: justify;
  padding: 8px 11%;
  line-height: 1.1;
}

}
/* galioja nuo 768 iki 576px (sm)*/
@media (min-width:576px) {
  /*Navigation Bar*/
  .navbar-brand {
    font-size: 2.5rem;
  }
  h1 {
    font-weight: bold;
    font-size: 280%;
    margin-bottom: 0;
  }
  .blue-space a {
    margin-top: 5px;
    margin-bottom: 0rem
  }
  .white-space {
    padding-top: 15px;
    padding-bottom: 40px;
  }
  .intro {
    margin: auto;
    color: #898b8a;
    padding-top: 0.45rem;
    padding-bottom: 3rem;
  }
  .empty-space1 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  /* carousel */
  .justify {
    text-align: justify;
    padding: 15px 15%;
    height: auto !important;
    min-height: 300px;
    line-height: 1.5;
  }
  .region-box {
    vertical-align: text-top;
    max-width: 34%;
    align-items: center;
    display: inline-block;
    margin-left: 1%;
    margin-right: 1%;
  }
  .empty-space2 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  /* about */
  #about .container-fluid {
    padding: 1% 15%;
  }
  /* RESULTS */
  .circle {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    background-color: #50641c;
    color: #FFF;
    text-align: center;
    line-height: 1;
    padding: 20px 1px 1px 1px;
    text-decoration: none;
    font-size: 75%;
    position: fixed;
    right: 1rem;
    bottom: 4rem;
  }

  /* -----SEARCH PAGE----- */
  .blue-space-search h1 {
    font-size: 300%;
  }

  #readMore {
    display: none !important;
  }
  .justify-cite-us {
    text-align: justify;
    padding: 15px 15%;
    height: auto !important;
    line-height: 1.5;
  }

}
/* galioja nuo 1200 iki 768px  (md)*/
@media (min-width:768px) {
  h1 {
    font-weight: bold;
    font-size: 390%;
  }
  .btn {
    background: #F5D542;
    font-weight: bold;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #50641c;
    padding: 0.2px 50px 0.2px 50px;
    text-decoration: none;
    font-size: 140%;
  }
  /* carousel */
  .justify {
    text-align: justify;
    padding: 25px 24%;
  }
  .region-box {
    vertical-align: text-top;
    max-width: 25%;
    align-items: center;
    display: inline-block;
    margin-left: 1%;
    margin-right: 1%;
  }
  .form-row {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: -5px;
    /* padding-right: 0px;
      padding-left: 0px; */
  }
  .row-p .col-sm-12 {
   padding-right: 5px;
   padding-left: 5px;
 }
 /* black titles */
 .search-text-div {
   font-size: 1.8rem;
   background-color: #D2E1E6;
   margin-bottom: 1rem;
 }
 /* RESULTS */
 .results-img {
   height: 75%;
   width: 75%;
 }
 .circle {
   height: 5rem;
   width: 5rem;
   border-radius: 50%;
   background-color: #50641c;
   color: #FFF;
   text-align: center;
   line-height: 1;
   padding: 27px 1px 1px 1px;
   text-decoration: none;
   font-size: 80%;
   position: fixed;
   right: 1rem;
   bottom: 5rem;
 }

 .circle-big {
   height: 7rem;
   width: 7rem;
   border-radius: 50%;
   background-color: #50641c;
   color: #FFF;
   text-align: center;
   line-height: 1;
   padding: 47px 1px 1px 1px;
   text-decoration: none;
   font-size: 95%;
 }

 .found {
   margin: auto;
   padding-top: 1.225rem;
   padding-bottom: 1.225rem;
   text-align: left;
 }
 /* SEARCH */
 .yellow-button {
   color: #000;
   padding: 2px 45px 2px 45px;
   text-decoration: none;
   font-size: 1.8rem;
   font-weight: normal;
 }
 .justify-cite-us {
   text-align: justify;
   padding: 25px 24%;
 }

}

/* galioja nuo max iki 1200px  (md)*/
@media (min-width:1200px) {
  .region-box {
    vertical-align: text-top;
    max-width: 17%;
    align-items: center;
    display: inline-block;
    margin-left: 1%;
    margin-right: 1%;
  }
  /* RESULTS */
  .results-img {
    height: 60%;
    width: 60%;
  }
}

.blue-space h3 {
  padding-top: 0px;
  font-size: 200%;
}

#title {
  color: #FFF;
}

#title .container-fluid {
  padding: 2% 8% 2%;
}

.bold {
  font-weight: bold;
}

/* select the region */
.select-region-below {
  margin: auto;
  color: #898b8a;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

#select-search .container-fluid {
  padding: 0.6% 15%;
}

h5 {
  color: #898b8a;
  margin-bottom: 0.1rem;
}

.region-img {
  max-width: 80%;
  border-radius: 50%;
}

.region-img:hover {
  opacity: 0.5;
}

#region .container-fluid {
  padding: 7% 4%;
}

/* learn about */
#learn-a .container-fluid {
  padding: 0.6% 15%;
}

.box {
  padding: 5rem 0.6rem;
}

h3, h4 {
  color: #FFF;
}

.box h4 {
  letter-spacing: 1px;
  font-weight: bold;
}

.green {
  background-color: #92bc4b;
}

.blue {
  background-color: #008897;
}

.dark-green {
  background-color: #4f621e;
}

.mint {
  background-color: #BBDFC8;
}

/* footer */
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

hr {
  border: 2px solid #50641c;
  margin-bottom: 0;
  opacity: 1;
}

hr:not([size]) {
  height: 0;
}

#footer .container-fluid {
  padding-top: 0.6%;
}

.total-views {
  float: left;
}

.copyright {
  float: none;
  padding-bottom: 3px;
  margin-bottom: 3px;
}

/* Nav new */
/* Section */
.navbar-section {
  background-color: #00181C;
  text-align: left;
}

.navbar-dark .navbar-nav .nav-link {
  color: #FFF;
}

.navbar {
  padding: 0;
}

.brand-color {
  color: #FFD542;
}

.nav-item {
  padding: 0 2px;
}

.nav-link {
  font-size: 1rem;
  font-family: 'Montserrat';
}

.tarp {
  border-right: 1px solid #8C8C8C;
}

/* -----SEARCH PAGE----- */
.empty-space3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 15%;
  padding-right: 15%;
}


.search-text-div p {
  margin-bottom: 0;
}

.search-below {
  font-size: 1.1rem;
  margin-bottom: 1px;
}

.jumbotron {
  background-color: inherit;
}

/* search form */
.character-name {
  background-color: #50641c;
}

label {
  font-size: 1.7rem;
  font-weight: bold;
  color: #FFF;
  margin-bottom: 0.01rem;
  margin-top: 0.4rem;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

.form-select {
  border-color: #50641c;
  border-radius: 0;
  border-width: 4px;
  margin: 0;
}

.form-control-lg {
  border-color: #50641c;
  border-radius: 0;
  border-width: 4px;
  margin: 0;
  font-size: 1rem;
}

.others {
  color: #000;
}



/* CITE US */
.italic {
  font-style: italic;
}

.top {
  padding-top: 20px;
}
.cite-us h5 {
  color: #50641c;
}

.empty-space4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* RESULTS */
.circle-button {
  align-items: center;
}



/* LOGIN */
.empty-space5 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.login-form {
  width: 70%;
}

/* ADMIN  */
.tarp-wh {
  border-right: 1px solid #FFF;
}

.navbar-section1 {
  background-color: #FFD542;
  text-align: left;
}

.database-result {
  text-align: left;
}

/* EDIT PPAGE */
#group .btn {
  /* background: inherit; */
  font-weight: normal;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 5px;
  color: #000;
  padding: 1px 20px 1px 20px;
  text-decoration: none;
  font-size: 100%;
  margin: 5px;
}

.database-result-edit {
  text-align: right;
}

.edit-left {
  /* float: right; */
}

/* add button style */
.plus-button {
  border: 2px solid #50641c;
  background-color: #FFF;
  font-size: 100%;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 25%;
  position: relative;
  float: right;
  font-weight: bold;
  text-align: center;
  color: #50641c;
}

.red-color {
  color: red;
  margin-bottom: 0;
  padding-top: 2.5rem;
}

/*----------------------------------- OLD*/
.records-text {
  text-align: center;
  font-size: 2rem;
  color: #f6f5f5;
  background-color: #50641c;
}
