.sidebar-form{
  position:fixed;
  top:0;
  right:-420px;
  /* transform:translateY(-50%); */
  width:420px;
  height:100%;
  background:#fff;
  box-shadow: 0 0px 18px rgba(0,0,0,.2);
  box-sizing:border-box;
  transition:0.5s;
  z-index: 15;
}
.sidebar-form.active{
  right:0;
}
.sidebar-form input,
.sidebar-form textarea{
  width:100%;
  height: 45px;
  /* margin-bottom: 0px; */
  box-sizing:border-box;
  outline:none;
  border-radius: 6px;
}
.sidebar-form h2 {
  margin: 0;
  padding: 40px 30px;
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
}
.sidebar-form h2 span {
    color: var(--secondary-color);
}
.sidebar-form textarea{
  height: 75px;
}
.sidebar-form input[type="submit"]{
  background: var(--primary-color);
  color:#fff;
  cursor:pointer;
  border:none;
  font-size: 16px;
  text-transform: uppercase;
  /* font-family: var(--myriadpro-bold); */
}
.toggle-sidebar{
  position:absolute;
  height: 205px;
  width:48px;
  text-align:center;
  cursor:pointer;
  background: var(--primary-color);
  top: 50%;
  margin-top: -80px;
  left:-48px;
  line-height:48px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0 10px 10px 0;
}
.toggle-sidebar:before{
  content:'حاسبة التكاليف';
  font-size: 15px;
  color:#fff;
  /* writing-mode: vertical-rl; */
  /* text-orientation: mixed; */
  /* transform: rotate(303deg); */
  font-weight: 700;
  letter-spacing: .5px;
}
.sidebar-form.active .toggle-sidebar {
    top: 6px;
    left: 6px;
    transform: translateY(0);
    width: 35px;
    height: 35px;
    line-height: 34px;
    margin-top: 0;
    border-radius: 0;
}
.sidebar-form.active .toggle-sidebar:hover::before {
  border-radius: 5px;
  background-color: var(--secondary-color); 
  color: #000;
}
.toggle-sidebar.active:before{
  content:'\f00d';
  font-family: fontAwesome;
  font-size: 18px;
  transition: all ease-in-out 300ms;
  font-weight: 100;
}
@media(max-width:480px)
{
  .toggle-sidebar { height: 122px;}
  .sidebar-form{
    width:100%;
    /* height:100%; */
    right:-100%;
  }
  .sidebar-form .toggle-sidebar{
    top:50%;
    transform: rotate(180deg);
    transition:0.5s;
  }
  .sidebar-form.active .toggle-sidebar
  {
    top:0;
    left:0;
    transform:translateY(0);
    width: 35px;
    height: 35px;
    line-height: 34px;
    margin-top: 0;
    border-radius: 0;
  }
  .scroll{
    width:100%;
    height:100%;
    overflow-y:auto;
  }
  .content{
    padding:50px 50px;
  }
  .toggle-sidebar { width: 35px; left: -35px; line-height: 34px;height: 155px;}
  .toggle-sidebar:before { font-size: 12px;}
}