@media screen and (max-width: 1180px) {
	
	img{
        max-width: 100% !important;
        height: auto !important;
        width: auto\9; /* ie8 */
    }
    
    .aktualnosc_big img, .aktualnosc_small img{
    	height: 100% !important;
    }
    
    #userNavWrapper nav,
    #mainNavWreapper,
    #siteWrapper,
    #mainFooterWrapper{
        width: 100% !important;
    }
    
    #banner{
    	height: auto;
    }
    	
    	#banner .button{
    		margin: 0;
    	}
    	
	.konkursyTitle{
		line-height: 54px;
	}
	
	.flaga{
		height: 10px !important;
	}
	
	h3.left,
	h3.right{
		float: none;
	}
	
	#contestHeader{
		line-height: 40px;
		border-top: solid transparent 1px;
	}
	
		#contestHeader h1{
			margin-top: 50px;
			line-height: normal;
		}
    
    #siteWrapper{
    	padding: 0 2% 0;
    	box-sizing: border-box;
    }
    
    #logo{
    	margin-left: 20px;
    }
	
	#mainNav{
		margin-right: 20px;
	}
	
	.aktualnosc_big {
		width: 64%;
	}
	
	.aktualnosc_small{
		width: 35%;
	}
	
	#mainFooterWrapper{
		padding: 0 2% 0;
		box-sizing: border-box;
	}
	
	#contestsList{
		width: 75%;
	}
	
	#leftPanelWrapper{
		width: 20%;
		padding-right: 2%;
		margin-right: 2%;
	}
	
	#trasaWrapper {
        position: relative;
        padding-bottom: 75%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
    }
    #trasaWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
}

@media screen and (max-width: 900px) {

    #logo{
        right: 2%;
        left: auto;
    }
    
    #mainNav{
    	margin-right: 0;
    }

     #respMenu{
        position: relative;
	    cursor: pointer;
	    height: 30px;
	    float: right;
	    margin-top: 15px;
	    margin-right: 20px;
    }
    
   .respMenu-handler{
      	margin-left: 30px;
   	 	color: #fff;
   }
      
   .respMenu-handler span {
	    height: 4px;
	    width: 28px;
	    position: absolute;
	    top: 8px;
	    left: 0;
	    background: #23a4ff;
	    content: '';
	    display: block;
	    cursor: pointer;
	    -webkit-transition: all .1s linear;
	    -moz-transition: all .1s linear;
	    -o-transition: all .1s linear;
	    transition: all .1s linear;
   }
   
   .respMenu-handler span:nth-of-type(2) {
	    top: 0;
	}
	
	.respMenu-handler span:nth-of-type(3) {
	    top: 16px;
	}
	
	.respMenu-handler span:nth-of-type(1).active{
   		opacity: 0;
   		left: -20px;
   }
   
   .respMenu-handler span:nth-of-type(2).active{
   		transform: rotate(45deg);
   		top: 8px;
   }
   
   .respMenu-handler span:nth-of-type(3).active{
   		transform: rotate(-45deg);
   		top: 8px;
   }
   
   #mainNav{
       float: none;
       z-index: 999;
       position: relative;
       top: 26px;
       height: auto;
   }

   #mainNav > ul{
       position: absolute;
       width: 100%;
       z-index: 999;
       top: 65px;
   }
   
    #mainNav > ul > li{
        float: none;
        width: 100% !important;
        display: none;
        margin: 0 !important;
        background: #efefef;
    }
    
    #mainNav a{
        color: #000;
        display: block;
        padding: 0 20px !important;
        border-bottom: solid grey 1px;
    }
    
    #mainNav a:hover{
        text-decoration: none !important;   
    }
    
    #mainNav li:after{
        content: '';
        margin: 0;
    }
    
    .flip-clock-wrapper{
    	margin-left: 0 !important;
    	float: right;
    }
    
    #leftPanelWrapper input[type="submit"]{
    	width: 100%;
    }
   
    .normalContestDetails th{
    	border: none;
    }
    
    .normalContestDetails tr{
    	border-top: solid #e9e9e9 1px;
    	border-bottom: solid #e9e9e9 1px;
    }
    
    .normalContestDetails tr:last-of-type{
    	border: none;
    }
    
    .contestTrasaHeader{
    	line-height: 44px;
    }
}


@media screen and (max-width: 730px) {
	
	.contestData,
	.contestTime,
	#contestsList{
		float: none;
		width: 100%;
	}
	
	.aktualnosc_big,
	.aktualnosc_small{
		float: none;
		width: 100%;
		margin-bottom: 15px !important;
	}
	
	#leftPanelWrapper{
		width: 290px;
	    position: absolute;
	    left: -290px;
	    top: 100px;
	    -webkit-transition: all .4s ease;
	    transition: all .4s ease;
	    z-index: 9999;
	    border: none;
	    padding: 10px;
	    margin-right: 0;
	    background: #fff;
	    box-sizing: border-box;
    }

    .searchButton {
	    display: block;
	    width: 35px;
	    height: 35px;
	    content: '';
	    position: fixed;
	    left: 0;
	    top: 150px;
	    background: url(../images/site/spyglass.svg) center center no-repeat #ff6500;
	    background-size: 80%;
	    z-index: 9999;
	    cursor: pointer;
	    -webkit-transition: all .4s ease;
	    transition: all .4s ease;
	}
	
	.searchButton.active{
		left: 290px;
	}
	
	#leftPanelWrapper.active{
		left: 0;
	}
	
	#mainFooter p,
	#mainFooter ul{
		float: none;
	}
	
}

@media screen and (max-width: 600px) {
	
	img.left, img[style*="float: left"],
	img.right, img[style*="float: right"]{
		float: none !important;
		width: 100% !important;
		margin: 0;
	}
	
}