@import url('https://fonts.googleapis.com/css?family=Asap:400,400i,600,600i,700,700i');

body {
  margin: 0;
  padding: 0;
  position: relative;
  color: #fff;
  background: #0071be;
}
*, body, html {
  font-family: 'Asap', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    font-family: 'Asap', sans-serif;
    font-style: normal;
    color: inherit;
    text-rendering: optimizeLegibility;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.4;
    color: #fff;
}


                                                      /* ----------------- */
                                                      /*       BASIC       */
                                                      /* ----------------- */

.hide_outliners {
  height: 0!important;
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
  width: 0!important;
  overflow: hidden;
}
.column:last-child:not(:first-child), .columns:last-child:not(:first-child) {
  float: left;
}
.bold {
  font-weight: 700;
}
.big-bold {
  font-weight: 900;
}
.italic {
  font-style: italic;
}
.center {
  text-align: center;
}
.left {
  float: left;
}
.right {
  float: right;
}
.text-left {
  text-align: left!important;
}
.text-right {
  text-align: right!important;
}
.button {
  background: #29AAE1;
}
.button:focus {
  background: #29AAE1;
}
.button:hover {
  background: #29AAE1;
  color: #fff;
}

a {
  color: #fff;
  position: relative;
  text-decoration: none;
  font-weight: normal;
  font-size: 16px;
  transition: .3s all ease;
}
a:before {
  transition: .2s all ease;
}
a:hover {
  color: #fff;
}
a:focus {
  color: #fff;
}
a.dark {
  color: rgba(103,107,109,0.5);
  font-size: 14px;
  font-weight: normal;
}
a.dark:hover {
  color: rgba(103,107,109,0.5);
  text-decoration: underline;
}
a.dark:focus {
  color: rgba(103,107,109,0.5);
  text-decoration: underline;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}
.flex-align-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.flex-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.flex-space-between {
  justify-content: space-between;
  display: flex;
}
.flex-no-wrap {
  display: flex;
  flex-wrap: nowrap;
}
.flex-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.five-columns .columns {
  width: 20%;
}




                                                        /* ------------------ */
                                                        /*       HEADER       */
                                                        /* ------------------ */

header nav {
  height: 45px;
  background: #007cc2;
}
header nav a.right {
  background: #0071BD;
  line-height: 45px;
  display: inline-block;
  padding: 0 12px;
}
header nav a.right:hover {
  background: #29AAE1;
}
header nav a.right .fab {
  font-size: 30px;
  margin-right: 5px;
  vertical-align: sub;
}
.banner {
  position: relative;
  z-index: 2;
}
.banner .logo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;;
  margin: auto;
  border: 2px dashed #fff;
  border-bottom: 0;
}
.banner img:first-child {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

                                                       /* ------------------- */
                                                       /*       CONTENT       */
                                                       /* ------------------- */

main {
  padding: 70px 0;
}


.cards {
  background: #007cc2;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  border: 2px dashed #fff;

}
.card {
  display: inline-block;
  height: 320px;
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px;
  font-size: 28px;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 6px #000;
  padding: 30px;
  position: relative;
  box-shadow: 1px 3px 6px 2px rgba(0, 0, 0, 0.5);
}
.card span {
  position: relative;
  z-index: 1;
}
.card img {
  position: absolute;
  opacity: 0.5;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  margin: auto;
}

.card:after, .card:before {
  content: '';
  position: absolute;
  width: calc(100% - 125px);
  height: calc(100% - 125px);
  border: 2px solid #e5e7e9;
  z-index: 1;
  pointer-events: none;
  transition: .4s all ease
}
.card:before {
  top: 20px;
  left: 20px;
  border-width: 2px 0 0 2px
}
.card:after {
  bottom: 20px;
  right: 20px;
  border-width: 0 2px 2px 0
}
.card:hover:before, .card:hover:after {
  width: calc(100% - 40px);
  height:  calc(100% - 40px);
}

.card.green {
  background: #87c229;
}
.card.red {
  background: #c75264;
}
.card.orange {
  background: #ed972c;
}
.card.blue {
  background: #75c6f0;
}
.card.navy {
  background: #003e6b;
}
.card.white {
  background: #cccccc;
}
.card.white img {
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
}

.card.green img {
  top: auto;
}
.card.navy img {
  top: 20px;
  left: 20px;
  right: auto;
  bottom: auto;
}
.card.blue img {
  opacity: 0.2;
}

.contact-info {
  position: absolute;
  display: flex;
  background: #007cc2;
  transition: .6s all ease;
  top: -54px;
  border-top: 2px dashed #fff;
}
.contact-info a:hover {
  color: #04d1ff;
}
.contact-info.right {
  right: -2px;
  border-right: 2px dashed #fff;
}
.contact-info.left {
  left: -2px;
  border-left: 2px dashed #fff;
}
.contact-info.left .icon {
  transform: scaleX(-1);
}
.contact-info .text {
  padding: 0 12px;
  width: 262px;
}

.contact-info .icon {
  height: 50px;
  font-size: 30px;
  background: #007cc2;
  width: 50px;
  text-align: center;
  transition: .3s all ease;
}
.contact-info .icon .fas {
  line-height: 50px;
}


@media screen and (max-width:1220px) {
  .contact-info {
    position: relative;
    left: 0!important;
    right: 0!important;
    width:50%;
    justify-content: center;
    top: 0;
    float: none;
    border: 0!important;
  }
  .contact-info .text {
    width: auto;
    font-size: 18px;
  }
  .contact-info a {
    font-size: 18px;
  }
  .banner .logo {
    border: 0;
  }
  .cards {
    border: 0;
  }
}


@media screen and (max-width:860px) {
  .contact-info .icon {
    display: none;
  }
}
@media screen and (max-width:590px) {
  .contact-info {
    width: 100%;
    margin-bottom: 12px;
  }
  .card {
    margin: 30px 0;
  }
}




                                                      /* -------------------- */
                                                      /*        FOOTER        */
                                                      /* -------------------- */

footer a:hover {
  color: #000;
}
