@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700|Indie+Flower');

body {
    position: relative;

    margin: 0; padding: 0;
    left: 0px; top: 0px;
    width: 100%; height: 100%;
    overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling:touch;
    background-color: #F5F5F5;
    font-family: Roboto,sans-serif;
    color: #757575;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fh { height: 100%; }
.fw { width: 100%; }
.vscroll { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling:touch; }
.gscroll { overflow-x: auto; overflow-y: hidden; }
.bscroll { overflow-x: auto; overflow-y: auto; }
/* @media screen and (max-width: 767px) { .hide-on-md { display: none; visibility: hidden; } }
@media screen and (min-width: 768px) { .show-on-md { display: none; visibility: hidden; } } */
.ks-font-thin { font-weight: 100; }
.ks-page-part { max-width: 1200px; margin: 36px auto 0 auto; padding: 36px 0 0 0; }

/* Sidebar */
#ks-sidebar {
    position: fixed;
    width: 240px;
    height: 100vh;
    background: rgba(46,46,46,0.94);
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
    /* box-shadow: 2px 0 24px rgba(0,0,0,.14); */
    box-shadow: 2px 0 3px 0 rgba(0,0,0,.21);
    left: -300px;
    font-size: 15pt;
    font-weight: 300;
}

#ks-sidebar-header {
    background: rgba(32,32,32,1);
    display: flex;
    align-items: center;
}

#ks-sidebar-header .ks-btn-menu-close {
    margin-left: auto;
    font-size: 16pt;
    font-weight: 100;
    color: #FFF;
    padding: 0 12px;
}

#ks-sidebar-content { font-size: 12pt; padding-top: 32px; }
#ks-sidebar-content ul { list-style: none; padding: 0; }
#ks-sidebar-content ul li a { color: #FFF; padding: 18px 16px; }
#ks-sidebar-content ul li a i { min-width: 28px; text-align: center; }
/* ~~~~~~~ */

/* Navbar */
#ks-navbar {
    position: fixed;
    width: 100%;  top: 0;
    background-color: rgba(32,32,32,.45);
    z-index: 1020;
}

#ks-navbar.strong {
    background-color: rgba(96,96,96,0.94);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
}

#ks-navbar-content {
    max-width: 1200px;
    display: flex;
    align-items: stretch;
    color: #FFF;
    font-size: 15pt;
    font-weight: 300;
    margin: auto;
}
#ks-sidebar-header a,
#ks-navbar-content a { color: #FFF; display: flex; align-items: center; cursor: pointer; }
#ks-sidebar-header a:hover,
#ks-navbar-content a:hover { text-decoration: none; }

#ks-sidebar-header .ks-logo,
#ks-navbar-content .ks-logo {
    width: 42px; height: 42px; margin: 5px 8px;
    background-image: url('../img/kiksoft-logo.svg');
    background-size: contain;
    opacity: 0.7;
    float: left;
}
#ks-navbar.strong #ks-navbar-content .ks-logo { opacity: 1.0; }

#ks-navbar-menu {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    align-content: stretch;
}

#ks-navbar-menu ul {
    list-style: none;
    margin: 0; padding: 0;

    display: flex;
}

#ks-navbar-menu ul li {
    display: flex;
    align-items: stretch;
    font-size: 12pt;
}

#ks-navbar-menu ul li a:hover { box-shadow: inset 0 -1px 0 #FFF; transition: box-shadow 0.25s; }
#ks-navbar-menu ul li a.active { box-shadow: inset 0 -3px 0 #FFF; transition: box-shadow 0.25s; }

#ks-navbar-menu .ks-btn {
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
}
/* ~~~~~~ */

/* Intro */
#ks-intro {
    height: 100vh;
    background: #3A3A3A url('https://source.unsplash.com/collection/8467728/');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding-top: 24%;
}

#ks-intro-content { text-align: center; }

#ks-intro-content .ks-avatar {
    border-radius: 100%;
    width: 140px;
    height: 140px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    border: solid 3px #fff
}

#ks-intro-content h1 { color: #FFF; font-weight: 300; padding: 14px;}
#ks-intro-content h2 { color: #FFF; font-weight: 100; }
/* ~~~~~ */

/* Timeline */
#ks-timeline {  }
.ks-card {
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    border-radius: 2px;
    padding: 4rem;
    margin: 24px;
    font-weight: 300;
    font-size: 11pt;
}
.ks-card h3 { font-size: 24pt; margin-bottom: 60px; font-weight: 300; }
.ks-card h4 { font-size: 13pt; font-weight: 300; color: #607d8b; }
.ks-card p { line-height: 26px; }

#ks-timeline ul.ks-timeline-list {
    list-style-type: none;
    border-left: solid 3px #607d8b;
    position: relative;
    padding-left: 0;
}

#ks-timeline ul.ks-timeline-list > li {
    position: relative;
    padding-left: 30px;
    padding-top: 24px;
    margin-bottom: 50px;
}

#ks-timeline ul.ks-timeline-list > li::before {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100%;
    border: solid 3px #607d8b;
    background-color: #fff;
    height: 21px;
    width: 21px;
    left: -12px;
    top: 24px;
}

#ks-timeline ul.ks-timeline-list > li::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100%;
    background-color: #607d8b;
    height: 9px;
    width: 9px;
    left: -6px;
    top: 30px;
    transition: all ease .2s;
}


@media screen and (max-width: 767px) {
    .ks-card { padding: 24px; margin: 24px 8px; }
}

@media screen and (min-width: 768px) {

    #ks-timeline ul.ks-timeline-list { margin-left: 300px; }
    #ks-timeline ul.ks-timeline-list > li div {
        float: left;
        margin-left: -300px;
        margin-top: -30px;
    }

}

#ks-timeline ul.ks-timeline-list > li > h4 {
    color: #757575;
}
/* ~~~~~~~~ */

/* Projects */
#ks-projects { }

/* ~~~~~~~~ */

/* Demo */
.ks-card-sm {
    width: 100%; height: 300px;
    /* box-shadow: 0 2px 2px 0 rgba(0,0,0,.14); , 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12); */
    box-shadow: 0 0 8px rgba(120,120,120,.1);
}
/* ~~~~ */

/* Btn Top */
#ks-btn-top.nav-link {
    display: inline-block;
    position: fixed;
    border-radius: 200rem;
    text-align: center;
    background-color: rgba(96,96,96,0.8);
    padding: 0;

    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 14pt;
    color: #FFF;

    left: auto;
    top: auto;
    bottom: -40px;
    transition: bottom 0.25s;
    right: 20px;

    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
}

#ks-btn-top.nav-link i.zmdi {
    vertical-align: middle;
}

#ks-btn-top.nav-link.rised {
    bottom: 20px;
    transition: bottom 0.25s;
}

/* ~~~~~~~ */

/* Footer */
footer {
    background-color: rgba(56,56,56,1.0);
    color: #bdbdbd;
    box-shadow: inset 0 2px 2px 0 rgba(0,0,0,.14), inset 0 3px 1px -2px rgba(0,0,0,.2), inset 0 1px 5px 0 rgba(0,0,0,.12);
}

footer p { margin: 0; padding: 14px; font-weight: 300; }
/* ~~~~~~ */

/* Preloader */
.sk-three-bounce {
    width: 22em;
    margin: auto;
    text-align: center;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #EFEFEF;
    z-index: 10000;
    text-align: center;
    padding-top: 30%;
}
.sk-three-bounce .sk-child {
    width: 4em;
    height: 4em;
    background-color: #337ab7;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
            animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
}
.sk-three-bounce .sk-bounce-1 {
    -webkit-animation-delay: -0.32s;
            animation-delay: -0.32s;
}
.sk-three-bounce .sk-bounce-2 {
    -webkit-animation-delay: -0.16s;
            animation-delay: -0.16s;
}

@-webkit-keyframes sk-three-bounce {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes sk-three-bounce {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
