/*
Theme Name: Custom

*/

body{font-family: 'Source Sans Pro', sans-serif;color:#939a9a;}
h1,h2,h3,h4,h5,h6{color:#00345e;font-weight:normal;}
p:empty{margin:0;}
a,.txt-blue{color: #00345e;}
a:hover{color:inherit;}
.top-bar{padding:15px 0;background:#00345e;}
.top-cta a{font-size:26px;color:#fff;font-weight: bold;}
.top-social a {
  font-size: 26px;
  display: inline-block;
  margin-right:10px;color:#fff;
}
.navbar-bg{padding:15px 0;border-bottom: 1px solid #00345e;}
.home .navbar-bg {border-bottom: 0;}
.navbar-bg span {
  color: #00345e;
  font-size: 25px;
}
.navbar-bg span.mtxt {
  font-size: 22px;
  padding-left: 0;
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color:rgba(0, 52, 94,0.9);
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 9999;
}

.overlay-content {
  position: relative;
  top: 20%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.hp-slider .slide {
background-repeat: no-repeat;
background-size: cover;
height: 600px;
background-position: center;
padding: 50px;
margin: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
}
.hp-slider .slide-1 {background-image: url(imgs/slide1.jpg);}
.banner-txt {background: rgba(0, 52, 94,0.83);padding: 30px;}
.banner-txt h3{color:#fff;font-size:28px;margin-bottom: 30px;}
.banner-txt a{color:#fff;display: inline-block;}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?q03nby');
  src:  url('fonts/icomoon.eot?q03nby#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?q03nby') format('truetype'),
    url('fonts/icomoon.woff?q03nby') format('woff'),
    url('fonts/icomoon.svg?q03nby#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-long-right:before {
  content: "\e901";
}

.hp-title{font-size:40px;margin-bottom:50px;}
.hpsec1{padding:100px 0;}
.hpsec2{padding:100px 0;background: url(imgs/hpsec2-bg.jpg) no-repeat center;background-size:cover;}
.hpsec2 *{color:#fff;}
.hpsec2 p{font-size:20px;margin-bottom:50px;}
.hpbar{padding:30px 0;background:#00345e;}
.hpbar h2{font-size:40px;margin-bottom:0;}
.hpbar *{color:#fff;}
.btn{border-radius:0 !important;}
.btn-primary {
color: #fff !important;
background-color: #00345e;
border-color: #00345e;
}
.btn-secondary {
color: #fff !important;
background-color: #575654;
border-color: #575654;
}
.btn-primary:hover,.btn-primary:active {background-color: #575654 !important;border-color: #575654 !important;}

.btn-white {
color: #00345e !important;
background-color: #fff;
border-color: #fff;
}

.footer {
padding-top: 50px;
padding-bottom: 50px;
color: #00345e;
background: #ebebeb;
}
.footer h3 {
margin-bottom: 15px;
font-size: 22px;
color: #00345e;
font-weight:bold;
}
.footer a {
color: #00345e;
}
.footer-bottom {
background: #00345e;
padding-top: 20px;
padding-bottom: 20px;
}
.footer-copyright,.footer-copyright a {
color: #fff;
}

.section-white {
background: #fff;
padding: 50px 0;
}
.section-primary {
background: #00345e;
padding: 50px 0;
}
.section-primary * {
color: #fff;
}
.section-secondary {
background: #ebebeb;
padding: 50px 0;
}
.section-lightgrey {
background: #eee;
padding: 50px 0;
}
.text-fild {margin-bottom: 10px;}
.textarea-fild {height: 100px;margin-bottom: 10px;}
.send {
background: #00345e !important;
color: #fff !important;
border-color: #00345e !important;
border-radius: 0 !important;
}

.latest-news-wrapper .latest-post {
margin:0 15px;border: 1px solid #0f3041;
}
.latest-news-wrapper .latest-post .news-img {
position: relative;overflow:hidden;height:170px;
}

.latest-news-wrapper .latest-post .news-img .news-date-wrap {
z-index: 2;
color: #fff;
position: absolute;
top: 5px;
left: 15px;
font-weight: 800;
text-shadow: 1px 1px 5px #000;
}
.latest-news-wrapper .latest-post .news-img .news-date-wrap .date-day, .latest-news-wrapper .latest-post .news-img .news-date-wrap .date-month {
display: block;
line-height: 1;
text-transform: uppercase;
text-align: center
}
.latest-news-wrapper .latest-post .news-img .news-date-wrap .date-day {
font-size: 32px
}
.latest-news-wrapper .latest-post .news-img .news-date-wrap .date-month {
font-size: 18px
}
.latest-news-wrapper .latest-post .news-content {
padding: 30px 15px;
}
.latest-news-wrapper .latest-post .news-content h3 {
font-size: 20px;
color: #00345e;
}
.inp-sec h3{background: #00345e;color: #fff !important;padding: 15px 30px;margin: 0 -15px 30px;}
.inp-sec .news-content {padding: 0 15px 30px !important;}

.lp-box:hover img{transform: scale(1.5);}
.wrapper {padding: 50px 0;}
.inner-bg{background: url(imgs/hpsec2-bg.jpg) no-repeat center;background-size:cover;height:400px;}
.inner-bg *{color:#fff;}
.page-link,.page-link:hover{color: #00345e;}
.page-item.active .page-link{background-color: #00345e;border-color: #00345e;}
.updated {display: none;}
.published.updated {display: inline;}
#recent-posts-2 a, #categories-2 a {color: inherit;}
.lp-box{border:1px solid #00345e;}
.lp-img {height: 270px;overflow: hidden;}
.lp-img img {width: 100%;min-height: 280px;object-fit: cover;transition: 1s all ease-in-out;}
.lp-txt {padding: 20px !important;}

/***************************** MEDIA *******************************/
@media screen and (min-width: 992px) {

}

@media screen and (max-width: 991px) {
.banner-txt h3{font-size: 20px;}
.hp-title,.hpbar h2{font-size: 34px;}
.latest-news-wrapper {margin-top: 50px;}

}

@media screen and (max-width: 767px) {
.top-cta,.navbar-bg img{margin-bottom:10px;}
.navbar-bg,.hpbar {text-align: center;}
.hp-slider .slide{height:300px;padding: 15px;}
.mobbg {padding: 30px 0;background: #00345e;}
.mobbg * {color: #fff;}
.mobbg a {margin-top: 30px;display: inline-block;}
.banner-txt {width: 60%;padding: 10px;display:none;}
.banner-txt h3,.banner-txt a{font-size:14px;}
.banner-txt h3{margin-bottom:10px;}
.hpsec2 br {display: none;}
.hpbar h2{margin-bottom:30px;}
.footer {text-align: center;padding-top: 20px;}
.footer h3,.sp-page img{margin-top: 30px;}
}