#searchform {margin-top: 20px;}
#searchform input[type="submit"]{width:18px;height:29px;float:left;margin:0;padding:0;background:0;background-image:url(img/search_icon.png);background-repeat:no-repeat;background-position:center;text-indent:-9999px}

#searchform input[type="text"] {
    background-color: #FFFFFF;
    border: 0 none;
    font-family: 'Open Sans',sans-serif;
    font-size: 13px;
    margin: 0 0 25px;
    outline: 0 none;
    padding: 5px;
    width: 80%;
    float:left;
margin-right: 10px;
}

.rpwe-block ul {
    list-style: none outside none !important;
    margin-left: 0 !important;
    padding-left: 10px !important!important;
}

.screen-reader-text {display: none;}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 10px) 
and (max-width : 767px) {
  .title .container {display:none;}
  .rpwe-thumb {display:none!important;}

}
}


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  .title .container {display:none;}
  .rpwe-thumb {display:none!important;}

}

}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px)
and (max-device-width : 480px) {
  
  .rpwe-thumb {display:none!important;}

}

}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px)
and (max-device-width : 767px) {

  .rpwe-thumb {display:none!important;}

}

}

@media only screen
and (min-width : 901px)
and (max-width : 1023px) {
nav .main_menu .ul .li a {font-size: 12px!important;}


}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 900px) {
  .title.with_image {padding-top:100px;}
  .title .container {bottom: 70px;}
.main_menu{
		display: none !important;
	}

       .logo {top: 30px!important; margin-left:20px;}
        .logo .img {top:0!important;}

	.selectnav {
		display: block;
		margin: 0px;
	}

	.selectnav_button{
		display: block;
	}
   
       .logo a {height: 50px!important;}

  .rpwe-thumb {display:none!important;}

}

@media only screen
and (min-width:901px)
and (max-width: 1024px) {
  .rpwe-thumb {display:none!important;}
}


@media only screen 
and (min-width : 1025px) 
and (max-width : 1200px) {
  .title.with_image {padding-top:100px;}
 .rpwe-thumb {display:none!important;}
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
  .title.with_image {padding-top:100px!important;}
 .rpwe-thumb {display:none!important;}
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
  .title.with_image {padding-top:100px!important;}
  .title .container {bottom: 70px;}
.main_menu{
		display: none !important;
	}

	.selectnav {
		display: block;
		margin: 0px;
	}

	.selectnav_button{
		display: block;
	}

      .rpwe-thumb {display:none!important;}

}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 901px) {
 .title.with_image {padding-top:105px;}
}


@media only screen 
and (min-width : 1024px) {
 .title.with_image {padding-top:100px;}
}

@media only screen 
and (min-width : 1280px) {
 .title.with_image {padding-top:80px;}
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1624px) {
 .title.with_image {padding-top:0px;}
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
  /* Styles */
}

/* iPhone 5 ----------- */
/* You've spent way to much on a phone */

