/** Contact float **/
#contact-side-btn {
    -webkit-transform: rotate(-90deg) translateX(50%);
    -ms-transform: rotate(-90deg) translateX(50%);
    transform: rotate(-90deg) translateX(50%);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    position: fixed; 
    right: 0px;   
    cursor: pointer;
    border: 0;
    color: #fff !important;
    margin-top: -50px;
    z-index: 10000;
    width: 160px;
    height: 40px;
    background: #228B22;
    line-height: 42px;
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-decoration: none;
	letter-spacing: 1.0px;
}
@media screen and (min-width: 1025px) {
	#contact-side-btn {
	    top: 190px !important;
/* 		width: 106px !important;
		height: 30px !important;
		line-height: 32px !important; */
	}
}
@media screen and (max-width: 1024px) {
	#contact-side-btn {
	    top: 175px !important;
		width: 96px !important;
		height: 23px !important;
		line-height: 23px !important;
	}
}

#contact-form {
  position: fixed;
  z-index: 99999999;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  padding: 0 20px;
  box-sizing: border-box;
}

#contact-form-inside {
  max-width: 680px;
  background: #fff;
 -webkit-animation-name: tinRightIn;
  animation-name: tinRightIn;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  margin: 0px auto;
  padding: 30px;
  position: relative;
  border-radius: 5px;
}

#contact-form-inside .close-modal {
    position: absolute;
    top: 12px;
    right: -4px;
    color: #222;
    font-weight: 800;
    font-size: 17px;
}

#contact-form-inside .close-modal span {
    padding: 20px;
    text-align: right;
    vertical-align: top;
}

.contact-modal {
overflow-x: hidden; 
overflow-y: hidden;
}

.contact-modal #main,
.contact-modal #main-slideshow,
.contact-modal .masthead {
filter: blur(4px); 
-webkit-filter: blur(4px);
}

.contact-modal #contact-overlay {
 width: 100%;
 height: 100%;
 z-index: 1000;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 position: fixed;
 background: rgba(0,0,0,0.4);
}

#contact-overlay,
#contact-form {
 display: none;
}

.contact-modal #contact-overlay,
.contact-modal #contact-form {
 display: block;
}

@-webkit-keyframes tinRightIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1, 1) translateX(900%);
  }

  50%, 87% {
    opacity: 1;
    -webkit-transform: scale(1.1, 1.1) translateX(0);
  }

  64%, 100% {
    opacity: 1;
    -webkit-transform: scale(1, 1) translateX(0);
  }
}
@keyframes tinRightIn {
  0% {
    opacity: 0;
    transform: scale(1, 1) translateX(900%);
  }

  50%, 87% {
    opacity: 1;
    transform: scale(1.1, 1.1) translateX(0);
  }

  64%, 100% {
    opacity: 1;
    transform: scale(1, 1) translateX(0);
  }
}