body.admin-bar #wpadminbar {
    z-index: 999 !important;
}


/* Responsive images */

.entry-content iframe {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.entry-content img, .comment-content img, .widget img {
    max-width: 100%;
    height: auto;
    /* Fluid images for posts, comments, and widgets */
}

img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
    height: auto;
    /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full, img.size-large, img.header-image, img.wp-post-image {
    max-width: 100%;
    height: auto;
    /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}


/* Images */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft {
    margin: 12px 24px 12px 0;
}

img.alignright {
    margin: 12px 0 12px 24px;
}

img.aligncenter {
    margin-top: 12px;
    margin-bottom: 12px;
}


/* =Plugins
----------------------------------------------- */

img#wpstats {
    display: block;
    margin: 0 auto 24px;
}

.gallery img[data-mce-selected]:focus {
    outline: none;
}

.gallery a {
    cursor: default;
}

.gallery {
    margin: auto -6px;
    padding: 6px 0;
    line-height: 1;
    overflow-x: hidden;
}

.ie7 .gallery, .ie8 .gallery {
    margin: auto;
}

.gallery .gallery-item {
    float: left;
    margin: 0;
    text-align: center;
    padding: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ie7 .gallery .gallery-item, .ie8 .gallery .gallery-item {
    padding: 6px 0;
}

.gallery .gallery-caption, .gallery .gallery-icon {
    margin: 0;
}

.gallery .gallery-caption {
    font-size: 13px;
    margin: 4px 0;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33.333%;
}

.gallery-columns-3 .gallery-item:nth-child(3n+1) {
    clear: left;
}

.ie8 .gallery-columns-3 .gallery-item, .ie7 .gallery-columns-3 .gallery-item {
    width: 33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-6 .gallery-item {
    width: 16.665%;
}

.gallery-columns-7 .gallery-item {
    width: 14.285%;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    width: 11.111%;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border: none;
    padding: 0;
}

#wp-calendar {
    width: 100%;
}

.row-has-border.row, .row-has-border .row {
    border: 1px solid #fff;
    margin-bottom: 15px;
}

div.gomapMarker {
    color: #000;
}

.vertical-menu {
    font-size: 20px;
}

.vertical-menu ul {
    display: table;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.vertical-menu li {
    display: table-cell;
    position: relative;
}

.vertical-menu li a {
    display: block;
    padding: 4px 15px;
}

.vertical-menu li:hover>a, .vertical-menu li a:hover {
    text-decoration: underline;
}

.vertical-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: rgba(0, 0, 0, 0.5);
}

.vertical-menu li li ul {
    top: 0;
    left: 100%;
}

.vertical-menu li:hover>ul {
    display: block;
}

.vertical-menu li li {
    display: block;
}

.vertical-menu li li a {
    color: #fff;
}

.vertical-menu li li a:hover {}

.vertical-menu-right li ul {
    top: 100%;
    right: 0;
    left: auto;
    text-align: right;
}

.vertical-menu-right li li ul {
    top: 0;
    right: 100%;
    left: auto;
    text-align: right;
}

@media (min-width: 768px) {
    .sm-text-right {
        text-align: right !important;
    }
    .sm-text-center {
        text-align: center !important;
    }
    .sm-text-left {
        text-align: left !important;
    }
    .sm-pull-right {
        float: right;
    }
    .sm-pull-left {
        float: left;
    }
    .sm-clear-both {
        clear: both;
    }
    .sm-clear-left {
        clear: left;
    }
    .sm-clear-right {
        clear: right;
    }
}


/* gallery */

.gallery .gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery .gallery-caption {
    margin: 0;
    padding: 5px;
    background-color: #1c1919;
    opacity: 0.8;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    bottom: -100%;
    left: 6px;
    right: 6px;
    position: absolute;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.gallery .gallery-item:hover .gallery-caption {
    bottom: 6px;
}

.gallery img {
    cursor: pointer;
}


/* gallery end */

.content .the-permalink {
    text-align: right;
    border-bottom: 2px solid #222;
    line-height: 120%;
}

.content .tags-links {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.content .tags-links:hover {
    white-space: normal;
}

.content .tags-links .screen-reader-text {
    display: block;
}

.content .tags-links a {
    font-size: 0.8em;
}

.content .posted-on, .content .comments-link {
    display: block;
}

.content .comments-link .screen-reader-text {
    font-size: 0.8em;
    display: block;
}

.content span.byline {
    display: block;
    float: right;
    max-width: 40%;
    width: 100%;
    text-align: right;
}

.content span.byline img.avatar {
    display: block;
    float: right;
    margin-left: 15px;
}

.content span.byline .screen-reader-text {
    display: block;
}

.on-js-affix-moving {
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}