.header .logo img { height: 80px; }
#mainnav > ul > li > a { font-size: 16px; padding: 35px 40px 0 15px; }
.header.upscrolled #mainnav > ul > li > a { padding: 25px 40px 0 15px; }
.page-title.parallax4 { padding: 50px 0 40px; }
.flat-row.full-color { padding: 60px 0 40px; }
.event-item { height: 150px; }
.event-overlay .overlay-top h4 { font-size: 12px; }
.owl-carousel .owl-item img { margin: 0px auto; display: block; max-height: 150px; width: auto;}
.callhunter button {padding-top: 0px;}

#map {
    position: relative;
    padding-bottom: 75%; // This is the aspect ratio
    height: 0;
    overflow: hidden;
}
#map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.contacts .contacts-text { font-size: 16px; }
.contacts textarea { height: 150px; }

.top-title { text-align: center; margin-bottom: 35px; }
.top-title .title {
    font-family: "Bitter", sans-serif;
    font-size: 28px;
    margin-bottom: 9px;
    color: #343434;
}

.flat-row .name-toggle .title {
  color: #343434;
}
.header { background-color: #00579e; }
#mainnav .submenu li { background-color: #b0c3d3; }
#mainnav .submenu li a { color: #333333; }

.event-item .event-overlay {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background: rgba(255,255,255,.3);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.event-item:hover .event-overlay {
    // background: rgba(0,0,0,.5);
    background: rgba(255,255,255,.7);
    -webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
         -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}
.event-overlay .overlay-top h4 {
  color: #343434;
}

.overlay-top {
    padding: 10px;
}

.header.upscrolled {
  background: #00579e;
}

.footer.full-color {
    background-color: #e94e36;
}
#bottom-nav .link-center .flat-button.style1 { background-color: #fd624a; }
footer .flat-button { background-color: #fd624a; border: 2px solid rgba(255,255,255,.15); }
.textwidget { line-height: 20px; }

#bottom-nav .footer-content {
    padding-top: 0px;
    padding-bottom: 10px;
    min-height: 20px;
}

.footer .section-inner {
    padding: 10px 0;
}

footer .un-separator {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
}

footer .widget {
    padding-bottom: 10px;
}

footer .border.widget .widget-inner {
  padding: 15px;
}

.footer .widget .widget-title {
  margin-bottom: 10px;
}

footer #bottom .section-inner { padding-top: 20px; padding-bottom: 0px; }


.flat-future .post-future ol {
    font-size: 18px;
    margin-bottom: 35px;
    color: #343434;
    list-style: none;
}
 body {
   counter-reset: item;
 }
 .flat-future .post-future li {
   counter-increment: item;
   margin-bottom: 15px;
 }
.flat-future .post-future ol li:before {
   margin-right: 10px;
   content: counter(item);
   background: #00579e;
   color: white;
   width: 2em;
   text-align: center;
   display: inline-block;
 }

.contacts-text .page-title-heading .title{
  font-family: "Bitter", sans-serif;
  font-size: 28px;
  color: #343434;
  margin-bottom: 35px;
  line-height: 1.25;
}

#header .phones { float: right; padding: 20px 10px; }
#header.upscrolled .phones { padding: 5px 10px; }
#header .phones a { line-height: 30px; font-size: 18px; color: #ffffff; display: block; }
// #header.upscrolled .phone-icons img { height: 20px; }

#header a .phone-icons { display: inline; line-height: 30px; }
#header a .phone-icons .icon-active {display: none;}
#header a .phone-icons .icon-default {display: inline;}
#header a:hover .phone-icons .icon-active {display: inline;}
#header a:hover .phone-icons .icon-default {display: none;}
#header a .phone-icons img { height: 20px; }


footer .flat-button { line-height: 15px; }
footer .slogan-footer { font-size: 12px; font-weight: 600; }
