/* 
	Theme name: EMI Style
	Theme URI: http://www.unikueimagery.com
	Author: Shawn Jefferson (I-Peace Unikue)
	Description: Custom design theme 
*/
a, button, .btn {
  transition: all ease-in-out 0.3s;
}

#social {
  padding: 2em;
}
#social a {
  color: white;
}
#social a:hover {
  color: #ea4824;
}
@media (max-width: 575.98px) {
  #social {
    padding: 0.25em;
  }
}

.fa-brands {
  font-size: 1.75em;
}

body {
  text-align: center;
  margin: 90px 0;
  font-family: "Lato", Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  background: #dddddd url(../images/fabric_plaid.png) repeat top left;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-align: center !important;
}

button {
  border: 1px solid white;
  color: white;
  background-color: #ea4824;
  box-shadow: 2px 2px 15px black;
  width: 200px;
  height: 45px;
  border-radius: 8px !important;
}
button:hover {
  color: #ea4824;
  background-color: #2f2f2f !important;
  font-weight: bold;
}

#main {
  margin-top: 90px;
}

#wrapper {
  display: block;
  border: 1px #a2a2a2 solid;
  width: 90%;
  margin: 0px auto;
}

/*-----------   RESPONSIVE  NAVBAR   --------*/
.menu {
  max-width: fit-content;
  margin: 1em auto;
}

.nav-link {
  color: white !important;
}

.nav-link:hover {
  color: #ea4824 !important;
}

@media (max-width: 1199.98px) {
  .navbar.navbar-expand-lg {
    background: black;
    margin-top: 0em;
  }
  .navbar-toggler {
    min-width: 100%;
    background: white !important;
    margin: auto;
  }
  div#top-banner {
    background: black !important;
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
  div#top-banner .menu {
    margin: 1em auto;
  }
  #services div.serv_block, #clients div.serv_block {
    min-height: 150px;
    margin-top: 1em;
  }
}
@media (max-width: 575.98px) {
  #main {
    margin-top: 320px;
  }
  #logo, #social, #menu {
    position: relative !important;
    flex: 100%;
    background: black;
  }
  div#top-banner {
    height: 120px !important;
  }
  .dots {
    margin-top: -3em;
    position: relative;
  }
  .menu {
    max-width: 100%;
    width: 100%;
    margin: 0 auto !important;
  }
}
#header {
  height: 100px;
  background: rgba(0, 0, 0, 0.5);
}

#content {
  width: 100%;
  float: left;
}

#sidebar {
  width: 23%;
  border: 2px #a2a2a2 solid;
  float: right;
}

#delimiter {
  clear: both;
}

#footer {
  border-top: 2px #a2a2a2 solid;
  background: black;
  color: white;
}

.title {
  font-size: 11pt;
  font-family: verdana;
  font-weight: bold;
}

h1, h2, h3 {
  font-family: "Arvo", serif;
  flex: 100%;
}

h2 {
  font-size: 1.4em !important;
  margin: 0.83em 0;
}

a {
  color: #777;
  text-decoration: none;
}

a:hover {
  color: #ea4724;
}

.anchor {
  display: block;
  height: 90px; /*same height as header*/
  margin-top: -90px; /*same height as header*/
  visibility: hidden;
}

#fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.7;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

/****** Main Menu *****/
#logo {
  position: absolute;
}

#social {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.75%;
}

div#top-banner {
  height: 90px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  top: 0;
  position: absolute;
  width: 100%;
  border-top: solid 2px #ea4724;
  transition: all ease-in-out 0.3s;
}

div#top-banner.sticky {
  position: fixed;
  background: black;
}

ul#main_menu {
  margin: auto;
  padding: 2%;
  max-width: 900px;
}

#main_menu li {
  list-style: none;
  display: inline;
  padding: 0 3%;
}

#main_menu li a:link, #main_menu li a:visited {
  color: white;
  text-decoration: none;
}

#main_menu li a:hover {
  text-decoration: underline;
}

/****** about *****/
div#about {
  background: url(../images/serv_bg.jpg) no-repeat fixed;
  background-size: cover;
  box-shadow: inset black000 5px 5px 200px 10px;
  padding: 5%;
  border-top: solid 2px #ea4724;
}

div#about p {
  font-size: 30px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

div#about_inner {
  background: rgba(0, 0, 0, 0.75);
  border: white 1px solid;
  max-width: 800px;
  padding: 2% 5%;
  justify-content: center;
}

div.div_inner {
  max-width: 1300px;
  margin: auto;
  color: white;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding: 5% 0;
}

/******** services ******/
div#services {
  background: #ea4724;
  padding: 5% 0 1%;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.3);
}

div.serv_block {
  float: left;
  min-height: 285px;
  width: 28%;
  padding: 25px;
  vertical-align: middle;
}

#services div.serv_block, #clients div.serv_block {
  width: 23%;
  padding: 1%;
  text-align: center;
  min-width: 200px;
}

#serv_inner div.serv_block {
  flex: 24%;
}

#how_inner div.serv_block {
  flex: 32%;
}

#clients div.serv_block img {
  max-width: 200px;
  padding: 8%;
}

div#services div.div_inner {
  padding: 0;
}

div#how {
  border-top: solid 2px #ea4724;
}

/****** clients  ******/
div#clients .div_inner, div#how .div_inner {
  color: #616161;
}

/****** contact footer ****/
div#contact {
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  border-top: solid 2px #ea4724;
  bottom: 0;
}

#contact_inner {
  padding: 1% 0;
  color: #777;
  display: block;
}

/****** pop-up contact  *******/
.af-wrapper {
  width: 80%;
  max-width: 700px;
  min-width: 280px;
  margin: 0 auto 30px auto;
  background: white;
  position: fixed;
  padding: 20px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: none;
  z-index: 3000;
  top: 20%;
  left: 25%;
}
.af-wrapper a {
  color: #ea4824;
  text-decoration: none;
}
.af-wrapper a:hover {
  text-decoration: underline;
}

.af-form {
  text-align: right;
  margin-right: 15%;
}

.af-inner {
  padding: 15px 20px 15px 20px;
}

label, input, textarea {
  margin-right: 5%;
}

input[type=text], input[type=email], textarea, input[type=date] {
  border: 1px solid #dddddd;
  padding: 10px;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
  color: #666;
  width: 64%;
  background: whitefff;
  background: -moz-linear-gradient(top, whitefff 0%, #f7f7f7 7%, #f7f7f7 22%, whitefff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, whitefff), color-stop(7%, #f7f7f7), color-stop(22%, #f7f7f7), color-stop(100%, whitefff));
  background: -webkit-linear-gradient(top, whitefff 0%, #f7f7f7 7%, #f7f7f7 22%, whitefff 100%);
  background: -o-linear-gradient(top, whitefff 0%, #f7f7f7 7%, #f7f7f7 22%, whitefff 100%);
  background: -ms-linear-gradient(top, whitefff 0%, #f7f7f7 7%, #f7f7f7 22%, whitefff 100%);
  background: linear-gradient(top, whitefff 0%, #f7f7f7 7%, #f7f7f7 22%, whitefff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="whitefff", endColorstr="whitefff",GradientType=0 );
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.1) inset;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/*animation element*/
.animation-element {
  opacity: 0;
  position: relative;
}

/*animation element sliding left*/
.animation-element.slide-left {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(-100px, 0px, 0px);
}

.animation-element.slide-left.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

/*animation slide left styled for testimonials


.animation-element.slide-left.testimonial:hover,
.animation-element.slide-left.testimonial:active{
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
}
*/
.animation-element.slide-left.testimonial .header {
  float: left;
  width: 100%;
  margin-bottom: 10px;
}

.animation-element.slide-left.testimonial .left {
  float: left;
  margin-right: 15px;
}

.animation-element.slide-left.testimonial .right {
  float: left;
}

.animation-element.slide-left.testimonial img {
  /* width: 65px; */
  /* height: 65px; */
  border-radius: 50%;
  box-shadow: 0px 1px 3px rgba(51, 51, 51, 0.5);
}

.animation-element.slide-left.testimonial h3 {
  margin: 0px 0px 5px 0px;
}

.animation-element.slide-left.testimonial h4 {
  margin: 0px 0px 5px 0px;
}

.animation-element.slide-left.testimonial .content {
  float: left;
  width: 100%;
  margin-bottom: 10px;
}

.animation-element.slide-left.testimonial i {
  color: #aaa;
  margin-right: 5px;
}

/*media queries for small devices*/
@media screen and (max-width: 678px) {
  /*testimonials*/
  .animation-element.slide-left.testimonial,
  .animation-element.slide-left.testimonial:nth-of-type(odd),
  .animation-element.slide-left.testimonial:nth-of-type(even) {
    width: 100%;
    margin: 0px 0px 20px 0px;
  }
  .animation-element.slide-left.testimonial .right,
  .animation-element.slide-left.testimonial .left,
  .animation-element.slide-left.testimonial .content,
  .animation-element.slide-left.testimonial .rating {
    text-align: center;
    float: none;
  }
  .animation-element.slide-left.testimonial img {
    width: 85px;
    height: 85px;
    margin-bottom: 5px;
  }
  div.serv_block, #services div.serv_block, #clients div.serv_block {
    width: 100%;
    flex: 100% !important;
  }
}
@media screen and (max-width: 950px) {
  ul#main_menu {
    margin: 88px 0;
    padding: 2% 0;
    background: black;
    max-width: 100%;
  }
  div#about p {
    font-size: 20px;
  }
}
.fade:not(.show) {
  opacity: 1 !important;
}

#contact a {
  color: #ea4824;
  text-decoration: none;
}
#contact a:hover {
  color: white;
}
