/* MD Software & Desing Custom CSS */

/* Common styles */
:root {
	touch-action: pan-x pan-y;
	height: 100% 
}

body, html {
	background-color: #FFF;
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	font-family: 'Open Sans', sans-serif;
	color: #3D3D3D;
	scroll-behavior: smooth;
	display: grid;
}

h1 {
	font-size: 80px;
	width: 100%;
	margin: 20px 0px;
}

h2 {
	font-size: 60px;
	width: 100%;
}

h3 {
	font-size: 40px;
	font-weight: initial;
	width: 100%;
}

h4 {
	font-size: 30px;
	font-weight: initial;
	width: 100%;
}

a {
	color: #3D3D3D;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

*,
::after, ::before {
	box-sizing: unset;
}

button {
	background-color: #394e7b;
	border: none;
	color: #FCFDFC;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 30px 0px 0px 0px;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.3s;
	font-weight: 700;
}

button:hover {
	background: #999999;
	transition: all 0.3s;
}

.divider {
	margin: auto;
	margin-top: 30px;
	width: 100%;
	position: relative;
}

.divider .shadow {
	overflow: hidden;
	height: 20px;
}

.divider .shadow:after {
	content: '';
	display: block;
	margin: -25px auto 0;
	width: 100%;
	height: 25px;
	border-radius: 125px/12px;
	box-shadow: 0 0 8px #394e7b;
}
/* Common styles */

.container {
	max-width: 1300px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.main {
	text-align: center;
	padding: 0px;
	font-size: 20px;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFF;
	display: inline-block;
	width: 100%;
}

.main h2,
.main h3,
.main p {
	margin: 10px 0px;
	display: inline-block;
	width: 100%;
}

.main .logo {
	padding: 60px 0px;
}

.main .section {
	padding: 90px 0px;
	width: 100%;
	display: inline-block;
}

.main .section .inside.columns.half {
	width: 50%;
	float: left;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 500px;
}

.main .section.one .inside.columns.half .video {
	height: 500px;
	object-fit: cover;
}

video {
    background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
}

/* Pedicure slider */
.main .section.two .inside.columns.half #slideshow {
	position: relative;
	width: 650px;
	height: 500px;
}

.main .section.two .inside.columns.half #slideshow > div {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0;
}
/* Pedicure slider */

.main .section.three .scroller {
	margin: 60px 0px;
}

.main .section.three .inside.columns.full {
	width: 100%;
}

.main .section.three .inside.columns.full .content:first-child h3 {
	margin-bottom: 30px;
}

.main .section.three .inside.columns.full .content:last-child h3 {
	margin-top: 30px;
}

/* Google reviews */
.main .section.three .mx-auto {
	margin-right: auto !important;
	margin-left: auto !important;
}

.justify-content-center {
	justify-content: center !important;
}

.carousel {
	position: relative;
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel-item {
	position: relative;
	display: none;
	float: left;
	width: 100%;
	margin-right: -100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform .6s ease-in-out;
}

.col-md-3 {
	flex: 0 0 auto;
	width: 25%;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	border: 1px solid #FFF;
}

.card-img, .card-img-bottom, .card-img-top {
	width: 100%;
}

img {
	vertical-align: middle;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}
/* Google reviews */

.main .section.four .content:first-child {
	margin-bottom: 60px;
}
.main .section.four h3 {
	font-weight: 700;
}

.main .section.four .row {
	display: inline-block;
	width: 100%;
	margin-bottom: 60px;
}

.main .section.four .left .inside.columns.one-third {
	width: 33.33%;
	float: left;
}

.main .section.four .left .inside.columns.two-third {
	float: left;
	display: block;
	text-align: left;
	padding: 60px 0px 60px 50px;
	width: calc(66.66% - 50px);
}

.main .section.four .left .inside.columns.one-third {
	width: 33.33%;
	float: left;
}

.main .section.four .left .inside.columns.two-third {
	float: left;
	display: block;
	text-align: left;
	padding: 60px 60px 0px 60px;
	width: calc(66.66% - 120px);
}

.main .section.four .right .inside.columns.two-third {
	float: left;
	display: block;
	text-align: right;
	padding: 60px 60px 0px 60px;
	width: calc(66.66% - 120px);
}

.main .section.four .right .inside.columns.one-third {
	width: 33.33%;
	float: left;
}

.main .section.four button {
	margin: 0px;
}

.main .section.five .inside.columns.half .content {
	height: 500px;
}

.main .section.five .inside.columns.half .logo {
	margin: 25px 0px 40px 0px;
	padding: 0px;
}

.main .section.five .inside.columns.half button {
	margin: 25px 0px;
}

.main .section.five .inside.columns.half .image {
	height: 500px;
	object-fit: cover;
}

.footer {
	background-color: #394e7b;
	padding: 20px;
	text-align: center;
}

.footer .separator {
	margin: 0px 10px;
	display: inline-block;
}

.footer a {
	opacity: 0.7;
	transition: all 0.3s;
}

.footer a:hover {
	opacity: 1;
	transition: all 0.3s;
}

@media (max-width: 1365px) {	
	body {
		padding: 0px 20px;
	}
	
	h1 {
		font-size: 80px;
	}

	h2 {
		font-size: 60px;
	}

	h3 {
		font-size: 40px;
		padding: 30px;
		width: calc(100% - 60px) !important;
		
	}

	h4 {
		font-size: 30px;

	}
	
	button {
		font-size: 24px;
		margin-bottom: 10px;
		padding: 25px 40px;
	}
	
	.divider.top-margin {
		margin-top: 60px;
	}
	
	.col-md-3 {
		width: 100%;
	}
	
	.img-fluid {
		width: 100%;
	}
	
	.main p {
		font-size: 24px;
		padding: 30px;
		width: calc(100% - 60px);
		max-width: 768px;
	}
	
	.main .logo img {
		width: 80%;
		padding: 40px 0px 0px 0px;
	}

	.main .section .inside.columns.half {
		width: 100%;
		height: auto;
	}
	
	.main .section.one .inside.columns.half .video {
		height: auto;
		margin-top: 50px;
	}
	
	.main .section.two {
		display: inline-grid;
		padding-bottom: 0px;
	}
	
	.main .section.two .inside.columns.half:first-child {
		order: 2;
		margin-top: 40px;
		padding-top: 40px;
		height: 85%;
	}
	
	.main .section.two .inside.columns.half:second-child {
		order: 1;	
	}
	
	.main .section.two .inside.columns.half #slideshow {
		width: 100%;
		min-height: 660px;
	}
	
	.main .section.four .left br,
	.main .section.four .right br {
		display: none;
	}
	
	.main .section.four .left .inside.columns.one-third,
	.main .section.four .left .inside.columns.two-third	{
		width: 100%;
		padding: 0px;
		text-align: center;
	}
	
	.main .section.four .left .inside.columns.two-third {
		margin-top: 40px;
	}
	
	.main .section.four .right {
		display: grid;
	}
	
	.main .section.four .right .inside.columns.two-third {
		order: 2;
		margin-top: 40px;
	}
	
	.main .section.four .right .inside.columns.one-third {
		order: 1;
	}
	
	.main .section.four .right .inside.columns.two-third,
	.main .section.four .right .inside.columns.one-third {
		width: 100%;
		padding: 0px;
		text-align: center;
	}
	
	.main .section.four .right .inside.columns.one-third {
		margin-top: 40px;
	}
	
	.main .section.three .scroller {
		margin-bottom: 0px;
	}

	.main .section.five .inside.columns.half .content {
		height: auto;
	}
	
	.main .section.five .inside.columns.half .image {
		max-width: 768px;
		height: auto;
		margin-left: -20px;
		margin-right: -20px;
	}
	
	.footer {
		margin-left: -20px;
		width: 100%;
	}
}

@media (min-width:768px) and (max-width:1365px) {
	.main .logo img,
	.main .content,
	.main .section.one .inside.columns.half .video,
	.img-fluid {
		max-width: 768px;
		margin: auto;
	}
	
	.main .section.one button {
		margin-bottom: 55px;
	}
}

@media (min-width:690px) and (max-width:1365px) {
	.divider.top-margin {
		margin-top: 60px;
	}
	
	.main .section.two .inside.columns.half #slideshow {
		height: 600px;
	}
}