/*
-----------------------------------------------
imarketsolutions.com 
Stylesheet: Home.css
Created: 8/28/2013
Author:  Ben Schiling
Organization:	iMarket Solutions
----------------------------------------------- */

/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* --- BEGIN HOMEPAGE --------------------------------------------------------------------------------------------------------------------------------- */



@-webkit-keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}


/* --- HOMEPAGE --------------------------------------------------------------------------------------------------------------------------------- */
/* --- BANNER --------------------------------------------------------------------------------------------------------------------------------- */

#container-all {
    height: 100vh;
    width: 100vw;
    background: #000;
    position: relative;
}

#container-content {
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#container-masthead {
    position: absolute;
    top: calc(50% - 55px);
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

#masthead {
    width: 100%;
   max-width: 100%;
}

.site-title {
    font-size: 4.5vw;
}

.site-title a {
    display: inline-block;
    padding: 30px 40px;
}


#container-masthead {
    border-bottom: 0;
}



.active-navigation #container-primary-navigation {
    top: 0%;
}

#container-masthead::before,
#container-masthead::after {
    content: none;
}

#container-all::before {
   content: '';
    position: absolute;
    bottom: -2px;
    width: 30px;
    height: 40px;
    z-index: 1;
    right: 0;
    left: 0;
    margin: auto 122px auto auto;
    background: #000;
    border-radius: 50px 50px 0 0;
    transform: skew(-10deg);
    border-style: solid;
    border-color: #FACF16;
    border-width: 3px 3px 0 3px;
    box-shadow: 0 0 2px #ff5303, inset 0 0 2px #FACF16, inset 15px 20px 20px #71110e, inset 0 0 0 #FA1C16, 0 0 0 #000, 0px 0px 0px #c91a15;
}

#container-all::after {
    z-index: 5;
    -webkit-animation-name: train;
    animation-name: train;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;      
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 10;
    animation-iteration-count: 10;
    content: '';
    position: absolute;
    bottom: 0;
    height: 32px;
    width: 150px;
    background-size: contain;
    background-repeat: repeat-x;
    background-image: url('/favicon.ico');
    right: 0;
    left: 0;
    margin: auto 0 auto auto;
    transform: skew(-10deg);
}


.footer-container {
    position: absolute;
    border-top: 0;
    width: 100%; 
    bottom: 0;
}


@media all and (min-width: 801px) {
    #container-primary-navigation {
        display: block;
        margin: auto auto;
        width: 100%;
    }
    
    #container-primary-navigation ul li.nav-level-1 > ul {
        border-top: 0;
        top: 55px;
    }
}
