.image-caption {
	font-size: 14px;
	font-style: italic;
	display: block;
	margin: 0;
	padding: 10px;
	text-align: center;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	color: #6c757d !important;
}
.error.help-block{
	color: #dc3545;
}

ul li,
ol li {
  padding-left: 20px;
  margin-top: 15px;
}

/* cms page css */

.ce-align-left {
  text-align: left;
}

.ce-align-center {
  text-align: center;
}

.ce-align-right {
  text-align: right;
}

.ce-table td,
.ce-table th {
  vertical-align: top;
}

hr {
  border-top: solid 1px #fff;
}

.ce-textpic,
.ce-nowrap .ce-bodytext,
.ce-gallery,
.ce-row,
.ce-uploads li,
.ce-uploads div {
  overflow: hidden;
}

.ce-center .ce-outer {
  float: right;
  position: relative;
  right: 50%;
}

.ce-center .ce-inner {
  float: right;
  position: relative;
  right: -50%;
}

.ce-gallery figure {
  display: table;
  margin: 0;
}

.ce-gallery figcaption {
  caption-side: bottom;
  display: table-caption;
}

.ce-gallery img {
  display: block;
}

.ce-gallery iframe {
  border-width: 0;
}

.ce-border img,
.ce-border iframe {
  border: 2px solid #000;
  padding: 0;
}

.ce-intext.ce-right .ce-gallery,
.ce-intext.ce-left .ce-gallery,
.ce-above .ce-gallery,
.ce-below .ce-gallery {
  margin-bottom: 0;
}

.ce-intext.ce-right .ce-gallery {
  margin-top: 3px;
}

.ce-intext.ce-left .ce-gallery {
  margin-top: 3px;
}

.ce-intext.ce-right .ce-bodytext h5,
.ce-intext.ce-left .ce-bodytext h5 {
  margin-top: 4px;
}

.ce-above .ce-gallery {
  margin-top: 0;
}

.ce-below.ce-right .ce-gallery,
.ce-below.ce-left .ce-gallery,
.ce-below.ce-center .ce-gallery {
  margin-bottom: 0;
  margin-top: 0;
}

.ce-column {
  margin-bottom: 15px;
  margin-right: 15px;
}

.ce-column:last-child {
  margin-right: 0;
}

.ce-row {
  margin-bottom: 10px;
}

.ce-row:last-child {
  margin-bottom: 0;
}

.ce-above .ce-bodytext {
  clear: both;
}

.ce-intext.ce-left ol,
.ce-intext.ce-left ul {
  overflow: auto;
  padding-left: 40px;
}

.ce-intext.ce-left ul {
  padding-left: 0;
}

.ce-uploads img {
  margin-top: 5px;
}

.ce-uploads span {
  display: block;
}

.float-left img {
  margin-right: 20px;
}

.float-right img {
  margin-left: 20px;
}

.frame .ce-textpic {
  padding-bottom: 20px;
}

.frame .ce-textpic img {
  margin-bottom: 10px;
}

.frame .ce-textpic.ce-left {
  padding-bottom: 0;
}

.frame .ce-textpic.ce-left .ce-gallery img {
  margin-bottom: 0;
}

.button-group {
  margin: 20px auto;
}

.cc-window {
  flex-wrap: wrap;
}

.cc-message {
  margin-bottom: 10px;
}

.ce-right .ce-gallery,
.ce-left .ce-gallery {
  float: none;
  margin: 0 auto;
}

.ce-column {
  float: none;
}

.ce-image img {
  margin-bottom: 10px;
}

.video-section .ce-textpic {
  padding-bottom: 0;
}

.frame-space-after-extra-large {
  margin-bottom: 70px;
}

.frame-space-before-extra-large {
  margin-top: 70px;
}

.frame-space-after-large {
  margin-bottom: 50px;
}

.frame-space-before-large {
  margin-top: 50px;
}

.frame-space-after-medium {
  margin-bottom: 30px;
}

.frame-space-before-medium {
  margin-top: 30px;
}

.frame-space-after-small {
  margin-bottom: 20px;
}

.frame-space-before-small {
  margin-top: 20px;
}

.frame-space-after-extra-small {
  margin-bottom: 12px;
}

.frame-space-before-extra-small {
  margin-top: 12px;
}

@media screen and (min-width: 768px) {
  .frame-space-after-extra-large {
    margin-bottom: 130px;
  }

  .frame-space-before-extra-large {
    margin-top: 130px;
  }

  .frame-space-after-large {
    margin-bottom: 80px;
  }

  .frame-space-before-large {
    margin-top: 80px;
  }

  .frame-space-after-medium {
    margin-bottom: 50px;
  }

  .frame-space-before-medium {
    margin-top: 50px;
  }

  .frame-space-after-small {
    margin-bottom: 40px;
  }

  .frame-space-before-small {
    margin-top: 40px;
  }

  .frame-space-after-extra-small {
    margin-bottom: 25px;
  }

  .frame-space-before-extra-small {
    margin-top: 25px;
  }

  .ce-left .ce-gallery,
  .ce-column {
    float: left;
  }

  .ce-right .ce-gallery {
    float: right;
  }

  .ce-intext.ce-right .ce-gallery {
    margin-left: 50px;
  }

  .ce-intext.ce-left .ce-gallery {
    margin-right: 50px;
  }
}

.btn span {
  padding-left: 10px;
  position: relative;
  top: -1px;
}

.post-preview h3 {
  font-size: 20px;
  margin: 20px 0;
}

.post-preview > .post-meta {
  font-size: 15px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.f3-widget-paginator li {
  padding: 15px;
  border: 1px solid;
  margin: 0px 10px;
}

.page-navigation p {
  margin: 15px 0;
}

.f3-widget-paginator {
  display: flex !important;
  align-items: end !important;
  justify-content: end;
  padding: 0;
  position: relative;
  margin-top: 80px;
}

.f3-widget-paginator .clearfix {
  margin-right: 10px !important;
}

.f3-widget-paginator .clearfix:last-child {
  margin-right: 0px !important;
}

.clearfix.older-page {
  position: absolute;
  left: 0;
}


/* Overwrites from Sebastian */

header.masthead {
    margin-bottom: 20px;
  }
  
  header.masthead .site-heading {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  
  p {
      margin-top: 0px;
      margin-bottom:20px;
    }
  
    hr {
      border-top: 1px solid #BB0000;
    }
  
    .f3-widget-paginator {
      margin-top: 15px;
    }
  
    header.masthead .overlay {
      background-color: #BB0000;;
    }
  
    footer {
      background-color: #EEEEEE;
    }
  
    
    #mainNav {
      background-color: #EEEEEE;
      border-bottom: 1px solid #eeeeee;
    }
  

      
      .btn-primary {
        background-color: #800000;
        border-color: #800000;
      }

      .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        color: #fff;
        background-color: #BB0000;
        border-color: #BB0000;
      }

  
      footer .list-inline {
        margin-bottom:20px;
      }

      a:focus, a:hover {
        color:#BB0000;
      }



      .mainContainer {
        min-height:750px;
      }

      @media only screen and (min-width: 992px) {
        #mainNav {
          background-color: #BB00;
          border-bottom: 1px solid transparent;
        }

        #mainNav .navbar-nav > li.nav-item > a:focus, #mainNav .navbar-nav > li.nav-item > a:hover {
            color: #000000;
          }
      }
      
      @media only screen and (min-width: 992px) {
        #mainNav.is-fixed .navbar-brand:focus, #mainNav.is-fixed .navbar-brand:hover {
            color: #000000;
        }
        #mainNav.is-fixed .navbar-nav > li.nav-item > a:focus, #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
            color: #000000;
        }          
      }

      @media only screen and (min-width: 768px) {
        .post-preview > a:focus, .post-preview > a:hover {
            text-decoration: none;
            color: #bb0000;
          }
          .post-preview > .post-meta > a:focus, .post-preview > .post-meta > a:hover {
            text-decoration: underline;
            color: #bb0000;
          }
      }

      .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        color: #fff;
        background-color: #bb0000 !important;
        border-color: #bb0000 !important;
      }

      .clearfix.older-page {
        top:0;
      }

/* NEWS */

header.masthead .post-heading {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  /* News Categories */

  .categorybuttons a {
    width:100%;
    font-size:0.7em;
    padding:10px;
  }

  .categorybuttons a span {
    padding-left:5px;
    padding-right:5px;
    top:-10px;
    right:5px;
  }


  /* Image SC (Gallery) */

.ce-column {
  margin-left:0px;
}



/* badge */
.news-list-view .badge {
  background-color: #BB0000;
  opacity: .8;
  color: #FFFFFF;
  font-size:14px;
  position: absolute;
}

/* rating */

.rating {
  text-align:center;
  min-height: 85px;
  border: 2px solid #BB0000;
  border-radius: 5px;
  padding:5px;
}