/*
Theme Name: SDICAC
Description: A custom theme designed especially for SDICAC
Version: 0.1
Author: BinaryM Inc.

*/

/* @group RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
	display:none;
}

.group:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* @end */

/* @group GLOBALS */

body {
	line-height: 1;
	font-family: arial, helvetica, sans-serif;
	font-size: 76%;
	color: #333;
	background:#121212 url(images/bg-body.png) center top no-repeat fixed;
}
	
/* @end */	

/* @group IDs */

#container {
    width: 960px;
    margin: 40px auto;
}
#logotext {
    margin:30px 60px 0 0;
    padding:0;
    width:720px;
    height:25px;

    float:right;

}
#logotext a {
    display:block;
    text-indent:-1000em;
    overflow:hidden;
    background:transparent url(images/logo-text.png) center center no-repeat;
    width:720px;
    height:25px;
}
#logoimage {
    margin:0 0 0 30px;
    padding:0;
    width:145px;
    height:145px;

    float:left;
}
#logoimage a {
    display:block;
    text-indent:-1000em;
    overflow:hidden;
    background:transparent url(images/logo-image.png) center center no-repeat;
    width:145px;
    height:145px;
}



#header {
    background:transparent url(images/bg-header.png) bottom center no-repeat;
}	
#nav {
    clear:right;
    margin:0 30px 0 0;
}
#wrapper {
    background:#fff;
}
#content {
    width:680px;
    float:left;
}
#sidebar {
    background:#e5e5e5 url(images/bg-sidebar-top.png) top center no-repeat;
    margin-right:30px;
    width:250px;
    float:left;
}	
#footer {
    background:transparent url(images/bg-footer.png) top center no-repeat;
}
/* @end */	

/* @group TYPOGRAPHY */
	
a {
	text-decoration: underline;
	font-weight: normal;
	color: #333; }
	
a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #666; }
	
#content h1 {
	text-transform:uppercase;
    margin:10px 0;
    padding:10px 0 5px 30px;
    font-size: 2em;
    font-weight: bold;
    color:#fff;
    background:#333;
}
	
h2 { /* posts */
	font-size: 1.8em;
	text-decoration: none;
	margin: 0 0 .2em 0;
	line-height: 1.2em;
	color: #000; }

h2 a,
h3 a,
h4 a { 
	text-decoration: none;
	letter-spacing: -.04em;
	font-weight: bold; }
	
h2 a:hover,
h3 a:hover,
h4 a:hover { /* posts */
	text-decoration: underline; }
	
h3 {
	font-size: 1.4em;
	margin: 1.2em 0;
	font-weight: normal;	}
	
h4 {
	font-size: 1.2em;
	margin: 1.2em 0;
	font-weight: bold;	}
	
h5 {
	font-size: 1.0em;
	margin: 1.2em 0;
	font-weight: bold;	}
	
h6 {
	font-size: 0.8em;
	margin: 1.2em 0;
	font-weight: bold;	}
	
img {
	border: 0;	}
	
ol, ul, li {
	font-size: 1.0em;
	line-height: 1.8em; 	}
	
ol, ul {
    margin:1em 3em;
}

p {
	font-size: 1.0em;
	line-height: 1.8em;
	margin: 1.2em 0;	}
	
strong, b {
	font-weight: bold;	}
	
.smalltext {
	font-size: .8em;
	color: #666; }
	
blockquote {
    margin:10px 30px;
    padding:0 10px;
    border-left:2px solid #ccc;
}


	/* @end */
	
	
/* @group NAV */


	
#nav ul {
    list-style:none;
    margin:20px 10px 0 0;
    float:right;
}
  
#nav li {
    float:left;
}
  
#nav li a {
    background:transparent url(images/nav.png) 0 15px no-repeat;
    display:block;
    height:42px;
    padding:0 15px;
    text-indent:-1000em;
    overflow:hidden; }

#nav li.page-item-5 a {
    width:34px;
    background-position:15px 15px;
}
#nav li.page-item-6 a {
    width:110px;
    background-position:-65px 15px;
}
#nav li.page-item-7 a {
    width:80px;
    background-position:-225px 15px;
}
#nav li.page-item-8 a {
    width:62px;
    background-position:-353px 15px;
}
#nav li.page-item-9 a {
    width:38px;
    background-position:-460px 15px;
}
#nav li.page-item-10 a {
    width:73px;
    background-position:-545px 15px;
}

	
#nav li a:hover,
#nav li.current_page_item a,
#nav li.current_page_parent a,
#nav li.current_page_ancestor a  {
	background-color:#0867a2;
}

/* @end */

/* @group Content */
 
#content .gutter {
    padding:0 30px;
}

/* @end */

/* @group Sidebar */
 
#sidebar .gutter {
    padding:0 10px 20px 10px;
    background:#e5e5e5 url(images/bg-sidebar-bottom.png) bottom center no-repeat;
}
#sidebar h3 {
    border-bottom:1px solid #ccc;
}
#sidebar p a,
#sidebar div.alignright a {
    color:#0c93e8;
}
#sidebar div.alignright {
    width:100%;
    text-align:right;
    padding-top:4px;
    border-top:1px solid #ccc;
}

.subnav {
    background:#0c93e8 url(images/bg-subnav-top.png) top center no-repeat;
    text-transform:uppercase;
    color:#fff;
}
#sidebar .subnav h3 {
    padding:10px 0 0 10px;
    margin-bottom:5px;
    border:0;
}
.subnav ul {
    margin:0;
    padding:0 0 10px 0;
    list-style:none;
    background:transparent url(images/bg-subnav-bottom.png) bottom center no-repeat;
}
.subnav ul li a {
    display:block;
    color:#fff;
    background:#0b84d0;
    margin:0 0 2px 0;
    padding:4px 10px;
    text-decoration:none;
	font-size:110%;
}
.subnav ul li a:hover,
.subnav ul li.current_page_item a,
.subnav ul li.current_page_parent a,
.subnav ul li.current_page_ancestor a {
    background:#0867a2;
}


/* @end */
	
/* @group FOOTER */

#footer {
	color: #999;
	margin: 0 auto;
	padding: 10px 0 0 0; }
	
#footer a, 
#footer a:visited {
	color: #999;
    text-decoration:none; }

#footer ul {
    float:right;
    list-style:none;
    margin:40px 20px 0 0;
}
#footer ul li {
    float:left;
    margin:4px;
}
	
#footer p {
    padding: 0;
    margin:40px 0 0 20px; }

#footer #binarym {
    color:#000;
}
	
	/* @end */

/* @group Wordpress */

.textwidget {
	margin-bottom:20px;
	margin-top:20px; }
                
.clear {
	clear: both; }
	
#tags {
    margin-bottom:35px; }
    
.alignright {
	float:right;
}
.alignleft {
	float:left;
}
.aligncenter {
	display:block;
	text-align:center;
}

img.alignright {
    margin:0 0 10px 10px;
}
img.alignleft {
    margin:0 10px 10px 0;
}

.wp-caption {
    position:relative;
    width:auto;
    text-align:center;
    margin:10px auto;
}
.wp-caption img {
    border:5px solid #ccc;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.wp-caption .wp-caption-text {
    display:block;
    text-align:left;
    width:580px;
    margin:0 5px 7px 5px;
    padding:5px 0 5px 20px;
    position:absolute;

    bottom:0;
    left:0;

    background:#333;
    background:rgba(50,50,50,.75);
    color:#fff;
    font-size:130%;

	-moz-border-radius:0 0 5px 5px;
	-khtml-border-radius:0 0 5px 5px;;
	-webkit-border-radius:0 0 5px 5px;
	border-radius:0 0 5px 5px;

}

/* @end */


