
/**************************************/
/*     Body and Page Style            */
/**************************************/
body
  {
    margin: 0;

	background-color: #ffffff;
    /*background:url(bg01.jpg) no-repeat center center;
    background-size:cover;*/
    font-family: Georgia, "Times New Roman", Arial, sans-serif;
    color: #141414;
    text-align: left;
    line-height: 1.4em;
    font-size: 16px;
  }


/**Main Page Link Style**/
a
{
    color: #663300;
}
a:hover
{
    color: #cc3300;
}
a:visited
{
    text-decoration:underline;
    color: #330000;
}

a:visited:hover
{
    text-decoration:underline;
    color: #cc3300;
}

a:active
{
    text-decoration:underline;
    color: #330000;
}

i
{
    font-weight: bold;
}

h1
  {
    font-family: Helvetica, Arial, sans-serif;
	font-size: 2.25em;
    line-height: 1.35em;
    font-weight: 300;
	padding-top: 3px;
    padding-bottom: 5px;
	border-bottom: solid 2px #990000;
    margin: 0 0 1em 0;
    padding-left: 5px;
  }

h2
  {
    font-size: 22px;
    margin: 0 0 10px;
    font-weight: 300;
    line-height: 1.2em;
    /*text-transform: uppercase;*/
  }

ul
  {
    padding 10px;
  }
h3
  {
	font-size: 18px;
    font-weight: 300;
  }

div.header
{
    float: left;
    margin-top: 0px;
    margin-bottom: 30px;
    font: 15px Georgia, "Times New Roman", Arial, sans-serif;
    max-width: 600px;
    z-index:11;

}

div.mainContainer
{
    margin-bottom: 35px;
    width: min(100%, 1000px);
    min-height: 800px;
    overflow: hidden;
}

div.frontmainContainer
{
    margin-bottom: 35px;
    width: min(100%, 1000px);
    min-height: 500px;
    overflow: hidden;
}


div.main
{
    float: right;
    background-color: #FFFFFF;
    font-size: 16px;
    font-family: Georgia, "Times New Roman", Arial, sans-serif;
    margin-top: 35px;
    width: 550px;
    line-height:130%;
    z-index:10;
}

div.noteOutline
{
    font-size: 14px;
    font-family: Georgia, "Times New Roman", Arial, sans-serif;
    margin-top: 35px;
    width: 400px;
    line-height:130%;
    z-index:11;
    border: thin #663300 solid;
}

li.setBottom
{
    margin-bottom: 10px;
}

li.setBottomAndTop
{
    margin-bottom: 10px;
    margin-top: 10px;
}





/**************************************/
/*     Navigation and Link Stuff      */
/**************************************/

div.navigation
  {
  margin-top: 0px;
  width: 100%;
  z-index:8;
  background-color: #990000;
  }

.dropdown {
	cursor:pointer;
	margin-left:1px;
	position: relative;
    display: inline-block;
}

/**Navigation Buttons in Banner**/
.navstyle:link {
  display: block;
  font-size: 12px;
  color: #FFFFFF;
  background-color: #990000;
  width: 75px;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
}
.navstyle:visited {
  display: block;
  font-weight: bold;
  font-size: 12px;
  color: #FFFFFF;
  background-color: #990000;
  width: 75px;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
  margin: auto;
}
.navstyle:hover {
  display: block;
  font-size: 12px;
  color: #FFFFFF;
  background-color: #bb0000;
  width: 75px;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
  margin: auto;
}
.navstyle:focus {
  display: block;
  color: #000000;
  background-color: #000000;
   width: 75px;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
  margin: auto;
}

.navstyle:active {
  display: block;
  font-weight: bold;
  color: #000000;
  background-color: #000000;
  width: 75px;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin: auto;
}

/**The Link Style Inside the Dropdown Menu**/
.menustyle:link
 {
     color: #000000;
 }
.menustyle:visited
{
    color: #333333;
}
.menustyle:hover
{
    color: #000000;
}

.footerstyle:link
{
    color: silver;
}
.footerstyle:visited
{
    color: #f9f9f9;
}
.footerstyle:hover
{
    color: #e9e9e9;
}

/**Notes Navigation Bar**/
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*background-color: #333;*/
    background:rgba(15,15,15,.70);
}

ul.topnav li {float: left;}

ul.topnav li a {
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    padding: 19px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

ul.topnav li a:hover {background-color: #333;}

ul.topnav li.icon {display: none;}


#header_area
{
	width:95%;
	margin:0 auto;
	position:absolute;
	left:0;
	right:0;
	top:0;
	padding: 0px 0px;
}
.center_container
{
	max-width:1140px;
	margin:0 auto;
}

/**Red spacer for banner and footer.**/
.spacer
{
    margin: 0 auto;
    width: 100%;
    height: 15px;
    background: #990000;
}

/**Note Banner BG**/
#noteBG
{
    background:url(../../images/Banner.jpg) no-repeat center;
    background-size:cover;
    width: 100%;
    min-height: 60px;
    margin-top: 0;
}

/**Note Footer BG**/
#noteFBG
{
    background:url(../../images/Footer.jpg) no-repeat center;
    background-size:cover;
    width: 100%;
    min-height: 60px;
    margin-top: 0;
}

.AdvTd
{
    vertical-align:top;
    background-color: #7efc7e;
}

.AdvTh
{
    background-color: #7efc7e;
}

.DisTh
{
    background-color: #fc7e7e;
}

.DisTd
{
    background-color: #fc7e7e;
    vertical-align:top;
}




/**************************************/
/*     Image Settings                 */
/**************************************/

img.bordered
{
    border: thin #663300 solid;
}

img.center
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img,
canvas,
video,
iframe
{
    max-width: 100%;
}

img
{
    height: auto;
}

/**************************************/
/*     Accordion Navigation           */
/**************************************/
button.accordion
{
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid #999999;
    text-decoration: none;
    display: inline-block;
    background-color: #CFCFCF; /* For browsers that do not support gradients */
    background-image: linear-gradient(#FFFFFF, #DFDFDF); /* Standard syntax (must be last) */
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 400px;
    text-align: left;
    outline: none;
    font-size: 12px;
    transition: 0.4s;
}

button.accordion:active
{
    border-bottom: 2px solid #999999;
}

button.accordion:after
{
    content: '\02795';
    font-size: 14px;
    color: #777;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after
{
    content: "\2796";
}

div.panel
{
    background-color: #777777;
    padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
    width: 400px;
}

div.panel.show
{
    opacity: 1;
    max-height: 4000px;
}

@media only screen and (max-width: 760px)
{
    h1
    {
        font-size: 1.75em;
        line-height: 1.2em;
    }

    div.header,
    div.main,
    div.noteOutline
    {
        float: none !important;
        width: auto;
        max-width: 100%;
        margin: 1em;
    }

    div.mainContainer,
    div.frontmainContainer
    {
        min-height: 0;
        overflow: visible;
    }

    button.accordion,
    div.panel
    {
        width: 100%;
    }

    .noteButton
    {
        width: 100%;
        margin: 0.35em 0;
        padding-left: 1em;
        padding-right: 1em;
    }

    ul.square,
    ul.circle,
    ol.roman
    {
        margin-left: 1.25em;
        padding-left: 1em;
    }
}


/************************************************/
/*     The Inside of the Accordion Navigation   */
/************************************************/
.myUL
{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.myUL li a
{
    border: 1px solid #ddd;
    margin-top: -1px; /* Prevent double borders */
    background-color: #f6f6f6;
    padding: 12px;
    text-decoration: none;
    font-size: 12px;
    color: black;
    display: block

}

.myUL li a.header
{
    background-color: #e2e2e2;
    cursor: default;
}

.myUL li a:hover:not(.header)
{
    background-color: #eee;
}


/**************************************/
/*     Note Navigation Buttons        */
/**************************************/
.noteButton
{
    background-color: #990000; /* Crimson Red */
    border: none;

    color: white;
    padding: 15px 36px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    box-shadow: 0 0px 0px 0 rgba(0,0,0,0.2), 0 0px 5px 0 rgba(0,0,0,0.8);
}

.noteButtonFor:hover
{
    background-color: #bb0000 ;
}

.noteButtonBack
{
    border: #cecece;
    background-color: ivory;
}

.noteButtonBack:hover
{
    border: #cecece;
    background-color: #e9e9e9;
}

/**************************************/
/*     Modern Notes Theme             */
/**************************************/
:root
{
    --paper: #fffdf8;
    --page-bg: #f2f4ef;
    --ink: #22302b;
    --muted-ink: #5d6863;
    --line: #d9d7cc;
    --brand: #8b1e1e;
    --brand-dark: #4e1111;
    --accent: #4f7770;
    --accent-soft: #e5efec;
    --shadow: 0 18px 45px rgba(40, 36, 30, 0.12);
}

html
{
    background: var(--page-bg);
}

body
{
    background:
        radial-gradient(circle at top left, rgba(79, 119, 112, 0.12), transparent 34rem),
        linear-gradient(180deg, #f8f7f2 0%, var(--page-bg) 28rem);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}

a
{
    color: var(--brand);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

a:hover
{
    color: var(--accent);
}

h1,
h2,
h3
{
    color: var(--ink);
    font-family: Helvetica, Arial, sans-serif;
}

h1
{
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    letter-spacing: 0;
    margin-bottom: 1.1rem;
    padding: 0 0 0.55rem;
}

h2
{
    color: var(--brand-dark);
    font-size: 1.45rem;
    margin-top: 1.7rem;
}

h3
{
    color: var(--muted-ink);
    font-size: 1.15rem;
}

p
{
    margin-top: 0;
}

#noteBG
{
    background:
        linear-gradient(135deg, rgba(78, 17, 17, 0.94), rgba(139, 30, 30, 0.86)),
        url(../../images/Banner.jpg) center / cover no-repeat;
    box-shadow: 0 8px 28px rgba(78, 17, 17, 0.22);
    min-height: 0;
}

#noteBG > div
{
    float: none !important;
    margin: 0 auto;
    max-width: 1180px;
}

.spacer
{
    background: linear-gradient(90deg, var(--brand-dark), var(--accent), var(--brand));
    height: 4px;
}

#noteFBG
{
    background:
        linear-gradient(135deg, rgba(40, 36, 30, 0.84), rgba(78, 17, 17, 0.82)),
        url(../../images/Footer.jpg) center / cover no-repeat;
    min-height: 56px;
}

ul.topnav
{
    align-items: center;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    overflow: visible;
    padding: 0.85rem;
}

ul.topnav li
{
    float: none;
}

ul.topnav li a
{
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fffaf2;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0.62rem 0.95rem;
}

ul.topnav li a:hover,
ul.topnav li a.active
{
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.center_container
{
    box-sizing: border-box;
    max-width: 1180px;
    padding-left: 1rem;
    padding-right: 1rem;
}

div.mainContainer,
div.frontmainContainer
{
    display: grid;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    margin: 2rem auto 3rem;
    min-height: 0;
    overflow: visible;
    width: min(100%, 1180px);
}

div.main
{
    background: var(--paper);
    border: 1px solid rgba(90, 83, 72, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
    float: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.03rem;
    line-height: 1.68;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2.4rem);
    width: auto;
}

div.main > div:first-child b[style*="margin-left"]
{
    color: var(--muted-ink);
    float: right;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    margin-left: 0 !important;
}

div.noteOutline
{
    align-self: start;
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(90, 83, 72, 0.16);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(40, 36, 30, 0.08);
    box-sizing: border-box;
    float: none !important;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0 !important;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    position: sticky;
    top: 1rem;
    width: auto;
}

div.noteOutline h1
{
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: 0;
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 !important;
    padding: 1rem 1.1rem;
}

button.accordion
{
    background: #f7f3ea;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
    width: 100%;
}

button.accordion:hover,
button.accordion.active
{
    background: var(--accent-soft);
    color: #173c36;
}

button.accordion:after
{
    color: var(--accent);
    content: "+";
    font-size: 1rem;
}

button.accordion.active:after
{
    content: "-";
}

div.panel
{
    background: #ffffff;
    width: 100%;
}

.myUL li a
{
    background: #ffffff;
    border-color: #ece7dc;
    color: var(--ink);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.84rem;
    line-height: 1.3;
    padding: 0.72rem 0.85rem;
}

.myUL li a.header
{
    background: #f0ede4;
    color: var(--muted-ink);
}

.myUL li a:hover:not(.header)
{
    background: #f7fbfa;
    color: var(--brand);
}

.noteButton,
.printButton
{
    align-items: center;
    background: var(--brand);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    margin: 0.35rem 0.25rem;
    padding: 0.78rem 1.05rem;
    text-decoration: none;
}

.noteButton:hover,
.printButton:hover
{
    background: var(--accent);
    color: #ffffff !important;
}

.noteButtonBack
{
    background: #f2eadc;
    color: var(--ink) !important;
}

.printToolbar
{
    display: flex;
    justify-content: flex-end;
    margin: 0 0 1rem;
}

img.bordered,
img.center
{
    border-radius: 6px;
}

table
{
    border-collapse: collapse;
    max-width: 100%;
}

th,
td
{
    border-color: var(--line);
}

@media only screen and (max-width: 900px)
{
    div.mainContainer,
    div.frontmainContainer
    {
        display: block;
        margin-top: 1rem;
    }

    div.main,
    div.noteOutline
    {
        margin: 0 0 1rem !important;
        max-width: 100%;
    }

    div.noteOutline
    {
        max-height: none;
        position: static;
    }

    img[style*="float: right"],
    img[style*="float:right"],
    img[style*="float: left"],
    img[style*="float:left"]
    {
        display: block;
        float: none !important;
        margin: 1rem auto !important;
    }
}

@media only screen and (max-width: 560px)
{
    body
    {
        font-size: 15px;
    }

    ul.topnav
    {
        justify-content: stretch;
        padding: 0.65rem;
    }

    ul.topnav li
    {
        flex: 1 1 100%;
    }

    ul.topnav li a
    {
        text-align: center;
    }

    .center_container
    {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    div.main
    {
        padding: 1rem;
    }
}

@media print
{
    @page
    {
        margin: 0.65in;
    }

    html,
    body
    {
        background: #ffffff !important;
        color: #111111 !important;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 11pt;
        line-height: 1.45;
    }

    #noteBG,
    #noteFBG,
    .spacer,
    div.noteOutline,
    .noteButton,
    .printToolbar
    {
        display: none !important;
    }

    .center_container,
    div.mainContainer,
    div.frontmainContainer
    {
        display: block !important;
        margin: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    div.main
    {
        background: #ffffff !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #111111 !important;
        float: none !important;
        font-size: 11pt;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    div.main [style*="float"]
    {
        float: none !important;
    }

    h1,
    h2,
    h3
    {
        break-after: avoid;
        color: #111111 !important;
        page-break-after: avoid;
    }

    h1
    {
        border-bottom: 1pt solid #999999;
        font-size: 18pt;
        margin-top: 0;
    }

    h2
    {
        font-size: 14pt;
    }

    h3
    {
        font-size: 12pt;
    }

    a,
    a:visited
    {
        color: #111111 !important;
        text-decoration: underline;
    }

    img,
    table,
    pre,
    blockquote
    {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    img
    {
        max-height: 8.5in;
        max-width: 100% !important;
    }
}
