/*!
 * fullPage 2.9.7
 * https://github.com/alvarotrigo/fullPage.js
 * MIT licensed
 *
 * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
 */
 html.fp-enabled,
 .fp-enabled body {
     margin: 0;
     padding: 0;
     overflow:hidden;
 
     /*Avoid flicker on slides transitions for mobile phones #336 */
     -webkit-tap-highlight-color: rgba(0,0,0,0);
 }
 .fp-section {
     position: relative;
     -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
     -moz-box-sizing: border-box; /* <=28 */
     box-sizing: border-box;
 }
 .fp-slide {
     float: left;
 }
 .fp-slide, .fp-slidesContainer {
     height: 100%;
     display: block;
 }
 .fp-slides {
     z-index:1;
     height: 100%;
     overflow: hidden;
     position: relative;
     -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
     transition: all 0.3s ease-out;
 }
 .fp-section.fp-table, .fp-slide.fp-table {
     display: table;
     table-layout:fixed;
     width: 100%;
 }
 .fp-tableCell {
     display: table-cell;
     vertical-align: middle;
     width: 100%;
     height: 100%;
 }
 .fp-slidesContainer {
     float: left;
     position: relative;
 }
 .fp-controlArrow {
     -webkit-user-select: none; /* webkit (safari, chrome) browsers */
     -moz-user-select: none; /* mozilla browsers */
     -khtml-user-select: none; /* webkit (konqueror) browsers */
     -ms-user-select: none; /* IE10+ */
     position: absolute;
     z-index: 4;
     top: 50%;
     cursor: pointer;
     width: 0;
     height: 0;
     border-style: solid;
     margin-top: -38px;
     -webkit-transform: translate3d(0,0,0);
     -ms-transform: translate3d(0,0,0);
     transform: translate3d(0,0,0);
 }
 .fp-controlArrow.fp-prev {
     left: 15px;
     width: 0;
     border-width: 38.5px 34px 38.5px 0;
     border-color: transparent #fff transparent transparent;
 }
 .fp-controlArrow.fp-next {
     right: 15px;
     border-width: 38.5px 0 38.5px 34px;
     border-color: transparent transparent transparent #fff;
 }
 .fp-scrollable {
     overflow: hidden;
     position: relative;
 }
 .fp-scroller{
     overflow: hidden;
 }
 .iScrollIndicator{
     border: 0 !important;
 }
 .fp-notransition {
     -webkit-transition: none !important;
     transition: none !important;
 }


/* nav custom */

 #fp-nav {
     position: fixed;
     top:45%;
     opacity: 1;
     z-index: 100;
     transform: translateY(-50%);
 }
 #fp-nav.last{
     right: -300px !important;
 }
 #fp-nav.fp-right {
     right: 55px;
     padding-top:50px;
 }
 #fp-nav.fp-left {
     left: 35px;
 }

 #fp-nav ul {
   margin: 0;
   padding: 0;
   position:relative;
 }

 #fp-nav ul li{
     display: block;
     border-radius: 100%;
 }
 #fp-nav ul li a::after{
    position: absolute;
    left: 0;top: 120%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #fff;
    display: none;

 }
 #fp-nav ul li a::before{
    position: absolute;
    left: 0;bottom: 120%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #fff;
    font-weight: 900;
 }

 #fp-nav ul li a{
    display: none;
    width:2px;height: 60px;
    background-color: #333;
 }
 #fp-nav ul li a.active{
    display: block;
 }
 #fp-nav ul li a.active::after{
    display: block;
 }

 
#fp-nav ul li:nth-of-type(1) a::after{
    content:"정우그룹";
}
#fp-nav ul li:nth-of-type(2) a::after{
    content:"우리플랫폼";
}
#fp-nav ul li:nth-of-type(3) a::after{
    content:"어의명가";
}
#fp-nav ul li:nth-of-type(4) a::after{
    content:"엔바이로텍";
}



#fp-nav ul li:nth-of-type(1) a::before{
    content:"1/4";
}
#fp-nav ul li:nth-of-type(2) a::before{
    content:"2/4";
}
#fp-nav ul li:nth-of-type(3) a::before{
    content:"3/4";
}
#fp-nav ul li:nth-of-type(4) a::before{
    content:"4/4";
}


 #fp-nav ul li a span{
     position: absolute;
     z-index: 1;
    width:100%;
    height: 0%;
    background-color: #fff;
     -webkit-transition: all 0.25s ease;
     -moz-transition: all 0.25s ease;
     -o-transition: all 0.25s ease;
     transition: all 0.25s ease;
     animation: roro 2s linear infinite;
 }

 @keyframes roro {
    0%{
        height: 0%;
    } 
    100%{
        height: 100%;
    }
 }

 #fp-nav ul li .fp-tooltip {
     position: absolute;
     top:20%;
     color: #fff;
     font-size: 14px;
     font-family: "Roboto","Noto Sans KR";
     white-space: nowrap;
     max-width: 220px;
     overflow: hidden;
     display: block;
     opacity: 0.5;
     width: auto;
     cursor: pointer;
     transform:translateX(-80px);
 }

 #fp-nav.on ul li a span{
    background-color: #333;
 }
 #fp-nav.on ul li a{
    background-color: #ddd;
 }
 #fp-nav.on ul li a::before{
    color: #333;
 }
 #fp-nav.on ul li a::after{
    color: #333;
 }

 #fp-nav ul li .fp-tooltip.active {
     opacity:1;
 }
 #fp-nav ul li:hover .fp-tooltip,
 #fp-nav.fp-show-active a.active + .fp-tooltip {
     -webkit-transition: opacity 0.2s ease-in;
     transition: opacity 0.2s ease-in;
     width: auto;
     opacity: 1;
 }
 #fp-nav ul li .fp-tooltip.fp-right {
     right: 50px;
 }
 #fp-nav ul li .fp-tooltip.fp-left {
     left: 20px;
 }
 .fp-auto-height.fp-section,
 .fp-auto-height .fp-slide,
 .fp-auto-height .fp-tableCell{
     height: auto !important;
 }
 
 .fp-responsive .fp-auto-height-responsive.fp-section,
 .fp-responsive .fp-auto-height-responsive .fp-slide,
 .fp-responsive .fp-auto-height-responsive .fp-tableCell {
     height: auto !important;
 }
 
 /*Only display content to screen readers*/
 .fp-sr-only{
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }
 #fp-nav li:last-child{
    display: none;
}


#fp-nav ul .on a span{
    border:2px solid #005890;
}
#fp-nav ul .on .active span{
    background-color: #005890;;
}
#fp-nav ul .on .active::before{
    color:#005890
}