/*---------------------------------------------------------------------------*/
/* General font and background colors for each page                          */
/*---------------------------------------------------------------------------*/
BODY {
  background: #FFFFFF;
  color: #000000;
  font-size: 1em;
}

H2 {
  font-family: 'Open Sans', sans-serif;
  margin-top: 0px;
}

H3 {
  font-family: 'Open Sans', sans-serif;
  margin-top: 0px;
}

/* new index layout */

.login-body {
  background-image: url(../images/background/IMG_3875.JPG);
  background-repeat: no-repeat;
  background-size: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
}

.login-container {
  min-height: 100%;
  position: relative;
}

.login-footer {
  background: #000000;
  bottom: 0;
  color: #FFFFFF;
  font-size: 0.8em;
  opacity: 0.5;
  padding-bottom: 5px;
  padding-top: 5px;
  position: absolute;
  text-align: center;
  width: 100%;
}

.login-footer > a,
.login-footer > a:link,
.login-footer > a:visited {
  color: #FFFFFF;
  font-size: 1em;
  padding: 0;
}

.login-group {
  background: #FFFFFF;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-left: 20px;
  padding-top: 20px;
  width: 300px;
}

.login-group > div {
  padding: 2%;
  width: 98%;
}

.login-group > div > a,
.login-group > div > button,
.login-group > div > input,
.login-group > div > select {
  padding: 2%;
  padding-left: 4px;
  width: 98%
}

.login-group > div > a {
  font-size: 0.8em;
}

.login-group > div > button {
  background: #DDDDDD;
  border: 0 none;
  border-radius: 6px;
  color: #000000;
}

.login-group > div > button:hover {
  text-decoration: underline;
}

.login-group > div > button:active {
  background: #BBBBBB;
}

.login-group > div > input,
.login-group > div > select {
  background: #DDDDDD;
  border: 0;
  border-radius: 5px;
  font-style: italic;
}

@media only screen and ( max-width: 1024px )
{
  .login-body {
    background-image: none;
  }

  .login-group {
    height: 100%;
    margin-left: 0px;
    padding-top: 0px;
    width: 100%;
  }
}

/* /new index layout */

/*---------------------------------------------------------------------------*/
/* Layout container for login/logout/password screens, to center screen      */
/*---------------------------------------------------------------------------*/
TABLE.framed {
  border: #7F9DB9 2px solid;
  border-radius: 10px;
}

TABLE.framed TH {
  padding: 3px;
}

TABLE.framed TD {
  padding: 3px;
}

/*---------------------------------------------------------------------------*/
/* Nothing would be complete without the parameters for the links            */
/*---------------------------------------------------------------------------*/
A:link    {color:           #20396E;
           text-decoration: none;
           font-weight:     bold;}
A:visited {color:           #20396E;
           text-decoration: none;}
A:active  {color:           #000000;
           text-decoration: none;}
A:hover   {color:           #000000;
           text-decoration: underline;}

/*---------------------------------------------------------------------------*/
/* Tooltip / help links                                                      */
/*---------------------------------------------------------------------------*/
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;    /* Underline */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*---------------------------------------------------------------------------*/
/* Brief summary box for the main page                                       */
/*---------------------------------------------------------------------------*/
DIV.summarybox        {border:           #7F9DB9 2px solid;
                       border-radius:    20px;
                       text-align:       center;}
DIV.section.top       {background-color: #D6DEF2;
                       border-radius:    18px 18px 0px 0px;
                       color:            #206A8D;
                       font-weight:      bold;}
DIV.section.topbottom {background-color: #D6DEF2;
                       border-top:       #7F9DB9 1px solid;
                       border-bottom:    #7F9DB9 1px solid;
                       color:            #206A8D;
                       font-weight:      bold;}
DIV.section.bottom    {background-color: #D6DEF2;
                       border-radius:    0px 0px 18px 18px;
                       color:            #206A8D;
                       font-weight:      bold;}

/* ------------------------------------------------------------------------- */
/* Menu                                                                      */
/* ------------------------------------------------------------------------- */
#nav
{
    background: #d6def2;
    position: absolute;
    font-family: 'Open Sans', sans-serif;
    left: 0px;
    top: 125px;
    width: 100%;
}
#nav a
{
    font-weight: normal;
}
#nav>a
{
    display: none;
}
#nav ul
{
    background: #d6def2;
    list-style: none;
    padding: 0px;
}
#nav li
{
    float: left;
    width: 20%;
}
#nav li:hover
{
    background: #c2cadc;
}
#nav li ul
{
    position: absolute;
    display: none;
}
#nav li:hover > ul
{
    display: block;
}
#nav li li
{
    position: relative;
    display: block;
    float: none;
    width: 100%;
}
#nav li li ul
{
    position: absolute;
    left: 100%;
    top: 0px;
}
#nav>ul
{
  height: 2em;
  margin: 0px;
  padding-left: 10px;
}
#nav>ul>li
{
  width: 14%;   /* 7 columns = 98% */
  float: left;
  height: 100%;
  text-align: center;
}
#nav>ul li>a
{
  line-height: 2em;
}
#nav ul ul
{
  width: 14%;
}
#nav ul ul ul
{
  width: 100%;
}
#nav>ul>li:not( :last-child )
{
  border-right: 1px solid #20396E;
}
#nav li li > a:after
{
  content: ' >';
}
#nav li li > a:only-child:after
{
  content: '';
}

/* Match boundary in header.php */
@media only screen and ( max-width: 1024px )
{
	#nav
	{
	  display: inline-block;
	  text-align: center;
	}
		#nav > a
		{
			height: 2em;
			position: relative;
		}
			#nav > a:after
			{
				content: "Navigation menu";
			}

		#nav:not( :target ) > a:first-of-type,
		#nav:target > a:last-of-type
		{
			display: block;
		}

	/* first level */

	#nav > ul
	{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		padding-right: 10px;
	}
		#nav:target > ul
		{
			display: block;
		}
		#nav > ul > li
		{
			width: 100%;
			float: none;
		}
    #nav>ul>li:not( :last-child )
    {
      border-right: none;
    }
			#nav > ul > li > a
			{
				height: auto;
				text-align: left;
				padding: 0 0.833em; /* 20 (24) */
			}
				#nav > ul > li:not( :last-child ) > a
				{
					border-right: none;
				}
    #nav ul ul
    {
      width: 100%;
    }

		/* second level */

		#nav li ul
		{
			position: static;
			padding-top: 0;
			border: 1px solid #20396E;
		}

		#nav li li ul
		{
			position: static;
		}
}

/* ------------------------------------------------------------------------- */
/* Header                                                                    */
/* ------------------------------------------------------------------------- */
div.header      {background-image: url(../images/header-background.jpg);
                 background-repeat: repeat-x;
                 height:            150px;
                 left:              0px;
                 position:          absolute;
                 top:               0px;
                 width:             100%;}
div.header span {font-weight:       bold;
                 margin-left:       10px;
                 position:          relative;
                 top:               5px;}
div.header img  {margin:            10px;}
div.headertext1 {color: #0056AD;
                 left: 160px;
                 top: 52px;
                 position: absolute;
                 font-family: "Helvetica", sans-serif;
                 font-size: 2em;}
div.headertext2 {font-size: 0.7em;}

/* Match boundary in header.php */
@media only screen and ( max-width: 1024px )
{
  div.headertext1 {font-size: 1em;}
  div.headertext2 {font-size: 1em;}
}

/* ------------------------------------------------------------------------- */
/* Footer                                                                    */
/* ------------------------------------------------------------------------- */
div.footer {
  border-top: #7F9DB9 1px solid;
  clear: both;
  font-size: 0.8em;
  font-weight: bold;
  padding-top: 10px;
  text-align: center;
}

/* ------------------------------------------------------------------------- */
/* Structural DIV statements                                                 */
/* ------------------------------------------------------------------------- */
div.content {
  padding-bottom: 10px;
  padding-top: 10em;
  text-align: left;
}

/* ------------------------------------------------------------------------- */
/* FORM response statements                                                  */
/* ------------------------------------------------------------------------- */
div.success {
  background: #66ff66;
  color: #000000;
  padding-left: 3px;
}

div.failure {
  background: #CC3333;
  color: #FFFFFF;
  padding-left: 3px;
}