/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* 
PRIMARY
green               #77a618
gray(text)          #7d7d7d
light gray(text)    #c6c8c6
SECONDARY 
red                 #B21A1A

*/

body {
	font-family: 'Open Sans', sans-serif;
    color:#333;
}

h1,h2,h3,h4,h5,h6 {
    color: #77A618;
	font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5,h6,p,ol,ul,li {
	font-weight: 300;
}
a { 
    color: #77a618; 
}

hr {
    margin: 0 2em 3em;
}

textarea {
    font-family: 'Open Sans', sans-serif !important;    /* always use font-family */
    font-size: 0.875em; 
}

/* nav */
nav a {
    color: #555;
    background: none;
}
nav a:hover {
    text-decoration: none;
}

/* LAYOUT - main sections  */
header nav {
    margin-bottom: 40px;
    width: auto;
}
header nav a, header nav a:active, header nav a:visited,
footer nav a, footer nav a:active, footer nav a:visited {
    text-transform: uppercase;
    color: #77A618;    
}
header nav a {
    padding: 25px 12px 5px;
}
header nav a:hover,
footer nav a:hover {
    color: #222222;
}

.header-container {
    border-bottom: 3px solid #77A618;
}
.header-container,
.footer-container {
    background: #e5e5e5 url(../img/back.jpg) repeat 0 0;
}

.footer-container {
    border-top: 3px solid #77A618;
}
.footer-container footer {
    color: #888;
}
.footer-primary {
    padding: 0;
}
.footer-secondary {
    padding: 60px 0 40px;
}

.nav-footer, .footer-copyright {
    float: left;
}
.nav-footer a {
    width: auto;
}

.footer-about, .footer-social { 
    float: right; 
}
.footer-about { 
    margin-top: 20px; 
    text-align: right; 
}
.footer-about p { 
    line-height: 30px; 
    margin: 0; 
    font-size: 18px; 
}

/* Custom Page: Home */
#top {
    color: #FFFFFF;    
    margin: 0 auto;
    /*max-width: 1950px;    
    min-width: 1280px;
    height: 578px;*/
    position: relative;
    text-align: center; 
}
#top .header-container {
    border-bottom: 3px solid #B21A1A;    
    background: url(../uploads/lettering-bw-overlay.jpg) no-repeat 50% 0;
    padding-bottom: 40px;
}
#top .wrapper-a {
    height: 100%;
/*    padding-top: 160px; */
}
#top a {
    color: #fff;
}
#top .slogan {
    margin: 70px auto 20px;
    font-size: 4.625em;
    font-weight: 400;
    color: #fff;
    font-family: 'Open Sans', sans-serif; 
    letter-spacing: -0.02em;   
}
#top .descr {
    font-size: 1.5em;
}
.home-call h3 {
    font-size: 2em;
    color: #9c9c9c;
    font-weight: 400;
    font-family: Georgia, sans-serif;
    font-style: italic;
    letter-spacing: -0.02em     
}
/* END Custom Page: Home */


/*#brand-aside */
#about img {
    margin-top: -80px;  /* needs cleaner coding - revisit */
    box-shadow: 0 5px 5px #ccc;
    border: 5px solid #fff;
    background: #000;
}

.main-container {
    background: #f7f7f5 url(../img/main-bg.png) repeat 0 0;
}


/* Reusables ---------- */

.highlight {
    background: #ebece6 url(../img/background_textured_opaque.png) repeat 0 0;
}
.chkr {
    background: #ebece6 url(../img/bg-grid-light.png) repeat 0 0;    
}

.inline {
    display: inline;
}
.alignleft {
    float: left !important;
}
.alignright {
    float: right !important;
}
.aligncenter {
    float: none;
    margin: 0 auto;
    text-align: center;
}
.textleft {
    text-align: left;
}
.textright {
    text-align: right;
}
.textcenter {
    text-align: center;
}

.no-bg {
    background:none !important;
    border:none !important; 
    box-shadow:none !important;
}

.padded-box {
    padding: 25px 30px;
}


/* Base Margin */
.base-margin-B {
    margin-bottom: 55px;
}
.base-margin-T {
    margin-top: 40px;
}
.base-margin-LR {
    margin-left: auto;
    margin-right: auto;
}

.sectionizr .main {
    border-top: 1px solid #d1d3d1;    
}

.section-header-lrg p {
    font-size: 20px;
    font-weight: 300px;
}
.section-container.auto p.title {
    margin: 1px 0 0;
}

/* Icons */
.pie { background: transparent url(../img/piechart-24.png) no-repeat 0 50%; padding: 0 25px 0 0; }
.gears { background: transparent url(../img/gears-24.png) no-repeat 0 50%;}
.case { background: transparent url(../img/briefcase-24.png) no-repeat 0 50%;}

/* Font icon */
.large { 
    font-size: 50px;
    line-height: 50px;
}
.medium {
    font-size: 35px;
    padding: 0 5px;
}
.small {
    font-size: 20px;
    padding: 0 5px;
}

.clear { clear: both }  /* remove on proper clearing is decided */


/* Lists */
.social-rounders {
    list-style: none;
    padding: 0;
}
.social-rounders li {
    margin-bottom: 1em;  
}
.social-rounders li a {
    text-decoration: none;
    line-height: 50px;
    height: 50px;
    color: #333;
}
.social-rounders i {
    vertical-align: middle;
    padding: 0 5px 0 0;    
    color: #333;
}

/* Text */


/* content elements */
h1.title {
    margin: 5px 0 0;
}

.logo {
    background: transparent url(../img/dat-logo-dark-no-vs.png) no-repeat  0 0;
    text-indent: -9999px;
    width: 325px;
    height: 76px;
    display: block;
    float: left;

    margin-top: 15px; /* for smaller logo */
}
.home-logo {
    background: transparent url(../img/dat-logo-white-no-vs.png) no-repeat  0 0;
}

.section-multi .main,
#team .main {
    padding-top: 60px;
}
..section-multi h2,
#team h2 {
    margin-top: 0;
}
.section-multi img,
#social img,
#photography img,
#team img,
#portfolio img {
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0 2px 2px #ccc;
}

#call-to-action, #call-to-action div {
    text-align: center;
    /*border-bottom: 1px solid #d1d3d1;    */
}
#call-to-action h2 {
    font-size: 40px;
}
#call-to-action p {
	/*width: 32.25em;
	text-align: center;
	margin: 0 auto;*/
}

#awesome-web {
    color: #c6c8c6;
    font-size: 14px;
    padding: 20px 0;
    border-top: 1px solid #d1d3d1;   
}


/* footer elements */
.footer-copyright,
.footer-social {
    font-size: 12px;
}
.footer-social li {
    display: inline-block;
    margin-left: 22px;
}
.footer-social .twitter,
.footer-social .facebook,
.footer-social .email {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 0; 
    width: 24px;
    height: 24px;
    text-indent: -9999px;  
    display: block;  
}
.footer-social .twitter {
    background-image: url(../img/sm-twitter.png);
}
.footer-social .facebook {
    background-image: url(../img/sm-facebook.png);
}
.footer-social .email {
    background-image: url(../img/sm-e-mail.png);    
}


/* SLIDING CAPTIONS - CSS TRICKS - http://css-tricks.com/examples/SlideinCaptions */
figure {
  display: block;
  position: relative;
  /*float: left;*/
  overflow: hidden;
  /*margin: 0 20px 20px 0;*/
}

figcaption {
    position: absolute;
    background: black;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 10px 20px;
    opacity: 0;
    -webkit-transition: all 0.6s ease;
    -moz-transition:    all 0.6s ease;
    -o-transition:      all 0.6s ease;
    visibility: hidden;   
    display: block;
    width: 100%;    /* added by tgl-rma */
}
figure:hover figcaption {
  opacity: 1;
  visibility:visible;   
  display: block;  
}
figure:before {
  content: "i";
  position: absolute;
  font-weight: 800;
  background: black;
  background: rgba(255,255,255,0.75);
  text-shadow: 0 0 5px white;
  color: black;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:         12px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  -moz-transition: all 0.6s ease;
  opacity: 0.75;
}
figure:hover:before {
  opacity: 0;
}

.cap-left:before {  bottom: 10px; left: 10px; }
.cap-left figcaption { bottom: 0; left: -30%; }
.cap-left:hover figcaption { left: 0; }

.cap-right:before { bottom: 10px; right: 10px; }
.cap-right figcaption { bottom: 0; right: -30%; }
.cap-right:hover figcaption { right: 0; }

.cap-top:before { top: 10px; left: 10px; }
.cap-top figcaption { left: 0; top: -30%; }
.cap-top:hover figcaption { top: 0; }

.cap-bot:before { bottom: 10px; left: 10px; }
.cap-bot figcaption { left: 0; bottom: -30%;}
.cap-bot:hover figcaption { bottom: 0; }


/* ==========================================================================
   Lightbox
   ========================================================================== */
/** reset lightbox position **/
#lightbox-container-image-data-box {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

#thumbnails { 
    display: block; 
    margin-bottom: 10px; }
#thumbnails ul li { 
    float: left; 
    margin-right: 0; 
    margin-bottom: 12px; 
}

/** clearfix 
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
 
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }**/



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

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}


