/*   
  Theme Name:        DesignStudio Elementor
  Theme URI:         https://elementor.com
  Description:       A sample theme for Elementor.
  Author:            Elementor Team
  Author URI:        https://elementor.com
  Version:           1.0
  Stable tag:        1.0
  Requires at least: 4.9
  Tested up to:      4.9
  License:           GNU General Public License v3 or later.
  License URI:       https://www.gnu.org/licenses/gpl-3.0.html
  Text Domain:       ds-elementor
*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

pre {
  font-family: monospace, monospace;
  font-size: 1em
}

a {
  background-color: transparent
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b, strong {
  font-weight: bolder
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em
}

small {
  font-size: 80%
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button, input {
  overflow: visible
}

button, select {
  text-transform: none
}

[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
  border-style: none;
  padding: 0
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
  outline: 1px dotted ButtonText
}

fieldset {
  padding: .35em .75em .625em
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details {
  display: block
}

summary {
  display: list-item
}

template {
  display: none
}

[hidden] {
  display: none
}

/* =========================================================================
    
Global
    
========================================================================== */
body, html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Lato", sans-serif !important;
}

p, li, span, a {
  font-family: 'Lato', sans-serif !important;
}

p, li {
  font-size: 17px;
}

.btn-main, input#gform_submit_button_2 {
  font-weight: bold;
  background-color: #f58049;
  font-size: 15px !important;
  padding: 12px 34px !important;
  border-radius: 3px;
  color: #ffffff;
  border: none;
  line-height: 15px;
  font-family: 'Lato', sans-serif;
}

a.btn-main:hover, input#gform_submit_button_2:hover {
  background-color: #004c70;
  transition: .5s ease;
  padding: 15px 50px !important;
}

.btn-main:hover {
  color: #ffffff;
}

/* =========================================================================
    
Header
    
========================================================================== */
.header {
  width: 100% !important;
  position: absolute !important;
  top: 0;
  background: transparent;
  z-index: 9999;
  padding: 20px 0
}

.header.hide {
  display: none;
}

.free-consult-header {
  display: flex !important;
}

.dark-logo .elementor-item {
  color: #333333 !important;
}

@media (max-width:1024px) and (min-width:768px) {
  .elementor-13197 .elementor-element.elementor-element-2ef3fe98 {
    width: 50% !important;
  }

}

@media (max-width:1200px) {
  .elementor-13197 .elementor-element.elementor-element-3a230e17 .elementor-nav-menu--main .elementor-item {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

}

@media (max-width:1024px) {
  .free-consult-header {
    display: none !important;
  }

}

/* =========================================================================
    
Aspot
    
========================================================================== */
.aspot-logos {
  background-color: #004c70;
  padding: 90px 0;
}

.slant-hero svg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 9999999;
}

.home-video .video-row {
  min-height: 100vh;
  align-items: flex-end;
}

.home-video .elementor-background-overlay {
  background-color: transparent;
  background-image: linear-gradient(230deg, #52b3db 30%, #005789 52%);
  opacity: 0.7;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

@media (max-width:1024px) {
  .aspot-logos {
    margin-top: -1px;
  }
}

@media (max-width:767px) {
  .home-video .video-row {
    min-height: 800px;
  }

  .aspot-logos {
    padding: 50px 0;
  }

  .aspot-logos img {
    width: 150px;
  }

  .hero-images img {
    height: 300px;
  }

}

/* =========================================================================
    
Success Stories
    
========================================================================== */
.success-copy {
  margin-bottom: 0 !important;
}

@media (max-width:768px) {
  .success-stories {
    background-image: url(../../uploads/success-bg-mobile.jpg) !important;
    background-size: cover;
    background-repeat: no-repeat;
  }

}

/* =========================================================================
    
Home Clouds

========================================================================== */
#viewport {
  bottom: 0;
  left: 0;
  overflow: hidden;
  perspective: 400;
  position: absolute;
  right: 0;
  top: 0;
}

#world {
  height: 512px;
  left: 50%;
  margin-left: -256px;
  margin-top: -256px;
  position: absolute;
  top: 50%;
  transform-style: preserve-3d;
  width: 512px;
}

.cloudBase {
  height: 20px;
  left: 256px;
  margin-left: -10px;
  margin-top: -10px;
  position: absolute;
  top: 256px;
  width: 20px;
}

.cloudLayer {
  height: 256px;
  left: 50%;
  margin-left: -128px;
  margin-top: -128px;
  position: absolute;
  top: 50%;
  width: 256px;
}

/* =========================================================================
  
Digital Marketing

========================================================================== */
.digital-for-good {
  background: url(../../uploads/for-good-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
}

.slant-image {
  position: absolute;
  left: -1px;
  bottom: 0;
  width: 100%;
  background: url(../../uploads/emergent-for-good-bg-shape-2.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 720px;
}

.slant-copy {
  position: absolute;
  bottom: 170px;
  max-width: 500px;
  margin: 0 auto;
  left: 70px;
  color: #ffffff;
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width:1024px) {
  .digital-for-good {
    height: 830px;
  }

  .slant-image {
    height: 570px;
    left: -1px;
  }

  .slant-copy {
    bottom: 50px;
  }

}

@media (max-width:767px) {
  .slant-copy {
    left: 20px;
    bottom: 60px;
  }

}

@media (max-width:414px) {
  .slant-image {
    height: 580px;
  }

  .slant-copy {
    max-width: 340px;
  }

}

/* =========================================================================
  
We are Emergent

========================================================================== */
@media (max-width:767px) {
  .we-are-emergent {
    background-image: url(../../uploads/mobile-sky-bg.jpg) !important;
    height: 600px !important;
  }

  .we-are-emergent .fp-tableCell {
    height: 600px !important;
  }

}


/* =========================================================================
  
Blog

========================================================================== */

@media (min-width: 768px) {
.home-posts article {
    box-shadow: 0px 1px 9px -1px rgba(0, 0, 0, .3);
  }
}

.home-posts .elementor-post__text {
  padding: 0 30px 20px 30px;
}

/* =========================================================================
  
Footer

========================================================================== */
.home-footer {
  background-color: #37393c;
  bottom: 0;
  width: 100%;
  color: #ffffff;
  z-index: 999;
}

.footer-right a {
  padding: 10px;
}

.home-footer p {
  margin-bottom: 0;
}

.footer-middle a {
  color: #ffffff;
}

.google-partner:hover {
  background-color: #ffffff;
}

.partner-block h5 {
  background: #52b3db;
  color: #ffffff;
  padding: 10px;
  text-align: center;
}

.partner-block img {
  padding: 20px;
}

.partner-block {
  background-color: #ffffff;
  position: absolute;
  bottom: 5%;
  right: 10%;
  height: 250px;
}

.partner-block.interior {
  bottom: 60px;
}

.footer-left img {
  margin-left: 5px;
  margin-top: -2px;
}

@media (max-width:767px) {
  .footer-middle {
    text-align: center;
  }

}

@media (max-width:1365px) {
  .home-bottom .home-footer {
    margin-top: 50px;
  }

}

@media (max-width:1199px) {
  .home-footer {
    padding-top: 20px;
  }

}

@media (min-height: 967px) {
  .home-bottom .home-footer {
      position: absolute;
  }
}

/* =========================================================================
  
Contact

========================================================================== */
input#gform_submit_button_2:hover {
  cursor: pointer;
}

#gform_wrapper_2, li#field_2_1 {
  margin-top: 0
}

.consult-copy {
  background-color: #004c70;
  padding: 40px 100px 40px 100px !important;
  color: #ffffff;
  height: 100%;
}

.consult-form {
  padding: 40px 50px 40px 50px !important;
  background-color: #ffffff;
}

.consult-copy a {
  color: #1fff34;
  font-weight: bold;
}

.consult-copy a:hover {
  color: #1fff34;
}

.consult-form input {
  border-radius: 1px;
}

.consult-copy li {
  padding-bottom: 10px;
}

.free-consult {
  background: url(../../uploads/contact-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.background-overlay {
  background-color: transparent;
  background-image: linear-gradient(280deg, #8dc642 20%, #2993c7 62%);
  opacity: 0.71;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

@media (min-width:1366px) {
  .free-consult {
    height: 100vh;
  }

}

@media (max-width:992px) {
  .consult-copy {
    padding: 40px 40px 40px 40px !important;
  }

  .consult-inner {
    padding-bottom: 100px;
  }

}

@media (max-width:1365px) {
  .free-consult {
    padding-top: 50px;
  }

  .consult-inner {
    padding-bottom: 0px;
  }

}

/* =========================================================================
  
Interior Pages

========================================================================== */
.interior-hero svg {
  position: absolute;
  bottom: 0;
}

.interior-title {
  position: relative;
}

.interior-title  h2, .interior-title  h3 {
  background-color: #004c70;
  color: #ffffff;
  padding: 15px 0 15px 0;
}

.interior-title h2:hover, .interior-title h3:hover {
  cursor: pointer;
}

.interior-title svg {
  position: absolute;
}

.interior-title svg path {
  fill: #004c70;
}

.interior-container {
  background-color: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .2);
}

.main-accordion .interior-container {
  background-color: transparent;
  box-shadow: none;
}

.interior-copy {
  padding: 40px 100px 40px 100px;
}

@media (max-width: 768px) {
  .interior-title h3 {
    text-align: left;
    padding-left: 10px;
    font-size: 1.15rem;
  }
}

@media (max-width: 320px) {
  .interior-title h3 {
    font-size: 1rem;
  }
}

.interior-title h3:before {
  float: right !important;
  content: "-";
  padding-right: 10px;
}

.interior-title .btn-link.collapsed > h3:before {
  float: right !important;
  content: "+";
  padding-right: 10px;
}

@media (max-width:768px) {
  .interior-copy {
    padding: 40px 20px 40px 20px;
  }

}

/* =========================================================================
  
Our Services

========================================================================== */
.service-card {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .2);
}

.service-card .title {
  background-color: #004c70;
  color: #ffffff;
  padding: 25px;
}

.service-card .copy {
  background-color: #ffffff;
  padding: 25px 25px 15px 25px;
}

@media (min-width:1024px) {
  .service-card .copy {
    height: 310px;
  }
}

@media (max-width: 1023px) {
  .service-card img {
    width: 70px;
  } 
}

@media (min-width:1366px) {
  .service-card .button img {
    margin-top: -10px;
  }

}

/* =========================================================================
  
Single Blog

========================================================================== */
.main-post .container {
  padding: 50px 0;
}

/* =========================================================================
  
Blog
========================================================================== */
.alm-reveal {
  display: flex;
  flex-wrap: wrap;
}

.blog-item {
  margin-bottom: 30px;
}

.blog-item a {
  color: #333333;
}

.blog-copy {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .2);
  padding: 20px;
}

.blog-item .author img {
  height: 20px;
  margin-right: 10px;
}

.form-wrapper input {
  border: 2px solid #e4e4e4;
}

.form-wrapper button {
  font-weight: bold;
  background-color: #f58049;
  font-size: 15px !important;
  padding: 8px 15px !important;
  border-radius: 3px;
  color: #ffffff;
  border: none;
  line-height: 15px;
  font-family: 'Lato', sans-serif;
}

.form-wrapper button:hover {
  cursor: pointer;
  background-color: #004c70;
}

@media (min-width:414px) {
  .form-wrapper input {
    width: 300px;
  }

}




/*archive styles*/
.archive-grid {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(3,calc(33.33333% - .66em));
}
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 100%;
  height: auto;
}
/*archive styles*/


/*
.single .hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
}
*/


header.page-header {
    margin-top: 1em;
    margin-bottom: 2em;
}


@media(max-width: 767px){
  .archive-grid {
      grid-template-columns: repeat(1,calc(100%));
  }
}