.required{
	color: red;
}
.carousel-control {
    width: 5%;
}
.page_box{
	padding-top: 56px; padding-bottom: 5px;
}
.page_box_inside{
	max-width: 1200px; margin: auto; background-color: white; padding: 20px;
}
.background_grey{
	background-color: #f3f3f9;
}
.social_block{
	padding: 7px; 
}
.social_inline_block{
	display: inline-block; vertical-align: top; padding: 7px; 
}
#google_maps{
	height: 400px
}
.google_maps_p{
	margin-bottom:0;
}
.google_maps_img{
	height: 100px; margin-top: 5px;
}
.table tr:first-child td {
    border-top: none;
}
.ads{
	margin: 5px auto; text-align: center;
}
.ads *{
	max-width: 100%;
}
.left_ads .ads:first-child{
	margin-top: 0;
}
.right_ads .ads:first-child{
	margin-top: 0;
}
.feedback_tab{
	position: fixed;
	left: 0;
	top: 48%;
	z-index: 1040;
	transform: rotate(-90deg) translate(-50%, 0);
	transform-origin: left top;
	background: #ec644b;
	color: #fff;
	border: 0;
	border-radius: 4px 4px 0 0;
	padding: 2px 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.feedback_tab:hover,
.feedback_tab:focus{
	background: #d9533d;
	color: #fff;
	outline: none;
}
.carousel img {
    min-width: 100%;
}
.site_text{
	max-width: 1000px; margin: auto;
}
.content_page{
	max-width: 100%;
	overflow-wrap: break-word;
}
.content_page .layer-affiliate,
.content_page .layer-affiliate .col-sm-3{
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
}
.content_page img{
	max-width: 100% !important;
	height: auto !important;
}
.content_page table,
.content_page iframe,
.content_page video{
	max-width: 100% !important;
}
.overflow_auto{
	overflow: auto; position: relative;
}
.overflow_hidden{
	overflow: hidden;
}
.btn-1{
    background-color: #ec644b; color: white;
}
.btn-1:hover, .btn-1:focus{
    background-color: #d2553f; color: white;
}
a{
	color: #ec644b;
}
a:hover{
	color: #cb5039;
}
#rodo-message .btn{
	white-space: normal;
}
/* top*/
#top{
	background-color: #261a16; padding: 4px 20px;
}
#top p{
	margin-bottom:0;
}
#top a{
	color: white; font-size: 0.8em;
}
/* menu nav */
#menu_box{
	padding-right: 20px; padding-left: 20px; background-color: white; border-bottom: solid 1px #e8e8e8;
}
#menu_box img{
	max-height: 40px; margin-top:-10px; max-width: 100%;
}
#menu_box li.menu_link a, #menu_box li.menu_link.active a:hover{
	color: #1f1f1f;
}
#menu_box li.menu_link a:hover{
	color: #114a82; background-color: transparent; 
}
#menu_box li.menu_link.active a{
	background-color: rgba(0,0,0,0.1); padding: 7px; margin: 8px; border-radius: 5px;
}
/* registration, log in and reset password */
#registration_box{
	margin: 50px auto; float: none; background-color: #f6f5f2; box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
#registration_box form{
	padding: 15px;
}
/* add and edit offer */
#box_add_offer hr{
	margin-top: 40px; margin-bottom: 40px;
}
#preview_load{
	padding: 45px;
}
#preview_photos{
	padding: 10px 20px;
}
#preview_photos .img-thumbnail{
	margin: 7px;
}
#preview_photos img{
	max-height: 150px;
}
#photos_info{
	margin-top: 20px;
}
/* main page - index */
#slider{
	margin-top:-50px;
}
#slider p{
	margin: 0;
}
#slider .carousel-caption {
	bottom: 140px;
}
#search_box{
	max-width: 1200px; margin: 20px auto 40px; background-color: rgba(255,255,255,0.8); z-index: 10; position: relative; border: solid 1px white; border-radius: 3px;
}
#search_box.search_box_slider{
	margin-top: -150px;
}
.hr {height: 1px; color: #ed1d61;background-color: #ed1d61;
}
.page_box_index{
	padding-top: 5px;
	background: #fff;
}
.market_search_bar{
	background: transparent;
	padding: 0 0 5px;
}
.market_search_bar > .container{
	background: #425f84;
	padding-top: 5px;
	padding-bottom: 5px;
}
.market_search_form{
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.market_search_keyword{
	flex: 1 1 420px;
}
.market_search_category{
	flex: 0 0 300px;
}
.market_search_keyword input,
.market_search_category select{
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 5px;
	background: #fff;
	color: #2c3d50;
	font-size: 18px;
	padding: 0 18px;
	box-shadow: none;
}
.market_search_keyword input::placeholder{
	color: #8d98a6;
}
.market_search_button,
.market_add_button{
	height: 52px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 52px;
	padding: 0 22px;
	text-align: center;
	white-space: nowrap;
}
.market_search_button{
	background: #3498db;
}
.market_search_button:hover,
.market_search_button:focus{
	background: #2788c8;
	color: #fff;
}
.market_add_button{
	background: #ef332d;
	margin-left: auto;
	text-decoration: none;
}
.market_add_button:hover,
.market_add_button:focus{
	background: #d92520;
	color: #fff;
	text-decoration: none;
}
.market_intro{
	padding: 5px 0;
}
.market_intro h2{
	margin: 0 0 28px;
	font-size: 16px;
	font-weight: 700;
	color: #283a4f;
}
.market_categories{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 22px;
}
.market_category_item{
	display: flex;
	align-items: center;
	min-height: 58px;
	color: #2f5798;
	font-size: 18px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 4px;
}
.market_category_item:hover,
.market_category_item:focus,
.market_category_item.active{
	color: #1d3f77;
}
.market_category_item.active .market_category_icon{
	background: #dfeafa;
	box-shadow: inset 0 0 0 2px #2f5798;
}
.market_category_icon{
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	margin-right: 16px;
	border-radius: 6px;
	background: #f4f7fb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 31px;
	text-decoration: none;
}
.market_category_icon:before{content: "📌";}
.market_category_item:nth-child(12n+1) .market_category_icon:before{content: "🖼️";}
.market_category_item:nth-child(12n+2) .market_category_icon:before{content: "🏢";}
.market_category_item:nth-child(12n+3) .market_category_icon:before{content: "🏗️";}
.market_category_item:nth-child(12n+4) .market_category_icon:before{content: "🧒";}
.market_category_item:nth-child(12n+5) .market_category_icon:before{content: "🏡";}
.market_category_item:nth-child(12n+6) .market_category_icon:before{content: "🛒";}
.market_category_item:nth-child(12n+7) .market_category_icon:before{content: "💻";}
.market_category_item:nth-child(12n+8) .market_category_icon:before{content: "🎵";}
.market_category_item:nth-child(12n+9) .market_category_icon:before{content: "👗";}
.market_category_item:nth-child(12n+10) .market_category_icon:before{content: "🚙";}
.market_category_item:nth-child(12n+11) .market_category_icon:before{content: "👷🏼‍♀️";}
.market_category_item:nth-child(12n+12) .market_category_icon:before{content: "🚜";}
.market_category_item:nth-child(12n+13) .market_category_icon:before{content: "⚽";}
.market_category_item:nth-child(12n+14) .market_category_icon:before{content: "👨‍🔧";}
.market_category_item:nth-child(12n+15) .market_category_icon:before{content: "🔑";}
.market_category_item:nth-child(12n+16) .market_category_icon:before{content: "🩺";}
.market_category_item:nth-child(12n+17) .market_category_icon:before{content: "💍";}
.market_category_item:nth-child(12n+18) .market_category_icon:before{content: "🐶";}
.market_subcategories{
	margin-top: 5px;
	border-top: 1px solid #e0e6ef;
	padding-top: 5px;
}
.market_subcategory_panel h3{
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	color: #283a4f;
}
.market_subcategory_links{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 18px;
}
.market_subcategory_links a{
	color: #2f5798;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 4px;
}
.market_subcategory_links a .glyphicon{
	margin-right: 7px;
	color: #ec644b;
	font-size: 12px;
}
.market_day_offer{
	border: 1px solid #dce4ee;
	background: #fff;
	padding: 14px;
}
.market_day_photo{
	display: block;
	width: 100%;
	height: 355px;
	background: #f3f5f7;
	overflow: hidden;
}
.market_day_photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.market_day_body{
	position: relative;
	padding: 12px 4px 4px;
}
.market_day_body h3{
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}
.market_day_body h3 a{
	color: #26364b;
}
.market_day_place{
	color: #3c4654;
	font-size: 15px;
	margin: 0 0 4px;
}
.market_day_category{
	margin: 0;
}
.market_day_more{
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
	color: #2f5798;
}
.market_day_offer_empty{
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7787;
}
.market_latest_title{
	margin: 5px 0;
	font-weight: 700;
	color: #283a4f;
}
.market_slider_container{
	margin-bottom: 5px;
}
.market_slider_container #slider{
	margin-top: 0;
}
.market_slider_container #slider .carousel-caption{
	bottom: 30px;
}
.page_box_results{
	padding-top: 56px;
}
.market_results_search{
	margin-bottom: 5px;
}
.market_results_container h1{
	margin: 0 0 22px;
	font-size: 28px;
	font-weight: 700;
	color: #283a4f;
}
.market_sort_form{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 5px;
}
.market_sort_form label{
	margin: 0;
	color: #3c4654;
}
.market_sort_form select{
	width: auto;
	min-width: 160px;
}
.market_results_list{
	margin-bottom: 5px;
}
.market_result_offer{
	background: #fff;
	border: 1px solid #dfe5ec;
	margin-bottom: 5px;
	padding: 14px;
}
.market_result_offer.promoted{
	border-color: #ec644b;
	box-shadow: inset 4px 0 0 #ec644b;
}
.market_result_photo{
	display: block;
	height: 205px;
	background: #f3f5f7;
	overflow: hidden;
}
.market_result_photo img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.market_result_offer h2{
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 700;
}
.market_result_offer h2 a{
	color: #26364b;
}
.market_result_meta{
	margin-bottom: 10px;
	color: #6b7787;
}
.market_result_meta a{
	color: #2f5798;
	font-weight: 700;
}
.market_result_meta span{
	margin: 0 7px;
}
.market_result_description{
	color: #4d5866;
	line-height: 1.55;
	margin-bottom: 10px;
}
.market_result_distance{
	font-weight: 700;
	color: #283a4f;
}
.market_result_more{
	display: inline-block;
	margin-top: 4px;
	font-weight: 700;
	color: #fff;
	background: #3498db;
	border-radius: 4px;
	padding: 8px 14px;
}
.market_result_more:hover,
.market_result_more:focus{
	color: #fff;
	background: #2788c8;
	text-decoration: none;
}
#form_search_offers{
	background: #fff;
	border: 1px solid #dfe5ec;
	padding: 15px 15px 15px 21px;
}
.market_filter_category{
	border-bottom: 1px solid #edf1f5;
	padding: 4px 0;
}
.market_filter_parent{
	position: relative;
	padding-right: 28px;
}
.market_filter_toggle{
	position: absolute;
	right: 0;
	top: 0;
	width: 24px;
	height: 24px;
	border: 1px solid #d6e0ec;
	border-radius: 3px;
	text-align: center;
	line-height: 22px;
	font-weight: 700;
	text-decoration: none;
}
.market_filter_toggle:hover,
.market_filter_toggle:focus{
	text-decoration: none;
	background: #eef4fb;
}
.market_filter_children{
	padding-left: 22px;
	margin-top: 4px;
}
.offers_index{
	border: solid 1px #eceeeb; margin: 10px; 
}
.offers_index .img_link{
	height: 190px; display: block; width: 100%; position: relative;  margin-bottom: 10px;
}
.offers_index .img_link img{
	max-height: 100%; max-width:100%; position: absolute; left:0; right:0; top:0; bottom:0; margin: auto;
}
.offers_index h4{
	overflow: hidden; text-overflow: ellipsis;    white-space: nowrap; color: #ec644b; padding: 0px 4px;
}
.offers_index p{
	padding: 0px 10px;
}
.offers_index_promoted{
	border-color: #ec644b;
}
.offers_index p a{
	color: #2d2323;
}
#index_text_1{
	background-color: #f6f6f6; padding: 30px 50px; margin-top: 50px;
}
/* offers */
.offers{
	background-color: white; padding: 15px 30px;
}
.offers .row{
	border-bottom: solid 1px #e7e7e7; padding: 20px;
}
.offers:last-child .row{
	border-bottom: none;
}
.offers .row.promoted{
	border: solid 1px #ec644b;
}
.offers img{
	max-width: 100%; max-height: 190px;
}
.offers h4{
	margin-top:0;
}
.offers_category p{
	color: white; margin: 0;
}
.offers_category a{
	color: white; 
}
.offers_category_top{
	background-color: #ec644b; padding: 5px;
}
.offers_category_bottom{
	background-color: #2d201a; padding: 5px;
}
#form_search_offers{
	padding: 15px;
}
/* offer */
#offer{
	background-color: white;
	padding-top: 5px;
	padding-bottom: 5px;
}
.offer_page{
	background: #f4f7fa;
}
.offer_header{
	margin-bottom: 5px;
}
.offer_header h1{
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #283a4f;
}
.offer_meta{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	color: #5f6d7d;
	font-size: 13px;
}
.offer_meta a{
	color: #405a78;
}
.offer_meta .glyphicon{
	margin-right: 5px;
	color: #425f84;
}
.offer_meta b{
	color: #268452;
}
.offer_layout{
	align-items: flex-start;
}
.offer_main{
	padding-right: 22px;
}
.offer_photo_slider{
	background: #f3f5f7;
	border: 1px solid #dfe5ec;
	margin-bottom: 5px;
	position: relative;
}
.offer_photo_slider .item{
	height: 430px;
	text-align: center;
}
.offer_photo_slider .item a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.offer_photo_slider .item img{
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.offer_photo_empty{
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.offer_photo_empty img{
	max-width: 100%;
	max-height: 100%;
}
.offer_photo_count{
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.55);
	color: #fff;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	z-index: 2;
}
.offer_share_row{
	min-height: 28px;
	margin: 5px 0;
}
.offer_share_row .social_block{
	display: inline-block;
	margin-right: 8px;
}
.offer_details_strip{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #e5ebf1;
	border-bottom: 1px solid #e5ebf1;
	margin: 5px 0;
}
.offer_details_strip div{
	padding: 10px 12px;
	border-right: 1px solid #e5ebf1;
}
.offer_details_strip div:last-child{
	border-right: 0;
}
.offer_details_strip span{
	display: block;
	color: #6b7787;
	font-size: 12px;
}
.offer_details_strip strong{
	display: block;
	margin-top: 3px;
	color: #283a4f;
	font-size: 14px;
}
.offer_description_box{
	background: #fff;
	border-bottom: 1px solid #e5ebf1;
	padding: 14px 0 18px;
	color: #2f3f52;
	line-height: 1.65;
}
.offer_contact_box{
	margin-top: 5px;
	background: #eaf2f8;
	border: 1px solid #d8e4ee;
	padding: 22px 28px;
}
.offer_contact_box h2{
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #283a4f;
}
.offer_contact_user{
	font-weight: 700;
	color: #425f84;
	margin-bottom: 5px;
}
.offer_contact_box textarea{
	resize: vertical;
}
.offer_contact_box .btn-primary,
.offer_action_box .btn-primary{
	background: #3498db;
	border-color: #3498db;
	font-weight: 700;
}
.offer_rules{
	display: block;
	font-weight: 400;
	color: #526274;
	margin: 8px 0 14px;
}
.offer_bottom_ad{
	margin-top: 5px;
}
.offer_views{
	margin: 12px 0 0;
	font-size: 12px;
	color: #6b7787;
}
.offer_sidebar{
	padding-left: 8px;
}
.offer_side_box{
	background: #fff;
	border: 1px solid #dfe5ec;
	padding: 18px;
	margin-bottom: 5px;
}
.offer_side_box h3{
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	color: #283a4f;
}
.offer_action_box .btn{
	margin-bottom: 5px;
	white-space: normal;
}
.offer_side_ad{
	margin-bottom: 5px;
}
.offer_similar{
	padding: 0;
	overflow: hidden;
}
.offer_similar h3{
	background: #e6edf3;
	padding: 12px 14px;
	margin: 0;
	font-size: 15px;
}
.offer_similar_item{
	display: block;
	padding: 12px 14px;
	border-top: 1px solid #e8eef4;
	color: #2f5798;
	font-weight: 700;
}
.offer_similar_item:hover,
.offer_similar_item:focus{
	text-decoration: none;
	background: #f7fafc;
}
.offer_similar_item img{
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	background: #f3f5f7;
	margin-bottom: 5px;
}
#offer_box_description{
	padding: 0 20px; 
}
#offer .tab-pane{
	padding: 20px 5px;
}
.offer-thumbnail{
	height: 150px; margin: 5px;
}
/* articles */
.articles_list .pull-left{
	width: 150px;
}
.articles_list .media-body{
	padding-top: 2px; padding-left: 10px;
}
@media (max-width: 767px){
	.content_page img{
		float: none !important;
		display: block;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.content_page table{
		display: block;
		overflow-x: auto;
	}
}
/* footer */
footer{
	max-width: 1170px;
	margin: 0 auto;
}
#footer_top{
	background-color: #fbfbfb; border-top: solid 1px #e4e8ea;
}
#footer_bottom{
	padding: 20px 20px 10px;  background-color: #2d2323; 
}
#footer_bottom p, #footer_bottom p a{
	color: white;
}
/* back to top */
#back_to_top{
	position: fixed; bottom: 15px; right: 15px; z-index: 100; opacity: 0.5; transition: all 0.5s;
}
#back_to_top:hover{
	opacity: 0.9;
}
#back_to_top.back_to_top_hidden{
	visibility:hidden;  opacity:0;
}
/* side panel facebook */
#facebook2_2{
	right: -300px; z-index: 1000; background-color: #2980b9; width: 300px; padding: 1px; height:354px; position: fixed; top: 88px; border: 1px solid white;
}
#facebook2_2_image{
	position: absolute; top:-1px; left:-40px; width:40px; height: 51px; background-color: #2980b9; border: solid 1px white; border-right: none; border-top-left-radius: 2px; border-bottom-left-radius: 2px; 
}
#facebook2_2_image img{
	position: absolute; top:15px; left: 14px;
}
/* style mobile */
@media(max-width: 768px) { 
	footer{
		max-width: none;
	}
	.market_search_bar > .container{
		width: auto;
		margin-left: 15px;
		margin-right: 15px;
	}
	#menu_box .navbar-brand {
		max-width: calc(100% - 70px);
	}
	.market_search_form{
		display: block;
	}
	.market_search_keyword,
	.market_search_category,
	.market_search_button,
	.market_add_button{
		display: block;
		width: 100%;
		margin: 0 0 5px;
	}
	.market_search_button,
	.market_add_button{
		padding: 0 12px;
	}
	.market_categories{
		grid-template-columns: 1fr;
		row-gap: 5px;
	}
	.market_subcategory_links{
		grid-template-columns: 1fr;
	}
	.market_day_photo{
		height: 235px;
	}
	.market_sort_form{
		justify-content: flex-start;
	}
	.market_result_photo{
		height: 220px;
		margin-bottom: 5px;
	}
	.offer_header h1{
		font-size: 24px;
	}
	.offer_main,
	.offer_sidebar{
		padding-left: 15px;
		padding-right: 15px;
	}
	.offer_photo_slider .item{
		height: 260px;
	}
	.offer_details_strip{
		grid-template-columns: 1fr;
	}
	.offer_details_strip div{
		border-right: 0;
		border-bottom: 1px solid #e5ebf1;
	}
	.offer_details_strip div:last-child{
		border-bottom: 0;
	}
	.offer_contact_box{
		padding: 18px;
	}
	.market_result_offer h2{
		font-size: 19px;
	}
	#search_box{
		margin-bottom:0;
	}
	#search_box.search_box_slider{
		margin-top: 0px;
	}
	.offers{
		text-align: center;
	}
	.offers img{
		margin-bottom: 5px;
	}
}
