html {

    font-size: 62.5%;

}
html, body {

     margin: 0; padding: 0; font-family: Helvetica,sans-serif; color:#333;

}

body{
    background:url('../images/background.png');
    background-size:cover
}

#navbar {
    position: fixed; /* Make it stick/fixed */
    top: -150px; /* Hide the navbar 50 px outside of the top view */
    transition: top 0.3s; /* Transition effect when sliding down (and up) */
    /*border:1px solid #DBDBDB;*/
    border-radius: 50%;
    /*box-shadow: 0 5px 5px 0px rgba(0,0,0,0.6);*/
    background:gray;
    width:45px;
    height:45px;
    text-align:center;
    /*margin:20px;*/
    right: 20px;
    z-index:9;
    color:black;
}

/* Style the navbar links */
#navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
}

#navbar a:hover {
    background-color: #ddd;
    color: black;
}

.openPopupButton{
    display:none;
    right:20px;
    top:50px;
    position:fixed;
}

.topheader{
    background: url('../images/top-header.png') #48701E;
    background-repeat: repeat;
    width: 100%;
    background-repeat: no-repeat;
    height: 18px;
}

.navigation{

    position: absolute;
    display: block;
    top: 8%;
    left: 15%;
    width: 85%;
}

.navigation > li{
    float:left;
    padding:2.2%;
    list-style:none;
    color:white;
}

.navigation > li a {
    font-size:1vw;
    color:#fff;
    font-weight:normal;
}

.navigation > li a:hover {
    font-size:1vw;
    color:#fff;
    text-decoration:underline;
    text-decoration-color: #8bc53f;
}

.navigation > li  .active{
    padding-bottom:3px;
    font-size:1vw;
    color:#fff;
    font-weight:800;
    text-decoration:underline;
    text-decoration-color: #8bc53f;
}

.first-elephant{
    width: 56%;
    position:relative;
}

.we{
    position: absolute;
    top: 120%;
    right: -65%;
    z-index: 1;
    width: 100%;
}

.we img{
    width:33%;
    display:inline;
}

.imp{
    margin-top: 100px;
    margin-left: 8%;
    width: 37% !important;
}

.circles{
    position: absolute;
    width: 20%;
}

.circle-1{
    top: 284%;
    right: 43%;
    z-index: 3;
}
.circle-2{
    top: 360%;
    right: 49%;
    z-index: 2;
}
.circle-3{
    top: 436%;
    right: 44%;
}

.vcenter {
    display:        inline-block !important;
    vertical-align: middle       !important;
    padding:        5%;
    margin-top:     100px;

}

.vcenter p{
    width:     100%;
    font-size: 100% !important;
}

.second-elephant{
    height:100vh;
}

.second-section-text h2 {
    color: #92c055;
    font-size: 24px;
}

.vcenter img{
    width:50%;
    margin:auto;
}

.second-section-text a, .third-section-text a {
    color: #8bc53f;
    text-decoration: none;
}

.third-section-text h2, .third-section-text h2 span {
    color: #F8B133 !important;
    font-size: 24px !important;
}

.third-section-text a{
    color: #F8B133;
}


.fifth-section{
    width:              100%;
    background-repeat:  no-repeat;
    height:             100vh;

}

.right-fifth-section{
    padding:            15% 5%;
}
.fifth-section-text{
    text-align:         center;
    color:              darkslategray;
}



.jPopup .content p {
    font-size: 16px;
}


.nopadding{
    padding:    0px;
    margin:     0px;
}


.logo_div{
    padding-top:3%;
}

.logo_div img{
    float:right;
}



@media screent and (min-width:1900px){
    .navigation a{
        font-size:140%;
    }
}


.avatar {
    margin-top:50px;
    box-sizing: border-box;
    border: 0px #383838 solid;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;
img { width: 100%; height: auto; }
}

@keyframes float {
    0% {
        box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
        transform: translatey(0px);
    }
    50% {
        box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
        transform: translatey(-20px);
    }
    100% {
        box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
        transform: translatey(0px);
    }
}

.elephant {
    width: 40%;
    height: auto;
    animation: fly 6s ease-in-out infinite;
    height: 100%;
    margin-bottom: -53px;
    margin-left: 92px;
}

.people{
    width:      40%;
    height:     auto;
    z-index:    3;
}

@keyframes fly {
    0% {
        transform: translatex(0px);
    }
    50% {
        transform: translatex(-6px);
    }
    100% {
        transform: translatex(0px);
    }
}


.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    background-image: url('../images/nav-back.jpg');
    background-size:cover;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 60px;
}



.col-md-6{
    width: 42.6%
}

.col-md-5{
    width:42.667%
}


.logo_div{
    margin-left:29.667%; padding-top: 4%;width:unset;
}
.we_img{
    width: 37%;margin-top: 15px;
}
.second-section-text{
    width:42.667%
}

.div-text{
    width: 58%;margin: auto; 
}

.div-text2{
    width: 62%;margin: auto; 
}

.div-text3{
    margin: auto;width: 62%; 
}

@media screen and (max-width: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 5px;
        right: 15px;
    }

    #navbar{
        top:0px;
    }

    .circles{
        position: relative;
        width: 100%;
    }

    .elephant{
        margin-bottom: -25px;
        margin-left: 56px;
    }

    .vcenter p{
        width:100%;
        text-align:center;
    }
    .vcenter img{
        width:50%;
    }
    .vcenter h2{
        text-align:center;
    }

    .col-sm-12 ,.col-xs-12{
        width:100% !important;
    }
    .logo_div{
        margin-left:0px !important;
    }
    .inner-logo{
        
    margin: auto;
    position: absolute;
    z-index: 5;
    width: 68%;
    height: auto;
    top: 9px;
    left: 13%;
    }
    
        .div-text{
        width: 100%;margin: auto;
    }

    .div-text2{
        width: 100%;margin: auto;
    }

    .div-text3{
        margin: auto;width: 100%;
    }
}

#subnav2{
    display:none;
}

#subnav{
   
            background: url('http://connectgroup.me/new/images/Asset%202.png');
            list-style:none;
            padding: 7px;
            position: absolute;
            top: 50px;
            left: 10px;
            border-bottom: 2px solid white;
            color: yellow !important;
            width: 170px;
            text-align: left;
            display:none;
    
}

#subnav li{
    padding:6px 0px;
    border-bottom:1px solid #a1a1a1;
}

#subnav li:last-child{
    border-bottom:none;
}

#subnav li a{
    color: white;
}
