/*
Template Name: Sendy 
Template URL: https://ultimatewebsolutions.net/sendy/
Author: Ultimate Websolutions
Author URL: https://codecanyon.net/user/ultimatewebsolutions/

[Table of contents] 

1. SENDY FORM CONTENT
2. SENDY FORM CONTACT SECTION
3. FORM STYLE
- 3.1 Fields, Textareas
- 3.2 Placeholders
- 3.3 Form Buttons
- 3.4 Form Validation
- 3.5 Animated Links
- 3.6 Modal Window
- 3.7 Terms

4. SUCCESS SUBMIT

/* Sendy Form Content
==================================== */

#sendyFormContent {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  transition: all 0.3s;
	position: inherit;
	top: 0;
  right: 0;
  margin-top: 10px; 
}

#sendyFormContent p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1em;
	font-weight: 300;
	line-height: 1.7em;
	color: #999;
}

#sendyFormContent a,
#sendyFormContent a:hover,
#sendyFormContent a:focus { 
  text-decoration: none;
	transition: all 0.3s; 
}

/* Sendy Form Contact Section
==================================== */

#sendyPersonalData {
	padding: 10px 0;
}

#sendyFormContact .contact-info {
	margin-bottom: 20px;	
}

#sendyFormContact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #00b7f0;
}

#sendyFormContact .contact-info address,
#sendyFormContact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

#sendyFormContact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #00b7f0;
}

#sendyFormContact .contact-info a {
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1.5px;  
}

#sendyFormContact .contact-info a:hover {
  color: #00b7f0;
}

#sendyFormContact .contact-address,
#sendyFormContact .contact-web,
#sendyFormContact .contact-phone,
#sendyFormContact .contact-email {	
	border-bottom: 2px solid #00b7f0;	
  padding: 20px 0;
}

/* Form Style
==================================== */

/* Fields, Textareas */

#sendyFormContainer .form-control,
#sendyFormContainer .textarea.form-control { 
	background: transparent;	
	border: none;	
	border-bottom: 2px solid #ddd;	
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
  font-family: 'Montserrat', sans-serif;	
	font-size: 18px;
	font-weight: 400;	
	padding: 6px 0 0 12px;
	resize: none;	
}

#sendyFormContainer .form-control:focus,
#sendyFormContainer .textarea.form-control:focus {
	background: transparent;	
	border-color: #00b7f0;	
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #555;
	-webkit-transition: all 0.9s ease;
	transition: all 0.9s ease;	
}

#sendyFormContainer .form-control:disabled {
	border: none;	
}

#inputMessage {
	height: 100px;
}

/* Placeholders */

#sendyFormContainer .form-control::-webkit-input-placeholder { /* Chrome */
	color: #ccc;
	font-style: italic;		
}

#sendyFormContainer .form-control:-ms-input-placeholder { /* IE 10+ */
	color: #ccc;
	font-style: italic;	
}

#sendyFormContainer .form-control::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
	opacity: 1;
	font-style: italic;	
}

#sendyFormContainer:-moz-placeholder { /* Firefox 4 - 18 */
  color: #ccc;
	opacity: 1;
	font-style: italic;	
}

#sendyFormContainer .form-group {
	position: relative;
}

#sendyFormContainer .form-group label {
	color: #555;
	font-weight: 600;	
}

/* Form Buttons */

.btn-form-func {
  background: transparent;
  border-radius: 4px;
	border: 3px solid #00b7f0;
	color: #00b7f0;
	display: inline-block;	
	overflow: hidden;
	padding: 24px 60px 24px 16px;
	position: relative;
	text-decoration: none;
	line-height: 1;
	width: 100%;	
	font-weight: 600;
	margin-bottom: 10px;
}

.btn-form-func:hover {
	color: #00b7f0;	
}

.btn-form-func:focus {
	outline: none;
}

.btn-form-func .btn-form-func-content {
  font-size: 1.3em;
  line-height: 1.3;
  padding: 0 15px;
  position: relative;
  right: 0;
  transition: right 300ms ease;
  display: block;
  text-align: left;
}

.btn-form-func .icon {
  border-left: 1px solid #00b7f0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  transition: all 300ms ease;
  transform: translateY(-50%);
  width: 58px;
  height: 70%;
}

.btn-form-func .icon i {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.btn-form-func:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: transparent;
  opacity: 0;
  transition: opacity 300ms ease;
}

.btn-form-func:hover .btn-form-func-content {
  right: 100%;
}

.btn-form-func:hover .icon {
  border-left: 0;
  font-size: 1.4em;
  width: 100%;
}

.btn-form-func:hover:after {
  opacity: .2;
}

.btn-form-func.btn-form-func-alt-color {
  border-color: #00b7f0;
  color: #00b7f0;
}

.btn-form-func.btn-form-func-alt-color .icon {
  border-left-color: #00b7f0;
}

.btn-form-func.btn-form-func-alt-color:after {
  background-color: transparent;
}

/* Form Validation */

.parsley-errors-list {
	margin-top: 6px;
	font-style: italic;
	font-weight: 800;
	color: #00b7f0;	
	padding: 0;
	list-style-type: none;
	font-size: 0.8em;
	line-height: 0.8em;
	opacity: 0;
	transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
	opacity: 1;
}

/* Animated Links */

.animated-link {
  color:#555;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
	position: relative;
  -webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.animated-link:after {
	content: "";
	position: absolute;
	height: 2px;
	background-color: #00b7f0;
	width: 0;
	left: 50%;
	bottom: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
  	transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
}

.animated-link:hover {
	color: #00b7f0;
}

.animated-link:hover:after {
	width: 100%;
}

/* Modal Window */

#termsInfoModal {
  font-family: 'Poppins', sans-serif;	
}

#termsInfoModal p {  
	color: #999;
}

.modal-open {
  overflow: visible;
}

.btn-modal {
  border: none;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: #00b7f0;
  cursor: pointer;
  padding: 7px 15px;
  display: inline-block;
  outline: 0;
  font-size: 15px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-weight: 400;
}

.btn-modal:hover {
	background-color: #0090bd;
}

.btn-modal:focus {
  outline: none; 
}

/* Terms */

.terms-label {
  margin-left: 3px;
}

/* Success Submit
==================================== */

#success {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 190px;
	margin-top: -185px;
	margin-left: -150px;
	text-align: center;
}

#success h4 {
	margin: 0;
	font-weight: bold;
}

#success h4 span {
	display: block;
	font-size: 24px;
}

.svg {
  display: block;
  width: 100px;
  margin: 2rem auto;
}

.svg .check {
  stroke: #00b7f0; 
  fill: none;
  stroke-width: 12;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: check .75s linear forwards;
}

.svg .box {
  stroke: #00b7f0;
  stroke-width: 12;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1s linear forwards;
}

@keyframes draw {
  0% { stroke-dashoffset: -400; }
  100% { stroke-dashoffset: 400; }
}
    
@keyframes check {
  0% { stroke-dashoffset: -400; }
  100% { stroke-dashoffset: 0; }
}