/* ---- Style sheet for cvwdesign.com, very similar to the CVW Web Design Blog  ---- */

/* ----- Main styles -----*/

body {
	color: #333;
	background: #d2d5f0 url(http://www.cvwdesign.com/txp/images/146.jpg) repeat fixed;
	font-size: 62.5%;
	/* PT sans via Fontdeck*/
	font-family:/*"PT Sans Regular", 'Arial Unicode', 'Lucida Sans Unicode', */"Segoe UI", Arial, sans-serif; 
	/*font-size-adjust:0.5; 
	font-weight:normal; 
	font-style:normal;*/
	
	/*Proxima Nova via FD */
	/*font-family:"Proxima Nova Regular", 'Helvetica Neue', Arial, Helvetica, sans-serif; 
	font-size-adjust:0.488;*/
}

/* ----- Main divs -----*/

#head {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0 solid #CCC;
	background: #7D82C2;
}

#head img {
	border-right: solid 10px #FFF;
	max-width:100%;
}

#container {
	width: 960px;
	margin: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	background-color: #fff;
	padding-bottom: 10px;
	border-top: 1px solid #C4C4C4;
	border-right: 1px solid #8A8A8A;
	border-bottom: 1px solid #8A8A8A;
	border-left: 1px solid #C4C4C4;
	 -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#center {
	margin-left: 0;
	padding-top: 0;
	float: left;
	width: 600px;
}

#foot {
	clear: both;
	margin-top: 5px;
	text-align: center;
	border-top-width: 3px;
	border-top-style: double;
	border-top-color: #999;
	background-color: #EFEFEF;
}

#bottom {
	width: 957px;
	padding:1%;
	background:#39436F;
	opacity:0.7;
	color:rgb(255, 255, 255);
	margin-left:auto;
	margin-right: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 130%;
}

#right {
	width: 332px;
	margin-left: 624px;
	padding-top: 20px;
	background: #FFF;
}

/* ----- Right column box/form styles styles ----- */

.box, .topbox {
	background: #FFF;
	margin-left: 6px;
	border-bottom: 3px double #999;
	margin-right: 6px;
	margin-bottom: 6px;
}

.topbox {
	border-bottom: 1px dashed #CCC;
}

#right p.p3 span {
      font-size: 110%;
      color: #6F9225;
      font-weight: bold;
}

/* ----- Main divs descendants ----- */

#foot p {
	color: #333;
	margin: 0 0 10px;
	padding: 15px 0 10px 10px;
}

#right h2, .footerCols h4 {
	background-color: #FFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	padding: 4px 0;
	margin: 0 0 0 10px;
	font-size: 130%;
}

.footerCols h4 {
	background-color: #EFEFEF;
}

#foot p.copyright {
	color: #999;
}

/* ----- Links ----- */

a {
	color: #36C;
	text-decoration: none;
}

a:hover {
	color: #36C;
	text-decoration: underline;
}

#right a, #left a {
	border: 0;
	color: #36C;
}

/* ----- Paragraphs and headings ----- */

p, ul {font-size: 130%;}

p, blockquote, h3, h4 {
	line-height: 18px;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}

h1, h2, h3, h4 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #333;
	border-bottom: 1px solid #EFEFEF;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-top: 10px;
}

h1 {font-size: 200%;}

h2 {font-size: 160%;}

h3 {
	color: #333;
	font-size: 155%;
	font-weight: bold;
}

h4 {
	font-weight: bold;
	color: #333;
	font-size: 155%;
}

#right h2, #right h3 {
	font-size: 145%;
	}

.center {
	margin: 0;
	text-align: center;
}

div.center { margin-bottom: 10px;}

/* ----- Other styles ----- */

abbr {
	border-bottom: 1px solid #DFDFDF;
}

.p1, .article, .search-result {
	border-bottom: 1px solid #CCC;
}

.p3, .ad {
	margin-left: 10px;
	margin-right: 12px;
	padding: 10px;
	background-color: #E7F3CF;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
}

div.p3 {
	text-align: center;	
	}

div.p3 div {
	margin-left: 10px;}
	
/* ---- Floats and clears ----- */

.fl {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}	

.fr {
	float: right;
}

.clearleft {
	clear: left;
}

.clearboth {
    clear: both;
}

/* ----- Images ----- */

img  {
	border: 0;
}

p.elsewhere img {
	margin-left: 15px;
}

.featured {
	padding: 4px;
	background: #FFF;
	border: 1px solid #CCC;
}

.max {
	max-width: 100%;
}

/* ----- Lists ----- */

li {
	line-height: 18px;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 5px;
}

/* ----- Footer styles ----- */

.footerCols {
	float: left;
	width: 300px;
	text-align: left;
	margin-right: 15px;
	padding-bottom: 5px;
	background: #EFEFEF;
}

.linklist, #foot ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    padding-top: 0;
    font-size: 110%;
}

#foot .footer1, #foot ul.linklist li, #foot ul li {
    color: #333;
    margin: 0 10px;
    padding: 10px 0 0 0;
    border-bottom: 1px solid #CCC;
}

#foot ul.linklist, #foot ul {
    margin-top: 0;
}

/* ----- Main content columns ----- */

.col {
	float:left;
	display:inline;
	width:270px;
	padding-bottom:1em;
	margin-left: 30px;
}	

.first {
	margin-left:2px;
}								

.col img{
	background:url(../images/bg_colimg2.gif) no-repeat 0 0;
	padding:6px;
}

.col img:hover {
	background:url(../images/bg_colimg2.gif) no-repeat -208px 0;
}

.col h2 {
	margin-top: 0;
	padding-top: 0.5em;
}

.tel {
	font-weight: bold;
}

.tweep {
	background: url(../images/twitter-link-but.png) no-repeat right top;
	padding-right: 18px;
	padding-bottom: 3px;
}

/* ----- For devices, screens less than 480px ------*/

@media screen and (max-width: 480px), screen and (max-device-width: 550px) {
	
#container { /* reset width in % */
	width: 95%;
}

#center, .footerCols, div.col { /*remove float and reset width*/
	width: 90%;
	float: none;
}

.footerCols { /* add some top margin */
	margin-top: 15px;
}

#right {/* reset width, left-margin, top padding*/
	width: 90%;
	margin-left: 0;
	padding-top: 0;
}

#bottom, ul#tabnav, #search, #right .overflow {
	width: 90%;
}

#foot p.copyright { /*reduce margin/padding on this*/
	margin-bottom: 0;
	padding-bottom: 0;
}

#head img {  /*remove floats*/
	float: none;
}

div.p3 { /*removes div */
	display: none;
}

#head a {
	color: #FFF;
	font-size: 240%;
}

}

