/*-----------------------------------------------------------------------------------

  Theme Name: GridStack
  Theme URI: http://themewich.com
  Description: GridStack is unique and modern portfolio theme for agencies, artists and freelancers.
  Author: Andre Gagnon
  Author URI: http://www.themewich.com
  License: GNU General Public License version 3.0
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
  Version: 1.3.0

  All files, unless otherwise stated, are released under the GNU General Public License
  version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)

-----------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------*/
/*  *Reset
/*-----------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   outline: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
   display: block;
}
body {
   line-height: 1;
}
ol, ul {
   list-style: none;
   -webkit-margin-before: 0;
}
blockquote, q {
   quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
   content: '';
   content: none;
}
ins {
   text-decoration: none;
}
del {
   text-decoration: line-through;
}
table {
   border-collapse: collapse;
   border-spacing: 0;
}
*{ margin:0; padding:0; }
 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
     margin: 0;
     padding: 0;
     border: 0;
     font-size: 100%;
     font: inherit;
     vertical-align: baseline; }
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
     display: block; }
 body {
     line-height: 1; }
 ol, ul {
     list-style: none; }
 blockquote, q {
     quotes: none; }
 blockquote:before, blockquote:after,
 q:before, q:after {
     content: '';
     content: none; }
 table {
     border-collapse: collapse;
     border-spacing: 0; }


/*-----------------------------------------------------------------------------------*/
/*  *960 Grid System
/*-----------------------------------------------------------------------------------*/

/* #Base 960 Grid
================================================== */

    .container                                  { position: relative; width: 960px; margin: 0 auto; padding: 0; }
    .column, .columns                           { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
    .row                                        { margin-bottom: 20px; }

    /* Nested Column Classes */
    .column.alpha, .columns.alpha               { margin-left: 0; }
    .column.omega, .columns.omega               { margin-right: 0; }

    /* Base Grid */
    .container .one.column                      { width: 40px;  }
    .container .two.columns                     { width: 100px; }
    .container .three.columns                   { width: 160px; }
    .container .four.columns                    { width: 220px; }
    .container .five.columns                    { width: 280px; }
    .container .six.columns                     { width: 340px; }
    .container .seven.columns                   { width: 400px; }
    .container .eight.columns                   { width: 460px; }
    .container .nine.columns                    { width: 520px; }
    .container .ten.columns                     { width: 580px; }
    .container .eleven.columns                  { width: 640px; }
    .container .twelve.columns                  { width: 700px; }
    .container .thirteen.columns                { width: 760px; }
    .container .fourteen.columns                { width: 820px; }
    .container .fifteen.columns                 { width: 880px; }
    .container .sixteen.columns                 { width: 940px; }

    .container .one-third.column                { width: 300px; }
    .container .two-thirds.column               { width: 620px; }

    /* Offsets */
    .container .offset-by-one                   { margin-left: 60px;  }
    .container .offset-by-two                   { margin-left: 120px; }
    .container .offset-by-three                 { margin-left: 180px; }
    .container .offset-by-four                  { margin-left: 240px; }
    .container .offset-by-five                  { margin-left: 300px; }
    .container .offset-by-six                   { margin-left: 360px; }
    .container .offset-by-seven                 { margin-left: 420px; }
    .container .offset-by-eight                 { margin-left: 480px; }
    .container .offset-by-nine                  { margin-left: 540px; }
    .container .offset-by-ten                   { margin-left: 600px; }
    .container .offset-by-eleven                { margin-left: 660px; }
    .container .offset-by-twelve                { margin-left: 720px; }
    .container .offset-by-thirteen              { margin-left: 780px; }
    .container .offset-by-fourteen              { margin-left: 840px; }
    .container .offset-by-fifteen               { margin-left: 900px; }



/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
        .container                                  { width: 768px; }
        .container .column,
        .container .columns                         { margin-left: 10px; margin-right: 10px;  }
        .column.alpha, .columns.alpha               { margin-left: 0; margin-right: 10px; }
        .column.omega, .columns.omega               { margin-right: 0; margin-left: 10px; }

        .container .one.column                      { width: 28px; }
        .container .two.columns                     { width: 76px; }
        .container .three.columns                   { width: 124px; }
        .container .four.columns                    { width: 172px; }
        .container .five.columns                    { width: 220px; }
        .container .six.columns                     { width: 268px; }
        .container .seven.columns                   { width: 316px; }
        .container .eight.columns                   { width: 364px; }
        .container .nine.columns                    { width: 412px; }
        .container .ten.columns                     { width: 460px; }
        .container .eleven.columns                  { width: 508px; }
        .container .twelve.columns                  { width: 556px; }
        .container .thirteen.columns                { width: 604px; }
        .container .fourteen.columns                { width: 652px; }
        .container .fifteen.columns                 { width: 700px; }
        .container .sixteen.columns                 { width: 748px; }

        .container .one-third.column                { width: 236px; }
        .container .two-thirds.column               { width: 492px; }

        /* Offsets */
        .container .offset-by-one                   { margin-left: 48px; }
        .container .offset-by-two                   { margin-left: 96px; }
        .container .offset-by-three                 { margin-left: 144px; }
        .container .offset-by-four                  { margin-left: 192px; }
        .container .offset-by-five                  { margin-left: 240px; }
        .container .offset-by-six                   { margin-left: 288px; }
        .container .offset-by-seven                 { margin-left: 336px; }
        .container .offset-by-eight                 { margin-left: 348px; }
        .container .offset-by-nine                  { margin-left: 432px; }
        .container .offset-by-ten                   { margin-left: 480px; }
        .container .offset-by-eleven                { margin-left: 528px; }
        .container .offset-by-twelve                { margin-left: 576px; }
        .container .offset-by-thirteen              { margin-left: 624px; }
        .container .offset-by-fourteen              { margin-left: 672px; }
        .container .offset-by-fifteen               { margin-left: 720px; }

    }


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
        .container { width: 300px; }
        .columns, .column { margin: 0; }
        .container .one.column,
        .container .two.columns,
        .container .three.columns,
        .container .four.columns,
        .container .five.columns,
        .container .six.columns,
        .container .seven.columns,
        .container .eight.columns,
        .container .nine.columns,
        .container .ten.columns,
        .container .eleven.columns,
        .container .twelve.columns,
        .container .thirteen.columns,
        .container .fourteen.columns,
        .container .fifteen.columns,
        .container .sixteen.columns,
        .container .one-third.column,
        .container .two-thirds.column  { width: 300px; }


        /* Offsets */
        .container .offset-by-one,
        .container .offset-by-two,
        .container .offset-by-three,
        .container .offset-by-four,
        .container .offset-by-five,
        .container .offset-by-six,
        .container .offset-by-seven,
        .container .offset-by-eight,
        .container .offset-by-nine,
        .container .offset-by-ten,
        .container .offset-by-eleven,
        .container .offset-by-twelve,
        .container .offset-by-thirteen,
        .container .offset-by-fourteen,
        .container .offset-by-fifteen { margin-left: 0; }

    }


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {
        .container { width: 420px; }
        .columns, .column { margin: 0; }
        .container .one.column,
        .container .two.columns,
        .container .three.columns,
        .container .four.columns,
        .container .five.columns,
        .container .six.columns,
        .container .seven.columns,
        .container .eight.columns,
        .container .nine.columns,
        .container .ten.columns,
        .container .eleven.columns,
        .container .twelve.columns,
        .container .thirteen.columns,
        .container .fourteen.columns,
        .container .fifteen.columns,
        .container .sixteen.columns,
        .container .one-third.column,
        .container .two-thirds.column { width: 420px; }
    }


/* #Clearing
================================================== */

/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix {
  zoom: 1; }
/* You can also use a class="clear" to clear columns */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

/*-----------------------------------------------------------------------------------*/
/*  Preloader Style
/*-----------------------------------------------------------------------------------*/

div#preloaded-images {
  position: absolute;
  overflow: hidden;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
}

/* #Site Wide Typography
================================================== */
html {
  overflow-y:scroll !important;
  padding: 0 !important;
}
body {
  font-size: 16px;
  line-height: 2em;
  text-align: left;
  color:#777;
  padding: 0 !important;
  background: #fff;
  overflow-x: hidden !important;
}
#sitecontainer {
  z-index:1;
  overflow:hidden;
}
div.loading {
  width:100%;
  height:24px;
  position:absolute;
  top:50%;
  margin-top:-12px;
  background: url(images/loading.gif) center no-repeat;
  background-attachment:fixed;
  display:none;
}
p, ul {
  font-size: 16px;
  line-height: 2em;
  margin-bottom: 20px;
}
/* Add transitions for all links */
p a, a {
  text-decoration:none;
  -moz-transition:all 0.3s ease 0s;
  -webkit-transition:all 0.3s ease 0s;
  -o-transition:all 0.3s ease 0s;
  transition:all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
}

/* #Site Wide Specifics
================================================== */
p img {
  margin: 0;
}
p.lead {
  font-size: 21px;
  line-height: 27px;
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}
small {
  font-size: 80%;
}
.hidden {
  opacity:0;
}

/*-----------------------------------------------------------------------------------*/
/*  *Lists, Etc.
/*-----------------------------------------------------------------------------------*/

/* #Lists
================================================== */
ul, ol {
  margin-bottom: 20px;
}
ul {
  list-style: none outside;
}
ol {
  list-style: decimal;
}
ol, ul.square, ul.circle, ul.disc {
  margin-left: 30px;
}
ul.square {
  list-style: square outside;
}
ul.circle {
  list-style: circle outside;
}
ul.disc {
  list-style: disc outside;
}
ul ul, ul ol,  ol ol, ol ul {
  margin: 4px 0 5px 30px;
  font-size: 90%;
}
ul ul li, ul ol li,  ol ol li, ol ul li {
  margin-bottom: 6px;
}
li {
  margin-bottom: 12px;
}
ul.large li {
  line-height: 21px;
}
li p {
  line-height: 21px;
}

/* #Horizontal Rule
================================================== */
hr {
  border-style: solid;
  border-color:#dcdcdc;
  border-color: rgba(0,0,0,.15);
  border-width: 1px 0 0;
  clear: both;
  margin: 0 0 20px 0;
  padding:0;
  height: 1;
}

/* #General Wordpress Styles
================================================== */
.aligncenter, div.aligncenter {
  display:block;
  margin: auto;
}
.alignright {
  float:right;
}
.alignleft {
  float:left;
}
.remove-bottom {
  margin-bottom: 0 !important;
}
.remove-top {
  margin-top: 0 !important;
}
.half-bottom {
  margin-bottom: 10px !important;
}
.add-bottom {
  margin-bottom: 20px !important;
}
.aligncenter {
  text-align:center;
}
.noborder  {
  border:none !important;
}
p img {
  display:inline;
}
em {
  font-style:italic;
}
img.attachment-thumbnail{
  max-width: 100% !important;
  height: auto !important;
}
blockquote {
  quotes: "\201C""\201D";
  margin:40px auto 45px auto;
}
blockquote p {
  font-size: 28px;
  line-height: 42px;
  text-align: center;
  margin:20px auto;
  width:75%;
}
blockquote p:first-child:before {
  content: open-quote;
  display: block;
  font-size: 45px;
  line-height: 45px;
  text-align: center;
  width: 100%;
  margin-bottom: -14px;
}
.sticky {
  position:relative;
}
.sticky:before {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  content: "\f097";
  position:absolute;
  top: -5px;
  right: 20px;
  color:#999;
}
.sticky.post.onecol:before {
  top: 4px;
  left: 11px;
  right:auto;
  color:#fff;
  z-index:5;
  font-size:24px;
}
.bypostauthor {
  border:3px;
}

/* #General Elements
================================================== */

/* This makes images responsive */
img.scale-with-grid {
  max-width: 100% !important;
  height: auto !important;
}
#sitecontainer img {
  max-width: 100% !important;
  height: auto;
}
.alert { /* For Non-Javascript Enabled Browsers */
  background: #ffffff;
  text-align: center;
  padding: 5px 0px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:9999;
  opacity: .9;
}
.alert p {
  font-size:24px;
  color:#666;
  position:absolute;
  top:50%;
  width:100%;
  text-align:center;
  margin-left:-30px;
  margin-top:-18px;
}
.mobileclear {
  display:none;
}
.alignright {
  float:right;
}
.alignleft {
  float:left;
}
strong {
  font-weight:bold;
}
sup {
  vertical-align:super
}
sub {
  vertical-align: sub;
}
.zeromargin {
  margin:0 !important;
}
.display {
  display:block;
}
.table {
  display:table;
  float:none;
}
.table-row {
  display:table-row;
  float:none;
}
.table-cell {
  display:table-cell;
  float:none;
}
.verticalmiddle {
  vertical-align: middle;
}

/* #Column Widths
================================================= */
.one-half {
  width: 48%;
}
.one-third {
  width: 30.66%;
}
.two-third {
  width: 65.33%;
}
.one-fourth {
  width: 22%;
}
.three-fourth {
  width: 74%;
}
.one-fifth {
  width: 16.8%;
}
.two-fifth {
  width: 37.6%;
}
.three-fifth {
  width: 58.4%;
}
.four-fifth {
  width: 79.2%
}
.one-sixth {
  width: 13.33%;
}
.five-sixth {
  width: 82.67%;
}
.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth, .three-fifth, .four-fifth, .one-sixth, .five-sixth {
  margin-right: 4%;
  margin-bottom: 25px;
  float: left;
}
.column-last {
  margin-right: 0!important;
  clear: right;
}

/* #Vertical Centering
================================================== */
.verticalcenter {
  display: table;
}
/* For IE7 */
.verticalcenter td {
  vertical-align:middle;
}
.verticalcenter .cell.verticalcenter {
  display: table-cell;
  vertical-align: middle;
  float:none;
}


/*-----------------------------------------------------------------------------------*/
/*  *Page Title Styles
/*-----------------------------------------------------------------------------------*/

/* #General Page Titles
================================================== */
.pagetitle .title {
  color:#000;
  font-size: 56px;
  line-height: 58px;
  max-width: 940px;
  display: block;
  margin: auto;
  margin-bottom:20px;
}
/* #Inputs
================================================== */
input:focus {
  outline:none;
}
input[type=text], textarea {
  margin: 0 0 20px 0;
  border: none;
  background: #f3f3f3;
  background: rgba(100,100,100,0.09);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  width:90%;
  padding:10px;
}
input[type="text"],
textarea,
#commentsubmit input[type="text"],
#commentsubmit textarea,
.contactsubmit input[type="text"],
.contactsubmit textarea,
.contactsubmit select,
select#top_nav_menu  {
  color: #555;
  border: none;
  background: #f3f3f3;
  background: rgba(100,100,100,0.09);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-appearance: none;
  border-radius: 0;
}
input[type="submit"] {
  margin-top: 0;
  -webkit-appearance: none;
  border-radius: 0;
}

/* #Search Box
================================================== */
input#s {
  padding:14px;
  font-size:12px;
  width:86%;
  max-width:300px;
  margin:0;
  -webkit-appearance: none;
  border-radius: 0;
  color:#777;
  padding: 14px;
  color: #555;
  border: none;
  background: #e3e3e3;
  background: rgba(0,0,0,0.075);
}

/* #Navigation Container
================================================== */
.top-nav {
  z-index:99;
  width:100%;
  background:rgb(255,255,255);
  background:rgba(255,255,255,0.95);
  -webkit-transition:all 0.5s;
}
.admin-bar .top-nav {
  margin-top: 26px !important;
}
.top-nav .container .cell {
  padding: 15px 0;
}

/* #Mobile Navigation
================================================== */
.mobilenavcontainer {
   width: 100%;
   position: static;
   z-index: 999999;
   display:none;
   margin-bottom: 30px;
}

/*-----------------------------------------------------------------------------------*/
/*  *Page Styles
/*-----------------------------------------------------------------------------------*/

/* #General Page Styles
================================================== */
.singlecontent h3,
.singlecontent h2,
.singlecontent h1 {
  font-size: 50px;
  line-height: 54px;
  margin-bottom:30px;
}
.singlecontent h4 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom:15px;
}
.singlecontent h5 {
  font-size: 18px;
  line-height: 30px;
  margin-bottom:20px;
}
/* This ensures small amounts of text don't get trapped during a float */
.singlecontent p:before {
  content: "";
  width: 10em;
  display: block;
  overflow: hidden;
}
.singlecontent a img {
  display:block;
}
#postcontainer,
.single .portfolio.type-portfolio {
  margin-bottom:40px;
}
.page-template-template-home-php #postcontainer,
.page-template-template-portfolio-php #postcontainer {
  padding-top:15px;
}

/* #Page Title
================================================== */
.pagetitle {
  padding: 50px 0 40px 0;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
}
.pagetitle.background-not-transparent {
  margin-bottom:50px;
}
.titleoverlay {
  width:100%;
  height:100%;
  position:absolute;
  opacity:0.85;
  top:0;
  left:0;
}

/*-----------------------------------------------------------------------------------*/
/*  *Pagination
/*-----------------------------------------------------------------------------------*/

.page-numbers {
  display: block;
  float: left;
  background: #e7e7e7;
  padding: 15px 18px;
  margin-right: 5px;
  color: #333;
  font-size: 12px;
  line-height: 12px;
}
.aligncenter .pagination {
  display:inline-block;
}
a.page-numbers:hover, .page-numbers.current {
  background: #333;
  color: white;
}
.pagination {
  padding-bottom: 15px;
}
.linkpagebutton {
  border-top: 1px solid #dcdcdc;
  padding-top:10px;
  margin: 25px 0;
}
.pagelabel {
  float:left;
  padding-top:10px;
  padding-right:10px;
}
.linkpagebutton .page-numbers {
  background:#333;
  background: rgba(0,0,0,0.85);
  color:#fff;
}
.linkpagebutton a .page-numbers {
  background: #E3E3E3;
  background: rgba(0,0,0,0.05);
  color:#333;
}

/* #One Column Post Stypes
================================================== */
.post.onecol {
  margin-bottom:50px;
  padding-bottom:30px;
  border-bottom: 1px solid #dcdcdc;
}
.onecol .thumbnailarea {
  margin-bottom: 25px;
}

/* #Post Fonts
================================================== */
.post h2.title {
  font-size:36px;
  line-height: 38px;
  color: #222;
  margin-bottom:10px;
  display: inline-block;
}
.single-post .post h2.title {
  margin-bottom:20px;
}

/* #Post Date
================================================== */
.post .date {
  margin-bottom:20px;
  display:block;
  font-size:13px;
  line-height: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:#c2c2c2;
}


/*-----------------------------------------------------------------------------------*/
/*  *Post Controls
/*-----------------------------------------------------------------------------------*/

.controls {
   position:absolute;
   top:0;
   right:0;
   height:50px;
   width:144px;
   z-index: 2;
}
.controls span {
  float: right;
  margin-left:1px;
  display:block;
}
.controls span.closepost {
  margin-left:10px;
}
.controls span a {
  width: 40px;
  height: 40px;
  text-indent: -999999px;
  display: block;
  opacity: 0.5;
  border: 1px solid transparent;
}
/* Hover Effect */
.controls p.hoverhelper {
  text-align: right;
  font-size: 10px;
  margin-right: 6px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}
.closepost a, .nextpost a, .prevpost a {
  background: url(images/sprites.png) no-repeat;
}
.closepost a {
  background-position: -277px -7px;
}
.nextpost a {
  background-position: -219px -7px;
}
.prevpost a {
  background-position: -168px -7px;
}
.controls a:hover {
  opacity: 1;
}

/* #Post Categories
================================================== */
.categories {
  margin-bottom:15px;
}
.single-post .categories {
  margin-bottom: 20px;
}
.categories a {
  color: white;
  background: #c1c1c1;
  background: rgba(0,0,0,0.25);
  padding: 4px 6px;
  font-size: 10px;
  margin-right:2px;
  float:left;
  line-height:12px;
}
.single .categories a:hover,
.widget .categories a:hover {
  background: #111;
  color: #fff;
}
