.css-class-add, .css-class-remove {
    -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
    -moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
    -o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
    transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
}
.pagination{
    width: 100%;
    float: left;
}
.css-class,
.css-class-add.css-class-add-active {
    opacity: 1;
    margin-top: -50px;
    // margin-bottom: -15px !important;
}
/*@media (max-width:767px){
    .css-class{
        margin-top: 0;
    }
    .css-class-add.css-class-add-active {
        opacity: 1;
        margin-top: -50px;
        // margin-bottom: -15px !important;
    }
}*/
/*For box image size*/
.three-colbox .box-image img{
    width: auto;
    max-width: inherit;
    height: 100%;
} 
/*.box-image{
    height: 258px;
}*/
.mouse-down img{
    position: relative;
}
.video-load{
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 140px 170px;
}
#fixed-hd{
    padding: 0px;
}
/*  scroll stop effect  */
.fixed{
    padding:0px;
    z-index:101;
    position:fixed;
    top:0;
    left:0;
}
.fixedd{
    margin-top:101px;
}
.navigation-menu{
    max-width:1400px;
    margin:0 auto;
}
.navigation-menu-bg{
    background: #fff;
    float:left;
    position: relative;
    width:100%;
}
.navigation-menu-bg:before{
    clear: both;
}
.top-color{
    -webkit-background: linear-gradient(to right, #b2b4b2 0%,#b2b4b2 14.28%,#f5eb12 14.28%,#f5eb12 28.56%,#72cddc 28.56%,#72cddc 42.84%,#6cbe45 42.84%,#6cbe45 57.12%,#b951b9 57.12%,#b951b9 71.4%,#ee2526 71.4%,#ee2526 85.68%,#3c54a4 85.68%, #3c54a4 100%);
    -moz-background: linear-gradient(to right, #b2b4b2 0%,#b2b4b2 14.28%,#f5eb12 14.28%,#f5eb12 28.56%,#72cddc 28.56%,#72cddc 42.84%,#6cbe45 42.84%,#6cbe45 57.12%,#b951b9 57.12%,#b951b9 71.4%,#ee2526 71.4%,#ee2526 85.68%,#3c54a4 85.68%, #3c54a4 100%);
    -ms-background: linear-gradient(to right, #b2b4b2 0%,#b2b4b2 14.28%,#f5eb12 14.28%,#f5eb12 28.56%,#72cddc 28.56%,#72cddc 42.84%,#6cbe45 42.84%,#6cbe45 57.12%,#b951b9 57.12%,#b951b9 71.4%,#ee2526 71.4%,#ee2526 85.68%,#3c54a4 85.68%, #3c54a4 100%);
    -o-background: linear-gradient(to right, #b2b4b2 0%,#b2b4b2 14.28%,#f5eb12 14.28%,#f5eb12 28.56%,#72cddc 28.56%,#72cddc 42.84%,#6cbe45 42.84%,#6cbe45 57.12%,#b951b9 57.12%,#b951b9 71.4%,#ee2526 71.4%,#ee2526 85.68%,#3c54a4 85.68%, #3c54a4 100%);
    background: linear-gradient(to right, #b2b4b2 0%,#b2b4b2 14.28%,#f5eb12 14.28%,#f5eb12 28.56%,#72cddc 28.56%,#72cddc 42.84%,#6cbe45 42.84%,#6cbe45 57.12%,#b951b9 57.12%,#b951b9 71.4%,#ee2526 71.4%,#ee2526 85.68%,#3c54a4 85.68%, #3c54a4 100%);
    height:5px;
    width:100%;
}
.nav-wrapper{
    height:95px;
}
.main-nav > ul > li{
    list-style:none;
    float:left;
    padding: 0 34px 0 0;
}
a{
    text-decoration:none;
    color:#444444;
}
nav{
    width: 100%;
    position: relative;
}
.logo{
    position: relative;
    top: 24px;
    left: 30px;
}
.main-nav{
    position: relative;
    top: 35px;
    right: 16px;
}
.main-nav > ul > .gap-hd{
    padding-left: 66px;
    padding-right: 42px;
}
.gap-hd > a > p{
    border-radius: 7px;
    padding: 11px 21px;
    position: relative;
    top: -11px;
    color: #fff;
    background: #6cbe45;
}
.main-nav > ul > .last-hd{
    padding: 0;
    position: relative;
    top: 0px;
    left: 0px;
}
.nav-font-hd{
    font-weight: 700;
}
.bottom-color{
    border-bottom: 1px solid #d5d5d5;
}
.relative{
    position: relative;
}
/*  hamburger button  */
.mobi-hd{
    display:none;
}
.mobi-hd > a{
    position: absolute;
    height: 26px;
    width: 35px;
    padding: 4px;
    border: 1px solid;
    border-radius: 5px;
    background-color: black;
}
.mobi-ham-hd {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 4px;
    position: relative;
}
/*Video Section */
.outer-box, .blog-post{
    display: none;
    background-color: rgba(0,0,0, .75);
    height: 100%;
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    width: 102%;
    height: 102%;
}
/*.page-id-8 .outer-box {
    top: 43px;
}*/
.overlay-form{
    text-align: center;
    height: 100%;
    overflow: scroll;
}
#video, #video-post{
    margin: auto;
    position: relative;
    width: 1136px;
    margin-top: 128px;
}
#myVideo, #post-Video{
    background-color: #000;
}
#close-video{
    position: absolute;
    right: -22px;
    top: -27px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    color: #fff;
    font-size: 14px;
}
#close-video >img {
    position: relative;
    top: 4px;
    padding-left: 2px;
}
iframe{
    border: none;
}
/*  media queries  */
@media (max-width:991px){
    .hide-hd{
        display: none;
    }
    .mobi-hd{
        display:block;
    }
    .logo, .main-nav{
        position:absolute;
    }

}
@media (max-width:768px){
    .gap-hd{
        padding-right: 0px;  
    }
    .main-nav > ul > li{
        padding:0;
    }
    .last-hd{
        padding:0 5px 0 0;
    }
}


/*Team Slide*/
.rg-gallery{
    overflow: hidden;
    padding: 0px 0px 21px 0px;

}
.team-slider{
    width: 15000px;
    position: relative;
}
/*.team-slider img{
    border-radius: 50%;
}*/
.team-slider li{
    width: 200px;
    display: block;
    float: left;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

/*.img_black{
    filter: grayscale(95%);
    -webkit-filter: grayscale(95%);   For Webkit browsers 
    filter: gray;   For IE 6 - 9 


}*/
.team-slider ul li h4{
    margin-top: 17px;
}
.team-slider p.post{
    line-height: 20px;
}
.nav-prev{
    background: transparent url(../images/carousel-grey-arrow-left.png) no-repeat top left;
    background-size: cover;
    width: 25px;
    height: 25px;
    text-indent: -99px;
    position: absolute;
    top: 31%;
    left: -2%;
    overflow: hidden;
    cursor: pointer;
    z-index: 8;
}
.nav-next{
    background: transparent url(../images/carousel-grey-arrow-right.png) no-repeat top left;
    background-size: cover;
    right: -2%;
    position: absolute;
    top: 31%;
    overflow: hidden;
    text-indent: 99px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 8;
}
.text-wrapper{
    background-color: #e6e8e9;
    padding: 75px 0px;
    display: block;
    position: relative;
    width: 100%;
    float: left;
}
.post_details{
    width: 22%;
    float: left;
    text-align: left;
}
.description{
    width: 78%;
    float: left;
    padding-right: 90px;
}
.description > p{
    font-size: 14px;
    line-height: 24px;
    color: #000;
    margin-bottom: 24px;
}
.post_details > h1{
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 2px;
    margin-bottom: 1px;
}
.post_details > h4{
    font-size: 18px;
    font-weight: normal;
}
.text-slider{
    display: none;
    position: relative;
    margin: auto;

}
.team-slider ul{
    position: relative;
}

.text-slider .description .btn-aditude {
    color: #000000;
    border: 2px solid #000000;
    display: table;
    margin: 20px 0 10px 0;
    background: linear-gradient(to right, rgb(0,0,0) 50%, rgba(255, 255, 255, 0.0) 50%);
    background-size: 214% 200%;
    background-position: right bottom;
}

.text-slider .description .btn-aditude:hover {
    background-position:left bottom;
    color: #fff;
    border: 2px solid #000000;
}

.obj-prev{
    position:absolute;
    top:120px;
    left:-24px;
    background:transparent url(../images/carousel-grey-arrow-left.png) no-repeat top left;
    background-size: cover;
    width:25px;
    height:25px;
    text-indent:-9000px;
    cursor:pointer;
    outline:none;
}
.obj-next{
    position:absolute;
    top:120px;
    right:-24px;
    left:auto;
    background:transparent url(../images/carousel-grey-arrow-right.png) no-repeat top left;
    background-size: cover;
    width:25px;
    height:25px;
    text-indent:-9000px;
    cursor:pointer;
    outline:none;
}
.close-slider{
    background-image: url('../images/close.png');
    height: 23px;
    width: 23px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    right: -24px;
    cursor: pointer;
}

.text-slider{
    width: 1230px;
    padding: 0px 15px;
}
.text-team{
    width: 1200px;
    position: relative;
    margin: auto;
    display: table;
    height: 100%;
}
@media(min-width:1251px) and (max-width:1330px)
{
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 25%;
    }
    .description{
        width: 75%;
        padding-right: 20px;
    }
    .nav-next{
        right: 0px;
    }
    .nav-prev{
        left: 0px; 
    }
    .close-slider{
        right: 5px;
    }
    .description > p{
        text-align: left;
    }
}
@media(min-width:992px) and (max-width:1250px){
    .text-team{
        width: 100%;
    }
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 28%;
    }
    .description{
        width: 72%;
        padding-right: 20px;
    }
    .nav-next, .obj-next{
        right: 5px;
    }
    .nav-prev, .obj-prev{
        left: 5px; 
    }
    .close-slider{
        right: 5px;
    }
    .description > p{
        text-align: left;
    }
}
@media(min-width:768px) and (max-width:991px){
    .text-team{
        width: 100%;
    }
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 25%;
    }
    .description{
        width: 75%;
        padding-right: 20px;
    }
    .nav-next, .obj-next{
        right: 5px;
    }
    .nav-prev, .obj-prev{
        left: 5px; 
    } 
    .close-slider{
        right: 5px;
    }
    .description > p{
        text-align: left;
    }
    .post_details > h1 {
        font-size: 20px;
    }
    .post_details > h4{
        font-size: 15px;
    }
}
@media(min-width:596px) and (max-width:767px)
{
    .text-slider .description .btn-aditude {
        margin: 10px auto;
    }
    .text-team{
        width: 100%;
    }
    .nav-next, .obj-next{
        right: 5px;
    }
    .nav-prev, .obj-prev{
        left: 5px; 
    } 
    .close-slider{
        right: 5px;
    }
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }
    .description{
        width: 100%;
        padding-right: 0px;
    }
    .description > p{
        text-align: left;
    }
    .description {
        width: 100%;
        padding-right: 0px;
        padding-right: 20px;
        height: 300px;
        overflow: auto;
    }
    .text-wrapper{
        padding: 45px 0px;
    }
}
@media(min-width:481px) and (max-width:595px)
{
    .text-slider .description .btn-aditude {
        margin: 10px auto;
    }
    .text-team{
        width: 100%;
    }
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }
    .description{
        width: 100%;
        padding-right: 0px;
        padding-right: 20px;
        height: 300px;
        overflow: auto;
    }
    .nav-next, .obj-next{
        right: 5px;
    }
    .nav-prev, .obj-prev{
        left: 5px; 
    } 
    .close-slider{
        right: 5px;
    }
    .description > p{
        text-align: left;
    }
    .text-wrapper{
        padding: 45px 0px;
    }
}
@media(max-width:480px)
{
    .text-slider .description .btn-aditude {
        margin: 10px auto;
    }
    .text-team{
        width: 100%;
    }
    .nav-next, .obj-next{
        right: 5px;
    }
    .nav-prev, .obj-prev{
        left: 5px; 
    }
    .close-slider{
        right: 5px;
    }
    .text-slider{
        width: 90%;
    }
    .post_details{
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }
    .description{
        width: 100%;
        padding-right: 0px;
    }
    .description > p{
        text-align: left;
    }
    .text-wrapper{
        padding: 40px 0px;
    }
    .description {
        width: 100%;
        padding-right: 0px;
        padding-right: 20px;
        height: 300px;
        overflow: auto;
    }
}
.has-error input{
    color: red !important;
}

.load{
    display: inline-block;
    width: 100%;



}
.load:after{
    content: '';
    background-image: url(../images/loader.gif);
    background-repeat: no-repeat;
    position: absolute;
    width: 50px;
    height: 22px;
    background-position: 12% 100%;

}