@font-face {
  font-family: "Jura-Semi-Bold";
  src: url("../fonts/JuraSemiBold.ttf"); }

@font-face {
  font-family: "MyriadPro-Regular";
  src: url("../fonts/MyriadPro-Regular.ttf"); }


.telButton .telButton_border {
	border-color: #9bdecf;
}

.telButton .telButton_background {
	background: #9bdecf;
}

.telButton {
	display: none;
	z-index: 90;
	width: 60px;
	height: 60px;
    margin-top: -30px;
}
@media only screen and (max-width: 900px)  {
	.telButton { display: block; }
}
.telButton:hover {
	opacity: 1;
}


.telButton .telButton_background  {
	background-position: center center;
	background-size: 100% 100%;
	z-index:90;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	position: absolute;	
	animation-name:pulse;
	animation-duration:5s;
	animation-iteration-count:infinite;
	
}

@keyframes pulse {
    0% { width: 60px; height: 60px; top: 0px; left: 0px; }
    5% { width: 66px; height: 66px; top: -3px; left: -3px; }
    10% { width: 60px; height: 60px; top: 0px; left: 0px; }
    15% { width: 66px; height: 66px; top: -3px; left: -3px; }
    20% { width: 60px; height: 60px; top: 0px; left: 0px; }
    25% { width: 66px; height: 66px; top: -3px; left: -3px; }
    30% { width: 60px; height: 60px; top: 0px; left: 0px; }
    59% { transform: rotate(0deg); }
    60% { transform: rotate(10deg); }
    65% { transform: rotate(-10deg); }
    70% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
    85% { transform: rotate(-10deg); }
    90% { transform: rotate(0deg); }
    100% { width: 60px; height: 60px; top: 0px; left: 0px; }
}
.telButton .telButton_background:hover {
	
	background-color: #5b6e7e;
	cursor:pointer;
	opacity: 1;
	
}

.telButton .telButton_border {
	position: absolute;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border-style: solid;
	border-width: 3px;
	left: 0;
	top: 0;
    opacity: 0.4;
	margin-left: 3px;
    margin-top: 3px;
	animation-name:shadow;
	animation-duration:1.5s;
	animation-iteration-count:infinite;
	animation-timing-function:ease-out;
}


@keyframes shadow {
    0% {top: 0px; left: 0px; width: 56px; height: 56px;}
    100% {top: -22px; left: -22px; width: 96px; height: 96px;}
}

.telButton_hover {
	width: 170px;
	border: 3px solid #9bdecf;
	background-color: #9bdecf;
	border-radius: 15px;
	padding: 10px;
	margin-left: -145px;
	margin-top: 9px;
    font-family: Jura-Semi-Bold, sans-serif;
	font-size: 14px;
	color: #000;
	opacity: 0;
	z-index: 90;
}




.page-template-services .window_wrap { display: none; }
.page-template-contact .window_wrap { display: none; }

.window_wrap {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 162px;
    text-align: center;
    z-index: 5005;
}
.window_wrap:after{
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
    content: '';
}

.window {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    vertical-align: middle;
    background: #5b6e7e none repeat scroll 0 0;
    height: 162px;
}


#telButton {
    background: #5b6e7e none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    height: 37px;
    transition: all 0.6s ease 0s;
    width: 100%;
}
#telForm {
    background: #fafafa none repeat scroll 0 0;
    height: 35px;
    text-align: center;
    width: 100%;
}
.window_close {
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    cursor: pointer;
}

.telButton .telButton_background img { 
    position: relative;
    width: 75%;
    height: 75%;
    top: 6px;
    left: 9px;
}
.window h4 {
    color: #fff;
    font-family: Jura-Semi-Bold, sans-serif;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    margin-top: 16px;
}

.window form {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px; 
}

.window form p {
    display: inline-block;    
    position: relative;
    margin: 0 12px;
}
.window form p span input {
    position: relative;
    width: 222px;
    height: 50px;
    font-family: "MyriadPro-Regular";
    font-style: italic;
    padding-left: 10px;
    font-size: 14px;
    top: 12px;
}
/**.page-template-contact .window form p span input { top: 0; }**/

.window form p input[type="submit"]  {
    display: block;
    position: relative;
    height: 50px;
    width: 222px;
    top: 12px;
    border: 2px solid #9bdecf;
    background: #292929; 
    color: #9bdecf;
    font-family: "Jura-Semi-Bold", sans-serif;
    font-size: 24px;
    border: none;
    vertical-align: middle;
    cursor: pointer;
    z-index: 5;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
}
.window form p input[type="submit"]:focus {
    outline: none;
}
.window form p input[type="submit"]::before {
    border: 2px solid #9bdecf;
    -webkit-transform: scale3d(0.7, 0.7, 1);
    transform: scale3d(0.7, 0.7, 1);
    content: '';
    border-radius: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s, background-color 0.3s;
    transition: transform 0.3s, background-color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
    background: transparent; }

.window form p input[type="submit"]::after {
    border-color: #9bdecf;
    content: '';
    border-radius: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s, background-color 0.3s;
    transition: transform 0.3s, background-color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
    background: #292929;
}
.window form p input[type="submit"]:hover{
    color: #292929;
    background-color: #9bdecf;
}
.window form p input[type="submit"]:hover::before {
          -webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1); }
.window form p input[type="submit"]:hover::after {
          -webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1); 
background-color: #9bdecf;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok { position: relative; }	



@media only screen and (max-width: 850px)  { 
    .window_wrap { position: absolute; bottom: -3px; }
}


@media only screen and (max-width: 600px) {
    .window_wrap {   
      display: none;   
      position: fixed;  
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto;
      height: 100%;
      width: 100%;
      background: rgba(0,0,0,.7);
    }
    .window {
      display: inline-block;
      position: absolute;  
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto;
      height: 200px;
    }
}


@media only screen and (max-width: 500px)  {
    .window { height: 200px; }
    .window form { flex-direction: column; margin-top: 0;  }
    .window form p { margin: 0 auto; padding: 7px 0; }
    .window form p span input { top: 0; }
    .window form p input[type="submit"] { top: 0; }
    /**.page-template-services .window_wrap { position: relative; bottom: -34px; }**/
}

@media only screen (max-width: : 480px) {
   /**.page-template-services .window_wrap { position: relative; bottom: -50px; }**/
}


@media only screen and (max-width: 1900px) and (max-height: 768px) {
    .window_wrap { height: 170px; }
    .window { height: 140px; }
} 

@media only screen and (max-width: 496px) and (max-height: 600px) {
    .window { height: 200px; bottom: 0px; }
    .window form p span input { top: 0; }
}

