/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

.centering, #columns { width: 748px; }
.topnav .widget-col { padding-left: 10px; padding-right: 10px; }
.topnav ul li { margin-left: 2px; }
.topnav ul li a { padding: 45px 10px 14px; }

.services .service { width: 166px; }
.services .service img { max-width: 100%; height: auto; }

#centercol { width: 520px; }
#rightcol { width: 190px; }
#centercol.mid { width: 368px; }
.threecolum #rightcol { width: 170px; }

.post-comments .fr { width: 380px; }
.box2 { width: auto; }
.message input,
.message textarea { width: 92%; }

.contact_us div textarea { width: 92%; }
.full_width { width: auto!important; margin-bottom: 20px; }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

.logo { float: none; text-align: center; width: auto; }
#header h1 { text-align: center; width: auto; float: none; }
.logo small { text-align: center; }
#search { float: none; margin: 0 auto; padding-top: 0px; padding-bottom: 8px; }
.topnav { padding: 15px; height: auto; width: auto; float: none; }
.topnav ul.menusm, #nav1 ul { display: none; }
.topnav select, #nav1 select { display: block; width: 100%; padding: 4px; border: 1px solid #FFFFFF; border-radius: 5px; -moz-border-radius:5px; -webkit-border-radius:5px; }

#nav1 { padding: 10px 0; height: 31px; }

.slider, .sltextbox { width: auto; float: none; width: 100%; overflow: hidden; }

.services .service { width: auto; background: none; float: none; }
.services .service img { max-width: 100%; height: auto; }

#centercol { width: auto; float: none; margin-bottom: 30px; }
#rightcol { width: auto; float: none; }

#centercol.mid { width: auto; margin: 0px; float: none; }
.threecolum #rightcol { width: auto; float: none; }

.contact_us div textarea { width: 92%; }
.contact_us div input[type="text"] { width: 92%; }

table.contact-form td { display: block; padding-left: 0!important; border-left: 0!important; }

.post-comments .fr { width: 280px; }
.box2 { width: auto; }
.message input,
.message textarea { width: 88%; }
.full_width { width: auto!important; margin-bottom: 20px; }

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

.centering, #columns { width: 420px; }

/*- Begin Column Formatting -*/ 
.one_fourth, .one_third, .one_half, .two_third, .three_fourth { float:left; margin-bottom:20px; position:relative; }

.one_fourth { margin-right: 0; }
.one_third { margin-right: 5%; } 
.one_half { margin-right: 4%; } 
.two_third { margin-right: 4%; } 
.three_fourth { margin-right: 4%; }

.one_fourth, .one_fourth.last_column { width: 45%; }
.one_third { width: 30%; }
.one_half { width: 48%; }
 
.full_width { width: 100%; margin-bottom: 20px; }
.last_column { clear: right; margin-right:0 !important; }

#cont-box-4.one_fourth, #cont-box-2.one_fourth,
#bottom_2.one_fourth, #bottom_4.one_fourth { float: right; }

.clear-sep { clear: both; }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

.centering, #columns { width: 300px; }

/*- Begin Column Formatting -*/ 
.one_fourth, .one_third, .one_half, .two_third, .three_fourth { float: none; margin-bottom:20px; position:relative; }

.one_fourth { margin-right: 0; }
.one_third { margin-right: 0; } 
.one_half { margin-right: 0; } 
.two_third { margin-right: 0; } 
.three_fourth { margin-right: 0; }

.one_fourth, .one_fourth.last_column { width: 100%; }
.one_third { width: 100%; }
.one_half { width: 100%; }
 
.full_width { width: 100%; margin-bottom: 20px; }
.last_column { clear: right; margin-right:0 !important; }

#cont-box-4.one_fourth, #cont-box-2.one_fourth { float: none; }

.clear-sep { clear: both; }

}