/*
Theme Name: RDLine
Author: Euphoria Studio
Author URI: https://www.euphoriastudio.ru/
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

/*  f5f5f5 201c1a
Colors 
#FFFFFF - white
#C7C6CB - lt gray
#676868 - gray
#363430 - dk gray
#030102 - almost black
#E2B525 - yellow 
#F1CC5A - lt yellow
*/

/* Base */
body a:hover, 
body a:focus, 
body a:visited {
	text-decoration: none;
	-webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;	
}
body a img:hover, 
body a img:focus {
	opacity: 0.8 !important;
	-webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}
body .align-right {
	text-align: right;
}
body .align-left {
	text-align: left;
}
body .align-center {
	text-align: center;
}
body .hide-me {
	display: none;
}
body .no-margin {
	margin: 0;
}
body .no-padding {
	padding: 0;
}
/* Theme basic */
a[href^="tel"] {
    color: #E2B525;
}
a[href^="tel"]:hover,
a[href^="tel"]:focus {
    color: #F1CC5A;
}
.column_column ul, .column_column ol, .the_content_wrapper ul, .the_content_wrapper ol {
	color: #d4d4d3;
	margin: 15px 0 15px 30px;
}
.fancy_heading_line {
	background-image: none;
	padding-bottom: 0;
}
.icon_box .icon_wrapper {
	background: none;
	border-color: transparent;
	-webkit-box-shadow: none;
    box-shadow: none;
}
.icon_box .icon_wrapper::before {
    border-color: transparent;
}
.icon_box:hover .icon_wrapper {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.how_it_works .image .number {
	width: 70px;
	height: 70px;
	line-height: 70px;
	font-size: 35px;
	-webkit-box-shadow: none;
    box-shadow: none;
}
.how_it_works .image .number:hover {
	background: #fff;
	color: #333;
	-webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;	
}
.how_it_works.no-img .image {
    height: 70px;
}
.how_it_works.no-img .image .number {
    margin-left: -35px;
}
.image .image_frame,
.post-item .image_frame,
.portfolio-item .image_frame {
	border-width: 0;
}
.image .image_frame .image_wrapper .image_links,
.post-item .image_frame .image_wrapper .image_links,
.portfolio-item .image_frame .image_wrapper .image_links {
	display: none;
}
.portfolio-item .image_frame .image_wrapper .mask {
	-webkit-box-shadow: none;
	box-shadow: none;
	display: none;
}
.portfolio-item .image_frame:hover .image_wrapper img, 
.portfolio-item .image_frame.hover .image_wrapper img {
	opacity: 1 !important;
}
.column_column ul.list-icon, 
.column_column ol.list-icon, 
.the_content_wrapper ul.list-icon, 
.the_content_wrapper ol.list-icon {
	list-style: none;
}
.column_column ul.list-icon i, 
.column_column ol.list-icon i, 
.the_content_wrapper ul.list-icon i, 
.the_content_wrapper ol.list-icon i {
	margin-left: -25px;
	margin-right: 5px;
	color: #E2B525;
}
blockquote {
	font-size: 20px;
	margin: 0 0 35px 50px;
}
blockquote::after {
	color: #d4d4d3;
	left: -50px;
}
table td {
	border-color: #d4d4d3;
}
.post-footer {
    background: none;
}
.post-footer .post-links {
	border-color: transparent;
}
.whitecolor {
	color: #fff;
}
.column_column ul, 
.column_column ol, 
.the_content_wrapper:not(.is-elementor) ul, 
.the_content_wrapper:not(.is-elementor) ol {
	color: #d4d4d3;
}
.image_frame .image_wrapper .mask {
	display: none;
}
a.footer_button,
a.action_button,
a.button_dark,
.wpcf7 input[type="submit"] {
	font-family: "PT Sans Narrow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
a.action_button {
	border-radius: 5px;
}
a.button_dark {
	background-color: transparent !important;
	color: #ffffff !important;
	border: 2px solid #ffffff !important;
	border-radius: 5px;
	margin: 0;
}
a.button_dark:hover,
a.button_dark:focus,
a.button_dark:hover::before {
	background-color: #1c1b19 !important;
	color: #ffffff !important;
	border: 2px solid #1c1b19 !important;
}
body .big {
	color: #fff;
}
/* Galery overlay fixes */
.mfp-wrap button::after {
	display: none !important;
}
.mfp-bottom-bar {
	margin-top: -22px;
}

/* Header*/
#Top_bar .logo {
    margin: 0 30px 0 0px;
}
#Top_bar .top_bar_right_wrapper {
	display: block;
    top: 10px;
}
#Top_bar a#search_button {
    position: relative;
	top: -15px;
    display: block;
    float: left;
    font-size: 23px;
    line-height: 22px;
    margin-right: 5px;
    margin-left: -15px;
	color: #ffffff;
}
#Top_bar .top_bar_right {
	float: right;
	position: relative;
	top: 0px;
	padding: 0 20px;
}
#Top_bar .top_bar_right .top_bar_right_wrapper {
	display: block;
	top: 10px;
	position: relative;
}
#Top_bar .top_bar_right .contact_details {
	padding: 0 0 10px 25px;
}
#Top_bar .top_bar_right .contact_details li {
	white-space: nowrap;
}
#Top_bar .top_bar_right .contact_details a {
	color: #E2B525;
	font-size: 17px;
}
#Top_bar .top_bar_right .contact_details a:hover,
#Top_bar .top_bar_right .contact_details a:focus {
	color: #F1CC5A;
}
#Top_bar .top_bar_right a#search_button:hover,
#Top_bar .top_bar_right a#search_button:focus {
    color: #E2B525;
}
#Top_bar .search_wrapper {
	margin-top: 1px;
}
#Top_bar .search_wrapper input[type="text"] {
    color: #030102;
}
#Top_bar .top_bar_right .action_button {
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
	top: -1px;
	margin: 0 5px;
    padding: 10px 20px;
    text-decoration: none !important;
    line-height: 21px;
    box-sizing: border-box;
	font-size: 16px;
}
#menu > ul > li > a, 
#overlay-menu ul li a {
    letter-spacing: 2px;
}
#Top_bar .menu > li > a span:not(.description) {
	padding: 0 10px;
}
.menu-line-below #Top_bar .menu > li > a::after {
    top: auto;
    bottom: -5px;
}
/* Fixed header */
#Top_bar.is-sticky .top_bar_right_wrapper {
    top: 8px;
}
#Top_bar.is-sticky a.action_button {
	display: none;
}
#Top_bar.is-sticky a#search_button {
    top: -42px;
}
/* Subheader */
body #Wrapper #Subheader .breadcrumbs {
    margin-top: 5px;
}
#Subheader::after {
	box-shadow: none;
}
/* Froms */
div.wpcf7 .ajax-loader {
	display: none;
}
.wpcf7 form .wpcf7-response-output {
	padding: 0;
}
span.wpcf7-list-item {
    margin: 0;
}
.wpcf7-list-item-label {
	font-weight: normal;
	font-size: 15px;
	color: #aaaaaa;
}
.wpcf7-form-control.wpcf7-captchar {
	margin-bottom: 0;
}
.wpcf7-form-control.wpcf7-captchac.captha-image {
	margin: 5px;
}
/* Footer */
#Footer #back_to_top.footer_button:hover,
#Footer #back_to_top.footer_button:focus {
	color: #E2B525 !important;
}
#Footer .widgets_wrapper {
	padding: 20px 0 0 0;
}
#Footer .widgets_wrapper .widget {
	margin: 20px 0 0 0;
}
#Footer .menu {
	text-align: center;
}
#Footer .menu li {
	display: inline;
}
#Footer .menu li a {
	display: inline;
}
#Footer .footer_copy .one {
	padding-top: 20px;
	margin-bottom: 30px;
}
#Footer .footer_copy .copyright {
	float: none;
	text-align: center;
}
/* Main page */
.contacts-home h5 {
	margin-bottom: 4px;
	color: #E2B525;
}
.contacts-home h4 a {
	color: #fff;
}
.contacts-home h4 a:hover,
.contacts-home h4 a:focus {
	color: #E2B525;
}
/* Blocks */
/* slider */
/* Catalog */
.portfolio_group .portfolio-item .desc .title_wrapper h5 {
	font-size: 22px;
}
.portfolio_group .portfolio-item .desc {
    background: none;
	text-align: center;
}
.portfolio_group .portfolio-item .desc a:hover,
.portfolio_group .portfolio-item .desc a:focus {
	color: #E2B525;
}
/* Contacts */
.contacts-phone,
.contacts-email {
	margin: 0; /*1% 20px;*/
}
.contacts-phone h4,
.contacts-phone h5,
.contacts-phone a {
	color: #030102;
}
.contacts-phone a:hover,
.contacts-phone a:focus {
	color: #363430;
}
.contacts-email h4,
.contacts-email h5,
.contacts-email a {
	color: #FFFFFF;
}
.contacts-email a:hover,
.contacts-email a:focus {
	color: #F1CC5A;
}

/* Yandex Maps */
ymaps.ymaps-2-1-79-map ymaps.ymaps-2-1-79-ground-pane,
.YMaps ymaps[class$="-ground-pane"] {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}
.ymaps-wrapper div:not([id^="yamap"]),
.ymaps-wrapper > p:last-child,
.YMaps ymaps[class$="-controls__toolbar"],
.YMaps ymaps[class$="-map-copyrights-promo"] {
	display: none !important;
}

/* Search */
body.search .post-meta .author,
body.search .post-meta .date span {
	display: none;
}

/* Gallery overlay */
body img.mfp-img {
	background: #1c1b19;
	padding: 20px;
}

/* Client lists */
body ul.clients .client_wrapper {
	height: 150px;
}

/* Calculator */
body #prices .mcb-item-code-inner {
	margin: 0;
}
body #prices pre {
	background: none;
	border: none;
	padding: 20px;
	margin: 0;
}
body #prices .ezfc-wrapper .ezfc-form {
	background: none;
	padding: 0;
}
body #prices .ezfc-wrapper .ezfc-element {
	padding: 10px;
}
body #prices .ezfc-wrapper .ezfc-price-wrapper-element {
	white-space: nowrap;
	text-align: center;
}
body #prices .ezfc-wrapper .ezfc-price-wrapper-element .ezfc-label {
	display: inline-block;
	font-size: 24px;	
}
body #prices .ezfc-wrapper .ezfc-price-wrapper-element .ezfc-price-wrapper {
	display: inline-block;
}
body #prices .ezfc-wrapper .ezfc-price-wrapper-element .ezfc-price {
	color: #fff;
	display: inline;
	font-size: 24px;
	font-weight: 400;
	padding: 0;
	font-family: "PT Sans Narrow","Helvetica Neue",sans-serif;
}
body #prices .ezfc-wrapper .ezfc-label {
	color: #999;
	font-size: 18px;
	padding: 0;
	font-family: "PT Sans Narrow","Helvetica Neue",sans-serif;
}
body #prices .ezfc-wrapper .ezfc-element-input, 
body #prices .ezfc-wrapper .ezfc-element-numbers, 
body #prices .ezfc-wrapper .ezfc-element-select, 
body #prices .ezfc-wrapper .ezfc-element-textarea {
	color: #ffffff;
	background-color: rgba(28,27,25,1);
	border: 1px solid #41413f;
	font-weight: 400;
	box-shadow: none;
}
body #prices .ezfc-wrapper .ezfc-element-input:focus, 
body #prices .ezfc-wrapper .ezfc-element-numbers:focus, 
body #prices .ezfc-wrapper .ezfc-element-select:focus, 
body #prices .ezfc-wrapper .ezfc-element-textarea:focus {
	color: #e2b525;
	background-color: rgba(28,27,25,1);
	border-color: #e2b525;
}
body #prices .ezfc-wrapper .ezfc-slider-element {
	margin: 0;
}
body #prices .ezfc-wrapper .ezfc-slider-element .ui-slider-handle {
	background: #e2b525;
}
/* Blog */
body .section-post-header .single-photo-wrapper {
	margin-bottom: 30px;
}
body .section-post-related {
	padding-bottom: 40px;
}
body .section-post-related .section-related-adjustment > h4 {
	font-size: 32px;
	text-align: center;
}
body .section-post-related .col-3 .post-related {
	padding: 1%;
}
body .section-post-related .simple .post-related a.button {
	text-align: center;
	margin: 0 auto;
	display: block;
	width: 200px;
}

/* Fixed nav fixes */
body .fixed-nav .photo img {
	height: 100%;
	max-width: 150%;
}
body .fixed-nav .desc {
	display: none !important;
}

/* Responsive */
@media (max-width: 1239px) {
	
}
@media (max-width:960px) {
	#Subheader {
		text-align: center;
	}
}
@media (max-width:767px) {
	#Top_bar .top_bar_right {
		height: 45px !important;
	}
	#Top_bar .top_bar_right .top_bar_right_wrapper {
		display: block;
		padding-top: 0;
	}	
	#Top_bar .top_bar_right .contact_details {
		padding: 0;
	}
	#Top_bar .top_bar_right a.action_button,
	#Top_bar .top_bar_right a#search_button {
		display: none;
	}
	.contacts-home > div {
		padding: 0 !important;
	}
	.wpcf7-form .column.one-second {
		width: 48% !important;
		margin: 0 1% 20px;
		clear: none;
	}
	body .section-post-related .col-3 .post-related {
		padding: 10px 0 30px 0;
	}
}
@media (max-width:480px) {
	table th, table td {
		padding: 5px;
		font-size: 14px;
	}
}

/* Animation */
