/* --------------------------------

Responsive

-------------------------------- */
@media only screen and (min-width: 1170px) {
  .has-top-margin {
    -webkit-animation: animate-margin-top 0.3s;
    -moz-animation: animate-margin-top 0.3s;
    animation: animate-margin-top 0.3s;
    margin-top: 70px;
  }
  #logo.is-hidden{
    opacity: 0;
    -moz-transition: all 0.50s linear 0.25s;
    -webkit-transition: all 0.50s linear 0.25s;
    -o-transition: all 0.50s linear 0.25s;
    transition: all 0.50s linear 0.25s;
  }
  #logo.is-hidden.slide-in {
    /* slide in when the secondary navigation gets fixed */
    opacity: 1;
  }
  #logo-icon.is-hidden {
    /* assign a position fixed and move outside the viewport (on the left) */
    opacity: 0;
    position: fixed;
    left: -20%;
    margin-left: 0;
    width: 90px;
    height: auto;
    top: 4.5%;
    z-index: 99999;
    -webkit-transition: left 0.3s, opacity 0.3s;
    -moz-transition: left 0.3s, opacity 0.3s;
    transition: left 0.3s, opacity 0.3s;
    visibility: visible;
    display: inline-block;
  }
  #logo-icon.is-hidden.slide-in {
    /* slide in when the secondary navigation gets fixed */
    left: 19%;
    opacity: 1;
  }
  .int-secondary-nav {
    z-index: 3;
    height: 90px;
    background: #fff;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
  }
  .int-secondary-nav nav, .int-secondary-nav ul, .int-secondary-nav li, .int-secondary-nav a {
    height: 100%;
  }
  .int-secondary-nav ul {
    /* reset navigation values */
    position: static;
    width: auto;
    max-width: 100%;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    text-align: center;
    background-color: transparent;
  }
  .int-secondary-nav li {
    display: inline-block;
    margin-left: 0px;
  }
  .int-secondary-nav li a {
    position: relative;
    text-align: center;
    display: block;
    padding: 30px 30px 0 30px;
    border-bottom: none;
    -webkit-transition: padding 0.2s;
    -moz-transition: padding 0.2s;
    transition: padding 0.2s;
  }
  .int-secondary-nav li a{
    font-size: 1.625rem;
    font-weight: normal;
    color: #999;
    -moz-transition: all 0.15s linear;
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  .int-secondary-nav li a span {
    position: absolute;
    display: inline-block;
    width: 60px;
    height: 90px;
    top: -20px;
    opacity: 0;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../img/nav-icons.svg) no-repeat;
    /*background-color: #f00;*/
    -moz-transition: all 0.15s ease;
    -webkit-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    transition: all 0.15s ease;
  }
  .int-secondary-nav li a:hover, .int-secondary-nav li a.active {
    color: #80C757;
  }
  .int-secondary-nav li a span:hover, .int-secondary-nav li a span.active {
    top: -40px;
    opacity: 10;
  }
  .int-secondary-nav li:nth-child(1) a span {
    background-position: 16px 0;
  }
  .int-secondary-nav li:nth-child(2) a span {
    background-position: -48px 0;
  }
  .int-secondary-nav li:nth-child(3) a span {
    background-position: -112px 0;
  }
  .int-secondary-nav li:nth-child(4) a span {
    background-position: -178px 0;
  }
  .int-secondary-nav.is-fixed {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    position: fixed;
    left: 0;
    top: 0;
    padding-left: 10%;
    height: 90px;
    width: 100%;
    z-index: 99999;
    background: #fff;
  }
  .int-secondary-nav.animate-children {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); */
  }
  .int-secondary-nav.animate-children li a {
    padding: 10px 20px 0 20px;
  }
  .int-secondary-nav.animate-children li a span {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    top: 12px;
    opacity: 10;
    left: 20%;
    right: auto;
    /*background-color: #ccc;*/
    background-image: url(../img/nav-icons-grey.svg);
  }
  .int-secondary-nav.animate-children li:nth-child(1) a span {
    background-position: 7px 7px;
  }
  .int-secondary-nav.animate-children li:nth-child(2) a span {
    background-position: -57px 7px;
  }
  .int-secondary-nav.animate-children li:nth-child(3) a span {
    background-position: -120px 7px;
  }
  .int-secondary-nav.animate-children li:nth-child(4) a span {
    background-position: -178px 7px;
  }
  .int-secondary-nav-trigger {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  #logo img {
    width: 400px;
    display: inline-block;
  }
}

@media only screen and (max-width: 815px) {
  #placeholder-2 .box {
    height: 280px;
  }
  .cont-section{
    height: auto;
  }
}

@media screen and (max-device-width: 800px) {
  #bgvid {
    display: none;
  }
}

@media only screen and (max-width: 800px) {
  .card-business{
    width: auto;
    margin: 1rem auto;
    display: -webkit-flex;
    display: flex;
  }
  .maps {
    width: 100%;
  }
  .address {
    width: auto;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1010px) {
  .maps {
    width: 450px;
  }
}
