/*
Theme Name: Red-5
Author: OlgaX by SeoPro
*/

/*FONTS
-------------------------------------------------*/

/*OPEN SANS*/

@font-face {
	font-family: 'Open Sans';
	src: url('fonts/opensans-regular-webfont.eot');
	src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/opensans-regular-webfont.woff2') format('woff2'),
		 url('fonts/opensans-regular-webfont.woff') format('woff'),
		 url('fonts/opensans-regular-webfont.ttf') format('truetype'),
		 url('fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
	font-weight: 400;
	font-style: normal;

}

@font-face {
	font-family: 'Open Sans';
	src: url('fonts/opensans-bold-webfont.eot');
	src: url('fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/opensans-bold-webfont.woff2') format('woff2'),
		 url('fonts/opensans-bold-webfont.woff') format('woff'),
		 url('fonts/opensans-bold-webfont.ttf') format('truetype'),
		 url('fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
	font-weight: 700;
	font-style: normal;
}

/*BASE RULES
-------------------------------------------------*/

html,
body {
	font: normal 400 13px/1.67 "Open Sans", sans-serif;
}
body {
	margin: 0;
	background: #f9f9f9;
	color: #797979;
	-webkit-box-orient: vertical;
	-moz-box-orient: vertical;
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	height: 100vh;
	min-height: 100vh;
	min-width: 280px;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	color: #E64C3C;
	text-decoration: none;
}
a:hover,
a:active,
a:focus {
	color: #a91000;
	text-decoration: none;
}
a:focus {
	outline: none;
}
ol,
ul {
	list-style-position: inside;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	color: #223243;
	text-align: left;
	margin: 0 0 15px 0;;
}
h1 {
	font-size: 30px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #223243;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	color: #E64C3C;
}
blockquote {
	margin: 0 0 10px;
	padding: 5px 0 5px 16px;
	font-size: 14px;
	border-left: 2px solid #DC796D;
}
.alignleft {
	float: left;
	margin: 0.25em 1em 01em 0;
	clear: both;
}
.alignright {
	float: right;
	margin: 0.25em 0 1em 1em;
	clear: both;
}
.aligncenter {
	display: block;
	margin: 0.25em auto 1em auto;
	clear: both;
}

/*HEADER
-------------------------------------------------*/

.header {
	background: #223243;
	color: #C9CDD1;
	overflow: hidden;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.header a{
	color: #C9CDD1;
}
.header a:hover,
.header a:focus,
.header a:active {
	color: #E64C3C;
}

/*LOGO*/

.logo {
	margin-top: 30px;
}

.logo a {
	display: inline-block;
	vertical-align: middle;
	min-height: 40px;
	padding-left: 40px;
	font-size: 32px;
	line-height: 1.25;
	color: #fff;
	background: url(img/32x32.png) no-repeat 0 7px;
	position: relative
}
.logo a:hover,
.logo a:focus,
.logo a:active {
	color: #fff;
}
.logo a:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	height: 2px;
	width: 0;
	background: #E64C3C;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
.logo a:hover:after {
	width: 100%;
	left: 0;
}

/*NAV*/
.nav{
	float:right;
	margin: 0 -15px;
	overflow: hidden;
}

.nav ul {
	margin: 0;
	padding: 0;
	font-size: 0;
}
.nav li {
	list-style-type: none;
	display: inline-block;
}
.nav a {
	display: block;
	padding: 0 15px 15px 15px;
	font-size: 14px;
	color: #C9CDD1;
}
.nav a:hover,
.nav a:active,
.nav a:focus,
.nav .current-menu-item a,
.nav .current_page_item a {
	color: #E64C3C;
}
.nav .link-title {
	display: inline-block;
	vertical-align: middle;
	line-height: 1.25;
	cursor: pointer;
}

/*HEADER PHONE*/

.header-tel {
	margin-top: 30px;
}

/*FOOTER
-------------------------------------------------*/

.footer {
	background: #223243;
	padding: 40px 0;
	color: #AEB3BA;
	text-transform: uppercase;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.footer a {
	color: #AEB3BA;
}
.footer a:hover,
.footer a:focus,
.footer a:active {
	color: #E64C3C;
}

/*TOP IMAGE
-------------------------------------------------*/

.top-image {
	background: #33455C url('img/top-image.jpg') no-repeat 50% 50%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.top-image-content-wrap {
	padding-top: 80px;
	padding-bottom: 80px;
}
.top-image-text {
	margin-bottom: 30px;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	color: #fff;
}

/*TESTIMONIALS
-------------------------------------------------*/
.testimonials {
	padding: 25px 0 40px 0;
	background: #f9f9f9;
}
.testimonials-item {
	padding: 20px 0 0 50px;
	position: relative;
	overflow: hidden;
}

.testimonials-item:before {
	content: '\201C';
	position: absolute;
	top: 0;
	left: 0;
	font: 400 90px/1 "Palatino Linotype", "Book Antiqua", "Palatino", serif;
	color: #f3c7c2;
}
.testimonials-text {
	text-align: justify;
}
.testimonials-author {
	float: right;
	color: #e64c3c;
	position: relative;
	padding: 0 60px;
	font-size: 15px;
	text-align: center;
	line-height: 1.25;
}
.testimonials-author:before {
	content: '';
	position: absolute;
	width: 40px;
	height: 1px;
	left: 0;
	top: 50%;
	border-bottom: 1px solid #f3c7c2;
}
.testimonials-author:after {
	content: '';
	position: absolute;
	width: 40px;
	height: 1px;
	right: 0;
	top: 50%;
	border-bottom: 1px solid #f3c7c2;
}


/*FOOTER-MENU*/

.footer-menu {
	margin-bottom: 15px;
}
.footer-menu ul {
	margin: 0;
	padding: 0;
	text-align: center;
}
.footer-menu li {
	list-style-type: none;
	display: inline-block;
	margin: 5px;
}
.footer-menu a {
	color: #AEB3BA;
}
.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active,
.footer-menu .current-menu-item a,
.footer-menu .current_page_item a {
	color: #E64C3C;
}

/*MAIN
-------------------------------------------------*/

.main {
	-webkit-flex: 1 0 auto;
	-moz-flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	-o-flex: 1 0 auto;
	flex: 1 0 auto;
}
.main-content {
	padding-top: 40px;
	padding-bottom: 40px;
	background: #fff;
}
.article,
.article-text {
	margin-bottom: 30px;
}
.btn-wrap {
	margin: 30px auto;
}
.content ol ol,
.content ul ul,
.content ol ul,
.content ul ol {
	margin: 0 0 0 15px;
	padding: 0;
}
.content ol,
.content ul {
	margin: 0 0 10px 0;
	padding: 0;
}
.content li {
	list-style-type: none;
	list-style-position: inside;
	margin: 5px 0;
	position: relative;
}
.content ul li:before {
	content: '\25cf';
	display: inline-block;
	margin-right: 10px;
	color: #DC796D;
}
.content ol {
	counter-reset: li;
}
.content ol li:before {
	content: counter(li) '.';
	counter-increment: li;
	display: inline-block;
	margin-right: 3px;
	color: #DC796D;
	font-size: 14px;
	font-weight: 700;
	font-family: monospace
}
.content-wrap {
	border-left: 6px solid #f3c7c2;
	padding-left: 20px;
}
.section-title {
	margin: 0 0 15px 0;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 700;
	color: #223243;
	text-align: left;
}

/*SIDEBAR
-------------------------------------------------*/

.widget {
	margin-bottom: 40px;
}
.widget-title {
	margin: 0 0 10px 0;
	
	padding-bottom: 10px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #223243;
	border-bottom: 3px solid #f3c7c2;
	text-align: left;
}
.widget ol,
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	list-style-type: none;
	margin-bottom: 5px;
}
.widget a {
	color: #222;
	padding-bottom: 2px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}
.widget a:hover,
.widget a:active,
.widget a:focus,
.widget .current-menu-item a,
.widget .current_page_item a {
	color: #E64C3C;
}

/*PAGE: BLOG
-------------------------------------------------*/

.template-blog .article-title {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 16px;
}
.template-blog .article {
	overflow: hidden;
	border-top: 1px dashed #ccc;
}
.template-blog .article:first-child {
	border: 0;
}
.template-blog .article {
	padding-top: 20px;
	margin-bottom: 20px
}
.template-blog .article-text {
	margin: 0
}
.template-blog .article-date {
	float: left;
	padding: 10px;
	text-transform: uppercase;
	text-align: center;
	background: #E64C3C;
	color: #fff;
	line-height: 1.25;
}
.template-blog .text-wrap {
	margin-left: 65px;
}
.template-blog .img-wrap {
	float: left;
	max-width: 180px;
	margin: 0 10px 10px 0;
	height: auto;
}
.template-blog .day,
.template-blog .month,
.template-blog .year {
	display: block;
}
.template-blog .day {
	font-size: 30px;
}

/*PAGINATION*/

.posts-pagination {
	margin: 40px 0;
	text-align: center;
}
.posts-pagination .nav-links {
	font-size: 0;
}
.posts-pagination .page-numbers {
	display: inline-block;
	text-decoration: none;
	padding: 2px 5px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #223243;
}
.posts-pagination .page-numbers:hover {
	color: #E64C3C;
}
.posts-pagination .page-numbers.current {
	background: #E64C3C;
	color: #fff;
}
.posts-pagination .screen-reader-text {
	display: none;
}

/*PAGE: 404
-------------------------------------------------*/

.template-404 {
	text-align: center;
}
.template-404 .article-title {
	margin: 0;
	font-size: 200px;
	line-height: 1;
	text-align: center;
}
.template-404 .article-text {
	font-size: 20px;
}

/*PAGE: ORDER
-------------------------------------------------*/
.template-order-page {
	background: #fff;
}

/*BUTTONS
-------------------------------------------------*/

/*BIG-BTN*/

.big-btn {
	padding: 16px 20px;
	border: 0;
	background: #E64C3C;
	color: #fff;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	font-size: 16px;
	font-weight: 700;
	position: relative;
	margin-left: 50px;
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}
.big-btn:hover,
.big-btn:active,
.big-btn:focus {
	background: #a91000 !important;
	color: #fff !important;
}
.big-btn:before{
	content: '';
	position: absolute;
	right:100%;
	top:0;
	width: 50px;
	height: 100%;
	background: #a91000
}
.big-btn:after{
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0;
	margin-left: -32px;
	top: 20px;
	background: url(img/icons.png) no-repeat -5px -5px;
}

.big-btn:hover:after {
	margin-left: -20px;
	-moz-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}

/*MORE-LINK (modified "big-btn")*/

.more-btn-wrap {
	text-align: right;
	line-height: 1;
}
.more-link {
	padding: 6px 10px;
	font-size: 16px;
	min-width: auto;
	font-size: 14px;
	font-weight: 400
}
.big-btn.more-link:before{
	width: 25px;
}
.big-btn.more-link:after{
	top: 9px;
	margin-left: -20px;
}
.big-btn.more-link:hover:after {
	margin-left: -15px;
}

/*SLICKNAV MENU
-------------------------------------------------*/

.slicknav_menu {
	border-bottom: 4px solid #f3c7c2;
	background: #fff;
	overflow: hidden;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.slicknav_menu a {
	color: #fff;
	text-decoration: none;
}
.slicknav_menu .slicknav_open {
	color: #fff;
}
.slicknav_btn {
	float: right;
	padding: 10px;
	margin: 5px;
	font: 700 16px/20px Arial, sans-serif;
	z-index: 10000000;
}
.slicknav_menutxt {
	display: none;
}
.slicknav_menutxt,
.slicknav_icon {
	float: left;
}
.slicknav_icon-bar {
	display: block;
	width: 1.5em;
	height: 0.25em;
	margin: 3px;
	background-color: #E64C3C;
}
.slicknav_nav {
	padding: 0 0 15px 0;
	clear: both;
	list-style: none;
	margin: 0;
	text-align: center;
}
.slicknav_nav a {
	display: block;
	padding: 10px;
	color: #444;
	text-decoration: none;
	outline: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}
.slicknav_nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.slicknav_nav a:hover,
.slicknav_nav a:active,
.slicknav_nav a:focus,
.slicknav_nav .current-menu-item a,
.slicknav_nav .current_page_item a {
	color: #E64C3C;
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}
.slicknav_menu {
	display: none;
}
@media (max-width: 991px) {
	.slicknav_menu {
		display: block;
	}
	.nav {
		display: none;
	}
}

/*SCROLL TOP BUTTON
-------------------------------------------------*/

.go-top-btn {
	position: fixed;
	z-index: 1;
	right: 40px;
	bottom: 60px;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 1;
	color: #fff;
	background: #444;
	cursor: pointer;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	-moz-opacity: 0.5;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background: #E64C3C;
}
.go-top-btn:hover {
	-moz-opacity: 1;
	opacity: 1;
	filter: alpha(opacity=100);
}
.go-top-btn:before {
	content: "";
	position: absolute;
	height: 16px;
	width: 16px;
	left: 50%;
	top: 50%;
	margin-left: -8px;
	margin-top: -8px;
	background: url(img/icons.png) no-repeat -31px -5px;
}

.go-top-btn:hover:before {
	-moz-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}

/*RESPONSIVE
-------------------------------------------------*/

@media only screen and (max-width: 1199px) {
	.top-image .slider-content {
		text-align: center;
		padding-left: 50px;
		padding-right: 50px;
	}
	.top-image .btn-wrap {
		text-align: center;
	}
}
@media only screen and (max-width: 991px) {
	.logo,
	.header-tel,
	.copyright,
	.footer-tel {
		text-align: center;
		margin: 3% auto;
	}
	.footer-bottom {
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flexbox;
		display: -o-flex;
		display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
	}
	.footer-bottom > *:first-child {
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
	}
}
@media only screen and (max-width: 640px) {
	.template-blog .img-wrap {
		display: none;
	}
}
@media only screen and (max-width: 480px) {
	.template-404 .article-title {
		font-size: 100px;
	}
	.template-404 .article-text {
		font-size: 16px;
	}
	.content-wrap {
		border: 0;
		padding: 0;
	}
}
