body {
    font-family: Arial, Helvetica, sans-serif;
    background-color : whitesmoke;
    margin-left: auto;
	margin-right: auto;
    font-size: 12pt;
	max-width: 1200px;
	min-width: 550px;
}
select {
    font-family: inherit; 
    font-size: inherit;
    z-index: 1;
    outline: none;
    grid-template-areas:"select";
    align-items: center;
    border: 3px outset #fefefe;
    border-radius: 6px;
    padding: 3px; 
    cursor: pointer;
    line-height: 1.1;
    color: black;
}
mark { 
    background-color:#ffff00; 
}
a.link {
    color: aqua;
}

a.visited {
    color: aqua;
}

a.hover {
    color: blue;
}

hr {
    margin-left: 10%;
    margin-right: 10%;
}

.hr40 {
    margin-left: 30%;
    margin-right: 30%
}
	 
.cteal {color:#008080}

.cTable { font-size: x-small; font-weight: 400; }

.cIndent {
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
}

.cThin {
    margin-left: 10%;
    margin-right: 10%;
}
.cRight {
    text-align: right;
    margin-right: 2%;
}
.cLeft {
    text-align: left;
    margin-left: 2%;
}
.cCenter {
    text-align:center;
}
.cJustify {
    text-align:justify;
}
.sc{
    font-variant:small-caps;
}

.cClose {
    font-weight: 700; 
    font-style: italic; 
    text-align: center; 
}

.cSpaced {
    margin-left: 5%;
    margin-right: 5%;
}

.cHeader {
    padding-right:5%;
}

.footer{
    clear: both;
    width: 100%;
}

.map {
    width: 160px;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
}

.news {
    width: 400px;
    vertical-align: top;
}
        
.border
{
    width: 10px; /*Width of spacer column in pixels*/
    vertical-align: top;
    background-image: url(border.gif);
    background-repeat: repeat;
}

.content
{
    float: left;
    margin-right: 10%;
    margin-left: 30%;
    text-align: center;
}

.cLiSpaced {
    margin-bottom: 0.75em;
}

.cBSpaced {
    line-height: 150%;
}

/* 
    cMainMenu is used to sort of replicate the styling of the primary menu
    buttons, when displaying HELP files.
*/
.cMainMenu {
    color: blue;
    background-color: #96FFFF;
    border-color: whitesmoke;
    border-style: outset;
    border-width: 2px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
/*    font-size: smaller;	*/
	padding: 6px 8px 4px 8px;
    font-family: Arial,Helvetica,sans-serif;
    text-align: left;
    vertical-align: central;
	margin-bottom: 6px;
    cursor: pointer;
}
/*
    cLikeMenu is used to have a LinkButton that looks like the main menu
*/
.cLikeMenu {
    color: blue;
    background-color: #96FFFF;
    border-color: whitesmoke;
    border-style: outset;
    border-width: 2px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: smaller;
	padding: 6px 8px 4px 8px;
    font-family: Arial,Helvetica,sans-serif;
    text-align: left;
    vertical-align: central;
	margin-bottom: 6px;
    cursor: pointer;
}

.cNoCursor {
    cursor: default;
}

#logo_div {
    text-align:center;
    height: 100px;
}

.cRegForm {
    display: inline-block;
    width: auto;
	border: 5px outset LightCyan;
}

.cRegBtn {
    display: inline-block;
    width: auto;
	border: 5px outset LightCyan;
    cursor: pointer;    
}
/*
	14-Jun-2020 KWB LogoBar sets up the logo as part of a fixed-position background
*/
#LogoBar {
	/* The next line needs to be commented to go back to floating menu */
	position: fixed;
	top: 0px;
	padding:  5px 5px 5px 0px;
	width: 100%;
	max-width: 1200px;
    /*min-width: 680px;*/
	z-index: 100;
	background-color: #f4f4f4;
	background-image: url("/Trinidays/logo_bg.gif");
	background-position: center;
	background-position-y: top;
	background-repeat: no-repeat;
	height: 105px;
}
#primary {
	padding-top: 100px;
    min-height: 500px;
}
/*
    The #primary_nav_wrap sets up the style prefix for everything in the <nav> block.
*/

#primary_nav_wrap
{
	background-color:  #efefef;
}

#primary_nav_wrap ul
{
    list-style: none;
}

#primary_nav_wrap ul a
{
    display: block;
    color: blue;
    background-color: #96FFFF;
    border-color: whitesmoke;
    border-style: outset;
    border-width: 2px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: smaller;
	padding: 6px 6px 4px 6px;
    font-family: Arial,Helvetica,sans-serif;
    text-align: left;
}

#primary_nav_wrap ul a:hover
{
    background-color:whitesmoke;
}

#primary_nav_wrap ul li
{
    position:relative;
    float:left;
    margin:0;
    padding:0;
}

#primary_nav_wrap ul li.current-menu-item, #tc_nav_wrap ul li.current-menu-item
{
    background-color: whitesmoke;
}

#primary_nav_wrap ul li:hover
{
    background-color: whitesmoke;
}

#primary_nav_wrap ul ul
{
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    padding: 0;
}

#primary_nav_wrap ul ul li
{
    width: 165px;  
}

#primary_nav_wrap ul ul a
{
	font-size: 14px;
	/*padding:  8px 6px 6px 6px;*/
    padding: 8px 6px 6px 6px;
}

#primary_nav_wrap ul ul ul
{
    top: 3px;
    left: 100%;
}

#primary_nav_wrap ul li:hover > ul
{
    display:block;
}            

.hButton {
    /*Styling for the HELP button*/
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-color: #fcfcfc;
    padding: 2px;
    border-radius: 3px;
    border-style:outset;
    vertical-align: middle;
}

.hButton:hover, 
	.simButton:hover, 
	.biggerButton:hover,
	input[type=submit]:hover,
	input[type=reset]:hover,
    .lbtn:hover
	{   background-color: white;
        cursor: pointer;
    }

.simButton, input[type = submit], input[type=reset] {
	/* Styling to simulate a button */
    border-width: 2px;
    border-color: #fcfcfc;
    padding: 2px;
    border-radius: 3px;
    border-style:outset;
    vertical-align: middle;
	background-color: #f8f8f8;
    color: black;
}

.lbtn {
    /* A fancier button - the default for a LinkButton */
    border: 3px outset #fcfcfc;
    padding: 4px;
    border-radius: 8px;
    /*vertical-align: middle;*/
    background-color: whitesmoke;
    /* Changes to use <a class="lbtn"...> */
    text-decoration:none;
    font-size: 0.95em;
    margin: 10px 0;
    font-weight:700;
}

.sbtn {
    /* Like lbtn, but smaller */
    border: 2px outset #fcfcfc;
    padding: 2px;
    border-radius: 4px;
    background-color: whitesmoke;
    text-decoration:none;
    font-size: 0.75rem;
    font-weight:700;
}

a.lbtn:link, a.sbtn:link { color:#404040; }
a.lbtn:visited, a.sbtn:visited { color: #404040; }
a.cRegBtn:link { color: black; }
a.cRegBtn:visited { color: black; }
a.cRegBtn { text-decoration: none; padding-left:5px; padding-right: 5px; }

.biggerButton {
	/* Like hButton, but larger */
    width: 36px;
    height: 36px;
    border-width: 2px;
    border-color: #fcfcfc;
    padding: 2px;
    border-radius: 3px;
    border-style:outset;
    vertical-align: middle;
}

.sticky {
	position: fixed;
	top: 0;
	padding-right: 10px;
}
.sticky + .content {
	padding-top:  100px;
}

@media (max-width: 900px){ /* responsive layout break point */

    #primary_nav_wrap ul ul {
        left: 0;
    }
	
    #contentcolumn{
		margin-left: 0;
    }

    #tv_nav_wrap {
        width: 200px;
        margin-left: 10px;
    }
    
    #tv_nav_wrap ul ul { left:10px; width: 150px;}
}

@media print {
	#logo_div, #menu, .no-print, #LogoBar { display: none; }
	#primary { padding-top: 0px; }
}
/* Resident pages may include a table */
#restable, #restable.td, #restable.th { border: 1px solid black; padding: 5px; }

/* When debugging, I often draw a border around en element to locate it on the page */
.cRedBorder { border: 1px solid red; }
.cBlueBorder { border: 1px solid blue; }
.cBlackBorder { border: 1px solid black; }

/* An anchor <a> can be styled as a button */
.abtn {
    background:none;
    border:2px outset gray;
    border-radius: 4px;
    padding:3px;
    text-decoration:none;
    color:black;
}
.abtn:hover {
    cursor:pointer;
}
.mbtn {
    color:blue;
    background-color: whitesmoke;
    border:none;
    font-size:large;
    cursor:pointer;
}

/*  
    flex definitions: an item, 
        then a container where items slide from right UNDER other items (e.g. general.php), 
        then a container where items slide from right OVER others (e.g. index.php)
*/
.flexitem {
    flex-basis: auto; 
}
.flexunder {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}
.flexover {
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    justify-content: space-around;
}
/* Sometimes I just want to rotate a symbol by 90 degrees*/
.rot90 {
    writing-mode:vertical-lr; 
    text-orientation: mixed;
}
/* Used to be in index.css */
.fbtn {
    border: 5px outset LightCyan;
    background-color: #f5f5f5;
    cursor:pointer;
    text-decoration:none;
    padding:5px;
}
a.fbtn, a.fbtn:visited { color: black;}
a.fbtn:hover { color:black; background-color:white; }