/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #5a5a5a;
  height: 100%;
  font-family: "PT Serif",Georgia, serif;
  font-size: 15px;
  line-height: 1.715;
  background-color: #fff;
  overflow-x: hidden;
  max-width: 100%;
  
}


h1,h2,h3,h4,h5{font-family: "Crimson Text", serif}

h1,h2, h3, h4{margin: 24px 0 26px 0;}



a {
    color: #31cae4;
    text-decoration: none;
}
p, ul, ol {
    margin-top: 0;
    margin-bottom: 24px;
}

section{padding: 50px 0; position:relative}
aside{padding: 30px 0; position:relative}

.text-primary {color: #16709F}   
.text-dark{color: #222}

.nomartop{margin-top:0}
.nopadtop{padding-top:0}
.padtop20{padding-top:20px}
.padtop40{padding-top:40px}
.martop20{margin-top: 20px}
.martop40{margin-top: 40px}

.large-hdg{ font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;margin-bottom: 12px;
  }

.top {
    text-align:center;
    position: relative;
}
.top p{font-size: 20px;}

.top p span{font-size:16px}

.logo {
    position: relative;
	float: left;
    margin: 0 0 15px 15px;
	z-index: 90;
	width: 140px
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.navbar-wrapper {
  background:#efefef url(../img/main_bg.jpg) repeat top left;
  z-index: 20;
}


/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    border: 0px solid transparent;
}

.navbar-default {
    background-color: transparent;
    border-color: none;
}

/* INDEX PAGE
-------------------------------------------------- */

.carousel-wrap{
	 background: url(../img/ccfd-banner-1.jpg) center no-repeat; 
	 background-size: cover;
	 height: 430px; 
	 width:100%;
	 position:relative
	
}

div.scrolldown {
    position: absolute;
    bottom: 30px;
    left: 50%;
}

/* MARKETING CONTENT
-------------------------------------------------- */
.marketing{background: #fff }
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;margin-bottom: 12px;
}

footer{padding:8px 0; background:#333; color: #fff}

footer a{color:#ccc}

/* Backgrounds
------------------------- */
.bg-default{background: #444; color: #fff}
.bg-default a{color: #fff}
.bg-primary{background: #176A94; color: #fff }
.bg-primary a{color: #fff}
.bg-texture{background:#efefef url(../img/main_bg.jpg)}

.bg-people{background: url(../img/BANNER1x.jpg);
    min-height: 250px;
    background-repeat: no-repeat;
    background-position: 50% 10%;
	background-attachment:fixed; color: #fff}

.overlay-aside {
    background-color: rgba(0, 111, 170,.73);  
	position:absolute;
	top:0;	
    height: 100%;
    width: 100%;
    background-image: url(../img/overlay-1.png);
}

/* Buttons
------------------------- */


.btn-scroll-dark,
.btn-scroll-light {
  font-size: 30px;
  background: transparent;
  height: 55px;
  width: 55px;
  border-radius: 100%;
  line-height: 45px;
  margin-top: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transitino: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.btn-scroll-dark:hover,
.btn-scroll-light:hover,
.btn-scroll-dark:focus,
.btn-scroll-light:focus,
.btn-scroll-dark:active,
.btn-scroll-light:active {
  outline: none;
}
.btn-scroll-dark {
  color: #3e444d;
  border: 2px solid #3e444d;
}
.btn-scroll-dark:hover,
.btn-scroll-dark:focus,
.btn-scroll-dark:active {
  color: #3e444d;
  background: rgba(62, 68, 77, 0.2);
}
.btn-scroll-light {
  color: #f4f5f7;
  border: 2px solid #f4f5f7;
}
.btn-scroll-light:hover,
.btn-scroll-light:focus,
.btn-scroll-light:active {
  color: #f4f5f7;
  background: rgba(244, 245, 247, 0.2);
}
@media (min-width: 768px) {
  .btn-scroll-dark,
  .btn-scroll-light {
    margin-top: 30px;
  }
}

.btn {
  text-transform: uppercase;
  font-family: "PT Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.btn-outline.btn-white, .btn-outline.btn-dark, .btn-outline.btn-primary, .btn-outline.btn-secondary, .btn-outline.btn-success, .btn-outline.btn-info, .btn-outline.btn-warning, .btn-outline.btn-danger {
    background-color: transparent;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transitino: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.btn-outline.btn-white {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline.btn-primary{
	border: 2px solid #004271;
    color: #004271;
	
}

#about .team-member { margin-top: 0px; line-height: 0; }
#about .team-member:hover > a { border: #27b1d2 2px solid; }
#about .team-member > a { display: block; width: 100%; border: transparent 2px solid; }
#about .team-member > a img { width: 100%; padding: 0; margin: 0; }
#about .team-member .toolbar {  padding: 0 20px; margin-top: 0px; }
#about .team-member .toolbar { position: relative; width: 100%;  }
#about .team-member .toolbar h3{margin: 14px 0;font-size: 16px;}
#about .team-member .toolbar h3 span{font-style:italic}



.side-block {
    background: #efefef;
    padding: 10px 20px;
	margin-bottom:20px;
}


.logo-ins li{
    padding: 0 12px; max-width:180px;
}

.image-box {
    background-color: #fafafa;
    border: 1px solid #f3f3f3;
}

.overlay-container {
    position: relative;
    display: block;
    overflow: hidden;
}

.image-box-body {
    padding: 20px 15px 15px;
}
.image-box h3.title {
    margin-top: 0;
}

/*.grid-space-20 .col-lg-6, .grid-space-20 .col-lg-4, .grid-space-20 .col-lg-3, .grid-space-20 .col-md-6, .grid-space-20 .col-md-4, .grid-space-20 .col-md-3, .grid-space-20 .col-sm-6, .grid-space-20 .col-sm-4, .grid-space-20 .col-sm-3, .grid-space-20 .col-xs-6, .grid-space-20 .col-xs-4, .grid-space-20 .col-xs-3 {
    padding-left: 10px;
    padding-right: 10px;
}*/

.grid-space-20 {
    margin: 20px 0 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
}

.separator-2 {
display: block;
    width: 30px;
    height: 5px;
    margin: -15px 0 20px;
    background-color: #0b92d3;
    position: relative;
}

.box-description{padding: 20px 15px 15px;}


 .social i{font-size: 26px;}

/* ------------- Testimonial Carousel---------------- */

#testimonial-carousel p {
    font-size: 16px;padding: 0 12px;
}

.content-2 #testimonial-carousel .item img {
  margin: 0 auto;
  padding: 10px 30px;
}
.content-2 .owl-theme .owl-controls .owl-buttons div {
  position: absolute;
}
.content-2 .owl-theme .owl-controls .owl-buttons .owl-prev {
  left: 5%;
  top: 40%;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  font-size: 16px;
  line-height: 35px;
}
.content-2 .owl-theme .owl-controls .owl-buttons .owl-next {
  right: 5%;
  top: 40%;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  font-size: 16px;
  line-height: 35px;
}

.content-2 .owl-theme .owl-controls .owl-buttons div {
    color: #111;
    display: inline-block;
    zoom: 1;
    margin: 5px;
    padding: 3px 10px;
    font-size: 15px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background: #fff;
    filter: Alpha(Opacity=100);
    opacity: 1;
}
.content-2 .owl-page span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #fff;
}

.content-2 .owl-theme .owl-controls .owl-page span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    filter: Alpha(Opacity=75);
    opacity: 0.75;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #fff;
}
.content-2 .owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
    filter: Alpha(Opacity=100);
    opacity: 1;
}


@media (min-width: 767px) {
  .content-2 #testimonial-carousel .item img {
    max-width: 725px;
  }
  #testimonial-carousel p {
    font-size: 20px;padding: 0;
	}
}

/* RESPONSIVE CSS
-------------------------------------------------- */



@media (min-width: 768px) {
	
	h4, .h4{font-size:20px;}

	section{padding: 80px 0}

	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
		margin-right: -115px;
	}
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
		margin-left: -115px;
	}

	.logo-ins{padding: 15px 0;}

		
	.top {
		text-align:right;
		
	}
	.top p{margin: 12px 0; font-size: 26px;}

	.logo {
		position: absolute;
		margin-top: 0;
		top:0;
		margin-left: 15px;
		float:none;
	}
			
	  /* Navbar positioning foo */
	  
	.navbar-wrapper .navbar {
	  padding-right:0;
	  padding-left: 0;
	}
	  /* The navbar becomes detached from the top, so we round the corners */
	  .navbar-wrapper .navbar {
		border-radius: 0px;
	  }
	  
	 .navbar-nav>li>a {
		padding-top: 15px;
		padding-bottom: 15px;
	} 


	  .featurette-heading {
		font-size: 50px;
	  }
	  
	  .large-hdg {font-size: 40px}
	  
	  .team-member.option-3 {
		overflow: hidden;
		margin-bottom: 20px;
	}
	.team-member.option-3 .overlay-container {
		float: left;
		width: 45%;
	}
	.team-member.option-3 .image-box-body {
		float: left;
		width: 55%;
		padding: 20px 10px 5px 15px;
	}

  
}


@media (min-width: 992px) {
  .featurette-headingxtra {
    margin-top: 10px;
  }
}

@media (max-width: 1199px) and (min-width: 768px){
.team-member.option-3 .image-box-body {
    padding: 40px 0;
}
}
@media (max-width: 767px){
.team-member .image-box-body {
    padding: 15px 25px;
}
}