
/**
 * Reset browser default settings. Do not reset settings for those elements,
 * which are not later defined in typo.css or forms.css.
 *
 * @package    themes
 * @subpackage default2
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

/* Block elements */
body, p, pre { /* blockquote */
    margin: 0;
    padding: 0;
}


/* Headers */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
}


/* Lists */
dl, dt, dd, ul, ol, li {
    margin: 0;
    padding: 0;
}
ol, ul {
    list-style: none;
}


/* Misc */
a {
    outline: none;
}
img, iframe {
    border: none;
}


/* Tables */
th, td {
    margin: 0;
    padding: 4px;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
}
/**
 * Tools:
 *   - easy clearing method
 *   - replace (useful for screen readers)
 *   - accessibility (useful for screen readers)
 *
 * @package    themes
 * @subpackage default2
 */

/* clearing */
.stretch,
.clear {
    clear: both;

    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.1em;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix { /* make method ie7 compatible */
    #display: inline-block;
}
* html .clearfix {
    /* Hides from IE-mac \*/
	height: 1%;
	display: block; /* restore block display for ie6 */
	/* End hide from IE-mac */
}
/* end clearing */


/* replace */
.replace {
    display: block;

	background-repeat: no-repeat;
	background-position: left top;
	background-color: transparent;
}
/* tidy these up */
.replace * {
    text-indent: -10000px;
    display: block;

    background-repeat: no-repeat;
    background-position: left top;
    background-color: transparent;
}
    .replace a {
		text-indent: 0;
	}
        .replace a span {
            text-indent: -10000px;
        }
/* end replace */


/* accessibility */
span.accesskey {
    text-decoration: none;
}
.accessibility {
    position: absolute;
    top: -9999em;
    left: -9999em;
}
/* end accessibility */


/* hide */
.hide {
    display: none;
}

/**
 * Typography.
 *
 * @package    themes
 * @subpackage default2
 * @author     Julien Casanova <julien_casanova@yahoo.fr>
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

/* Blocks */
body {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 9pt;
/*    line-height: 1em; */
    color: #000;
}
p {
    margin-bottom: 0.7em;
/*    line-height: 1.1em; */
}
pre { /* blockquote */
    margin-bottom: 1em;
    border: 1px solid #666;
    border-left: 5px solid #666;
    padding: 1em;
    background-color: #eee;
    font-family: monospace;
    font-size: 1em;
    color: #666;
}
/* END blocks */


/* Headings */
h1 {
    margin-bottom: 1em;
    border-bottom: 2px solid #074A6B;
    padding-bottom: 0.3em;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.3em;
    color: #074A6B;
}
h2 {
    margin-bottom: 0.5em;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.2em;
    color: #97ADB6;
}
h3 {
    margin-bottom: 0.3em;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.2em;
    color: #074A6B;
}
h4 {
    margin-bottom: 0.2em;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.2em;
    color: #074A6B;
}
h5 {
    margin-bottom: 0.1em;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.1em;
    color: #074A6B;
}
h6 {
    margin-bottom: 0.1em;
    font-size: 1em;
    font-weight: bold;
    line-height: 1em;
    color: #074A6B;
}
/* END headings */


/* Lists */
#main ul {
	margin: 0 0 0.7em 1em;
    list-style: none outside url(http://www.cscc.ca/themes/default/images/bullets/default.gif);
    line-height: 1.3em;
}
    ul li {
        margin-left: 30px;
	}
ol {
    margin: 0 0 0.7em 1em;
    list-style: outside decimal;
    line-height: 1.3em;
}
    ol li {
        margin-left: 30px;
	}
dl {
    margin-bottom: 0.7em;
    line-height: 1.3em;
}
	dl dt {
	    font-weight: bold;
	}
	dl dd {
        margin-bottom: 0.2em;
		margin-left: 30px;
	}
/* END lists */


/* Links */
a,
a:link,

a:active {
    color: #074A6B;
    font-weight: bold;
}
#header a {
	color: #074A6B;
}
a:visited {
    /* color: #184a84; */
}
a:hover {
    text-decoration: underline;
}
/* END links */


/* Misc */
/*#main img {
	padding:7px;
}*/
hr {
    display: none;
}
div.hr {
    margin: 1em auto;
    height: 1px;
    background-color: #999;
    line-height: 1px;
}

/**
 * Forms.
 *
 * @package    themes
 * @subpackage default2
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

/* Fieldset / legend */
fieldset {
    margin-bottom: 0.6em;
    padding: 1em 0 0.5em;
    #padding-top: 0; /* fix MSIE fieldsetPadding behaviour */
}
fieldset.noLegend {
    padding-top: 0;
}
fieldset.hr {
    border-top: 1px solid black;
}
fieldset.lastChild {
    margin-bottom: 0;
    padding-bottom: 0;
}
    fieldset legend {
        #margin-bottom: 1em; /* fix MSIE behaviour */
        #margin-left: -7px;
        #padding-bottom: 0.8em;

        padding-right: 0.5em;
        font-weight: bold;
        font-size: 1.1em;
        color: #333;
    }


/* Form elements */
input.text, select, textarea {
    border: 1px solid #095B83;
    width: 450px;
    padding: 2px;
    background:#DBE8ED;
    font-size: 0.9em;
    color:#000;
}

input#contact_first-name, input#contact_last-name, input#contact_email, input#contact_captcha {
		border: 1px solid #095B83;
    
    padding: 2px;
    background:#DBE8ED;
    font-size: 0.9em;
    color:#000;
}
textarea {
    height: 6em;
}

    
label {
		color:#074A6B;
/*		display:block; */
	
}

/* Ordered list for displaying form elements */
form fieldset ol {
    margin: 0;
    list-style: none;
    line-height: 1em;
}
    form fieldset ol li {
        clear: left;
        margin: 0;
        padding-bottom: 0.6em;
        padding-left: 160px;
            }
        form fieldset ol li div {
                        #display: inline; /* fix MSIE */
            margin-bottom: 0;
        }
        form fieldset ol li label {
            float: left;
            margin-left: -160px;
            width: 140px;
            text-align: right;
        }
        form fieldset ol li p { /* field comments */
            margin-top: 0.2em;
            margin-bottom: 0;
            font-size: 0.9em;
        }
        form fieldset ol li p.error { /* field error */
            margin-top: 0;
            margin-bottom: 0.3em;
            color: #f00;
        }


/* Fields on top */
form fieldset ol.onTop {
}
    form fieldset ol.onTop li {
        clear: none;
        padding-left: 0;
            }
        
        form fieldset ol.onTop li label {
            float: none;
            display: block;
            margin-left: 0;
            margin-bottom: 0.2em;
            width: auto;
            text-align: left;
        }


/* Additional */
form em {
    font-style: normal;
    color: #f00;
}
form div,
form p {
    margin-bottom: 0.6em;
}
form .fieldIndent {
    margin-left: 160px;
}


/* No forms layout */
div.fieldsetlike {
    padding-bottom: 0.6em;
}
    div.fieldsetlike h3 {
        margin-bottom: 0.6em;
        font-weight: bold;
        font-size: 1.1em;
        line-height: 1.1em;
        color: #333;
    }
    div.fieldsetlike dl {
        margin-left: 160px;
        margin-bottom: 0;
        line-height: 1em;
    }
        div.fieldsetlike dl dt {
            float: left;
            display: inline;

            overflow: hidden; /* one row label only */
            height: 1.2em;

            margin-left: -160px;
            width: 140px;
            text-align: right;
            font-weight: normal;
            color: #333;
        }
        div.fieldsetlike dl dd {
            margin-left: 0;
            margin-bottom: 0.4em;

            min-height: 1.2em;
            _height: 1.2em; /* min height for ie6 */

            padding-bottom: 0.2em; /* fix MSIE bug */
            color: #666;
        }
/* END no forms layout */

/**
 * Site specific layout.
 *
 * @package    themes
 * @subpackage default2
 * @author     Julien Casanova <julien_casanova@yahoo.fr>
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

html { /* inforces screen to show scrollbar */
    height: 100%;
    margin: 0;
    padding: 0;
    
}
body {
    background: #fff url(http://www.cscc.ca/themes/default/images/header_tile.gif) repeat-x left top;
}

/* Wrappers */
div#wrapper-outer {
    margin: 0 auto;
    width: 950px;
}
div#wrapper-inner {
    padding: 0 2px 2px;
}


/* Header */
div#header {

    width: 980px;
    height: 110px;
    padding-top:10px;
}


    div#header h1 {
        position: absolute;
        top: 0px;
        padding-top: 20px;
        background: url(http://www.cscc.ca/themes/default/images/banner.jpg) no-repeat left top;

        font-size: 30px;
        font-family: "Trebuchet MS";
    }
    div#logo {
        
        padding: 15px 0 0 45px;
        
    }
    div#bodyTop {
        
        float:right;
        
    }
        div#header h1 a {
            background-color: transparent;
            text-decoration: none;
            color: #fff;

            display: block;
            width: 896px;
            height: 97px;
        }
            div#header h1 a span {
                display: block;
                text-indent: -9999px;
            }
    div#header #bugReporter {
        position: absolute;
        right: -10px;
        bottom: 2px;
        display: block;
        width: 10px;
        min-height: 10px;
        _height: 10px; /* min-height for ie6 */
        background: url(http://www.cscc.ca/themes/default/images/bug.gif) no-repeat right center;
    }
    
    div#header #logo {
    		float:left;
    }
    
    div#header #message {
    		margin-top: 25px;
        float:right;
        width: 500px;
        color: #000;
    }
    div#header #message #queens {
    	float:left;
    }
    div#header #message #wrapper {
    	float:right;
    	width:250px;
    }
    
    div#header #message .title {
				color: #cc0033;
				font-size: 0.9em;
				font-weight:bold;
				margin-bottom: .2em;
				border-bottom:2px solid #cc0033;
		}
		
		div#header #message .heading {
				
				font-weight: bold;
		}
		div#header #message .content {
				
				font-weight: normal;
		}
     #pdfDownload {
	text-decoration:none;

        bottom: 2px;
        display: block;
        width: 20px;
        height: 15px;
        _height: 15px; /* min-height for ie6 */
        background: url(http://www.cscc.ca/themes/default/images/page_white_acrobat.png) no-repeat right center;
    }

    #sendEmail {
		text-decoration:none;
        bottom: 2px;
        display: block;
        width: 20px;
        height: 15px;
        _height: 15px; /* min-height for ie6 */
        background: url(http://www.cscc.ca/themes/default/images/email_go.png) no-repeat right center;
    }

    #doPrint {
		text-decoration:none;
        bottom: 2px;
        display: block;
        width: 20px;
        height: 15px;
        _height: 15px; /* min-height for ie6 */
        background: url(http://www.cscc.ca/themes/default/images/printer.png) no-repeat right center;
    }
    
   
    #toolbar {
    	float:right; 
    	height:1px; 
    	width:70px; 
    	margin-top:8px; 
    	overflow:visible; 
    	text-align:right
    }



/* END header */


/* Footer */
div#footer {
    background: #074A6B;
    height: 35px;
    border-top: 4px solid #0A6693;
    margin-top: 40px;
    
    
}
		div#footer .wrap {
				
				margin: auto auto;
				width: 980px;
		}
		
		div#footer .poweredby {
				float:right;
				padding-top:3px;
		}

    div#footer p {
    	float:left;
        padding-top:10px;
        font-size: 0.8em;
        color: #C9DEE9;
        
    }
    div#footer a {
        color: #ecefba;
    }
/* END footer */


/* Content */
div#content {
	
}

    /* Main */
    div#main {
        min-height: 350px;
        _height: 350px;  /* min height for ie6 */
        padding: 2em 10px 5px;
    }

    /* Sub */
    div#sub {
        padding-top: 2em;
    }
        div#sub div.inner {
           
        }

    /* Local */
    div#local {
        padding-top: 2em;
    }
/* END content */


/* Left/right blocks */
div.block {
    margin-bottom: 1.5em;
}
    div.block h2 {
        margin: 1px 10px 0px;
        padding-bottom: 0.4em;
        font-size: 1em;
        color: #fff;
    }
    div.block div.content {
        padding: 1em 10px 0.4em;
        font-size: 0.8em;
        color: #000;
    }
    
    div.block input {
    	background:#C1D8E1;
    	border: 1px solid #095B84;
    	padding: 2px;
    	color:#000;
    }
    
    div.block label {
    	color:#000;
    }
    #login a {
    	display:inline;
    	background:#C1D8E1;
    	border: 1px solid #095B84;
    	padding: 3px 4px;
    	text-decoration:none;
    	color:#000;
    	font-weight:normal;
    	margin:4px 0;
    }
/* END left/right blocks */

/**
 * Blocks.
 *
 * @package    themes
 * @subpackage default2
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */




/* Lang switcher */
div#langSwitcher {
    float: right;
}
    div#langSwitcher a {
        float: left;
        margin-left: 15px;
    }
        div#langSwitcher a img {
            display: block;
        }


/* Breadcrumbs */
#breadcrumbs {
    margin: 0;
    float: left;
}
    #breadcrumbs a {
        font-weight: bold;
        color: #d0e3ea;
    }
    
    
div#wrapper-inner .block {
	background: url(http://www.cscc.ca/themes/default/images/blockBg.gif) repeat-x center top;
}

	div#wrapper-inner .block .header {
		padding-top: 5px;
		/*background: url(http://www.cscc.ca/themes/default/images/block_header.gif) no-repeat center top;*/
	}
	
	div#wrapper-inner .block .content {
		/*background: url(http://www.cscc.ca/themes/default/images/block_rep.gif) repeat-y center;*/
	}
	
	div#wrapper-inner .block .blockfooter {
		/*background: url(http://www.cscc.ca/themes/default/images/block_footer.gif) no-repeat center bottom;*/
		height:16px;
	}

div.sub-menu ul {
	list-style: circle;
	marker-offset: 0px;
	margin:0;
	
}
div.sub-menu ul li {
	margin:0;
	list-style: none;
}

div.sub-menu a {
	padding:4px 10px;
	text-decoration: none;
	border-bottom:1px solid #7993C0;
	display: block;
}
div.sub-menu ul li li a {
	padding-left:30px;
	margin:0;
}
div.sub-menu a:hover {
	background:#0E5E85;
	color:#fff;
}


/**
 * Common.
 *   - error messages
 *   - debug panel
 *   - tooltips
 *
 * @package    themes
 * @subpackage default2
 * @author     Julien Casanova <julien_casanova@yahoo.fr>
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

/* Messages & errors */
div.message {
    width: 80%;
    margin: 0 auto;
}
    div.message p {
        margin-bottom: 1em;
        border-width: 2px;
        border-style: solid;
        padding: 0.5em;
        text-align: center;
    }
    div.message p.message-error {
        border-color: #f30;
        color: #f30;
    }
    div.message p.message-info {
        border-color: #cc0033;
        color: #000;
    }
    div.message p.message-warning {
        border-color: #999;
        color: #999;
    }
    /* PEAR */
    div.message p.pear {
        border-top: none;
        border-color: #f30;
        text-align: left;
    }
    div.message h4 {
        border: 2px solid #f30;
        border-bottom: none;
        margin-bottom: 0;
        padding: 0.5em;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.3em;
        font-size: 1.1em;
        font-weight: bold;
        color: #f30;
    }
div#broadcastMessage {
    position: absolute;
    z-index: 300;
    left: 30px;
    top: 30px;
    width: 300px;
    padding: 10px 20px;
    background-color: #ffe9d9;
    color: #333;
}
    div#broadcastMessage a {
        position: absolute;
        right: 5px;
        top: 5px;
    }
/* END messages & errors */


/* Debug panel */
div#debugPanel {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    overflow: auto;
    border: 1px black solid;
    margin: 10px;
    min-width: 150px;
    height: 300px;
    padding: 5px 10px;
    background-color: #808080;
    opacity: 0.9;
    font-size: 0.9em;
    color: #333;
}
    div#debugPanel h3 {
        margin-bottom: 0.5em;
        color: #fff;
    }
    div#debugPanel a {
        color: #ccc;
        text-decoration: none;
    }
    div#debugPanel dl {
        margin-bottom: 0;
    }
        div#debugPanel dl dt {
            margin-bottom: 0.2em;
            font-weight: normal
        }
        div#debugPanel dl dd {
            margin-left: 0;
            margin-bottom: 0.5em;
        }
/* END debug panel


/* Turn of tooltips */
.tipOwner .tipText {
    display: none;
}

table {border:0px;}
.full td { padding:4px; font-size:10px; border:0; }
.full th { padding:4px; font-size:10px; border:0;}
.backLight { background-color:#D8E6EC; }
.backDark { }
#manager-actions { 
	background-color:#5F7187; 
	border-bottom: 1px solid #5972A8;
	padding:10px;
	margin:0 0 10px 0; 
	color: #AFAFAF;
	background: url(http://www.cscc.ca/themes/default/images/blockBg.gif) repeat-x left top;
}



a.action, a.actionAdd, a.save, a.cancel,
a.action:hover, a.actionAdd:hover, a.save:hover, a.cancel:hover
{
	text-decoration:none; 
	padding:4px; 	
	margin:2px;
	border:1px transparent;;
	color:#8F8F8F;
}

	a.actionAdd, a.save, a.cancel, a.addNews, a.addStatic { padding-left:25px; }

	a.actionAdd{ background: url(http://www.cscc.ca/themes/default/images/icons/page_add.png) no-repeat 4px;}
	a.save{background: url(http://www.cscc.ca/themes/default/images/icons/page_save.png) no-repeat 4px;}
	a.cancel{background: url(http://www.cscc.ca/themes/default/images/icons/cross.png) no-repeat 4px;}
	a.addNews{background: url(http://www.cscc.ca/themes/default/images/icons/newspaper_add.png) no-repeat 4px;}
	a.addStatic{background: url(http://www.cscc.ca/themes/default/images/icons/layout_add.png) no-repeat 4px;}

	a.action:hover {  margin:2px; padding:4px; background-color:#0A6693; color:#8F8F8F; border:1px solid #5972A8; }
	a.actionAdd:hover, a.save:hover, a.cancel:hover { margin:2px; padding:4px; padding-left:25px; background-color:#0A6693; color:#8F8F8F; border:1px solid #5972A8; }
	.content {border:0px;}

    a.edit,a.edit:hover {
    	display:block;
	border:0px;
    	text-decoration:none;
    	padding-left:18px;
    	background: url(http://www.cscc.ca/themes/default/images/page_edit.png) no-repeat left center;
    }
 

.combox {
	position: absolute;
	display:block;
	background: #183E88;
	border: 1px solid #5972A8;
	padding: 10px 5px;
	margin-top:10px;
	margin-left:-10px;
}

/**
 * - navigation bar at the top
 * - 3 columns
 *
 * @package    themes
 * @subpackage default2
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */


/**
 * - horizontal navigation
 * - toolbar
 *
 * @package    themes
 * @subpackage default2
 * @author     Dmitri Lakachauskis <lakiboy83@gmail.com>
 */

/* Main navigation */
div#nav-main {
	overflow:hidden;
	height:10px;
}
    div#nav-main div.inner {
        margin-bottom: 0px;
        margin-top: 0px;
    }
    div#nav-main ul {
        margin: 0;
        list-style: none;
    }
    div#nav-main ul ul {
        display:none;
    }
        div#nav-main ul li {
            margin: 0;
            float: left;
        }
            div#nav-main ul li a {
                display: block;
                padding: 10px 1.3em 8px;
                border-right:1px solid #064668;
                font-weight: bold;
                text-decoration: none;
                color: #fff;
            }
            div#nav-main ul li a:hover, div#nav-main ul li.current a {
            		border-bottom: 7px solid #fff;
                color: #fff;
                text-decoration: none;
            }
/* END main navigation */


/* Toolbar */
div#nav-main div#toolbar {
    margin-bottom: 2px;
    padding: 0.6em;
}
/* END toolbar */

div#content {
    position: relative;
    width: 980px; /* 950 - (2 + 1) x 2 */
		
    /* padding needed for navigation */
}
div#main { /* 950 - 6 (wrapper) - 216 (right block) - 200 (left block) - 20 (paddings) */
    float: left;
    width: 518px;
    display: inline;
		
    margin-right: -220px;
    margin-left: 220px;
}
div#sub { /* actual width: 216 = 200 + 4 (right margin) + 1 * 2 (borders) + 5 * 2 (paddings) */
    float: right;
    width: 212px;
    display: inline;
}
div#local {
    float: left;
    width: 200px;
    display: inline;

    margin-left: -528px;
}
div#nav-main {
    width: 980px;
    height:56px;
}
