
div.page_top{
	display: inline-block;
	position: absolute;
	right: 0px;
	top: 5px;
	height: 36px;
}

div.ad_list{
	width: 100%;
	
	/*	
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
	-webkit-justify-content: space-around;
	*/
	
	display: flex;
	justify-content: space-around;
	flex-flow: row wrap;
	margin: 0px auto;
	clear: both;
	overflow: auto;
	/*background-color: red;*/
    text-align: center;
}

div.ad_list_vip{
	position: relative;
	background-color: #0b7685;
	width: 100%;
	height: 260px;
	overflow: hidden;
	white-space: nowrap; 
}

div.ad_list_item{
	position: absolute;
	display: inline-block;
	margin: 0px;
	padding: 0px;
	width: auto;
	height: auto;
	text-align: center;
}

div.ad_awarded{
	color: #ffffff;
	background-color: #005966;
	/*background: red;
    background: -webkit-linear-gradient(red 10%, #980000 90%);
    background: -o-linear-gradient(red 10%, #980000 90%);
    background: -moz-linear-gradient(red 10%, #98000 90%);
    background: linear-gradient(red 10%, #980000 90%);
    
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);
	*/
}

div.ad_awarded:HOVER{
	/*border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	
	box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);
	-moz-box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);*/
}

div.ad_normal{
	background-color: #005966;
	color: #ffffff;
	/*background: red;
    background: -webkit-linear-gradient(red 10%, #980000 90%);
    background: -o-linear-gradient(red 10%, #980000 90%);
    background: -moz-linear-gradient(red 10%, #98000 90%);
    background: linear-gradient(red 10%, #980000 90%);
    
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.75);*/
}


div.ad_normal:HOVER{
	/*border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	
	box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);
	-moz-box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.9);*/
}

a.ad{
	position: relative;
	display: inline-block;
	min-width: auto;
	max-width: 100%;
	
	margin-left: auto;
	margin-right: auto;
	margin: 3px;
	padding: 0;

	text-decoration: none;
}

a.ad:VISITED{
	text-decoration: none;
}

div.offer_empty{
	position: relative;
	display: inline-block;
	width: 154px;
	height: 0px;
	
	margin-left: auto;
	margin-right: auto;
	margin: 3px;
	padding: 0;

	text-decoration: none;
	background-color: transparent;
	border: 1px solid rgba(0, 0 , 0, 0);
}

div.offer{
	position: relative;
	display: inline-block;
	width: 154px;
	height: 250px;
	border: 1px solid rgba(0, 0 , 0, 0.5);
	margin: 0px;
	
	/*border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;*/
	
	color: #ffffff;
	font-size: 16px;
	
	transition: all .309s ease-in-out;
}

div.offer: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 table img:hover, div.offer table img:focus, div.offer table img:active {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

div.list_ad_sash{
	position: absolute;
	z-index: 100;
	top: -5px;
    right: -4px;
	width: 96px;
    /*background-color: rgba(180, 180, 0, 0.7);*/
}

img.list_ad_sash_logo{
	position: absolute;
	right: 0px;
	top: 10px;
	width: 50px;
	
	/*border: 1px red solid;*/
}

img.list_ad_sash_sash{
	width: 100%;
}

div.ad_normal div.ad_crown{
	display: none;
}

div.ad_awarded div.ad_crown{
	position: absolute;
	
	background-image: url('/img/crown_golden.png');
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    top: -16px;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 32px;
    height: 32px;
    z-index: 100;
}

div.offer div.working_on, div.offer div.working_off{
	position: absolute;
	z-index: 100;
	width: 10px;
	height: 10px;
	right: 5px;
	top: 70%;
	border-radius: 10px;
}

div.offer div.working_on{
	background-color: rgba(0,255,0, 1);
	
	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: 1px solid rgba(255,255,255,0.8);
}

div.offer div.working_off{
	background-color: rgba(255,0,0, 1);
	
	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: 1px solid rgba(255,255,255,0.8);
}

div.offer div.ad_club{
	position: absolute;
	bottom: 1px;
	right: 1px;
	left: 1px;
	font-size: 80%;
	text-align: left;
	background-color: rgba(0,0,0, 1);
	padding: 1px;
}

div.offer div.ad_price_per_hour{
	position: absolute;
	bottom: 1px;
	right: 5px;
	font-size: 85%;
}

div.offer div.ad_age{
	position: absolute;
	bottom: 1px;
	left: 5px;
	font-size: 85%;
}

div.offer div.ad_name{
	position: absolute;
	z-index: 100;
	bottom: 40px;
	left: 0px;
	right: 0px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0px;
	font-size: 95%;
	text-align: center;
	overflow: hidden;
}

div.offer div.offer_city_name{
	position: absolute;
	z-index: 100;
	bottom: 20px;
	left: 0px;
	right: 0px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0px;
	text-align: center;
	/*color: rgba(255, 255, 255, 0.5);*/
	opacity: 0.5;
	overflow: hidden;
}


div.offer div.offer_img{
	position: absolute;
	left: 0;
	right: 0;
	top: 0px;
	margin-left: auto;
	margin-right: auto;
	
	width: 100%;
	height: 190px;
	overflow: hidden;
}

div.ad_movie{
	background-color: transparent;
	position: absolute;
	background-image: url('/img/movie_flat.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%; 
	
	top: 5px;
	right: 5px;
	width: 32px;
	height: 32px;
}

div.offer div.offer_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .309s ease-in-out;
}

div.offer:HOVER div.offer_img img{
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

div.offer_info{
	box-sizing: border-box;
	display: none;
	z-index: 1100;
	position: absolute;
	top: -95px;
	left: 0px;
	right: 0px;
	margin-left: auto;
	margin-right: auto;
	background-color: rgba(0, 0, 0, 0.95);
	
	width: 250px;
	height: 430px;
	text-align: center;
	font-size: 12px;
	
	border: 2px solid #ffffff;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
}

div.offer_info div.working_on, div.offer_info div.working_off{
	position: static;
	margin-left: 5px;
	display: inline-block;
}

div.offer_info_img {
	display: block;
	width: 250px;
	height: calc(175/140 * 250px);
}

div.offer div.offer_info_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

div.offer_info h2{
	display: inline;
	font-size: 12px;
}

div.offer_info h3{
	/*background-color: red;*/
	color: rgba(255, 0, 0, 1);
	font-weight: bold;
	font-size: 16px;
	margin: 0px;
	
	text-shadow: 
		/*4px 4px 2px rgba(255, 255, 255, 0.4),*/
		0 0 10px rgba(255, 0, 0, 0.8), 
		0 0 20px rgba(255, 0, 0, 0.8), 
		0 0 30px rgba(255, 0, 0, 0.8), 
		0 0 40px rgba(255, 0, 0, 0.8), 
		0 0 70px rgba(255, 0, 0, 0.8);
}

div.offer_info span:BEFORE{
	color: rgba(255, 0, 0, 1);
	content: '\02605';
	text-shadow: 
		/*4px 4px 2px rgba(255, 255, 255, 0.4),*/
		0 0 10px rgba(255, 0, 0, 0.8), 
		0 0 20px rgba(255, 0, 0, 0.8), 
		0 0 30px rgba(255, 0, 0, 0.8), 
		0 0 40px rgba(255, 0, 0, 0.8), 
		0 0 70px rgba(255, 0, 0, 0.8);
}

div.ad_awarded div.offer_img{
	/*border: 2px solid #ffff66;*/
}

div.ad_awarded div.ad_price_per_hour,
div.ad_awarded div.ad_age,
div.ad_awarded div.ad_name/*,
div.ad_awarded div.rotate*/{
	color: #ffff66;
	/*text-shadow: 
		4px 4px 2px rgba(0,0,0,0.7);*/
}


/* ############################################# */

/*@media screen and (max-width: 480px){*/
/*@media screen and (max-width: 768px){*/
@media screen and (max-width: 880px){
	div.page_top{
		display: none;
	}
	
	div.ad_list{
		
	}
	
	div.ad_list_vip{
		position: relative;
		background-color: #0b7685;
		width: 100%;
		height: 180px;
	}
	
	a.ad{
		margin: 1px;
	}
	
	div.offer_empty{
		width: 105px;
		margin: 1px;
	}
	
	div.offer{
		position: relative;
		display: inline-block;
		width: 105px;
		height: 170px;
		/*border: none;*/
		/*margin: 1px;*/
		
		color: #ffffff;
		font-size: 16px;
	}
	
	div.offer div.working_on, div.offer div.working_off{
		position: absolute;
		z-index: 100;
		width: 7px;
		height: 7px;
		right: 5px;
		top: auto;
		bottom: 5px;
		border-radius: 7px;
	}
	
	div.offer div.offer_img{
		position: absolute;
		left: 0;
		right: 0;
		top: 0px;
		margin-left: auto;
		margin-right: auto;
		
		width: 100%;
		height: 130px;
		overflow: hidden;
	}
	
	div.offer div.ad_name{
		position: absolute;
		z-index: 100;
		bottom: 20px;
		left: 0px;
		right: 0px;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 0px;
		font-size: 95%;
		text-align: center;
		overflow: hidden;
		white-space: nowrap;
	}
	
	div.offer div.offer_city_name{
		/*display: none;*/
		position: absolute;
		z-index: 100;
		bottom: 5px;
		left: 0px;
		right: 0px;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 0px;
		text-align: center;
		opacity: 0.5;
		overflow: hidden;
	}


	div.offer div.ad_price_per_hour{
		display: none;
	}
	
	div.offer div.ad_age{
		display: none;
	}

}
