/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* clearing */
	.stretch,
	.clear {
		clear:both; 
		height:1px; 
		margin:0; 
		padding:0; 
		font-size: 15px;
		line-height: 1px;
	}
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* 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: -999em;
     	left: -999em;
     }
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}
/* end accessibility */
.NewsSummary {
    margin-bottom: 10px;
    border: 2px dotted #7f7f7f;
    padding: 1%;
 }

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
  display: none;
 }

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
  margin-bottom: 10px;
 }

#NewsPostDetailDate {
  font-size: 90%;
  font-style: italic;
  margin-bottom: 5px;
  }

#NewsPostDetailSummary {
   margin-bottom: 10px;
  line-height: 150%;
   }

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

/* to add specific style to the below div, uncomment them. */

.NewsSummaryLink { 
    font-size: 125%;
    line-height: 120%;
    font-weight: bold;
    padding-bottom: 3%;
}
.NewsSummaryAuthor:before { }
.NewsSummaryMorelink {}
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailCategory { display: none; }
#NewsPostDetailAuthor {}
#NewsPostDetailAuthor {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
/* make all links red */
.calendar tr td a
{
color: red;
}

/* highlight "today" for the small calendar */
.calendar-today
{
font-weight: bold;
}

/* display the "upcominglist" as one line per entry (assuming table_id='cal-upcominglist') */
#cal-upcominglist .calendar-date-title
,#cal-upcominglist .calendar-summary-title
{
display: none;
}

#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
display: inline;
margin-right: 5px;
}

/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
color: red;
font-size: 120%;
}
#cal-list h2, cal-upcominglist h2
{
font-size: 110%;
}

/** large calendar rules (assuming table_id='big') **/
/* border on for #big */
#big{
margin: 0px;
border-collapse:    collapse;
border: 1px solid black;
width: 100%;
}

/* nice squares for the #big table */
#big th
{
border: 1px solid black;
padding: 3px;
/*width: 75px;*/
width: 14%;
}

#big td {
border: 1px solid black;
vertical-align: top;
padding: 3px;
height: 75px;
/*width: 125px;*/
width: 14%;
}

/* format summaries nicely in #big */
#big ul
{
margin: 0px;
padding: 0px;
padding-left: 5px;
}

#big li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

/* background colours for #big */
#big td
{
#background-color: silver;
background-color: #E2E2E2;
}

#big .calendar-day
{
background-color: #80ff80;
}

#big .calendar-today
{
font-weight: normal;
#background-color: #8080ff;
background-color: #70E2ff;
}

.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
display: none;
}


.calendar-event {
    margin-bottom: 10px;
    border: 2px dotted #7f7f7f;
    padding: 1ex;
}/* Layout sections */
	body {
		/*background: #ccc;*/
		color: #333;
/*background-color: #385C72;*/
background-color: #5388A8;
		}
		
	div#pagewrapper {
		/* off for curved edges border: 1px solid #000; */
		/*background: #fff;*/
	    }
		
	div#header {
		color: #fff;
		}

        div#header_body {
          background: #385C72;
        }

        div#header_text_2 {
                color: #ffcc00;
                }
		
	div#footer {
		color: #fff;
/*		background-color: #385C72;*/
		}
div#container {
/*		  background-color: #cccccc;*/
/* off for curved boxes background-color: #FFFFFF; */
}

/* Links */		
	a,
	a:link 
	a:active, a:visited {
		color: #385C72;
	}

/* Headings */	
	h1, h2, h3, h4, h5, h6 {
		color: #000;
	}
         h2.accessibility {
                color: #000;
         }

/* PTOS Styles */

/*
div#content h2 {
  color: white;
  background: #0000ff;
  border: 1pt solid black;
}

div#content h3 {
  color: black;
  background: yellow;
  background: orange;
  border: 1pt solid black;
}
*/

div#content h2 {
  /*border-bottom: 4pt solid #0000ff;*/
  border-bottom: 4pt solid #5388a8;
}

div#content h3 {
  /*border-bottom: 4pt solid yellow;*/
  border-bottom: 4pt solid orange;
}

/* used for UG article embedded images */
.UGimage {
  border: 2px solid blue;
}
/* end UG styles */

#extra_bar {
  background: orange;
}

ul#quick_find_list {
  list-style-image: url("uploads/images/Icons/box_arrow.gif")
}
li.link, ul.link {
  list-style-image: url("uploads/images/Icons/box_arrow.gif")
}

.breadcrumbs { color: white; }
.breadcrumbs a { color: white; }

.content_body { background: white; }
#footer_body { background: #385C72; }
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* SITE SPECIFIC LAYOUT */
    body {
        margin: 0;
        padding: 1em;
        text-align: center;
    }
    div#pagewrapper {
        margin: 0 auto;
        max-width: 120em;
        min-width: 60em;
        padding: 0;
        text-align: left;
    }
    #container {
	position: relative;
	margin: 0;
    }
    
    /* HEADER */
        div#header {
            margin: 0;
            padding: 0;
            height: 115px;
            text-align: left;
        }
        div#header a#logo {
            background:  url(uploads/curves_theme/ptos_logo_r1.gif) no-repeat 6px 0px; 
            display: block;
            height: 115px;
            text-indent: -700em;
            width: 330px;
            margin: 0;
            padding: 0;
            text-decoration:none;
            top: 6px;
        }

        div#header_text {
            width: 375px;
            position: absolute;
            top: 12px;
            left: 325px;
            z-index: 2;
        }
        div#header_text_1 {
        }
        div#header_text_2 {
            text-align: right;
        }
    /* END HEADER */
    
    
    /* CONTENT */
        div#content {

        }
        
        /* MAIN */
            div#main {


            }
        /* END MAIN */
        
        /* SUB */
            div#sub {
                
            }
        /* END SUB */
        
    /* END CONTENT */
    
    
    /* FOOTER */
        div#footer {

        }

        div#footer p {
            font-size: 0.8em;
            margin: 0;
            padding: 15px;
            text-align: center;
        }
    /* END FOOTER */
/* END LAYOUT */



div.breadcrumbs {
   padding: 1em 0;
   text-align: left;
   font-size: 90%;
   margin: 0 1em;
   border-bottom: 1px dotted #000;
}

div.flags {
  float: right;
  width: 18px;
  padding: 1em 0;
  text-align: right;
  margin: 0 1em 0 0;
}

div.relational { 
  clear: both;
  padding-left: 2%;
  padding-right: 2%;
}

div.left49 {
  float: left;
  width: 49%;
  }

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  }


/* PTOS Styles */

div#content h2 {
  margin-top: 0;
  margin-bottom: 3%;
  padding-top: 1%;
  padding-bottom: 1%;
}


div#content h3 {
  margin-bottom: 3%;
  padding-top: 1%;
  padding-bottom: 1%;
  margin: 0 12.5%;
}

#random_image, #random_image2, #random_image3 {
/*  float: right; */
  padding-right: 10px;
  padding-top: 5px;
  z-index: 1;
position: absolute;
right: 0px;
}

#random_image img, #random_image2 img, #random_image3 img {
/*  height: 105px; */
/*height: 143px;*/
height: 180px;
}


#myframe { height: 100em; }

/* used for UG embedded images */

.floatleft { float: left; }
.floatright { float: right; }
.UGimage {
  margin: 1ex;
}

.UGimage img {
  padding: 1ex;
}
/* end UG styles */


/* extra link bar styles */
/* fixed height for the block and equal line-height for spans inside block below */
/* gives vertical centering of text inside the containing block */
#extra_bar {
/*  off for curved boxes height: 5.25em;*/
  white-space: nowrap;
}

#extra_bar form, #extra_bar div {
  display: inline;
}

#extra_bar * {

}

div#extra_bar_wrap { padding-bottom: 0.5%; }

#extra_bar span {
  width: 32%;
  line-height: 2.5em;
}

#extra_left_bar {
  text-align: left;
  float: left;
  padding-left: 1ex;
}

#extra_right_bar {
  text-align: right;
  float: right;
  padding-right: 1ex;
}

#extra_center_bar {
  text-align: center;
  float: left;
}


ul#quick_find_list li {
  padding-bottom: 0.5em;
}

#valid_xhtml {
  display: inline;
  position: absolute;
  float: left;
}

@media print {
  #menu_horiz { display: none; }
  div#menu_vert { display: none; }
  #extra_bar { display: none; }
  #header { display: none; }
  .relational { display: none; }
}

.content_body { padding: 0 1%; }/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* FORM ELEMENTS */
	form {
		margin:0;
		padding:0;
	}
	form div,
	form p {
		font-size: 1em;
		margin: 0 0 1em 0;
		padding: 0;
	}
	label {
		font-weight: bold;
	}
	fieldset {
		border: 1px solid #eee;
		padding: 5px 10px;
		margin: 0 0 1.5em 0;
	}
	fieldset legend {
		color: #666;
		font-size: 1.1em;
		font-weight: bold;
		margin: 0 0 0 0px;
		padding: 0;
		background-color: white;
	}
	* html fieldset legend {
		margin: 0 0 10px -10px;
	}
	fieldset ul {
		list-style: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	fieldset ul li {
		list-style: none;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
     
	
	input, select, textarea {
		font-size:1em; 
		font-family: arial, helvetica, verdana, sans-serif;
        
        margin: 0;
		padding: 2px;
	}
	
	input, select {
		vertical-align:middle;
	}
	textarea {
		width: 200px;
		height: 8em;
	}
	
	input.check {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.radio {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.file {
		height: auto;
		width: 250px;
	}
	input.readonly {
		background-color: transparent;
		border: none;
	}
	input.button {
		width: 10em;
		border:1px solid black;
		background-color: #ddd;
	}
	input.image {
		border: none;
		width: auto;
		height: auto; 
	}
	
    form div.submit {
		margin: 1em 0;
	}
    form div.submit input {
		height: 2em;
        width: 15em;
	}
/* END FORM ELEMENTS */
		/* A CSS Framework by Mike Stenhouse of Content with Style */

/* TYPOGRAPHY */
	body {
		text-align: left;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		font-size: 75.01%;
                
	}
	div {
		font-size: 1em;
	}
	img {
		border: 0;
	}
	
/* LINKS */
	a,
	a:link 
	a:active, a:visited {
		text-decoration: underline;
	}

        div#footer a, 	
        div#footer a:link 
	div#footer a:active, div#footer a:visited {
               color: #fff;
        }

	a:hover {
	text-decoration: none;
	}
/* END LINKS */
	
/* HEADINGS */
         h1 {
		font-size: 2em;
		line-height: 1em;
		margin: 0;
		padding: 0;
	}
        h2.accessibility {
		font-size: 1.5em;
                line-height: 1.5em;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
	h3 {
		font-size: 1.3em;
		line-height: 1.3em;
		margin: 0 0 0.5em 0;
		padding:0;
	}
	h4 {
		font-size: 1.2em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h5 {
		font-size: 1.1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h6 {
		font-size: 1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
        #header_text_1 {
                font-size: 130%;
                line-height: 100%;
        }
/* END HEADINGS */

/* TEXT */
	p {
		font-size: 1em;
		margin: 0 0 1.5em 0;
		padding: 0;
/*		line-height:1.4em;*/
                line-height: 125%;
	}
	blockquote {
		border-left: 10px solid #ddd;
		margin-left: 10px;
	}
	pre {
		font-family: monospace;
		font-size: 1.0em;
	}
	strong, b {
		font-weight: bold;
	}
	em, i {
		font-style:italic;
	}
    code {
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
        white-space: pre;
    }
/* END TEXT */
	
/* LISTS */
	#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
/* END LISTS */
	
	
/* TABLE */
	table {
        font-size: 1em;
		margin: 0 0 1.5em 0;
        padding: 0;
	}
	table caption {
		font-weight: bold;
		margin: 0 0 0 0;
		padding: 0 0 1.5em 0;
	}
	th {
		font-weight: bold;
		text-align: left;
	}
	td {
		font-size: 1em;
	}
/* END TABLE */	
	
	hr {
		display: none;
	}

	div.hr {
		height: 1px;
		margin: 1em 10px;
		border-bottom: 1px dotted black;
	}

/* PTOS Typography */

div#content h2 {
  font-size: 160%;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

div#content h3 {
  font-size: 130%;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

#extra_bar {
  font-size: 125%;
  font-weight: bold;
}

ins.validator { text-decoration: none; }
	
/* END TYPOGRAPHY */	
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

#menuwrapper { 
        overflow: hidden; 
        background-color: #ECECEC;
/*        border-bottom: 1px solid #C0C0C0;*/
        width: 100%;
        }

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li { 
        width: 200px; 
       }


/* Unless you know what you do, do not touch this */ 

#primary-nav, #primary-nav ul { 
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	}
#primary-nav ul { 
	position: absolute; 
	top: auto; 
	display: none; 
	}
#primary-nav ul ul { 
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%; 
	top: 0px; 
	}
	
#primary-nav li { 
	margin-left: -1px;
	float: left; 
	}
#primary-nav li li { 
	margin-left: 0px;
	margin-top: -1px;
	float: none; 
	position: relative; 
	}

/* Styling the basic apperance of the menu elements */

#primary-nav a { 
	display: block; 
	margin: 0px; 
	padding: 5px 10px; 
	text-decoration: none; 
	}
#primary-nav li a { 
	border-right: 1px solid #C0C0C0;
	border-left: 1px solid #C0C0C0;
	}
#primary-nav li li a { 
	border: 1px solid #C0C0C0;
	}	
#primary-nav li, #primary-nav li.menuparent { 
	background-color: #ececec; 
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
	background-color: #C7C7C7; 
	}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav ul li.menuparent, #primary-nav ul li.menuparent:hover, #primary-nav ul li.menuparenth { 
	background-image: url(uploads/curves_theme/arrow.gif); 
	background-position: center right; 
	background-repeat: no-repeat; 
	}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh { 
	background-color: #E7AB0B; 
	}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul { 
	display: none; 
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul { 
	display: block; 
	}


/* IE Hacks */

#primary-nav li li { 
	float: left; 
	clear: both; 
	}
#primary-nav li li a { 
	height: 1%; 
	}
-->/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

 
/* NAV BAR AT THE TOP AND ONE COLUMN OF CONTENT */
    div#content {
        width: 96%;
        margin: 0;
        padding: 1em 2%;
        text-align: left;
    }
    div#main {

    }
    div#menu_horiz {
        width: 100%;
        text-align: left;
        z-index: 50;
    }

/* END CONTENT *//* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* NAV BAR AT THE TOP, LOCAL NAVIGATION ON THE LEFT AND ONE COLUMN OF CONTENT */
    div#content {
/*        position: relative; */
        margin: 1.5em auto 2em 0;
        padding: 0;
        text-align: left;
    }
    div#main {
        float: right;
/*        width: 80%;*/
        width: 82%;
        display: inline;
/*        padding: 0 2%;*/
        padding: 0 0;
    }
    div#menu_vert {
        float: left;
/* cmsms default        width: 25%;*/
        width: 15%;
        display: inline;
    }
    div#menu_horiz {
        width: 100%;
        text-align: left;
    }
/* END CONTENT */#menu_vert, #menu_vert ul {
  margin: 0;
  padding: 0;
  }

#menu_vert ul {
  width: 100%; /* Width of Menu Items */
  border-top: 1px solid #006699;
  border-right: 1px solid #006699;
  background: #ececec;
  }
#menu_vert li {

  width: 100%;
list-style: none;
  }

#menu_vert li a {
  display: block;
  text-decoration: none;
  padding: 5px 5px 5px 10px;
  border-bottom: 1px solid #006699;
  color: #18507C;
  }

/* Fix IE. Hide from IE Mac \*/
* html #menu_vert li { float: left; height: 1%; }
* html #menu_vert li a { height: 1%; }
/* End */

    div#menu_vert ul ul li a, 
    div#menu_vert ul ul li a:link, 
    div#menu_vert ul ul li a:visited  {
        display: block;
        padding: 3px 5px 3px 25px;
        border-bottom: none;
        font-size: 90%;
    }
    div#menu_vert ul ul  {
      border-right: none;
      border-top: none;
      border-bottom: 1px solid #006699;
      padding-bottom: 5px;
    }

    div#menu_vert ul ul ul li a, 
    div#menu_vert ul ul ul li a:link, 
    div#menu_vert ul ul ul li a:visited  {
        padding-left: 40px;
    }
    div#menu_vert ul ul ul  {
      border-bottom: none;
    }
#menu_vert li ul li a { padding: 5px 5px; } /* Sub Menu Styles */

/* fixed image flicker by adding .cssmenu-vertical ul */

#menu_vert li a:hover {
	background-color: #abb0b6;
}

.current
{
	list-style-type: square;
	display: inline;
	background-color: #abb0b6;
}

#menu_vert li.activeparent {
   background-color: #abb0b6;
}

#menu_vert li.active01 h3 {
  display: block;
  text-decoration: none;
  padding: 5px 5px 5px 10px;
  border-bottom: 1px solid #006699;
  color: #18507C;
  margin: 0;
  font-size: 1em;
  line-height: 1em;
  background-color: #abb0b6;
  }

#menu_vert li.active02 h3
{
  display: block;
  padding: 3px 5px 3px 25px;
  border-bottom: none;
  font-size: 90%;
  font-weight: bold;
  color: #18507C;
  margin: 0;
}

#menu_vert li.active03 h3
{
  display: block;
  padding: 3px 5px 3px 40px;
  border-bottom: none;
  font-size: 90%;
  font-weight: bold;
  color: #18507C;
  margin: 0;
}

li.sectionheader {
  margin: 0;
  margin-right: -1px;
 }
li.sectionheader h3 {
   margin: 0;
   padding: 1em 10px 0.5em 10px;
   border: none;
   background-color: #fff;
  border-bottom: 1px solid #006699;
  z-index: 90;
}

li.separator {
   height: 1px;
   padding: 0.5em 0;
   margin: 0;
   width: 100%;
   border-bottom: 1px dotted black;
	}
/* Curved Box Borders Styles */

.b1, .b2, .b3, .b4 {
  display: block;
  height: 1px;
  font-size: 1px;
}

.b1 { margin: 0 5px; }
.b2 { margin: 0 3px; }
.b3 { margin: 0 2px; }
.b4 {
  margin: 0 1px;
  height: 2px;
}

div#header b { background:#385C72; }
div#extra_bar_wrap b { background: orange; }
div#menu_horiz b { background: #ECECEC; }
div#main b { background: white; }
div#content2 b { background: white; }
div#footer b { background: #385C72; }
