/* ==== Google font ==== */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600);

@import url('font-awesome.css');
/* ==== overwrite bootstrap standard ==== */
@import url('overwrite.css');
@import url('animate.css');

body {
	font-family: 'Open Sans', sans-serif;
	font-size:14px;
	font-weight:300;
	line-height:1.6em;
	color:#333;
	background-color:#fff;
}

hi,h2,h3,h4,h5,h6 {
	color:#333;
	line-height:1.1em;
	text-transform:uppercase;
}

p {
	color:#333;
	margin-bottom:1em;
}
a {
    text-decoration:none;
    transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    outline: none;
	color:#333;
}
a:hover {
  text-decoration: none;
  color:#fff;	
}

hr {
	margin-top:20px;
	margin-bottom:50px;
}


h5 a{
	color:#FFF;}

.nopad
{ padding:0px;}

.navbar-brand {
  float: left;
  height: 50px;
  padding:0px;
  font-size: 30px;
  line-height: 20px;
}
a.navbar-brand span {
	color:#24325D;
	font-size:35px;
}


.navbar-collapse {
	float:right;
	padding-right: 15px;
	padding-left: 15px;
	overflow-x: visible;
	-webkit-overflow-scrolling: touch;
	border-top: 0;
	
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 0;
}
.nav-tabs {
  border-bottom:0; 
}
.nav > li > a,.dropdown-menu>li>a   {
  position: relative;
  display: block;
  padding: 20px 25px;
}
.nav-tabs > li > a,.dropdown-menu>li>a  {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 0;
  border-radius: 0 0 0 0;
   text-transform:uppercase;
}
.nav-tabs > li > a:hover {
	background-color: #333;
}
.nav-tabs > li.active > a {
	color: #fff;
  cursor: default;
  background-color:#1f2021;
  border: 0;
  border-bottom-color: transparent;

}
.nav-tabs > li.active > a:hover {
	color: #fff;
	border: 0;
	background-color: #333;
	 cursor: pointer;
}

.slider {
	margin-top:59px;
	background-color:#eee;
	padding-top:23px;
	padding-bottom:5px;
}

.title{
	margin: auto;
	  text-align: center;
	  padding: 4em;}
.title h2{
	color:#FFF;
	}

.jumbotron {
	background-color:#fff;
	text-align:center;
}
.jumbotron h1 {
	color:#24325D;
	margin-bottom:20px;
}
.jumbotron p {
	line-height:1.6em;
}

section.box {
	background-color:#f9f9f9;
	text-align:left;
	padding-top:50px;
	padding-bottom:50px;
}

.services  {
	text-align:center;	
}
.services p {
	margin-bottom:30px;
	margin-top:30px;
	color:#090909;
}
.icons i {
	padding:50px;
	border-radius:50%;
	color:#fff;
	background-color:#24325D;
	border-color:#ccc;
	margin-top:30px;
	margin-bottom:30px;
	box-shadow: 0 0 0 8px rgba(255,255,255,1);
	-webkit-transition: background 0.2s, color 0.2s;
	-moz-transition: background 0.2s, color 0.2s;
	transition: background 0.2s, color 0.2s;
}
.icons i:hover {
	background-color:#fff;
	color: #24325D;
}
/*=========================
 our story
 ================= */

.breadcrumb {
	margin-top:0px;
	text-align:center;
	border-radius: 0;	
}
.mtop{margin-top:60px;}
.breadcrumb h2 {
	color:#24325D;
	font-size:30px;
}
.ourstory img {
	margin-bottom:30px;
	margin-top:0px;
}
.ourstory p {
	margin-bottom:30px;
	margin-top:20px;
}
.profile {
	margin-bottom:60px;
}

.container article{
	clear:both;}

.sidebar li a:visited{
	color:#333;}
.sidebar li a:hover,.sidebar li a:active{
	color:#014289;
	text-decoration:none;
	}

/*=========================
 events
 ================= */
.events h2 {
	margin-top:60px;;
}
 
.events p {
	margin-top:20px;
}
.events .jessa {
	margin-bottom:60px;
}
.events .slider {
	background-color:#eee;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 0;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #fff;
  background-color: #24325D;
  border-color: #24325D;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #24325D;
  border-color: #24325D;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
/*===========================
  Portfolio
============================ */
#section-works {
	margin-top:-20px;	
	background-color:#fff;
	padding-top:50px;
	padding-bottom:50px;
}

nav#filter a {
	background-color: #fff;
	color:#333;
}
nav#filter a:hover, nav#filter a.current {
	background-color: #24325D;
	color:#fff;
}

/* ------- */

.isotopeWrapper article{
    margin-bottom: 30px;
}

#portfolio img  {
	width:100%;	
}

#portfolio article p {
	margin-bottom:1.45em;/*set next row on the baseline*/
}
nav#filter {
	margin-bottom:1.5em;
}

nav#filter li {
	display:inline-block;
	margin:0 0 0 5px;
}
nav#filter a {
	padding: 4px 12px;
	line-height: 20px;
	text-decoration: none;
}

.portfolio-items article img {width:100%;} 

.portfolio-item {
	display: block;
	position: relative;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.portfolio-item img {
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear;	
}

.portfolio-item .portfolio-desc {
    display: block;
    opacity: 0;
    position: absolute;
    width: 100%;
	left: 0;
	top: 0;
	color: rgba(220, 220, 220, 0.7);
}
.portfolio-item:hover .portfolio-desc {
	padding-top: 20%;
	height: 100%;
    transition: all 200ms ease-in-out 0s;
	opacity: 1;
}

.portfolio-item .portfolio-desc a {
	color: #000;
}
.portfolio-item .portfolio-desc a:hover {
	/*text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.7);*/
	text-decoration: none;
}
.portfolio-item .portfolio-desc .folio-info {
	top:-20px;	
	padding: 30px;
	height: 0;
    opacity: 0;
    position: relative;
}
.portfolio-item:hover .folio-info{
	height: 100%;
    opacity: 0.8;
    transition: all 500ms ease-in-out 0s;
	top:-10px;
	text-align:center;
}


.portfolio-item .portfolio-desc .folio-info h5 {
	text-transform: uppercase;
	text-align:center;
	
}
/* --- contact-area --- */


button.btn-default {
	margin-top:10px;
	margin-bottom:30px;
	background-color:#fff;
	color:#333;
}
button.btn-default:hover {
	background-color:#24325D;
	color:#fff;
}
textarea.form-control {
	border-radius:0;
}
.recent {
	margin-bottom:50px;
}


/* --- Map --- */
.map{
	position:relative;
		
}

.map iframe{
	width:100%;
	height:280px;
	border:none;
}

.map-grid iframe{
	width:100%;
	height:350px;
	border:none;
	margin:0 0 -5px 0;
	padding:0;
}

.container h5{
	background: #333;
  padding: 5px;
  color: #FFF;}
 
.container h2{
	color:#014289;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;}
.container h3{
	color:#96C11F;
	
  	
	clear:both;}
.sidebar {
  margin-top: 1em;
}





/*table*/

#keywords thead {
  cursor: pointer;
  background: #c9dff0;
}
#keywords thead tr th { 
  font-weight: bold;
  padding: 12px 30px;
  padding-left: 42px;
}
#keywords thead tr th span { 
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}

#keywords thead tr th.headerSortUp, #keywords thead tr th.headerSortDown {
  background: #acc8dd;
}

#keywords thead tr th.headerSortUp span {
  background-image: url('http://i.imgur.com/SP99ZPJ.png');
}
#keywords thead tr th.headerSortDown span {
  background-image: url('http://i.imgur.com/RkA9MBo.png');
}


#keywords tbody tr { 
  color: #555;
}
#keywords tbody tr td {
  text-align: center;
  padding: 15px 5px;
}
#keywords tbody tr td.lalign {
  text-align: left;
}


/*=========================
  Footer
 ================= */

footer {
  background: #24325D;
}

.inner-footer {
  padding: 40px 0;
}
.inner-footer  ul li,a  {
	 list-style:none;
}
.widgetheading {
  font-size: 24px;
  color: #fff;
  font-weight: 100;
  margin-top: 0;
  margin-bottom: 40px;
  
}
.f-about a h1 {
	margin-top: 0;
	margin-bottom: 40px;
	color: #fff;
	
}
.f-about a h1 span {
	color: #fff;
	
}
.f-about p {
  font-size: 14px;
  color: #8a8d94;
}
.l-posts h3 {
	margin-left:40px;
}
.l-posts li a {
  font-size: 14px;
  color: #8a8d94;
  margin: 0;
  font-weight: 300;
  border-bottom: 1px solid #2c2d2e;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: block;
}

.l-posts li a:hover  {
  color: #fff;
}

.f-contact p {
  font-size: 14px;
  color: #8a8d94;
  margin: 0;
  
  font-weight: 300;
  margin-bottom: 15px;
}

.f-contact i {
  color: #56595f;
  font-size: 16px;
  margin-right: 10px;
}

.f-contact a:hover p{
  color: #fff;
}
.last-div {
    background: #1f2021;
    padding: 20px 0;
    position: relative;
	
}

.copyright {
    font-size: 14px;
    color: #8a8d94;
    margin: 0;
    text-align:center;
    font-weight: 300;
    float: left;
}
.copyright a{
    color: #8a8d94;
	text-align:center;
}
.copyright a:hover {
    text-decoration: underline;
    color: #24325D;
}

.foot-nav {
    float: right;
	margin-right:20px;
}

.foot-nav li {
    display: inline;
	margin-right:20px;
}

.foot-nav li:after {
    content: "";
    padding-left: 7px;
    margin-right: 7px;
}

.foot-nav li:last-child:after {
	display: none;
}

.foot-nav a {
	font-size: 14px;
	color: #8a8d94;
	margin: 0;
	font-weight: 300;
}

.foot-nav a:hover {
    color: #24325D;
}

ul.social-network {
	list-style:none;
	margin:0;
	float:right;
	
}

ul.social-network li {
	display:inline;
	margin: 0 10px;
	color:#fff;
}
ul.social-network li a {	
	color:#fff;
}





promoblock_wrapper{padding:30px 30px 20px;background:#f6f7f9}.promo_text_block{float:left;max-width:85%}.promo_button_block{float:right;width:15%;text-align:right}.promo_text_main_title{margin-bottom:4px;font-size:30px;line-height:40px;font-weight:700;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.promo_text_additional_title{font-size:16px;line-height:25px;font-weight:300;margin:0 0 13px;padding:0;text-transform:none}.promo_button_block a.shortcode_button{margin-right:auto;margin-left:auto;margin-top:24px}.promo_button_block a.shortcode_button.btn_large,.promo_button_block a.shortcode_button.btn_normal{margin-bottom:5px}.shortcode_promoblock.no_button_text.no_button_link .promo_text_block{max-width:100%}.text-center .promo_button_block,.text-center .promo_text_block{float:none;max-width:100%;display:block;text-align:center;width:100%}.fw_block .promoblock_wrapper{padding:50px 30px 40px 0;border-left:none}.fw_block .promo_text_additional_title,.fw_block .promo_text_main_title{color:#fff}.fw_block .promo_button_block a.shortcode_button{background:#fff}.fw_block .promo_button_block a.shortcode_button:hover{color:#fff}.shortcode_accordion_item_body,.shortcode_toggles_item_body{display:none}



ul.resp-tabs-list {
    margin: 0px;
    padding: 0px;
}

.resp-tabs-list li {
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    padding: 13px 15px;
    margin: 0 4px 0 0;
    list-style: none;
    cursor: pointer;
    float: left;
}

.resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    clear: left;
}

h2.resp-accordion {
    cursor: pointer;
    padding: 5px;
    display: none;
}

.resp-tab-content {
    display: none;
    padding: 15px;
}

.resp-tab-active {
	border: 1px solid #5AB1D0 !important;
	border-bottom: none;
	margin-bottom: -1px !important;
	padding: 12px 14px 14px 14px !important;
	border-top: 4px solid #5AB1D0 !important;
	border-bottom: 0px #fff solid !important;
}

.resp-tab-active {
    border-bottom: none;
    background-color: #fff;
}

.resp-content-active, .resp-accordion-active {
    display: block;
}

.resp-tab-content {
    border: 1px solid #c1c1c1;
	border-top-color: #5AB1D0;
}

h2.resp-accordion {
    font-size: 13px;
    border: 1px solid #c1c1c1;
    border-top: 0px solid #c1c1c1;
    margin: 0px;
    padding: 10px 15px;
}

h2.resp-tab-active {
    border-bottom: 0px solid #c1c1c1 !important;
    margin-bottom: 0px !important;
    padding: 10px 15px !important;
}

h2.resp-tab-title:last-child {
    border-bottom: 12px solid #c1c1c1 !important;
    background: blue;
}

/*-----------Vertical tabs-----------*/
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 20%;
}

.resp-vtabs .resp-tabs-list li {
    display: block;
    padding: 15px 15px !important;
    margin: 0 0 4px;
    cursor: pointer;
    float: none;
}

.resp-vtabs .resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    border: 0px solid #c1c1c1;
    float: left;
    width: 78%;
    min-height: 250px;
    border-radius: 4px;
    clear: none;
    
}

.resp-vtabs .resp-tab-content {
    border: none;
    word-wrap: break-word;
}

.resp-vtabs li.resp-tab-active { 
position: relative;
z-index: 1;
margin-right: -1px !important;
padding: 14px 15px 15px 14px !important;
border-top: 1px solid;
border: 1px solid #5AB1D0 !important;
border-left: 4px solid #5AB1D0 !important;
margin-bottom: 4px !important;
border-right: 1px #FFF solid !important;
}

.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #c1c1c1;
}

h2.resp-tab-active span.resp-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #9B9797;
}
*-----------Accordion styles-----------*/
h2.resp-tab-active {
    background: #DBDBDB;/* !important;*/
}

.resp-easy-accordion h2.resp-accordion {
    display: block;
}

.resp-easy-accordion .resp-tab-content {
    border: 1px solid #c1c1c1;
}

.resp-easy-accordion .resp-tab-content:last-child {
    border-bottom: 1px solid #c1c1c1;/* !important;*/
}

.resp-jfit {
    width: 100%;
    margin: 0px;
}

.resp-tab-content-active {
    display: block;
}

h2.resp-accordion:first-child {
    border-top: 1px solid #c1c1c1;/* !important;*/
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {


.navbar-brand{
	  width: 320px;}
	 
.nav-tabs>li{
	width:100%;}

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "First Name"; }
	td:nth-of-type(2):before { content: "Last Name"; }
	td:nth-of-type(3):before { content: "Job Title"; }
	td:nth-of-type(4):before { content: "Favorite Color"; }
	td:nth-of-type(5):before { content: "Wars of Trek?"; }
	td:nth-of-type(6):before { content: "Porn Name"; }
	td:nth-of-type(7):before { content: "Date of Birth"; }
	td:nth-of-type(8):before { content: "Dream Vacation City"; }
	td:nth-of-type(9):before { content: "GPA"; }
	td:nth-of-type(10):before { content: "Arbitrary Data"; }
}

@media only screen and (max-width: 768px) {
.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}

    ul.resp-tabs-list {
        display: none;
    }

    h2.resp-accordion {
        display: block;
    }

    .resp-vtabs .resp-tab-content {
        border: 1px solid #C1C1C1;
    }

    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: 100px;
        clear: none;
    }

    .resp-accordion-closed {
        display: none !important;
    }

    .resp-vtabs .resp-tab-content:last-child {
        border-bottom: 1px solid #c1c1c1 !important;
    }
}