/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  color: #444444;
}
main {
    z-index: 0;
    padding: 80px 0;
    position: relative;
}
a {
  color: #78BE20;
}

a:hover {
  color: #2b99f8;
  text-decoration: none;
}


.banner {
  background-image: url(../img/banner.png);
  background-size: cover;
  height: 530px;
  position: relative;
}
.banner:before {
  content: '';
  background-color: rgb(0 0 0 / 50%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.txt-white {
    color: #fff;
}
h1 {
    margin: 20px 0;
    text-align: center;
    padding-bottom: 20px;
    color: #233977!important;
    font-weight: normal!important;
    font-size: 1.2em!important;
}
.h2, h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0;
  overflow: hidden;
}

p {
    font-size: 1.2em;
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services p {
    width: 60%;
    font-size: 1.4em;
    margin: 0 auto;
}
/*--------------------------------------------------------------
# RESPONSIVE
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .logo-on {
    height: 130px;
    width: auto;
    display: block;
    margin: 0 auto;
  }
  .half {
    width: 100%;
    column-count: 1;
  }
}

.rltv {
  position: relative;
}
.img-responsive {
    width: 100%;
}
.flx-flow {
    flex-flow: column wrap;
}

.box-item {
    padding: 0;
    width: 12.5%;
}
.iconItem {
    display: block;
    
    font-family: 'Encode Sans', sans-serif;
    font-weight: 800;
    width: 25%;
    height: 220px;
    text-align: center;
    
}
.iconItem img {
  display: block;
  margin: 0 auto 20px;
}
.title-skew h4 {
    position: relative;
    width: 50%;
    margin: 40px auto;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
}

.title-skew h4:before {
    background-color: #E21614;
    width: 100%;
    position: absolute;
    height: 100%;
    content: '';
    z-index: -1;
    transform: skewX(-18deg);
}
#carouselExampleSlidesOnly img {
    border: solid 1px #b5b5b5;
}
.desc-article p {
    font-weight: normal;
    border-bottom: none;
}
.sticker {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    padding: 12px;
    overflow: hidden;
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;
    padding-right: 40px;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16/9 ratio */
  padding-top: 30px; /* IE6 workaround*/
  height: 0;
  overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.sticker:before {
    background-color: #233977;
    width: 100%;
    position: absolute;
    height: 100%;
    content: '';
    z-index: -1;
    transform: skewX(-18deg);
    right: 20px;
    top: 0
}
h4 {
    font-size: 2em;
    color: #003399;
}
.h5, h5 {
    font-size: 1.65rem;
}
.s2 {
    font-size: 1.8em;
}
.form-control {
    background-color: #F4F5F7;
    border-color: #e6e6e7;
}
.form-group {text-align: left;margin-bottom: 20px;}

.form-group label {color: #2e8ddf;}
.strong {
    font-weight: 600;
}
.btn-red {
    background-color: #E21614;
}
.btn-blue {
    background-color: #233977;
}
.btn-red:hover, .btn-blue:hover {
    background-color: #434144;
    color: #fff;
    border-color: #434144;
}
.buttons span {
    width: 25%;
    white-space: pre-wrap;
    display: inline-block;
    text-align: left;
    margin: 30px;
}
.buttons .btn {
    width: 25%;
    padding: 10px;
    white-space: pre-wrap;
    display: inline-flex;
    justify-content: center;
}
.buttons .btn img {
    height: 35px;
    width: auto;
    margin: 0 15px 0 0;
}
@media (max-width: 767px) {
  .headline img, .banner img {
    width: auto;
    margin-top: 20px;
  }
  main, .container, #footer {
    width: 100vw;
    margin: 0;
    padding: 0;
  }
  h1 {
    padding: 0 20px 20px;
    font-size: 1.5em;
  }
  .h2, h2 {
    font-size: 2rem;
  }
  .services p {
    width: 90%;
    font-size: 1.2em;
    margin: 0 auto;
  }
  .box-item {
    padding: 0;
    width: 25%;
  }
  .title-skew h4 {
    width: 100%;
  }
  .iconItem {
    width: 46%;
    height: 250px;
    margin: 2%;
  }
  .iconItem img {
    height: 158px;
    width: auto;
  }
  .buttons span {
    width: 90%;
    text-align: center;
  }
  .buttons .btn {
    width: 90%;
  }
  .row {
    justify-content: center;
    margin: 0;
  }
  .flx-flow {
    flex-flow: column wrap;
    text-align: center;
  }
  .bg-image {
    -webkit-background-size: 100% auto!important;
    -moz-background-size: 100% auto!important;
    -o-background-size: 100% auto!important;
    background-size: 100% auto!important;
    padding-top: 250px;
    background-image: url(../img/bg2.jpg)!important;
  }
  footer img {
    width: 60%;
    margin: 40px auto;
  }
  img {
    height: auto;
    width: 100%;
  }
}
