
/* a. Common Styles

/* ================================================================== */

.section-head h2 { font: 30px/42px 'philosopherregular', sans-serif;, sans-serif; }
.desc { font: 14px/24px 'philosopherregular', sans-serif;, sans-serif; }
.intro { font: 20px/36px 'philosopherregular', sans-serif;, sans-serif; }

/* Left clearing for flexible columns - columns that changes width in
different screen sizes. Makes columns with different heights align
properly.
--------------------------------------------------------------------- */
.first { clear: left; }   /* first column in default screen */
.m-first { clear: none; } /* first column in medium size screens */

/* Flex Slider
/* ------------------------------------------------------------------ */

/* Reset */
.flexslider a:active,
.flexslider a:focus  { outline: none; }
.slides, .flex-control-nav,
.flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.slides li { margin: 0; }

/* Necessary Styles */
.flexslider {
   position: relative;
   zoom: 1;
   margin: 0;
   padding: 0;
}
.flexslider .slides { zoom: 1; }
.flexslider .slides > li { position: relative; }

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; }
/* Suggested container for slide animation setups. Can replace this with your own */
.flex-container { zoom: 1; position: relative; }

/* Clearfix for .slides */
.slides:before,
.slides:after {
    content: " ";
    display: table;
}
.slides:after {
    clear: both;
}

/* ================================================================== */

/* b. Header Styles

/* ================================================================== */

header {
   height: 100px;
   width: 100%;
   z-index: 8;
   background-color: #7fb2f0;
   zoom: 1;
   filter: alpha(opacity=50);
   opacity: 0.9;
   position: fixed;
   top: 0;
   left: 0;
}
header.static {
   background: #35478c;
   position: static;
}

/* header logo */
header .logo {
   position: relative;
   height: 60px;
   width: 213px;
   float: left;
}
header .logo a {
   display: block;
   line-height: 18px;

   position: absolute;
   left: 0px;
   top: 20px;
}
header img {
   width: 100%;
   height: auto;
}

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
	padding: 0;
	border: none;
	outline: none;
}

/* nav-wrap */
#nav-wrap {
	position: relative;
   font: 20px 'philosopherbold', sans-serif;
   float: right;
   margin: 20px 200px;
}

/* hide toggle button */
#nav-wrap > a { display: none; }

ul#nav {
   min-height: 54px;
   width: auto;

   /* left align the menu */
   text-align: left;
}
ul#nav li {
	position: relative;
	list-style: none;
   height: 54px;
   margin-right: 20px;
   display: inline-block;
}
ul#nav > li.active a {
   background: #add5f7;
   color: #fff !important;
}

/* Links */
ul#nav li a {
   display: block;
   padding: 0 14px;
   line-height: 54px;
	text-decoration: none;
   text-align: left;
   color: #35478c;

	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

ul#nav li a:active { background-color: transparent !important; }
ul#nav li:hover > a,
ul#nav li.active a { color: #ffffff; }



/* ================================================================== */

/* c. Intro Section

/* ================================================================== */

#intro {
   background: #000 url(../images/intro-bg.png) no-repeat center;
   overflow: hidden;
}

/* FlexSlider Intro Slider Styles */
.slides {
   max-height: 800px;
   overflow: hidden;
}
.slider-text {
	color: #35478c;
   text-align: center;
   width: 85%;
   margin: 170px auto 66px auto;
}
.slider-text h2 {
   font: 56px/78px 'philosopherregular', sans-serif;
   color: #35478c;
   text-shadow: 0px 1px 5px rgba(50, 50, 50, .5);
   padding: 0;
   margin: 0;
}
.slider-text h2 span,
.slider-text a { color: #11ABB0; }

.slider-text p {
   font: 17px/36px opensans-light, sans-serif;
   text-shadow: 0px 1px 2px rgba(0, 0, 0, .3);
   padding: 0;
   margin: 18px 10% 0;
}


/* Direction Navigation
--------------------------------------------------------------- */
.flex-direction-nav a {
   display: block;
	width: 40px;
	height: 66px;
	margin: 0;
	background-color: #ababab;
	cursor: pointer;
	z-index: 99999;
	opacity: 0;
   position: absolute;
	top: 50%;

   font: 0/0 a;
   text-shadow: none;
   color: transparent;

	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.flex-direction-nav a:hover { background-color: #d8d8d8; }

.flex-direction-nav .flex-next {
	right: 0px;
	background: #2D3339 url(../images/direction-nav-right.png) no-repeat 53% 50%;
	position: absolute;
}
.flex-direction-nav .flex-prev {
	left: 0px;
	background: #2D3339 url(../images/direction-nav-left.png) no-repeat 47% 50%;
	position: absolute;
}
.flexslider:hover .flex-next,
.flexslider:hover .flex-prev { opacity: 1; }
.flex-direction-nav .flex-disabled {
   opacity: .3 !important;
   filter: alpha(opacity=30);
   cursor: default;
}


/* ================================================================== */

/* d. Services

/* ================================================================== */

#services {
   padding-top: 156px;
   padding-bottom: 50px;
   color: #7b7b7b;
   background-color: #fff;
   background-image: url('../images/debut_light_@2X.png');
}

#services img {
   width: 100%;
   height: auto;
}

#services a, #services a:visited  { color: #ffffff; }
#services a:hover, #services a:focus { color: #add5f7; }

#services .section-head h2 { color: #000; }
#services .section-head p.desc,
#services .section-head .intro { color: #ffffff; }

.services-wrapper { margin-top: 42px; }
.services-wrapper .col {
   width: 33.33333%;
   margin-bottom: 30px;
}
.services-wrapper h2 {
   font: 16px/24px 'philosopherregular', sans-serif;
   letter-spacing: 1.5px;
   text-transform: uppercase;
   color: #16193b;
   margin-bottom: 18px;
}
.services-wrapper p {
   font-size: 16px;
   line-height: 30px;
}
#services .services-wrapper i { margin-right: 10px; }


/* ================================================================== */

/* e. Portfolio

/* ================================================================== */

#portfolio {
   padding-top: 156px;
   padding-bottom: 50px;
   background-color: #e5e5e5;
}
#portfolio .section-head h2 { color: #16193b; }
#portfolio .section-head p.desc { color: #999999; }
#portfolio .section-head .intro { color: #7b7b7b; }

/* Portfolio Content */
#portfolio-wrapper { margin-top: 36px; }
#portfolio-wrapper .col {
   width: 25%;
   margin-bottom: 36px;
}

.portfolio-item .item-wrap {
   background: #fff;
   overflow: hidden;

   -webkit-box-shadow: 0px 1px 1px rgba(36,36,80,0.86);
   -moz-box-shadow:    0px 1px 1px rgba(36,36,80,0.86);
   box-shadow:         0px 1px 1px rgba(36,36,80,0.86);

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.portfolio-item .item-wrap a { display: block; }
.portfolio-item .portfolio-item-meta { padding: 12px 0; color: #000; }
.portfolio-item .portfolio-item-meta h5 a {
   font: 13px/24px 'philosopherregular', sans-serif;
   color: #000;
   margin-left: 7%;
}

/* on hover */
.portfolio-item:hover .item-wrap { background-color: #add5f7; }
.portfolio-item:hover h5 a { color: #fff !important; }


/* ================================================================== */

/* g. About

/* ================================================================== */

#about {
   padding-top: 80px;
   padding-bottom: 50px;
   color: #7b7b7b;
   background-color: #fff;
   background-image: url('../images/debut_light_@2X.png');
}

#about li {
	margin-left: 50px;
}

#about  a, #about  a:visited  { color: #ffffff; }
#about  a:hover, #about  a:focus { color: #add5f7; }

#about  .section-head h2 { color: #000; }
#about  .section-head p.desc,
#about  .section-head .intro { color: #16193b; }

.about-wrapper { margin-top: 42px; }
.about-wrapper .col {
   width: 33.33333%;
   margin-bottom: 30px;
}
.about-wrapper h2 {
   font: 16px/24px 'philosopherregular', sans-serif;
   letter-spacing: 1.5px;
   text-transform: uppercase;
   color: #16193b;
   margin-bottom: 18px;
}
.about-wrapper p {
   font-size: 16px;
   line-height: 30px;
}
#about  .about-wrapper i { margin-right: 30px; }


/* ================================================================== */

/* i. Contact

/* ================================================================== */

#contact {
   background-image: url('../images/debut_dark_@2X.png');
   padding-top: 156px;
   padding-bottom: 50px;
   color: #fff;
}

#contact a, #contact a:visited  { color: #aed6f8; }
#contact a:hover, #contact a:focus { color: #add5f7; }

#contact .section-head { margin-bottom: 42px; }
#contact .section-head h2 { color: #add5f7; }
#contact .section-head p.desc,
#contact .intro { color: #000000; }
#contact p {  }

/* contact form */
#contact form { margin-bottom: 30px; }

#contact label {
   font: 15px/24px verdana, sans-serif;
   margin: 12px 0;
   color: #cacaca;
	display: inline-block;
	float: left;
   width: 22%;
}

#contact .error {
   color: #ff0000;
}
#contact input,
#contact textarea,
#contact select {
   padding: 18px 20px;
	color: #000000;
	background: #c9e3f7;
	margin-bottom: 42px;
	border: 0;
	outline: none;
   font-size: 15px;
   line-height: 24px;
   width: 66%;
}
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
	color: #000000;
	background-color: #7fb2f0;
}
#contact button.submit {
	font: 18px/30px verdana, sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	color:#000000;
	background: #add5f7;
   padding: 18px 30px;
	border: none;
   cursor: pointer;
   height: auto;
   display: inline-block;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;

   margin-left: 22%;
}
#contact button.submit:hover {
	color: #25292D;
	background: #7fb2f0;
}
#contact span.required {
	color: #ff0000;
	font-size: 13px;
}

#message-warning, #message-success {
   display: none;
	background: #878787;
	padding: 24px 24px;
	margin-bottom: 36px;
   width: 88%;
}
#message-warning { color: #D72828; }
#message-success { color: #11ABB0; }

#message-warning i,
#message-success i {
   margin-right: 10px;
}

#image-loader {
   display: none;
   position: relative;
   left: 18px;
   top: 12px;
}

/* contact sidebar */
#contact aside h3 {
   font: 21px/30px "philosopherregular", sans-serif;
   margin-bottom: 18px;
   color: #fff;
}


/* ================================================================== */

/* h. Map

/* ================================================================== */

#map {
   display: block;
	height: 400px;
   width: 350px;
   background-color: #F6F4EF;
}
#map img { max-width:inherit !important; }
#map .map-error {
  text-align: center;
  padding-top: 48px;
  color: #C0B491;
  font-size: 14px;
}

/* ================================================================== */

/* l. footer

/* ================================================================== */

footer {
   color: #303030;
   height: 100px;
   padding-top: 30px;
   font-size: 14px;
   background-color: #7fb2f0;
   zoom: 1;
   filter: alpha(opacity=50);
   opacity: 0.9;
}
footer a, footer a:visited { color: #e3e3e3; }
footer a:hover, footer a:focus { color: #fff; }

/* copyright */
footer .copyright {
    padding: 0;
    color: #fff;
 }
footer .copyright li {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 12px;
}
.ie footer .copyright li {
   display: inline;
}

footer .copyright li:before {
    content: "|";
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
}
footer .copyright  li:first-child:before {
    display: none;
}

/* social links */
footer .social-links {
   margin: 0;
   padding: 0;
   font-size: 18px;
   margin-top: 5px;
   float: right;
}
footer .social-links li {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 24px;
}
footer .social-links li:first-child { margin-left: 0; }

.scholder {
	background-color: gray;
	width: 40px;
	height: 40px;
}

#facebook {
	float: left;
	width:33px;
	height:33px;
	text-decoration:none;
	display:block;
	background-image:url('../images/facebook.png');
	background-position: 0 66px;
}
#facebook:hover, #facebook:active {
	background-position:0 -33px;
}

#linkin {
	float: left;
	width:33px;
	height:33px;
	text-decoration:none;
	display:block;
	background-image:url('../images/linkin.png');
	background-position: 0 66px;
}
#linkin:hover, #linkin:active {
	background-position:0 -33px;
}

#twit {
	float: left;
	width:33px;
	height:33px;
	text-decoration:none;
	display:block;
	background-image:url('../images/twit.png');
	background-position: 0 66px;
}
#twit:hover, #twit:active {
	background-position:0 -33px;
}

#email {
	float: left;
	width:33px;
	height:33px;
	text-decoration:none;
	display:block;
	background-image:url('../images/email.png');
	background-position: 0 66px;
}
#email:hover, #email:active {
	background-position:0 -33px;
}


/* ================================================================== */

/* m. Media Queries

/* ================================================================== */


/* small screens
--------------------------------------------------------------------- */
@media only screen and (max-width: 1000px) {

   /* adjust sections padding top */
   #services, #portfolio,
   #journal, #about { padding-top: 120px; }

   /* adjust font size */
   .intro, .testimonies .client-cite { font-size: 18px; }

   /* intro section
   -------------------------------------------------------------------- */
   .slider-text h2 { font: 48px/66px 'philosopherregular', sans-serif;, Sans-serif; }

   /* services section
   -------------------------------------------------------------------- */
   #services .section-head .col { width: 100%; }
   #services .services-wrapper { margin-top: 12px; }
   #services .services-wrapper .col { width: 50%; }
   #services .services-wrapper .col { margin-bottom: 0; }

   /* portfolio section
   -------------------------------------------------------------------- */
   #portfolio #portfolio-wrapper { margin-top: 12px; }
   #portfolio #portfolio-wrapper .col { width: 33.33333%; }

   /* journal section
   -------------------------------------------------------------------- */
   #journal .blog-entries { margin-top: 30px; }

   /* about section
   -------------------------------------------------------------------- */
   #about .process-wrap .col { width: 50%; }

   /* about section
   -------------------------------------------------------------------- */
   #about .section-head .col { width: 100%; }

   /* contact section
   ----------------------------------------------------------------------- */
   #contact label { width: 25%; }
   #contact button.submit { margin-left: 25%; }
   #contact input,
	#contact textarea,
	#contact select { width: 70%; }
   #message-warning, #message-success { width: 95%; }

   /* left clearing */
   .first { clear: none; }
   .m-first { clear: left; }

   /* blog
   -------------------------------------------------------------------- */
   .post, #blog-entries .post { padding-top: 96px; }
   .post p.lead, #blog-entries .post .post-content p { font-size: 18px; }
   .post .entry-header h1 {
      padding-right: 18px;
      font-size: 43px;
   }
   .post .post-meta { margin-top: 6px; }
   .post .post-image { margin: 12px 0 24px 0 }
   .post .bio .about { padding-left: 18px; }

}



/* mobile wide
---------------------------------------------------------------------- */

@media only screen and (max-width: 1000px) {

   /* center align some text */
   .section-head, .intro, #about h3,
   #journal .entry-header {
      text-align: center;
   }


   /* mobile navigation
   -------------------------------------------------------------------- */

   header.mobile { height: 100px; }
   header.mobile .logo a { top: 22px; }

   .mobile #nav-wrap {
      position: absolute;
      top: 0;
      right: 40px;
      width: auto;
      margin: 0;
   }
   .mobile #nav-wrap > a {
	   width: 100px;
		height: 100px;
		text-align: left;
		background-color: #35478c;
		position: relative;
      border: none;
      float: right;
      text-shadow: none;
      color: transparent;
      }

	.mobile #nav-wrap > a:before,
   .mobile #nav-wrap > a:after {
	   position: absolute;
		border: 2px solid #fff;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
   .mobile #nav-wrap > a:after { top: 60%; }

   /* toggle buttons */
	.mobile #nav-wrap:not( :target ) > a:first-of-type,
	.mobile #nav-wrap:target > a:last-of-type  {
	   display: block;
	}

   /* hide menu panel */
   .mobile #nav-wrap ul#nav {
      height: auto;
		display: none;
      clear: both;
   }
   .mobile #nav-wrap ul#nav li {
      display: block;
      width: 100%;
      height: 100%;
      text-align: left;
   }
   .mobile #nav-wrap ul#nav > li.active a {
      color: #aed6f8 !important;
      background: none;
   }

   /* display menu panels */
	.mobile #nav-wrap:target > ul#nav	{
	   display: block;
      padding: 12px 25px 24px 25px;
      background: #7fb2f0;
      margin: 0;
      clear: both;
   }
   .mobile #nav-wrap ul#nav li { border-bottom: 1px dotted #d3d9ff; }
   .mobile #nav-wrap ul#nav li a {
      margin: 0;
      padding: 0;
      font-size: 20px;
      margin: 10px 0;
      line-height: 14px;
      border: none;
   }

    /* intro section
   -------------------------------------------------------------------- */
   .slider-text { margin-top: 200px; margin-bottom: 40px; }
   .slider-text h2 { font: 43px/54px 'philosopherregular', sans-serif; }
   .slider-text p {
      font: 14px/30px 'philosopherregular', sans-serif;
      margin-top: 60px;
   }
   .slides {
      overflow: hidden;
      min-height: 200px;
   }

   /* portfolio section
   --------------------------------------------------------------------- */
    .reveal-modal {
   	margin-left: -42%;
		width: 84%;
   }


   /* contact section
   ----------------------------------------------------------------------- */
   #contact label {
      display: block;
      float: none;
      width: auto;
   }
   #contact input,
	#contact textarea,
	#contact select {
      width: 100%;
      margin-bottom: 30px;
	}
   #contact button.submit {
      margin-left: 0;
   }
   #message-warning,
   #message-success {
      width: 100%;
   }


   /* Blog-Entries
   ------------------------------------------------------------------ */
   #bottom-block .blog-categories {
      text-align: center;
   }
   #bottom-block .back-to-top {
      margin-top: 30px;
      text-align: center;
   }


   /* footer
   ------------------------------------------------------------------------ */
   footer .copyright li:before { content: none; }
   footer .copyright li { margin-right: 10px; }
   footer .copyright, footer .social-links {
      text-align: center;
      float: none;
   }
   footer .social-links { margin-top: 12px; }

}

/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 800px) {

   /* intro section
   ------------------------------------------------------------------------- */
   .slider-text { margin-top: 108px; margin-bottom: 36px; }
   .slider-text h2 { font: 32px/42px 'philosopherregular', sans-serif;, sans-serif; }
   .slider-text p {
      font: 12px/24px 'philosopherregular', sans-serif;, sans-serif;
      margin-top: 24px;
   }




