/* 
Theme Name: PGADesign 
URI: http://davidkerrdesign.com/
Description: Designed by David Kerr Design, Coded by AgaveWeb, LLC
Author: AgaveWeb
Author URI: http://AgaveWeb.com
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.htmlVersion: 1000
Tags:
*/
/*! normalize.css v2.1.1 | MIT License | git.io/normalize*/

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
    display: block
}

audio,canvas,video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    background: #fff;
    color: #000;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

a:focus {
    outline: none
}

input:focus, textarea:focus {
    outline: none;
}

a:active,a:hover {
    outline: 0
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,strong {
    font-weight: 600
}

dfn {
    font-style: italic
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

mark {
    background: #ff0;
    color: #000
}

code,kbd,pre,samp {
    font-family: monospace;
    font-size: 1em
}

pre {
    white-space: pre-wrap
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019"
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

button,input,select,textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0
}

button,input {
    line-height: normal
}

select {
    text-transform: none
}

input[type="reset"],input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],html input[disabled] {
    cursor: default
}

input[type="checkbox"],input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="search"] {

}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {

}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

/* Contents Global Header Navigation Sidebar Post Meta Footer Misc Pagination Forms Comments Typography */
/* Global */
/* ---------------------------------------------------------- */
body {
    margin: 0px;
    background: #fff
}

/* Flex Grid */
.outer_wrap {
    width: 96%;
    padding: 0px 2%;
    margin: 0 auto 0;
    max-width: 1170px;
    padding-bottom: 20px;
}

.inner_wrap {
    margin: 0px auto 0;
}

.flex_10,.flex_20,.flex_25,.flex_30,.flex_33,.flex_40,.flex_50,.flex_60,.flex_66,.flex_70,.flex_75,.flex_80,.flex_90,.flex_100 {
    display: inline;
    float: left;
    position: relative;
}

.flex_10 {
    width: 10%;
}

.flex_20 {
    width: 20%;
}

.flex_25 {
    width: 25%;
    padding-left:1%;
}

.flex_30 {
    width: 30%;
}

.flex_33 {
    width: 33%;
}

.flex_40 {
    width: 40%;
}

.flex_50 {
    width: 50%;
}

.flex_60 {
    width: 60%;
}

.flex_66 {
    width: 66%;
}
.single-projects .flex_66 {float:right; width:64%
}
.flex_70 {
    width: 70%;
}

.flex_75 {
    width: 74%;
}

.flex_80 {
    width: 80%;
}

.flex_90 {
    width: 90%;
}

.flex_100 {
    width: 100%;
}

.clear {
    clear: both;
}

/* Header */
/* ---------------------------------------------------------- */

.outer_header_wrap {
    width: 96%;
    padding: 0px 2%;
    margin: 20px auto 45px;
    max-width: 1170px;
}

.inner_header_wrap {
    width: 100%;
}

.inner_header_wrap img:hover {opacity:0.8}


/* Navigation */
/* ---------------------------------------------------------- */

#navigation {
    /* margin-top: 91px; */
    margin-right: -4px;
    position: relative;
    clear: both;
    display: block;
    float: right;
    padding: 0;
    width: 100%;
    font-family: 'Lato';
}

#navigation a {
    color: #999;
    font-weight:400;
}

#navigation ul {
    list-style: none;
    margin: 0;
    float: right;
    padding:0;
}


ul.menu li {
    display: inline-block;
    min-height: 30px;
    padding-top: 11px;
    font-size: 19px;
}

#navigation li a {
    display: block;
    line-height: 1.4;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-transform: uppercase;
	margin: 0 14px;
	letter-spacing:1px
}

#navigation li:hover > a, #navigation a:focus {
    color: #003593
}

#navigation ul li:hover > a,
#navigation ul li.current-page-ancestor > a,
#navigation ul > li.current-menu-item > a {
    color: #003593;
}

.hover-slider {
  position: absolute;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  margin-top:-32px;
}

.hover-slider:before {
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  left: 10px;
  right: 10px;
  background-color: #003593;
  bottom: 0;
  
}

/* Sidebar */
/* ---------------------------------------------------------- */
.sidebar_quote {
    margin: -10px auto 0;
    padding: 0 ;
}

.sidebar_quote p {
    font-family: 'Lato';
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 10px;
    padding: 0 0 0 0;
    line-height:1.4;
    color:#003593
}

.sidebar_quote p strong {
    font-weight: bold
}


.flex_40 .sidebar_quote {
    padding: 40px 0 0;
    max-width: 90%;
}

.flex_40 .sidebar_quote p {
    padding: 0;
    line-height: 1.5
}

p.attrib {
    font-family: 'Lato';
    font-size: 14px;
    text-align: right;
    padding: 0 0px 0 0;
    color: #939598;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.flex_40 p.attrib {
    text-transform: uppercase;
}

.thegallery .flex_40 {
    border-top: 3px solid #939598;
    margin: 0 0 0 2%;
    width: 38%;
    padding-top: 10px;
}

.backlinks span a:after {
    content: ','
}

.backlinks span:last-child a:after {
    content: '';
}

.relatedposts {
    border-top: 3px solid #939598;
    padding-top: 20px;
    margin-top: 14px;
}

.relatedposts h3 {
    color: #000;
    font-weight: bold;
    text-transform: none !important;
    padding-bottom: 30px;
    font-size: 22px;
}

.relatedposts .flex_20 {
    width: 18%;
    padding-right: 2%;
}

.relatedposts a h4 {
    color: #000;
    font-weight: bold;
    margin-bottom: 30px;
}

.relatedposts a {
    text-decoration: none !important;
}

.relatedposts .flex_20:hover {
    opacity: 0.9
}

/* Post */
/* ---------------------------------------------------------- */
img#featuredimg {
    width: 100%;
    margin-top: 30px;
}

object,video {
    max-width: 100%;
    width: 100%;
}

.wp-caption {
    max-width: 100%;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
}

.wp-caption img,.gallery-icon img {
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin: 15px 20px 20px 0px;
    clear: both;
}

.alignright {
    float: right;
    margin: 15px 0px 20px 20px;
    clear: both;
}

/* Footer */
/* ---------------------------------------------------------- */

.outer_footer_wrap {
    margin: 0 auto;
    width: 100%;
    padding: 0;

}

.inner_footer_wrap {
    padding: 2% 0;
    width:96%;
    margin: 0 auto 0;
    max-width: 1170px;
    border-top:5px solid #ccc;
}

.fwidget, .fwidget p, .fwidget li a, ul.projs a {
    font-size: 17px;
    line-height: 1.7;
    color: #000000;
    font-weight:400;
    }
ul.projs li {margin:0; list-style:none; float:left; }

ul.projs, 
ul#menu-footer-menu {margin:0 0 0 0; padding:0; float:left;}
ul#menu-footer-menu li, 
ul.projs li {    
    font-size: 17px;
    line-height: 1;
    color: #000000;
    font-weight:400;
    margin:0; 
    padding:0 0 0 5px;
    }

ul.projs li:first-child {padding-left:0;}
ul#menu-footer-menu li:after, ul.projs li:after {    content: '|';    color: #000; padding-left:6px;}
ul#menu-footer-menu li:last-child:after{    content: ''}

.inner_footer_wrap a { text-decoration: none;
    border-bottom: 2px solid #fff;    
    transition: 0.2s ease;
}
.inner_footer_wrap a:hover {
    text-decoration: none;
    border-bottom: 2px solid #012e8d;
}

p.catz a:after {
    content: ', ';
}

p.catz a:last-child:after {
    content: ''
}

.copyright, .copyright p, .copyright a {
    font-family: 'Lato';
    font-weight:500;
    font-size: 14px !important;
    color: #ccc !important;
}

.copyright {
    text-align: left;
    margin: 30px 0
}

.outer_footer_wrap .flex_50 img {
    float: left ;
    max-width:40%;
    margin-left:-2px;
    padding-bottom:7px;
}


/* Misc */
/* ---------------------------------------------------------- */
.wp-caption-text {
    font-size: 14px;
    text-align: right;
    padding: 0px;
    margin: 0px 0px 20px 0px;
    font-weight: 300;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

/* Pagination */
/* ---------------------------------------------------------- */
.pagenavi {
    margin: 0 auto 20px auto;
    width: 400px;
    padding: 5px;
    background: #f3f3f3;
    border: 1px solid #ccc;
    -moz-box-shadow: inset 0 0 5px #fff;
    -webkit-box-shadow: inset 0 0 5px #fff;
    box-shadow: inset 0 0 5px #fff;
}

.pagenavi a {
    padding: 5px 6px 4px 6px;
    margin: 3px;
    text-decoration: none;
    color: #666;
    background-color: inherit;
}

.pagenavi a:hover {
    color: #000;
}

.pagenavi span.pages {
    padding: 5px 6px 4px 6px;
    margin: 3px;
    color: #333;
    font-weight: bold;
    background-color: inherit;
}

.pagenavi span.current {
    padding: 5px 6px 4px 6px;
    margin: 3px;
    font-weight: bold;
    color: #fff;
    background-color: #ccc;
}

/* Comments */
/* ---------------------------------------------------------- */
h3#reply-title {
    padding: 0px;
    margin: 0px;
}

#comments-title:before {
    content: "Comments: ";
    color: #777;
}

#comments-title {
    padding: 30px 0px 0px 0px;
    margin: 0px;
    text-align: center!important;
}

.comment-author {
    font-weight: bolder;
    font-size: 14px;
    font-style: italic;
    text-transform: capitalize;
    margin: 40px 0px 0px 0px;
    padding: 40px 0px 0px 0px;
}

.comment-author .avatar {
    display: block;
    float: left;
    margin: -5px 12px 0px 0px;
    padding: 0px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: solid 5px #f3f3f3;
}

#comment-block {
    padding: 0px;
    overflow: hidden;
}

.comment-body p {
    margin: 10px 0px 10px 0px;
    padding: 10px 10px;
    background-color: #f3f3f3;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#comment-block .children {
    margin: -50px 0px 0px 0px;
}

#comment-block ol,#comment-block .children li {
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    list-style-type: none;
}

#comment-block a {
    color: #006699;
}

.commentmetadata {
    font-size: 10px;
    padding: 0px;
    margin: 0px;
}

#respond {
    margin: 40px 0px 0px 0px;
}

/* Navigation 2 */
/* ---------------------------------------------------------- */
.navigation {
    width: 100%;
    text-align: center;
    padding: 3px;
    margin: 30px 0px !important;
}

.navigation a {
    padding: 5px 6px 4px 6px;
    margin: 3px;
    font-weight: bold;
    color: #012e8d;
    background: #fff;
}

.navigation a:hover {
    color: #fff !important;
    padding: 5px 6px 4px 6px;
    margin: 3px;
    font-weight: bold;
    background-color: #012e8d;
    text-decoration: none !important;
}

.navigation span.pages {
    padding: 5px 6px 4px 6px;
    margin: 3px;
    color: #012e8d;
    font-weight: bold;
    background-color: inherit;
    display: none;
}

.navigation span.current {
    padding: 4px 11px;
    margin: 3px;
    font-weight: bold;
    color: #fff;
    background-color: #012e8d;
}

/* Typography Framework */
/* ---------------------------------------------------------- */
body {
    font-family: 'Lato', Geneva, sans-serif;
    font-size: 21px;
    color: #020202;
    line-height: 26px;
    font-weight: 300;
}

a,a:visited {
    text-decoration: none;
    color: #003594 ;
}

a:hover {
    text-decoration: underline;
    color: #333;
}

a.button {
    border: 1px solid;
    background: #273c81;
    color: #fff;
    padding: 5px 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

a.button:hover {
    background: #fff;
    color: #273c81;
    text-decoration: none;
}
.entry a {font-weight:bold;}
thead {
    display: table-header-group;
}

tr,img {
    page-break-inside: avoid;
}

img {
    max-width: 100% ;
}

#header {
    display: flex; 
    justify-content: space-between; 
}
 
#header .flex_20 {
    align-self: stretch;
    /* background:#f00 */
}
 
#header .flex_80 {
    align-self: flex-end;
}

h2,h3 {
    page-break-after: avoid;
}

p,h2,h3 {
    orphans: 3;
    widows: 3;
}

p {
    margin: 0 0 20px;
    line-height: 28px;
    font-size: 21px;
    color: #000;
    font-weight:300;
}
.intro p {font-size:26px; line-height:1.5; font-weight:400; margin:25px 0 35px}

p.catz {
    text-transform: uppercase;
    font-size: 17px;
    margin: 0;
    padding: 0;
    color: #999;
    font-weight:300
}

p.catz a {
    color: #999;
    letter-spacing: 1px;
}

.content li {
    margin: 0 0 3px;
    line-height: 27px;
    font-size: 18px;
    color: #000;
}

.content ul {
    margin: 0;
    padding: 10px 0 10px 15px;
}

.content ul li {
    background: url(images/greyarrow_mini.png) no-repeat 0 8px;
    margin: 0;
    list-style: none;
    padding: 0 0 5px 20px;
}

.content ul.soc, .content ul.soc li, .sharing, ul.downloads {
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
}

small {
    font-size: 75%;
}

em {
    font-style: italic;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Lato', sans-serif;
    color: inherit;
    text-rendering: optimizelegibility;
}

h1 {
    font-size: 40px;
    color: #000;
    font-weight: 300;
}

h1.page-title, h1.pagetitle {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
    margin-bottom: 40px;
    font-weight:300
}

h2 {
    font-size: 27px;
    color: #000;
    margin: 0 0 10px 0;
    font-weight: bold;
}
.home h2 {font-size:48px; font-weight: 300; margin:0 0 20px; line-height: 1.2;}

h3 {
    font-size: 27px;
    margin: 0 0 5px 0;
    line-height:1.3
}
.postitem h3 {font-weight: 400; }

#sidebar {
    padding: 0 0 20px 20px;
}

#sidebar h3 {
    color: #000;
    font-weight: 300;
    margin-bottom: 10px;
    font-size:22px;
}

#sidebar ul li, #sidebar ul {
    padding: 0;
    margin: 0;
    background: none;
    list-style: none
}

#sidebar ul li a {
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 0;
    font-size:22px;
    display:inline-block;
}

.fwidget h3 {
    font-size: 16px;
    font-weight: 400;
    text-transform: none
}

.fwidget a {
    color: #273c81 !important;
}

h4 {
    color: #273c81 ;
    font-size: 18px;
    margin: 0 0 0px 0;
    font-weight: 100;
}

#sidebar h4 {
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 10px
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 11.9px;
}

ul ul,ul ol,ol ol,ol ul {
    margin-bottom: 0;
}

blockquote {
    font-size: 14px;
    line-height: 22px;
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 20px;
    quotes: "\201C""\201D""\2018""\2019";
    padding: 20px 10px 20px 90px;
    background: url("images/quotes.png") 10px 10px no-repeat #f3f3f3;
}

table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ccc;
}

tr,td {
    padding: 5px;
}

th {
    padding: 5px;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
}

form {
    margin: 0 0 20px;
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 40px;
    color: #333333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

legend small {
    font-size: 15px;
    color: #999999;
}

label,input,select,textarea {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
}

label {
    margin-bottom: 5px;
}

#respond label {
    display: block;
}

select,textarea,input[type="text"],input[type="email"] {
    display: inline-block;
    height: 20px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    vertical-align: middle;
}

input[type="text"], input[type="email"] {
    display: inline-block;
    height: 20px;
    padding: 6px;
    margin-bottom: 10px;
    margin-right: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    vertical-align: middle;
}

textarea {
    height: auto;
    width: 80%;
}

radio,checkbox {
    min-height: 20px;
    padding-left: 20px;
}

radio input[type="radio"],checkbox input[type="checkbox"] {
    float: left;
    margin-left: -20px;
}

input[type="radio"],input[type="checkbox"] {
    margin: 4px 0 0;
    line-height: normal;
}

select {
    height: auto;
    line-height: 30px;
    width: 220px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
}


input[type="submit"] {
    display: inline-block;
    padding: 5px 20px !important;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #243d82;
    border: 1px solid !important;
}

input[type="submit"]:hover {
    background-color: #243d82;
    color: #fff;
}

.inner_footer_wrap #searchform {
     text-align: right
}

input#s {
    padding: 7px 10px;
    width: 50%;
    border-radius: 0;
    border: 0;
    color: #000;
    font-size: 16px;
    max-width:74px;
    background:#f5f7f6;
    margin:-10px 0 0 0;
	-webkit-transition: all 0.5s 5s ease-in-out;
   -moz-transition: all 0.52s 5s ease-in-out;
   transition: all 0.5s 5s ease-in-out;
}
#searchform:hover input#s {
    max-width:210px;
	-webkit-transition: all 0.5s  ease-in-out;
   -moz-transition: all 0.52s ease-in-out;
   transition: all 0.5s ease-in-out;
}
input#searchsubmit {
    border-radius: 0;
    border: 0 !important;
    font-family:'fontawesome';
    margin: -12px 0 0 -53px;
    background:transparent;
    color: #243d82;
    font-size:25px;
	 -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.52s ease-in-out;
   transition: all 0.5s ease-in-out;
}
input#searchsubmit:hover {opacity:0.6}

#searchform:hover input#searchsubmit {
    transform: rotate(-360deg) ;
  -webkit-transform: rotate(-360deg) ;
  -moz-transform: rotate(-360deg) ;
  -o-transform: rotate(-360deg) ;
  -ms-transform: rotate(-360deg) ;

}



.inner_footer_wrap .flex_30 {
    text-align: right;
}

.search img.postfeatured {
    float: left;
    margin: 0 20px 20px;
}

/* News */
.postexcerpt {
    clear: both;
    padding-top: 15px;
}

.postexcerpt img {
    float: left;
    margin: 0 20px 0 0;
}

h3.entry-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    padding: 0 0 5px 0;
    text-transform: none
}

/* masonry */

.prev-posts a, .next-posts a {font-weight:300 !important ; font-size:14px; margin-bottom:20px; display:inline-block}

#masonrycontainer .masitem {
    width: 32.1%;
    padding-bottom: 40px;
    cursor: pointer;
}
.single-projects #masonrycontainer {margin:4px 0 20px;}
.single-projects img.wp-post-image  {width:100%; max-width:752px; padding-right:0;}
.single-projects #masonrycontainer .masitem {
    width: 49.25%;
    padding-bottom: 3px;
    cursor: inherit;
}

.gutter-sizer {
    width: 1.666%;
}
.single-projects #masonrycontainer  .gutter-sizer {
    width: 1.5%;
}
#masonrycontainer img {
    width: 100%;
    -webkit-backface-visibility: hidden;
}

#masonrycontainer .masitem img {
    width: 100%;
    max-width: 100%;
}

.masitem img {
    opacity: 0.9;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.single-projects img {opacity:1;}
.masitem:hover img {
    opacity: 1;
}
.single-projects p {font-weight:300}
.single-projects .projectdeetz {margin-top:20px; font-weight:600; color:#999; line-height:1.2}
.single-projects .projectdeetz strong {color:#000}
.single-projects .flex_33 a {font-weight:600;} 
.single-projects p:empty {display:none}

ul.typez {margin:0; padding:0; display: inline;}
ul.typez li {background:none; margin:0; padding:0;  display: inline-block;}
ul.typez li:after {content:", "; padding-right:5px;}
ul.typez li:last-child:after {content:"";}

a[href$=".pdf"]:before { content:""; background:url(images/pdf-512.png) no-repeat; float:left;; width:20px; height:27px; display:block; background-size:contain;  margin-right:5px;  }


/* Blog */

.thumbnail-wrapper {float:left; margin:0 15px 20px 0;  max-width:300px;}
.postitem {clear:both; margin-bottom:20px;}

.masitem {
    line-height: 1.5;
}

.masitem h3 {
    display: block;
    margin: 0;
    font-weight: bold;
    font-size: 22px
}
.home .masitem h3 {font-weight: normal; font-size:21px;}

.masitem p {
    font-size: 18px;
    margin-top: 0;
    padding-top: 0;
    text-align: justify;
}

.masitem:hover h3 {
    color: #000;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.masitem a {
    text-decoration: none;
}

ul.catz, ul.blogcatz {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0px !important;
}

ul.catz li, ul.blogcatz li {
    margin: 0;
    padding: 0;
    display: inline-block;
    float: left;
    line-height: 1.4;
    background: none;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1px;
}

ul.catz li a, ul.blogcatz li a {
    color: #939598;
    padding: 0 5px;
    font-size: 12px;
    text-transform: uppercase
}

ul.catz li:after, ul.blogcatz li:after {
    content: '|';
    color: #939598
}

ul.catz li:last-child:after, ul.blogcatz li:last-child:after, ul.catz li:first-child:after {
    content: ''
}

ul.catz a:hover {
    color: #273c81 !important;
    text-decoration: none;
}

p.catz a:after {
    content: ', ';
}

p.catz a:last-child:after {
    content: ''
}

p.blogcatz a:after {
    content: ', ';
}

p.blogcatz a:last-child:after {
    content: ''
}

.current-cat a {
    color: #000 !important;
    text-decoration: none
}

.padding, .bg {
    height: 100%;
}

.block {
    cursor: pointer;
    float: left;
    position: relative;
    opacity: 1;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    overflow: hidden;
}

.home .cstiles {
    margin-bottom: 20px;
}
.home .cstiles__item-content {margin:-1px; background:#000;}
.home .cstiles__item-content:hover {padding:0;}
.home .cstiles__item-content .bg {opacity:0.8;     
 -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
    backface-visibility: hidden;}

.home .cstiles__item-content:hover .bg {opacity:1}

.cstiles__item-content .cs_title {
    visibility: hidden;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 95%;
	padding:5px 2.5% 5px ;
     -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    font-weight:bold;  
    background:rgba(0,0,0,0.5);
    color:#fff;  opacity:0;
    transform: translateY(100px);
}
.cstiles__item-content:hover .cs_title {visibility: visible; opacity:1;  transform: translateY(0px);}

.bg {
    background-repeat: no-repeat;
    padding: 0px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    cursor: pointer;
}


/* Special Templates */

#members-list {
    font-family: monospace;
    letter-spacing: -.65em;
    margin-left: -0.5em;
    margin-right: -0.5em;
    text-align: left;
    display: block;
    border-top: 0;
    padding-left: 0.5em;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

#members-list .oneitem {
    font-family: 'Lato';
    letter-spacing: 0;
    margin-left: 0;
    text-align: left;
    display: block;
    border-top: 0;
    overflow: hidden;
    padding-bottom: 0px;
    float: left;
    width: 100%;
    margin-right: 10px;
}

#LoadMe {
    display: none;
    clear: both;
    background: #fff;
    width: 100%;
    float: none;
    letter-spacing: 0px !important;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

#LoadMe div {
    letter-spacing: 0;
    font-family: 'Lato', sans-serif;
}

#LoadMe {
    position: relative;
    z-index: 0;
    margin: 0px -400rem 20px;
    padding: 15px 400rem 5%;
}

.oneitem > h2.item-title {
    font-size:21px;
    color: #000;
    font-weight:400;
    margin:0 0 0px 10px;
}

.oneitem > h3 {
    font-weight: 300;
    font-size:19px;
    margin:0 0 5px 10px;
    min-height: 2.2em
}
.oneitem img {    width:100%;}

#bio h3 {
    letter-spacing: 2px;
    font-weight: 300;

}

#bio h3.title {
    max-width: 75%;

}

#bio h3.focus {
    max-width: 75%;
}

#bio p {
    max-width: 75%;
    margin: 0 auto 10px;
}
#bio p strong {font-weight:400;}
#bio ol {
    max-width: 72%;
    margin: 0 auto 10px auto;
    padding-left: 3%;
}

#bio h2.item-title {
    color: #000;
    font-size: 21px;
    display: block;
    max-width: 75%;
    margin: 20px auto 12px;
    font-weight:400;
}

#bio h3 {
    line-height: 1.4;
    margin: 0;
}

#bio h5 {
    line-height: 1.4;
    max-width: 75%;
    margin: 0 auto 10px;
    font-style: italic;
    font-size: 18px;
    color: #999;
}

#members-list .oneitem {
    max-width: 24.25%;
    margin-right: 1%;
    margin-bottom: 30px;
}

#members-list .oneitem.active {
    position: relative;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    background: #003593;
     margin-bottom: 0px;
     padding-bottom:20px;
}

#members-list .edge{
    margin-right: 0px !important;
}

.active a.memberFetcher img {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.biocontainer:before {
    height: 10px;
    display: block;
    background: #003593;
    content: "";
    margin-top: -18px;
    width: 100%;
}

.biocontainer:after {
    height: 10px;
    display: block;
    background: #003593;
    content: "";
    margin-top: 18px;
    width: 100%;
}

#members-list .oneitem.active > h2 {color:#fff;}
#members-list .oneitem.active > h3 {color:#fff;}

a.closeme {
    float: right;
    text-decoration: none;
    font-size: 30px;
    font-family:'fontawesome';
    color: #003593;
    background: none;
    padding: 0 5px;
    line-height: 1;
    font-weight: 100;
    margin: 0 5% 0 0;;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

a.closeme:hover {
    color: #000
}

#members-list .faded, 
#members-list .faded img, 
#members-list .faded h2,
#members-list .faded h3 {
    opacity: 0.5;
    margin-bottom: 0;
}


#members-list .faded:hover,
#members-list .faded:hover img,
#members-list .faded:hover h2,
#members-list .faded:hover h3 {
    opacity: 0.9 !important;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.biocontainer {
    margin: 0 auto;
    float: none;
    max-width: 100%;
    display: block;
}


html {
    overflow-x: hidden;
    overflow-y: scroll;
}

iframe {
    max-width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 54.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

iframe {float:left; max-width:62%; margin:15px 15px 15px 0 !important;}

.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.entry-content img, .entry-content iframe, .entry-content object, .entry-content embed {
    max-width: 100%;
}

.active .hoverpic {
    display: block;
}

.cstiles.is-auto-fix {
    margin-left: -.3%; 
    /* margin-right: -2%; */
}

ul#menu-main-nav-menu {
    margin-right: 0
}

.grid-item {float:left;}

/* Project Single */
.my-gallery {
    margin: 22px 0
}

img.thumbz {
    opacity: 0
}

h1.entry-title {
    font-size: 40px;
    line-height: 1.3;
    margin: 0;
}



h3.subtitle, h3.subtitle a {
    margin: 0;
    font-size: 17px;
    color: #939598;
    font-weight: bold;
    letter-spacing: 1px;
}

h3.subtitle span:after {
    content: ", "
}

h3.subtitle span:last-child:after {
    content: "" !important
}

.subtitle {
    padding-bottom: 40px;
}


/* Gallery hideshow */

.item h3 {
    font-size: 22px;
    font-weight: 400;
    display: block;
}

/* Animations */
.animated {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

.animated.hinge {
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    -ms-animation-duration: 2s;
    -o-animation-duration: 2s;
    animation-duration: 2s;
}

@-webkit-keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes bounceIn {
    0% {
        opacity: 0;
        -moz-transform: scale(0.8);
    }

    50% {
        opacity: 1;
        -moz-transform: scale(1.05);
    }

    100% {
        opacity: 1;
        -moz-transform: scale(1);
    }
}

@-o-keyframes bounceIn {
    0% {
        opacity: 0;
        -o-transform: scale(0.8);
    }

    50% {
        opacity: 1;
        -o-transform: scale(1.05);
    }

    100% {
        opacity: 1;
        -o-transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bounceIn {
    -webkit-animation-name: bounceIn;
    -moz-animation-name: bounceIn;
    -o-animation-name: bounceIn;
    animation-name: bounceIn;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.delay {
    -webkit-animation-delay: 0.30s;
    -moz-animation-delay: 0.30s;
    -o-animation-delay: 0.30s;
    animation-delay: 0.30s;
}

.delay-three {
    -webkit-animation-delay: 0.60s;
    -moz-animation-delay: 0.60s;
    -o-animation-delay: 0.60s;
    animation-delay: 0.60s;
}

.delay-two {
    -webkit-animation-delay: 1.0s;
    -moz-animation-delay: 1.0s;
    -o-animation-delay: 1.0s;
    animation-delay: 1.0s;
}

.delay-one {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInUp {
    0% {
        opacity: 0;
        -moz-transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInUp {
    0% {
        opacity: 0;
        -o-transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    -moz-animation-name: fadeInUp;
    -o-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -moz-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@-o-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -o-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.fadeOutDown {
    -webkit-animation-name: fadeOutDown;
    -moz-animation-name: fadeOutDown;
    -o-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
    }
}

@-moz-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -moz-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -moz-transform: translateX(-20px);
    }
}

@-o-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -o-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -o-transform: translateX(-20px);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.animated.fadeOut {
    -webkit-animation-name: fadeOut;
    -moz-animation-name: fadeOut;
    -o-animation-name: fadeOut;
    animation-name: fadeOut;
}

.animated.fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    -moz-animation-name: fadeOutLeft;
    -o-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

#masonrycontainer {
    margin: 30px 9px 0 2px;
}
.home #masonrycontainer {margin: 0;}
.grid {
    margin-right: -3%;
}

.grid-item {
    position: relative;
    cursor: pointer;
}

.grid-item h3 {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    display: block;
    font-weight: bold;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
    margin-bottom: 20px;
}
.grid-item:hover h3 {color: #003594}
.grid-item a {
    text-decoration: none
}


.single-single {
    width: 31.19%;
    height: auto;
}

.single-single img {
    width: 100%;
    height: auto;
}

.grid-item:hover {
    opacity: 0.9;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.featured {
    min-width: 0;
    float: right;
    margin: 0 0 0 20px;
    max-width: 50%;
}

/* SFX */
/* footer social icons */
ul.social-network {
	list-style: none;
	display: inline;
	margin:0 !important;
	padding: 0;
	float:right;
}
ul.social-network li {
	display: inline;
	margin: 0 2px;
}


/* footer social icons */
.social-network a.icoRss:hover {
	background-color: #F56505;
}
.social-network a.icoFacebook:hover {
	background-color:#3B5998;
}
.social-network a.icoTwitter:hover {
	background-color:#33ccff;
}
.social-network a.icoGoogle:hover {
	background-color:#BD3518;
}
.social-network a.icoVimeo:hover {
	background-color:#0590B8;
}
.social-network a.icoLinkedin:hover {
	background-color:#007bb7;
}
.social-network a.icoInstagram:hover {
	background-color:#8a3ab9;
}

.social-network a.icoInstagram:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i {
	color:#fff;
}
a.socialIcon:hover, .socialHoverClass {
	color:#44BCDD;
}

.social-circle li a {
	display:inline-block;
	position:relative;
	margin:0 auto 0 auto;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	border-radius:50%;
	text-align:center;
	width: 40px;
	height: 40px;
	font-size:24px;
	 border-bottom:0 !important;
}
.social-circle li i {
	margin:0;
	line-height:40px;
	text-align: center;
}

.social-circle li a:hover i, .triggeredHover {
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-ms--transform: rotate(360deg);
	transform: rotate(360deg);
	-webkit-transition: all 0s;
	-moz-transition: all 0s;
	-o-transition: all 0s;
	-ms-transition: all 0s;
	transition: all 0s;
}
.social-circle i {
	color: #fff;
	-webkit-transition: all 1.2s;
	-moz-transition: all 1.2s;
	-o-transition: all 1.2s;
	-ms-transition: all 1.2s;
	transition: all 1.2s;
}

.social-circle a {
 background-color: #D3D3D3;   
}

.maincontent a, .single-projects .flex_33 a, .cat-item a , .entry a {
    text-decoration: none;
    border-bottom: 2px solid rgba(1, 46, 141, 0);    
    transition: 0.2s ease;
}
.single-projects .projectdeetz a {font-size:21px;/* margin-left:5px; */}
.maincontent a:hover, .single-projects .flex_33 a:hover, .cat-item a:hover, .entry a:hover {
    text-decoration: none;
    border-bottom: 2px solid #003594;
}
.sampleClass {float:right;}

@media screen and (min-width:780px) {
    .shiftnav-toggle-button {display:none !important;} 
}
@media screen and (max-width:780px) {
    #header .flex_80 {align-self: flex-start !important; }
    .shiftnav-toggle-button { float:right}
}