@charset "utf-8";

/*-- Contact Form 03
----------------------------------------------------------------------*/
#homeForm {
    position: relative;
}
textarea.form-control {
    resize: none;
    height: calc(2.875rem + 2px);
    transition: all ease 0.3s;
	overflow: hidden;
}
textarea.form-control:focus {
    height: calc(8.875rem + 2px);
}
.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.875rem + 2px);
    margin: 0;
    opacity: 0;
}
.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.875rem + 2px);
    padding: 0.5rem 1rem;
    line-height: 1.5;
    color: #3d3d3d;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 2.875rem;
    padding: 0.5rem 1rem;
    line-height: 1.5;
    color: #3d3d3d;
    content: "Browse";
    background-color: #e9ecef;
    border-left: 1px solid #ced4da;
    border-radius: 0 0.25rem 0.25rem 0;
}

/*--- Form Defaults ---*/
.error_message {
	display: block;
	line-height: 22px;
	background: #FBE3E4 url('../plugins/envato-ajax-contact-extend/assets/img/error.gif') no-repeat 10px 6px;
	padding: 3px 10px 3px 35px;
	color: #8a1f11;
	border: 1px solid #FBC2C4;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
ul.error_messages {
	margin: 0 0 0 15px;
	padding: 0;
}
ul.error_messages li {
	line-height: 22px;
	color: #333;
}
.loader {
	padding: 10px;
	width: 100%;
	float: left;
	position: absolute;
}
.loader2 {
	font-size: 25px;
}

/*---floating lables css---*/
 .has-float-label .form-control:placeholder-shown:not(:focus)+* {
    font-size: 130%;
    opacity: 0.9;
    top: .85em;
	left: 1rem;
}
 .has-float-label label, 
 .has-float-label > span {
    position: absolute;
    cursor: text;
    font-size: 90%;
    opacity: 1;
    top: -0.5em;
    left: 1rem;
    z-index: 3;
    line-height: 1;
    transition: all 0.2s ease 0s;
    padding: 0px 1px;
}
 .has-float-label label::after, 
 .has-float-label>span::after {
    content: " ";
    display: block;
    position: absolute;
    background: #fff;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

/*---labels and placeholders---*/
 label,
 .contactform-2 label {
	color: #3d3d3d;
	margin-bottom:0;
}
 label div {
	font-weight: normal;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
 .form-control::-moz-placeholder {
  color: #3d3d3d;
}
 .form-control:-ms-input-placeholder {
  color: #3d3d3d;
}
 .form-control::-webkit-input-placeholder {
  color: #3d3d3d;
}
 select.form-control {
	color: #3d3d3d;
}

 .form-control {
	border-radius: 0;
}
 textarea {
   resize: none;
}
 .valid-contact {
	padding-left: 10px;
	padding-right: 10px;
}
 .errors {
	font-size: 16px;
	font-size: 1rem;
	color: #3d3d3d;
	margin-bottom: 1rem;
}

/*--- Buttons ---*/
 .btn {
	border-radius: 0;
}
.btn-quick,
.btn-sub {
	color: #fff;
    background-color: var(--main);
    border-color: var(--main);
}
 .btn-quick:hover,
 .btn-quick:focus 
 .btn-sub:hover,
 .btn-sub:focus {
	background-color: #4b4b4b;
	border-color: #4b4b4b;
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* Webfrog extra devices (large desktops, 1600px and up) */
@media (min-width: 1600px) {

}