

/* STYLE */

.contact-template.style-3 .inner-flex .ry-each {
    width: calc(50% - 35px);
    max-width: 100%;
    flex-basis: unset;
}

.contact-template.style-3 .inner-flex {
    justify-content: space-between;
    display: flex;
	flex-wrap: wrap;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group {
    border: 1px solid #e8e8e8;
	border-radius: 20px;
	overflow: hidden;
}
.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrapper {
	padding: 30px 2vw 30px;
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap .ry-text {
	font-size: 16px;
	font-weight: 300;
}
.contact-template.style-3 .inner-flex .ry-each .inner-group .map-ratio {
    width: 100%;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .map-ratio #mapCustom1, 
.contact-template.style-3 .inner-flex .ry-each .inner-group .map-ratio #mapCustom2,
.contact-template.style-3 .inner-flex .ry-each .inner-group .map-ratio #mapCustom3{
    padding-bottom: 500px;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group {
    flex-direction: column;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap {
    width: 100%;
    display: flex;
    align-items: center;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap .icon {
    width: 42px;
    border: 1px solid #e8e8e8;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    margin-right: 10px;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap  .ry-text {
    display: flex;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 300;
    display: flex;
    flex-direction: column;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap .ry-text .span-1 {
    font-size: 15px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 2px;
}

.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap .ry-text a {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.contact-template.style-3 .inner-flex .ry-each .headline h3 {
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
}

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

.contact-template.style-3 .contact-details .headline {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0;
	justify-content: center;
	height: 50px;
    margin-top: 30px;
}

.contact-template.style-3 .contact-form .headline .ry-text {
    max-width: max-content;
}

.contact-template.style-3 .contact-form .headline .ry-text p {
    display: none;
}

.contact-template.style-3  .ry-form-box-wrapper {
	margin-top: 30px;
}
.contact-template.style-3 .contact-form .headline .ry-text {
	max-width: 100%;
	width: 30%;
}
.contact-template.style-3 .contact-form .headline .ry-text .custom-social-wrapper .social-inner-wrap {
	justify-content: flex-end;
}
.contact-template.style-3 .contact-form .headline .ry-text .custom-social-wrapper .social-inner-wrap > li {
	max-width: 41px;
	min-width: 41px;
	max-height: 41px;
	min-height: 41px;
}

.contact-template.style-3 .contact-form .headline {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}
.contact-template.style-3 .contact-details {
	margin-bottom: 8.33vw;
}

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

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

.contact-template.style-3 .contact-form .ry-form-box-wrapper .field-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
	width: calc(100% + 10px);
}

.contact-template.style-3 .contact-form .ry-form-box-wrapper .field-wrapper .field-xs {
	width: calc(33.33% - 10px);
	margin-left: 10px;
}

.contact-template.style-3 .contact-form .ry-form-box-wrapper .field-wrapper .field-lg {
	width: calc(100% - 10px);
	margin-left: 10px;
}

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

.contact-template.style-3 .contact-form .ry-form-box-wrapper .ry-btn {
	margin-left: auto;
	margin-top: 30px;
}

/* 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 {
	border-radius: 50%;
	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%;
}
.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;
}

.custom-social-wrapper .main-dropdown .under-dropdown {
    display: none;
}
.custom-social-wrapper .main-dropdown ul {
	list-style: none;
	position: absolute;
	z-index: 999999;
	background: #f5f5f5;
	border-radius: 12px;
	width: 200px;
	padding: 10px;
	top: 42px;
	left: -80px;
}
.custom-social-wrapper .main-dropdown ul:before {
	content: "";
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid rgb(255 255 255 / 90%);
	position: absolute;
	top: 82px;
	z-index: 999999;
	left: -10px;
	display: inline-block;
	transform: rotate(90deg);
}
.custom-social-wrapper .main-dropdown ul li {
    width: 100%;
    margin: auto;
    line-height: 0;
}
.custom-social-wrapper .main-dropdown ul.under-dropdown li a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 140%;
    width: 100%;
    display: block;
    padding: 4px 0px 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e0e0e0;
    transition: all .3s ease;
    color: #000 !important;
    background: transparent;
	text-align: center;
}
.custom-social-wrapper .main-dropdown .under-dropdown.hover {
    display: block;
}
.custom-social-wrapper .card-wrap .main-dropdown {
    position: relative;
}
/* SOCIAL */

@media (max-width: 1199px) {
	.contact-template.style-3 .inner-flex .ry-each {
		width: calc(50% - 10px);
	}
}
@media (max-width: 1080px) {
	.contact-template.style-3 .inner-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.contact-template.style-3 .inner-flex .ry-each:not(:last-child),
	.contact-template.style-3 .inner-flex .ry-each .headline h3 {
		margin-bottom: 30px;
	}
	.contact-template.style-3 .inner-flex .ry-each {
		width: calc(80% - 10px);
	}
	.contact-template.style-3 .contact-form .headline {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.contact-template.style-3 .section-headline h2 {
		text-align: center;
	}
	.contact-template.style-3 .contact-form .headline .ry-text {
		max-width: 100%;
		width: 100%;
	}
	.contact-template.style-3 .contact-form .headline .ry-text .custom-social-wrapper .social-inner-wrap {
		justify-content: center;
		margin-top: 20px;
	}
}
@media (max-width: 768px) {
	.contact-template p {
		text-align: center;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap:not(:last-child) {
		margin-bottom: 20px;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap {
		width: 100%;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap .ry-text {
		text-align: center;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap:not(:last-child) {
		margin-bottom: 20px;
	}
	.contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrap {
		width: 100%;
	}
}
@media (max-width: 768px) {
	.contact-template p {
		font-size: calc(16px + 2 * ((100vw - 500px) / 940)) !important;
	}

	.contact-template.style-3 .contact-form .ry-form-box-wrapper .form-control {
		height: 60px;
		font-size: 16px;
		padding-left: 20px;
	}
	.contact-template.style-3 .contact-form .ry-form-box-wrapper .field-wrapper .field-xs {
		width: calc(100% - 10px);
	}

}

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