/*
 * Style tweaks
 * --------------------------------------------------
 */
 
html, body {height: 100%;}

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  font-family: Arial, Helvetica, sans-serif; line-height:150%; color:#000;

}
body {
  padding-top: 30px;
}

td, p, ul, ol, blockquote {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 0.9em;
	color: black;
}

.container { }
	
#mainrow { border:3px double;}

/* 
 * Legacy General Styles ------------------------------------------------------------------
*/

.header  { /* same as h4 but without the extra line spacing */
	font-weight: bold;
	color: black;
}

.navbarheader {
	font-size: 125%;
	font-weight: bold;
	text-decoration: none;
	font-style: normal;
	margin-bottom:15px;

}
h1 {
	font-size: 110%;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
}
h2 {
	font-size: 110%;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
	margin: 0px;

}
h3 {
	font-size: 110%;
	font-style: normal;
	font-weight: bold;
}
h4 {
	font-size: 150%;
	font-style: normal;
	font-weight: bold;
	margin: 0px;
}

h5, h6  {
	font-weight: normal;
	font-size: 110%;
	color: black;
	margin : 0;
}

a:link, a:active { 
	color: blue; 
	text-decoration:underline;
}

a:visited { 
	color: purple;  
}

ul.sub{
	font-weight: normal;
	color: black;
}

p {}


p b  { /* This sets all bold tags within the p tag to the follow style. */
	font-weight: bold;
	color: black;
}

b  { /* This sets all bold tags not wrapped in a p tag with the follow style. */
	font-weight: bold;
	color: black;
}

p em {
	 font-weight: bold;
	 font-style: italic;
}

cite {
	font-size: smaller;
}

.new {
	font-style: italic;
	font-weight: bold;
	color : Red;
}

/* 
 * Main Content Styles   ------------------------------------------------------------------
*/
#maintxt {
	border-left:3px double;
	padding-top:2rem;
	}
	
#maintxt td {
	padding:0.15em;
	}


/* 
 * Sidebar Styles   ------------------------------------------------------------------
*/

#sidebar {
	padding-top:1rem;
	}

#sidebar ul {
	margin:0 0 20px 0;
	padding:0px;
	list-style:none;
	}
	
#sidebar ul li {
	margin:15px 0 0 0;
	padding:0px;}

#sidebar ul ul li {
	list-style:disc;
	margin:0 0 0 0;
	margin-left:15px;}
	
#sidebar li {
	line-height:1.2em;
	}

li.homelist {
	margin-bottom:15px;
	}

#sidebar p {
	font-size:0.85em;
	line-height:1.1em;
	}

/* 
 * Footer Styles   ------------------------------------------------------------------
*/

footer {
	margin-bottom:15px;
  	padding: 30px 18px 0 18px;
  	font-weight: normal;
	font-size: small;
	font-weight:bold;
	line-height:115%;
	color: black;
	clear:both;
	border-right:3px double;
	border-left:3px double;
	border-bottom:3px double;
}

.copyright p {
	font-weight:normal;
	text-align:center;
	}



/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
	
   #mainrow, #maintxt, #sidebar, footer { border:none;}
   
   footer {padding:0 1rem;}

  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
	
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
	
  }

  .row-offcanvas-left.active {
    left: 52%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */

  }
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) { ... }

/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) { ... }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) { ... }
