/* import fontawesome */
@import '../fontawesome/css/all.min.css';
/* @import '../fontawesome/css/fontawesome.min.css'; */
/* @import '../fontawesome/css/regular.min.css'; */
/* @import '../fontawesome/css/solid.min.css'; */



/* common styles */

* {
	box-sizing: border-box;
}

body {
	/* margin: 0; */
	/* color: white; */
	/* background: rgba(255, 255, 255, 0.0); */
	/* background-color: #FFFFFF; */
	/* padding-top: 5px; */
	/* padding-bottom: 20px; */
}

/*body,*/
/*input,*/
textarea,
select,
.send {
	font-family: Arial, sans-serif;
	color: white;
	font-size: 14px;
}

.contactform {
	width: 600px;
	max-width: 100%;
	padding: 1.2rem;			
	margin-left:20px;
	padding-top: 8px;
	padding-bottom: 1px;
}



/* style => common rows/grid */

.contactform .row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.9rem;
	width: 100%;
}

.contactform .row .col-sm-4 {
	flex-grow:1;
	flex-basis: 0;
	margin: 0 .75rem;
	position: relative;
}
.contactform .row .col-sm-4:first-child {
	margin-left: 0;
}
.contactform .row .col-sm-4:last-child {
	margin-right: 0;
}

.contactform .row .col-sm-8 {
	width: 100%;
	position: relative;
}



/* style => common labels */

.contactform .row .control-label {
	position: absolute;
	/*margin-top: 0.14rem;*/
	height: 91.1%;
	padding: .63rem 1rem .5rem 1rem;
	color: grey;
	opacity: 0.7;
	
	width: 3rem;
	z-index: 2;
}



/* safari: margin-top => control, select & textarea label, padding-top for mailcopy, securitycode icon - start */




/* safari => margin-top for control, select & textarea label, padding-top for mailcopy, securitycode icon - end */




/* Regular icons => padding left for safari and other browsers */

#user-icon-position-2{
     padding-left: 1.5px;    
}

#email-icon-position-2{
     padding-left: 0.5px; 
}

#message-icon{
     padding-left: 0px; 
}




/* style => common fields */
.contactform .row input,
.contactform .row textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.contactform .row .field {
	display: block;	
	font-size: 14px;
	width: 100%;
	padding: .74rem .8rem .45rem 3.8rem;
	color: #555;
	
	border: 1px solid #CCC;
	border-radius: .25rem;
	
	-moz-border-radius: .25rem;
	-webkit-border-radius: .25rem;
	border-top: 1px solid #BDBDBD;
	border-left: 1px solid #BDBDBD;
	border-right: 1px solid #BDBDBD;
	border-bottom: 1px solid #BDBDBD; 
	box-shadow: 0 0 1px rgba(0,0,0, .4);
	
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.contactform .row .field:focus {
	border-color: #66afe9 !important;
	outline: 0 !important;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0.5rem rgba(102, 175, 233, 0.6) !important;
}



/* style => active => inactive label */



/* style => textarea */

.contactform .row .textarea-label{
	margin-top:0.25rem;
	height: 97.1%;
	padding: 0.6rem 1rem 5.1rem 1rem;  									
}



.contactform .row textarea {
	 height: 1.7rem;
				
}


/* style => selectbox */



/* style => input, select and textarea with border-right.png - start */

#border-right {
		background-image: url('../img/border-right.png');
	background-position: 2.85rem center;
	-webkit-text-size-adjust:none; 
	background-repeat: no-repeat;
				
}
#border-right2 {
		background-image: url('../img/border-right.png');
	background-position: 2.85rem center;
	-webkit-text-size-adjust:none; 
	background-repeat: no-repeat;
				
}
#border-right3 {
		background-image: url('../img/border-right.png');
	background-position: 2.85rem center;
	-webkit-text-size-adjust:none; 
	background-repeat: no-repeat;
				
}

/* style => input, select and textarea with border-right.png - end */




/* style => rows with complex contents  */



/* style => upload-fields  */



/* style => security-fields  */



/* style => checkbox-row  */
.contactform .row input:checked {
	background: url(../img/check-solid.svg) no-repeat center center;
	background-size: 75%;
}



/* style => submit-button  */





.contactform .row .send {
	font-family: "Arial";
	text-transform: uppercase; 
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 47%;
	font-size: 16px;
	font-weight: bold;
	height: 2.3rem;
	margin-top: calc(1rem/16*5);
	color: white;
	background-color: #7d7573cc;
	border: 1px solid transparent;
	border-color: #ffffff;
	border-radius: 4px;
}

.contactform .row .send:hover {
	background-color: #6e849e;
	border-color: #204d74;
	cursor: pointer;
}



/* style => select-box for placeholders */



/* style => errors */
.contactform .row .field:invalid{			/* remove browser-style for invalid fields */
	outline: none;
	box-shadow:none;
}
.contactform .row .field:focus:valid{
	background-color: #FFFFFF;
	border-color: #d9e8d5;
	outline: none;
	box-shadow:none;
}




button {
	outline: 0;
}






@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}


.loading-spinner{
	display: none;
	width: 19px;
	animation: spin 1s linear infinite;	
	margin-left:1.5rem;
}


.loading-spinner:active{
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 19px;
	animation: spin 1s linear infinite;	
	margin-left:1.5rem;
}


/* .contactform .row .send.loading{
	background-color: #A6A6A6;
	border-color: #A6A6A6;
} */


.opacity-25{
	opacity: .25;
}


.opacity-75{
	opacity: .75;
}





/* style => for mobile */


@media (max-width: 655px) {
				
	.contactform {
		padding: 1px 1rem 1px 1rem;
		/* box-shadow: none; */
		margin-left:15px;
		margin-top:0px;
		margin-right:15px;
		width: auto;
	}
	.contactform .row {
		display: block;
		margin-top: 1rem;
	}
	.contactform .row .col-sm-4{
		flex-grow:0;
		flex-basis: 0;
		margin: 0;
	}
	.contactform .row .col-sm-4,
	.contactform .row .col-sm-8 {
		margin-top: 1.5rem;
	}
	
	
	
	
	.contactform .row .control-label {
		/*margin-top: 0.13rem; */
	}
	.contactform .row .textarea-label{
	 	margin-top:0.21rem; 
	}



.loading-spinner{
	display: none;
	width: 19px;
	animation: spin 1s linear infinite;	
	margin-left:1.5rem;
}


.loading-spinner:active{
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 19px;
	animation: spin 1s linear infinite;	
	margin-left:1.5rem;
}


.contactform .row .send {
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 100%;
	font-size: 16px;
	font-weight: bold;
	height: 2.75rem;
	margin-top: calc(1rem/16*5);
	color: white;
	background-color: #7d7573cc;
	border: 1px solid transparent;
	border-color: #ffffff;
	border-radius: 4px;
}


.contactform .row .send:hover {
	background-color: #6e849e;
	border-color: #204d74;
	cursor: pointer;
}



/* safari iOS: margin-top for control & select label, padding-top for mailcopy icon - start */



/* safari iOS: margin-top for control & select label, padding-top for mailcopy icon - end */


}