
.sidebar-contact{
    position:fixed;
    top:50%;
    left:-350px;
    transform:translateY(-50%);
    width:350px;
    height:auto;
    padding:40px;
    background:#fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    box-sizing:border-box;
    transition:0.5s;
    z-index:100;
  }
  .sidebar-contact.active{
    left:0;
  }
  .sidebar-contact input,
  .sidebar-contact textarea{
    width:100%;
    height:36px;
    padding:5px;
    margin-bottom:10px;
    box-sizing:border-box;
    border:1px solid rgba(0,0,0,.5);
    outline:none;
  }
  .sidebar-contact h2{
    margin:0 0 20px;
    padding:0;
  }
  .sidebar-contact textarea{
    height:60px;
    resize:none;
  }
  .sidebar-contact input[type="submit"]{
    background:var(--main-color);
    color:#fff;
    cursor:pointer;
    border:none;
    font-size:18px;
  }
  .toggle{
    position:absolute;
    height:150px;
    width:48px;
    text-align:center;
    cursor:pointer;
    background:rgb(0 99 187);
    top:0;
    right:-48px;
    line-height:48px;
  }
  .toggle span{
    transform-origin: 0;
    transform: rotate(-90deg);
    width: 150px;
    position: absolute;
    top: 126px;
    left: 24px;
    color: white;
    font-weight: 600;
  }
  /* .toggle:before{
    content:'\f003';
    font-family:fontAwesome;
    font-size:18px;
    color:#fff;
  }
  .toggle.active:before{
    content:'\f00d';
  } */
  @media(max-width:768px)
  {
    .sidebar-contact{
      width:100%;
      height:100%;
      left:-100%;
    }
    .sidebar-contact .toggle{
      top:50%;
      transform:translateY(-50%);
      transition:0.5s;
    }
    .sidebar-contact.active .toggle
    {
      top:0;
      right:0;
      transform:translateY(0);
    }
    .scroll{
      width:100%;
      height:100%;
      overflow-y:auto;
    }
    .content{
      padding:50px 50px;
    }
  }