/**
 *
 * Theme Name: Mediaani Bootstrap Theme
 * Theme URI: http://www.mediaani.fi/
 * Author: Mediaani - 
 * Author URI: http://www.mediaani.fi
 * Description: Mediaani Bootstrap Theme
 * Version: 1.0
 * License: GNU General Public License
 * License URI: license.txt
 *
 * TOC
 * 1. Sass elements
 * 2. Typograhpy
 * 3. Foundation
 * 4. Modules
 * 5. Widgets / Aside
 * 6. Forms
 * 7. Buttons
 * 8. WooCommerce overrides
 * 9. IE overrides
 * 10. Misc.
 *
 */
/*-----------------------------------------------------------------------------
   Sass elements
-----------------------------------------------------------------------------*/
/* Partials */
/* Variables */

/* 

Red: #e60014
Blue: #b6effa
Darker: #0990c6
Darkest: #890914
White: #FAEBD6


/*-----------------------------------------------------------------------------
   Typography
-----------------------------------------------------------------------------*/
@font-face {
  font-family: 'brix_sansregular';
  src: url("../fonts/brixsansregular-webfont.woff2") format("woff2"), url("../fonts/brixsansregular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'brix_sansbold';
  src: url("../fonts/brixsansbold-webfont.woff2") format("woff2"), url("../fonts/brixsansbold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* Body
-----------------------------------------------------------------------------*/
html {
  font-size: 18px;
  background: #fff;
}

body {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  color: #282828;
  background: #fff;
  font-family: 'brix_sansregular';
}

p, ul, ol, dl, .wp-block-image {
  margin-bottom: 1.5em;
}

@media (max-width: 991px) {
  html {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 16px;
  }
}
b, strong {
  font-family: 'brix_sansbold';
  font-fweight: normal;
}

/* Headings
-----------------------------------------------------------------------------*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: normal;
  // color:#b6effa;
  color:#e60014;
  font-family: 'brix_sansbold';
}

h1, .h1,
h2, .h2 {
  font-size: 1.8rem;
}

h2, .h2 {
  font-size: 1.5rem;
}

h3, .h3,
.widget-title,
.grid ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.0625rem;
}

h4, .h4 {
  font-size: 1.1rem;
  line-height: 1.4;
}

h5, .h5 {
  font-size: 0.875rem;
  line-height: 1.4;
}

h6, .h6 {
  font-size: 0.75rem;
  line-height: 1.5;
}

h1, .h1,
h2, .h2,
h3, .h3,
.widget-title,
.grid ul.products li.product .woocommerce-loop-product__title {
  margin: 1.45em 0 0.75em;
}

@media screen and (max-width: 1440px) {
  h1, .h1 {
    font-size: 1.65rem;
  }

  h2, .h2 {
    font-size: 1.33rem;
  }

  h3, .h3,
  .widget-title,
  .grid ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
  }

  h4, .h4,
  h5, .h5,
  h6, .h6 {
    font-size: 1.05rem;
  }
}
.dim {
  color: #888;
}

.pale {
  color: #fff;
}

.color-primary {
  // color: #b6effa;
  color:#e60014;
}

.color-default {
  color: #282828 !important;
}

.weight-400 {
  font-weight: 400;
}

.weight-500 {
  font-weight: 500;
}

.weight-600 {
  font-weight: 600;
}

.weight-700 {
  font-weight: 700;
}

@media (min-width: 768px) {
  .size-larger {
    font-size: 1.2142857143rem;
    line-height: 1.55;
  }

  .size-smaller {
    font-size: 0.8571428571rem;
  }
}
.size-tiny {
  font-size: 13px;
  font-style: italic;
}

.bordered-heading {
  width: auto;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.bordered-heading:after {
  display: block;
  content: "";
  width: 90px;
  height: 4px;
  background: #e60014;
  margin: auto;
  margin-top: 1.2rem;
}

.centered-textblock {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
	position:relative;
  font-size: 1.5rem;
  color: #999;
  font-style: italic;
  margin: 2.5rem 0 0;
  border: 0;
  text-align: left;
  padding-left:1.5em;
}

blockquote:before {
  content: '\201d';
  display: block;
  position:absolute;
  top:0;left:0;
  font-size: 3rem;
  line-height: 1;
  color: #e60014;
  font-family: 'Gill Sans', serif;
}

blockquote p {
	margin-bottom:1rem;
}

legend {
  border: 0;
  text-transform: uppercase;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  color: #e60014;
}

/* Links
-----------------------------------------------------------------------------*/
a {
  // color: #b6effa;
  color:#e60014;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
  // color: #0990c6;
  color:#a80917;
}

a:hover,
a:focus,
a:active {
  outline: 0;
}

/*-----------------------------------------------------------------------------
   Foundation
-----------------------------------------------------------------------------*/
/* Body
-----------------------------------------------------------------------------*/
.wp-block-columns {
  margin: 0 -15px;
}

.wp-block-column {
  margin: 0 !important;
  padding: 0 15px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1040px;
  }
}

/* Header
-----------------------------------------------------------------------------*/
.site-header {
  z-index: 10;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  -ms-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.bg-color {
  background:#e60014;
  color:#fff;
}

.site-header .container {
  position: relative;
}

.site-title {
  margin: 0;
  padding: 2rem 0;
}

.site-title a {
  text-decoration: none !important;
  color: #e60014 !important;
}

.site-title img {
  display: block;
  height: auto;
  width: 100%;
  vertical-align: top;
  margin: 0 auto;
}

@media (max-width: 575px) {
  .site-header {
    padding-bottom:0;
  }

  .container-header {
    padding: 0;
  }

  .site-title {
    margin-left: 15px;
    margin-right: 15px;
    padding: 60px 0 1.5rem;
  }
}
.site-header .searchform {
  float: right;
  margin: 10px 180px 10px 15px;
  width: 100%;
  max-width: 400px;
}

.searchform .form-control {
  max-width: none;
  padding-right: 42px;
  margin-right: -42px;
  height: 40px;
  float: left;
  width: 100%;
}

.searchform .submit {
  margin: 0;
  float: right;
  width: 42px;
  height: 40px;
  -webkit-border-radius: 0 0.2rem 0.2rem 0;
  -moz-border-radius: 0 0.2rem 0.2rem 0;
  -ms-border-radius: 0 0.2rem 0.2rem 0;
  border-radius: 0 0.2rem 0.2rem 0;
}

#mfp-search {
  padding: 3em 0;
}

#mfp-search .searchform {
  overflow: auto;
  max-width: 300px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

#mfp-search .form-control {
  height: 44px;
  padding-right: 50px;
  margin-right: -50px;
}

#mfp-search .submit {
  width: 50px;
  height: 44px;
}

#mfp-search .mfp-close {
  color: #fff;
}

.icos-header li {
  display: inline-block;
}

.ico-header {
  display: block;
  float: left;
  height: 40px;
  font-size: 24px;
  line-height: 40px;
  margin-left: 15px;
  color: #e60014;
  text-decoration: none !important;
}

.ico-header-text {
  font-size: 15px;
  padding-left: 5px;
}

@media (min-width: 768px) {
  .icos-header {
    position: absolute;
    top: -50px;
    right: 20px;
  }
}
@media (max-width: 767px) {
  .site-header .searchform {
    margin: 10px 70px 10px 15px;
    max-width: none;
    width: auto;
  }

  .site-header .searchform .form-control {
    display: none;
  }

  .site-header .searchform .submit {
    background: none !important;
    color: #e60014 !important;
    font-size: 20px;
    padding: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
  }

  .site-header .searchform .submit:hover,
  .site-header .searchform .submit:focus {
    // color: #0990c6 !important;
    color:#a80917 !important;
  }

  .icos-header {
    background: #fff;
    width: 100%;
    margin-bottom: 0;
    font-size: 0;
  }

  .icos-header li {
    width: 50%;
  }

  .ico-header {
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 15px;
  }
}
/*-----------------------------------------------------------------------------
   Navigation
-----------------------------------------------------------------------------*/
@media screen and (min-width: 576px) {
  .navbar {
    width: 100%;
    padding: 0;
    -webkit-transition: padding 0.25s ease;
    -moz-transition: padding 0.25s ease;
    -o-transition: padding 0.25s ease;
    -ms-transition: padding 0.25s ease;
    transition: padding 0.25s ease;
    background: none;
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .navbar-nav {
    width: 100%;
    justify-content: center;
  }

  .navbar .navbar-nav .nav-link {
    background: none !important;
    font-family: 'brix_sansbold';
    font-weight: normal;
    color: #282828;
    line-height: 1;
    padding: 15px 20px;
    letter-spacing: 0.01em;
    -webkit-transition: color 0.25s ease;
    -moz-transition: color 0.25s ease;
    -o-transition: color 0.25s ease;
    -ms-transition: color 0.25s ease;
    transition: color 0.25s ease;
  }

  .navbar .navbar-nav .lang-item .nav-link {
    padding-right:0;
    padding-left:15px;
  }

  .navbar .navbar-nav > li > .nav-link:hover,
  .navbar .navbar-nav > li.show > .nav-link {
    text-decoration: none;
    // color: #b6effa;
    color:#e60014;
  }

  .navbar .navbar-nav > li.current-menu-item > .nav-link,
  .navbar .navbar-nav > li.current-menu-ancestor > .nav-link,
  .category-uutiset .navbar-nav > li#menu-item-2294 > .nav-link,
  .category-news .navbar-nav > li#menu-item-2303 > .nav-link {
    text-decoration: none;
    // color: #b6effa;
    color:#e60014;
  }

  // .dropdown-menu {
  //   margin-top: 0;
  //   background: #890914;
  //   border-color: #e60014;
  //   border-top: 0;
  //   border-radius: 0;
  //   font-size: inherit;
  // }

  // .dropdown-item {
  //   color: #fff !important;
  //   padding: 10px 20px;
  //   text-transform: uppercase;
  //   font-size: 15px;
  // }

  // .dropdown-item:hover,
  // .dropdown-item:focus,
  // .dropdown-item:active {
  //   background-color: #e60014;
  // }

  // .dropdown-item:focus,
  // .dropdown-item:active {
  //   background-color: #e60014;
  // }

  // .dropdown-item.active {
  //   background-color: #e60014;
  // }
}
@media screen and (max-width: 767px) {
  .container-navbar {
    max-width:none;
  }

  .navbar .navbar-nav li .nav-link {
    font-size: 1rem;
  }
  .navbar .navbar-nav li:not(.lang-item) .nav-link {
    padding: 15px !important;
  }
}
@media screen and (max-width: 575px) {
  .container-navbar {
    padding:0;
  }
  .navbar {
    clear: both;
    padding: 0;
    background: #e60014;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    -ms-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  }

  .navbar > .container {
    max-width: none;
  }

  .navbar-nav {
    background: #e60014;
    margin: 0;
  }

  .navbar .navbar-nav:first-of-type > li:first-of-type > a {
    // border-top: 1px solid #0990c6;
    border-top:1px solid #a80917;
  }

  .navbar .navbar-nav li .nav-link {
    // color: #fff !important;
    color:#b6effa !important;
    text-transform: uppercase;
    font-weight: 700;
    border-top: 0;
    // border-bottom: 1px solid #0990c6;
    border-bottom:1px solid #a80917;
    padding: 15px !important;
    line-height: 1;
    margin: 0;
  }

  .navbar .navbar-nav > li.current-menu-item > .nav-link,
  .navbar .navbar-nav > li.current-menu-ancestor > .nav-link,
  .single-post .navbar-nav > li#menu-item-117 > .nav-link {
    background-color: #890914 !important;
    // border-color: #0990c6 !important;
    border-color:#a80917 !important;
  }

  .navbar .navbar-nav > li > .nav-link:hover,
  .navbar .navbar-nav > li > .nav-link:focus,
  .navbar .navbar-nav > li.show > .nav-link {
    // background-color: #0990c6;
    background-color:#a80917;
    border-color: #890914;
  }

  // .dropdown-menu {
  //   padding: 0;
  //   margin: 0;
  //   color: #444;
  //   background: none;
  //   border: 0;
  //   border-radius: 0;
  // }

  // .dropdown-item {
  //   color: #fff !important;
  //   text-transform: uppercase;
  //   font-weight: 600;
  //   border-bottom: 1px solid #e60014;
  //   background-color: #890914;
  //   padding: 10px 15px 10px 30px;
  // }

  // .dropdown-item.active,
  // .dropdown-item:active {
  //   background-color: #e60014 !important;
  //   border-color: #890914 !important;
  // }

  // .dropdown-item:hover,
  // .dropdown-item:focus {
  //   background-color: #e60014;
  //   // border-color: #0990c6;
  //   border-color:#a80917;
  // }

  .navbar .btn {
    margin: 15px -4px 15px 15px;
  }
}
.navbar-toggler {
  background-color: none;
  border: 0;
  margin: 0;
  padding: 15px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0;
  color: #e60014;
  width: 60px;
  height: 60px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
  // background-color: #0990c6;
  background-color:#a80917;
}

.hamburger-box {
  width: 26px;
  height: 100%;
  display: inline-block;
}

.hamburger-inner {
  display: block;
  top: calc(50% - 2px);
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 26px;
  height: 4px;
  background-color: #b6effa;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.navbar-toggler:hover .hamburger-inner, .navbar-toggler:hover .hamburger-inner::before, .navbar-toggler:hover .hamburger-inner::after,
.navbar-toggler:focus .hamburger-inner, .navbar-toggler:focus .hamburger-inner::before, .navbar-toggler:focus .hamburger-inner::after,
.navbar-toggler:active .hamburger-inner, .navbar-toggler:active .hamburger-inner::before, .navbar-toggler:active .hamburger-inner::after {
  background-color: #b6effa;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -9px;
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger-inner::after {
  bottom: -9px;
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.navbar-toggler:not(.collapsed) .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.navbar-toggler:not(.collapsed) .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.navbar-toggler:not(.collapsed) .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Footer
-----------------------------------------------------------------------------*/
.site-footer {
  position: relative;
  background: #e60014;
  color: #b6effa;
  font-weight: 400;
  padding: 0;
}

.site-footer .container {
  position: relative;
}

.footer-address {
  font-size: 0.9375rem;
  line-height: 22px;
  padding: 20px 15px 0;
}

.footer-address .fa-phone,
.footer-address .fa-envelope {
  margin-right: 5px;
}

.footer-address .fa-phone {
  margin-left: 10px;
}

.footer-copy {
  padding: 15px 15px 20px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer a {
  color: inherit;
}

.site-footer .some a {
  padding:0 0 0 8px;
}

/* Page
-----------------------------------------------------------------------------*/

#primary {
  padding:2em 15px 3em;
  max-width: 600px;
  margin: 0 auto;
}

#primary .entry-title {
  margin-top: 0;
}

#program {
  padding:2em 10px 3em;
  max-width: 800px;
  margin: 0 auto;
}

#program .col {
  padding: 0 10px;
}

#program .row {
  margin: 0 -10px;
}

#program h2 {
  margin: 10px 0;
}

#program h2 a {
  display: block;
  position: relative;
}

#program .img-title {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  -webkit-transition: opacity 0.35s ease;
  -moz-transition: opacity 0.35s ease;
  -o-transition: opacity 0.35s ease;
  -ms-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
}

#program .post:hover .img-title,
#program .post:focus .img-title {
  opacity: 1;
}

.page-id-146 #primary .embed-responsive.maps {
  padding-bottom: 29.1% !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

@media (max-width:767px) {
  #program {
    padding:2em 20px 3em;
  }
}

@media (max-width:640px) {
  #program {
    padding:2em 10px 3em;
  }
  #program .row {
    margin: 0 -5px;
  }
  #program .col {
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding:0 5px;
  }
  #program h2 {
    margin: 5px 0;
  }
}

@media (max-width:440px) {
  #program .col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Archive
-----------------------------------------------------------------------------*/
.archive .post {
  margin-bottom: 1rem;
}

.archive .post:not(:last-of-type) {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
}

.archive .post .entry-meta,
.archive .post .entry-title {
  margin: 0 0 6px;
}

.archive .post .tax-links {
  font-size: 12px;
}

.archive .post .tax-links a {
  color: inherit;
}

.pagination-wrap {
  overflow: auto;
}

.pagination {
  float: left;
  margin-bottom: 1.5em;
}

.pagination-text {
  float: right;
  color: #888;
  font-size: 0.875rem;
  padding: 8px 0;
  margin-bottom: 3em;
}

.pagination > .page-item > .page-link, .pagination > .page-item > span {
  color: #888;
}

.pagination > .page-item > .page-link:hover,
.pagination > .page-item > span:hover,
.pagination > .page-item > .page-link:focus,
.pagination > .page-item > span:focus {
  color: #e60014;
}

.pagination > .active > .page-link,
.pagination > .active > span,
.pagination > .active > .page-link:hover,
.pagination > .active > span:hover,
.pagination > .active > .page-link:focus,
.pagination > .active > span:focus {
  background-color: #e60014;
  // border-color: #0990c6;
  border-color:#a80917;
  color: #fff;
}

/* Single
-----------------------------------------------------------------------------*/
.single-post .entry-meta {
  margin-bottom: 1.5em;
}

.single-post .entry-meta a {
  color: inherit;
}

/*-----------------------------------------------------------------------------
   Modules
-----------------------------------------------------------------------------*/
/* Ajankohtaista
-----------------------------------------------------------------------------*/
.ajankohtaista-item {
  margin-bottom: 1.25em;
}

.ajankohtaista-item .entry-meta {
  margin-top: .25em;
}

.ajankohtaista-item .entry-title {
  margin-top: 0.2em;
}

/* Logoseinä
-----------------------------------------------------------------------------*/

#Logoseina {
  background:#fff;
}

#Logoseina .container {
  max-width:700px;
  margin:0 auto;
}

#Logoseina .logo {
  display:inline-block;
  width:120px;
  height:90px;
  margin:2px 12px;
}

#Logoseina > .container > .logo:first-child {
  width:170px;
}

#Logoseina > .container > .logo:last-child {
  width:240px;
}

#Logoseina .logo img {
  width:100%;
  height:100%;
  object-fit:contain;
}

@media (max-width: 767px) {
  #Logoseina .logo {
    width:60px;
    height:45px;
    margin:5px 7px;
  }
}

/* Accordion
-----------------------------------------------------------------------------*/
#accordion .card {
  margin-bottom: 6px;
}

#accordion .card-header {
  background: #f5f5f5;
  border-color: #e5e5e5;
  padding: 0.5rem 1.25rem;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  cursor: pointer;
}

#accordion .card-header:hover,
#accordion .card-header.open {
  background: #e5e5e5;
  border-color: #c5c5c5;
}

#accordion .accordion-title {
  font-size: 1.1rem;
  margin: 0.5em 0;
}

#accordion .accordion-title:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}

#accordion .accordion-title.collapsed:after {
  border-top: 0.3em solid;
  border-bottom: 0;
}

/* Mfp Popup Content
-----------------------------------------------------------------------------*/
.white-popup {
  position: relative;
  background: #fff;
  padding: 25px 40px;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}

/* Nice Select
-----------------------------------------------------------------------------*/
.nice-select {
  margin-bottom: 1.5em;
  border-color: #ced4da;
}

.nice-select:hover {
  border-color: #e60014;
}

.nice-select:focus,
.nice-select.open {
  border-color: #e60014;
  box-shadow: 0 0 0 0.2rem rgba(76, 142, 238, 0.25);
}

/* Social Media - Simple Share Buttons Adder
-----------------------------------------------------------------------------*/
#st_gdpr_iframe {
  border: 0;
}

.ssba-wrap,
.ssbp-wrap {
  margin-bottom: 1.5rem;
}

.text-center .ssba > div {
  text-align: center !important;
}

.ssba-share-text {
  display: block;
  margin-bottom: .5em;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
}

.ssbp-list > li {
  padding-left: 0 !important;
  padding-right: 8px !important;
}

/*-----------------------------------------------------------------------------
   Widgets
-----------------------------------------------------------------------------*/
#secondary .widget {
  margin-bottom: 2em;
  padding-bottom: 10px;
  border-bottom: 4px solid #ccc;
}

#secondary .widget ul {
  list-style: none;
  padding: 0;
}

#secondary .widget_categories ul > li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

#secondary .widget_categories ul > li:last-of-type {
  border-bottom: 0 !important;
  margin-bottom: 0;
  padding-bottom: 0;
}

#secondary .widget .nice-select {
  float: none;
}

#secondary .widget .nice-select ul.list {
  width: 100%;
}

#secondary .widget .nice-select ul.list > li {
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: 0;
}

#secondary .widget_tag_cloud {
  padding-bottom: 1.5em;
}

#secondary .widget ul .post-date {
  display: block;
  font-size: 0.88888889em;
  color: #888;
}

@media screen and (max-width: 767px) {
  #secondary .widget:first-of-type,
  .page #secondary .widget_news {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 4px solid #ccc;
  }

  #secondary .widget_subpage_nav {
    display: none;
  }
}
/*-----------------------------------------------------------------------------
   Forms
-----------------------------------------------------------------------------*/
span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
  color: red !important;
  margin: 1em 0;
  border: 0;
  padding: 3px 8px;
  font-size: 0.85em;
}

div.wpcf7-mail-sent-ok {
  border: 1px solid #398f14;
  color: #398f14 !important;
}

span.wpcf7-not-valid-tip,
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng {
  border: 1px solid red;
  display: block;
}

.wpcf7 {
  max-width: 500px;
}

.wpcf7 label {
  font-size: 0.8em;
  font-weight: 700;
  margin-bottom: 5px;
}

.wpcf7 .checkbox label {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
}

.form-control,
.login-wrap .input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: none;
  height: 36px;
  background: #fff;
  color: #444;
  font-size: 13px;
  border: 1px solid #ccc;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: #e60014;
  box-shadow: 0 0 0 0.2rem rgba(76, 142, 238, 0.25);
}

.login-wrap .input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(76, 142, 238, 0.25);
}

textarea {
  height: auto;
  min-height: 100px;
}

.wpcf7 .checkbox {
  overflow: auto;
}

.wpcf7 .wpcf7-list-item {
  display: block;
  float: left;
  width: 50%;
  padding-right: 10px;
  margin-left: 0;
}

@media (max-width: 767px) {
  .wpcf7 .wpcf7-list-item {
    width: 100%;
  }
}
/*-----------------------------------------------------------------------------
   Buttons
-----------------------------------------------------------------------------*/
.btn {
  outline: 0;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  text-shadow: none !important;
  box-shadow: none !important;
  line-height: 1;
  margin-bottom: 1.5em;
  text-decoration: none;
  display: inline-block;
  border: none;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  -ms-transition: all 0.35s ease;
  transition: all 0.35s ease;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.btn-primary,
.btn-secondary {
  background-color: #e60014;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  padding: .75em 1em;
}

.btn-secondary {
  background-color: #56ba64;
}

.btn-trans {
  background: transparent;
  border: 2px solid #e60014;
  color: #e60014;
}

.btn-lg {
  padding: 1em 2em;
  font-size: 1.2rem;
}

.btn-sm {
  padding: 0.66em 1em;
  font-size: 15px;
}

.btn-primary:hover,
.btn-trans:hover {
  background-color: #e60014;
  color: #fff;
}

.btn-primary:focus,
.btn-primary:active,
.btn-trans:focus,
.btn-trans:active {
  background-color: #890914;
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #68d076;
}

.btn-secondary:active {
  background: #4eae5c;
}

.btn-text {
  font-weight: 700;
  text-transform: uppercase;
  color: #e60014;
  display: inline-block;
  margin-bottom: 1.5em;
  line-height: 1;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.btn-text > .fa {
  font-size: 15px;
  margin-left: 5px;
}

@media (max-width: 991px) {
  .btn-lg {
    padding: 15px 30px;
  }
}
/*-----------------------------------------------------------------------------
   IE overrides
-----------------------------------------------------------------------------*/
/* Sticky footer fix for
-----------------------------------------------------------------------------*/
.lte-ie7 #wrap {
  display: table;
}

/* Form fix for lte IE8
-----------------------------------------------------------------------------*/
.lt-ie8 input, .lt-ie8 textarea {
  width: 94%;
  padding: 0 2%;
}

.lt-ie8 textarea {
  width: 93%;
}

/*-----------------------------------------------------------------------------
  Misc
-----------------------------------------------------------------------------*/
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.img-404-error {
  width: 400px;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 10px;
  font-size: 0.8889rem;
}

.embed-responsive {
  margin-bottom: 2.5em;
}

.embed-responsive.maps {
  padding-bottom: 30%;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .embed-responsive.maps {
    padding-bottom: 40%;
  }
}
@media (max-width: 575px) {
  .embed-responsive.maps {
    padding-bottom: 60%;
  }
}
img {
  max-width: 100%;
  height: auto;
}

hr {
  margin: 2em 0 3em;
}

.clear {
  clear: both;
}

.grey,
.gray {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.max-300, .max-400, .max-500, .max-600 {
  margin-left: auto;
  margin-right: auto;
}

.max-300 {
  max-width: 300px;
}

.max-400 {
  max-width: 400px;
}

.max-500 {
  max-width: 500px;
}

.max-600 {
  max-width: 600px;
}

.prepend-top {
  margin-top: 1.5em;
}

.append-bottom {
  margin-bottom: 1.5em;
}

.prepend-top-lg {
  margin-top: 3em;
}

.append-bottom-lg {
  margin-bottom: 3em;
}

.prepend-left {
  margin-left: 1em;
}

.prepend-left-sm {
  margin-left: 4px;
}

.prepend-right {
  margin-right: 1em;
}

.prepend-right-sm {
  margin-right: 4px;
}

.padded {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.padded-sm {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.padded-lg {
  padding-top: 6rem;
  padding-bottom: 5.5rem;
}

.padded-top {
  padding-top: 4rem;
}

.padded-top-sm {
  padding-top: 2rem;
}

.padded-top-lg {
  padding-top: 6rem;
}

.padded-bottom {
  padding-bottom: 3.5rem;
}

.padded-bottom-sm {
  padding-bottom: 1.5rem;
}

.padded-bottom-lg {
  padding-bottom: 5.5rem;
}

@media (max-width: 767px) {
  .prepend-top-lg {
    margin-top: 2em;
  }

  .append-bottom-lg {
    margin-bottom: 2em;
  }

  .padded {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .padded-sm {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .padded-lg {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .padded-top {
    padding-top: 3rem;
  }

  .padded-top-sm {
    padding-top: 1.5rem;
  }

  .padded-top-lg {
    padding-top: 4.5rem;
  }

  .padded-bottom {
    padding-bottom: 2.5rem;
  }

  .padded-bottom-sm {
    padding-bottom: 1rem;
  }

  .padded-bottom-lg {
    padding-bottom: 4rem;
  }
}
