
/* STYLE 2 */


.contact-template.style-2 .section-headline h2 {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	font-size: calc(30px + 10 * ((100vw - 500px) / 940)) !important;
}

.contact-template.style-2 .ry-flex .contact-form {
	padding: 100px 4vw;
	background: #f5f5f5;
	width: 68%;
}

.contact-template.style-2 .contact-form .section-headline {
	margin-bottom: 30px;
}

.contact-template p {
	line-height: 1.5;
}

.contact-template.style-2 .contact-form .ry-form-box-wrapper input.ry-btn {
	margin-top: 10px;
}

.contact-template.style-2 .ry-flex .contact-details {
	width: 32%;
	min-width: 420px;
	border: 1px solid #e8e8e8;
}

.contact-template.style-2 .ry-flex .contact-details #mapCustomstyle2 {
	padding-bottom: 500px;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex {
	padding: 50px;
	display: flex;
	flex-direction: column;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each {
	display: flex;
	width: 100%;
	flex-basis: 100%;
	max-width: 100%;
	align-items: center;
	max-width: max-content;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .icon {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #373737;
	border-radius: 50%;
	margin-right: 10px;
	min-width: 45px;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .icon svg {
	fill: #fff;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text {
	display: flex;
	font-size: 18px;
	line-height: 35px;
	font-weight: 300;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text a {
  line-height: 27px;
  color: #333;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each:not(:last-child) {
	margin-bottom: 25px;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text {
	flex-direction: column;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text .span {
	font-size: 15px;
	text-transform: uppercase;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text a {
	font-size: 23px;
	font-weight: bold;
	color: #373737;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour {
	padding-top: 40px;
	margin-top: 25px;
	border-top: 1px solid #e8e8e8;
	width: 100%;
	max-width: 100%;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .ry-text {
	flex-direction: column;
	width: 100%;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text .span-1, 
.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .ry-text p {
	font-size: 15px;
	text-transform: uppercase;
}

.contact-template.style-2 .contact-form .ry-form-box-wrapper .form-control {
	height: 65px;
	border-radius: unset;
	box-shadow: unset;
	padding-left: 25px;
	font-size: 18px;
}

.contact-template.style-2 .contact-form .ry-form-box-wrapper .form-group {
	margin-bottom: 10px;
}

.contact-template.style-2 .contact-form .ry-form-box-wrapper .field-wrapper textarea.form-control {
	height: 290px;
	padding-top: 15px;
	resize: unset;
}

/* SOCIAL */
.custom-social-wrapper {
	padding-left: 0;
	list-style: none;
	width: 100%;
}

.custom-social-wrapper .social-inner-wrap {
    display: flex;
}

.custom-social-wrapper .social-inner-wrap li a {

	display: flex;
	align-items: center;
	justify-content: center;
	background: #ba2c2c;
	width: 100%;
	height: 100%;
}

.custom-social-wrapper .social-inner-wrap li a svg {
	width: 16px;
	fill: #fff;
}

.custom-social-wrapper .social-inner-wrap li {
    width: 100%;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
    overflow: hidden;
}
.custom-social-wrapper .social-inner-wrap li {
    margin-right: 5px;
    margin-bottom: 5px;
}

.custom-social-wrapper .social-inner-wrap li a.facebook {
    background: #1970ca;
}

.custom-social-wrapper .social-inner-wrap li a.twitter {
    background: #17a7dc;
}

.custom-social-wrapper .social-inner-wrap li a.linkedin {
    background:   #007bb6;
}

.custom-social-wrapper .social-inner-wrap li a.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

.custom-social-wrapper .social-inner-wrap li a.google {
    background: #dd4b39;
}

.custom-social-wrapper .social-inner-wrap li a.yelp {
    background: #ba2c2c;
}
/* SOCIAL */
.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .custom-social-wrapper {
    margin-top: 20px;
}
@media (max-width: 1080px) {
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .ry-text {align-items:center;}
	.contact-template.style-2 .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text a {
	  line-height: 35px !important;
	}

	.contact-template.style-2 .ry-flex .contact-form {
		width: 100%;
		padding: 60px 40px;
	}

	.contact-template.style-2 .ry-flex .contact-details {
		width: 100%;
		min-width: unset;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex{align-items:center;}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each:not(:last-child){min-width:40%;}
	.custom-social-wrapper .social-inner-wrap{justify-content:center;}
}

@media (max-width: 768px) {
	.contact-template.style-2 p {
		font-size: 16px !important;
		line-height: 1.5 !important;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text {
		font-size: 16px;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text .span-1, 
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .ry-text p {
		font-size: 14px;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text a {
		font-size: 20px;
	}
	.contact-template.style-2 .contact-form .ry-form-box-wrapper .form-control{
		height: 60px;
		font-size: 16px;
		padding-left: 20px;
	}
}
@media (max-width: 1080px) {
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text {
		text-align: center;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each {
		width: 100%;
		max-width: 100%;
		min-width: unset;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .icon {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex,
	.contact-template.style-2 .ry-flex .contact-form {
		padding: 50px 5vw;
	}

	.custom-social-wrapper .social-inner-wrap {
		justify-content: center;
	}
}

.form-group.required.has-error input {
    border: 1px solid #ff004f;
}