body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    color: #9c9c9c;
}

a:link,
a:visited,
a:active {
    color: #fff;
    text-decoration: underline;
}

a:focus, a:hover {
    color: #333;
    text-decoration: none;
}
a:active, a:hover {
    outline: 0;
}

p.justify {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5 {
    color: #fff;
}
h1 a,
h1 a:link,
h1 a:visited,
h1 a:active {
    color: #fff;
    text-decoration: none;
}
h2 {
    text-align: center;
}

h1 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom:0;
    line-height: 60px;
}

p.center {
    text-align: center;
}

.top-navbar {
    display: block;
    margin: 10px auto;
}

.main-navbar {
    text-align: left;
}

.collapsed-menu {
    height: 60px;
    display: block;
    z-index: 9999999;
    width: 100%;
}

.menu-opener {
    line-height: 60px;
    background-color: transparent;
    border: 0;
    outline: none;
    font-size: 30px;
    color: white;
    float: right;
}

@media (max-width: 767px) {
    .menu-opener {
        font-size: 20px;
    }
}

.main-navbar-main-mob {
    display: none;
    background-color: rgba(144, 153, 176, .85);
    position: relative;
    color: #776e56;
    font-size: 14px;
    /*text-transform: lowercase;*/
}

@media (max-width: 767px) {
    .main-navbar-main-mob {
        font-size: 14px;
    }
}

.opened .main-navbar-main-mob {
    display: block;
}

.main-navbar-main-mob li {
    overflow: visible;
    height: auto;
}

.main-navbar-main-mob a,
.main-navbar-main-mob a:link,
.main-navbar-main-mob a:hover,
.main-navbar-main-mob a:active,
.main-navbar-main-mob a:visited {
    padding: 3px 10px;
    text-decoration: none;
    display: block;
    color: #fff;
    cursor: pointer;
}

.main-navbar-main-mob>ul>li>ul>li>a,
.main-navbar-main-mob>ul>li>ul>li>a:link,
.main-navbar-main-mob>ul>li>ul>li>a:hover,
.main-navbar-main-mob>ul>li>ul>li>a:active,
.main-navbar-main-mob>ul>li>ul>li>a:visited {
    padding-right: 20px;
}

.main-navbar-main-mob>ul>li>a:hover,
.main-navbar-main-mob>ul>li>a.active,
.main-navbar-main-mob>ul>li>ul>li>a:hover,
.main-navbar-main-mob>ul>li>ul>li>a.active {
    background-color: #373f52;
    color: #fff;
}

.inline-menu,
.inline-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand {
    z-index: 9999999;
    position: fixed;
    padding-left: 15px;
}

@media (max-width: 767px) {
    body {
        /*margin-top: 60px;*/
    }

    .main-navbar {
        /*
        display: block;
        position: fixed;
        top: 10px;
        right: 0;
        width: 100%;
        z-index: 9999998;
        height: 60px;
        overflow: hidden;
         */
    }

}

.more-button {
    display: inline-block !important;
    text-align: center;
    margin: 10px;
    padding: 10px 30px 10px 30px !important;
    background-color: #627578;
    color: #FFF !important;
}
.more-button:hover {
    background-color: #ff9900;
    color: #FFF !important;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #efefef;
    background-image: none;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:focus {
    outline: #4c5467 solid 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type=checkbox] {
    visibility: hidden;
    margin: 0 10px 10px 0;
}

input[type="submit"],
button[type="submit"] {
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 8px 20px;
    border: 1px solid #373f52;
    border-radius: 40px;
    background: #373f52;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}
input[type="submit"]:hover,
button[type="submit"]:hover {
    border: 1px solid #687182;
    background: #687182;
    color: #fff;
    text-decoration: none;
}

.btn-default {
    text-transform: uppercase;
    color: #fff;
    background-color: #373f52;
    border: 1px solid #373f52;
    border-radius: 40px;
}
.btn-default:hover {
    color: #fff;
    background-color: #687182;
    border: 1px solid #687182;
}

#contact-form {
    margin-top: 15px;
}

.form-group .error-message,
.form-group .g-error-message {
    overflow: hidden;
    font: 10px/12px Arial;
    position: absolute;
    right: 20px;
    top: 0;
    color: red;
}
.form-group .g-error-message {
    right: initial;
    left: 20px;
}
.error-message_out {
    font: 14px/32px Arial, sans-serif;
    text-align: center;
    color: #111;
    background: #e74c3c;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    border-color: #d62c1a;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97;
}
.success-message_out {
    font: 14px/32px Arial, sans-serif;
    text-align: center;
    color: #111;
    background: #18bc9c;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    border-color: #128f76;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb;
}

/* Footer */

div.footerpowered {
    overflow: hidden;
    font-size: 10px;
    line-height: 22px;
    font-weight: 500;
    color: #999;
    margin: 0 auto;
}
/* Footer end */


#home div.container,
#page div.container {
    padding-bottom: 20px;
}

#gallery div.container {
    margin-top: 50px;
    padding-bottom: 20px;
}

.galpic {
    cursor: pointer;
    margin-bottom: 30px;
}

.picture-caption {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 80%;
    color: #fff;
    border-right: none;
    border-left: 15px solid transparent;
    border-bottom: 30px solid #4c5467;
    height: 30px;
}

.picture-caption h2 {
    font-size: 14px;
    color: #fff;
    line-height: 30px;
    margin: 0;
}

.links {
    display: none;
}
.fullscreen,
.article-text,
.next,
.prev {
    width: 40px;
    height: 40px;
    position: fixed;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    background-color: transparent;
    border: 0;
    outline: none;
}
.fullscreen:hover,
.article-text:hover,
.next:hover,
.prev:hover {
    background: rgb(200, 200, 200);
    background: rgba(255, 255, 255, .4);
}

.fullscreen {
    right: 180px;
    bottom: 15px;
}
.fixed-bottom,
.fixed-text-bottom {
    position: fixed;
    bottom: 60px;
    right: 15px;
    max-height: 60%;
    background-color: rgba(144, 153, 176, .85);
    color: #fff;
    font-size: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 0;
    display: none;
}
.landscape .fixed-bottom {
    max-height: 80%;
}
.fixed-text-bottom {
    max-height: 80%;
    max-width: 98%;
    right: 15px;
}


@media (max-width: 767px) {
    .fixed-bottom {
        left: 15px;
    }
    .fixed-text-bottom {
        left: 15px;
    }
}
.fixed-bottom h2,
.fixed-bottom h3,
.fixed-text-bottom h2,
.fixed-text-bottom h3 {
    color: #fff;
}
.fixed-bottom.opened,
.fixed-text-bottom.opened {
    display: block;
    max-height: calc(100% - 130px);
}

.article-text {
    right: 15px;
    bottom: 15px;
}
.next,
.prev {
    bottom: 15px;
}
.next {
    right: 70px;
}
.prev {
    right: 125px;
}

.fixed-bottom.opened::-webkit-scrollbar,
.fixed-text-bottom.opened::-webkit-scrollbar{
    width: 6px;
    cursor: pointer;
}
.fixed-bottom.opened::-webkit-scrollbar-thumb,
.fixed-text-bottom.opened::-webkit-scrollbar-thumb{
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}
.fixed-bottom.opened {
    scrollbar-width: thin;
}
.fixed-text-bottom.opened {
    scrollbar-width: thin;
}
.submenupic {
    position: relative;
    top: 5px;
    left: -320px;
    z-index: 10;
}

.menubutton {
    text-align: right;
}

.page-title {
    height: 40px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font-size: 36px;
    line-height: 40px;
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    outline: none;
}
.page-title h1 {
    line-height: 40px;
}

@media (max-width: 767px) {
    .page-title {
        height: 25px;
        line-height: 25px;
        bottom: 55px;
    }
    .page-title h1 {
        line-height: 25px;
    }
}