@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

main {
  padding: 1rem;
  margin: auto;
}

form {
  display: inline;
}
.index-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 10% !important;
}

.centered {
  text-align: center;
}

.image {
  height: 20rem;
}

.image img {
  height: 100%;
}

.main-header {
  width: 100%;
  height: 3.5rem;
  background-color: #000000;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}

.main-header__nav {
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.main-header__item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-header__item {
  margin: 0 1rem;
}

.main-header__item a,
.main-header__item button {
    
  padding: 0.2rem 0.4rem;
  font: inherit;
  background: transparent;
  border: none;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.main-header__item a:hover,
.main-header__item a:active,
.main-header__item a.active,
.main-header__item button:hover,
.main-header__item button:active {
 /* color: #f5dc69; */
 color: rgb(0, 0, 0);
 border-radius: 0.3rem;
 background-color: #ff764d;
}

.mobile-nav {
  width: 30rem;
  height: 100vh;
  max-width: 90%;
  position: fixed;
  left: 0;
  top: 0;
  background: white;
  z-index: 10;
  padding: 2rem 1rem 1rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.mobile-nav__item {
  margin: 1rem;
  padding: 0;
}

.mobile-nav__item a,
.mobile-nav__item button {
  font: inherit;
  text-decoration: none;
  color: black;
  font-size: 1rem;
  padding: 0.5rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav__item a:active,
.mobile-nav__item a:hover,
.mobile-nav__item a.active,
.mobile-nav__item button:hover,
.mobile-nav__item button:active {
  background: #ff764d;
  color: white;
  border-radius: 3px;
}

#side-menu-toggle {
  border: 1px solid white;
  font: inherit;
  padding: 0.5rem;
  display: block;
  background: transparent;
  color: white;
  cursor: pointer;
}

#side-menu-toggle:focus {
  outline: none;
}

#side-menu-toggle:active,
#side-menu-toggle:hover {
  color: #ffeb3b;
  border-color: #ffeb3b;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
  display: none;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
}

.card__header,
.card__content {
  padding: 1rem;
}

.card__header h1,
.card__content h1,
.card__content h2,
.card__content p {
  margin: 0;
}

.card__image {
  width: 100%;
  text-align: center;
}

.card__image img {
  width: 50%;
}

.card__actions {
  padding: 1rem;
  text-align: center;
}

.card__actions button,
.card__actions a {
  margin: 0 0.25rem;
}

.btn {
  display: inline-block;
  padding: 0.25rem 1rem;
  text-decoration: none;
  font: inherit;
  border: 1px solid #ff764d;
  color: #ff764d;
  background: white;
  border-radius: 3px;
  cursor: pointer;
}

.btn:hover,
.btn:active {
  background-color: #ff764d;
  color: white;
}

.btn.danger {
  color: red;
  border-color: red;
}

.btn.danger:hover,
.btn.danger:active {
  background: red;
  color: white;
}


@media (min-width: 768px) {
  .main-header__nav {
    display: flex;
  }

  #side-menu-toggle {
    display: none;
  }

 
}

.button-div {
    display: flex !important;
    justify-content: space-between;
    padding: 0.375rem 0.75rem;
}
.form-main{
    flex-direction: row;
}
.pagination {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;   
    padding-bottom: 2rem;
}
.pagination a {
    text-decoration: none;
    color:#ff764d;
    padding: 0.5rem;
    border: 1px solid #ff764d;
    margin: 0 1rem;
}
.pagination a:hover, .pagination a:active, .pagination a.active{
    background: #ff764d;
    color: white;
}
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #5a5a5a;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: #ff764d !Important;
    border: solid 1px #ff764d !Important;
}

.pagination > .active > a:hover
{
    background-color: #ff764d !Important;
    border: solid 1px #ff764d;
}

@media (max-width: 768px) {
    .form-main{
        flex-direction: column !important;
    }
#index-img {
    max-width: 20rem;
}
.index-container
{
    height: 90%;
}

html,body,main {
    height: 90%;
}
}



/* CSS */
.button-56 {
  align-items: center;
  background-color: #ff764d;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 16px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: 2rem 2rem;
}

.button-56:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}

.button-56:hover:after {
  transform: translate(0, 0);
}

.button-56:active {
  background-color: #ffdeda;
  outline: 0;
}

.button-56:hover {
  outline: 0;
}

.index-container a:hover{
    color: black;
}

@media (min-width: 768px) {
  .button-56 {
    padding: 0 40px;
  }
}

.alert-warning {
    color: black !important;
    background: white !important;
    border: 1px solid black !important;
    border-radius: 0.375rem;
    font-size: 0.8rem;
}

.mailto {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;   
    background: black;
    padding: 0.8rem;
    border-radius: 50%;
}
.mailto:hover {  
    background: white;
    border: 2px solid black
}

.mailto:hover .bi-envelope-at {  
    fill: black;
}




.btn-orange {
    color: rgb(255, 255, 255) !important;
    background-color: #ff764d !important;
    border-color: #ff764d !important;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 0;
  }
  
  .btn-orange:hover,
  .btn-orange:focus,
  .btn-orange.active {
    /* let's darken #ff764d a bit for hover effect */
    background: #e2643e !important;
    color: #000000;
    border-color: #e2643e !important;
  }

  #emailModal .modal-header {
    justify-content: center !important;
  }
