/*
Theme Name: WebForest Theme Antrans
Author: Grzegorz Przetacznik
Author URI: http://itlike.pl
Description: Bootsrap WordPress Start Theme
Version: 1.0.3
Text Domain: webforest
Tags: right-sidebar, left-sidebar, full width, box width, fluid-layout, responsive-layout, custom-menu, full-width-template, sticky-post, theme-options, translation-ready
This theme, like WordPress.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background: #fff;
    color: #636363;
    font-size: 15px;
    line-height: 1.65;
}

#page {
    margin: 0 auto 0;
    width: 100% !important;
}

#content section {
    padding: 80px 0 60px;
}

.navbar {
    border-radius: 0;
}

.panel-heading {
    border-radius: 0;
}

.panel-warning > .panel-heading {
    color: #fff;
    background: #1f2022;
    border: none;
    padding: 15px;

}

.panel-warning > .panel-heading .panel-title {}

.panel {
    border-radius: 0;
    box-shadow: none;
}

.panel-warning {
    border: none;
}


.scrollTop {
    position: fixed;
    bottom: 40px;
    right: 120px;
    background: url(img/top.png) no-repeat center center transparent;
    width: 60px;
    height: 60px;
    text-indent: -99999px;
    border: none;
    z-index: 999;
    opacity: 0;
    transition: all 0.4s ease-in-out 0s;
    cursor: pointer;
}

.scrollTop a {}


.top-bar {

    
}



.top-bar ul {
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.top-bar ul li {
    display: inline-block;
    margin-right: 10px;
    margin-left: 0;
    padding-left: 0;
    padding-right: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}

.top-bar ul li a {
    margin-right: 0;
    font-size: 1.1em;
    padding: 8px;
    text-align: center;
    border: 2px solid #558a6b;
    color: #558a6b;
    display: block;
    line-height: 1;
    border-radius: 0;
    margin-top: 11px;

}

.navbar-brand.top-bar ul li a {
    margin-right: 2px;
    font-size: 1em;
    padding: 8px;
    text-align: center;
    border: 2px solid #1f2022;
    color: #1f2022;
    display: block;
    line-height: 1;
    border-radius: 0;
    margin-top: 7px;

}

#site-hero-bg {
    background: #edf3ff;
    background-image: url(./img/hero1.jpg);
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
    padding: 260px 0;
    text-shadow: 0 .125rem .25rem rgba(0,0,0,.275);
    text-align: center;
}

#site-hero-bg h1 {
    font-size: 4em;
    margin-top: 0;
    margin-bottom: 22px;
    font-weight: 300;
    color: #fff;
    font-family: 'Indie Flower', cursive;
}

#site-hero-bg h3 {
    font-size: 1.8em;
    font-weight: 300;
    margin: 0;
    color: #fff;
}

#site-hero-bg h4 {
    font-family: manrope,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif;
    font-size: 1.45em;
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
    margin: 0;
    margin: 0;
}

#site-hero-bg::before {
    background: rgba(0, 0, 0, 0.15);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}


.logo-bg-box {
    text-align: center;
    padding: 50px 30px;
}

.logo-bg-box img {
    margin: 0 auto;
}




/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1f2022;
    clear: both;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    margin-bottom: 1.5em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

b,
strong {
    font-weight: bold;
    color: #1f2022;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 1.5rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}


/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

th {
    font-weight: bold;
}


/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/

.navbar-inverse {
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.navbar-brand {
    
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    padding: 26px 18px;
    font-size: 0.95em;
    margin-left: 0;
    letter-spacing: 1px;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > li > a:hover {
    color: #000;
    background: #fff;
    
}

.mPS2id-highlight {
	color: #fff !important;
    background: #558a6b !important;
}

.form-control-wrapper .form-control,
.form-control,
fieldset[disabled] .form-control:focus,
.form-control-wrapper .form-control:focus,
.form-control:focus,
fieldset[disabled] .form-control.focus,
.form-control-wrapper .form-control.focus,
.form-control.focus {
    padding: 0;
    float: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #757575;
}


/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/

a {
    color: #1f2022;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

a:visited {}

a:hover,
a:focus,
a:active {
    color: #558a6b;
    text-decoration: none;
}


/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/

.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {}

.main-navigation li:hover > a {}

.main-navigation ul ul :hover > a {}

.main-navigation ul ul a:hover {}

.main-navigation ul li:hover > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {}


/* Small menu */

.menu-toggle {
    display: none;
}

@media screen and (max-width: 600px) {
    .menu-toggle,
    .main-navigation.toggled .nav-menu {
        display: block;
    }
    .main-navigation ul {
        display: none;
    }
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
    padding-left: 20px;
    padding-bottom: 40px;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
    padding-right: 20px;
    padding-bottom: 40px;
}


/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers */

.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: #1f2022;
    display: block;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
}


/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
        margin-bottom: 1em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}


/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}

footer .widget {
    margin: 0;
}

footer address {
    margin: 0;
}


/* Make sure select elements fit in widgets */

.widget select {
    max-width: 100%;
}


/* Search widget */

.widget_search .search-submit {
    display: none;
}

.widget ul {
    padding: 15px;
    margin-left: 0;
}

.widget-area ul li {
    list-style: none;
}

.widget .textwidget,
.widget #calendar_wrap,
.widget .tagcloud,
.widget .form-search {
    padding: 15px;
}

/*--------------------------------------------------------------
9.1 Widgets - Facebook
--------------------------------------------------------------*/

/* glowny div z like box'em */

#like-box {
    position: fixed;
    z-index: 99;
    top: 150px;
    /* jego polozenie od gory */
    left: -296px;
    /* szerokosc wygenerowanego boxa + 4px obramowania */
    -webkit-transition: left 0.5s ease-out;
    -moz-transition: left 0.5s ease-out;
    -o-transition: left 0.5s ease-out;
    transition: left 0.5s ease-out;
}

/* wysuniecie like box'a */

#like-box:hover {
    left: 0px;
}

/* zewnetrzna ramka boxa */

#like-box .outside {
    position: relative;
    z-index: 1;
    background: #47719c;
    padding: 2px;
    min-width: 1px;
    float: left;
}

/* wewnetrzne tlo boxa */

#like-box .inside {
    position: relative;
    z-index: 2;
    background: #fff;
}

/* pasek z logo FB */

#like-box .belt {
    position: relative;
    z-index: 0;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    float: left;
    width: 110px;
    height: 52px;
    padding: 7px 0px 0px 20px;
    margin: 29px 0px 0px -45px;
    background: #fff;
    border: 2px solid;
    border-color: #47719c;
    color: #47719c;
    font-weight: bold;
    font-size: 16px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    cursor: pointer;
}



/*--------------------------------------------------------------
9.2 Widgets - WP Contact Form 7
--------------------------------------------------------------*/

input[type=button],
input[type=reset],
input[type=submit] {
    box-shadow: none;
    line-height: 1;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    display: inline-block;
    background: #ffffff;
    border-radius: 0;
    font-weight: 500;
    padding: 12px 35px;
    font-family: manrope,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif;
    color: #558a6b;
    border: 2px solid;
}

input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    opacity: 0.85;
}

input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-number,
input.wpcf7-form-control.wpcf7-date,
textarea.wpcf7-form-control.wpcf7-textarea,
select.wpcf7-form-control.wpcf7-select {
    width: 100%;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    margin-bottom: 20px;
}

input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-number,
input.wpcf7-form-control.wpcf7-date,
textarea.wpcf7-form-control.wpcf7-textarea,
select.wpcf7-form-control.wpcf7-select,
input.wpcf7-form-control.wpcf7-quiz {
    margin: 5px 0;
    padding: 15px 35px;
    border: none;
    outline: 0;
    resize: none;
    font-size: 16px;
    line-height: 17px;
    background-color: #fff;
    color: #777777;
    font-weight: 300;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border-radius: 0;
}

.form-group {
    margin-bottom: 15px;
}

table.form-table {
    margin: 0;
}

table.form-table td {
    text-align: left;
    padding: 0;
    padding-right: 5px;
}

table.form-table td:last-child {
    padding-right: 0px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 202px;
}

.formularz {
    margin-bottom: 30px;
        background: #558a6b;
    padding: 20px;
    color: #fff;
}

.formularz p:empty {
    display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    padding: 10px;
    color: #949494;
    background: #fff;
    margin-bottom: 5px;

}

.wpcf7-acceptance .wpcf7-list-item label {
    font-weight: 400;
    font-size: 0.7em;
    text-align: justify;
    line-height: 1.3;
}



/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/

#primary {
    word-wrap: nowrap;
    -ms-word-break: normal;
    /* Be VERY careful with this, breaks normal words wh_erever */
    word-break: normal;
    /* Non standard for webkit */
    word-break: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    padding-top: 60px;
}

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 30px;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.entry-meta span,
.entry-footer span {
    margin-right: 20px;
    display: inline-block;
}

.entry-meta span:last-child,
.entry-footer span:last-child {
    margin-right: 0;
}

.entry-meta span a,
.entry-footer span a {
    color: #777;
    text-decoration: none;
    font-size: 90%;
}

.entry-meta span a:hover,
.entry-footer span a:hover {
    text-decoration: underline;
}

.entry-meta span i,
.entry-footer span i {
    color: #777;
    font-size: 80%;
}

.entry-footer .edit-link {
    float: right;
}

.entry-container {
    padding: 0;
}

.post .entry-container {
    padding: 25px 0;
}

.entry-container h1 {
    margin-top: 0;
}

.entry-container h1 a {
    color: #1f2022;
}

.entry-container h1 a:hover {
    text-decoration: none;
    color: #558a6b;
}

.single-post-box .entry-container {
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px dotted #ddd;
}

.single-post-box .entry-header h1.entry-title {
    font-size: 2em;
    margin-bottom: 15px;
}

.single-post-box .entry-img {
    overflow: hidden;
}

.single-post-box .entry-img img {
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -ms-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    object-fit: cover;
}

.single-post-box .entry-img img:hover {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}

a.read-more,
#commentform #submit {
    color: #fff;
    border-radius: 0;
    border: 1px solid #558a6b;
    background: #558a6b;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    display: inline-block;
    padding: 12px 22px;
    margin-bottom: 0;
    font-size: 1em;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}


a.read-more:hover,
a.read-more:focus,
a.read-more:active,
#commentform #submit:hover {
    text-decoration: none;
    color: #fff;
    border: 1px solid #1f2022;
    background: #1f2022;
}

.site-footer {
    background: #558a6b;
    margin-top: 0;
    font-size: 0.9em;
}

.site-footer .top-footer {
    padding: 40px 0;
}

.site-footer .top-footer .widget {
    padding: 15px 0;
}

.copyright {
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    font-size: 0.8em;
    color: #ababab;
}

#colophon .widget .textwidget {
    padding: 0;
}

#colophon .widget ul {
    padding: 0;
    margin-left: 0;
    list-style: none;
    margin-bottom: 0;
}


.site-footer a {
    font-size: 1em;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 1px;
}

.site-footer a:hover {
    color: #558a6b;
}

h3.footer-title {
    margin: 0 0 20px 0;
    font-size: 1.1em;
    font-weight: 800;
    text-transform: uppercase;
}

.textwidget p:last-child {
    margin-bottom: 0;
}

.btn-warning:not(.btn-link):not(.btn-flat) {
    background: transparent;
    border: 2px solid rgba(115, 114, 114, 0.36);
    box-shadow: none;
    color: #737272;
    border-radius: 0;
    transition: all 0.25s ease-in 0s;
    padding: 8px 15px;
}

.mdi-image-navigate-next:before {
    content: "\f0e0";
}

.mdi-image-navigate-before:before {
    content: "\f0e0";
}

.site-main .paging-navigation {
    overflow: visible;
}


/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/

#secondary {
    word-wrap: nowrap;
    -ms-word-break: normal;
    /* Be VERY careful with this, breaks normal words wh_erever */
    word-break: normal;
    /* Non standard for webkit */
    word-break: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    padding-top: 60px;
}

.entry-header h1.entry-title {

    margin-bottom: 30px;
    margin-top: 0;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}


/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {}

.comments-area {
    padding: 35px;
}

.comments-title,
.comment-reply-title {
    padding-bottom: 9px;
    margin: 40px 0 20px 0;
    border-bottom: 1px solid #eee;
}

ol.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-author .avatar {
    margin-right: 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 4px;
}

.comment-meta {
    margin-top: 20px;
    margin-bottom: 20px;
}

.comment-details {
    overflow: hidden;
    zoom: 1;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.comment-details .reply {
    margin-top: 10px;
}

.comment-date a {
    font-size: 11px;
    color: #777;
    margin-right: 10px;
}

#commentform #comment {
    width: 100% !important;
}




/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .paging-navigation,

/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
    max-width: 100%;
}


/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}


/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

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

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

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

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

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

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

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

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

.gallery-caption {
    display: block;
}


/*--------------------------------------------------------------
Portfolio
--------------------------------------------------------------*/

#Container .mix {
    display: none;
}

.btn:not(.btn-link):not(.btn-flat).active {
    box-shadow: 0 6px 10px rgba(0, 0, 0, .23), 0 10px 30px rgba(0, 0, 0, .19);
}

.portfolio-list .mix h4 {
    padding: 10px;
    margin: 0;
}

.portfolio-list .mix h4 a {
    color: #1f2022;
    font-size: 12px;
}

.portfolio-list .mix h4 a:hover {
    text-decoration: none;
    color: #558a6b;
}

.portfolio-img {
    background-color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .23), 0 3px 10px rgba(0, 0, 0, .16);
    border-radius: 2px;
    border: 0;
    margin-bottom: 20px;
}


/*--------------------------------------------------------------
Page 404
--------------------------------------------------------------*/

.error-404 {
    text-align: center;
}

.error-404 img {
    margin: 0 auto;
    max-width: 400px;
}

.error-404 h1 {
    color: #000;
    text-transform: uppercase;
    font-size: 4em;
    font-weight: 300;
}

.error-404 h1 span {
    color: #558a6b;
    font-weight: bold;
}

.error-404 h2 {
    color: #000;
    font-size: 2em;
    margin: 0 0 20px;
}

.btn-404 {
    background: none;
    border-radius: 0;
    border: 2px solid #a6a9ac;
    color: #a6a9ac;
}

.btn-404:hover {
    background: #aaa;
    border-color: #aaa;
    color: #fff;
    box-shadow: none;
}


/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/

@media (max-width: 1520px) {
    #page {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .site-header .dropdown-menu {
        position: static;
        text-align: center;
        box-shadow: none;
        float: none;
        border-bottom: 1px solid #f5f4f4;
        border-top: 1px solid #f5f4f4;
        margin-top: 0;
    }
    #page {
        width: 100%;
    }
    .navbar-inverse .navbar-brand {
        margin-left: 15px !important;
    }
    .navbar-inverse {
        padding: 20px 0;
    }
    .navbar-header {
        margin-bottom: 20px;
    }
    .navbar-inverse .navbar-toggle {
        border-radius: 0;
        border: 2px solid #558a6b;
    }
    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #558a6b;
    }
    .navbar-inverse .navbar-collapse,
    .navbar-inverse .navbar-form {
        border: none
    }
    .navbar-inverse .navbar-toggle:focus,
    .navbar-inverse .navbar-toggle:hover {
        background-color: #ddd;
    }
    .navbar-inverse .navbar-nav > li > a {
        margin: 0;
        text-align: center;
    }
    
    #primary .wpdt-c ul li {
        margin: 0;
        padding-top: 6px;
    }
    #primary table.has-columns-hidden>tbody>tr>td>span.responsiveExpander, #primary table.has-columns-hidden>tbody>tr.detail-show>td span.responsiveExpander {
        width: 20px;
        height: 20px;
        padding: 4px;
        border-radius: 0;
        border-color: #558a6b;
        margin-right: 8px;
    }
}


/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) {}


/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {
    .portfolio-list .mix h4 {
        padding: 20px;
    }
    .portfolio-list .mix h4 a {
        font-size: 18px;
    }
}


/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {}


/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {}


/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {}
