@media screen and (min-width:768px) {
	#contests-block .prize-block .prize-list.prize-volume
	{
		display: flex;
	}
}
@media screen and (min-width:1200px) {
	.result-info .list-element-body .winner > div:last-of-type
	{
		width: 10%;
	}
	.widest .result-info .list-element-body .winner > div:nth-of-type(n+5)
	{
		text-align: right;
		padding-right: 100px;
	}
}
@media screen and (max-width:1366px) {
	#contests-block .prize-block .prize-list:not(.prize-volume) > div > div:first-of-type
	{
		font-size: 36px;
	}
}
@media screen and (max-width:1024px) {
	#contests-block .prize-block .prize-list
	{
		padding: 30px;
	}
	.result-info .list-element-head
	{
		white-space: inherit;
	}
	.result-info .list-element-head > div
	{
		margin-right: 42px;
	}
	#contests-block .head-element input
	{
		width: fit-content;
	}
}
@media screen and (max-width:878px) {
	.result-info .list-element-head > div,
	.result-info .list-element-head > div:last-of-type
	{
		display: inline-block;
		width: auto !important;
		min-width: min-content;
		font-size: 18px;
		font-weight: bolder;
		margin: 0 10px 10px 0 !important;
		padding: 0 !important;
		clear: both;
	}
	.result-info div.sortable a
	{
		padding: 3px 5px;
		font-size: 12px;
		border: 1px solid #440d00;
		border-radius: 3px;
		cursor: pointer;
	}
	.result-info div.sortable a:before
	{
		float: left;
	}
	.result-info .list-element-head > div > div
	{
		font-size: 18px;
		float: left;
		width: 200px;
		line-height: 42px;
	}
	.result-info .list-element-head
	{
		padding: 0;
	}
	.result-info .list-element-head > div > a,
	.result-info .list-element-head > div > a:focus,
	.result-info .list-element-head > div > a:active
	{
		margin-top: 0;
	}
	.result-info .list-element-body
	{
		margin: 0;
	}
	.result-info .list-element-body .winner
	{
		display: flex;
	}
	.result-info .list-element-body .winner > div:nth-of-type(2),
	.result-info .list-element-body .winner > div:nth-of-type(3)
	{
		text-align: left;
		width: 20%;
	}
	.result-info .list-element-body .winner > div:nth-of-type(4),
	.result-info .list-element-body .winner > div:nth-of-type(5),
	.result-info .list-element-body .winner > div:nth-of-type(6),
	.result-info .list-element-body .winner > div:nth-of-type(8)
	{
		text-align: left;
		width: 15%;
	}
	.result-info .list-element-body .winner > div:nth-of-type(1)
	{
		width: 10%;
		padding-left: 15px;
	}
	.result-info .list-element-head > div > div
	{
		width: 100%;
	}
}
@media screen and (max-width:767px){
	#contests-block
	{
		padding-top: 100px;
	}
	#contests-block h2
	{
		font-size: 22px;
	}
	.header
	{
		background:  url("/images/themes/primary/contests/header_m.jpg") no-repeat top right;
		background-size: cover;
		padding-bottom: 0;
		min-height: 420px;
	}
	.header h1
	{
		font-size: 32px;
		font-weight: bold;
		line-height: 42px;
		width: 240px;
		margin: 2rem auto;
	}
	.header h4
	{
		font-size: 24px;
	}
	.header p
	{
		font-size: 16px;
		font-weight: 600;
		line-height: 24px;
	}
	.header .button-block,
	.result-block .head-block
	{
		width: 320px;
		max-width: 100%;
		margin: 0 auto;
	}
	.header .button,
	.header .button:last-of-type,
	#contests-block .result-block .button-block .button,
	.header .button:first-of-type + .button:last-of-type,
	.result-block .button-block .button:first-of-type + .button:last-of-type
	{
		float: none;
		margin: 15px auto;
	}
	#contests-block .prize-block .prize-list
	{
		padding: 30px;
	}
	#contests-block .prize-block .prize-volume > div
	{
		margin-bottom: 0;
	}
	#contests-block .prize-block .prize-list > div
	{

	}
	#contests-block .prize-block .prize-list > div:first-of-type
	{
		width: 100%;
	}
	#contests-block .prize-block .prize-list:not(.prize-volume) > div > div:first-of-type
	{
		font-size: 42px;
		padding-bottom: 0;
	}
	#contests-block .result-block .button-block .button
	{
		display: block;
	}
	#contests-block .head-element > div,
	#contests-block .head-element input,
	#contests-block .head-element input:focus
	{
		width: 100%;
		max-width: 100%;
		float: none;
		margin: 0 auto;
	}
	#contests-block .head-element > div
	{
		text-align: center;
	}
	.result-info .list-element-body .winner
	{
		display: block;
		padding: 0 20px;
		white-space: inherit;
	}
	.result-info .list-element-head
	{
		white-space: inherit;
	}
	.result-info .list-element-body .winner > div,
	.result-info .list-element-body .winner > div:first-of-type,
	.result-info .list-element-body .winner > div:nth-of-type(2),
	.result-info .list-element-body .winner > div:nth-of-type(3),
	.result-info .list-element-body .winner > div:nth-of-type(4),
	.result-info .list-element-body .winner > div:nth-of-type(5),
	.result-info .list-element-body .winner > div:nth-of-type(6),
	.widest .result-info .list-element-body .winner > div:nth-of-type(1),
	.widest .result-info .list-element-body .winner > div:nth-of-type(2),
	.widest .result-info .list-element-body .winner > div:nth-of-type(3),
	.widest .result-info .list-element-body .winner > div:nth-of-type(4),
	.widest .result-info .list-element-body .winner > div:nth-of-type(5),
	.widest .result-info .list-element-body .winner > div:nth-of-type(6)
	{
		width: 100%;
		padding-left: 0;
	}
	.result-info .list-element-body .winner > div > span
	{
		display: inline-block;
	}
	.result-info .list-element-body .winner > div:before
	{
		content: attr(data-prename);
		display: inline-block;
		width: 150px;
		max-width: 60%;
	}
	.header p:last-of-type
	{
		margin-bottom: 15px;
	}
	#contests-block .prize-block .prize-list > div:nth-child(6)::before
	{
		display: none;
	}
	#contests-block .head-element input,
	#contests-block .head-element input:active,
	#contests-block .head-element input:focus
	{
		width: 100%;
		max-width: 100%;
		float: none;
	}
	#contests-block .prize-block .prize-list.prize-volume
	{
		width: 100%;
		max-width: 100%;
	}
	#contests-block .prize-block .prize-list.prize-volume > div
	{
		width: 100%;
	}
	#contests-block h1.contest_paid:after
	{
		bottom: -3px;
	}
	#contests-block .prize-block .prize-list:not(.prize-volume) > div
	{
		width: 100%;
	}
	#contests-block .result-info
	{
		margin-bottom: 1rem;
		overflow: auto;
	}
	.paginator-block > div:first-of-type
	{
		width: 100%;
		padding: 5px 0 1rem;
	}
	.paginator-block .pagination
	{
		display: table;
		margin: 0 auto;
		justify-content: center;
	}
}
@media screen and (max-width:540px){
	#contests-block .prize-block
	{
		padding: 0 0 15px;
	}
	#contests-block .head-element
	{
		padding: 20px;
	}
	.result-info .list-element-head
	{
		padding: 0;
	}
	#contests-block .prize-block .prize-volume > div > div:first-of-type
	{
		font-size: 16px;
	}
	.result-info .list-element-head > div > div
	{
		max-width: calc(100% - 155px);
		min-width: fit-content;
		line-height: 21px;
		align-self: center;
	}
	#contests-block .prize-block .prize-list.prize-volume > div > div
	{
		padding-left: 4rem;
	}
	#contests-block .prize-block .prize-list.prize-volume > div > div:first-of-type:before
	{
		width: 32px;
		height: 32px;
		line-height: 34px;
		margin-left: -4rem;
	}
	.result-info .list-element-body .winner > div
	{
		display: flex;
		align-content: start;
	}
	.winner .country > span:before
	{
		margin-top: 2px;
	}
	.paginator-block > div:first-of-type
	{
		width: 100%;
		padding-left: 0;
		padding-bottom: 25px;
		font-size: 13px;
	}
	.pagination > li > a.prev,
	.pagination > li > a.next
	{
		font-size: 36px;
		line-height: 21px;
	}
	.pagination li.next > a,
	.pagination li.prev > a
	{
		font-weight: bold;
		font-size: 26px;
		font-family: monospace;
		background: #3b0b00;
		color: #f4951d;
		width: 36px;
		height: 36px;
		border-radius: 36px;
		padding: 0;
		text-align: center;
		position: relative;
		top: 5px;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
	}
	.number-of-list
	{
		clear: right;
	}
	.number-of-list > span
	{
		padding-right: 10px;
	}
	#contests-block .head-element > div
	{
		font-size: 16px;
		text-align: left;
	}
	#contests-block .prize-block .prize-list > div > div:first-of-type
	{
		padding-bottom: 0;
	}
	#contests-block .result-info
	{
		margin: 20px 0 25px;
	}
	.result-info .list-element-body .winner > div:before
	{
		color: #ffffff;
	}
	.number-of-list select
	{
		padding: 5px 0px 5px 15px;
	}
	#contests-block .prize-block .prize-list > div > div:last-of-type
	{
		font-size: 16px;
	}
	#contests-block .head-element
	{
		padding: 18px;
	}
	.result-info .list-element-head > div, .result-info .list-element-head > div:last-of-type
	{
		display: inline-grid;
	}
	#contests-block h1.contest_paid:after
	{
		content: url('/images/content/paid_16.png');
		bottom: 10px;
	}
}
@media screen and (max-width:468px){
	.mobile-body ul.pagination > li > a
	{
		width: 32px;
		height: 32px;
		padding: 0;
		line-height: 32px;
	}
	.mobile-body ul.pagination > li.next > a,
	.mobile-body ul.pagination > li.prev > a
	{
		margin-top: -5px;
	}
}
@media screen and (max-width:414px){
	.header
	{
		padding: 15px 50px;
	}
	.result-info .list-element-body .winner > div,
	.result-info .list-element-body .winner > div:first-of-type,
	.result-info .list-element-body .winner > div:nth-of-type(2),
	.result-info .list-element-body .winner > div:nth-of-type(3),
	.result-info .list-element-body .winner > div:nth-of-type(4),
	.result-info .list-element-body .winner > div:nth-of-type(5),
	.result-info .list-element-body .winner > div:nth-of-type(6)
	{
		font-size: 12px;
	}
	.result-info .list-element-body .winner > div.realized_profit:before
	{
		max-width: 70%;
	}
	.pagination > li > a
	{
		font-size: 14px;
	}
}
@media screen and (max-width:360px){
	.header
	{
		background-size: contain;
	}
	.result-info .list-element-body .winner > div:before
	{
		width: 100%;
		max-width: 125px;
	}
	#contests-block .prize-block .prize-list > div > div:first-of-type
	{
		font-size: 21px;
	}
	#contests-block .head-element > div {
		padding: 10px 0;
		text-align: center;
	}
	.result-info .list-element-body .winner > div.realized_profit:before
	{
		width: 125px;
		max-width: 70%;
	}
	.result-info .list-element-body
	{
		overflow-x: hidden;
	}
}
@media screen and (max-width:320px){
	body
	{
		min-width: 320px !important;
		overflow: auto;
	}
	.header h1
	{
		width: inherit;
	}
	.result-info .list-element-body .winner
	{
		padding: 0 5px 0 15px;
	}
	.result-info .list-element-body .winner > div:before
	{
		width: 90px;
		min-width: 90px;
		max-width: inherit;
	}
	.result-info .list-element-body .winner > div.realized_profit:before
	{
		max-width: 48%;
	}
}
@media screen and (max-width:290px){
	.result-info .list-element-head > div > div,
	.result-info .list-element-head > div > a,
	.result-info .list-element-body .winner > div,
	.result-info .list-element-body .winner > div:first-of-type
	{
		font-size: 12px;
	}
	#contests-block
	{
		padding-top: 85px;
	}
	#contests-block .prize-block .prize-list > div
	{
		margin-bottom: 15px;
	}
	#contests-block .prize-block .prize-list > div > div:first-of-type
	{
		font-size: 24px;
	}
	.result-info .list-element-body .winner > div.realized_profit:before
	{
		max-width: 65%;
	}
}
@media screen and (max-width:280px){
	.result-info .list-element-body .winner > div:last-of-type
	{
		padding-right: 43px;
	}
}
/* fix for iPad Pro */
@media screen and (min-width:1024px) and (max-width:1024px){
	.header
	{
		background-position-x: 85%;
	}
	.header p
	{
		text-shadow: 0 0 5px #000000;
	}
	.paginator-block > div:first-of-type
	{
		display: block;
		width: 100%;
		margin-bottom: 15px;
	}
	#contests-block .result-info
	{
		margin-bottom: 0;
	}
	.paginator-block .pagination
	{
		margin: 5px auto 0;
		display: table;
	}
	.number-of-list
	{
		padding-top: 0;
	}
	#contests-block .header .button-block .button:last-of-type
	{
		background: rgba(255,255,255,0.35);
		border-color: #ffffff;
		color: #131313;
	}
}
/* fix for iPad */
@media screen and (min-width:768px) and (max-width:768px){
	.header {
		background: url('/images/themes/primary/contests/header_m.jpg') no-repeat top right;
		background-size: cover;
	}
	.header h1
	{
		padding-left: 25%;
		padding-right: 25%;
	}
	#contests-block .prize-block .prize-list > div > div:first-of-type
	{
		font-size: 32px;
	}
	#contests-block .result-info
	{
		margin-bottom: 0;
	}
	.paginator-block > div:first-of-type
	{
		width: 100%;
	}
	.paginator-block .pagination
	{
		display: table;
		margin: 5px auto;
		position: relative;
		top: 10px;
	}
	.pagination > li > a, .pagination > li > a:active, .pagination > li > a:focus
	{
		font-weight: normal;
	}
	.result-info .list-element-head
	{
		white-space: inherit;
	}
	.result-info .list-element-head > div > div
	{
		width: 228px;
	}
	.result-info .list-element-head > div > a, .result-info .list-element-head > div > a:focus, .result-info .list-element-head > div > a:active
	{
		width: 376px;
	}
	#contests-block .head-element input, #contests-block .head-element input:active, #contests-block .head-element input:focus
	{
		max-width: 100%;
		width: 100%;
		float: none;
	}
}
/* fix for Surface Duo */
@media screen and (min-width:540px) and (max-width:540px){
	.result-info .list-element-head > div > div
	{
		width: calc(100% - 200px);
	}
	.result-info .list-element-head > div > a, .result-info .list-element-head > div > a:focus, .result-info .list-element-head > div > a:active
	{
		width: 250px;
	}
}