

/*
Author: XpeedStudio
Author URI: http://themeforest.net/user/XpeedStudio/portfolio
*/
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,
body {
    background-color: #ffffff;
    font-size: 20px;
    color: #202020;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    font-family: 'open_sanslight';
    font-weight: 300;
}
/*==========================================
PRE LOADER 
==========================================*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    z-index: 99999;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}

.loaded {
    width: 266px;
    height: 200px;
    position: absolute;
    left: 45vw;
    top: 50vh;
    background-image: url(../image/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: cover;
    background-size: cover;
    margin: -20px 0 0 -20px;
}

.loading-text {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-family: "Comic Sans MS", cursive, sans-serif;
  margin-left: 0.5em;
}

.loadertext {
    height: $loader-dot--size;
    width: $loader--width;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 6rem;
    margin: auto;
    font-size :1.5em
}
.loadertext:after {
      content: "Loading";    
      font-weight: bold;      
      animation-name: loading-text;
      animation-duration: 2s;
      animation-iteration-count: infinite;
    }  

@keyframes loading-text{
  0%{
    content: "Loading";
  }
  25%{
    content: "Loading.";
  }
  50%{
    content: "Loading..";
  }
  75%{
    content: "Loading...";
  }
}

#hideLoading {
  animation: hideAnimation 0s ease-in 4s;
  animation-fill-mode: forwards;
}

@keyframes hideAnimation {
  to {
    visibility: hidden;
    width: 0;
    height: 0;
  }
}