.clickable {
    cursor: pointer;
}

.margin-reset {
    margin: 0;
}

.menu li.active > a {
    color: #DC5347;
}

.jx-titlebar a,
.jx-titlebar span {
    text-transform: none;
}

.jx-header {
    height: 97px;
    padding: 10px 0;
}

#grid .panel .back {
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 100px;
}

#grid .panel.flip.noflip .front {
    transform: rotate(0deg);
}

#grid .panel.flip .front .box1 {
    background-color: #DC5347;
}

#grid .box2 p {
    /*min-height: 144px;*/
}

#grid .box2 {
    position: relative;
    height: 100%;
    /*}*/

    /*!*#grid .box2 > div {*!*/
    /*!*width: 90%;*!*/
    /*!*}*!*/
    /*#grid .box2 {*/
    padding: 5%;
}

/*.readmore-btn {*/
/**/
/*}*/

#grid .box2>div {
    position: absolute;
    top: 50px;
    width: 90%;
}

#grid .box2 .readmore-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    margin-left: -16px;
}

#grid .doted-seperator {
    margin: 15px auto;
}

.slides, .slides > li, .flex-control-nav, .flex-direction-nav {
    position: relative;
}

.flex-caption {
    position: absolute;
    margin: 0;
    width: 100%;
    padding: 2%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    font-size: 14px;
    line-height: 18px;
}

/******************
    NGN SIDEBAR
******************/

.ngn-root {
    overflow: hidden;
}

.ngn-sidebar {
    position: relative;
    padding-left: 10px;
    /*overflow: hidden;*/
}

.ngn-sidebar > div {
    z-index: 10;
    position: relative;
}

.ngn-sidebar .background {
    background-color: #f8f8f8 !important;
    border-left: 1px solid #e5e5e5;
    height: auto;
    position: absolute;
    top: -70px;
    width: auto;
    z-index: 1;
}

.ngn-sidebar.right .background {
    right: -2000px;
    left: -10px;
}

.ngn-sidebar.left .background {
    left: -2000px;
    right: -10px;
}

.ngn-sidebar ul:not(.none-addons) >::before {
    content: "\f105";
    padding-right: 10px;
    font-family: FontAwesome;
}

.ngn-sidebar li.active > a {
    color: #212121;
    pointer-events: none;
}

.ngn-sidebar .jx-sidebar-recentposts li:first-child {
    min-height: 90px;
}

.container.with-sidebar #sidebar.four.columns {
    width: 263px;
}

@media only screen and (max-width: 959px) {
    .ngn-sidebar {
        display: none !important;
    }

    .jx-page-titlebar .jx-page-title {
        display: none;
    }

    #map-canvas {
        max-height: 250px;
    }
}

#contact .item-position p {
    margin-top: 0;
    margin-bottom: 0;
}

#subscribe .has-error>.form-control,
.jx-contact-form .has-error>input,
.jx-contact-form .has-error>textarea {
    border-color: #b94a48;
}
.jx-contact-form .expMessage.has-error {
    color: #b94a48;
}

.map_locations {
    display: none;
}

#contact_form {
    position: relative;
}

.loading {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 11050;
    background-color: rgba(51, 51, 51, 0) !important;
    height: 100%;
}

.loading .spinner {
    position: absolute;
    margin: auto;
    display: inline-block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 160px;
    height: 24px;
    background-image: url("/data/images/loading.gif") !important;
    background-repeat: no-repeat;
}

.jx-footer .news-image {
    width: 90px;
}

.jx-footer .new-base-block .date {
    text-transform: lowercase;
}

.grid_gallery .columns {
    margin: 11px;
}

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

.grid_gallery .columns:nth-child(4n+1) {
    margin-left: 0 !important;
}

.grid_gallery .columns:nth-child(4n) {
    margin-right: 0 !important;
}

@media only screen and (max-width: 768px) {
    .grid_gallery .three.columns {
        width: 50% !important;
        margin: 0 auto;
    }

    #contact .jx-contact-info {
        padding-top: 0 !important;
    }

    .grid_gallery .three.columns img {
        padding-bottom: 4px;
    }

    .grid_gallery .three.columns:nth-child(2n-1) img {
        padding-right: 2px !important;
    }

    .grid_gallery .three.columns:nth-child(2n) img {
        padding-left: 2px !important;
    }
}

/*@media only screen and (max-width: 500px) {*/
/*#grid .box2 > div {*/
/*width: 90%;*/
/*}*/
/*#grid .box2 {*/
/*padding: 5%;*/
/*}*/

/*.readmore-btn {*/
/*left: 50%;*/
/*margin-left: -16px;*/
/*}*/
/*}*/

@media only screen and (max-width: 479px) {
    .jx-titlebar {
        padding-top: 40px !important;
    }
}

.jx-page-title,
.jx-titlebar span {
    color: #fff !important;
    text-shadow: 2px 2px #212121;
}

.jx-top-menu .jx-right-infobar li:last-child {
    border-right: 1px solid #454e54;
}
.jx-top-menu .jx-right-infobar li {
    border-left: 1px solid #454e54;
    display: inline-block;
    font-family: "Open Sans",sans-serif;
    margin: 0;
    padding: 11px;
}

.jx-right-infobar a {
    color: #fff;
    font-family: "Open Sans",sans-serif;
    outline: 0 none;
    text-decoration: none;
    text-transform: lowercase;
}

.jx-top-menu .jx-right-infobar li i {
    height: auto;
    line-height: inherit;
}

.jx-top-menu .jx-right-infobar li:hover i {
    background-color: transparent;
    color: #fff;
}

.jx-darkgrey-bg {
    background-size: cover;
}

.our-service ul li::before {
    content: "\f105";
}

.no_photo {
    padding-top: 0 !important;
}

.slicknav_btn {
    z-index: 9500;
}

#mobile-menu.mobile-nav {
    position: fixed;
    width: 100%;
}

.footer_contact strong {
    color: #fff;
}

.jx-footer-recent-post.our-service ul li {
    margin: 8px 0 0;
    padding: 8px 0 0;
    float: left;
    width: 50%;
}

.jx-footer-recent-post.hours ul li {
    margin: 8px 0 0;
    padding: 8px 0 0;
}

.ms-slide h1,
.ms-slide h5 {
    text-shadow: 1px 1px #000;
}

.welcome-icon i {
    color: #fff;
    font-size: 43px;
}

#grid h5 {
    padding-bottom: 5px;
}

#subscribe .input-group-btn .btn-secondary i.fa {
    color: #fff;
}

.ms-anim-layers h1 {
    line-height: 1.2em !important;
}

.ms-layer.title {
    max-width: 70%;
    font-size: 50px !important;
    left: 20% !important;
}

.ms-layer.btn,
.ms-anim-layers a:last-child {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    max-width: 200px;
    min-width: 50px;
}

.ms-layer.btn-yellow {
    margin-left: -150px!important;
}

.box1,
.box1 .service-image {
    border-radius: 0%;
}

@media screen and (min-width: 900px) {
    .ms-layer.btn-yellow {
        margin-left: -180px!important;
    }
}

@media screen and (max-width: 600px) {
    a.ms-layer {
        display: none;
    }
}

.slika_levo {
    float: left;
    margin: 5px 5px 5px 0;
}

.slika_desno {
    float: right;
    margin: 5px 0 5px 5px;
}

.jx-header-logo {
    margin-top: 10px;
}

.jx-header-logo img {
    max-height: 30px;
}

.footer-logo > a {
    display: block;
    text-align: center;
}

.modal-backdrop {
    z-index: 10040;
}

.modal {
    z-index: 10050;
}

#grid .jx-submit {
    width: auto;
}

#welcome .welcome-container .welcome-box {
    width: 100%;
}

.box1 h1, .box2 h1 {
    font-size: 16px;
}

table td {
	border-color: #999;
}