/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  background-color: #000057;
  background-image: url("/img/background.png");
  background-position: center top;
  background-size: auto;
  background-repeat: repeat-y;
  background-attachment: scroll;
  font-family: Tahoma, Geneva, sans-serif, serif;
}

header {
  background-color: #000057;
  background-image: url("/img/headercenter.jpg");
  background-position: center top;
  /*background-size: auto;*/
  /*background-repeat: repeat-y;*/
  /*background-attachment: scroll;*/
  height: 125px;
}

a:link {
  color: white;
  text-decoration: none !important;
  font-family: Tahoma, Geneva, sans-serif, serif;
}

ol, ul {
  list-style: none;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.pagetitle {
  color: #FFFFFF;
  font-family: Tahoma, Geneva, sans-serif;
  text-align: center;
  font-weight: bold;
  text-shadow: 0px 2px 3px #000000 !important;
  padding: 15px;
  font-size: 38px;
  margin-bottom: 33px;
}

main {
  padding: 20px 0px;
  width: 1000px;
  text-align: left;
  margin-right: auto;
  margin-left: auto;
}
/********************************************* gallery */
#gallery-1 {
  margin: auto;
}
#gallery-1 .gallery-item {
  float: left;
  margin-top: 10px;
  text-align: center;
  width: 20%;
}
#gallery-1 img {
  border: 2px solid #cfcfcf;
}
#gallery-1 .gallery-caption {
  margin-left: 0;
}

/********************************************* navigation */
.navigation {
  padding: 78px 0px 0px 0px;
  background-position: center;
  margin-right:auto;
  text-align: center;
}

/*.bp-navigation {*/
/*  clear: both;*/
/*  padding: 10px 0px 10px 0px;*/
/*  display: none;*/
/*}*/


.nav {
  line-height: 100%;
  margin-left:auto !important;
  margin-right:auto !important;
  /**text-align: center !important;*/
  /**bottom:0;*/
  /**left:0;*/
}

.nav ul {
  background: #EEEEEE;
  display: none;
  margin: 0;
  padding: 8px 0 0 0;
  width: 185px;
  position: absolute;
  top: 35px;
  left: 0;
  text-align: left;
  z-index: 9999;
}

/*#menu-home-page-menu {*/
/*  *margin-left: 150px !important;*/
/*}*/


.nav li a, .nav li a:active, .nav li a:focus, .nav li a:hover {
  color: #000000 !important;
}
.nav .current a, .nav li:hover > a, .nav li.current_page_item a, .nav ul, .nav ul a:hover, .nav ul li:hover a, .nav li:hover li a {
  background: transparent !important;
  border: none !important;
}
.navigation ul.nav li a {

/*  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*    src='images/logo.gif',*/
/*    sizingMethod='scale');*/

/*  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*  src='images/logo.gif',*/
/*    sizingMethod='scale')";d:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*src='images/logo.gif',*/
/*sizingMethod='scale');*/
/*  *background-color: black;*/
/*  *background-image: none !important;*/

  font-family: Tahoma, Geneva, sans-serif, serif;
  height: 20px;

  background-image: url('/img/buttonback.png') !important;
  background-color: transparent !important;
  border: none !important;
  /**background-image: url('/img/buttonback.png') !important;*/
  /**background-size: 100%;*/
  background-size: 100% 100% !important ;
  line-height: 20px;
  border-radius:10px;
  font-size: 14px;
  width: 170px;
  font-weight: regular !important;
  /*-webkit-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        -moz-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;*/
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0px !important;
}

.navigation ul.nav li a:hover {
/*  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*    src='images/logo.gif',*/
/*    sizingMethod='scale');*/

/*  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*  src='images/logo.gif',*/
/*    sizingMethod='scale')";*/
/**background-color: black;*/
/*  *background-image: none !important;*/

  font-family: Tahoma, Geneva, sans-serif, serif;
  height: 20px;
  color: #ffffff !important;
  background-image: url('/img/buttonhover.fw.png') !important;
  background-color: transparent !important;
  border: none !important;
  /**background-image: url('/img/buttonhover.fw.png') !important;*/
  background-size: 100% 100% !important;
  line-height: 20px;
  border-radius:10px;
  font-size: 14px;
  width: 170px;
  font-weight: regular !important;
  /*-webkit-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        -moz-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;*/
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0px !important;
}

.navigation ul.nav li a:active {

/*  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*    src='images/logo.gif',*/
/*    sizingMethod='scale');*/

/*  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(*/
/*  src='images/logo.gif',*/
/*    sizingMethod='scale')";*/
/**background-color: black;*/
/*  *background-image: none !important;*/

  font-family: Tahoma, Geneva, sans-serif, serif;
  height: 20px;
  color: #ffffff !important;
  background-image: url('/img/buttonclick.fw.png') !important;
  background-color: transparent !important;
  border: none !important;
  /**background-image: url('/img/buttonclick.fw.png') !important;*/
  background-size: 100% 100% !important;
  line-height: 20px;
  border-radius:10px;
  font-size: 14px;
  width: 170px;
  font-weight: regular !important;
  /*-webkit-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        -moz-box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;
        box-shadow: inset 0 1px 0 rgba(34,57,100,0.6), inset 1px 0 0 rgba(34,57,100,0.4), inset -1px 0 0 rgba(34,57,100,0.5), inset 0 -1px 0 rgba(34,57,100,0.6),inset 0 2px 0 rgba(255,255,255,.3),inset 0 0 4px rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.29) !important;*/
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0px !important;
}


#homepage-content .nav {
  padding: 0px 0px 0px 0px;
  line-height: 100%;
  margin-left:auto;
  margin-right: auto;
}

#homepage-content .nav li {
  padding: 0 0 8px;
  list-style: none;
  margin-left:auto;
  margin-right: auto;
}

/* dropdown */
.nav li:hover > ul {
  display: block;
}
.nav ul li {
  float: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin: 0 0 0 5px;
  padding: 0 0 8px;
  float: left;
  position: relative;
  list-style: none;
}

.nav a, .nav a:visited, .nav a:link, .nav .current a, .nav li:hover > a, .nav li.current_page_item a {
  font-size: 22px;
  padding: 10px;
}

.nav a, .nav a:visited, .nav a:link {
  background: #FFFFFF;
  border: 1px solid #1B2BA5;
  color: #FFFFFF;
}

.nav a, .nav a:visited, .nav a:link {
  font-style: normal;
  text-decoration: none;
  display: block;
  padding: 10px;
  font-size: 18px;
  margin: 0;
  color: #bbbbbb;
  background: #EEEEEE;
}

/* level 3+ list */
.nav ul ul {
  left: 181px;
  top: -3px;
}
/* rounded corners for first and last child */
.nav ul li:first-child > a {
}
.nav ul li:last-child > a {
}
/* clearfix */
.nav:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.nav {
  display: inline-block;
}
html[xmlns] #nav {
  display: block;
}
* html #nav {
  height: 1%;
}

/********************************************* footer */
footer {
  border-top: 1px solid #d9d9d9;
  color: #FFFFFF;
  font-size: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5em;
  margin-bottom: 2em;
  text-align: center;
  padding: 20px;
}
footer span {
  margin-left: 10px;
  margin-right: 10px;
}
footer > a {
  color: #FFFFFF;
  font-size: 12px;
}


.card {
  text-align: center;
}
.card p {
  color: #FFFFFF;
  background: #000000;
  margin: auto;
  padding: 20px;
  text-align: center;
  width: 752px;
  white-space: normal;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  padding-top: 40px
}
.card img {
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}
.glide__bullets {
  top: 370px !important;
}


/********************************************* global*/
.alignright {
  float: right;
  margin-left: 15px;
}

.alignleft {
  float: left;
  margin-right: 15px;
}

p {
  margin-bottom: 18px;
  font-family: Tahoma, Geneva, sans-serif, serif;
  text-align: left;
  font-size: 18px;

}

.post ul {
  list-style: square;
  margin: 0 0 18px 1.5em;
}

ol {
  list-style: decimal;
  margin: 0 0 18px 1.5em;
}

ol ol {
  list-style: upper-alpha;
}

ol ol ol {
  list-style: lower-roman;
}

ol ol ol ol {
  list-style: lower-alpha;
}

ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
}

dl {
  margin: 0 0 24px 0;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 18px;
}

strong {
  font-weight: bold;
}

cite,
em,
i {
  font-style: italic;
}

big {
  font-size: 131.25%;
}

blockquote {
  font-style: italic;
  padding: 0 3em;
}

blockquote cite,
blockquote em,
blockquote i {
  font-style: normal;
}

.bypostauthor {

}
pre {
  line-height: 18px;
  margin-bottom: 18px;
  padding: 1.5em;
}

sup,
sub {
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}

#wp_tag_cloud div {
  line-height: 1.6em;
}

#wp-calendar {
  width: 100%;
}

#wp-calendar caption {
  font-weight: bold;
  text-align: left;
  font-size: 14px;
  padding-bottom: 4px;
}

#wp-calendar thead {
  font-size: 11px;
}

#wp-calendar tbody td {
  padding: 3px 0 2px;
  text-align: center;
}

#wp-calendar tfoot #next {
  text-align: right;
}

/********************************************* images */
main .alignleft,
main img.alignleft {
  display: inline;
  float: left;
  margin-right: 24px;
  margin-top: 4px;
}

main .alignright,
main img.alignright {
  display: inline;
  float: right;
  margin-left: 24px;
  margin-top: 4px;
}

main .aligncenter,
main img.aligncenter, .aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

main img.alignleft,
main img.alignright,
main img.aligncenter {
  margin-bottom: 12px;
}



main .wp-caption img {
  margin: 5px 5px 0;
}

main .wp-caption p.wp-caption-text {
  margin: 5px;
  font-size: 18px;
}

main .wp-caption {
  color: #FFFFFF;
  font-size: 18px !important;
  font-family: Tahoma, Geneva, sans-serif, serif;
  line-height: 18px;
  text-align: center;
  margin-bottom: 20px;
  padding: 4px;
}

main .wp-smiley {
  margin: 0;
}

main .gallery {
  margin: auto;
}

main .gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  width: 33%;
}

main .gallery .gallery-caption {
  color: #FFFFFF;
  font-size: 12px;
  text-align: left;
  margin: 0.5em 1em;
}

main .gallery dl {
  margin: 0;
}

main .gallery br+br {
  display: none;
}

main .glide__arrow {
  border-radius: 20px;
}

main .gallery .gallery-item dd {
  text-align: center;
}
.lb-data .lb-caption {
  border: 1px solid #fff;
  padding: 6px 10px;
  border-radius: 10px;
}
.lb-data .lb-details {
  margin-top: 8px;
}
