div.offer_container{
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	
	width: 100%;
	max-width: 1400px;
	min-height: 1150px;
	height: auto;
	position: relative;
	color: #ffffff;
	border: 0px dotted yellow;
	/*background-color: rgba(255,0,255,0.3);*/
}

div.offer_container a{
	color: #ffffff;
	text-decoration: none;
}

div.offer_container a:HOVER{
	text-decoration: underline;
}

div.offer_container h2{
	margin: 0px;
	/*padding: 3px;*/
	text-align: left;
	font-weight: normal;
	font-size: 16px;
	color: white;
	width: auto;
	height: auto;
	text-transform: uppercase;
}

div.offer_container h2:AFTER{
	content: ':';
}

div.offer_container h3{
	display: inline-block;
	margin: 0px;
	padding: 0px;
	font-size: 140%;
}

div.ad_container_awarded h3{
	display: inline-block;
	margin: 0px;
	padding: 0px;
	font-size: 140%;
	color: #ffcc00;
	text-shadow: 
		0px 0px 10px #ffcc00,
		0px 0px 20px #ffcc00,
		0px 0px 30px #ffcc00;
}
/*
h1 span.phone{
	padding-left: 24px;
	background-image: url('/img/phone_flat_v2.svg');
	background-repeat: no-repeat;
	background-position: 0px 5px;
	background-size: 24px 24px;
}*/
/*
div.offer_description::-webkit-scrollbar, div.offer_thumb_container::-webkit-scrollbar {
    width: 12px;
}
 
div.offer_description::-webkit-scrollbar-track, div.offer_thumb_container::-webkit-scrollbar-track {
	background-color: rgba(160,0,0, 0.4);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0, 0.5); 
    border-radius: 10px;
    border: 2px solid rgba(180,0,0, 0.8);
}
 
div.offer_description::-webkit-scrollbar-thumb, div.offer_thumb_container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(255,0,0, 1);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9); 
}*/

div.offer_mobile_phone{
	display: none;
}

div.offer_buttons{
	position: absolute;
	z-index: 100;
	right: 0px;
}

div.offer_buttons_btn{
	position: absolute;
	z-index: 1000;
	display: none;
}

div.offer_header{
	height: 40px;
	margin: 0px;
	margin-top: 0px;
	margin-bottom: 10px;
	padding: 0px;
	position: relative;
}

div.offer_header div.working_on, div.offer_header div.working_off{
	position: absolute;
	left: 5px;
	top: 5px;
	width: 20px;
	height: 20px;
	border-radius: 20px;
}

div.offer_header div.working_on{
	background-color: rgba(0,255,0, 0.7);
	
	box-shadow: 0px 0px 10px 4px rgba(0, 255, 0, 0.8);
	-moz-box-shadow: 0px 0px 10px 4px rgba(0, 255, 0, 0.8);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(0, 255, 0, 0.8);
	
	border: 2px solid rgba(0,255,0,0.8);
}

div.offer_header div.working_off{
	background-color: rgba(255,0,0, 0.7);
	
	box-shadow: 0px 0px 10px 4px rgba(255, 0, 0, 0.8);
	-moz-box-shadow: 0px 0px 10px 4px rgba(255, 0, 0, 0.8);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(255, 0, 0, 0.8);
	
	border: 2px solid rgba(255,0,0,0.8);
}

div.offer_header h1{
	background: none;
	margin-left: 0px;
	padding-left: 40px;
	padding-top: 5px;
	padding-bottom: 5px;
}

div.offer_header h3, h4{
	background: none;
}

div.offer_crown{
	position: absolute;
	
	position: absolute;
	
	min-width: 200px;
	max-width: 390px;
	max-height: 350px;
	left: calc(60% + 10px);
	width: 40%;
	
	/*left: calc(60% + 100px);*/
	top: -40px;
	/*width: 190px;*/
	/*background-color: rgba(255, 255, 0, 0.5);*/
	
	text-align: center;
}

div.offer_crown img{
	/*width: 100%;*/
	width: 170px;
}

div.offer_sash{
	position: absolute;
	
	right: -7px;
	top: -11px;
	width: 200px;
}

div.offer_sash img.offer_sash_sash{
	position: absolute;
	right: 0px;
	top: 0px;
	
	width: 100%;
}

div.offer_sash img.offer_sash_logo{
	position: absolute;
	right: 10px;
	top: 10px;
	
	width: 60%;
}

div.offer_likes{
	box-sizing: border-box;
	display: block;
	position: absolute;
	padding: 3px;
	right: 3px;
	bottom: 3px;
	width: 80px;
	height: 80px;
	
	/*border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;*/
	
	background-color: rgba(0,0,0, 0.4);
	border: 1px solid #005966;
	cursor: pointer;
	text-transform: uppercase;
}

div.offer_likes:HOVER{
	/*border: 1px solid #99ff66;
	color: #99ff66;
	
	-webkit-transition: border .25s ease .1s;
    -moz-transition: border .25s ease .1s;
    -o-transition: border .25s ease .1s;
    -ms-transition: border .25s ease .1s;
    transition: border .25s ease .1s;
    
    -webkit-transition: color .25s ease .1s;
    -moz-transition: color .25s ease .1s;
    -o-transition: color .25s ease .1s;
    -ms-transition: color .25s ease .1s;
    transition: color .25s ease .1s;*/
}

div.offer_likes_body{
	box-sizing: border-box;
	position: relative;
	margin: 0px;
	width: 100%;
	height: 100%;
	background-color: #005966;
}

div.offer_likes img{
	position: absolute;
	top: 20px;
	left: calc(50% - 35px);
	width: 70px;
}

div.ad_likes_stats_text{
	position: absolute;
	top: 5%;
	font-size: 10px;
	text-align: center;
	width: 100%;
	border-bottom: 0px solid white; 
}

div.ad_likes_stats_count{
	position: absolute;
	top: 75%;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	width: 100%;
}

div.offer_big_img{
	position: relative;
	max-width: calc(70%);
	width: calc( 100% - 300px - 10px );
	min-height: 500px;
	height: 100%;
	padding: 0px;
	
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 0, 0, 0.5);
}

div.offer_big_img img.big{
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
	max-width: 100%;
	max-height: 100%;
	position: absolute;
}

div.offer_big_img h2{
	position: relative;
	z-index: 100;
}

div.offer_thumb_container{
	position: relative;
	max-width: calc(70%);
	width: calc( 100% - 300px - 10px );
	height: 120px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	
	background-color: rgba(0, 0, 0, 0.6);
}

div.offer_thumb_img{
	display: inline-block;
	vertical-align: middle;
	
	padding: 0px;
	padding-right: 5px;
	margin: 0px;
	
	width: 100px;
	height: 100px;
}

div.offer_thumb_img img.offer_small{
	opacity: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	border: 1px solid #ffffff;
}

div.offer_thumb_img img.offer_small:HOVER{
	border: 1px solid #99ff66;
	
	-webkit-transition: border .25s ease .1s;
    -moz-transition: border .25s ease .1s;
    -o-transition: border .25s ease .1s;
    -ms-transition: border .25s ease .1s;
    transition: border .25s ease .1s;
}

div.offer_text_and_description{
	position: absolute;
	top: 40px;
	min-width: 300px;
	max-width: 450px;
	right: 5px;
	width: calc(30% - 10px);
}

div.offer_text{
}

div.offer_text div.offer_text_line{
	margin: 0px;
	padding: 0px;
	border-bottom: 1px solid white;
}

div.offer_text table{
	/*background-color: rgba(255, 25, 0, 0.7);*/
	width: 100%;
}

div.offer_text table thead tr th{
	text-align: center;
}

div.offer_text table tbody tr th{
	padding-left: 0px;
	text-align: left;
	font-weight: normal;
	white-space: nowrap;
	min-width: 150px;
	
}

div.offer_text table tbody tr th:FIRST-LETTER{
	color: white;
}

div.offer_text table tbody tr th:AFTER{
	content: ':';
}

div.offer_text table tbody tr th.offer_text_head{
	text-align: center;
	font-weight: bold;
	white-space: nowrap;
	padding: 3px;
}

div.offer_text table tbody tr th.offer_text_head:AFTER{
	content: none;
}

div.offer_text table tbody tr th.offer_text_head h4{
	margin: 0px;
	text-transform: uppercase;
	font-weight: bold;
}

div.offer_text table tr td{
	padding-left: 0px;
	
	text-align: left;
	padding-right: 0px;
	font-weight: bold;
	/*white-space: nowrap;*/
	/*font-size-adjust: 0.58;*/
}

img.offer_flag{
	width: 30px;
	vertical-align: middle;
	margin-left: 5px;
}

/*---BEGIN: LOCATION---*/
div.offer_voivodeship_r{
	display: table-row;
}
div.offer_voivodeship_n{
	display: table-cell;
	width: 160px;
}
div.offer_voivodeship_v{
	display: table-cell;
}

div.offer_city_r{
	display: table-row;
}
div.offer_city_n{
	display: table-cell;
	width: 160px;
}
div.offer_city_v{
	display: table-cell;
}

div.offer_district_r{
	display: table-row;
}
div.offer_district_n{
	display: table-cell;
	width: 160px;
}
div.offer_district_v{
	display: table-cell;
}
/*---END: LOCATION---*/

div.offer_description{
	box-sizing: border-box;
	max-height: 350px;
	padding: 5px;
	/*padding-top: 25px;*/
	overflow: auto;
	color: #ffffff;
	text-align: justify;
}

div.offer_description b{
	font-size: 110%;
	font-weight: bold;
}

div.offer_description acronym{
	color: red;
	font-weight: bold;
	text-decoration: underline;
	/*border-bottom: 1px dashed #ba0000;*/
}

div.ad_work_hours{
	/*position: relative;
	margin-top: 10px;
	box-sizing: border-box;
	width: 60%;
	height: auto;
	padding: 5px;
	padding-top: 20px;*/
	
	/*position: absolute;
	top: 40px;
	left: calc(50% + 20px);*/
	width: 100%;
	padding: 0px;
	/*border: 1px solid white;*/
	margin: auto;
}

div.ad_ad_work_hours_days_selected, div.ad_ad_work_hours_days{
	display: table-cell;
	padding: 1px;
	margin: 1px;
	width: 50px;
	height: 50px;
	font-size: 100%;
	/*font-size: 1vw;*/
	text-transform: capitalize;
	text-align: center;
	vertical-align: middle;
}

div.ad_ad_work_hours_days_selected{
	background-color: #608000;
	border: 1px solid #8BA28B;
}

div.ad_ad_work_hours_days{
	background-color: rgba(0,0,0,0.4);
	border: 1px solid #8BA28B;
}

div.ad_ad_work_hours_days_c0{ font-size: 80%; }
div.ad_ad_work_hours_days_c1{ font-size: 110%; }

div.offer_tags{
	margin-top: 10px;
	box-sizing: border-box;
	max-width: 70%;
	width: calc( 100% - 300px - 10px );
	height: auto;
	padding: 5px;
}

div.offer_tags a{
	display: inline-block;
	
	border: 1px solid white;
	padding: 5px;
	padding-left: 7px;
	padding-right: 7px;
	margin: 6px;
	min-width: 150px;
	text-decoration: none;
	text-align: center;

	background-image: url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png'), 
		url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png'),
		url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png');
	background-position: 0px 0px, right 0px bottom 0px, center;
	background-repeat: repeat-x, repeat-x, repeat-x;
	/*background-color: #005966;*/
	background-size: 100% 1px, 100% 1px, 100% 75%;
	
	/*background-color: rgba(140,0,0,0.4);
	background: linear-gradient(rgba(140,0,0,0.4) 10%, rgba(140,0,0,0.0) 90%);
	background: -o-linear-gradient(rgba(140,0,0,0.4) 10%, rgba(140,0,0,0.0) 90%);
    background: -moz-linear-gradient(rgba(140,0,0,0.4) 10%, rgba(140,0,0,0.0) 90%);
    background: linear-gradient(rgba(140,0,0,0.4) 10%, rgba(140,0,0,0.0) 90%);
	
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	
	box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
	
	border: 2px solid rgba(180,0,0,0.8);*/
	/*border: 1px solid #8BA28B;*/
	border: none;
}

div.offer_tags a:HOVER{
	color: #ffffff;
	background-color: black;
	background-image: none;
	text-decoration: underline;
}

div.ad_comments{
	margin-top: 10px;
	box-sizing: border-box;
	max-width: 70%;
	width: calc( 100% - 300px - 10px );
	height: auto;
	padding: 5px;
	/*background-color: rgba(200,200,0, 0.5);*/
}

div.ad_comments_items{
	display: block;
}

div.ad_comments_box{
	display: block;
	position: relative;
	box-sizing: border-box;
	padding: 10px;
	margin: 5px;
	/*padding-top: 15px;*/
	width: 100%;
	height: auto;
	text-align: justify;
	overflow-y: auto;
}

div.ad_comments_box textarea{
	box-sizing: border-box;
	width: 100%;
	height: 100px;
	min-width: 80%;
	min-height: 80%;
}

div.ad_comments_img{
	background: white;
	width: 70px;
	height: 70px;
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
}

div.ad_comments_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

div.ad_container_awarded div.offer_big_img{
	/*background-image: url('/img/vip-a.png');*/
	/*background-image: url('/img/vip-vip-vip.png');*/
	background-size: 100%;
	background-repeat: repeat-x;
	/*background-position: left center;*/
	background-position: left top;
	background-size: 1000px;
}

/*
@media screen and (max-width: 1024px){
	div.offer_big_img{
		background-color: black;
	}
}

@media screen and (max-width: 800px){
	div.offer_header{
		height: 80px;
	}
	
	div.offer_description{
		position: relative;
		left: 0px;
		top: 0px;
		display: block;
		
		width: 100%;
		height: auto;
		max-width: none;
		max-height: none;
		text-align: left;
	}
	
	div.offer_text_header{
		font-size: 14px;
		text-align: left;
		position: static;
		display: block;
		margin-bottom: 10px;
	}
	
	div.offer_text{
		margin-top: 20px;
		margin-left: auto;
		margin-right: auto;
		
		position: static;
		display: block;
		padding: 0px;
		
		width: auto;
		height: auto;
		max-width: none;
		max-height: none;
	}
	
	div.offer_text table{
		width: 100%;
	}
	
	div.offer_text table tr th, div.offer_text table tr td{
		padding: 0px;
	}
	
	div.offer_big_img{
		position: relative;
		display: block;
		padding: 0px;
		margin: 0px;
		
		width: 100%;
		height: auto;
		max-width: none;
		max-height: none;
	}
	
	div.offer_big_img img.big{
		border-radius: 0px;
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
	}
	
	div.offer_thumb_container{
		position: static;
		display: none;
		
		width: 100%;
		height: auto;
		max-width: none;
		max-height: none;
	}
	
	div.offer_tags{
		margin-top: 20px;
		position: static;
		display: block;
		
		width: 100%;
		height: auto;
		max-width: none;
		max-height: none;
	}
	
	div.ad_work_hours{
		width: 100%;
		position: relative;
	}
}
*/

/*----------------------------------------------------*/
/*@media screen and (max-width: 480px)*/
@media screen and (max-width: 880px){
	div.offer_header{
		height: auto;
	}
	
	div.offer_mobile_phone{
		display: block;
		position: fixed;
		z-index: 20000;
		
		left: 0px;
		bottom: 0px;
		width: 100%;
		
		background-color: black;
		box-shadow: 0px -5px 5px rgba(0,0,0, 0.3);
	}
	
	div.offer_mobile_phone img{
		width: auto;
		height: 5vh;
	}
	
	div.offer_mobile_phone a{
		display: inline-block;
		width: 100%;
		padding: 5px;
		
		text-align: center;
		font-size: 5vh;
		font-weight: bold;
	}
	
	div.offer_big_img{
		position: relative;
		width: 100%;
		max-width: none;
		min-height: 500px;
		height: auto;
		margin-bottom: 10px;
	}

	div.offer_text_and_description{
		position: static;
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
		
	div.offer_thumb_container{
		position: relative;
		width: 100%;
		max-width: none;
		height: 120px;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
	}
	
	div.offer_tags{
		margin-top: 10px;
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		height: auto;
		padding: 5px;
	}
	
	div.offer_tags a{
		display: inline-block;
		
		padding: 5px;
		padding-left: 7px;
		padding-right: 7px;
		margin: 6px;
		min-width: 100px;
	}
	
	div.ad_comments{
		width: 100%;
		max-width: none;
	}
	
	/*div.ad_ad_work_hours_days_selected, div.ad_ad_work_hours_days{
		font-size: 80%;
	}*/
	
	div.ad_ad_work_hours_days_c1{
		padding-top: 5px; 
		font-size: 2.2vw; 
	}
}
