/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #666; color: #fff; text-shadow: none; }
::selection { background: #666; color: #fff; text-shadow: none; }

a { color: #00e; }
a:hover { color: #06e; }
a:focus { outline: 0; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */
   
/* - - - Fonts - - - */

@font-face {
    font-family: 'edelsans';
    src: url('fonts/edelsans_regular-webfont.eot');
    src: url('fonts/edelsans_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/edelsans_regular-webfont.woff') format('woff'),
         url('fonts/edelsans_regular-webfont.ttf') format('truetype'),
         url('fonts/edelsans_regular-webfont.svg#edelsansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* - - - Global Styles - - - */

.arial { font-family: Arial, Verdana, sans-serif;}

.prox { font-family: "proxima-nova", Arial, Verdana, sans-serif;}

.ed { font-family: 'edelsans', "proxima-nova", Arial, Verdana, sans-serif;}

.grey { color: #838079;}

.lt-grey { color: #a2a09b;}

.dk-grey { color: #646058;}

.white { color: #fff;}

.red { color: #ae4540;}

.dk-red { color: #771310;}

.italic { font-style: italic;}

.normal { font-weight: normal;}

.bold { font-weight: bold;}

.center { text-align: center;}

.upper { text-transform: uppercase;}

.lower { text-transform: lowercase;}

.space { letter-spacing: .1em;}

.space2 { letter-spacing: .2em;}

.fleft { float: left;}

.fright { float: right; }

.plain a, a.plain { text-decoration: none;}

a { color: #ae4540;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
transition: all .25s ease;
}

a:hover { color: #646058;}

.rel { position: relative;}

ul.clean { list-style: none; margin: 0; padding: 0;}

ul.inline { display: inline-block;}

ul.inline li { display: inline; float: left;}

.black-trans { background: url(images/black-trans.png) repeat;}

.red-bg { background: url(images/red-bg.png) repeat;}

.pointer { cursor: pointer;}

.border-bottom { border-bottom: 1px solid #a2a09b;}

.border-top { border-top: 1px solid #a2a09b;}

/* - - - Splash Page - - - */

body { color: #646058;}

#container .splash-text { font-size: 90%; position: absolute; bottom: 40px; left: 50%; margin-left: -200px; width: 400px; text-align: center; }

.sep { padding: 0 10px;}

/* - - - Main Structure - - - */

body { min-width: 920px; }

#container { width: 800px; margin: 0 auto; padding: 0 60px; }

.page-template-homepage-php { min-width: inherit !important;}

.page-template-homepage-php #container { overflow: hidden; width: auto; min-width: 200px;}

html, body {height: 100%;}

#container {min-height: 100%;}

#main { padding-bottom: 40px;}  /* must be same height as the footer */

footer {position: relative; width: 100%; overflow: hidden;
margin-top: -40px; /* negative value of footer height */
height: 40px;
clear:both;} 

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

#ie8 #container {display:table;height:100%}

/* - - - Footer - - -*/

footer { display: block; text-align: right; font-size: 75%; position: relative; z-index: 100;}

.footer-text, .footer-tag, .footer-tag-text { height: 40px; line-height: 40px; display: inline-block; padding-right: 20px;}

.footer-text, .footer-tag { float: right;}

.footer-tag { padding-right: 0; width: 490px; overflow: hidden; margin-right: -450px; text-align: left;  }

a.footer-toggle { display: block; width: 40px; height: 40px; background: url(images/red-plus-large.png) no-repeat; text-indent: 9999px;}

.footer-toggle-wrap { position: absolute; right: 0; width: 40px; height: 40px; z-index: 100;}

a.footer-toggle.open { background-image: url(images/red-minus-large.png);}

a.footer-toggle:hover, .footer-tag-text .email a:hover span { opacity: 0.7;}

.footer-tag-text { padding-left: 10px; padding-right: 0; text-align: right; }

.footer-tag-text a { display: inline-block; color: #fff; }

.footer-tag-text a span { background: url(images/red-contact.png) no-repeat left -8px; padding-left: 45px; height: 40px;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
transition: all .25s ease;
}

.footer-tag-text .email a:hover { color: #771310;}

.footer-sep { padding: 0 20px;}

.phone { position: relative; top: -3px; font-size: 110%;}

footer .prox { font-size: 110%;}

/* - - - Home Logo & Nav - - - */

.page-template-homepage-php a.logo { width: 210px; height: 170px; background: url(images/cka-logo.png) no-repeat center; position: absolute; top: 50%; left: 50%; margin-top: -110px; margin-left: -70px; z-index: 100; text-indent: -9999px; }

.page-template-homepage-php ul.nav { position: absolute; top: 50%; margin-top: -75px; left: 50%; margin-left: 200px; line-height: 1.8em; width: 160px; }

.page-template-homepage-php ul.nav li { margin-bottom: 26px;}

.page-template-homepage-php ul.nav li a { display: block; color: #a2a09b; }

.page-template-homepage-php ul.nav li a:hover { color: #9e4540;}

/* - - - Header & Navigation - - - */

header { height: 170px;}

header a.logo { width: 165px; height: 125px; position: absolute; bottom: 25px; left: -3px; text-indent: -9999px; background: url(images/cka-logo-small.png) no-repeat center; }

header ul.nav { position: absolute; right: 0; bottom: 20px; display: inline-block; font-size: 90%; }

header ul.nav li { display: inline; float: left; margin: 0 0 0 40px; }

header ul.nav li a { color: #838079; padding-top: 10px; display: block; border-top: 1px solid transparent; }

header ul.nav li a:hover, header ul.nav li#current a { color: #ae4540; border-top: 1px solid #a2a09b;}

/* - - - Contact - - - */

#main { padding: 30px 0 60px 0;}

.contact-left { width: 270px; }

.contact-right { width: 490px;}

.sidebar-title { font-size: 80%; padding-bottom: 5px;}

.sidebar-section { padding-bottom: 25px;}

.sidebar-section a { color: #838079; }

.sidebar-section a:hover { color: #646058; }

.sidebar-text { font-size: 80%;}

/* - - - Portfolio - - - */

.text { font-size: 75%;}

.slide-wrap { height: 533px; overflow: hidden;}

a.flex-next, a.flex-prev { width: 42px; height: 100px; position: absolute; top: 50%; margin-top: -50px; display: block; text-indent: -9999px; z-index: 1000; }

a.flex-prev { background: url(images/arrow-left.png) no-repeat; left: -65px;}

a.flex-next { background: url(images/arrow-right.png) no-repeat; right: -65px;}

a.flex-next:hover, a.flex-prev:hover { opacity: 0.6;}

.portfolio-text { height: 186px; overflow: hidden; position: absolute; bottom: -300px; padding: 20px 20px 60px 20px; width: 760px; overflow: hidden;}

.text-toggle { position: absolute; bottom: 0; right: 0; z-index: 100; width: 30px; height: 30px;}

.text-toggle a {  background: url(images/red-plus-small.png) no-repeat; display: block; text-indent: -9999px;}

.text-toggle a:hover { opacity: 0.7;}

.portfolio-title { padding-bottom: 5px; border-color: #fff; -webkit-font-smoothing: antialiased !important;}

.text-toggle a.open { background-image: url(images/red-minus-small.png);}

.text-toggle.glow {
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
transition: all .4s ease;
-webkit-box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, .5);
box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, .5);
}

.text-toggle.glow2 {
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
transition: all 1s ease;
-webkit-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0);
box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0);
}

.portfolio-caption { font-size: 80%; line-height: 1.6em; -webkit-font-smoothing: antialiased !important;}

a.more-photos { display: inline-block; padding-left: 35px; background: url(images/more-photos-button.png) no-repeat left 7px; line-height: 30px; position: absolute; bottom: 10px; left: 20px; color: #fff; font-size: 80%; cursor: pointer;}

a.more-photos:hover { opacity: 0.6;}

.credit { display: inline-block; position: absolute; right: 20px; bottom: 8px; line-height: 30px; font-size: 70%; padding-left: 210px; padding-right: 30px;}

.hide { display: none;}

.fancybox-inner, .fancybox-outer, .fancybox-skin { background: rgba(0,0,0,.5) !important;}

.slide-title { font-size: 110%; position: absolute; bottom: -10px; width: 500px;}

.slide-photo-count { text-align: right; font-size: 80%; padding-top: 10px;}

a.more-photos-link i { width: 8px; height: 8px; line-height: 8px; margin-left: 8px; background: #838079; display: inline-block;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
transition: all .25s ease;
}

a.more-photos-link i:hover { background: #ae4540; }

.black-overlay { width: 100%; height: 100%; z-index: 10000; background: rgba(0,0,0,.85); position: absolute; top: 0; left: 0; display: none;}

.black-overlay .inner { width: 800px; margin: 0 auto; padding: 0 60px; height: 200px; position: relative; }

.black-overlay .text-toggle { position: absolute; top: 704px; left: 830px; z-index: 100;}

/* - - - About - - - */

.page-template-about-php #container { overflow: hidden;}

.about-right { width: 604px; }

.about-text, .person-text { font-size: 80%; line-height: 1.8em;}

ul.people-list { margin-top: 30px;}

ul.people-list li { margin: 0 4px 2px 0; width: 300px; height: 380px; z-index: 1; position: relative;}

ul.people-list li.active { z-index: 101;}

ul.people-list li.second { margin-right: 0;}

.person-name { font-size: 85%; padding-top: 15px;}

.person-text-wrap { padding: 20px 20px 60px 20px; width: 564px; position: absolute; bottom: 384px; left: 0; z-index: 1000; display: none;}

.person-text-wrap a { color: #fff;}

.person-text-wrap a:hover { opacity: 0.7;}

ul.people-list li.second .person-text-wrap { left: -304px;}

ul.people-list li.third .person-text-wrap { left: -404px;}

.person-toggle { width: 30px; height: 30px; display: block; position: absolute; top: 270px; right: 0; z-index: 100;}

.person-toggle a { display: block; width: 30px; height: 30px; text-indent: -9999px; background: url(images/red-plus-small.png) no-repeat;}

.person-toggle a:hover { opacity: 0.7;}

.person-toggle a.open { background-image: url(images/red-minus-small.png); }

.person-image img { width: 300px; height: auto;}

.person-image { position: relative; z-index: 1;}



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

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}











/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 820px) {
	/* Style adjustments for viewports that meet the condition */
	.page-template-homepage-php footer { display: none;}
	html{ background: url(images/grey-texture.jpg) repeat !important; }
	.page-template-homepage-php a.logo { margin-left: -105px;}
	.page-template-homepage-php ul.nav { width: 210px; margin-top: 90px; margin-left: -105px; text-align: center;}
	.page-template-homepage-php ul.nav li { margin-bottom: 5px;}
}

@media only screen and (max-height: 800px) {
	/* Style adjustments for viewports that meet the condition */
	.sidebar-title { display: none;}
	
}


@media only screen and (max-height: 600px) {
	/* Style adjustments for viewports that meet the condition */
	html{ background: url(images/grey-texture.jpg) repeat !important; }
	
}


/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
