@media screen and (max-width: 1024px) {
html { 
	background-size: cover;
}
	
.deskOnly{
	display:none;
}
.mobileOnly {
	display: block;
}	

.inner,.mainContent #boxes-center {
	width: 94%;
	float:none;
	display: block;
	margin-right:auto;
	margin-left:auto;
	margin-top: 0px;
}

img{
	max-width:100%;
	height: auto !important;
}
#header{
	height:10px;
}
	
#header img{
	height:25px !important;
}
#header .inner #logo img {
	width: auto;
    margin-top: 4px;
    height: 25px !important;
}

.mainContent {
	height: auto;
    margin-top: 0px;
    text-align: center;
}

.mainContent #boxes-center .box {
	width: 80%;
	display: inline-block;
	vertical-align: top;
	background-color: #172228;
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #faf7ce;
	padding: 10px;
	height: 320px;
	margin: 20px;
	font-size: 18px;
	line-height: 20px;
	color: #faf7ce;
	text-align: right;
}

.mainContent #boxes-center .box h1,
.mainContent #boxes-center .box h2 {
	font-size: 24px;
	line-height: 28px;
}

.mainContent #boxes-center .box .forIcon {
	float: right;
	width: 64px;
	margin-left: 16px;
	padding-top: 0px;
}

.mainContent #boxes-center .box img {
	margin-bottom: -10px;
}

.mainContent {
	width: 94%;
	margin-right: auto;
	margin-left: auto;
}
#teamLogos {
    height: auto;
    clear: both;
    padding-top: 5px;
    font-size: 12px;
    padding-bottom: 5px;
}
#teamLogos .inner{
	width:275px;
}	
#teamLogos img {
	width: 40px;
    display: inline;
    margin: 0;
}
#teamLogos .inner span{
	margin-right:1px;
	margin-left:0px;
}
#votingDiv .inner .curIcon {
    margin-right: auto;
    margin-left: auto;
    display: block;
}
#votingDiv .inner h1 {
    font-size: 30px;
}
.voteButton.noMarginAuto{
	margin-right:auto;
	margin-left:auto;
	float:none;
	
}
.voteButton.blue{
	margin-top:20px;
}
#submitRegister.voteButton {
	margin-right: auto;
	margin-top: 50px;
}


h1, h2 {
	font-size: 24px;
	line-height: 28px;
}

.playersPart,.playersPart.wide{
	clear:both;
	width:300px;
	margin:0 auto;
	direction:rtl;
}
.playersPart .item.en .playerDetails {
    font-size: 11px;
}
.playersPart .item,.playersPart .item.small {
    width: 120px;
}

.playersPart .item .playerDetails {
    font-size: inherit;
}
.playersPart .item .playerDetails .playerName {
    padding-top: 9px;
}

#contact-form {
	max-width: 100%;
	display: block;
	padding: 0px;
	margin: 20px auto;
	text-align: center;
	font-size: 16px;
	line-height: 18px;
}

#contact-form .fld .float {
	float: right;
	margin-left: 20px;
}

#contact-form #selectTeams div {
    width: 151px;
}
#contact-form #selectTeams div:last-child {
    width: 310px;
}
.voteButton.displayBlock {
   display: block;
}
.teamPlayers {
   margin: 0 auto;
    float: right;
    height: 230px;
    width: 150px;
    margin-bottom: 20px;
	font-size:13px;
}
.teamPlayers:nth-child(3n) {
   margin: 0 auto;
    margin-bottom: 20px;
}

.error {
    font-size: 13px;
}
#votingDiv .show {
    width: 300px;
}
.twoButton{
	width:280px;
	margin:0 auto;
}
.mainContent #left #lang {
	margin-top: 0px;
	padding-top:10px;
}
#votingDiv .inner .playersPart .selectDiv {
    width: 100px;
	padding-bottom: 10px;
}
#votingDiv .inner .playersPart .selectDiv select {
    width: 120px;

}
#votingDiv .inner .playersPart .selectDiv:last-child {
    margin-right: 20px;
}

.teamPlayers h3 {
    font-size: 16px;
}
#mainCategories .teamPlayers:last-child{
	margin-right:0px;
}	
#fiveCategories .teamPlayers:nth-child(2n-1){
	margin:0 auto;
}
#fiveCategories .teamPlayers:nth-child(3n) {
	margin:0 auto;
}
#fiveCategories .teamPlayers:last-child{
	margin-right:0px;
}	
.marginForNewLine {
	margin-right: 0px !important;
}
.marginForLast {
	margin-right: 0px !important;
}

.mainContent #logo-center img {
	width: 80%;
	height: auto;
	max-width: 100%;
}


}

@media (max-width: @iphone-screen) {
html { 
        background-attachment: scroll;
}
}

