.contact-box {
  border-radius: 10px;
  width: 2.7rem;
  height: 2.7rem;
  background: #1585f8;
  box-shadow: 0 2px 22px rgba(0, 0, 0, 0.16);
  
  position: fixed;
	bottom: 50px;
	left: 20px;
	z-index: 1101;
	text-align: center;
	cursor:pointer;
	overflow:hidden;
}
.contact-box span{
	color:#fff;
  font-size:  1.8rem;
  line-height: 2.7rem;
}

.mdi-email-custom::before{
	content: "\F01EE";
	transition: all linear 0.2s;
}

.contact-box:hover {
  background: #6c6e71 !important;
  cursor:pointer;
  transition: all 0.2s linear;
}

.contact-box.contact-animate:hover {
  background: #fff !important;
}

.contact-box:hover .mdi-email-custom::before{
	content: "\F0FB1";
}

.contact-animate{
	/*width: 765px;
  height: 73.5vh;*/
  /*transition: all linear 1.5s;*/
  /*background: #fff !important;*/
	animation: anime 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	overflow: hidden;
	display:flex;
}

.contact-disanimate{
	width: 765px;
  height: 73.5vh;
  background: #1585f8 ;
  /*transition: background 0.1s linear 1s;
  transition: all linear 1.5s;*/
	animation: disanime 1s cubic-bezier(0.3, 1, 0.16, 1) forwards;
	overflow: hidden;
}


.hidden-contact{
	width: 40px;
	height: 40px;
	opacity:0;
	animation: disanimate-form 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.show-contact{
	opacity:0;
	animation: animate-form 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.show-contact{
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
}

.contact-animate .mdi-email-custom{
	display:none !important;
}

.contact-animate .mdi-window-close{
	color: #c2193e;
	position: absolute;
  top: 0.5rem;
  right: 1rem;
  transform: rotate(0deg) !important;
  transition: 0.3s linear transform !important;
}

.contact-animate .mdi-window-close:hover{
	transform: rotate(180deg) !important;
  transition: 0.3s linear transform !important;
  cursor: pointer !important;
}
 
@media only screen and (max-width: 991px) {
  .contact-box {
    bottom: 75px;
  }
}

@media (min-width: 768px) {
	
	@keyframes anime {
  	0% {
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    25% {
      width: 2.7rem;
      height: 75vh;
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    100% {
      width: 740px;
      height: 75vh;
      background: #fff;
      overflow-y: auto;
    }
  }
  @keyframes disanime {
  	0% {
    	background: #fff;
    	pointer-events: none; 
    }
    50% {
      width: 2.7rem;
      height: 75vh;
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    100% {
      width: 2.7rem;
      height: 2.7rem;
      background: #1585f8;
      overflow-y: hidden;
    }
  }
  @keyframes animate-form {
  	0% {
      opacity:0;
    }
    25% {
      width: 2.7rem;
      height: calc(75vh-4rem);
      opacity:0;
    }
    100% {
      width: 693px;
      height: calc(75vh-4rem);
      background: #fff;
      opacity:1;
    }
  }
  @keyframes disanimate-form {
  	5%{
  		opacity:0;
  	}
    50% {
      width: 693px;
      height: calc(75vh-4rem);
      background: #fafafa;
      opacity:0;
    }
    100% {
      width: 2.7rem;
      height: 2.7rem;
      background: #fff;
      opacity:0;
    }
  }
}

@media (max-width: 767px) {
  
  @keyframes anime {
  	0% {
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    25% {
      width: 2.7rem;
      height: 95vh;
      bottom:1.5vh;
      left:0.5vw;
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    100% {
      width: 98vw;
      height: 95vh;
      bottom:1.5vh;
      left:0.5vw;
      right:0.5vw;
      background: #fff;
      overflow-y: auto;
    }
  }


  @keyframes disanime {
  	0% {
    	background: #fff;
    	pointer-events: none; 
    	width: 98vw;
      height: 95vh;
      bottom:1.5vh;
      left:0.5vw;
      right:0.5vw;
    	
    }
    50% {
      width: 2.7rem;
      height: 95vh;
      bottom:1.5vh;
      background: #1585f8;
      opacity:0.5;
      overflow: hidden;
      pointer-events: none; 
    }
    100% {
      width: 2.7rem;
      height: 2.7rem;
      background: #1585f8;
      overflow-y: hidden;
    }
  }

  @keyframes animate-form {
  	0% {
      opacity:0;
    }
    25% {
      width: 2.7rem;
      height: calc(95vh-4rem);
      opacity:0;
    }
    100% {
      width: calc(98vw-47px);
      height: calc(95vh-4rem);
      background: #fff;
      opacity:1;
    }
  }
  @keyframes disanimate-form {
  	5%{
  		opacity:0;
  	}
    50% {
      width: calc(98vw-47px);
      height: calc(95vh-4rem);
      background: #fafafa;
      opacity:0;
    }
    100% {
      width: 2.7rem;
      height: 2.7rem;
      background: #fff;
      opacity:0;
    }
  }
  .contact-us-form input{
  	line-height: 24px;
  	min-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
  	text-overflow: ellipsis;
  }
  .contact-us-form input, .contact-us-form textarea{
    font-size: 14px;
    padding: 0 1rem 0 1rem;
  }
  .contact-us-form .form-check.custom-consent{
    display:flex;
    align-items: center;
  }
  .contact-us-form .form-check-label{
  	margin-left: 0.5rem;
  	text-align: start;
  }
}