:root {
  /*Header*/
  --header-background-color: #E0E0E0;
  --header-height: 100px;
  --nav-height: 200px;
  /*Nav*/
  --nav-color: #E0E0E0;
  --nav-background-color: #E0E0E0;
  --nav-width: 250px;
  --sidebar-width-color: 210px;
  /*Main*/
  --box-color: #1c96c1;
  --testominal-color: #323232;
  /*Footer*/
  --footer-color: #696969;
  --designed-by-color: #888888;
  --designed-by-height: 50px;
  --tw-bg: #38A1F3;
  --media-query-max-width: 1030;
}

@font-face {
  font-family: 'ElegantIcons';
  src: url('fonts/ElegantIcons.eot');
  src: url('fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
  url('fonts/ElegantIcons.woff') format('woff'),
  url('fonts/ElegantIcons.ttf') format('truetype'),
  url('fonts/ElegantIcons.svg#ElegantIcons') format('svg');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  min-height: 100vh;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /*The box-sizing property allows us to include the padding and border in an element's total width and   height.*/
}

.flexbox-item-grow
{
    flex: 0 0 auto; /* same as flex: 1 1 auto; */
}
.fill-area-content
{
    overflow: auto;
}

body {
  Font-Family: 'Catamaran', Sans-Serif;
  Font-Size: 15px;
  Color: White;
}

h1, h2, h3, h4, h5, h6 {
  Font-Family: 'Catamaran', Sans-Serif;
}

nav {
  background-color: #E0E0E0;
  height: 200px;
  background-color: var(--nav-color);
  height: var(--nav-height);
  Font-Family: 'Catamaran', Sans-Serif;
  font-size: 20px;
}

nav a {
  color: #218ab0;
  margin: 0;
}

.nav-text a:hover {
  color: white;
}

.nav-text {
  margin-top: 60px;
  margin-top: calc(var(--nav-height) - 40px);
  float: right;
  height: 100%;
  text-align: center;
}

.logo {
  min-height: 100px;
  max-height: 400px;
  width: 100%;
  position: absolute;
  left: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-top: 8px;
}

.flex-page-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}


.flex-main-content-container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.about-us-containter {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.flex-main-item {
  background-color: #323232;
  background-color: var(--testominal-color);
  width: 100%;
  min-height: 30vh;
  max-height: auto;
}

.heroimg {
  background: url(../images/Stock.Photo.floodplainR.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  height: calc(100vh - 175px);
  /*Account for header height*/
  width: 100%;
  margin: 0;
  -moz-background-size: cover;
  -o-background-size: cover;
  /* animation: scale 40s linear infinite; */
}

.herotextbackground {
  background-color: rgba(255, 255, 255, 0.8);
  height: 100%;
  left: 0;
  max-height: auto;
  width: 35%;
  border-radius: 4px;
  text-align: middle;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

}
.herotextbackground table tr th{
  padding-bottom: 15px;
  padding-top: 15px;
}

.herotextbackground table tr td{
  font-size: 25px;
}
.watermark{
  font-family: Sans-Serif;
  right: 20px;
  top: 85%;
  border-radius: 4px;
  position: absolute;
  font-size: 120px;
  opacity: 0.6;
}

.heroarrow {
  top: 90vh;
  border-radius: 4px;
  position: absolute;
  font-size: 50px;
}

.heroimgaboutus {
  background: url(../images/aboutus.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 70vh;
  /*Account for header height*/
  width: 100%;
  margin: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
  /* animation: scale 40s linear infinite; */
}



.heroarrow a {
  display: block;
  text-decoration: none;
  color: white;
}

.heroarrow a:hover {
  color: #E0E0E0;
  color: var(--nav-color);
}

.heroimgcall {
  background: url(../images/call.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 50vh;
  /*Account for header height*/
  width: 100%;
  margin: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
  /* animation: scale 40s linear infinite; */
}

.calltxt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  padding-right: 60px;
  padding-left: 60px;
}

div.herotextbackground table {
  width: 100%;
  font-size: 20px;
  color: black;
}

div.herotextbackground th {
  color: #1996D8;
  font-size: 30px;
  white-space: initial;
}

.testominal-container {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  text-align: center;
  background-color: #323232;
  background-color: var(--testominal-color);
}

.ourprocess-container{
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: #323232;
  background-color: var(--testominal-color);
}

.testominal-item {
  padding: 5px;
  margin: 10px;
  text-align: center;
  color: black;
  border-radius: 8px;
  width: 500px;
  min-height: 300px;
  max-height: 100%;
  Font-Size: 18px;
}

.twitter-container {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: #38A1F3;
  background-color: var(--tw-bg);
}

.twitter-container h1 {
  width: 100%;
}

.twitter-item {
  padding: 5px;
  margin: 10px;
  text-align: center;
  color: black;
  border-radius: 8px;
  min-width: 500px;
  min-height: 300px;
  max-height: 100%;
}

.service-item {
  padding: 5px;
  margin: 10px;
  text-align: center;
  color: black;
  border-radius: 8px;
  width: 40%;
  font-size: 16px;
}

.link-container{
  height: 100%;
  margin: 0;
}

.link-item {
  padding: 5px;
  margin: 10px;
  text-align: center;
  color: black;
  width: 40%;
}


.iba-link-card {
  margin: 0;
  display: block;
  /* padding: 30px 50px 65px 50px; */
  width: 300px;
  min-height: 300px;
  max-height: 100%;
  background: url(iba.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  color: White;
}

.illba-link-card {
  margin: 0;
  display: block;
  /* padding: 30px 50px 65px 50px; */
  width: 300px;
  min-height: 300px;
  max-height: 100%;
  background: url(illba.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  color: White;
}

.oba-link-card {
  margin: 0;
  display: block;
  /* padding: 30px 50px 65px 50px; */
  width: 300px;
  min-height: 300px;
  max-height: 100%;
  background: url(oba.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  color: White;
}

.fema-link-card {
  margin: 0;
  display: block;
  /* padding: 30px 50px 65px 50px; */
  width: 300px;
  min-height: 300px;
  max-height: 100%;
  background: url(fema.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  color: White;
}

.floods-link-card {
  margin: 0;
  display: block;
  /* padding: 30px 50px 65px 50px; */
  width: 300px;
  min-height: 300px;
  max-height: 100%;
  background: url(floodsmart.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  color: White;
}

.aboutabout-container {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  text-align: center;
  background-color: #1c96c1;
  background-color: var(--box-color);
}

.aboutabout-item {
  text-align: left;
  color: black;
  color: white;
  padding: 30%;
  padding-top: 0px;
  width: 100%;
  height: 100%;
}
.aboutabout-item p {
  font-size: 23px;
}
.aboutabout-item img {
  font-size: 23px;
}

.document-container {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100%;
  max-height: auto;
  text-align: center;
  background-color: #323232;
  background-color: var(--testominal-color);
}

.document-item {
  padding: 30px;
  margin: 10px;
  text-align: center;
  color: black;
  border-radius: 8px;
  color: white;
  width: 40%;
  min-height: 300px;
  max-height: auto;
}

.document-item i {
  font-size: 70px;
  margin-bottom: 5px;
}

.document-item i:hover {
  color: red;
}

.document-item a {
  text-decoration: none;
  color: white;
}

.aboutus-card {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  /* padding: 30px 50px 65px 50px; */
  width: 600px;
  min-height: 300px;
  max-height: 100%;
  background: url(floodkitNEW.jpeg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: White;
}

.aboutabout-item i {
  padding-top: 20%;
  font-size: 70px;
  margin-bottom: 5px;
}

.aboutabout-item i:hover {
  color: red;
}

.aboutabout-item a {
  text-decoration: none;
  color: white;
}

.review-card {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  /* padding: 30px 50px 65px 50px; */
  width: 600px;
  min-height: 300px;
  max-height: 100%;
  background: url(review.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: White;
}

.rev2-card {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  /* padding: 30px 50px 65px 50px; */
  width: 600px;
  min-height: 300px;
  max-height: 100%;
  background: url(rev2.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: White;
}

.order-card {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  /* padding: 30px 50px 65px 50px; */
  width: 600px;
  min-height: 300px;
  max-height: 100%;
  background: url(order.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: White;
}

.service-item h2 {
  background-color: #1c96c1;
  background-color: var(--box-color);
  width: 100%;
  bottom: 0;
  position: absolute;
  border-radius: 8px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
}

.overlay:hover {
  opacity: 1;
}

blockquote {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  background-color: #fafafa;
  padding: 30px 50px 65px 50px;
  font-size: 0.8em;
  font-weight: 500;
  margin: 0 0 -50px;
}

blockquote:before, blockquote:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}

blockquote:before {
  top: 5px;
  left: 20px;
}

blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 5px;
}

.author {
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  color: white;
  margin-top: 55px;
}

.author h5 {
  opacity: 0.8;
  margin: 0;
  font-weight: 800;
}

.author h5 span {
  font-weight: 400;
  text-transform: none;
  display: block;
}

.author img {
  max-width: 100%;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  display: inline-block;
  z-index: 1;
  position: relative;
}

div.herotextbackground {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  overflow: auto;
}

.flex-footer-container {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  min-height: 200px;
  max-height: 100%;
  background-color: #696969;
  background-color: var(--footer-color);
  margin-left: 0;
  margin-right: 0;
}

.flex-footer-item {
  margin: 10px;
  width: 40%;
  height: auto;
  text-align: center;
  list-style: none;
}

.footer {
  height: auto;
}

.designedby {
  width: 100%;
  float: left;
  height: 40px;
  background-color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.designedby p {
  float: left;
}

.designedby a {
  text-decoration: none;
}

.copyright {
  float: right;
}

.trg-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.bottom-column2 {
  width: 100%;
  height: 40px;
  background-color: black;
}

.bottom-column2 p {
  padding-top: 10px;
}

/* Contact US Form*/
form {
  border-radius: 8px;
  padding: 1.5rem 2rem;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

textarea {
  min-height: 200px;
}

input[type=submit] {
  background-color: var(--box-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-text ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: inline;
}

.nav-text li {
  display: block;
  float: left;
  position: relative;
  -webkit-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
  padding-right: 10px;
  text-decoration: underline;

}

.nav-text li a {
  z-index: 1;
}

.nav-text ul li ul li:hover {
  background: gray;
  cursor: pointer;
}

.nav-text ul li ul {
  background: #E0E0E0;
  background: var(--nav-color);
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  left: 0;
  display: none;
}

.nav-text ul li:hover>ul,
.nav-text ul li:focus-within>ul,
/* this is the line we add */
.nav-text ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
}

.nav-text ul li ul li {
  clear: both;
  width: 100%;
  padding: 10px;
}

.header-button {
  position: absolute;
  right: 10px;
  padding: 10px;
  padding-right: 15px;
  padding-left: 15px;
  background-color: #4fa800;
  border: 0;
  border-radius: 15px;
  font-size: 22px;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  text-decoration: none;
  color: white;
  top: 10px;
}

.bar-icon {
  color: #818181;
  display: none;
  z-index: 1;
}

.header-button-nav {
  display: none;
  color: #4fa800;
}

@media only screen and (min-device-width : 375px) and (max-device-width : 1030px){
  .heroimg {
    background: url(../images/Stock.Photo.floodplainmobile.jpeg);
    background-repeat: no-repeat;
      background-attachment: none;
    height: 500px;
  }

  .heroimgaboutus {
    background: url(../images/aboutus-mobile.jpeg);
    background-repeat: no-repeat;
    height: 300px;
  }

  .heroimgcall {
    background: url(../images/callmobile.jpeg);
    background-repeat: no-repeat;
    height: 600px;
  }

  .flex-footer-item {
    width: 100%;

  }


  .twitter-item {
    min-width: 200px;
    max-width: 500px;
  }
    .heroarrow a {
    display: none;
  }
}

@media screen and (max-width: 750px) {

.herotextbackground table tr td{
font-size: 15px;
}
div.herotextbackground table {
  width: 100%;
  font-size: 15px;
  color: black;
}

div.herotextbackground th {
  color: #1996D8;
  font-size: 18px;
  white-space: initial;
}
}

@media screen and (max-width: 1030px) {
  .aboutabout-item img{
    padding-left: 10px;
    min-width: 250px;
    max-width: 400px;
  }
  .service-item {
    width: 100%;
    min-height: 300px;
    max-height: auto;
  }
  .watermark {
    font-size: 40px;
  }
  .nav-text li {
    display: none;
  }

  nav {
    font-size: 15px;
  }

  .bar-icon {
    display: block;
    Font-Size: 40px;
    padding-left: 60px;
    position: absolute;
  }

  .logo{
    height: 120px;
  }

  .relwrap {
    position: relative;
  }

  .header-button {
    display: none;
  }

  .header-button-nav {
    display: block;
  }

  .nav-text2 {
    top: 200px;
    width: 100%;
    height: auto;
    position: relative;
    background-color: rgba(0, 0, 0, 0.9);
    display: block;
    z-index: 1;
  }

  .nav-text2 {
    clear: both;
  }

  .nav-text2 ul {
    list-style: none;
  }

  .nav-text2 .outer:hover, .nav-text2 .outer:active {
    background-color: gray;
  }

  .nav-text2 li {
    display: block;
    float: left;
    text-decoration: none;
    padding: 5px;
    width: 100%;
  }

  .nav-text2 ul li ul li:hover, .nav-text2 ul li ul li:active {
    background: gray;
    cursor: pointer;
  }

  .nav-text2 ul li ul li {
    clear: both;
    width: 100%;
    padding-left: 20px;
  }

  .flex-footer-item {
    width: 100%;
  }

  .document-item {
    width: 100%;
    min-height: 300px;
    max-height: auto;
  }



  .aboutabout-item {
    padding: 0px;
  }
  .link-item{
    width: 100%;
    min-height: 300px;
    max-height: auto;
  }
    *{  margin:0; padding:0; }

}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

  /* IE10+ CSS styles go here */
  .heroimg {
    height: 500px;
    /*Account for header height*/
    width: 100%;
  }

  .herotextbackground {
    min-height: 400px;
    max-height: 600px;
    min-width: 300px;
    max-width: 450px;
  }
  .ourprocess-container {
    height: auto;
  }
  .twitter-container {
    height: auto;
    padding: 0;
    margin: 0;
  }

  .twitter-item {
    margin: 0;
  }
  .testominal-container{
    height: auto;
  }

  nav .logo {
    position: absolute;
    padding-top: 100px;
    max-height: 200px;
    height: auto;
    width: 100%;
  }
}

/*Scrolling Text*/
.scrolling-alert{
  height: 50px;
  width: 100%;
  overflow: hidden;
  position: relative;
  color: white;
  background-color: #1c96c1;
  font-weight: 400;
}

.scrolling-alert p {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 50px;
  text-align: center;
  /* Starting position */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  /* Apply animation to this element */
  -moz-animation: scrolling-alert 17s linear infinite;
  -webkit-animation: scrolling-alert 17s linear infinite;
  animation: scrolling-alert 17s linear infinite;
}

/* Move it (define the animation) */
@-moz-keyframes scrolling-alert {
  0% {
    -moz-transform: translateX(100%);
  }

  100% {
    -moz-transform: translateX(-100%);
  }
}

@-webkit-keyframes scrolling-alert{
  0% {
    -webkit-transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes scrolling-alert {
  0% {
    -moz-transform: translateX(100%);
    /* Firefox bug fix */
    -webkit-transform: translateX(100%);
    /* Firefox bug fix */
    transform: translateX(100%);
  }

  100% {
    -moz-transform: translateX(-100%);
    /* Firefox bug fix */
    -webkit-transform: translateX(-100%);
    /* Firefox bug fix */
    transform: translateX(-100%);
  }
}
