@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --white: #afafaf;
  --red: #e31b23;
  --bodyColor: #444;
  --borderFormEls: hsl(0, 0%, 50%);
  --bgFormEls: hsl(0, 0%, 14%);
  --bgFormElsFocus: hsl(0, 50%, 45%);
}

a {
  color: inherit;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 100%;
}


select {
  appearance: none;
}

/* Remove native arrow on IE */
select::-ms-expand {
  display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/
select:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 var(--white);
}

textarea {
  resize: none;
}


.form-contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* FORM ELEMENTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.frm_contact h1 {
  margin-bottom: 1.5rem;
}

.form-group select,
.form-group input,
.form-group textarea,
.form-group button {
  width: 100%;
  line-height: 1.5;
  font-family: Poppins !important;
  padding: 15px 10px;
  border: 1px solid var(--borderFormEls);
  color: var(--white);
  background: var(--bgFormEls);
  transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
    transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.form-group textarea {
  height: 170px;
}

.form-group ::placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group button:enabled:hover,
.form-group button:focus,
.form-group input[type="checkbox"]:focus + label {
  background: var(--bgFormElsFocus);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  transform: scale(1.02);
}

.form-group *:required,
.form-group select {
  background-repeat: no-repeat;
  background-position: center right 12px;
  background-size: 15px 15px;
}

.form-group *:required {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg");  
}

.form-group select {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/down.svg");
}

.frm_contact *:disabled {
  cursor: default;
  filter: blur(2px);
}



/***********************
    - Form Wrapper -
***********************/

.ajax-contact-form {
	clear:both;
	position:relative;
	max-width:720px;
	margin:50px auto;
	padding:0 10px;
}

.ajax-contact-form > .container {
	background-color:#fff;
	border:1px solid #bbb;
	-webkit-border-radius:6px; 
	   -moz-border-radius:6px; 
			border-radius:6px;
}

/********************
    - Preloader -
********************/
.preloader {
	display:inline-block;
	vertical-align:middle;
	padding-left:8px;	
}

.preloader-form {
	display:inline-block;
	vertical-align:middle;
	margin-left:50px;	
}

/******************
    - Captcha -
******************/

.captcha {
	clear:both;
	display:inline-block;
	border:1px solid #eb1d3c;
	padding:10px;
        height: auto;
        width: 40%;
	background-color:#fff;
	-webkit-border-radius:3px;
	   -moz-border-radius:3px;
			border-radius:3px;
}

.captcha img {
	display:block;
	float:left;
}

.captcha img.captcha-img {
	border:1px solid #ccc;
        height: 50px;
        width: 160px;
	-webkit-border-radius:3px;
	   -moz-border-radius:3px;
			border-radius:3px;
}

.captcha i.change-captcha img{
	cursor:pointer;
	margin-top:40px;
	margin-left:15px;
        width: 17%;
        height: auto;
        -webkit-box-shadow: 0px 0px 0px #fff;
        -moz-box-shadow: 0px 0px 0px #fff;
          -webkit-transition: 1s linear;
        transition: 1s linear;
}

.captcha > i.change-captcha img:hover { 
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.8)); 
}
.captcha > i.change-captcha img:active{
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

input.captcha[type=text] {
	width:160px;
        height: 50px;
        padding: 8px;
}


/************************
    - Notifications -
************************/
.notifications {
	/*display:none;*/
	position:relative;
	clear:both; 
	margin:0 auto 15px; 
	width:100%;
	padding:15px;
	min-height:20px;
	-webkit-border-radius:3px;
	   -moz-border-radius:3px;
			border-radius:3px;
}

.notifications .inner {
	clear:both;
	display:block;
	text-align:center;
	font-size:16px;
	line-height:24px;
	color:#fff;
}

.notifications ul {
	margin-left:2em !important;
}

.notifications p.error-message {
	font-weight:bold;
	margin-bottom:10px !important;
}

/* Notification close button */
.notifications .close {
	position:absolute;
	display:block;
	right:15px;
    top:50%;
	margin-top:-5px;
	width:9px;
    height:9px;
	opacity:0.7;
	text-indent:-9000px;
	background:url("../img/notific/notifications-close.png") no-repeat;
	-webkit-transition:all .3s;
	   -moz-transition:all .3s;
			transition:all .3s;
}

.notifications .close:hover {
    opacity:1;
}

/* Success notifications box */
.notifications.success {
	background-color:#e11a02;
}

/* Failure notifications box */
.notifications.fail {
	background-color:#e31b23;
}

/*********************
    - Responsive -
*********************/
@media only screen and (min-width:0px) and (max-width:767px) {
	form label {
		clear:both;
		width:100%;
		margin-bottom:6px;	
	}
	
	form .inputs {
		clear:both;
		width:100%;
	}
	
	.form-submit {
		margin:0;	
	}
}

@media only screen and (min-width:480px) and (max-width:767px) {
	.ajax-contact-form {
		margin:30px auto;		
	}
	
	.ajax-contact-form .form .title {
		font-size:20px;
		padding:15px;	
	}
	
	form label {
		font-size:13px;
		line-height:18px;	
	}
}

@media only screen and (min-width:0px) and (max-width:479px) {
	.ajax-contact-form {
		margin:15px auto;		
	}
	
	.ajax-contact-form .form .title {
		font-size:16px;
		padding:10px;	
	}
	
	form label {
		font-size:12px;
		line-height:16px;	
	}
	
	input.aweform[type=text], select.aweform {
		width:100%;	
	}
}

/*****************
    - Button -
*****************/

.form-submit {
	clear:both; 
	margin-left:160px;
}

.form-submit:after {
	content:"."; 
	visibility:hidden;
	display:block; 
	clear:both; 
	height:0; 
	font-size:0;
}

button, input[type="submit"] {
	color:#fff;
	cursor:pointer;
	display:inline-block;
	font:14px/18px "Helvetica Neue", Helvetica, Arial, Sans-Serif;
	font-weight:bold;
	border:none;	
	margin:0;
	padding:7px 15px;
	text-align:center;
	background-color:#7cb63a;
	-webkit-border-radius:3px;
	   -moz-border-radius:3px;
			border-radius:3px;
	-webkit-box-shadow:0px -1px 0px rgba(0,0,0,.08) inset;
	   -moz-box-shadow:0px -1px 0px rgba(0,0,0,.08) inset;
			box-shadow:0px -1px 0px rgba(0,0,0,.08) inset;
	-webkit-transition:all .3s;
	   -moz-transition:all .3s;
			transition:all .3s;
}

button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
	background-color:#528c00;
	text-decoration:none;
}

button[disabled], input[type="submit"][disabled] {
	background-color:#bbb; 
	color:#dfdfdf; 
	cursor:not-allowed; 
	-webkit-box-shadow:none; 
	   -moz-box-shadow:none; 
			box-shadow:none;
}

button > i {
	color:#fff;
    margin-right:4px;	
}

/**********************************************************************************/
/*
#h__contact .left h5.anim,
#h__contact .left span.anim,
#h__contact .left a.redirect{
    font-family: Poppins !important;
    font-weight:300 !important;
    font-size:13px !important;
    text-transform:uppercase;
}

 @media screen and (max-width: 60em){
     .js body{overflow-y:visible}
     .content{
         flex-direction:column;
         height:auto;
         padding-bottom:10em
     }
     .content--fixed{
         position:relative;
         z-index:1000;
         display:block;
         padding:0.85em
     }
 }
.content{
    padding:0
}

#h__contact .content{
    display:flex;
    align-items:flex-start;
    justify-content:space-between
}

#h__contact .content .left a{
    display:table;
    color:#000
}
#h__contact .content .left h5{
    font-weight:330;
}
#h__contact .content .left span{
    display:table
}
#h__contact .content .right .success{
    color:#000
}
#h__contact .content .right .field label{
    display:table;
    color:#7f7f7f;
}
#h__contact .content .right .field input,
#h__contact .content .right .field select,
#h__contact .content .right .field textarea{
    background:#e5e5e5;
    color:#7f7f7f;
    border:2px solid transparent
}
#h__contact .content .right .field input.error,
#h__contact .content .right .field select.error,
#h__contact .content .right .field textarea.error{
    border-color:#eb1d3c;
}
#h__contact .content .right .field textarea{
    resize:none
}

@media screen and (max-width: 991px){
    #h__contact{
        margin:0;
        padding:767px 0 80px
    }
    #h__contact .content{
        max-width:calc(100% - 80px);
        flex-wrap:wrap
    }
    #h__contact .content .right{
        max-width:550px;
        margin:60px 0 0
    }
}

@media screen and (max-width: 540px){
    #h__contact{
        padding:427px 0 80px
    }
    #h__contact .content{
        max-width:calc(100% - 40px)
    }
}
*/