/*
Theme Name: Main
Author: Well Creative
Author URI: http://wellcreative.com.au
Version: 1.0.0
*/

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[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}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,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:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:10px 0 20px}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 20px}nav ul,nav ol{list-style:none;list-style-image:none}img{max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width: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-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}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}html{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}*,*:before,*:after{-moz-box-sizing:inherit;-webkit-box-sizing:inherit;box-sizing:inherit;}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute !important;height:1px;width:1px;overflow:hidden;}.screen-reader-text:hover,.screen-reader-text:active,.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000;}.clearfix:before,.clearfix:after{content:"";display:table;}.clearfix:after{clear:both;}.clearfix{zoom:1;}html{overflow-y:scroll;overflow-x:hidden;width:100%;}body{margin:0;width:100%;min-width:960px;}@media all and (max-width:9999px){ body{min-width:320px;} }.wrapper{width:100%;max-width:1360px;margin:0 auto;padding:0 30px;}.wrapper:before,.wrapper:after{content:"";display:table;}.wrapper:after{clear:both;}.wrapper{zoom:1;}.wrapper.narrow{max-width:960px;}@media all and (max-width:400px){.wrapper{padding:0 10px;}}

/****** Typography ******/
body { color:#28515d; font-family:'Muli', sans-serif; font-weight:400; font-size:18px; line-height:1.89; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color:#28515d; text-decoration:none; }
a:hover { color:#4BBBC8; }
nav a:hover, nav ul a:hover { text-decoration:none; }
p > a:hover, ul a:hover, ol a:hover{ text-decoration:underline; }
p { margin:0 0 25px; }
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 45px; }
h1, .h1 { color:#004457; font-family:'Days One', sans-serif; font-weight:400; font-size:2.222em; line-height:1.1; margin:0 0 20px 0; text-transform:uppercase; }
h2, .h2 { color:#004457; font-family:'Muli', sans-serif; font-weight:300; font-size:2em; line-height:1.333; margin:0 0 20px 0; }
h3, .h3 { color:#22a0b6; font-family:'Muli', sans-serif; font-weight:300; font-size:1.778em; line-height:1.333; margin:0 0 20px 0; }
h4, .h4 { color:#004457; font-family:'Muli', sans-serif; font-weight:400; font-size:1.556em; line-height:1.333; margin:0 0 20px 0; }
h5, .h5 { color:#22a0b6; font-family:'Muli', sans-serif; font-weight:400; font-size:1.333em; line-height:1.333; margin:0 0 20px 0; }
h6, .h6 { color:#004457; font-family:'Muli', sans-serif; font-weight:400; font-size:1em; line-height:1.89; margin:0 0 8px 0; }
h1 > strong { display: block; font-weight:400; font-size:2em; margin:0 0 35px 0; }
h2 > strong { display: block; font-weight:300; font-size:1.667em; margin:0 0 30px 0; }
h3 > strong { display: block; font-weight:300; font-size:1.25em; margin:0 0 25px 0; }
h4 > strong { display: block; font-weight:400; font-size:1.07em; margin:0 0 20px 0; }
h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a, h6 a, .h6 a { color:inherit; }
h1 a:hover, .h1 a:hover, h2 a:hover, .h2 a:hover, h3 a:hover, .h3 a:hover, h4 a:hover, .h4 a:hover, h5 a:hover, .h5 a:hover, h6 a:hover, .h6 a:hover { color:#4BBBC8; }
pre, .pre{ color:#004457; font-family:'Muli', sans-serif; font-weight:400; font-size:0.75em; line-height:1.333; margin:0 0 8px 0; }
.reverse p, .reverse a, .reverse h1, .reverse .h1, .reverse h2, .reverse .h2, .reverse h3, .reverse .h3, .reverse h4, .reverse .h4, .reverse h5, .reverse .h5, .reverse h6, .reverse .h6 { color:#ffffff; }
ul li, ol li{ margin: 0 0 15px 0; }
ul.list li{ margin-bottom:4px; }
nav li{ margin:0; }
ul, ol{ margin:0 0 25px 0; }
ul + h1, ol + h1, ul + h2, ol + h2, ul + h3, ol + h3, ul + h4, ol + h4, ul + h5, ol + h5, ul + h6, ol + h6 { margin-top: 45px; }
hr{ margin:20px 0; border:0; height:1px; background-color:#4BBBC8; }
blockquote { text-align: center; position: relative; margin: 0 0 25px; padding:50px 40px 55px; }
blockquote::before { position:absolute; content: "\201c"; font-family: "Times New Roman",Times,serif; display: inline-block; font-size: 70px; line-height: 1; font-weight: 700; height: 45px; left:50%; top:0; margin-left:-20px; }
blockquote::after { position:absolute; content: "\201d"; font-family: "Times New Roman",Times,serif; display: inline-block; font-size: 70px; line-height: 1; font-weight: 700; height: 45px; left:50%; bottom:0; margin-left:-20px; }
blockquote *:last-child { margin-bottom:0; }
@media all and ( max-width:960px ){
  h1 > strong { font-size:1em; }
  h2 > strong { font-size:1em; }
  h3 > strong { font-size:1em; }
  h4 > strong { font-size:1em; }
}
@media all and ( max-width:620px ){
  body { font-size:15.5px; }
}
[class^="icon-"]:before, [class*=" icon-"]:before { font-size:140%; }

/****** Site Header ******/
.site-header { background:#004457; padding-top:15px; padding-bottom:18px; text-align:center; }
.site-header__logo { display:block; vertical-align:middle; margin:0; padding:0; float:left; width:192px; }
.site-header__logo-link { display:block; }
.site-header__logo-img { display:block; }
.site-header__contact{ display:block; float:right; text-align:right; margin-top: 18px; }
.site-header__phone{ color:#ffffff; font-size:15px; }
.site-header__email{ color:#ffffff; font-size:15px; }
.site-header__contact a{ color:#ffffff; margin-right:6px; }
.site-header__contact a:hover{ color:#4BBBC8; } 
.site-header__nav { display:block; background:#4BBBC8 url('/wp-content/themes/main/images/tile.png'); border-top: 3px solid #d2e5ed; border-bottom: 3px solid #d2e5ed; }
.site-header__nav-menu { margin:0; padding:0; font-size: 16px; line-height: 1.1; text-align:center; padding-bottom: 6px; }
.menu-item { display:inline-block; vertical-align:middle; margin-right:16px; margin-top:6px; max-width: 185px; font-size: 14px; text-align:center; }
.menu-item__title{ vertical-align:middle; }
.item-link{ outline:none !important; display:inline-block; vertical-align:middle; padding: 5px 10px; color:#ffffff; text-transform:uppercase; font-weight:600; }
.item-link:hover{ color:#004457; }
.sub-nav-toggle { vertical-align:middle; }
.menu-item.sub-items { position:relative; }
.site-header__nav-sub-menu { display:none; position:absolute; top:0; left:10px; margin:0; padding:0; }
.menu-item.sub-items.active .site-header__nav-sub-menu,
.menu-item.sub-items:hover .site-header__nav-sub-menu,
.site-header__nav-sub-menu:hover { display:block; top:100%; z-index:1000; background:#ffffff; width:240px; border:1px solid #28515d; }
.menu-item.sub-items:hover .site-header__nav-sub-menu{ z-index:1001; }
.menu-item.sub-item { display:block; border-top:1px solid #28515d; margin:0; padding:0; text-align:left; font-size:0.9em; }
.menu-item.sub-item:first-child { border-top:0; }
.menu-item.sub-item:hover { background:#f2f2f2; }
.sub-item > .item-link{ display: block; padding: 10px; }
.site-header__nav-toggle{ display:none; color:#ffffff; }
.site-header__nav-toggle:hover{ cursor:pointer; color:#004457; }
.site-header__nav-toggle i{ font-size:22px; }
@media all and ( max-width:860px ){
  .site-header__nav{ text-align:left; }
  .site-header__nav-toggle{ display:inline-block; padding-top:5px; }
  .site-header__nav-menu { max-height:0px; display:block; overflow:hidden; clear:left; padding-bottom:0; text-align:left; -webkit-transition: max-height 1s ease-in-out; -moz-transition: max-height 1s ease-in-out; -ms-transition: max-height 1s ease-in-out; -o-transition: max-height 1s ease-in-out; transition: max-height 1s ease-in-out; }
  .site-header__nav-toggle.active + .site-header__nav-menu{ max-height:3000px; }
  .menu-item{ display:block; margin-right:0; text-align:left; max-width:none; font-size:15.5px; }
  .menu-item:last-child{ margin-bottom:30px; } 
  .site-header__nav-sub-menu{ position:static; top:initial; left:initial; display:none; }
  .menu-item.sub-item{ text-align:left; border-top:0; }
  .menu-item.sub-item:hover{ background:none; }
  .site-header__nav-sub-menu{ display:block !important; border:0 !important; width: auto !important; background:none !important; top:initial !important; padding-left:12px !important; }
  .site-header__nav-sub-menu{ overflow:hidden; max-height:0; -webkit-transition: max-height 1s ease-in-out; -moz-transition: max-height 1s ease-in-out; -ms-transition: max-height 1s ease-in-out; -o-transition: max-height 1s ease-in-out; transition: max-height 1s ease-in-out; }
  .menu-item.sub-items.active .site-header__nav-sub-menu{ max-height:3000px; }
  .menu-item.sub-items:hover .site-header__nav-sub-menu,
  .site-header__nav-sub-menu:hover{ display:none; }
  .sub-item > .item-link{ padding: 7px; }
  .sub-nav-toggle { margin-left:10px; }
}
@media all and ( max-width:550px ){
  .site-header__logo { float: none; margin: 0 auto; width:250px; }
  .site-header__contact { display: block; float: none; text-align: center; margin-top: 25px; }
}

/****** Site Footer ******/
.site-footer { position:relative; text-align:center; padding-top:30px; padding-bottom:40px; }
.site-footer__logo { display:block; margin:0 auto; vertical-align:top; }
.site-footer__content { display:block; vertical-align:top; margin-top:10px; }
.site-footer__notice { display:block; font-size:0.7em; }
.site-footer__notice, .site-footer__notice-link { color:#28515d; }
.site-footer__notice-link:hover{ text-decoration:underline; }
@media all and ( max-width:560px ){
  .site-footer__logo { display:block; text-align:center; margin:0 auto; }
  .site-footer__content { display:block; text-align:center; }
}

/****** Columns ******/
.row.cols { margin:0 0 0 -30px; text-align:center; }
.row.cols:before, .row.cols:after{ content:""; display:table; } .row.cols:after{ clear:both; } .row.cols{ zoom:1; }
.col { display:inline-block; vertical-align:top; width:100%; text-align:left; margin:0 0 30px 0; padding-left:30px; }
.col__inner { display:block; padding:20px; vertical-align:top; overflow:hidden; }
.row.cols-1 .col {}
.row.cols-2 .col { width:50%; }
.row.cols-3 .col { width:33.333%; }
.row.cols-4 .col { width:25%; }
@media all and ( max-width:1180px ){
  .row.cols-4 .col { width:33.333%; }
}
@media all and ( max-width:1050px ){
  .row.cols-4 .col { width:50%; }
  .row.cols-3 .col { width:50%; }
}
@media all and ( max-width:680px ){
  .row.cols-4 .col { width:100%; }
  .row.cols-3 .col { width:100%; }
  .row.cols-2 .col { width:100%; }
}

.row.valign .col{ vertical-align:middle; }
.row.no-gutter { margin:0 auto; }
.row.no-gutter .col { padding-left:0; }
.col.no-padding .col__inner { padding:0; }

.cols-1.intro .col{ margin-bottom:0; }
.cols-1.intro .col__inner{ padding:0; }

.cols-1 .col.contain .col__inner { max-width:900px; margin: 0 auto; }
.cols-1 .col.contain.contain--narrow .col__inner{ max-width:650px; }
.cols-1 .col.contain.contain--left .col__inner{ margin-left:0; text-align:left; }
.cols-1 .col.contain.contain--right .col__inner{ margin-right:0; text-align:right; }

.cols-2 .col.contain .col__inner{ max-width:460px; margin:0 auto; }
.cols-2 .col.contain.contain--left .col__inner{ margin-left:0; text-align:left; }
.cols-2 .col.contain.contain--right .col__inner{ margin-right:0; text-align:right; }
@media all and ( max-width:680px ){
  .cols-2 .col.contain .col__inner{ max-width:none; }
  .row.cols-2 .col.contain.contain--left .col__inner{ margin: 0 auto; text-align:left; }
  .row.cols-2 .col.contain.contain--right .col__inner{ margin: 0 auto; text-align:left; }
}

.row.cols-2 .col--fixed{ width:460px; }
.row.cols-2 .col--fixed + .col{ width:55%; }
.row.cols-2 .col--flip{ position:relative; left:49.9%; z-index: 1; }
.row.cols-2 .col--flip.col--fixed{ left: 55%; }
.row.cols-2 .col--flip + .col{ position:relative; right:49.95%; }
.row.cols-2 .col--flip.col--fixed + .col{ right:460px; }
@media all and ( max-width:1060px ){
  .row.cols-2 .col--fixed{ width:95%; max-width:650px; }
  .row.cols-2 .col--fixed + .col{ width:95%; max-width:650px; }
  .row.cols-2 .col--flip.col--fixed{ left:0; }
  .row.cols-2 .col--flip.col--fixed + .col{ right:0; }
}
@media all and ( max-width:680px ){
  .row.cols-2 .col--flip{ left:0; }
  .row.cols-2 .col--flip + .col{ right:0; }
}

.row.side-by-side { margin:0; display:block; display:table; width:100%; }
.side-by-side .col{ padding-left:0; display:inline-block; display:table-cell; vertical-align:middle; padding: 60px 0; }
.side-by-side .col__inner{ max-width:650px; }
.side-by-side__left .col__inner{ margin-left:auto; text-align:right; padding-right:35px; }
.side-by-side__right .col__inner{ margin-right:auto; text-align:left; padding-left:35px; }
.side-by-side .col.pad-120{ padding:120px 0; }
.side-by-side .col.pad-180{ padding:180px 0; }
.row.cols-2.side-by-side .col.contain .col__inner{ max-width:620px; }
.side-by-side__left.col--flip .col__inner{ padding-left:35px; padding-right:20px; }
@media all and ( max-width:1080px ){
  .row.side-by-side{ display:block; }
  .row.cols-2.side-by-side .col{ display:block; width:100%; margin-bottom:0; }
  .side-by-side .col.pad-120, .side-by-side .col.pad-180{ padding:80px 0; }
  .side-by-side__left .col__inner, .side-by-side__right .col__inner{ margin-left:auto; margin-right:auto; text-align:center; }
  .side-by-side .bg-image__fill{ display:block; padding-top: 60%; }
  .row.cols-2.side-by-side .col.contain.contain--left .col__inner,
  .row.cols-2.side-by-side .col.contain.contain--right .col__inner{ text-align:center; margin:0 auto; }
  .row.cols-2.side-by-side .col--flip{ left:0; }
  .row.cols-2.side-by-side .col--flip + .col{ right:0; }
}

.bg-image{ background-repeat:no-repeat; background-position:center center; background-attachment:scroll; -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; }
.bg-image--no-cover{ -webkit-background-size:auto; -moz-background-size:auto; -o-background-size:auto; background-size:auto; }
.bg-image--left-top{ background-position:left top; }
.bg-image--left-center{ background-position:left center; }
.bg-image--left-bottom{ background-position:left bottom; }
.bg-image--center-top{ background-position:center top; }
.bg-image--center-bottom{ background-position:center bottom; }
.bg-image--right-top{ background-position:right top; }
.bg-image--right-center{ background-position:right center; }
.bg-image--right-bottom{ background-position:right bottom; }
@media all and ( max-width:960px ){
  .bg-image--no-cover{ -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; }
}

/****** Sections ******/
section.section{ padding:30px 0; }
section.pad-0{ padding:0 0; }
section.pad-60{ padding:60px 0; }
section.pad-120{ padding:120px 0; }
section.pad-180{ padding:180px 0; }

/****** Pages ******/
main.page { background:#FFFFFF; }

section.overview{ display:none; }
body.items-page.overview section.overview{ display:block; }

section.bg-light{ background:#f6f6f6 url('/wp-content/themes/main/images/tile-light.png'); }
section.bg-blue{ background:#004457; }
section.bg-aqua{ background:#4BBBC8 url('/wp-content/themes/main/images/tile.png'); }
section.bg-aqua { font-weight:600 !important; }

/****** General ******/
.cta-button{ display:inline-block; min-width:230px; vertical-align:top; border:0; background-color:#4BBBC8; color:#ffffff; padding: 18px 10px; line-height: 1; text-align:center; text-transform:uppercase; font-weight:600; font-size:14px; -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; }
.cta-button:hover{ background-color:#004457; color:#ffffff; text-decoration:none; cursor:pointer; } 

/****** Projects ******/
.project-content{ display:inline-block; vertical-align:top; width:100%; margin-bottom: 30px; }
body.single main.page .wrapper{ max-width:960px; }
body.single .project-container .project-content{ width:100%; padding-right:0; }
.project-posts{ margin-left:-30px; }
.project-post{ margin:0 0 30px; width:100%; display:inline-block; vertical-align:top; padding-left:30px; }
.project-posts.cols-4 .project-post{ width:25%; }
.project-posts.cols-3 .project-post{ width:33.333%; }
.project-posts.cols-2 .project-post{ width:50%; }
@media all and ( max-width:1280px ){
  .project-posts.cols-4 .project-post{ width:33.333%; }
}
@media all and ( max-width:980px ){
  .project-posts.cols-4 .project-post,
  .project-posts.cols-3 .project-post{ width:50%; }
}
@media all and ( max-width:680px ){
  .project-posts{ margin-left:0; }
  .project-posts.cols-4 .project-post,
  .project-posts.cols-3 .project-post,
  .project-posts.cols-2 .project-post{ width:100%; max-width:560px; display: block; margin: 0 auto 30px; padding-left:0; }
}

.single.project-post{ width:100%; }
.project-post__inner{ padding:30px; }
.project-post__image{ display: block; width: 100%; margin-bottom: 15px; }
.project-post__image img{ display:inline-block; vertical-align:bottom; }
.project-post__title{ text-align:left; }
.archive.project-post .project-post__title{ margin-bottom:10px; }
.project-post__posted-by{ font-size:0.85em; }
.project-post__content{ display: inline-block; width:100%; vertical-align: top; }
.project-post.single .project-post__content{ width:100%; }

/****** Featured Items ******/
.row.cols.cols-custom { margin-left:0; }
.cols-custom .itm { padding:0; margin-left:0; margin-right:0; }
.itm { position:relative; outline:none !important; }
.itm__inner { display:block; padding:20px; vertical-align:top; text-align:center; overflow:hidden; outline:none !important; }
.itm__inner:hover { color:inherit; }

/****** Footer to bottom ******/
main.page{ min-height:275px; }
@media all and (min-height:550px){ main.page{ min-height:325px; } }
@media all and (min-height:600px){ main.page{ min-height:375px; } }
@media all and (min-height:650px){ main.page{ min-height:425px; } }
@media all and (min-height:700px){ main.page{ min-height:475px; } }
@media all and (min-height:750px){ main.page{ min-height:525px; } }
@media all and (min-height:800px){ main.page{ min-height:575px; } }
@media all and (min-height:850px){ main.page{ min-height:625px; } }
@media all and (min-height:900px){ main.page{ min-height:675px; } }
@media all and (min-height:950px){ main.page{ min-height:725px; } }
@media all and (min-height:1000px){ main.page{ min-height:775px; } }
@media all and (min-height:1050px){ main.page{ min-height:825px; } }
@media all and (min-height:1100px){ main.page{ min-height:875px; } }
@media all and (min-height:1150px){ main.page{ min-height:925px; } }
@media all and (min-height:1200px){ main.page{ min-height:975px; } }
@media all and (min-height:1250px){ main.page{ min-height:1025px; } }

/****** Gallery ******/
.gallery { margin-left:-30px; margin-bottom:-30px; padding:10px; text-align:center; }
.gallery .gallery-item { display:inline-block; vertical-align:middle; width:25%; padding-left:30px; margin-bottom:30px; text-align:center; }
.gallery figcaption.gallery-caption { display:none; }
.gallery .gallery-item .gallery-icon { overflow:hidden; }
.gallery .gallery-item a { display:block; text-align:center; }
.gallery .gallery-item img { width:auto; display:block; margin:0 auto; -webkit-transition:all 0.6s ease; -moz-transition:all 0.6s ease; -o-transition:all 0.6s ease; transition:all 0.6s ease; }
.gallery .gallery-item img:hover { -webkit-transform:scale(1.08); -moz-transform:scale(1.08); -ms-transform:scale(1.08); -o-transform:scale(1.08); transform:scale(1.08);}
.gallery.gallery-columns-4 .gallery-item { width:25%; }
.gallery.gallery-columns-3 .gallery-item { width:33.333%; }
.gallery.gallery-columns-2 .gallery-item { width:50%; }
body.no-js .gallery.gallery-size-small .gallery-item img { max-height:220px; }
.featured-gallery { padding:10px; }
.featured-gallery .gallery { padding:0; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-item{ max-width:620px; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-item a{ position:relative; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-item img{ max-width:none; width:100%; display:block; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-icon a:before{ content:''; display:block; position:absolute; top:50%; left:50%; max-height:0; width:0; height:0; -webkit-transition:all 1s ease; -moz-transition:all 1s ease; -o-transition:all 1s ease; transition:all 1s ease; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-icon a:hover:before{ max-height:9999px; top:0; left:0; right:0; bottom:0; background:#000000; opacity:0.5; width:100%; height:100%; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-icon a:after{ content:'+'; color:#ffffff; font-size:180px; line-height:0.5; position:absolute; top:50%; left:50%; width:100px; height:100px; margin-left:-50px; margin-top:-50px; opacity:0; -webkit-transition:all 1s ease; -moz-transition:all 1s ease; -o-transition:all 1s ease; transition:all 1s ease; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-icon a:hover:after{ opacity:1; }
.gallery.gallery-size-square.gallery-columns-4 .gallery-item img:hover{ -webkit-transform:none; -moz-transform:none; -ms-transform:none; -o-transform:none; transform:none; }
@media all and ( max-width:960px ){
  .gallery.gallery-columns-4 .gallery-item { width:33.333%; }
  .cols-2 .col .featured-gallery .gallery.gallery-columns-3 .gallery-item { width:50%; }
}
@media all and ( max-width:650px ){
  .gallery.gallery-columns-4 .gallery-item { width:50%; }
  .gallery.gallery-columns-3 .gallery-item { width:50%; }
}
@media all and ( max-width:450px ){
  .gallery.gallery-columns-4 .gallery-item { width:100%; }
  .gallery.gallery-columns-3 .gallery-item { width:100%; }
  .gallery.gallery-columns-2 .gallery-item { width:100%; }
  .cols-2 .col .featured-gallery .gallery.gallery-columns-3 .gallery-item{ width:100%; }
}

/****** Magnific Popup ******/
.mfp-bg { top:0; left:0; width:100%; height:100%; z-index:1042; overflow:hidden; position:fixed; background:#0b0b0b; opacity:0.8; filter:alpha(opacity=80); }
.mfp-wrap { top:0; left:0; width:100%; height:100%; z-index:1043; position:fixed; outline:none !important; -webkit-backface-visibility:hidden; }
.mfp-container { text-align:center; position:absolute; width:100%; height:100%; left:0; top:0; padding:0 8px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
.mfp-container:before { content:''; display:inline-block; height:100%; vertical-align:middle; }
.mfp-align-top .mfp-container:before{ display:none; }
.mfp-content { position:relative; display:inline-block; vertical-align:middle; margin:0 auto; text-align:left; z-index:1045; }
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width:100%; cursor:auto; }
.mfp-ajax-cur { cursor:progress; }
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor:-moz-zoom-out; cursor:-webkit-zoom-out; cursor:zoom-out; }
.mfp-zoom { cursor:pointer; cursor:-webkit-zoom-in; cursor:-moz-zoom-in; cursor:zoom-in; }
.mfp-auto-cursor .mfp-content{ cursor:auto; }
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { -webkit-user-select:none; -moz-user-select:none; user-select:none; }
.mfp-loading.mfp-figure{ display:none; }
.mfp-hide{ display:none !important; }
.mfp-preloader { color:#CCC; position:absolute; top:50%; width:auto; text-align:center; margin-top:-0.8em; left:8px; right:8px; z-index:1044; }
.mfp-preloader a{ color:#CCC; }
.mfp-preloader a:hover{ color:#FFF; }
.mfp-s-ready .mfp-preloader{ display:none; }
.mfp-s-error .mfp-content{ display:none; }
button.mfp-close, button.mfp-arrow { overflow:visible; cursor:pointer; background:transparent; border:0; -webkit-appearance:none; display:block; outline:none; padding:0; z-index:1046; -webkit-box-shadow:none; box-shadow:none; }
button::-moz-focus-inner { padding:0; border:0; }
.mfp-close { width:44px; height:44px; line-height:44px; position:absolute; right:0; top:0; text-decoration:none; text-align:center; opacity:0.65; filter:alpha(opacity=65); padding:0 0 18px 10px; color:#FFF; font-style:normal; font-size:28px; font-family:Arial, Baskerville, monospace; }
.mfp-close:hover, .mfp-close:focus { opacity:1; filter:alpha(opacity=100); }
.mfp-close:active { top:1px; }
.mfp-close-btn-in .mfp-close { color:#333; }
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { color:#FFF; right:-6px; text-align:right; padding-right:6px; width:100%; }
.mfp-counter { position:absolute; top:0; right:0; color:#CCC; font-size:12px; line-height:18px; white-space:nowrap; }
.mfp-arrow { position:absolute; opacity:0.65; filter:alpha(opacity=65); margin:0; top:50%; margin-top:-55px; padding:0; width:90px; height:110px; -webkit-tap-highlight-color:rgba(0, 0, 0, 0); }
.mfp-arrow:active { margin-top:-54px; }
.mfp-arrow:hover, .mfp-arrow:focus { opacity:1; filter:alpha(opacity=100); }
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { content:''; display:block; width:0; height:0; position:absolute; left:0; top:0; margin-top:35px; margin-left:35px; border:medium inset transparent; }
.mfp-arrow:after, .mfp-arrow .mfp-a { border-top-width:13px; border-bottom-width:13px; top:8px; }
.mfp-arrow:before, .mfp-arrow .mfp-b { border-top-width:21px; border-bottom-width:21px; opacity:0.7; }
.mfp-arrow-left { left:0; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a { border-right:17px solid #FFF; margin-left:31px; }
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b { margin-left:25px; border-right:27px solid #3F3F3F; }
.mfp-arrow-right { right:0; }
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a { border-left:17px solid #FFF; margin-left:39px; }
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b { border-left:27px solid #3F3F3F; }
.mfp-iframe-holder { padding-top:40px; padding-bottom:40px; }
.mfp-iframe-holder .mfp-content { line-height:0; width:100%; max-width:900px; }
.mfp-iframe-holder .mfp-close { top:-40px; }
.mfp-iframe-scaler { width:100%; height:0; overflow:hidden; padding-top:56.25%; }
.mfp-iframe-scaler iframe { position:absolute; display:block; top:0; left:0; width:100%; height:100%; box-shadow:0 0 8px rgba(0, 0, 0, 0.6); background:#000; }
img.mfp-img { width:auto; max-width:100%; height:auto; display:block; line-height:0; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; padding:40px 0 40px; margin:0 auto; }
.mfp-figure { line-height:0; }
.mfp-figure:after { content:''; position:absolute; left:0; top:40px; bottom:40px; display:block; right:0; width:auto; height:auto; z-index:-1; box-shadow:0 0 8px rgba(0, 0, 0, 0.6); background:#444; }
.mfp-figure small { color:#BDBDBD; display:block; font-size:12px; line-height:14px; }
.mfp-figure figure { margin:0; }
.mfp-bottom-bar { margin-top:-36px; position:absolute; top:100%; left:0; width:100%; cursor:auto; }
.mfp-title { text-align:left; line-height:18px; color:#F3F3F3; word-wrap:break-word; padding-right:36px; }
.mfp-image-holder .mfp-content { max-width:100%; }
.mfp-gallery .mfp-image-holder .mfp-figure { cursor:pointer; }
@media screen and ( max-width:800px ) and ( orientation:landscape ), screen and ( max-height:300px ) {
  .mfp-img-mobile .mfp-image-holder { padding-left:0; padding-right:0; }
  .mfp-img-mobile img.mfp-img { padding:0; }
  .mfp-img-mobile .mfp-figure:after { top:0; bottom:0; }
  .mfp-img-mobile .mfp-figure small { display:inline; margin-left:5px; }
  .mfp-img-mobile .mfp-bottom-bar { background:rgba(0, 0, 0, 0.6); bottom:0; margin:0; top:auto; padding:3px 5px; position:fixed; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
  .mfp-img-mobile .mfp-bottom-bar:empty { padding:0; }
  .mfp-img-mobile .mfp-counter { right:5px; top:3px; }
  .mfp-img-mobile .mfp-close { top:0; right:0; width:35px; height:35px; line-height:35px; background:rgba(0, 0, 0, 0.6); position:fixed; text-align:center; padding:0; }
 }
@media all and ( max-width:900px ) {
  .mfp-arrow{ -webkit-transform:scale(0.75); transform:scale(0.75); }
  .mfp-arrow-left { -webkit-transform-origin:0; transform-origin:0; }
  .mfp-arrow-right { -webkit-transform-origin:100%; transform-origin:100%; }
  .mfp-container { padding-left:6px; padding-right:6px; }
}
.mfp-ie7 .mfp-img { padding:0; }
.mfp-ie7 .mfp-bottom-bar {width:600px; left:50%; margin-left:-300px; margin-top:5px; padding-bottom:5px; }
.mfp-ie7 .mfp-container { padding:0; }
.mfp-ie7 .mfp-content { padding-top:44px; }
.mfp-ie7 .mfp-close { top:0; right:0; padding-top:0; }

/****** Utility Classes ******/
.center { text-align:center !important; }
.left { text-align:left !important; }
.right { text-align:right !important; }
.alignnone { margin:15px 0px }
.aligncenter, div.aligncenter { display:block; margin:5px auto 5px auto; }
.alignright { float:right; margin:5px 0 20px 20px; }
.alignleft { float:left; margin:5px 20px 20px 0; }
a img.alignright { float:right; margin:5px 0 20px 20px; }
a img.alignnone { margin:5px 20px 20px 0; }
a img.alignleft { float:left; margin:5px 20px 20px 0; }
a img.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.box-shadow { -webkit-box-shadow:0px 0px 20px -5px rgba(0,0,0,0.7); -moz-box-shadow:0px 0px 20px -5px rgba(0,0,0,0.7); box-shadow:0px 0px 20px -5px rgba(0,0,0,0.7); }
.drop-shadow { -webkit-box-shadow:7px 7px 7px -5px rgba(0,0,0,0.7); -moz-box-shadow:7px 7px 7px -5px rgba(0,0,0,0.7); box-shadow:7px 7px 7px -5px rgba(0,0,0,0.7); }
img.post-image { display:block; margin:10px auto; }

.youtube-embed{ display:inline-block; width:100%; max-width:960px; margin:0 auto; }
.youtube-embed figure{ position:relative; padding-top:56%; }
.youtube-embed iframe{ display:block; margin:0 auto; width:100%; height:100%; position:absolute; top:0; }

.bg-video{ position:fixed; top:0; left:0; width:100%; height:100%; }
.bg-video .wp-video{ width:100% !important; }
.bg-video .mejs-video{ width:100% !important; height:auto !important; } 