/*   
Theme Name: Water-Master
Theme URI: wp.com
Description: Супермегатема
Author: Вася
Author URI: Vasya.com
Version: 1.0.0
*/

/* RESET STYLES */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
}
a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;
} 
input, select, button, textarea {
	margin: 0; 
	font-size: 100%;
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0;
}
input[type="checkbox"] {
	vertical-align: bottom;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
nav ul {
	 list-style:none;
}
/* /RESET STYLES */

/* COMMON STYLES */

* {
  margin: 0;
  padding: 0;
}

html, body {
	background-color: #eaeaea; 
}

a {
	text-decoration: none;
}
p {
	font: 1em/1.6 'Hind Madurai', sans-serif;
	color: #434547;
}

h4 {
	font: bold 1.8em/1 'Hind Madurai', sans-serif;
	color: #57aacd;
	padding-bottom: 8px;
}

/* /COMMON STYLES */

.wrapper {
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
}
.clear {
	clear: both;
}

@font-face {
    font-family: 'Hind Madurai';
    src: url('fonts/Hind-Madurai/Hind-Madurai.eot');
    src: url('fonts/Hind-Madurai/Hind-Madurai.eot?#iefix') format('embedded-opentype'),
         url('fonts/Hind-Madurai/Hind-Madurai.woff') format('woff'),
         url('fonts/Hind-Madurai/Hind-Madurai.ttf') format('truetype'),
         url('fonts/Hind-Madurai/Hind-Madurai.svg#Hind Madurai') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hind Madurai Bold';
    src: url('fonts/hindmadurai-bold/hindmadurai-bold.eot');
    src: url('fonts/hindmadurai-bold/hindmadurai-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/hindmadurai-bold/hindmadurai-bold.woff') format('woff'),
		 url('fonts/hindmadurai-bold/hindmadurai-bold.woff2') format('woff2'),
         url('fonts/hindmadurai-bold/hindmadurai-bold.ttf') format('truetype'),
         url('fonts/hindmadurai-bold/hindmadurai-bold.svg#Hind Madurai') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* HEADER STYLES */

header {
	margin-top: 10px;
}
	#header-top{
		overflow: hidden;
	}
		.logo {
			float: left;
			overflow: hidden;
			position: relative;
			padding-top: 10px;
		}
			.logo h2, .logo img {
				float: left;
				font: 3em/1 'Hind Madurai', sans-serif;
				color: #5ab7de;
				text-shadow: 1px 2px 3px #999;
			}
			.logo h2:last-child {
				position: absolute;
				bottom: 0;
				right: 0;
			}
			.logo img {
				margin-right: 154px;
			}
		
		.phone-numbers {
			float: right;
			max-width: 200px;
			overflow: hidden;
			padding: 33px 0 0 50px;
			background: url(images/phone-ico.png) 15px 42px no-repeat;
		}
			.phone-numbers a, .phone-numbers a:visited {
				float: right;
				color: #626262;
				font: 1.36em Arial, sans-serif;
				margin-top: 5px;
			}
			.phone-numbers a:hover {
				color: #43b51f;
			}
	header h1 {
			font: 0.9em/1 'Hind Madurai', sans-serif;
			margin-left: 100px;
			margin-top: 5px;
			color: #626262;
			display: block;
		}
		
		/* MENU STYLES */
		
	nav {
		margin-top: 25px;
	}
		nav .main-menu {
			width: 100%;
			background: #434547;
		}
		nav .main-menu a#pull {
			display: none;
		}
		
			nav .main-menu ul {
				overflow: hidden;
				max-width: 1100px;
				margin: 0 auto;
			}
				
				nav .main-menu ul li {
					float: left;
					margin: 0;
					border-right: 1px solid #999;
					
				}
				nav .main-menu ul li:hover, .current-menu-item {
					border-right: 1px solid #5ab7de !important;
					background-color: #5ab7de;
				}
					#menu-item-97, #menu-item-98 {
						background-color: #434547;
						border-right: 1px solid #999 !important;
					}
					#menu-item-97:hover, #menu-item-98:hover {
						background-color: #5ab7de;
						border-right: 1px solid #5ab7de !important;
					}
					
				nav .main-menu ul li a {
					font: 1.05em/1 'Hind Madurai', sans-serif;
					text-transform: uppercase;
					color: #fff;
					letter-spacing: 0.06em;
					display: block;
					padding: 20px;	
				}

		/* /MENU STYLES */
			
/* /HEADER STYLES */


/* MAIN CONTENT STYLES */

	.slider {
		overflow: hidden;
	}
		.slider img {
			width: 100%;
			background-color: #57aacd;
			float: left;
		}
		.blue-rects {
			width: 25%;
			height: 325px;
			float: left;
			background-color: #62bfe6;
			padding: 40px 30px;
			box-sizing: border-box;
			color: white;
			font-family: 'Hind Madurai', sans-serif;
			position: relative;
			margin-bottom: 40px;
		}
		.blue-rects:nth-child(2) {
			background-color: #57aacd;
		}
		.blue-rects:nth-child(3) {
			background-color: #55b0d6;
		}
		.blue-rects:nth-child(4) {
			background-color: #5bb7de;
		}
		.blue-rects:hover {
			margin-top: -25px;
			height: 350px;
			transition-duration: 0.2s;
		}
		.blue-rects {
			margin-top: 0;
			height: 325px;
			transition-duration: 0.2s;
		}
			.blue-rects h3 {
				font-size: 1.8em;
				padding-right: 50px;
			}
		
		
	.our_benefits {
		font: 1em/1.2 'Hind Madurai', sans-serif;
		overflow: hidden;
		color: #434547;
		margin-top: 20px;
	}
		.benefit {
			float: left;
			width: 48%;
			overflow: hidden;
			border-bottom: 1px solid #ccc;
			min-height: 150px;
			padding-bottom: 25px;
			margin-bottom: 50px;
		}
		
		.benefit p{
			margin-left: 130px;
		}
		
		.our_benefits div:nth-child(odd) {
			margin-right: 4%;
		}
		
			.benefit div:first-child {
				width: 100px;
				height: 100px;
				background: #62bfe6;
				float: left;
				margin-right: 30px;
				margin-top: 5px;
			}
			
				.benefit div:first-child span {
					color: white;
					margin: 17px 0 0 26px;
				}
			
				.benefit:first-child div:first-child span {
					display: block;
					font: 3em/1 "Hind Madurai",sans-serif;
					margin-left: 38px;
					margin-top: 21px;
					color: #62bfe6;
				}
				
				.benefit:nth-child(3) div:first-child span {
					margin: 19px 0 0 23px;
				}
				
			
			.our_benefits .benefit:first-child div:first-child {
				background: url(images/experience_bg.png) center no-repeat, #62bfe6;
			}
			
			.our_benefits .benefit:nth-child(4) div:first-child {
				background: url(images/discounts_icon.png) center no-repeat, #62bfe6;
			}
			
			.our_benefits .benefit:nth-child(3), .our_benefits .benefit:nth-child(4) {
				border-bottom: none;
				margin-bottom: 0;
				padding-bottom: 0;
			}
			
			
		.our_benefits h4 {
			margin: 5px 0 0 0;
			font: 1.7em/1 'Hind Madurai', sans-serif;
		}

		.blue-line {
			margin-top: 25px;
			height: 3px;
			width: 100%;
			margin-bottom: 37px;
			background-color: #62bfe6;
			float: left;
		}
		
	.about_us {
		margin-bottom: 85px;	
	}	
		.about_us h2 {
			font: 2.5em/1 "Hind Madurai",sans-serif;
			color: #57aacd;
			text-align: center;
			margin-bottom: 12px;

			
		}
		.about_us p {
			font: 1.3em/1.3 "Hind Madurai",sans-serif;
			text-indent: 2em;
			text-align: justify;
			margin-bottom: 20px;
		}
			.about_us div {
				padding-top: 20px;;
			}
				.about_us div p {
					text-align: right;
				}
	
		
	.main_services {
		overflow: hidden;
		margin-bottom: 50px;
	}
		
		.main_services .services_wrap {
			margin: 0 auto;
			width: 899px;
		}
		
		.main_services .services_wrap div {
			width: 200px;
			height: 222px;
			background-color: #62bfe6;
			float: left;
			margin: 25px 0 0 33px;
	}
		.main_services .services_wrap div:nth-child(4n+1) {
			margin-left: 0;
		}
		
		.main_services .services_wrap div:hover {
			background-color: #43b51f;
		}
		.main_services .services_wrap div p {
			color: white;
			font: 0.9em/1 'Hind Madurai', sans-serif;
			text-align: center;
			display: block;
		}
		
		
/* /MAIN CONTENT STYLES */

/* FOOTER STYLES */

footer {
	overflow: hidden;
	margin-top: 40px;
	background-color: #434547;
}
	footer .wrapper {
		display: table;
		margin: 0 auto;
		/* width: 899px; */
		/* padding: 28px 0 0 131px; */
		width: 1082px;
		padding: 28px 0 0 220px;		
	}	
			.footer-contact {
				margin-bottom: 28px;
				float: left;
				/* width: 285px; */
				width: 319px;
			}
		
		.footer-contact>div {
			height: 80px;
			width: 80px;
			float: left;
			background-color: #4a4c4d;
		}
			.footer-contact>p, .footer-contact>a, .footer-contact>a:visited {
				float: left;
				color: #888a8c;
				margin: 26px 22px;
				font: 1.2em 'Hind Madurai', sans-serif;
				color: #888a8c;
			}
			
			.footer-contact>a:hover {
				color: #62bfe6;
				text-decoration: underline;
			}
			.footer-contact div span {
				padding: 7px 21px;
				color: #62bfe6;
			}
			.footer-contact .fa-phone {
				padding: 16px 21px;
			}
			.footer-contact .fa-fax {
				padding: 15px 16px;
			}
			.footer-contact .fa-facebook-f {
				padding: 17px 25px;
			}
			.footer-contact .fa-instagram, .footer-contact .fa-google-plus-official, .footer-contact .fa-youtube-square  {
				padding: 9px 13px;
			}
			.footer-contact .fa-twitter {
				padding: 16px 19px;
			}
			.footer-contact .fa-envelope {
				padding: 13px 17px;
			}
			.footer-contact .fa-map-marker {
				padding: 7px 21px;
			}
			
			
/* /FOOTER STYLES */


/* FOOTER BOTTOM FIXED WITH FLEXBOX */

* {
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
#wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#content {
  flex: 1 0 auto;
}
footer {
  flex: 0 0 auto;
}


/* ARTICLES STYLES  */

	.articles {
		margin-top: 50px;
		overflow: hidden;
	}

		article {
			float: left;
			width: 30%;
			border: 1px solid #999;
			background-color: #fff;
			margin-left: 5%;
			box-sizing: border-box;
		}
		
		.articles article:first-child {
			margin-left: 0;
		}
		
		.article-image {
			position: relative;
			overflow: hidden;
		}
			article img {
				width: 100%;
				height: auto;
				float: left;
			}
			
			.article-title {
				position: absolute;
				top: 0;
				max-width: 100%;
				background-color: rgba(255,255,255,0.87);
				padding: 6px 10px 4px 10px;
				text-align: center;
			}
				.article-title a, .article-title a:visited {
					color: #5AB7DE;
					font: bold 1.3em/1 'Hind Madurai', sans-serif;
				}
				.article-title a:hover {
					text-decoration: underline;
				}
			article p {
				padding: 20px 20px 0;
				text-indent: 1.5em;
				text-align: justify;
				
			}
			.article-date a, .article-date a:visited {
				position: absolute;
				bottom: 0;
				right: 0;
				padding: 2px 5px 0 6px;
				background-color: rgba(255,255,255,0.6);
				color: #5AB7DE;
				font: 1.2em/1 'Hind Madurai', sans-serif;
			}
			
						
			
/* PAGE CONTENT STYLES */

.main_content {
		margin-top: 40px;		
	}	
		.main_content h2 {
			font: 2.5em/1 "Hind Madurai",sans-serif;
			color: #57aacd;
			text-align: center;
			margin: 5px 0 25px 0;	
		}
		.main_content img {
			float: left;
			margin: 0px 18px 10px 0;
		}
		.main_content p {
			font: 1.3em/1.3 "Hind Madurai",sans-serif;
			text-indent: 2em;
			text-align: justify;
			margin-bottom: 15px;
		}
			.main_content div {
				padding-top: 15px;
			}
				.main_content div p {
					text-align: right;
					margin-bottom: 0;
				}
				
/* Временно убираем синие блоки */
#content .wrapper .blue-rects {
	display: none;
}
.slider {
	margin-bottom: 0px;
	margin-top: 20px;
}


/* MINIPOSTS STYLES */

.main_content .minipost {
	width: 100%;
	border: 1px solid #434547;
	box-sizing: border-box;
	margin-bottom: 25px;
	overflow: hidden;
	padding: 5px;
	position: relative;
}
	.minipost img {
		margin: 0 15px 0 0;
		padding: 0;
		width: 100px;
		height: 100px;
	}
	.minipost a h2, .minipost a h2:visited {
		text-align: center;
		font: 1.6em/1 "Hind Madurai",sans-serif;
		margin: 7px 0 0 0;
	}
	.minipost a h2:hover {
		text-decoration: underline;
	}
	.minipost a, .minipost a:visited {
		color: black;
	} 
	.minipost p {
		text-align: left !important;
		text-indent: 2em;
		margin: 10px 0 0 0;
		font: 1.1em/1.2 "Hind Madurai",sans-serif;
	}
	.minipost p img {
		display: none;
	}
	.minipost-date {
		padding: 0 !important;
		float: right;	
		position: absolute;
		right: 15px;
		bottom: 10px;
	}
/* SINGLE MINIPOSTS STYLES */
	.post p {
		margin-bottom: 15px !important;
		text-align: justify !important;
	}
	.main_content .single-minipost-date {
		float: right;
		margin-right: 15px;
		padding-top: 0;
	}
			
/* MOBILE VERSION STYLES */

@media only screen and (max-width: 1250px) {
	footer .wrapper {
		width: 899px;
		padding: 28px 0 0 131px;		
	}	
		.footer-contact {
			width: 285px;
		}
}

@media only screen and (max-width: 1160px) {
	.wrapper {
		box-sizing: border-box;
		padding: 0 20px;
	}
	footer .wrapper {
		padding: 28px 0 0 42px;
	}
	.minipost img {
		width: 125px;
		height: 125px;
	}
}

@media only screen and (max-width: 959px) {
		
	.main_services .services_wrap {
		width: 669px;
	}
	.main_services .services_wrap div:nth-child(4n+1) {
		margin-left: 33px;
	}
	.main_services .services_wrap div:nth-child(3n+1) {
		margin-left: 0px;
	}
	footer .wrapper {
		width: 935px;
		padding: 28px 0 0 112px;		
	}	
	.footer-contact {
			width: 250px;
		}
}

@media only screen and (max-width: 910px) {
	.blue-rects {
		display: none;
	}
	footer .wrapper {
		display: table;
		margin: 0 auto;
		width: 512px;
		padding: 28px 0 0 0px; 
	}	
			.footer-contact {
				margin-bottom: 28px;
				float: left;
				width: 223px;
				margin-left: 33px;
				/* border: 1px solid red; */
				/* box-sizing: border-box; */
			}
				.footer-contact>p, .footer-contact>a {
					margin: 26px 9px;
				}
}

@media only screen and (max-width: 860px) {
	
	.minipost img {
		width: 150px;
		height: 150px;
	}
}

@media only screen and (max-width: 780px) {


	.main_content {
		margin-top: 20px;
	}
	.main_content h2 {
		font: 2em/1 "Hind Madurai",sans-serif;
		margin-bottom: 10px;
	}
	.main_content img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 5px auto 10px auto;
		float: none;
	}
	.minipost-date {
		padding: 10px 10px 5px 0 !important;
		position: static;
	}
	.main_content .post {
		padding-top: 5px;
	}
	
	.our_benefits {
		margin-top: 15px;
		margin-bottom: 7px;
	}
	.our_benefits .benefit {
		float: none;
		width: 100%;
		padding-bottom: 10px;
		margin-bottom: 20px;
		min-height: 0;
	}
	.our_benefits .benefit div:last-child {
		padding-top: 10px;
	}
	.our_benefits .benefit:nth-child(3), .our_benefits .benefit:nth-child(4) {
		border-bottom: 1px solid #ccc;
		padding-bottom: 10px;
		margin-bottom: 20px;
	}
	.our_benefits .benefit:nth-child(4) {
		padding-bottom: 0;
		margin-bottom: 15px;
		border-bottom: none;
	}
	.blue-line {
			margin-top: 15px;
			margin-bottom: 27px;
		}
}

@media only screen and (max-width: 725px) {
	.main_services .services_wrap {
		width: 433px;
	}
	.main_services .services_wrap div:nth-child(4n+1) {
		margin-left: 33px;
	}
	.main_services .services_wrap div:nth-child(3n+1) {
		margin-left: 33px;
	}
	.main_services .services_wrap div:nth-child(2n+1) {
		margin-left: 0px;
	}
}

@media only screen and (max-width: 695px) {
	
	header {
		margin-top: 0px;
	}
	#header-top{
		margin-bottom: -20px;
	}
		.logo {
			float: none;
			padding-top: 20px;
			margin: 0 auto 40px auto;
			display: table;
		}
		.logo img {
				margin-right: 145px;
			}	
		.phone-numbers {
			float: none;
			margin: 0 auto;
			display: table;
			padding: 20px 0 0 0px;
			background: none;
			text-align: center;
		}
		.phone-numbers a {
		width: 100%;
		text-align: center;
	}	
	header h1 {
		position: relative;
		top: -115px;
		margin-left: 0px;
		text-align: center;
		}
}

@media only screen and (max-width: 600px) {
	nav .main-menu a#pull, nav .main-menu a#pull:visited {
		display: block;
		font: 1.15em/1 'Hind Madurai', sans-serif;
		color: #fff;
		padding: 10px 20px;
		position: relative;
	}
	nav .main-menu a#pull:after {
		content:"";
		background:url(images/icon-menu2.png) no-repeat;
		width: 18px;
		height: 17px;
		display: inline-block;
		position: absolute;
		top: 10px;
		right: 20px;
	}
	nav {
			margin-top: 15px;
		}
		nav .menu {
			display: none;
		}		
			nav .main-menu ul li {
				width: 50%;
				border: none;
				box-sizing: border-box;
			}
			nav .main-menu ul li a {
				text-align: center;
			}
			nav .main-menu ul li:first-child {
				display: none;
			}
	.logo {
		padding-top: 10px;
	}
	header h1 {
		top: -99px;
		margin-top: 0;
	}
	.phone-numbers {
		padding-top: 0px;
		padding-bottom: 4px;
	}			
}

@media only screen and (max-width: 585px) {
		footer .wrapper {
			width: 235px;
	}	
			.footer-contact {
				width: 235px;
			}
				.footer-contact>p, .footer-contact>a {
					margin: 26px 9px;
				}
}


@media only screen and (max-width: 490px) {
	.main_services .services_wrap {
		width: 265px;
	}
	.main_services .services_wrap div:nth-child(4n+1) {
		margin-left: 33px;
	}
	.main_services .services_wrap div:nth-child(3n+1) {
		margin-left: 33px;
	}
	.main_services .services_wrap div:nth-child(2n+1) {
		margin-left: 33px;
	}
}

@media only screen and (max-width: 430px) {
	#header-top .logo h2, #header-top .logo img {
		display: none;
	}
	#header-top .logo {
		background: url(images/Mobile_logo.png) no-repeat;
		height: 60px;
		width: 250px;
		margin: 10px auto 10px auto;
	}
	.phone-numbers {
		padding: 10px 0 3px 0;
	}
	.phone-numbers a {
		font-size: 1.36em;
		margin-top: 2px;
	}
	header h1 {
		top: -62px;
	}
	.wrapper {
		padding: 0 10px;
}
	.slider {
		margin-top: 10px;
	}

	.our_benefits {
		margin-top: 5px;
	}
		.benefit p{
			margin-left: 0px;
			text-align: center;
		}
			.benefit div:first-child {
				float: none;
				margin: 0 auto;
			}
				.benefit:first-child div:first-child span {
					margin-top: 10px;
					padding-top: 11px;
				}	
		.our_benefits h4 {
			text-align: center;
		}	
}


/* PHOTO GALLERY STYLES */
	#gallery-1 {
		overflow: hidden;
		max-width: 900px;
		padding: 0 0 0 30px;
		margin: -5px auto 0 auto !important;
	}

		br {
			display: none;
		}
	
		.gallery-item {
			width: 150px !important;
			margin-right: 30px;
			margin-bottom: 15px;
		}
		
		#gallery-1 img {
			margin: 0;
			border: 3px solid #cfcfcf !important;
		}
		
			#gallery-1 img:hover {
				border-color: #5AB7DE !important;
			}
			
@media only screen and (max-width: 988px) {
	#gallery-1 {
		max-width: 720px;
	}
}

@media only screen and (max-width: 808px) {
	#gallery-1 {
		max-width: 540px;
	}
}

@media only screen and (max-width: 628px) {
	#gallery-1 {
		max-width: 360px;
	}
}

@media only screen and (max-width: 412px) {
	#gallery-1 {
		padding-left: 15px;
		max-width: 336px;
	}
	.gallery-item {
		width: 150px !important;
		margin-right: 15px;
		margin-bottom: 0;
		}
}

@media only screen and (max-width: 375px) {
	#gallery-1 {
		max-width: 290px;
		padding-left: 6px;
	}
	#gallery-1 dl.gallery-item {
		height: 130px !important;
		width: 130px !important;
		margin-bottom: 4px;
	}
		#gallery-1 img {
			/* padding: 0; */
			/* margin: 0; */
			height: 130px !important;
			width: 130px !important;
	}
}
/* /PHOTO GALLERY STYLES */

/* EXTRA STYLES */
body {
	background-color: transparent;
}
.footer-contact svg{
	fill: #57aacd;
}
.footer-contact .tiktok svg{
	padding: 4px 0 0 5px;
}

ul.rayon{
	font: 1.3em/1.3 "Hind Madurai",sans-serif;
	/*font-size: 18px;*/
	padding-bottom: 10px;
	list-style: none;
}