   /* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.container {width:100%;}
.header {width:100%;}
.content {width:330px;}
.leftcontent {width:100%;}
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.container {width:100%;}
.header {width:100%;}
.content {width:100%;}
.leftcontent {width:100%;}
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.container {width:100%;}
.header {width:100%;}
.content {width:320px;}
.leftcontent {width:100%;}
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.header {width:100%;}
.content {width:100%;}
}

/* iPads (landscape) ----------- */
and (min-device-width : 1024px) 
and (max-device-width : 768px) {
.rmm {display:none;}
.header {width:100%;}
.content {width:100%;}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.header {width:100%;}
.content {width:100%;}
.leftcontent {width:100%;}
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.container {width:100%;}
.header {width:100%;}
.content {width:100%;}
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
.nav {display:none;}
.rmm {display:block;}
.container {width:100%;}
.header {width:100%;}
.content {width:100%;}
.leftcontent {width:100%;}
}


/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1024px) {
/* Styles */
.nav {display:block;}
.rmm {display:none;}
.header {width:100%;}

}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
.header {width:100%;}
.nav {display:block;}
.rmm {display:none;}

}