/*
Theme Name: Bureau Insurance
Theme URI: http://bureauinsurance.co.nz
Author: MRD
Author URI: http://www.michaelreaney.com/
Description: Custom Wordpress theme.
Version: 1.1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, one-column, responsive-layout, custom-colors, theme-options
Text Domain: MRD
*/


/* == Fonts & Icons
-------------------------------------------------------------- */
@import url('includes/fonts/social-icon/social-icon.css');
@import url('includes/fonts/ui-icon/ui-icon.css');
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,600italic);


/* == WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

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

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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
}

.wp-caption {
    max-width: 96%; /* Image does not overflow the content area */
    text-align: left;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 14px;
    line-height: 17px;
    color: #949494;
    margin: 0;
    padding: 10px 0;
}

.sticky,
.gallery-caption {}


/* == Menu Overlay
-------------------------------------------------------------- */
/* Overlay style */
.overlay {
    position: fixed;
        z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(37, 38, 42, 0.98);
        overflow: hidden;
}

.overlay .overlay-header {
        color: #ffffff;
        padding: 67px 0 38px;
}

.overlay-header h3 {
    margin-top: 0;
    line-height: 1.1;
}

.overlay.close{
        opacity: 1;
        font-size: 16px;
}

.overlay.close a {
        line-height: 1.625;
        text-shadow: none;
}

/* Overlay closing cross */
.overlay .overlay-close {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: normal;
    color: #ffffff;
    outline: none;
    z-index: 100;
    padding: 0;
}

.overlay .overlay-close .icon {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    margin-left: 10px;
    vertical-align: middle;
}

/* Menu style */
.overlay nav {
        position: static;
        font-size: 16px;
        font-weight:bold;
        margin-bottom: 50px;
}

.overlay ul {
    list-style: none;
    display: block;
        padding-left: 0;
}

.overlay ul ul {
    padding-left: 30px;
}

.overlay ul ul li a:before {
    content: "—  " ;
}

.overlay ul li {
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.overlay ul li a {
    display: block;
        padding: 17px 0 18px;
    color: #888d92;
        border-bottom: solid 1px rgba(128,147,162,0.11);
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.overlay ul.menu > li:first-child a {
        border-top: solid 1px rgba(128,147,162,0.11);
}

.overlay ul li a:hover,
.overlay ul li a:focus {
    color: #ffffff;
}

/* Effects */
.overlay-slidedown {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
    transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slidedown.open {
    visibility: visible;
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}

/* Open menu button */
.nav-menu {
    color: #000;
}

.nav-menu button {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

.nav-menu button .icon {
    color: #000000;
    font-size: 24px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}



/* == Lagit Style
-------------------------------------------------------------- */
body {
    color: #5E6F7F;
    font-size: 16px;
    line-height: 1.625;
    overflow: hidden;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif; 
    letter-spacing: -0.2px;
}

.section .content h4,
.section .content h5,
.section .content h6,
article h4,
article h5, 
article h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 1.05px;
}

h1,
.h1 {
    font-size: 36px;
    line-height: 1.425;
}

h2,
.h2 {
    font-size: 30px;
    line-height: 1.525;
}

h3,
.h3 {
    font-size: 24px;
    line-height: 1.5;
}

h4,
.h4 {
    font-size: 18px;
    line-height: 1.625;
}

h5,
.h5 {
    font-size: 14px;
    line-height: 1.625;
    text-transform: uppercase;
}

h6,
.h6 {
    font-size: 12px;
    line-height: 1.625;
    text-transform: uppercase;
}

img {
    height: auto;
    max-width: 100%;
    width: auto;
}

.greeting {
    color: #414154;
    font-size: 50px;
    font-weight: 600;
    margin-top: 75px;
    line-height: 1.3;
    width: 60%;
}

.caption {
    color: #aaaaaa;
    font-size: 26px;
    line-height: 1.3;
}

.lead {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.4;
}
.lead-group {
    text-transform: uppercase;
}

a:hover, a:focus, .btn:focus {
    text-decoration: none;
    outline:none;
}

.btn:active {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

p, .contact, .section .content ul li, .post_excerpt {
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.collapsing {
    -webkit-transition: height .45s cubic-bezier(.36,.35,.32,.98); 
    transition: height .45s cubic-bezier(.36,.35,.32,.98);
}

[class^="icon-"]:before, [class*="icon-"]:before {
    -webkit-transition: color .5s ease; transition: color .5s ease;
}

.alert {
    margin-bottom: 6px;
    opacity: 0.8;
    padding: 3px 8px;
}

.space-bottom {
    margin-bottom: 30px;
}

.progress .progress-bar {
    -webkit-transition: width 0.9s ease-in-out; 
    -moz-transition: width 0.9s ease-in-out; 
    -ms-transition: width 0.9s ease-in-out;
    -o-transition: width 0.9s ease-in-out;
    transition: width 0.9s ease-in-out;
}
.container {
margin-right: auto;
margin-left: auto;
padding-left: 30px;
padding-right: 30px;
}
.header {
    margin-top: 70px;
    margin-bottom: 105px;
}

.contact {
    color: #cdcdcd;
    font-size: 18px;
    margin-top: 4px;
    text-align: left;
}

.contact a {
    color: #fa7568;
}

#first {
    margin-bottom: 15px;
}

#first a:hover {
    color: #ED6A5C;
}

.social ul {
    text-align: right;
    margin-bottom: 0;
}

.social ul li {
    margin: 0 0 0 5px;
    padding: 0;
}

.social .icon {
    font-size: 27px;
    line-height: 1.35;
}

li .bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    margin-right: 8px;
}

.section .title, .post_list {
    border-top: solid 1px rgba(0,0,0,0.06);
    border-bottom: solid 1px rgba(0,0,0,0.06);
}

.section .title {
    min-height: 105px;
    cursor: pointer;
}

.section .title h2 {
    font-size: 36px;
    margin: 26px 0;
}

.section .title.text-light h2 {
    color : #ffffff;
}

.section .title.text-dark h2 {
    color: #414154;
}

.section .title .icon:before {
    color: rgba(0,0,0,0.15);
}

.section .title .icon {
    font-size: 24px;
    margin: 37px 7px 0 0;
}

.section > .content > .container {
    padding-top: 50px;
    padding-bottom: 70px;
}

.section .content hr {
    margin: 50px 0;
    border-color: #000000;
    opacity: 0.07;
}

.section .content ul {
    list-style-type: none;
    padding: 0;
}

.section .content ul li {
    margin-bottom: 5px;
}

.text-dark .spinner > div {
    background-color: rgba(0,0,0,0.6);
}

.text-light .spinner > div {
    background-color: rgba(255,255,255,0.78);
}
button, .btn {
   font-family: 'Source Sans Pro', sans-serif;
   font-weight: 600;
   text-transform: uppercase;
}
.section .content.text-dark, 
#portfolio .text-dark .btn .icon:before {
    color: #5e6f7f;
}

.section .content.text-light,
#portfolio .text-light .btn .icon:before {
    color: #ffffff;
}

.text-dark h1,
.text-dark h2,
.text-dark h3,
.text-dark h4,
.text-dark h5, 
.text-dark h6  {
    color: #414154;
}

.text-light h1, 
.text-light h2, 
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6 {
    color: #ffffff;
}

.section .content.text-dark a {
    color: #5e6f7f;
    /*border-bottom: 1px solid #e1e6e9;*/
    padding-bottom: 2px;
}

.section .content.text-dark a:hover,
.section .content.text-dark a.active {
    /*border-bottom: 2px solid #414154;*/
}

.section .content.text-light a {
    color: #ffffff;
    /*border-bottom: 1px solid #e1e6e9;*/
    padding-bottom: 2px;
}

.section .content.text-light a:hover,
.section .content.text-light a.active {
    color: rgba(255, 238, 255, 0.85);
}

.section .content.text-light strong,
.content.text-light h3 {
    color: #ffffff;
}

.text-dark .section-title-small {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.text-light .section-title-small {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

#about .content ul li {
    margin: 10px 0;
}
#cv .content h4 {
    border-bottom: solid 1px rgba(0, 0, 0, 0.06);
    margin: 0;
    padding-bottom: 17px;
 }
#cv .content h3 {
    font-size: 20px;
    margin: 0 0 5px;
}
#cv .content .date, #cv.section .content span {
    font-size: 13px;
}
#cv .content .date {
    display: block;
    line-height: 1.625;
    margin-top: 7px;
}
#cv .content span {
    opacity: 0.77;
}
#cv .content p {
    margin-top: 7px;
}
#cv .content .list {
    padding: 22px 0 25px;
    border-bottom: solid 1px rgba(0,0,0,0.06);
}
#cv .content .list:last-child {
    border: none;
}
#project-wrap {
    background: rgba(0,0,0,0.03);
}
#portfolio #project-txt {
    padding-left: 3.7%;
}
#portfolio .project {
    padding: 20px 0 85px;
    margin-top: 70px;
    position: relative;
}
#portfolio .project h1 {
    margin: 0 0 25px;
    font-size: 40px;
}
#portfolio .project .project-url {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-top: 50px;
    line-height: 50px;
}
#portfolio .btn {
    background: none;
}
#portfolio .project .btn {
    position: absolute;
    top: -45px;
    right: 9px;
    font-size: 20px;
}
#portfolio .btn .icon:before {
    opacity: 0.7;
}
#portfolio .btn:hover .icon:before {
    opacity: 1;
}
#portfolio #loadmore.btn .icon {
    font-size: 21px;
}
#portfolio .nav-category {
    margin-bottom: 20px;
}
#portfolio .nav-category a {
    border-bottom: none;
    padding-bottom: 6px;
    font-size: 14px;
}
#portfolio .text-dark .nav-category a {
    color: rgba(0, 0, 0, 0.4);
}
#portfolio .text-dark .nav-category a:hover {
    color: rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
#portfolio .text-dark .nav-category a.active {
    color: rgba(0, 0, 0, 0.7);
}
#portfolio .text-light .nav-category a {
    color: rgba(255, 255, 255, 0.4);
}
#portfolio .text-light .nav-category a:hover{
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
#portfolio .text-light .nav-category a.active {
    color: rgba(255, 255, 255, 0.7);
}
#portfolio .nav-category a.active,
#portfolio .nav-category a.active:hover {
    cursor: default;
    border-bottom: none;
}
#portfolio .nav-category li {
    padding-right: 15px;
    padding-left: 0;
    margin-bottom: 0;
}
#portfolio .thumb {
    background: rgb(224, 81, 81);
    display: block;
    margin: 5px 0 25px;
    position: relative;
    overflow: hidden;
    height: 240px;
    transition: all 0.5s ease;
    -webkit-transition:all 0.5s ease;
    -moz-transition: all 0.5s ease;
}
#portfolio .thumb img {
    position: absolute;
    width: 130%;
    height: auto; 
    top: -15%;
    left: -15%;
    max-width: none;
    opacity: 1;
    transition: all 1s ease;
    -webkit-transition:all 1s ease;
    -moz-transition: all 1s ease;
}
#portfolio .thumb:hover img {
    width: 101%;
    opacity: 0.1;
    top: 0;
    left: 0;
}
#portfolio .thumb .thumb-cover {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 30%; 
    transition: all 0.5s ease;
    -webkit-transition:all 0.5s ease;
    -moz-transition: all 0.5s ease;
}
#portfolio .thumb:hover .thumb-cover {
    height: 100%;
}
#portfolio .thumb .thumb-text {
    position: absolute;
    color: #ffffff;
    top: 50%;
    opacity: 0;
    text-align: center;
    width: 100%;
    transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
}
#portfolio .thumb:hover .thumb-text {
    top: 30%;
    opacity: 1;
}
#portfolio .thumb h3 {
    margin-bottom: 5px;
    color: #ffffff;
}
#portfolio .thumb span {
    opacity: 0.5;
}
#portfolio .content {
    position: relative;
}
#portfolio #loader {
    position: absolute;
    top: 15px;
    left: 50%;
    margin-left: -25px;
    display: none;
}
.wrap-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.wrap-video iframe,
.wrap-video embed,
.wrap-video object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.wrap-video .video-player,
.wrap-video .videopress-placeholder,
.wrap-video .videopress-poster {
    width: 100% !important;
    height: auto !important;
}
img.stacked {
    margin-bottom: 20px;
}
#contact .content h4 {
    margin-bottom: 20px;
}
.form-control {
    background: none;
    box-shadow: none;
    padding: 16px 12px;
    border: 2px solid #ccc;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    font-size: 16px;
}
.form-control:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-color: #aaa;
}
input.form-control {
    height: 55px;
}
.form-control,
.text-dark .form-control {
    color: rgba(0,0,0,0.3);
}
.text-light .form-control {
    color: rgba(255,255,255,0.3);
}
#contact form {
    margin-top: 15px;
}
#contact .input-name {
    padding-right: 7.5px;
}
#contact .input-email {
    padding-left: 7.5px;
}
.btn-submit,
input#submit {
    background: #00c3d9;
    color: #ffffff;
    padding: 13px 16px;
    line-height: 1.625;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Footer */
#footer {
    background: #f7f7f8;
    padding: 28px 0 25px;
    color: #a3a3a3;
    font-size: 13px;
}

.footer-text a {
    color: #666666;
}

.footer-button {
    text-align: right;
}

.btn-backtop {
    background: none;
    border: none;
    padding: 0;
    vertical-align: bottom;
}

.btn-backtop .icon {
    font-size: 34px;
    line-height: 1.4;
    color: rgba(0,0,0,0.15);
}

.btn-backtop:hover .icon {
    color: rgba(0,0,0,0.25);
}


/* Preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff;
    z-index:99;
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%;
    top:50%;
    /*background: url(images/loader.png) no-repeat center;*/
    margin:-100px 0 0 -100px;
}

#loaderImage {
    position:absolute;
    left:50%;
    top:50%;
}


/*  BLOG  */
.post_list {
    padding: 50px 0 40px;
    min-height: 300px;
}

.post_list.post_bgimage {
    border: none;
}

.post_label {
    font-size: 14px;
    color: #ff7272;
    font-weight: bold;
}

.post_list .post_title {
    color: #ffffff;
    font-size: 40px;
    margin: 0 0 6px;
}

.post_list .post_title:hover {
    color: rgba(255,255,255,0.85);
}

.post_detail .wp-post-image {
    margin-bottom: 40px;
}

.post_detail .post_title {
    font-size: 50px;
    color: #414154;
    line-height: 1.1;
    margin: 0 0 50px;
}

.post_detail {
    border-top: solid 1px #f0f0f0;
    padding-top: 75px;
    padding-bottom: 50px;
}

.post_categories a {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 0;
}

.post_detail .post_categories {
    margin-bottom: 2px;
}

.post_detail .post_categories a {
    font-size: 16px;
}

.post_detail .post_categories a,
.post_detail .post_meta,
.post_detail .post_meta a,
.page_navigation a {
    color: #898989;
}

.post_excerpt {
    color: #ffffff;
    opacity: 0.5;
    font-size: 20px;
    line-height: 1.2;
}

a.post_excerpt {
    font-size: 18px;
}

a.post_excerpt:hover {
    color: #ffffff;
    opacity: 0.7;
}

.post_meta {
    color: #ffffff;
    opacity: 0.4;
    font-size: 13px;
    margin-top: 17px;
}

.post_detail .post_meta {
    opacity: 1;
    margin-top: 0;
}

.bottom_section {
    padding: 40px 0 38px;
}

.page_navigation a {
    font-weight: bold;
}

.page_navigation a:hover {
    color: #4f4f4f;
}

.page_navigation,
.page_navigation a.disabled {
    cursor: default;
    color: #dddddd;
}

.post_detail .pager {
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
    margin: 70px 0 60px;
    padding: 23px 0;
}

.post_detail .pager li.previous {
    text-align: left;
}

.post_detail .pager li.next {
    text-align: right;
}

.post_detail .pager li > a{
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    position: relative;
    width: 50%;
}

.post_detail .pager li > a:hover,
.post_detail .pager li > a:focus {
    background: none;
}

.post_detail .pager .icon {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    color: #000000;
    opacity: 0.3;
    font-size: 33px;
}

.post_detail .pager li > a:hover .icon {
    opacity: 1;
}

.post_detail .pager .ui-icon-previous {
    left: 0;
}

.post_detail .pager .ui-icon-next {
    right: 0;
}

.post_detail .pager span {
    display: block;
    font-size: 14px;
    color: #b9b3ad;
}

.post_detail .pager li.previous span {
    margin-left: 25px;
}

.post_detail .pager li.next span {
    margin-right: 25px;
}

.post_detail .pager h4 {
    color: #414154;
    line-height: 1;
    height: 1.1em;
    overflow: hidden;
}

.post_detail .pager li.previous h4 {
    margin: 0 0 0 25px;
}

.post_detail .pager li.next h4 {
    margin: 0 25px 0 0;
}

.post_side {
    text-align: right;
}

.search-form label {
    width: 100%;
    text-align: right;
}

.search-form label .icon {
    display: inline-block;
    color: #bdbdbd;
    font-size: 17px;
    line-height: 1;
    vertical-align: middle;
    margin-right: 7px;
}

.search-field {
    border: none;
    color: #bdbdbd;
    font-size: 14px;
    font-weight: normal;
    width: 85%;
}

li.comment {
    list-style: none;
}

.comments-title {
    margin-bottom: 30px;
}

.comment-author h3,
.comment-author h3 a {
    color: #414754;
    margin: 0;
    line-height: 1.1;
}

.comment-author span {
    color: #c5c5c5;
    font-size: 14px;
    font-weight: bold;
}

.comment-meta {
    margin-bottom: 5px;
}

.comment-meta a {
    color: #acacac;
    font-size: 14px;
    line-height: 1.1;
}

.reply a,
.no-comments {
    color: #a7b0b8;
}

.media > .pull-left {
    margin-right: 25px;
}

.media-body,
.comment-respond {
    margin-bottom: 30px;
}

.bypostauthor .media-body {
    background: #2f3438;
    padding: 20px 30px 23px;
}

.bypostauthor .media-body,
.bypostauthor .comment-author h3,
.bypostauthor .comment-author h3 a {
    color: #ffffff;
}

.bypostauthor .comment-meta a {
    color: #6f8090;
}

.bypostauthor .reply a {
    color: #909da8;
}

.comment-reply-title {
    font-size: 30px;
    color: #414754;
}

input#submit {
    border: none;
    width: 100%;
    margin-bottom: 20px;
}

#cancel-comment-reply-link {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    background: #b9b9b9;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin-left: 17px;
    padding: 5px 10px;
    vertical-align: text-top;
}

/*  BLOG - Post Format */
.post_list.format-quote blockquote,
.post_list.format-quote blockquote a,
.post_list.format-quote blockquote footer {
    color: #ffffff;
}
.format-quote blockquote {
    border: none;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 40px;
    line-height: 1.32;
    margin-bottom: 10px;
    padding: 0;
}

.format-quote blockquote cite,
.format-quote blockquote footer {
    font-size: 20px;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-style: normal;
}

.format-quote blockquote cite:before {
    content: "—  " ;
}

.post_gallery {
    margin: 30px 0 20px;
}

.post_gallery img {
    border: 2px solid #FFFFFF;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin: 0 13px 18px 0;
}

.post_list.format-audio,
.post_list.format-video {
    position: relative;
}

.post_audio,
.post_video_title {
    width: 100%;
    position: absolute;
    bottom: 20px;
}

.post_list.format-link {
    padding-top: 75px;
}

.post_list.format-link .icon {
    line-height: 1;
    font-weight: normal;
    font-size: 30px;
    margin-right: 10px;
    color: #ffffff;
}

.post_list.format-link .post_title {
    display: inline-block;
}

.post_list.format-link .post_excerpt {
    margin-left: 48px;
}

.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -28px;
}

.post_list .btn-play .icon {
    color : #ffffff;
    font-size: 56px;
    line-height: 1;
}

/* MEDIA ELEMENT - start */
.post_list .mejs-container {
    background: none;
}

.post_list .mejs-container .mejs-controls {
    background: none;
}

.mejs-controls .mejs-time-rail .mejs-time-total {
    background: rgba(0,0,0,0.2) !important;
}

.mejs-controls .mejs-time-rail span {
    border-radius: 0 !important;
    height: 1px !important;
}

.mejs-controls div.mejs-time-rail {
    padding-top: 10px !important;
}

.mejs-volume-button,
.mejs-horizontal-volume-slider {
    visibility: hidden !important;
    width: 0 !important;
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
    background: rgba(0,0,0,0.2) !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ffffff !important;
}

.mejs-controls .mejs-time-rail .mejs-time-float-current {
    height: 13px !important;
    width: 31px !important;
    background: #eeeeee;
}

.mejs-controls .mejs-time-rail .mejs-time-float {
    background: none !important;
    border: none !important;
}

.mejs-container .mejs-controls .mejs-playpause-button {
    width: 30px !important;
    height: 30px !important;
}

.mejs-controls .mejs-playpause-button button {
    background: none !important;
    color: #ffffff;
    font-size: 20px !important;
    margin: 5px 5px 5px 3px !important;
    width: 20px !important;
    height: 23px !important;
    line-height: 1 !important;
}

.mejs-controls .mejs-button button:before {
    font-family: "ui-icon" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mejs-controls .mejs-button button:focus {
    outline: none !important;
}

.mejs-controls .mejs-play button:before {
    content: "h";
}

.mejs-controls .mejs-pause button:before {
    content: "g";
}

.mejs-container .mejs-controls .mejs-time span {
    font-size: 20px !important;
    margin-top: 0;
}
/* MEDIA ELEMENT - end */



/*  MEDIA QUERIES  */
/*Small Devices - Phones(<460px)*/
@media (max-width: 460px) {
    h2.greeting {
        font-size: 36px;
    }
    .overlay .overlay-header {
        padding: 35px 0 38px;
    }
    .social .icon {
        font-size: 32px;
    }
    .post_gallery img {
    width: 44%;
    }
}

/*Small Devices - Phones(<768px)*/
@media (max-width: 767px) {
    .header {
        margin-top: 40px;
     }
    .greeting {
        font-size: 45px;
        line-height: 1.2;
    }
    .overlay .overlay-header {
        padding: 40px 0 38px;
    }
    .caption {
        font-size: 21px;
    }
    .xs-space {
        height: 40px;
    }
    .section .title h2 {
        font-size: 34px;
        margin: 30px 0;
    }
    .search-form label {
        text-align: left;
    }
    .page_navigation {
        margin-bottom: 16px;
    }
    .footer-button {
        text-align: center;
        padding-top: 15px;
    }
    .post_side {
        text-align: left;
        padding-top: 30px;
    }
}

/*Small Devices - Phones, Tablets(<992px)*/
@media (max-width: 991px) {
    .greeting {
        width: 100%;
    }
    .social ul {
        text-align: left;
        margin-top: 20px;
    }
    .social ul li {
        margin: 0 5px 0 0;
    }
    .social ul li:first-child {
        margin-left: 0;
    }
    #portfolio #project-txt {
        padding-left: 15px;
        margin-top: 40px;
    }
}

/*Small to Large Devices - Desktops(>768px)*/
@media (min-width: 768px) and (max-width: 991px) {
    #portfolio .thumb {
        height: 230px;
    }
}

/*Medium Devices - Desktops(992px - 1199px)*/
@media (min-width: 992px) and (max-width: 1199px) {
    #portfolio .thumb {
        height: 200px;
    }
}