/* Variables*/
$primary-color: #0070d6;
$primary-color-light: #2196f3;
$alternate-color: #58C9B9;
$accent-color-light: #f48eb1;

$text-white: #fff;

$header-navbar-color: $text-white;

$header-navbar-height: 4.571em;

$loading-spinner: "/img/loading_spinner.gif";
$footer-bg-image: "/img/footer.jpg";
/* End of variables*/

/* General*/
.margin-top-0-5 {
  margin-top: 0.5em;
}

.margin-top-1 {
  margin-top: 1em;
}

.margin-bottom-1 {
  margin-bottom: 1em;
}

.margin-0-5 {
  margin: 0.5em;
}

.padding-1 {
  padding: 1em;
}

.clear {
  clear: both;
}

.section-title-line {
  display: table;
  height: 2px;
  width: 54px;
  background-color: $primary-color-light;
  margin: 0 auto;
  margin-bottom: 15px;
}

.section-title-line-inverse {
  display: table;
  height: 2px;
  width: 54px;
  background-color: #fff;
  margin: 0 auto;
  margin-bottom: 15px;
}

/* Colors */
.border-bottom-accent-light {
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-bottom-color: $accent-color-light;
}

/* Shadow */
.modal-backdrop {
  position: fixed;
  bottom: 0;
}

.shadow-bottom-light {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
  border-color: #fff !important;
}

.section-shadow {
  box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.33), 0 -1px 8px 0 rgba(0, 0, 0, 0.33);
  z-index: 15;
}

.section-shadow-top {
  box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.33), 0 -1px 8px 0 rgba(0, 0, 0, 0.33);
  z-index: 20;
}

article a {
  color: $primary-color-light;
  &:hover, &:focus {
    color: $primary-color;
  }
}

.has-error .input-group-addon {
  color: inherit;
  border-color: transparent;
  background-color: inherit;
}

.banner-overlay-shade-top {
  background-image: linear-gradient(180deg, hsla(0, 0%, 5%, .2) 0, hsla(0, 0%, 5%, 0));
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#990c0c0c', endColorstr='#000c0c0c', GradientType=0);
}

.banner-overlay-shade-bottom {
  background-image: linear-gradient(180deg, hsla(0, 0%, 5%, 0) 0, hsla(0, 0%, 5%, .1));
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000c0c0c', endColorstr='#990c0c0c', GradientType=0);
}

/* Navbar */
#header.header-navbar {
  &.opaque {
    background: $primary-color;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.33);
    border-color: $primary-color;
  }
  box-shadow: none;
  border: 0;
  transition: all 0.5s;

  background: rgba(0, 0, 0, 0.3);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(231, 56, 39, 0) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.5)), color-stop(65%, rgba(0, 0, 0, 0.2)), color-stop(100%, rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(231, 56, 39, 0) 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#e73827', GradientType=0);

  color: $header-navbar-color;
  ul .menu-item {
    padding: 0;
    a.menu-link {
      position: relative;
      min-height: 100%;
      padding: 12px;
      line-height: 40px;
      border-left: 1px solid transparent;
      border-right: 1px solid transparent;
      &:hover, &:focus {
        text-decoration: none;
        background-color: rgba(12, 12, 12, 0.07);
      }
    }
  }
}

@media screen and (min-width: 1460px) {
  #header.header-navbar {
    font-size: 18px;
  }
}

.header-nav .open > a, .header-nav .open > a:focus, .header-nav .open > a:hover {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.2);
}

#header li.dropdown:hover ul.dropdown-menu {
  display: block;
}

/* Image */
.img-7 {
  width: 7em;
  height: 7em;
}

.img-icon {
  height: 5.692em;
  width: 5.692em;
}

.img-avatar {
  cursor: pointer;
}

.loading-spinner {
  background: url($loading-spinner);
  z-index: 900;
  background-position: center;
  background-repeat: no-repeat;
}

.slick-carousel {
  display: none;
}

.slick-carousel.slick-initialized {
  display: block;
}

/* Card */
.card .card-content {
  padding: 2em 1em;
}

a.card-link {
  text-decoration: none;
}

.card.style-alternate, .card .style-alternate, section.style-alternate, section .style-alternate {
  background-color: $alternate-color;
  border-color: $alternate-color;
  color: #fff;
  .btn {
    background: $accent-color-light;
    &:hover {
      color: $text-white;
      background: darken($accent-color-light, 0.1);
    }
  }
}

.card.style-alternate:hover {
  background-color: rgba(#0193ab, 0.7);
}

/* Footer */
#main-footer {
  margin-top: 20px;
  .wrap {
    background-size: contain;
    background: url('/img/footer.png?ver=2') repeat-x bottom;
    background-size: contain;
    padding-bottom: 40px;
    .container {
      background: rgba(255, 255, 255, 0.4);
      padding: 19px;
    }
  }
  ul {
    padding: 0;
    list-style: none;
    li {
      margin: 0;
    }
  }
  .email-container {
    padding-top: 55px;
  }
  .privacy {
    margin: 0;
    background: #333;
    color: white;
    padding: 5px 0;
    p {
      margin: 0;
    }
  }
}

/* Z-index */
.nano-pane {
  z-index: 15;
}

.modal-dialog {
  z-index: 20;
}

.md-2x {
  font-size: 2em !important;
}

/*Form*/
.form-lg {
  .input-group-addon, .form-control {
    font-size: 150%;
  }
}

img.img-responsive {
  max-width: 100%;
  margin: 0 auto;
}

/* For equal height rows*/
@media only screen and (min-width: 768px) {
  .is-table-row {
    display: table;
  }
  .is-table-row [class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: top;
  }
}

@media only screen and (max-width: 768px) {
  .header-fixed #header:before {
    box-shadow: none;
  }
}

/* Cart */
.awt-cart {
  position: fixed;
  z-index: 100;
  top: 90px;
  right: 40px;
  list-style: none;
  padding: 0 5px;
}

.awt-cart .dropdown-menu {
  left: auto;
  right: 0;
  top: 0;
  width: 28em;
}

.btn-cart > .badge {
  position: absolute;
  font-size: 10px;
  top: 10px;
  right: 10px;
}

/* Navbar */
@media (max-width: 768px) {
  .header-fixed #header {
    position: fixed;
  }
  .headerbar-left {
    background: transparent;
    border: 0;
  }
}

#home-slider {
  z-index: 10;
  button:hover, button:focus {
    color: #fff;
  }
  .slick-carousel-item {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
  }
  .overlay {
    bottom: 0;
    position: relative;
    height: 100%;
    padding: 150px 40px;
    p {
      max-width: 480px;
    }
  }
}

.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  margin-top: -10px;
}

.slick-next {
  right: 25px;
}

.slick-prev {
  left: 25px;
}

/* Customer Panel */

#customer-panel-app {
  margin-top: 50px;
}

.sub-card > .card-body, .sub-card.tabs-left .nav-tabs {
  min-height: 42.846em;
}

.sub-card {
  margin: 0;
  background: #f2f2f3;
}

.sub-card .text-caption {
  margin: 0;
}

.sub-card > .card-body {
  background: white;
}

.no-border {
  border: 0 !important;
}

.no-shadow {
  box-shadow: 0;
}

/* ribbon css */
.ribbon {
  position: absolute;
  left: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#E91E63 0%, #FF2E9D 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px;
  left: -21px;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #FF2E9D;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #FF2E9D;
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #FF2E9D;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #FF2E9D;
}

.btn-custom-price {
  transition: all 0.5s;
  box-shadow: -3px 3px 5px 0px rgba(22, 83, 135, 0.34);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  z-index: 2;
  margin-top: 70px;
}

.btn-custom-price.static {
  position: absolute;
  right: -15px;
}

.btn-custom-price:after {
  content: '';
  height: 0px;
  width: 0px;
  position: absolute;
  background: transparent;
  border-bottom: 10px solid #21496D;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  transform: rotate(-45deg);
  right: -0px;
  bottom: -8px;
}

.card-body.tab-content {
  overflow: hidden;
}

.btn-tile {
  width: 100px;
  height: 100px;
  margin: 5px;
}

.modal-backdrop {
  z-index: 20;
}

.client-section{
  img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    &:hover {
      filter: grayscale(0%);
      -webkit-filter: grayscale(0%);
      -o-filter: grayscale(0%);
    }
  }
}

body {
  background: #f2f7fc;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#background-wrap {
  bottom: 0;
  left: 0;
  //padding-top: 64px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -110;
}

/* KEYFRAMES */

@-webkit-keyframes animateCloud {
  0% {
    margin-left: -1000px;
  }
  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
    margin-left: -1000px;
  }
  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
    margin-left: -1000px;
  }
  100% {
    margin-left: 100%;
  }
}

/* ANIMATIONS */

.x1 {
  -webkit-animation: animateCloud 35s linear infinite;
  -moz-animation: animateCloud 35s linear infinite;
  animation: animateCloud 35s linear infinite;

  -webkit-transform: scale(0.65);
  -moz-transform: scale(0.65);
  transform: scale(0.65);
}

.x2 {
  -webkit-animation: animateCloud 20s linear infinite;
  -moz-animation: animateCloud 20s linear infinite;
  animation: animateCloud 20s linear infinite;

  -webkit-transform: scale(0.3);
  -moz-transform: scale(0.3);
  transform: scale(0.3);
}

.x3 {
  -webkit-animation: animateCloud 30s linear infinite;
  -moz-animation: animateCloud 30s linear infinite;
  animation: animateCloud 30s linear infinite;

  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  transform: scale(0.5);
}

.x4 {
  -webkit-animation: animateCloud 18s linear infinite;
  -moz-animation: animateCloud 18s linear infinite;
  animation: animateCloud 18s linear infinite;

  -webkit-transform: scale(0.4);
  -moz-transform: scale(0.4);
  transform: scale(0.4);
}

.x5 {
  -webkit-animation: animateCloud 25s linear infinite;
  -moz-animation: animateCloud 25s linear infinite;
  animation: animateCloud 25s linear infinite;

  -webkit-transform: scale(0.55);
  -moz-transform: scale(0.55);
  transform: scale(0.55);
}

/* OBJECTS */

.cloud {
  background: #fff;
  background: -moz-linear-gradient(top,  #fff 5%, #f1f1f1 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#fff), color-stop(100%,#f1f1f1));
  background: -webkit-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
  background: -o-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
  background: -ms-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
  background: linear-gradient(top,  #fff 5%,#f1f1f1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f1f1f1',GradientType=0 );

  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;

  -webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);

  height: 120px;
  position: relative;
  width: 350px;
}

.cloud:after, .cloud:before {
  background: #fff;
  content: '';
  position: absolute;
  z-indeX: -1;
}

.cloud:after {
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;

  height: 100px;
  left: 50px;
  top: -50px;
  width: 100px;
}

.cloud:before {
  -webkit-border-radius: 200px;
  -moz-border-radius: 200px;
  border-radius: 200px;

  width: 180px;
  height: 180px;
  right: 50px;
  top: -90px;
}

#content {
  padding-top: 0;
}