/***********************************************************************
 * Version of 26 May 2023
 ***********************************************************************/

 /***********************************************************************
 *
 *
 * Colors
 *
 *
 ***********************************************************************/

:root {
  --soda-text-color: #0e3c60;
  --soda-heading-color: #568cb8;
  --soda-contrast-text-color: #ffffff;
  --soda-popup-text-color: #202020;
  --soda-popup-alt-text-color: #0098f7;
  --soda-button-tip-text-color: #ffffff;
  --soda-main-button-text-color: #ffffff;
  --soda-selection-color: #568cb8;
  --soda-link-color: #568cb8;
  --soda-popup-link-color: #303030;
  --soda-alt-link-color: #0e3c60;
  --soda-help-text-color: #000000;
  --soda-error-text-color: #ff0000;
  --soda-main-background-color: #ffffff;
  --soda-error-background-color: #ffffff;
  --soda-alt-background-color: #e0e0e0;
  --soda-help-background-color: #e8f0f8;
  --soda-focus-background-color: #0e3c60;
  --soda-main-button-background-color: #0e3c60;
  --soda-button-tip-background-color: #808080;
  --soda-overlay-background-color: #000000;
  --soda-help-accordion-color: #396e97;
  --soda-border-color: #a0a0a0;
  --soda-alt-border-color: #303030;
  --soda-contrast-border-color: #ffffff;
  --soda-shadow-color: #808080;
  --soda-trans1: rgba(0,0,0,.12);
  --soda-trans2: rgba(0,0,0,.16);
  --soda-trans3: rgba(0,0,0,.5);
  --soda-trans4: rgba(0,0,0,.14);
  --soda-trans5: rgba(0,0,0,.2);
  --soda-trans6: rgba(116,116,116,0.9);
  --soda-trans7: rgba(57,73,76,0.35);
  --soda-trans8: #fcfcfc87;
  --soda-trans9: #00000070;
}

/***********************************************************************
 *
 *
 * Global element styles
 *
 *
 ***********************************************************************/

body {
    color: var(--soda-text-color);
    background-color: var(--soda-main-background-color);
    font-family: Arial, sans-serif;
    margin: 0em;
    padding: 0em;
}

h1, h2, h3, h4 {
    color: var(--soda-heading-color);
}

p {
    margin-top: 0;
    margin-bottom: 0.3em;
}

a {
    color: var(--soda-link-color);
}

button {
    color: var(--soda-heading-color);
}

a:link, a:visited, button {
    text-decoration: none;
    border: none;
    cursor: default;
}

a:hover, button:hover {
    text-decoration: none;
    border: none;
    cursor: pointer;
}

a:active, button:active {
    text-decoration: none;
    border: none;
    cursor: pointer;
}

/***********************************************************************
 *
 *
 * Default template styles
 *
 *
 ***********************************************************************/

header {
   width: 100%;
   color: var(--soda-contrast-text-color);
   background-color: var(--soda-focus-background-color);
}

main {
    width: 100%;
    clear: both;
}

footer {
    width: 100%;
    clear: both;
    color: var(--soda-contrast-text-color);
    background-color: var(--soda-focus-background-color);
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 0.9em;
}

#header-content, #main-content, #footer-content {
   margin:auto;
   width:92%;
}

#main-content {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: space-between;
}

header a, header button {
    color: var(--soda-contrast-text-color);
}
#header-top {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
}

#logo {
    display: inline-block;
    margin-top: 8px;
	margin-bottom: 8px;
}

img.logopic {
   width: 192px;
   height: 48px;
}

#inlinetitle, #droppedtitle {
   vertical-align: top;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   text-align: center;
}

#inlinetitle {
    margin: 8px;
	display: none;
}

#droppedtitle {
   display: inline-block;
   width: 100%;
   padding-bottom: 12px;
   text-align: center;
   font-size: 200%;
   font-weight: bold;
}

#sodabuttons {
   padding-top: 4px;
   width: 192px;
   display: flex;
   flex-direction: row;
   justify-content: flex-end;
   align-items: center;
}

#sodabuttons img {
   height: 24px;
   margin: 0 2px 0 2px;
}

#sodabuttons svg {
   width: 24px;
   height: 24px;
   margin: 0 2px 0 2px;
}

header #menu a, header #menu button, header #menu .sodamovehandle {
    color: var(--soda-contrast-text-color);
	background-color: transparent;
}

.sodacurrentpagemenuitemdiv, .sodanoncurrentpagemenuitemdiv {
	width: 16em;
	margin: 1em;
    text-align: center;
}
	
.sodacurrentpagemenuitemdiv {
	border: 2px solid var(--soda-contrast-text-color);
}

.sodasegmenteditor, header #menu .sodasegmenteditor button {
	color: var(--soda-text-color);
	background-color: var(--soda-alt-background-color);
}

/*
        Definitions setting the style of the bottom of the page.
*/

#footer-content {
   display: flex;
   flex-wrap: wrap;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
}

#footer-left {
    text-align: left;
}

#footer-right {
    text-align: right;
}

@media screen and (min-width: 750px) {

   #logo {
	   margin-top: 12px;
	   margin-bottom: 12px;
   }

   img.logopic {
      width: 256px;
      height: 64px;
   }

   #inlinetitle {
      display: inline-block;
      margin: 12px;
      font-size: 250%;
      font-weight: bold;
   }

   #droppedtitle {
      display: none;
   }

   #sodabuttons {
      padding-top: 8px;
   }

   #sodabuttons img {
      height: 24px;
      margin: 4px;
   }

   #sodabuttons svg {
      width: 24px;
	  height: 24px;
      margin: 4px;
   }

   .sodapagemenucontainerdiv {
      font-size: 112%;
   }

   .sodanoncurrentpagemenuitemdiv {
      padding: 8px 12px 8px 12px;
   }
}

@media screen and (min-width: 1300px) {

   #logo {
	   margin-top: 24px;
	   margin-bottom: 24px;
   }

   img.logopic {
      width: 288px;
      height: 72px;
   }

   #inlinetitle {
      margin: 24px;
	  font-size: 300%;
      font-weight: bold;
   }

   .headingtip .tiptext {
      width: auto;
   }

   #sodabuttons img {
      height: 24px;
      margin: 4px;
   }

   #sodabuttons svg {
      width: 24px;
	  height: 24px;
      margin: 4px;
   }

   .sodapagemenucontainerdiv {
      font-size: 125%;
      padding-bottom: 8px;
   }

   .sodanoncurrentpagemenuitemdiv {
      padding: 12px 20px 12px 20px;
   }
}
 
