body {
    font-family: 'Century Gothic', sans-serif;
}
.container-fluid {
    max-width: 1600px;
}
.container_wapper {
    width: 100%;
    background: #c0c0c0;
}
.rcolor {
    background: #f00;
}
.gcolor {
    background: #0f0;
}
.bcolor {
    background: #00f;
}
h1 {
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    font: normal normal normal 34px/60px 'Century Gothic', sans-serif;
    color: #3b3b3b;
}

.castlegate_logo a:hover {
	text-decoration: none;
}
/*menu*/
#castlegate_mobile_menu {
    top: 0;
    width: 250px;
    height: 100%;
    background: #f9f9f9;
    position: fixed;
    z-index: 5500;
    right: -1500px;
    display: none;
    overflow: auto;
}
#castlegate_mobile_menu ul li a {
    text-align: left;
    background: #5a8eca;
    color: #000;
}
#castlegate_mobile_menu ul li:hover a {
    background: #5eaba5;
	color: #fff;
}
#castlegate_banner_menu {
    width: 100%;
    background: #ffffff;
    /*height: 94px;*/
    border-bottom: 1px solid #5a8eca;
    position: absolute;
    top: 0;
    z-index: 5000;
}
#castlegate_banner_menu #logo_img {
    /*max-height: 90px;*/
    float: left; 
    /*margin-top: -35px;*/
    width: 290px;
    margin-top: -5px;
}
#castlegate_banner_menu #logo_text {
    font: normal normal normal 36px/1em 'Century Gothic', sans-serif;
    margin-top: 30px;
    padding-left: 60px;
    text-align: left;
    color: #e35354;
}
#castlegate_banner_menu #logo_text span {
    color: #5eaba5;
}
#castlegate_banner_menu ul li a ,
#castlegate_banner_menu ul li a:focus {
    padding-top: 35px;
    padding-bottom: 35px;
    font: normal normal normal 18px/23px 'Century Gothic', sans-serif;
    color: #000;
    background: repeat-x url("../images/banner_bg.jpg") 0 -94px ;
    transition-duration: .5s;
}
#castlegate_banner_menu ul li a:hover ,
#castlegate_banner_menu ul li a.current
{
    background-position: 0 0px ;
    background-color: #5eaba5;
    color: #ffffff;
}
#castlegate_banner_menu #mobile_menu {
    padding-top: 25px;
    font-size: 30px;
    float: right;
    color: #5eaba5;
}
/*banner slide*/
.banner { 
    width: 100%;
    height: 500px;
    margin-top: 94px;
    position: relative; 
    overflow: hidden;
}
.banner ul { 
    list-style: none; 
    padding: 0;
}
.banner ul li { 
    float: left; 
    /*background-size:50px 50px;*/
    height:500px;
    width: 100%;
}
.banner div.slide_caption {
	background: rgba(0, 0, 0, 0.0);
    max-width: 600px;
    margin: 120px auto auto auto;
}
.banner div.slide_caption h1 ,
.banner div.slide_caption p {
    background: none ;
    text-align: center;
    color: #fff;
    line-height: 2em;
}
.banner div.slide_caption a {
	color: #FF6;
}
.banner div.slide_caption h1 {
    font-size: 32px;
    margin: 0;
}
.banner div.slide_caption p {
    font-size: 16px;
}
.castlegate_banner_slide_01 {
    background: url('../images/banner/banner5.jpg');
    background-size: cover;
}
.castlegate_banner_slide_02 {
    background: url('../images/banner/banner6.jpg');
    background-size: cover;
}
.castlegate_banner_slide_03 {
    background: url('../images/banner/banner7.jpg');
    background-size: cover;
}
.castlegate_banner_slide_04 {
    background: url('../images/banner/banner8.jpg');
    background-size: cover;
}
/*about our organization*/
#castlegate_about {
    background: #ffffff;
    float: left;
}
#castlegate_about .about_icon img {
    width: 100%;
}
#castlegate_about .about_icon h2 {
    text-align: center;
    font: normal normal normal 20px/25px 'Century Gothic', sans-serif;
}
#castlegate_about .about_icon .imgwap {
    text-align: center;
    border-radius: 75px;
}
#castlegate_about .about_icon p {
    text-align: center;
    font: normal normal normal 12px/23px 'Century Gothic', sans-serif;
    color: #5f98b6;
}
#castlegate_about .about_icon .phone-number{
    color: #5f98b6;
    font-size: 20px;
    text-align: center;
    font-family: f2;
}
#castlegate_about .mission {
    background-color: #3DAAFD;
    color: #3DAAFD;
}
#castlegate_about .product {
    background-color: #e6e6e6;
    color: #e6e6e6;
}
#castlegate_about .testimonial {
    background-color: #70B7AD;
    color: #70B7AD;
}
#castlegate_about .statistic {
    background-color: #3DAAFD;
    color: #3DAAFD;
}
#castlegate_about #testimonial_text_wap {
    overflow: hidden;
}
#castlegate_about #testimonial_text_wap h2 {
    font-size: 24px;
    margin: 0;
    padding: 12px 0;
}
#castlegate_about #testimonial_text_wap h3 {
    font-size: 20px;
    margin: 0;
    padding: 12px 0;
}
#castlegate_about #testimonial_text_wap img {
    margin-bottom: 20px ;
}
#castlegate_about #testimonial_text_wap p {
    font-size: 14px;
    line-height: 2em;
}
#castlegate_about .testimonial_text {
    width: 100%;
    float: left;
}
#castlegate_about .pre_next {
    font-size: 70px;
    top: 50%;
    margin-top: -35px;
    position: absolute;
}
#castlegate_about .pre_next a {
    color: #6698b5;
    float: left;
}
#castlegate_about .pre_next a:hover {
    color: #334d5c;
}
#castlegate_about #testimonial_text_wap h1 {
    font-size: 70px;
    top: 50%;
    margin-top: -35px;
}
#castlegate_about .testimonial_top_bottom_spacer {
    padding-bottom: 50px;
}
/*events*/
#castlegate_events {
    background: #5a8eca;
    float: left;
    overflow: hidden;
}
#castlegate_events h1{
    color: #fff;
}
#castlegate_events .event_box_wap {
    overflow:hidden;
    margin-bottom: 30px;
    cursor: pointer;
    position: relative;
}
#castlegate_events .event_box_wap .event_box_img {
    position: relative;
    top: 0;
}
#castlegate_events .event_box_wap .event_box_caption {
    position: relative;
    top: 0;
    padding-bottom: 10px;
    background: #fff;
    width: 100%;
    border-top: 3px solid #3c6f8c;
}
#castlegate_events .event_box_wap h1,
#castlegate_events .event_box_wap p {
    margin: 0;
    color: #000000;
    text-align: left;
}
#castlegate_events .event_box_wap p {
    padding: 5px 20px 15px 20px;
}
#castlegate_events .event_box_wap h1 {
    padding: 20px 20px 20px 20px;
    font-size: 24px;
    line-height: 24px;
}
/*timeline*/
#castlegate_timeline {
    background: #fff;
    float: left;
}
#castlegate_timeline h1{margin-bottom: 10px;font-family: f2;}
#castlegate_timeline .container-fluid {
    max-width: 1600px;
    position: absolute;
    margin: auto;
    margin-bottom: 80px;
    background: url("../images/time_line_bg.jpg") repeat-y center top;
    margin-top: 40px;
    background: none !important;
}
#castlegate_timeline .time_line_wap {
    position: absolute;
    display: none;
}
#castlegate_timeline .time_line_caption {
    background: #5a8eca;
    padding: 10px 20px 10px 20px ;
    border-radius: 5px;
    height: 40px;
    clear: both;
    color: #fff; 
}
#castlegate_timeline .time_line_paragraph {
    background: #e6e6e6;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-top: 50px;
    font-family: 'Century Gothic', sans-serif;
}
#castlegate_timeline .time_line_paragraph a {
    color: #000;
    text-decoration: underline;
}
#castlegate_timeline .left_timeline {
    margin-left: 30px;
}
#castlegate_timeline .left_timeline .time_line_caption {
    float: right;
    margin-right: 0px;
}
#castlegate_timeline .right_timeline .time_line_caption {
    float: left;
}
#castlegate_timeline .time_line_paragraph h1 {
    text-align: left;
    margin: 0;
    font-size: 24px;
    line-height: 30px;
    color: #000;
    padding: 20px 20px 20px 20px;
}
#castlegate_timeline .time_line_paragraph p {
    padding: 0px 20px 20px 20px;
    text-align: left;
    margin: 0;
    font-size: 14px;
    line-height: 2em;
    color: #000;
    font-style: italic;
}
#castlegate_timeline .left_timer {
    float: right;
    background: url("../images/arrow_left.png") 0 5px;
    display: none;
}
#castlegate_timeline .right_timer {
    float: left;
    background: url("../images/arrow_right.png") 0px 5px;
    display: none;
}
#castlegate_timeline .left_timer ,
#castlegate_timeline .right_timer {
    padding-left:30px;
    width: 101px;
    position: absolute;
}
#castlegate_timeline .left_timer span,
#castlegate_timeline .right_timer span {
    border-radius: 20px;
    width: 30px;
    height: 30px;
    background: #e6e6e6;
    text-align: center;
    color: #fff;
    font-size: 24px;
    padding-top: 3px;
    margin-top: 3px;
}

/*FAQs*/
#castlegate_faqs{
    float: left;
    background: #70B7AD;
    color: #ffffff;
    padding-bottom: 70px;
}
.heading-h1{
    color: #ffffff;
}
#query-text{margin-top: 30px;}



/*contact*/
#castlegate_contact {
    /*background: #6698b5;*/
    background: #5a8eca;
    float: left;
}
#castlegate_contact h1 {
    color: #fff;
}
#castlegate_contact h2 {
    font-size: 24px;
    color: #fff;
    padding-top: 0;
    padding-bottom: 20px;
}
#castlegate_contact_map {
    width: 100%;
    height: 320px;
    float: left;
    margin-bottom: 40px;
}
#castlegate_contact ul li a {
    background: none;
}
#castlegate_contact ul li a i {
    width: 60px;
    height: 60px;
    font-size: 32px;
    color: #fff;
    text-align: center;
    border: 2px solid #ffffff;
    line-height: 55px;
    border-radius: 100px;
    cursor: pointer;
}
#castlegate_contact ul li a i:hover{
    background: #5eaba5;
}
#castlegate_contact p {
    color: #fff;
    line-height: 30px;
	margin-top: 15px;
}
#castlegate_contact input {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: none;
}
#castlegate_contact textarea {
    border: none;
    width: 100%;
    height: 150px;
    padding: 10px;
}
#castlegate_contact button {
    width: 100%;
    height: 50px;
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
    border: none;
    background: #eaeaea;
}
#castlegate_contact button:hover {
    background: #f4f4f4;
}
#castlegate_contact .social-link{margin-top: 10px;}
/*castlegate_footer*/
#castlegate_footer {
    width: 100%;
    /*border-top: 2px solid #507f9a;*/
    border-top: 2px solid #5a8eca;
    height: 70px;
    /*background: #447693;*/
    background: #C1E1C1;
    float: left;
}
#castlegate_contact .social-link{margin-top: 10px;}
/*castlegate_footer1*/
#castlegate_footer1 {
    width: 100%;
    /*border-top: 2px solid #507f9a;*/
    border-top: 2px solid #5a8eca;
    height: 70px;
    /*background: #FF0000;*/
    background: #FF0000;
    float: left;
}
#castlegate_footer1 p {
    padding-top: 20px;
    color: #fff;
    text-align: center;
}
#castlegate_footer a {
    color: #fff;
    text-decoration: underline;
}
/*  Small devices (tablets, 768px and up)  */
@media (max-width: 768px ) { 
    #castlegate_about .pre_next {
        font-size: 15px;
    }
    #castlegate_timeline .right_timer {
        background-position: center center;
    }
}
/*  Medium devices (desktops, 992px and up)  */
@media (max-width: 970px ) {
    #castlegate_timeline .right_timer {
        background-position: 100px 5px;
    }
    #castlegate_banner_menu #logo_text {
        font: normal normal normal 30px/1em 'Century Gothic', sans-serif;
    }
    #castlegate_timeline .container-fluid {
        background: url("../images/time_line_bg.jpg") repeat-y 28px 0;
    }
}
/*  Large devices (large desktops, 1200px and up)  */
@media (min-width: 1280px ) {
}

/*Custom*/
@font-face{
    font-family: f1;
    src: url("../fonts/f1/AvenirNext-Medium.eot");
    src: url("../fonts/f1/AvenirNext-Medium.eot") format('embedded-opentype'),
    url('../fonts/f1/AvenirNext-Medium.woff') format('woff'), 
    url('../fonts/f1/AvenirNext-Medium.ttf')  format('truetype'),
    url('../fonts/f1/AvenirNext-Medium.svg')  format('svg');
}
.f1{font-family: f1;}
@font-face{
    font-family: f2;
    src: url("../fonts/f2/AvenirNext-Regular.eot");
    src: url("../fonts/f2/AvenirNext-Regular.eot") format('embedded-opentype'),
    url('../fonts/f2/AvenirNext-Regular.woff') format('woff'), 
    url('../fonts/f2/AvenirNext-Regular.ttf')  format('truetype'),
    url('../fonts/f2/AvenirNext-Regular.svg')  format('svg');
}
.f2{font-family: f2;}
@font-face{
    font-family: f3;
    src: url("../fonts/f3/AvenirNext-DemiBold.eot");
    src: url("../fonts/f3/AvenirNext-DemiBold.eot") format('embedded-opentype'),
    url('../fonts/f3/AvenirNext-DemiBold.woff') format('woff'), 
    url('../fonts/f3/AvenirNext-DemiBold.ttf')  format('truetype'),
    url('../fonts/f3/AvenirNext-DemiBold.svg')  format('svg');
}
.f2{font-family: f9;}
@font-face{
    font-family: f9;
    src: url("../fonts/f9/AvenirNext-DemiBold.eot");
    src: url("../fonts/f9/AvenirNext-DemiBold.eot") format('embedded-opentype'),
    url('../fonts/f9/AvenirNext-DemiBold.woff') format('woff'), 
    url('../fonts/f9/AvenirNext-DemiBold.ttf')  format('truetype'),
    url('../fonts/f9/AvenirNext-DemiBold.svg')  format('svg');}
.f3{font-family: f9;}
.fs18{font-size: 24px;
}
.a-none{text-decoration: none;color: initial !important;}
.a-none:hover{text-decoration: none;color: initial !important;}
#castlegate_about .mission , .Circle-Cont-1{transition: all .5s;}
#castlegate_about .mission:hover , .Circle-Cont-1:hover{background: #77b1d0;}
#castlegate_about .product , .Circle-Cont-2{transition: all .5s;}
#castlegate_about .product:hover , .Circle-Cont-2:hover{background: #E6E6FF}
#castlegate_about .testimonial , .Circle-Cont-3{transition: all .5s;}
#castlegate_about .testimonial:hover , .Circle-Cont-3:hover{background:#70B2BF;} 
#castlegate_about .statistic , .Circle-Cont-4{transition: all .5s;}
#castlegate_about .statistic:hover , .Circle-Cont-4:hover{background: #77b1d0;}
#castlegate_faqs strong{color: #606161;}
.list-inline>li{margin: 5px;}
.nav-show{position: fixed !important;}
.nav-show #header-intro{display: none;}
.nav-show #logo_img{margin: 0px !important;width: 287px;padding: 0px;}
.w-full{width: 100%;}
.banner ul{height: auto !important;}
.Circle-Cont{display: none;}
.banner div.slide_caption{max-width: 480px;}
.banner div.slide_caption h1{font-family: f3;text-align: left;line-height: 40px;}
.banner div.slide_caption{float: right;margin-right: 10%;}
#castlegate_events .event_box_wap p{font-family: f2;}
#castlegate_events h1{font-family: f1;}
#owner-info-cont h4{font-family: f1;}
#castlegate_about .about_icon p{font-family: f2;}
#castlegate_about .about_icon h2{font-family: f2;}
#castlegate_about h1{font-family: f1;}
#Nav-1 li a{font-family: f1 !important;}
#Error{background: #a1ad2f;padding: 10px;margin-bottom: 15px;display: table;width: auto;margin-right: 13px;color: black;display: none;}
#Owner-info{padding-bottom: 20px;display: inline-block;}
.text-righti{text-align: right !important;}
#mobile_menu_cover{background: url(../images/cover.png);position: fixed;width: 100%;height: 100%;top: 0;left: 0;z-index: 5001;opacity: 0;display: none;}
#Nav-2{display: none;}
#header-intro .pull-right{color: #7e7e7e;font-family: f1;}
#header-intro .pull-left{margin-left: 90px;font-family: f1;}
#header-intro{padding: 15px 15px 0px 15px;border-bottom: 1px solid #b9b9b9;}
.Arrow-Up{cursor: pointer;display: table;margin: 0 auto;padding-top: 40px;text-align: center;}
.Arrow-Up div {
    height: 30px;
    color: #a1ad2f;
    position: relative;
    -webkit-animation: mymove .8s infinite; /* Safari 4.0 - 8.0 */
    animation: mymove .8s infinite;
}
.Arrow-Down{cursor: pointer;display: table;margin: 0 auto;padding-top: 40px;}
.Arrow-Down div {
    height: 30px;
    color: #5eaba5;
    position: relative;
    -webkit-animation: mymove .8s infinite; /* Safari 4.0 - 8.0 */
    animation: mymove .8s infinite;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
    0%   {top: 0px;}
    50%  {top: 10px;}
    100%  {top: 0px}
}

/* Standard syntax */
@keyframes mymove {
     0%   {top: 0px;}
    50%  {top: 10px;}
    100%  {top: 0px}
}
#castlegate_services_overview .testimonial_text{width: 100%;float: left;}
#castlegate_services_overview .pre_next {font-size: 70px;top: 50%;margin-top: -35px;position: absolute;}
#castlegate_services_overview{float: left;padding-top: 70px;padding-bottom: 20px;min-height: 430px;width: 100%;}
#owner-info-cont h1{margin: 0px;font-size: 35px;line-height: 24px;margin-bottom: 20px;}
#Welcome-text{font-family: f2;}
.bg-w{background: #ffffff;}
.color-white{color: #ffffff;}
.color-black{color: #000000;}
.color-blacki{color: #000000 !important;}
.color-primary{color: #5eaba5;}
.color-secondary{color: #5eaba5;}
.qmark{font-family: arial;}
@media (max-width: 1600px){
    .castlegate_banner_slide_01 .slide_caption{text-shadow: 1px 1px 1px gray;}
    .castlegate_banner_slide_02 .slide_caption{text-shadow: 1px 1px 1px gray;}
    .castlegate_banner_slide_03 .slide_caption{text-shadow: 1px 1px 1px gray;}
    .castlegate_banner_slide_04 .slide_caption{text-shadow: 1px 1px 1px gray;}
}
@media (max-width: 1280px){
    .nav-justified{width: 90%;}
}
@media (max-width: 1100px){
    #logo_img{/*width: 287px;margin-top: -15px !important;*/margin-top: -10px !important;}
    #header-intro .pull-left{/*margin-left: 70px;*/margin-left: 90px;}
}
@media (max-width: 1050px){
    .nav-justified{width: 100%;}
}
@media (max-width: 991px){
    .castlegate_banner_slide_01 .slide_caption h1{display: none;}
    .castlegate_banner_slide_02 .slide_caption h1{display: none;}
    .castlegate_banner_slide_03 .slide_caption h1{display: none;}
    .castlegate_banner_slide_04 .slide_caption h1{display: none;}
    #Nav-1{display: none;}
    #Nav-2{display: block;}
}
@media (max-width: 767px){
    #castlegate_about .about_icon .imgwap{display: none;}
    #castlegate_services_overview .pre_next{font-size: 15px;}
    #header-intro > div {float: none !important;width: 100%;text-align: center;margin: 0px !important;}
}
@media (max-width: 650px){
    #castlegate_about .testimonial_top_bottom_spacer{padding-bottom: 0px;}
    #Owner-info .left-col img{margin: 0 auto;}
    #Owner-info .left-col{width: 100%;padding-bottom: 20px;}
    #Owner-info .right-col{width: 100%;}
    #header-intro{text-align: center;}
    
}
@media (max-width: 550px){
    #header-intro{padding-bottom: 15px}
}
@media (max-width: 500px){
    #castlegate_contact ul li{margin: 0px;}
    #castlegate_contact ul li a i{width: 50px;height: 50px;line-height: 50px;font-size: 22px;margin: 0px;}
}
@media (max-width: 450px){
    #castlegate_banner_menu #mobile_menu{padding-top: 15px;}
    #castlegate_banner_menu #logo_img{width: 250px;}
}
@media (max-width: 400px){
    #logo_img{width: 240px;margin-top: -5px !important;}
}
@media (max-width: 380px){

    #castlegate_banner_menu #logo_img{width: 200px;margin-top: 1px !important;}
    #castlegate_contact ul li{margin: 0px;}
    #castlegate_contact ul li a i{width: 40px;height: 40px;line-height: 38px;font-size: 18px;margin: 0px;}
}
@media (max-width: 320px){
    #castlegate_contact ul li{margin: 5px;}
}
@media (max-width: 300px){
    #castlegate_banner_menu #logo_img{width: 150px;margin-top: 5px !important;}
}
@media (max-width: 270px){
    #castlegate_banner_menu #mobile_menu{padding-top: 10px;}
    #castlegate_banner_menu #logo_img{width: 120px;margin-top: 10px !important;}
}


@media (max-width: 991px) and (min-width: 768px){
    #castlegate_about .circle-logo{height: 350px;}
}
@media (max-width: 767px){
    .Circle-Cont-1{background: #3DAAFD;}
    .Circle-Cont-2{background: #e6e6e6;}
    .Circle-Cont-3{background: #70B7AD;}
    .Circle-Cont-4{background: #3DAAFD;}
    .Circle-Cont{display: table;width: 110px;height: 110px;text-align: center;vertical-align: middle;line-height: 110px;border-radius: 50%;margin: 0 auto;}
    #castlegate_about .circle-logo{padding-bottom: 40px;width: 50%;float: left;height: 300px;}   
}
@media (max-width: 600px){
    #castlegate_about .circle-logo{padding-bottom: 40px;width: 50%;float: left;height: 350px;}   
}
@media (max-width: 430px){
    #castlegate_about .circle-logo{padding-bottom: 40px;width: 100%;float: left;height: auto;}   
}
@media (max-width: 408px){
    .Arrow-Down{padding-top: 90px;}
}
@media (max-width: 400px){
    .nav-show #logo_img{width: 230px;}
}
@media (max-width: 350px){
    .nav-show #logo_img{width: 200px;}
}
@media (max-width: 300px){
    .nav-show .castlegate_logo{padding: 0px;}
    .nav-show #logo_img{width: 200px;}
}
@media (max-width: 270px){
    .nav-show #logo_img{width: 150px;padding-top: 10px;}
}
@media (min-width: 1600px){
    .castlegate_banner_slide_01 .slide_caption{margin-top: 430px !important;}
    .castlegate_banner_slide_02 .slide_caption{float: left !important;text-align: right;margin-left: 10% !important;}
    .castlegate_banner_slide_03 .slide_caption{float: left !important;text-align: right;margin-left: 10% !important;margin-top: 430px !important;}
    .castlegate_banner_slide_04 .slide_caption{margin-top: 480px !important;}
}
@media (min-width: 992px){
    #mobile_menu_cover{display: none !important;}
}
/* Footer styling */
#castlegate_footer .f2 {
  background: #6c757d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
}
#castlegate_footer .f2 #footer {
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  /* Or set explicitly: */
}
/* Fix font in bottom Services section */
#castlegate_events p,
#castlegate_events a,
#castlegate_events .event_box_caption {
    font-family: 'Century Gothic', Arial, sans-serif !important;
}
/* Force Century Gothic in the Services section */
#castlegate_events .event_box_caption,
#castlegate_events .event_box_caption p,
#castlegate_events .event_box_caption a {
    font-family: 'Century Gothic', Arial, sans-serif !important;
}
