/* web fonts */

@font-face {
  font-family: 'BrouetHandwriting';
  src: url('../fonts/BrouetHandwriting.eot');
  src:
    url('../fonts/BrouetHandwriting.eot?#iefix') format('embedded-opentype'),
    url('../fonts/BrouetHandwriting.woff') format('woff'),
    url('../fonts/BrouetHandwriting.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/ProximaNova-Regular.eot');
  src:
    url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova-Regular.woff') format('woff'),
    url('../fonts/ProximaNova-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova';
  font-style: italic;
  font-weight: normal;
  src: url('../fonts/ProximaNova-RegularItalic.eot');
  src:
    url('../fonts/ProximaNova-RegularItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova-RegularItalic.woff') format('woff'),
    url('../fonts/ProximaNova-RegularItalic.ttf') format('truetype');
  font-display: swap;
}
 
@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/ProximaNova-Semibold.eot');
  src:
    url('../fonts/ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova-Semibold.woff') format('woff'),
    url('../fonts/ProximaNova-Semibold.ttf') format('truetype');
  font-display: swap;
}

/* basics */
 
body {
  margin: 0 auto 0 auto;
  padding: 0;
  /*background-image:url(../images/back.png);*/
  background-repeat:repeat;
  font-family:"ProximaNova";
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 22px;
  color: #5f5453;
}

a {
  color: var(--primary-color);;
  text-decoration:underline;
}

h1, h2, h3 {
  font-family:"ProximaNova";
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  margin-top; 10px;
  margin-bottom; 10px;
}

.details {
  font-family:"ProximaNova";
  font-style: italic;
  font-weight: normal;
  font-size: 12px;
}

em, sup, sub {
  /* background-color: var(--primary-color); */
  /* color: #ffffff; */
  font-family:"BrouetHandwriting"; /* ProximaNova */
  font-style: normal;
  font-weight: normal;
  font-size: 19px; /* 15px */
  line-height: 22px;
  vertical-align: baseline;
}

em a, sup a, sub a {
	/* color: #ffffff; */
	text-decoration: none;
}

p {
  margin-top: 20px;
}

.newsflash p + h3 {
  margin-top: 32px;
  margin-bottom: 21px;
}

.newsflash h3 + p {
  padding-bottom: 20px;
}

p + p {
  padding-bottom: 0;
}

.newsflash .img {
  border-radius: 5px;
}

.topic {
  margin-bottom: 40px;
}

a.readmore, .topic a, .button {
  bottom: 0px;
  position: relative;
  padding-top:9px;
  padding-bottom:9px;
  padding-right:14px;
  padding-left:14px;
  border-radius:5px;
  text-decoration:none;
  color:#ffffff;
  background-color:var(--secondary-color);;
}

a.readmore:link, a.readmore:visited, .topic a:link, .topic a:visited {
  background-color:var(--secondary-color);;
}

a.readmore:hover, a.readmore:focus, a.readmore:active, .topic a:hover, .topic a:focus, .topic a:active {
  background-color:var(--primary-color);;
}

/* site structure */

div.page {
  margin-left:auto;
  margin-right:auto;
  max-width:1024px;
}

div.header {
  float:left;
}

div.logo img {
  margin-top:29px;
  margin-left:49px;
}

  @media (max-width: 576px) {
    div.logo img {
      width: 120%;
      margin-left: 0;
	}
  }

  @media (max-width: 992px) {
    div.logo img {
      width: 100%;
      margin-left: 24px;
	}
  }

/* topmenu */

div.topmenu {
  float:right;
}

  .topmenu ul {
    margin:0px;
    margin-top:22px;
    overflow: hidden;
	justify-content: flex-end;
  }

  .topmenu ul li {
    text-align:right;
    display:inline;
    list-style-type:none;
    padding-right:3px;
    padding-left:0;
  }

  .topmenu ul li a.home img {
    width: 32px;
    height:32px;
    background-image: url(../images/home.png);
  }

  .topmenu ul li a.home:hover img {
    background-image: url(../images/home-hover.png);
  }

  .topmenu ul li.active a.home img {
    background-image: url(../images/home-hover.png);
  }

  .topmenu ul li a.contact img {
    width: 32px;
    height:32px;
    background-image: url(../images/contact.png);
  }

  .topmenu ul li a.contact:hover img {
    background-image: url(../images/contact-hover.png);
  }

  .topmenu ul li.active a.contact img {
    background-image: url(../images/contact-hover.png);
  }

/* mainmenu */

div.mainmenu {
  float:right;
  z-index: 99;
}

  .navbar .btn-navbar {
    display: none;
  }

  .mainmenu .navbar {
    padding: 0;
	justify-content: flex-end;
  }

  @media (min-width: 768px) {
    div.mainmenu {
      padding-right: 48px;
    }
  }

  @media (min-width: 992px) {
    div.mainmenu {
      margin-bottom: -4px;
    }
    #menu.collapse {
      display: block;
    }
    ul#menu.nav li.dropdown:hover > ul.dropdown-menu {
      display: block;
    }
  }

  @media (max-width: 992px) {
    div.mainmenu {
      margin-bottom: -4px;
    }
    #menu.navbar-nav {
      margin-left: 0;
    }
    .navbar .btn-navbar {
      display: block;
    }
    .mainmenu .maindrop {
	  color: var(--primary-color);;
	  background-color: #ffffff;
	  font-size: 16px;
  	  text-decoration: none;
	  border-top: 1px solid #cdcdcd;
	  border-left: 1px solid #cdcdcd;
	  border-right: 1px solid #cdcdcd;
	  border-radius: 0;
	  border-top-left-radius: 5px;
	  border-top-right-radius: 5px;
	  display: grid;
	  float: right;
	  min-width: 235px;
	  max-width: 300px;
    }
    ul#menu.nav > li > a {
      text-align: right;
    }
    .mainmenu ul {
      list-style: none;
      position: relative;
      margin: 0;
      display: content;
      float: left;
    }
  }

  @media (max-width: 768px) {
    div.mainmenu {
      margin-bottom: 0px;
    }
  }

  .mainmenu ul {
    list-style: none;
    position: relative;
    margin: 0;
    display: inline-table;
    float: right;
  }

  .mainmenu ul:after {
    content: "";
    clear: both;
    display: block;
    }

  @media (min-width: 992px) {
    .mainmenu ul li {
      float: left;
      padding-top: 7px;
      padding-bottom: 0;
      padding-left: 1px;
      padding-right: 0px;
    }
  }

  .mainmenu ul li:hover, .mainmenu div > ul > li.active, .mainmenu ul li.alias-parent-active {
    padding-top: 0;
  }

  .mainmenu ul li:hover > ul {
    display: block;
  }

  .mainmenu ul li a {
    display: block;
    padding-top: 12px;
    padding-bottom: 9px;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--primary-color);;
    font-size: 16px;
    text-decoration: none;
    /*! white-space:nowrap; */	
  }

  @media (min-width: 992px) {
    .mainmenu ul li a {
      display: block;
      padding-top: 12px;
      padding-bottom: 9px;
      padding-left: 20px;
      padding-right: 20px;
      color: var(--primary-color);;
      background-color: #ffffff;
      font-size: 16px;
      text-decoration: none;
      border-top: 1px solid #cdcdcd;
      border-left: 1px solid #cdcdcd;
      border-right: 1px solid #cdcdcd;
      border-radius: 0;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      white-space:nowrap;
    }
  }

  .mainmenu ul li:hover > a, .mainmenu div > ul > li.active > a, .mainmenu ul li.alias-parent-active > a {
    border-bottom: 3px solid var(--primary-color);;
    padding-top: 19px;
    padding-bottom: 6px;
  }

  @media (max-width: 992px) {
    .mainmenu ul li:hover > a, .mainmenu div > ul > li.active > a, .mainmenu ul li.alias-parent-active > a {
      font-weight: bold;
	  color: #ffffff;
      background: var(--primary-color);;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
	}
  }

  .mainmenu ul li ul {
    display: none;
    position: relative; 
    top: -3px;
	/*left: 1px; ??? */
	padding: 0;
    background: var(--primary-color);;
    border-radius: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  @media (max-width: 992px) {
    .mainmenu ul li ul {
  	  width: 100%;
	  text-align: right;
	}
  }

  @media (min-width: 992px) {
    .mainmenu ul li ul {
      display: none;
      position: absolute; 
      top: 51px;
      padding: 0;
      background: var(--primary-color);;
      border-radius: 0;
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
    }
  }

  @media (min-width: 992px) {
    .mainmenu ul li:last-child ul {
      width: 110px;
	  left: calc(100% - 110px);
	}
  }

  .mainmenu ul ul li {
    float: none;
    padding: 0;
    padding-left: 13px;
    padding-right: 13px;
  }

  .mainmenu ul ul li:last-child {
    padding-bottom: 19px;
    border-bottom: 0;
    height: 0;
    opacity: 0;
    font-weight: bold;
    padding-right: 55px;
  }

  .mainmenu ul ul li a img {
    float: right;
    right: 5px;
    top: 4px;
  }

  .mainmenu ul ul li a {
    padding: 10px;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 15px;
    color: #ffffff;
    background-color: var(--primary-color);;
    border: 0;
    background-image: url(../images/menudash.png);
    background-repeat:repeat-x;
    background-position:3px 0;
  }

  .mainmenu ul ul li.active a {
    font-weight: bold;
  }

  @media (min-width: 992px) {
    .mainmenu ul ul li:first-child a {
      background-image: none;
	}
  }

  .mainmenu ul ul li a:hover {
    font-weight: bold;
  }

  .mainmenu ul ul li:hover a {
    padding: 10px;
    padding-left: 7px;
    padding-right: 7px;
    border: 0;
  }

  @media (max-width: 992px) {
    .mainmenu ul ul li:hover a {
      border-radius: 0;
	  background-image: url(../images/menudash.png);
	  background-repeat: repeat-x;
	  background-position: 3px 0;
	}
  }

  .mainmenu ul ul ul {
    position: absolute; 
    left: 100%;
    top: 0;
    background: #86adb5;
    border-radius: 0 5px 5px 5px;
    border: 0;
  }

  .mainmenu ul ul li:first-child ul {
    border-radius: 0 0 5px 5px;
  }

  .mainmenu ul ul ul li a, .mainmenu ul ul ul li span {
    padding: 10px;
    font-size: 15px;
    color: #ffffff;
    background-color: #86adb5;
  }

  .mainmenu > ul > li > ul > li > ul > li:first-child > a, .mainmenu > ul > li > ul > li > ul > li:first-child > span {
    background-image:none;
  }

  .mainmenu ul ul ul li:last-child a, .mainmenu ul ul ul li:last-child span {
    border-bottom: 0;
  }

/* slider */

div.slider {
  background-repeat:no-repeat;
  text-align:center;
  float:left;
  padding-left: 0;
  padding-right: 0;
}

  img.flexheader {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
   }

  .slider img {
    position:relative;
    background:transparent !important;
  }
  
  div.nivoSlider {
    background:transparent !important;
  }
  
  .theme-bar.slider-wrapper {
    border: 0;
  }

  @media (min-width: 992px) {
    .slider img {
      top: -13px;
    }
    .theme-bar.slider-wrapper {
      top: -13px;
    }
  }
  
  @media (max-width: 992px) {
    .slider img {
      top: -11px;
    }
    .theme-bar.slider-wrapper {
      top: -11px;
    }
  }
  
  @media (max-width: 768px) {
    .slider img {
      top: -9px;
    }
    .theme-bar.slider-wrapper {
      top: -9px;
    }
  }
  
  @media (max-width: 576px) {
    .slider img {
      top: -6px;
    }
    .theme-bar.slider-wrapper {
      top: -6px;
    }
  }
  
  @media (max-width: 384px) {
    .slider img {
      top: -4px;
    }
    .theme-bar.slider-wrapper {
      top: -4px;
    }
  }
  
  .nivo-caption {
    visibility: hidden;
  }

div.main {
  float:left;
  padding-bottom:80px;
}

div.content {
  padding-left: 66px;
  padding-top: 22px;
}

  @media (max-width: 384px) {
    div.content {
      padding-left: 50px;
	}
  }

  /* breadcrump */

  .breadcrumb {
    padding-left: 0;
    padding-bottom: 20px;
	background-color: transparent;
  }

  ul.breadcrumb li {
    margin: 0;
    padding-left:35px;
    padding-right:0px;
    padding-top:10px;
    padding-bottom:10px;
    background-image: url(../images/divider.png);
    background-position: left center;
    background-repeat: no-repeat;
    display:inline;
    list-style-type:none;
    text-align:right;
    vertical-align: top;
  }

  ul.breadcrumb li:first-child {
    display:none;
  }

  .breadcrumb > li:first-child + li span:first-child, .breadcrumb > li:first-child + li a:first-child {
    padding:9px;
    padding-right:14px;
    padding-left:14px;
    font-style:italic;
    font-size:15px;
    border-radius:5px;
    text-decoration:none;
    color:#ffffff;
    background-color:var(--secondary-color);;
  }

  ul.breadcrumb li:first-child + li {
    padding-left:0px;
    background-image: none;
  }

/* contact form */

  .addressleft {
    background-image: url(../images/divider.png);
    background-position: right ;
    background-repeat: repeat-y;
    float: left;
    width:32%;
    margin-bottom: 40px;
  }

  .addressleft > p {
    margin:0;
  }

  .addressright {
    float: right;
    width:66%;
    margin-bottom: 40px;
  }

  .addressright > p {
    margin:0;
  }

  .contactleft {
    background-image: url(../images/divider.png);
    background-position: right ;
    background-repeat: repeat-y;
    float: left;
    width: 304px;
    margin-bottom: 40px;
  }

  .contactright {
    float: left;
    width: 260px;
    margin-left: 6px;
    margin-bottom: 40px;
  }

  .contactright > p, .contactleft > p, label {
    margin:0;
    line-height:30px;
  }

  fieldset {
    border:0;
  }

  legend {
    visibility:hidden;
  }

  input {
    font-family: ProximaNova;
    font-size: 14px;
    font-style: italic;
    border:1px solid #cdcdcd;
    border-radius:5px;
  }

  textarea {
    width:244px;
    height:192px;
    font-family: ProximaNova;
    font-size: 14px;
    font-style: italic;
    border:1px solid #cdcdcd;
    border-radius:5px;
  }  

  .contentpane > p {
    clear:both;
  }

  .submit, button {
    clear:both;
    padding:9px;
    padding-right:14px;
    padding-left:14px;
    font-size:14px;
    border:0px;
    border-radius:5px;
    color:#ffffff;
    background-color:var(--secondary-color);;
  }

  .submit:hover, button {
    background-color:var(--primary-color);;
  }

/* references */

  .ref p {
    background-image:url(../images/lquotesmall.png);
    background-repeat:no-repeat;
    background-position: top left;
    padding-top:5px;
    padding-bottom:40px;
    margin:0;
    font-family: "BrouetHandwriting";
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 2px;
    text-indent:35px;
    color: #5f5453;
  }

  .ref span.author{
    padding-right:35px;
    padding-bottom:6px;
    background-image:url(../images/rquotesmall.png);
    background-repeat:no-repeat;
    background-position: bottom right;
    font-family:"ProximaNova";
    font-size: 13px;
    letter-spacing: 0;
    white-space:nowrap;
  }

/* main topics */

div.topic1, div.topic2 {
  padding-left: 0;
  float:left;
}

@media (max-width: 992px) {
  div.topic1, div.topic2 {
    padding-left: 0;
    padding-right: 50px;
    float:left;
  }
}

div.topic3 {
  clear:both;
}

div.topic3, div.topic4, div.topic5 {
  padding-left: 0;
  float:left;
}

@media (max-width: 992px) {
  div.topic3, div.topic4, div.topic5 {
    padding-left: 0;
    padding-right: 50px;
    float:left;
  }
}

/* rightcol */

div > .newsflash {
  padding-bottom:40px;
}

div.threecol div.span4 {		/* used ??? */
  width:188px;
  padding-right:14px;
  float:left;
}

div.threecol div.clearfix {		/* used ??? */
  clear:both;
}

div.rightcol {
  margin-left: -5px;
  padding-right: 27px;
}

@media (max-width: 992px) {
  div.rightcol {
    margin-left: 0;
    padding-right: 50px;
    padding-left: 50px;
  }
}

  .rightcol > div {
    padding-top: 30px;
  }

  .rightcol > div {
    padding-bottom:40px;
    background-image:url(../images/hdivide.png);
    background-repeat:repeat-x;
    background-position: left top;
  }

  .rightcol > .newsbox, .rightcol > .archive, .rightcol > div:first-child {
    background-image:none;
  }

  .cite p {
    background-image:url(../images/lquotesmall.png);
    background-repeat:no-repeat;
    background-position: top left;
    padding-top:5px;
    font-family: "BrouetHandwriting";
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 2px;
    text-indent:35px;
    color: #5f5453;
    margin:0;
  }

  .cite span.author{
    padding-right:35px;
    padding-bottom:6px;
    background-image:url(../images/rquotesmall.png);
    background-repeat:no-repeat;
    background-position: bottom right;
    font-family:"ProximaNova";
    font-size: 13px;
    letter-spacing: 0;
    white-space:nowrap;
  }

  /* google map */

  div#sp_simple_map140 {
    width:279px;
    height:264px;
    border:0;
  }

  div#sp_simple_map_canvas {
    width:279px;
    height:264px;
    border:3px solid #cdcdcd;
    border-radius:5px;
  }

  /* newsbox-menu */
  div.newsbox {
	margin-top: -10px;
	min-width: 240px;
  }

  div.newsbox div.moduletable {
	margin-bottom: -1px;
  }

  ul.boxmenu {
    padding:0;
    margin:0;
  }

  ul.boxmenu li {
    margin-right: 1px;
    padding: 15px;
    padding-bottom:7px;
    position: relative;
    text-align: left;
    display: inline;
    list-style: none;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
    color: #5F5453;
    background-color:#ffffff;
  }

  ul.boxmenu li:hover {
    color:#ffffff;
    background-color:#009AB1;
  }

  ul.boxmenu li:hover a {
    color:#ffffff;
    background-color:#009AB1;
  }

  ul.boxmenu li.selected {
    border-bottom:0;
  }

  ul.boxmenu li.selected:hover {
    color:#5F5453;
    background-color:#ffffff;
  }

  ul.boxmenu li > a {
    font-size: 20px;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 5px;
    text-decoration: none;
    color:#5F5453;
  }

  ul.boxmenu li > a:hover {
    color:#ffffff;
    background-color:#009AB1;
  }

  ul.boxmenu li.selected > a {
    border-bottom: 3px solid #009AB1;
  }

  ul.boxmenu li.selected:hover > a {
    color:#5F5453;
    background-color:#ffffff;
  }

  ul.boxmenu li.selected > a:hover {
    color:#5F5453;
    background-color:#ffffff;
  }

  /* newsbox-content */

  div.divbox {
    content: "";
    clear: both;
    background-color: #ffffff;
    border:1px solid #cdcdcd;
    border-radius:5px;
    border-top-left-radius:0;
    border-bottom-left-radius:50px;
  }

  div.divbox ul {
    list-style:none;
    margin:0px;
    padding:20px;
    display:table;
  }

  div.divbox ul > li {
    padding-top:10px;
    padding-bottom:10px;
    padding-left:70px;
    background-image:url(../images/caldivide0.png);
    background-repeat: no-repeat;
    background-position: top left;
  }

  div.divbox ul > li:first-child {
    background-position: left -1px;
  }

  div.divbox ul li > a.mod-articles-category-title {
    display: table-footer-group;
    padding: 5px 0;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    text-decoration:none;
    color: #5f5453;
  }

  div.divbox ul .mod-articles-category-date {
    display: table-header-group;
    padding: 5px 0;
    font-size: 12px;
    font-style: italic;
    margin: 0;
  }

  div.divbox ul .mod-articles-category-introtext, 
  .divbox .mod-articles-category-readmore {
    font-size: 15px;
    line-height: 18px;
    padding: 5px 0;
    margin: 0;
  }

  div.divbox ul li > p > a.mod-articles-category-title {
    text-decoration: none;
  }

  div.divbox ul > li:last-child > p > a.mod-articles-category-title {
    background-image:none;
  }

  /* archive */

  h3.ui-accordion-header {
    background-image: url("../images/subdivide1.png");
    background-position: left top;
    background-repeat: no-repeat;
    font-size: 18px;
    margin: 0;
    padding-left: 17px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  h3.ui-accordion-header > a {
    color: #5f5453;
    text-decoration:none;
  }

  h3.ui-accordion-header-active {
    background-image: url("../images/subdivide2.png");
    background-position: left top;
    background-repeat: no-repeat;
  }

  h3.ui-accordion-header:last-child, h3.ui-accordion-header-active:last-child {
    background-image: url("../images/hdivide.png");
    background-position: left top;
    background-repeat: repeat-x;
  }

  h3.ui-accordion-header-active > a {
    color: #009AB1;
    text-decoration:none;
  }

  .archive ul {
    display: table;
    list-style:none;
    padding:0;
    margin:0;
  }

  .archive ul > li {
    padding-top:10px;
    padding-bottom:10px;
    padding-left:70px;
    padding-right:10px;
    background-image:url(../images/caldivide1.png);
    background-repeat: no-repeat;
    background-position: top left;
  }

  .archive ul li > a.mod-articles-category-title {
    display: table-footer-group;
    padding: 5px 0;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    text-decoration:none;
    color: #5f5453;
  }

  .archive ul li > a.active, 
  .archive ul li > a.active + span,
  .archive l  li > a.active + span + p {
    color: #009AB1;
  }

  .archive .mod-articles-category-date {
    display: table-header-group;
    padding: 5px 0;
    font-size: 12px;
    font-style: italic;
    margin: 0;
  }

  .archive .mod-articles-category-introtext {
    font-size: 15px;
    line-height: 18px;
    padding: 5px 0;
    margin: 0;
  }

  .archive ul > li:last-child > p > a.mod-articles-category-title {
    background-image:none;
  }

  .items-row:last-child .row-separator {		/* used ??? */
    visibility: hidden;
  }

  .newsflash img.icon {		/* used ??? */
    float: left;
    padding-right: 20px;
  }

/* footer */

div.footer {
  padding-top: 5px;
  padding-bottom: 12px;
  width: 100%;
}

/* footmenu */

  .footmenu ul {
    padding:0;
	padding-left: 22px;
	justify-content: center;
  }

  .footmenu ul li, .socialicons ul li {
    display:inline;
    list-style-type:none;
  }

  .footmenu ul li .divider {
    text-align:right;
    display:inline;
    list-style-type:none;
    background-image: url(../images/footdivider.png);
    background-repeat: no-repeat;
    background-position: -10px top;
    display: inline !important;
    margin: 0;
    padding-left: 25px;
    padding-right: 0px;
    vertical-align:top;
  }

  .footmenu ul li .empty {
    text-align:right;
    display:inline;
    list-style-type:none;
    background-image: url(../images/footdivider.png);
    background-repeat: no-repeat;
    background-position: -10px top;
    display: inline !important;
    margin: 0;
    padding: 0;
    vertical-align:top;
  }

  .footmenu ul li:first-child {
    background-image: none;
  }

  .footmenu a, .footmenu span {
    color: var(--primary-color);;
    font-size:14px;
    line-height:25px;
    text-decoration:none;
    vertical-align:top;
  }

  .footmenu ul li a:hover span {
    border-bottom: 3px solid var(--primary-color);;
  }

  .footmenu ul li.active a span {
    border-bottom: 3px solid var(--primary-color);;
  }

  .footmenu ul li:first-child a:hover span {
    border-bottom: 0;
  }

  .footmenu ul li:first-child.active a span {
    border-bottom: 0;
  }

  @media (max-width: 576px) {
    .footmenu ul li {
      display:inline;
      list-style-type:none;
      padding-left: 0;
      padding-right: 0;
    }

    .footmenu ul li a img {
	  width: 24px;
	}
  }

  .footmenu ul li a.social img {
    top: -5px;
  }

  .footmenu ul li a.home img {
    width: 32px;
    height:32px;
    top:-4px;
    left: 0px;
    position:relative;
    background-image: url(../images/home.png);
    vertical-align:top;
  }

  .footmenu ul li a.home:hover img {
    background-image: url(../images/home-hover.png);
  }

  .footmenu ul li.active a.home img {
    background-image: url(../images/home-hover.png);
  }

/* footline */

div.footline {
  background-image:url(../images/footerback.png);
  background-repeat:no-repeat;
  background-position:50% 0px;
  background-color:#ffffff;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  position:relative;
  float:left;
  text-align:center;
}

  .footline p {
    font-size:11px;
    margin-left:auto;
    margin-right:auto;
  }

  .footline a {
    color: #5f5453;
    text-decoration:none;
  }

  .footline .newsflash {
    padding-bottom: 0;
	margin-top: -8px;
	width: 100%;
  }

div.socialicons {
  position: fixed;
  left: 0px;
  bottom: 170px;
  width: 44px;
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-left: 0;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: #5F5453;
  z-index: 99;
}

  @media (max-width: 768px) {
    div.socialicons {
      bottom: 70px;
    }
  }

  .socialicons ul {
    padding: 4px;
  }

  div.topmenu li a, div.footmenu li a, div.socialicons li a {
    color: transparent;
  }

  .footmenu a.fa-home {
    font-size: 2em;
  }

  div.socialicons li {
    display: block;
    width: 32px;
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
  }

  div.topmenu li {
    display: inline-grid;
    margin-top: 12px;
  }

  div.topmenu li a:before, a.fa-home:before {
    color: var(--secondary-color);;
    font-family: "Font Awesome 5 Free";
  }

  div.socialicons li a:before {
    color: var(--secondary-color);;
    font-family: "Font Awesome 5 Brands";
  }

  div.topmenu li a:hover:before, div.socialicons li a:hover:before, a.fa-home:before {
    color: var(--primary-color);;
  }

  @media (max-width: 992px) {
    .topmenu .fa-2x, .mainmenu .fa-2x {
      font-size: 1.75em;
    }
  }

  @media (max-width: 768px) {
    .topmenu .fa-2x, .mainmenu .fa-2x {
      font-size: 1.5em;
    }
  }

  @media (max-width: 576px) {
    .topmenu .fa-2x, .mainmenu .fa-2x {
      font-size: 1.25em;
    }
  }

    
    
    
    
    
    
form#login-form {
  width: 400px;
}

form#login-form label {
  justify-content: right;
}

form#login-form ul.unstyled {
  list-style: none;
  margin-top: 50px;
}

form#login-form div#form-login-submit {
  margin-top: 20px;
}



.registration {
  width: 400px;
}

.registration .radio label {
  display: inline-grid;
  width: 60px;
}

.registration .radio input {
  margin-left: 10px;
}

.registration fieldset.radio {
  display: block;
  padding-bottom: 20px;
}


.alert {
  display: none;
}

.alert-error {
  display: block;
}

.alert-error , .btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

div.socialicons li a {
    height: 32px;
    width: 32px;
}