.request_consultation {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 998;
  transform: translateY(-50%) rotate(90deg);
  /* -webkit-transform: translateY(-50%) rotate(90deg); */
  -o-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  transform-origin: 100% 0%;
  padding: 10px 20px;
  text-shadow: none;
  font-weight: bold;
  -webkit-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  -webkit-transition: color 300ms ease-out;
  -moz-transition: color 300ms ease-out;
  -ms-transition: color 300ms ease-out;
  -o-transition: color 300ms ease-out;
  transition: color 300ms ease-out;
  cursor: pointer;
  color: #088D60;
  background: #fff;
}


a{
  text-decoration: none;
}

@media screen and (max-width:767px) {


  .navbar-brand {
    /* margin-bottom: 20px; */
  }

  .request_consultation {
    /* top: 10%; */
    background-color: #FF7E00;
    color: #fff !important;
    width: 100%;
    top: 0;
    text-align: center;
    right: 50%;
    transform: rotateX(0deg) translateX(50%);
    /* left: 0; */
  }
}

.request_consultation:hover {
  background: #088D60;
  color: #fff;
  text-decoration: none;
}

.contact-form {
  background: var(--white-color);
  height: 100%;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 50px 40px;
  width: 450px;
  position: fixed;
  right: -500px;
  top: 0;
  overflow-y: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10000000;
}

.sidebar-open .contact-form {
  right: 0 !important;
}

.contact-form .title {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-color) !important;
  text-align: left;
}

.contact-form p {
  display: block;
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

#slide_panel_form .form-group {
  margin-bottom: 4px;
}

#slide_panel_form .form-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  /* color: #ff0000; */
  color:var(--primary-color);
}
#slide_panel_form .form-label span{
  color: #ff0000;
}
.form-label .muted {
    font-weight: 400;
    color: #888 !important;
    font-size: 12px;
}
#slide_panel_form .form-control {
  background: var(--secondary-color);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 15px;
  height: auto;
  font-size: 15px;
  transition: all 0.3s;
}

#slide_panel_form .form-control:focus {
  border-color: var(--accent-color);
  background: #fff;
  box-shadow: none;
}

#slide_panel_form .btn-default {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
}

.contact-form .close {
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 35px;
  height: 35px;
  line-height: 35px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  border-radius: 50%;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .close:hover {
  background: var(--primary-color);
  color: #fff;
  transform: rotate(90deg);
}

.contact-form .close span {
  font-size: 24px;
}

.sliding-form-holder .panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999999;
}

.sidebar-open .panel-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media screen and (max-width: 767px) {
  .contact-form {
    width: 100%;
    padding: 40px 20px;
  }
  .request_consultation {
    display: none !important;
  }
}


.sidebar-open {
  overflow: hidden;
}
.sidebar-open .sliding-form-holder {
  display: block;
  pointer-events: auto;
}
/* .sidebar-open .request_consultation {
  display: none;
} */
.sidebar-open .form-toggle {
  right: 0px !important;
}
.sidebar-open .panel-overlay {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 414px) {
  .contact-form {
    width: 100%;
  }
}
