/* Itens Relacionados ao "base.html" */
html,
body {
  font-family: "Ubuntu", sans-serif;
  height: 100%;
  min-height: 100vh;
  margin: 0;
}

a:hover {
  text-decoration: none;
}

.box {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.box header {
  flex: 0 1 auto;
}

.box .ems-content-body {
  flex: 1 1 auto;
}

.box footer {
  flex: 0 1 auto;
}

/*Itens Relacionados ao "header.html" */

header {
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-bottom-color: #39954a;
  /* -webkit-border-image: -webkit-linear-gradient(#39954a, #39b54a) 1 100%;
  -moz-border-image: -moz-linear-gradient(#39954a, #39b54a) 1 100%;
  -o-border-image: -o-linear-gradient(#39954a, #39b54a) 1 100%;
  border-image: linear-gradient(to bottom, #39954a, #39b54a) 5; */
  box-shadow: 0px -4px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 5px;
}

.ems-option-bar {
  display: flex;
  justify-content: flex-end;
  margin: 1.5em 0.2em 0 0;
}

#login-icon:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 0.8em 0 0;
  background: url("login.png") no-repeat;
  background-size: contain;
}

#cart-icon:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 0.8em 0 0;
  background: url("carrinho.png") no-repeat;
  background-size: contain;
}

#menu-icon:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 1.2em 0 0;
  background: url("menu.png") no-repeat;
  background-size: contain;
}

.ems-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.logo_ems {
  max-width: 300px;
  max-height: 200px;
}

.logo {
  flex-grow: 1;
}

.header_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 3;
  font-size: 3em;
}

button:focus {outline:0;}

.brand {
  flex-grow: 3;
}

#search-input:focus {
  border: none;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: .4em;
  width: 100%;
}

.nav-link:hover {
  border-color: chartreuse;
}

.nav-link {
  font-size: 1.6em;
  line-height: 1em;
  font-family: "Tw Cen MT";
  color: #3d885a;
  border-bottom: 3px solid transparent;
}

/* Itens Relacionas ao Conteudo */

.ems-content {
  background: #fff;
}

.ems-content-body {
  background: linear-gradient(to bottom, #f2f2f2 90%, #ffffff);
}

.ems_title {
  margin: .8em auto 1em auto;
  border-bottom: 4px solid;
  display: inline-block;
  font-weight: bold;
  padding: 0 0.3em;
  font-family: "Ubuntu";
}

/* Itens Relacionados ao Footer */

.ems-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 15em;
  justify-content: space-around;
}

.ems-footer-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#gps-icon::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("localizacao.png") no-repeat;
  background-size: contain;
}

#phone-icon::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("telefone.png") no-repeat;
  background-size: contain;
}

#zap-icon::before {
  content: "";
  display: block;
  background: url("zap.png") no-repeat;
  width: 30px;
  height: 30px;
  background-size: contain;
}

footer {
  background: linear-gradient(to top, #39b54a, #39954a);
  color: white;
  font-size: 0.8em;
  padding: 1em;
}

.ems-footer-info {
  margin-left: 0.4em;
}

/* Itens relacionados ao "index.html" */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
}

.ems-carousel-control-next-icon:after {
  content: ">";
  font-size: 8em;
  color: green;
}

.ems-carousel-control-prev-icon:after {
  content: "<";
  font-size: 8em;
  color: green;
}

.ems-carousel-indicators li {
  background-color: #3aca41;
  border-radius: 12px;
  width: 15px;
  height: 15px;
}

.ems-carousel-indicators .active {
  background-color: #e5e5e5;
}

.index-title {
  text-align: center;
  color: #333333;
}

.index-title h2 {
  font-size: 4em;
  color: #333333;
}

.index-title p {
  display: inline;
  padding: 4px 20px;
  font-size: 1.5em;
  text-align: center;
  border-bottom: solid #6adc6f 5px;
}

.index-title {
  margin: 45px 45px 0 45px;
}


.index-text {
  margin-bottom: 45px;
}

.index-text p {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: lighter;
  margin-bottom: 0;
}

.index-catalog-txt {
  font-family: "Rubik";
  margin-bottom: 0;
  padding: 0.5em 0.25em;
  transition: background-color 0.4s;
}

.index-catalog-list {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.index-catalog-bg {
  background-color: #d8edd9;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.25);
  max-width: 300px;
  margin-top: 2em;
}

.index-item-list p {
  color: #000;
  text-align: center;
  font-size: 1.25em;
}

.index-catalog-button {
  display: block;
  box-sizing: border-box;
  max-width: 300px;
  padding: 0.5em;
  font-size: 1.5em;
  text-align: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.25);
}

.index-catalog-button:hover {
  color: white;
  text-decoration: none;
}

#ems-bottom-buttons {
  display: flex;
  justify-content: center;
  padding: 80px 0 100px 0;
}

#ems-index-btn-loja {
  width: 250px;
  margin-right: 1em;
}

#ems-index-btn-catalog {
  width: 250px;
  margin-left: 1em;
}

.search-form {
  border-radius: 30px;
}

.search-btn {
  border-radius: 0px 30px 30px 0px;
  cursor: pointer;
  margin-right: 16px;
  background-color: rgba(0, 0, 0, 0.75);
}


/* Itens relacionados ao "events.html" */

.ems-events-title {
  font-weight: bold;
  padding: 0.5em 0;
  text-align: center;
}

.ems-events-image {
  border-bottom: 1px solid black;
}

.ems-events-card {
  border: 2px solid black;
  margin: 2em 1em;
}

.ems-events-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 3em;
}

.ems-events-btn {
  align-self: center;
  padding: 0.5em 1em;
  margin-bottom: 0.2em;
}



/* Pagination */

.active a {
  color:#1CC534;
  background-color: transparent !important;
  border-color:  transparent !important;
  box-shadow: 0px 0px 0px rgba(53, 47, 47, 0) !important;
}

.page-item a {
  color: #ffffff ; 
  background-color: #1CC534;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  margin: 0 8px;
  border-radius: 0 !important;
  font-family: "Ubuntu"
}




/* Login Page*/

.ems-login-btn {
  margin-top: 1em;
  background: #39b54a;
  color: #fff;
}


/* Util Classses  */

.column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* about_us.html */
.lista {
  margin-left: 2em;
  list-style-type: disc;
}

.maps-frame {
  border:0;
  max-width: 650px;
  width: 100%;
  height: 450px;
}




/* Media Queries */

@media (max-width: 1200px) {
  .ems-events-list {
    justify-content: space-around;
  }

  .nav-link {
    font-size: 1.4em;
  }
}

@media (max-width: 990px) {
  .content {
    margin: 0;
    max-width: 100%;
  }

  .brand {
    align-self: center;
    margin-bottom: 1.2em;
  }

  .ems-title {
    display: none;
  }

  .ems-header {
    flex-direction: column;
  }

  .logo_ems {
    align-self: center;
  }

  .navbar-nav {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .ems-footer {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  
  .index-catalog-list {
    flex-direction: column;
    align-items: center;
  }

  .index-catalog-bg {
    width: 300px;
  }

  #ems-bottom-buttons {
    flex-direction: column;
    align-items: center;
  }

  #ems-bottom-buttons > a:first-child {
    margin-bottom: 1em;
  }

  #ems-index-btn-loja {
    margin-right: 0px;
  }

  #ems-index-btn-catalog {
    margin-left: 0px;
  }
}

@media (max-width: 700px) {
  .ems-footer {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  #ems-footer-phone {
    margin: 1.5em 0;
  }

  #ems-footer-zap {
    display: flex;
  }
}

@media (max-width: 576px) {
  .navbar-nav {
    flex-direction: column;
  }
 
  .index-title p {
    border: none;
    padding-left: 0;
    padding-right: 0;
  }

  .index-catalog-button {
    font-size: 1.5em;
    text-align: center;
  }
}


