﻿/*.container.port-flex,
.container-fluid.port-flex {
    margin: 0 auto;
    padding: 0 15px;    

    @media(max-width: 767px) {*/
/*padding: 15px 0 !important;*/
/* JPM - 5/9/18 1:37pm, made 0 instead of 50px 0 for testing */
/*}
}*/
.port-flex {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 767px) {
  .port-flex > div:nth-of-type(1) {
    -webkit-flex-order: 1;
    order: 1;
  }
  .port-flex > div:nth-of-type(2) {
    -webkit-flex-order: 2;
    order: 2;
  }
  .port-flex > div:nth-of-type(3) {
    -webkit-flex-order: 4;
    order: 4;
  }
  .port-flex > div:nth-of-type(4) {
    -webkit-flex-order: 3;
    order: 3;
  }
  .port-flex > div:nth-of-type(5) {
    -webkit-flex-order: 5;
    order: 5;
  }
  .port-flex > div:nth-of-type(6) {
    -webkit-flex-order: 6;
    order: 6;
  }
  .port-flex > div:nth-of-type(7) {
    -webkit-flex-order: 8;
    order: 8;
  }
  .port-flex > div:nth-of-type(8) {
    -webkit-flex-order: 7;
    order: 7;
  }
  .port-flex > div:nth-of-type(9) {
    -webkit-flex-order: 9;
    order: 9;
  }
  .port-flex > div:nth-of-type(10) {
    -webkit-flex-order: 10;
    order: 10;
  }
  .port-flex > div:nth-of-type(11) {
    -webkit-flex-order: 12;
    order: 12;
  }
  .port-flex > div:nth-of-type(12) {
    -webkit-flex-order: 11;
    order: 11;
  }
  .port-flex > div:nth-of-type(13) {
    -webkit-flex-order: 13;
    order: 13;
  }
  .port-flex > div:nth-of-type(14) {
    -webkit-flex-order: 14;
    order: 14;
  }
  .port-flex > div:nth-of-type(15) {
    -webkit-flex-order: 16;
    order: 16;
  }
  .port-flex > div:nth-of-type(16) {
    -webkit-flex-order: 15;
    order: 15;
  }
  .port-flex > div:nth-of-type(17) {
    -webkit-flex-order: 17;
    order: 17;
  }
  .port-flex > div:nth-of-type(18) {
    -webkit-flex-order: 18;
    order: 18;
  }
  .port-flex > div:nth-of-type(19) {
    -webkit-flex-order: 20;
    order: 20;
  }
  .port-flex > div:nth-of-type(20) {
    -webkit-flex-order: 19;
    order: 19;
  }
}
.port-flex-row {
  flex-direction: row;
}
@media (max-width: 767px) {
  .port-flex-row {
    flex-direction: column;
  }
}
.port-width-25 {
  -webkit-flex: 0 0 25%;
  flex: 0 0 25%;
  width: 25%;
}
@media (min-width: 768px) and (max-width: 991px) {
  .port-width-25 {
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    width: 50%;
  }
}
@media (max-width: 767px) {
  .port-width-25 {
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
  }
  .port-width-25 > img {
    margin-bottom: 50px;
  }
}
.port-width-33 {
  -webkit-flex: 0 0 33%;
  flex: 0 0 33%;
  width: 33%;
}
@media (min-width: 768px) and (max-width: 991px) {
  .port-width-33 {
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    width: 50%;
  }
}
@media (max-width: 767px) {
  .port-width-33 {
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
  }
  .port-width-33 > img {
    margin-bottom: 50px;
  }
}
.port-width-50 {
  -webkit-flex: 1 0 auto;
  -webkit-box-flex: 1;
  flex: 1 0 auto;
  width: 49%;
  /* weird safari bug, this is how to make flex work on ipad */
  max-width: 50%;
}
@media (max-width: 767px) {
  .port-width-50 {
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .port-width-50 > img {
    margin-bottom: 50px;
  }
}
.port-width-75 {
  -webkit-flex: 0 0 75%;
  flex: 0 0 75%;
  width: 75%;
}
@media (max-width: 767px) {
  .port-width-75 {
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
  }
  .port-width-75 > img {
    margin-bottom: 50px;
  }
}
.port-pane {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  /*
    @media(min-width: 992px) and (max-width: 1199px) {
        > div {
            padding: 10px 20px;
        }
    }*/
}
.port-pane > div {
  padding: 10px 50px;
  width: 100%;
}
.port-pane h3 {
  font-size: clamp(1.25rem, 1.5rem, 2vw);
  margin-top: 0;
  /*font-size: 24px;*/
  color: #212e61;
}
.port-pane p {
  /*font-size: 16px !important;*/
  /*line-height: 28px;*/
}
.port-pane .port-pane-cta {
  display: block;
  margin-left: 15px;
  padding: 5px 0;
}
@media (max-width: 767px) {
  .port-pane .port-pane-cta {
    text-align: center;
  }
}
.port-pane .port-pane-cta:before {
  font-family: "FontAwesome";
  content: "\f054";
  position: absolute;
  margin: 0 0 0 -15px;
  color: #337ab7;
}
@media (min-width: 768px) and (max-width: 991px) {
  .port-pane > div {
    padding: 10px 25px;
  }
}
@media (max-width: 767px) {
  .port-pane {
    align-items: flex-start !important;
    margin-bottom: 25px;
  }
  .port-pane > div {
    padding: 0;
  }
  .port-pane h3 {
    text-align: center;
    font-size: 20px !important;
  }
}
#Hero {
  position: relative;
  background-color: #006aa9;
}
#Hero .page-title {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  left: 25px;
}
@media (max-width: 576px) {
  #Hero .page-title {
    max-width: 350px;
  }
}
#Hero .page-title span {
  padding: 0 15px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (min-aspect-ratio: 16/9) {
  #Hero .page-title {
    bottom: 20%;
  }
}
@media (max-width: 576px) {
  #Hero .page-title {
    bottom: 25px;
    right: 25px;
  }
}
#EastCountyBody .video-container {
  margin: 0 auto;
  border-radius: 10px;
  width: 50%;
}
@media (max-width: 767px) {
  #EastCountyBody .video-container {
    width: 75%;
  }
}
@media (max-width: 525px) {
  #EastCountyBody .video-container {
    width: 100%;
    padding: 0 15px;
  }
}