/* ---- 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: 76% Arial, Helvetica, sans-serif;
}

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

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

#head img {
	border-right: solid 10px #FFF;
}

#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;
}

#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: 110%;
}

.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, blockquote, h3, td, 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;
}

h1, h2, h3 {
	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: 170%;}

h2 a {
	color: #333;
}

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

h3 a {
	border: 0;
	font-weight: normal;
}

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

h3.review {
	clear:left;
	border-top: 1px solid #E1EBF4;
        padding-top: 10px;
}

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

/* ----- Blockquotes ----- */

blockquote {
	margin-left: 20px;
	margin-right: 40px;
	padding: .5em;
	background: #e1ebf4 url(/txp/images/77.gif) no-repeat right bottom;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
}

blockquote p {
        margin: 0;}

blockquote.pullquote {
	float: left;
	width: 10em;
	margin: .25em .75em .25em 10px;
	padding: .5em;
	color: #333;
	background: #e1ebf4;
	border: 2px solid #69C;
}

blockquote.alt {
	float: right;
	margin: .25em .75em;
	border: 2px solid #69C;
}

.pullquote p, .center {
	margin: 0;
	text-align: center;
}

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

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

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

.p1, .article, .hreview, .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;}
	
	
.fl {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}


/* ---- Floats and clears ----- */	

.fr {
	float: right;
}

.clearleft {
	clear: left;
}

.clearboth {
    clear: both;
}

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

img  {
	border: 0;
}

/* ----- Forms ----- */

select, textarea, input, .ad {
	background-color: #e1ebf4;
}

input {
	font-size: 100%;
}

#search {
	width: 10em;
}

/* ----- 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: 90%;
}

#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:250px;
	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;
	/*background: #DEDFEF;
	padding: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;*/	
}

.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 all and (max-width:480px) {
	
#container { /* reset width in % */
	width: 95%;
}

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

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

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

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

#head {
	height: 5em;
	padding-left: 0.5em;
}

#head img, div.p3 { /*removes logo/header image and div */
	display: none;
}

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

#head a:before {  /*adds text to replace logo image*/ 
	content: "CVWDesign Dot Com";
	color: #fff;
}

}
