main img {
  max-height: 300px;
  object-fit: cover;
}
main .cover-img-home {
  max-height: 500px;
  object-fit: cover;
}
main .cover-img {
  max-height: 300px;
  object-fit: cover;
}
header {
  top: 0;
  position: fixed;
  z-index: 99;
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0.65) 0,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0,
    rgba(0, 0, 0, 0) 100%
  );
  height: 100px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
header img {
  height: 100px;
  max-width: 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
header.sticky {
  height: 70px;
}
header.sticky img {
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}
.btn-info {
  border-color: transparent;
}
.bg-main,
.btn-info {
  background-color: var(--main-bg-color);
}
section .row {
  counter-reset: my-sec-counter;
}
.card-body h2::before {
  color: var(--font-color);
  opacity: 0.3;
  font-size: 2em;
  padding-right: 10px;
  font-weight: 800;
  counter-increment: my-sec-counter;
  content: counter(my-sec-counter);
}
.card-body h3::before {
  color: #fff;
  opacity: 0.3;
  font-size: 2em;
  padding-right: 10px;
  font-weight: 800;
  counter-increment: my-sec-counter;
  content: counter(my-sec-counter);
}
figure {
  top: 70%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
}
main h1 {
  filter: drop-shadow(2px 4px 6px #000);
}
.card .carousel-item {
  height: 300px;
}
.card .carousel-caption {
  padding: 0;
  right: 0;
  left: 0;
  color: #3d3d3d;
}
.card .carousel-caption h3 {
  color: #3d3d3d;
}
.card .carousel-caption p {
  line-height: 30px;
}
#accordion .card-header[aria-expanded="true"]::after {
  font-family: FontAwesome;
  content: "\f068";
  float: right;
}
#accordion .card-header[aria-expanded="false"]::after {
  font-family: FontAwesome;
  content: "\f067";
  float: right;
}
.collapse-close.show + button {
  display: block !important;
  bottom: 75px;
  right: 55px;
}
form label {
  position: relative;
  top: 20px;
  left: 20px;
  background: #fff;
  font-weight: 700;
  color:var(--label-color);
}
form input {
  /* min-height: 60px; */
}
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }
  header .navbar-collapse {
    position: relative;
    top: 20px;
  }
  .navbar-light .navbar-toggler {
    border-color: #dc3545;
    background-color: #dc3545;
    font-size: 28px;
  }
  .navbar-toggler:focus,
  .navbar-toggler:hover {
    outline: 0;
    box-shadow: none;
    border: none;
  }
  header .navbar-light .navbar-nav .nav-link {
    text-align: center;
    border-radius: 0 !important;
    background-color: #505050;
  }
  .card .carousel-caption p {
    line-height: 18px;
  }
  nav div + a {
    position: absolute;
    right: 80px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  figure {
    width: 90%;
  }
  main img {
    min-height: 350px;
  }
  .navbar-brand {
    position: absolute;
    top: 0;
  }
  .navbar-brand img {
    height: 100px;
  }
  form label {
    top: 14px;
  }
}
@media (max-width: 767px) { 
    .collapse-close.show + button{
        bottom: 0px;
        width: 30px;
        height: 30px;
        top:60px ;
        right: 20px;
    }
}

@media (max-width: 360px) { 
  .navbar-brand img {
    height: 70px;
  }
}
#button {
  display: inline-block;
  background-color: rgba(123, 123, 123, 0.65) !important;
  width: 50px;
  height: 50px;
  text-align: center;
  /* border-radius: 4px; */
  position: fixed;
  bottom: 60px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 992px) {
	.sidebar-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
	}
	.make-me-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        padding: 0px 15px;
	}
}

.language-menu{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	list-style: none;
}

.language-flag{
	width: 16px !important;
	height: 16px !important;
}

.dropdown-menu.pull-right {
    right: 0;
    left: auto;
}

.dropdown-menu li{
	padding: .5rem 0;
}

.dropdown-menu > li a{
	padding: 10px 20px;
}
