/*
Theme Name: MD Building
Theme URI: http://jorgelinares.com/
Description: Theme designed by <a href="http://www.marketingpros.com/">MarketingPros</a> and coded by <a href="http://www.jorgelinares.com/">Jorge Linares</a>.
Version: 1.0
*/


ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{
	margin:0;
	padding:0;
}
ul{
	list-style:none;
}
fieldset{
	border:0;
}
a,a:link,a:visited,a:hover{
	color:#00f;
	text-decoration:none;
}
a:focus,a:hover{
	text-decoration:underline;
}
a img{
	border:0;
}
.clear{
	clear:both;
}
body{
	position:relative;
	background: #000;
	color:#000;
	font:62.5% Verdana,Arial,sans-serif;
}

#main{
	width:865px;
	float: left;
}


#header{
background:transparent url(images/bodybg.jpg) no-repeat scroll left top;
display:inline;
float:left;
height:349px;
margin:0;
padding:0 49px;
width:864px;}

#logo{
background:transparent url(images/logo.gif) no-repeat scroll 0 0;
display:inline-block;
float:left;
height:76px;
margin:5px 0 0;
text-indent:-9999px;
width:266px;
}

#header input.keywords{
	display: inline-block;
	width: 259px;
	height: 38px;
	float:right;
	color: #94847b;
	padding: 28px 0px 0px 15px;
	margin: 36px 36px 0px 0px;
	border: none;
	background: url(images/search_bg.jpg) no-repeat;
}

#adds{
	display: inline;
	width: 270px;
	float: right;
	clear: right;
	margin: 32px 36px 0px 0px;
}

#adds ul li{
	display: block;
	width: 125px;
	height: 125px;
	float: left;
	margin: 0px 20px 20px 0px;
}

#adds ul li.nomargin{
	margin: 0px 0px 0px 0px;
}

#carousel{
	display: inline;
	width: 410px;
	height: 203px;
	float: left;
	margin: 5px 0px 0px 238px;
}

#carousel a.left{
	display: block;
	position: absolute;
	width: 46px;
	height: 45px;
	margin: 69px 0px 0px 0px;
	background: url(images/left.jpg) no-repeat;
	text-indent: -9999px;
}

#carousel a.right{
	display: block;
	position: absolute;
	width: 46px;
	height: 45px;
	margin: 59px 0px 0px 365px;
	background: url(images/right.jpg) no-repeat;
	text-indent: -9999px;
}

#content{
	display: inline;
	width: 856px;
	float: left;
	margin: 0;
	background: #fff url(images/content_bg.png) repeat-y;
	padding-bottom:15px;
}

.content p { padding-bottom:10px;}

#content_text{
	width: 856px
	float: left;
	margin: 0px 0px 0px 0px;
	background: url(images/content_top.jpg) top no-repeat;
}
.content_text p { padding-bottom:10px;}

#left_column{
	width: 640px;
	padding: 0;
	float: right;
	margin:-32px 0 0;
}

.post{
	width: 640px;
}

.post_heading{
	background:transparent url(images/leftboxhead-bg.png) repeat-x scroll center top;
	float:left;
	height:37px;
	margin:0 0 19px;
	padding:5px 0 0 20px;
	width:395px;}

.date{
	color: #fff;
	float: left;
	font-size: 18px;
}

.post_heading h2{
	font-family:helvetica,arial,trebuchet MS;
	font-size:16px;
	font-weight:800;
	height:38px;
}
.post_heading h2 a{
	color: #000;
	
}

.comments{
	color: #362a1a;
	font-size: 12px;
	font-weight: bold;
	margin: 6px 0px 0px 0px;
	float: right;
}
.comments a{
	color: #362a1a;
	
}

.entry{
background:transparent url(images/3photo.jpg) no-repeat scroll left top;
float:left;
margin:0 0 0 15px;
padding:0 0 22px 185px;
width:420px;
min-height:435px;}

.entry ul{
margin:0 auto;
padding:0;
width:395px;}

.entry ul li {
background:transparent url(images/ico-home.gif) no-repeat scroll 0 5px;
display:block;
float:left;
font-size:13px;
height:25px;
margin:0;
padding:0 0 19px 25px;
width:380px;}

.entry img{
	border:medium none;
	margin:10px 0;
	padding:3px;}

.entry p{
	color: #454546;
	font-size: 14px;
	margin: 0px 0px 25px 0px;

}

.entry span{}

.entry a.continue{
	color: #ad1f23;
	font-size: 14px;
	font-weight: bold;
	margin: 4px 0px 0px 0px;
	float: left;
	text-decoration: underline;
	width:300px;
}

.entry2{
float:left;
margin:0 0 0 15px;
padding:0 0 22px 5px;
width:600px;
min-height:435px;}
.entry2 p { font-size:14px; font-family:Arial, Helvetica, sans-serif; line-height:1.3em}
.entry2 a { font-size:14px; font-family:Arial, Helvetica, sans-serif; line-height:1.3em; color:#0033CC; text-decoration:underline;}
.entry2 ul{
margin:0 auto;
padding:0;
width:400px;}

.entry2 p{
	margin: 0px 0px 25px 0px;

}

.entry2 ul li {
display:block;
float:left;
font-size:13px;
height:25px;
margin:0;
padding:0 0 19px 15px;
width:380px;}

.page_navigation{
	width: 605px;
	float: left;
	clear: both;
	padding: 0px 0px 22px 0;
}

.page_navigation p{
	color: #ad1f23;
	float: left;
	font-weight: bold;
	font-size: 14px;
}

.page_navigation ul{
	float: right;
}

.page_navigation ul li{
	float: left;
	font-size: 14px;
	color: #ad1f24;
	margin: 0px 1px;
}

.page_navigation ul li a{
	float: left;
	font-size: 14px;
	border: 1px solid #c3c3c3;
	color: #ad1f24;
	background: #e8e7e7;
	padding: 1px 4px;
}
.page_navigation ul li a:hover{
	color: #212121;
	text-decoration: none;
}

.page_navigation ul li.active a{
	color: #212121;
	text-decoration: none;
}

#right_column{
	width: 215px;
	float: left;
	padding: 0;
	margin:-32px 0 0;
}

.right_column_headings{
background:#F8F8F8 url(images/leftbox-bg.png) repeat-x scroll 0 0;
clear:both;
float:left;
margin:0;
padding:5px 5px 5px 10px;
width:201px;}

.right_column_headings h2 {
color:#000000;
float:left;
font-family:helvetica,arial,trebuchet MS;
font-size:16px;
font-weight:800;
height:38px;}

.right_column_headings img{
	float: right;
}

ul.right_column-list {
	
}
ul.right_column {
height:115px;
margin:0 auto;
padding:20px 0 0;
width:195px;
}

ul.right_column2 {
background:transparent url(images/contact-phone-bg.gif) no-repeat scroll center bottom;
height:115px;
margin:0 auto;
padding:15px 0 0;
width:170px;
}
ul.right_column2 li {
display:block;
float:left;
font-size:14px;
height:25px;
margin:0 0 0 15px;
padding:0;
width:155px;
}
ul.right_column2 li a{
color:#000000;
font-size:13px;
padding:0;
width:160px;
}
ul.right_column2 li a:hover{
	color: #ab1f23;
}

ul.right_column li {
display:block;
float:left;
height:25px;
margin:0;
padding:0 0 0 25px;
width:160px;
background:transparent url(images/ico-home.gif) no-repeat scroll left center;
font-size:13px;
}

ul.right_column li a{
color:#000000;
display:block;
font-size:13px;
padding:0;
width:160px;
}
ul.right_column li a:hover{
	color: #ab1f23;
}

#right_column ul.gallery{
	margin:0 0 0 15px;float:left;
}

#right_column ul.gallery li{
	width: 81px;
	height: 67px;
	float:left;
	padding: 15px 0px 10px 15px;
	background: url(images/gallery_thumb.jpg) no-repeat left top;
	border:0;
}

#footer{
background:#111111 url(images/footer-bg.gif) repeat-x scroll center top;
border:medium none;
clear:both;
display:inline;
float:left;
height:40px;
margin:0;
padding:15px;
width:826px;}

#footer h3{
	display: block;
	width: 100%;
	font-size: 21px;
	font-weight: normal;
	color: #9c8f7c;
	padding: 0px 0px 4px 0px;
	margin: 0px 0px 14px 0px;
	border-bottom: 1px dotted #9c8f7c;
}

#footer p{
	color: #9c8f7c;
	font-size: 12px;
}

#footer p.copyright{
color:#AAAAAA;
float:left;
font-size:12px;
margin:10px 0 0 10px;
width:798px;
}
#footer p.copyright a{
	color: #9c8f7c;text-decoration:none;
	}

#footer p.copyright span{
	float: left;
}


#footer p.copyright span.right{
	float: right;
}



#footer p a{
	color: #9c8f7c;
	text-decoration: underline;
}


.copyright_usage{
float:left;
width:525px;
}

.copyrights{
color:#FFFFFF;
float:left;
font-size:110%;
width:300px;
}

#footer ul {list-style:none;}
#footer ul li {float:left;padding:0 10px;}
#footer ul li a{ color:#fff; font-size:110%; text-decoration:none}
#footer ul li a:hover{ color:#fff; font-size:110%;text-decoration: underline}
#footer ul li ul li { display:none;}

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left;
    }	






	
	
	




.replace{
	position:relative;
	margin:0;
	padding:0;
	/* \*/
	overflow:hidden;
	/* */
}
.replace span{
	display:block;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}
.skiplink{
	display:none;
}

#container{
background:#000;
margin:0 auto;
padding:0;
width:856px;
}

#wrapper{
	width: 865px;
	margin:0 auto;
}

#numberofcomments{
margin:40px 0 0 70px;float:left;width:400px;font-size:14px;
}
#comment{
margin:20px 0 0 16px; font-size:14px;color:#454546;
}
#comment h3{
margin:10px 0 10px 19px; 
}
#comment a{
color:#646464;padding:0 0 0 0px;
}
#comment a:hover{
color:#646464;text-decoration:none;
}
form#commentform{
}
form#commentform p{
margin:0 0 5px 19px;
}
form#commentform p textarea{
margin:0 0 0 0;
}
ol.commentlist{
margin:0 20px 0 20px;list-style:none;
}
ol.commentlist li{
border-top:#494849 dotted 1px;padding:10px 0 0 0;
}
ol.commentlist li img{
float:left;margin:0 10px 0 0;
}
form#commentform .input{
border-left:#a59e96 solid 2px;border-top:#a59e96 solid 2px;border-right:#e2d8cd solid 1px;border-bottom:#e2d8cd solid 1px;background:#eee4d8;height:30px;width:230px;
}
form#commentform textarea{
border-left:#a59e96 solid 2px;border-top:#a59e96 solid 2px;border-right:#e2d8cd solid 1px;border-bottom:#e2d8cd solid 1px;background:#eee4d8;height:190px;width:580px;overflow:hidden;
}
form#commentform label{
color:#a4282c;font-size:12px;
}
h3#respond{
font-size:21px;border-bottom:#494849 dotted 1px;font-weight:normal;color:#a4282c;padding-bottom:5px;margin-right:20px;
}
p.aurther-name{
color:#245f8d;font-size:14px;font-weight:bold;margin:0;padding:20px 0 0 60px;
}
p.date-link{
margin:0;padding:20px 0 0 60px;font-size:11px;
}
ol.commentlist li p{
margin:0 0 0 0;#margin:-17px 0 0 0;
}

#navi{
display:inline;
float:left;
width:840px;
margin:3px 0 0 15px;

}


.menu {width:745px; height:54px; position:relative; z-index:100;font-family:tahoma,arial, sans-serif;}/*height 44*/
/* hack to correct IE5.5 faulty box model */
* html .menu {width:746px; w\idth:745px;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:149px;}/*149*/

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:149px;position:relative;}/*149*/

/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:18px;text-decoration:none; color:#fff; width:149px; height:48px; padding:0 20px 0 0; line-height:45px; }/*height 42*/

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:149px; w\idth:138px;}/*149 138*/

/*******************SUBBBBBBBBBBBBB**************/

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:43px;left:0; width:149px;}/*width149 top42px*/

/* another hack for IE5.5 */
* html .menu ul ul {top:42px;t\op:43px;}/*40 41*/

.menu ul ul li{margin-left:-23px;width:148px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level LINKS */
.menu ul ul a, .menu ul ul a:visited {border-bottom:1px dotted #000;font-size:13px;font-weight:bold;background:url(images/dropdown-bg.gif) repeat-x; color:#000; height:auto;/*height:20px;*/ line-height:1em;padding:10px 0 10px 30px; width:148px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:148px;} /*150 148*/
/*******************************/

/* style the top level hover LINKS*/
.menu a:hover, .menu ul ul a:hover{color:#FFF; background:#000;text-decoration:none;}
/*.menu :hover > a,*/ .menu ul ul :hover > a {color:#FFF; background:#000;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{visibility:visible; }


/*My customized code*/

.menu ul li a.home, .menu ul li a.home:hover {margin-left: 5px;color:#000;width:45px;background:none;}
.menu ul li.home{background:url(images/home.png) no-repeat top left;height:48px;width:95px;color:#000;border:none;padding-left:30px;}
.menu a:hover.secondLink{background:none;}
.menu ul ul.secondLink{}
.menu a.thirdLink,.menu a:hover.thirdLink{width:215px;background:none;}
.menu a:hover{background:none;}
.menu li.thirdLink{width:230px;}
/*.menu ul li.pad-top{images/dropdown-pad.gif) repeat-x;height:1px;display:block;}*/


.pad-bottom{width:178px;background: url(images/dropdown-pad-bottom.gif) repeat-x;line-height:0;height:10px;}


/*.pad-top{width:178px;height:5px;background: url(images/dropdown-pad-top.gif) repeat-x;margin:0;padding:0;display:block;}*/

#content-bottom{background:url(images/bottom.gif) repeat-x top center;height:5px;width:856px;}



