/* base browser behavior updates */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Oswald:wght@300;400;500;600&display=swap');

@font-face {
    font-family: 'BlueFireMedia';
    src: url('../fonts/bluefiremedia/bluefiremedia.eot');
    src: url('../fonts/bluefiremedia/bluefiremedia.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bluefiremedia/bluefiremedia.woff') format('woff'),
         url('../fonts/bluefiremedia/bluefiremedia.ttf') format('truetype'),
         url('../fonts/bluefiremedia/bluefiremedia.svg#BlueFireMedia') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
  overflow-x: hidden; overflow-y: scroll;
}
html a:focus {
  outline: none;
}
a, a:active, a:hover {
  text-decoration: none;
}
body {
  display: block; margin: 0; padding: 0; width: 100%;
  font: normal normal normal 12pt/1.3em Arial, sans-serif; /* font-style font-variant font-weight font-size/line-height font-family caption icon menu message-box small-caption status-bar */
  color: #000;
  background: #e3e3e3;
}
/* html5 line height fix */
section, header, footer, article, aside, details, figcaption, figure, nav, summary, div {
  line-height: 0;
}
h1, h2, h3, h4, h5, h6, p, li {
  line-height: 1.3em;
}
section {
  display: block; width: 100%; background: transparent; padding: 20px 0; margin: 0;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}
img {
  display: inline-block; max-width: 100%; height: auto;
}
/*clearfix*/
.outer:after, .clear-block:after {
  content: "."; display: block; height: 0; clear: both; visibility: hidden;
}
* html .outer, * html .clear-block {
  height: 1%;
}
.outer, .clear-block {
  display: block;
}
/*end clearfix*/

/* bfm base declarations */
.outer {
  display: block; width: 100%; padding: 20px 0;
}
.inner {
  position: relative; width: 96%; padding: 0 2%; background: rgba(0,0,0,0.2);
}
.flex-banner {
  margin: -20px 0; padding: 0 0; background: transparent;
}
.flex-box {
  display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; flex-flow: row wrap;
  justify-content: center;
}
.flex-content {
  display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;
  justify-content: space-between; align-content: space-between;
  flex-flow: row wrap;
  align-items: baseline;
}
.inner.flex-banner {
  padding: 0; margin: 0;
}
.banner-container {
  display: flex;
}
.search-form-widget {
  max-width: 200px; margin: 0; position: absolute; top: 0; right: 0;
}

/* ********************************* */
/*        Form Element Tweaks        */
/* ********************************* */
div.form-item {
  max-width: 100%; margin: 0 auto 10px; padding: 0;
}
.form-item input.form-text,
.form-item input.search-text,
.form-item input.wpcf7-text,
.form-item input.wpcf7-email,
.form-item select.wpcf7-select,
.form-item textarea.wpcf7-textarea {
  color: #7a7a7a; /* TEXT - Starting Color */
  background: #ececec; /* INPUT - Starting Background Color */
  border: 2px solid #ececec; /* BORDERS - Starts the same as the background */
  border-radius: 0; font-family: "Oswald"; font-size: 12pt; line-height: 1.3em; width:calc(100% - 21px); padding: 8px 8px 6px 8px; resize:none;
}

.form-item input[name="sendername"],
.form-item input[name="email"],
.form-item input[name="phone"],
.form-item input[name="company"],
.form-item input[name="message"],
.form-item input[name="search"],
.form-item textarea[name="message"] { padding: 8px 8px 6px 32px; width:calc(100% - 45px);}

.form-item input.form-submit,
.form-item input.wpcf7-submit {
  color: white;
  background-color: #328cd8;
  border: 2px solid #328cd8;
  display: block; padding: 10px 24px 8px 24px; text-transform: uppercase; font-size:1.1em; -webkit-transition-duration: 0.4s; transition-duration: 0.4s;
}

.form-item input.form-submit:hover,
.form-item input.wpcf7-submit:hover {
  color: #328cd8;
  background-color: white;
  border-color: #328cd8;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); transition: background-color 0.3s;  transition: color 0.3s; transition: border-color 0.3s;
}

.form-item input.form-text:focus,
.form-item input.search-text:focus,
.form-item input.wpcf7-text:focus,
.form-item input.wpcf7-email:focus,
.form-item select.wpcf7-select:focus,
.form-item textarea.wpcf7-textarea:focus {
  border-color: #df3e3e; /* BORDERS - highlight color when item has focus.= */
  transition: border-color 0.3s;
  outline-color: transparent; /* this gets rid of google chroms blue outline color when the item has focus. */
}

.form-item .wpcf7-form-control-wrap {display:block;}

.form-item.searchpage {position:relative;} /* this is for the 404 error page */

.form-item.searchpage:before, /* this is for the 404 error page */
.wpcf7-form-control-wrap:before  {
  font-family: "BlueFireMedia";
  color: #7a7a7a; /* ICONS - Starting Color */
  display: block; position: absolute; top: 8px; left: 9px; font-size: 20px; line-height: 20px; text-align: center; width: 20px; opacity: 1;  pointer-events: none;
}

.wpcf7-form-control-wrap.sendername:before {content: "\e9c7";} /* Person Icon */
.wpcf7-form-control-wrap.email:before {content: "\e9c8";} /* Envelope Icon */
.wpcf7-form-control-wrap.phone:before {content: "\e9c9";} /* Phone Icon */
.wpcf7-form-control-wrap.company:before {content: "\e9cb";} /* House Icon */
.wpcf7-form-control-wrap.message:before {content: "\e9ca";} /* Pencil Icon */
.form-item.searchpage:before {content: "\e9cc";} /* Magnifying Glass Icon */

.form-item.searchpage.hasfocus:before, /* this is for the 404 error page */
.wpcf7-form-control-wrap.hasfocus:before {
  color:#df3e3e; /* ICONS - Focus Color */
  transition: color 0.3s;
}

/* Form Required Fields */
form .form-item {position: relative;}
form .form-item.required:before {content: "*"; color: #404040; font-size: 20px; font-weight: bold; font-family:"Arial"; display: block; width: 20px; height: 20px; position: absolute; right: 0; top: 50%; transform: translateY(-27%);z-index:2000;}
form .form-item.radiotype.required:before {right: -3px;}
form .form-item.select.required:before {top: unset; bottom: 5px; right: 10px; transform: none;}

/* Form Messages & Error Messages  */
form .wpcf7-response-output.wpcf7-mail-sent-ok,
form .wpcf7-response-output.wpcf7-validation-errors {
  border-radius: 0; font-family: arial; font-size: 12pt; line-height: 1.3em; padding: 8px 8px 6px 32px; width:calc(100% - 45px);  margin:0;
}

form .wpcf7-response-output.wpcf7-mail-sent-ok { color: white; background: green; border: 2px solid green;}
form .wpcf7-response-output.wpcf7-validation-errors { color: white; background: red; border: 2px solid red;}

form .wpcf7-response-output.wpcf7-mail-sent-ok:before,
form .wpcf7-response-output.wpcf7-validation-errors:before {display: inline-block;margin-left:-20px;margin-right:8px; width:20px;height:20px; font-family: "BlueFireMedia"; font-size: 20px;}

form .wpcf7-response-output.wpcf7-mail-sent-ok:before {vertical-align: top; content: "\e9c8";} /* Envelope Icon */
form .wpcf7-response-output.wpcf7-validation-errors:before {content: "\ea07";} /* !  Icon */

form .wpcf7-not-valid-tip {
  color: white;
  background: red;
  border: 2px solid red;
  border-radius: 3px; font-family: arial; font-size: .8em; line-height: 1em; padding: 2px 2px 0px 2px; display:inline; position:relative; top:5px; left:8px;
}

/* ********************************* */



a.more-link {
  display: inline-block; border: none; background-color: pink; color: black; padding: 10px 24px;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  text-transform: uppercase;
}
a.more-link:hover {
  background-color: black; color: white;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

p.login-error {
  background-color: rgba(255,0,0,0.3); border: 1px solid rgb(255,0,0); padding: 10px 20px; border-radius: 5px; color: #000; text-align: center;
}

@media only screen and (min-width:480px) {
}

@media only screen and (min-width:768px) {
  img.alignright {
    float: right; margin: 0 0 0.9em 0.9em;
  }
  img.alignleft {
    float: left; margin: 0 0.9em 0.9em 0;
  }
}

@media only screen and (min-width:980px) {
  div.form-item {
    max-width: 100%; margin: 0 0 10px 0;
  }
}

@media only screen and (min-width:1024px) {
}

@media only screen and (min-width:1200px) {
/* html elements */
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 16px;
  }
}

@media only screen and (min-width:1400px) {
  .inner {
    width: calc(1400px - 4%) ;  margin: 0 auto; padding: 0 2%;
  }
  #header3.outer {
    padding: 0; width: 100%;
  }
  #header3 .inner {
    max-width: 100%;
  }
  .inner.flex-banner {
    padding: 0; margin: 0;
  }
/*  #footer2 .widget, #footer4 .widget, #footer5 .widget {
    width: calc(100% - 50px);
  }*/
}
