body {
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #333;
    padding-top: 140px;
}

@media (max-width: 991px) {
    body {
        padding-top: 159px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 0;
    }
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 15px;
    font-weight: 400;
    color: #46352e;
}

h1 {
    font-size: 50px;
    line-height: 50px;
    margin: 20px 0 20px 0;
    font-weight: 400;
    color: #46352e;
}

h2 {
    font-size: 44px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 30px;
}

h5 {
    font-size: 24px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
    color: #46352e
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover {
    color: #333;
}

div.title {
    font-family: 'Quicksand', sans-serif;
    padding: 30px 0;
    font-weight: 700;
    color: #fff;
    text-align: center;
    font-size: 42px;
    line-height: 42px;
}

div.title p {
    margin: 0;
}

a {
    color: #387f3d;
    transition: all .3s;
}

a:hover {
    color: #333;
    text-decoration: none;
}

a:focus {
    color: #333;
    text-decoration: none;
}

::selection {
    background: #387f3d;
    color: #fff;
}

::-moz-selection {
    background: #387f3d;
    color: #fff;
}

@media (max-width: 767px) {
    h1 {
        font-size: 44px;
        line-height: 44px;
    }
    div.title {
        font-size: 36px;
        line-height: 36px;
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: #fff;
    transition: all .5s;
    z-index: 1000;
}

header.sticked {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    header {
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    header {
        position: static;
    }
}

.img-logo {
   max-height: 100px;
}
@media (max-width: 991px) {
    #logo {
        width: 200px;
    }
}

@media (max-width: 767px) {
    #logo {
        width: 100%;
    }
}

#top_contact {
    float: right;
    margin-top: -20px;
    font-size: 15px;
    font-weight: 300;
    line-height: 52px;
    border-bottom: 1px solid #ececec;
}

@media (max-width: 767px) {
    #top_contact {
        float: left;
        margin-left: 40px;
    }
}

#top_contact span {
    display: inline-block;
    margin-left: 10px;
    padding-left: 25px;
    line-height: 22px;
}

@media (max-width: 767px) {
    #top_contact span {
        display: block;
        margin: 5px 0;
        padding-left: 25px;
    }
}

#top_contact span:nth-of-type(1) {
    background: url(../img/top_phone.png) no-repeat 0 50%;
    margin-left: 0;
}

#top_contact span:nth-of-type(2) {
    background: url(../img/top_mobile.png) no-repeat 0 50%;
}

#top_contact span:nth-of-type(3) {
    background: url(../img/top_email.png) no-repeat 0 50%;
}

@media (max-width: 991px) {
    #top_contact {
        margin-top: 7px;
        font-size: 14px;
        border-bottom: 0;
    }
}


/* MAIN MENU*/

@media (min-width: 768px) {
    #mainmenu {
        float: right;
        margin-top: 17px;
    }
    #mainmenu .navbar {
        margin-bottom: 0;
        border: 0;
    }
    #mainmenu .nav>li>a {
        font-size: 17px;
        color: #333;
        font-weight: 400;
    }
    #mainmenu .nav>li:last-of-type>a {
        padding-right: 0;
    }
    #mainmenu .nav>li>a:hover,
    #mainmenu .nav>li>a:focus {
        color: #387f3d;
        background: none;
    }
    #mainmenu .nav>li>a:hover {
        color: #387f3d;
        background: none;
    }
    #mainmenu .nav>li.active>a,
    #mainmenu .nav>li.active>a:focus {
        background: none;
        font-weight: 700;
    }
    #mainmenu .navbar>li>.dropdown-menu {
        padding: 0;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        font-size: 14px;
        border-top: 1px solid #111;
        transition: all .3s;
    }
    #mainmenu .dropdown-menu {
        padding: 0;
        border-radius: 0;
    }
    #mainmenu .dropdown-menu a {
        padding: 8px 15px;
    }
    #mainmenu .dropdown-menu>.active>a {
        background: #387f3d;
    }
}

@media (max-width: 991px) {
    #mainmenu {
        width: 100%;
        margin-top: 20px;
        border-top: 1px solid #ececec;
        text-align: center;
    }
}

@media (max-width: 767px) {
    #mainmenu {
        margin-top: 0;
    }
}


/* MOBILE MENU */

.navbar {
    margin-bottom: 0;
}

.navbar-toggle {
    margin-right: 0;
    border-color: #898989;
}

.navbar-toggle span {
    background: #111;
}

#mainmenu .nav>li>a {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

#mainmenu .nav>li.active>a {
    font-weight: 700;
}


/* BOOTSTRAP CAROUSEL */

#mainSlider {}

#mainSlider .helper_vcenterwrapper {
    height: 100%;
}

#myCarousel {
    background: #46352e;
}

#myCarousel .item {
    height: 530px;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
}

.carousel-caption {
    height: 530px;
    font-family: 'Quicksand', sans-serif;
    text-align: right;
    font-size: 60px;
    line-height: 60px;
    color: #fff;
    position: static;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

.carousel-caption p {
    float: right;
    background: #fff;
    padding: 5px 15px;
    margin: 5px 0;
    clear: both;
    text-shadow: none;
}

.carousel-control {
    width: 57px;
    height: 105px;
    top: 50%;
    bottom: auto;
    margin-top: -52px;
    filter: alpha(opacity=100);
    opacity: 1;
}

.carousel-control.left {
    left: 30px;
    background: url(../img/arrows.png) no-repeat;
}

.carousel-control.right {
    right: 30px;
    background: url(../img/arrows.png) no-repeat right;
}

.carousel-control.left:hover {
    left: 20px;
}

.carousel-control.right:hover {
    right: 20px;
}

#myCarouselSub .item {
    height: 300px !important;
    overflow: hidden;
}

#myCarouselSub .carousel-caption {
    width: 100%;
    height: 300px;
    text-align: center;
}

@media (max-width: 1350px) {
    .carousel-caption {
        padding: 0 50px;
    }
}

@media (max-width: 767px) {
    .carousel-caption {
        padding: 0 30px;
        font-size: 36px;
        line-height: 36px;
    }
    .carousel-control {
        display: none;
    }
}


/* BOOTSTRAP CAROUSEL FADE - add carousel-fade class to html  */

.carousel-fade .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

#welcome {
    padding: 60px 0;
}

#welcome h1 {
    margin: 0;
    text-align: left;
}

#welcome p {
    display: block;
    margin: 10px 0;
    color: #555555;
    font-size: 22px;
    line-height: 27px;
}

.pattern_white {
    background: url(../img/pattern_white.png) 50% 0;
}

#boxes {
    padding-bottom: 50px;
}

.boxes .section_title {
    padding-bottom: 50px;
    background: #46352e url(../img/pattern_brown.png) repeat-x;
}

.margintop80minus {
    margin-top: -80px;
}

.boxes .box {
    position: relative;
    overflow: hidden;
    display: block;
    margin-top: 30px;
    height: 300px;
    background: #222;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.boxes p {
    margin: 0;
}

.boxes a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.boxes .box img {
    max-width: 100%;
    height: auto;
    transition: all .3s;
}

.boxes .box:hover img {
    opacity: .3;
}

.boxes .box .logo_white {
    position: absolute;
    width: 100%;
    height: calc(100% - 62px);
    background: url(../img/logo_white.png) no-repeat 50% 55%;
    opacity: 0;
    transition: all .3s;
    z-index: 10;
}

.boxes .box:hover .logo_white {
    opacity: 1;
    background: url(../img/logo_white.png) no-repeat 50% 50%;
}

.boxes .box .box_name {
    position: absolute;
    padding: 10px;
    overflow: hidden;
    width: 100%;
    bottom: 0;
    line-height: 42px;
    background: #fff;
    color: #333;
    font-family: 'Quicksand', sans-serif;
    font-size: 23px;
    font-weight: 700;
    transition: all .3s;
}

.boxes .box:hover .box_name {
    background: #46352e;
    color: #fff;
}

.boxes .box .box_more,
.boxes .box .box_more2 {
    width: 42px;
    height: 42px;
    transition: all linear .3s;
}

.boxes .box .box_more {
    float: right;
    background: #46352e url(../img/box_arrow.png) no-repeat 50% 50%;
}

.boxes .box:hover .box_more {
    margin-right: -57px;
}

.boxes .box .box_more2 {
    float: left;
    margin-left: -57px;
    margin-right: 10px;
    background: #fff url(../img/box_arrow_brown.png) no-repeat 50% 50%;
}

.boxes .box:hover .box_more2 {
    margin-left: 0;
}

@media (max-width: 991px) {
    .boxes .box img {
        margin-top: -25%;
    }
}

@media (max-width: 767px) {
    .boxes .box {
        height: 200px;
    }
    .boxes .box .box_more,
    .boxes .box .box_more2 {
        display: none;
    }
    .boxes .box .logo_white {
        display: none;
    }
}

#boxes2 {
    padding-bottom: 50px;
}

#boxes2 .section_title {
    background: #327937 url(../img/pattern_green.png) repeat-x;
}

#boxes2 .box:hover .box_name {
    background: #327937;
    color: #fff;
}

#boxes2 .box .box_more {
    background: #327937 url(../img/box_arrow.png) no-repeat 50% 50%;
}

#boxes2 .box .box_more2 {
    background: #fff url(../img/box_arrow_green.png) no-repeat 50% 50%;
}

@media (min-width: 768px) {
    #boxes2 .box_big {
        height: 630px;
    }
    #boxes2 .box_big .logo_white {
        height: calc(100% - 142px);
    }
    #boxes2 .box_big .box_name {
        padding: 30px;
        width: calc(100% - 100px);
        margin: 0 50px 50px 50px;
        font-size: 36px;
    }
    #boxes2 .box_big .box_more {
        margin-right: 0;
    }
    #boxes2 .box_big:hover .box_more {
        margin-right: -67px;
    }
    #boxes2 .box_big .box_more2 {
        margin-left: -67px;
    }
    #boxes2 .box_big:hover .box_more2 {
        margin-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #boxes2 .box_big img {
        max-width: 125%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #boxes2 .box_big {
        height: 450px;
    }
    .box_big img {
        margin-top: 0;
    }
}


/* SERVICES SUBPAGE */

#boxes_services {
    padding-bottom: 50px;
}

#boxes_services .box .logo_white {
    display: none;
}

#boxes_services .box:hover img {
    opacity: .1;
}

#boxes_services .box .box_desc {
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 82px);
    transition: all .3s;
    z-index: 10;
    color: #fff;
    opacity: 0;
    overflow: hidden;
}

#boxes_services .box:hover .box_desc {
    opacity: 1;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #boxes_services .box .box_desc {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    #boxes_services .box .box_desc {
        height: auto;
        padding: 10px 10px 0 10px;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* FOOTER */

footer {
    padding: 40px 0;
    background: #242323;
    color: #d7d7d7;
    font-size: 14px;
}

footer a {
    color: #d7d7d7;
}

footer a:hover {
    text-decoration: none;
    color: #fff;
}

@media (min-width: 768px) and (max-width: 991px) {
    .fbox {
        min-height: 250px;
    }
}

.fbox strong.title {
    display: block;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
    border-bottom: 1px solid #4c4b4b;
}

.fbox p {
    margin: 0;
}

.fbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fbox ul li {
    padding-left: 25px;
    margin: 5px 0;
    background: url(../img/li_white.png) no-repeat 0 6px;
}

.fcontact strong {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.fcontact ul {
    margin-top: 20px;
}

.fcontact ul li {
    padding-left: 30px;
    line-height: 22px;
    background-position: 0 center;
    background-repeat: no-repeat;
}

.fcontact ul li:nth-of-type(1) {
    background-image: url(../img/foot_phone.png);
}

.fcontact ul li:nth-of-type(2) {
    background-image: url(../img/foot_mobile.png);
}

.fcontact ul li:nth-of-type(3) {
    background-image: url(../img/foot_mail.png);
}

.ftesti {
    font-size: 13px;
}

.ftesti p {
    margin: 10px 0 !important;
}


/*
.testimonials-logo-pos {
    float: left;
    margin: 0 10px 5px 0;
}
.testimonials-logo {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 110px;
    height: 110px;
    background: #fff;
    padding: 5px;
}
.testimonials-logo img {
    max-width: 100%;
    height: auto;
}
*/

@media (max-width: 991px) {
    footer {
        padding: 20px 0;
    }
    footer .fbox {
        padding: 15px 0;
    }
}

.copyright {
    padding: 10px 0;
    background: #000;
    font-size: 14px;
    color: #fff;
}

.copyright a {
    color: #fff;
}

.copyright a:hover {
    color: #d7d7d7;
}

@media (max-width: 767px) {
    .copyright div {
        text-align: center;
        font-size: 12px;
    }
}


/* jCarousel - Testimonials in footer */

#testiCarousel {
    position: relative;
}

#testiCarousel .jcarousel {
    position: relative;
    overflow: hidden;
    width: calc(100% - 50px);
    margin: 0 auto;
}

#testiCarousel .jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

#testiCarousel .jcarousel li {
    float: left;
    margin: 0;
    background: none;
    position: relative;
    width: 205px;
    padding: 0;
    margin: 0 0;
    overflow: hidden;
    text-align: center;
}

#testiCarousel .jcarousel li a {
    display: block;
}

#testiCarousel .carousel-control-prev,
#testiCarousel .carousel-control-next {
    position: absolute;
    width: 15px;
    height: 28px;
    top: 50%;
    margin-top: -14px;
    background: url(../img/arrows_jcarousel.png);
    cursor: pointer;
    display: block;
    text-indent: -9999px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    transition: 0.5s;
    z-index: 10;
}

#testiCarousel .carousel-control-prev {
    left: 0;
    background-position: 0 0;
}

#testiCarousel .carousel-control-next {
    right: 0;
    background-position: 100% 0;
}

#testiCarousel .carousel-control-prev:hover,
#testiCarousel .carousel-control-next:hover {
    opacity: .5;
}

@media (max-width: 1199px) {
    #testiCarousel .jcarousel li {
        width: 155px;
    }
}

@media (max-width: 991px) {
    #testiCarousel .jcarousel li {
        width: 280px;
    }
}

@media (max-width: 767px) {
    #testiCarousel .jcarousel li {
        width: 192px;
    }
}


/* SUBPAGES */

.content {
    padding: 60px 0;
}

#sidebar ul {
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    display: block;
    margin: 10px 0;
    padding-right: 30px;
    background: #46352e url(../img/box_arrow.png) no-repeat 99% 50%;
    transition: all .3s;
}

#sidebar ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 20px;
}

#sidebar ul li:hover {
    background: #111 url(../img/box_arrow.png) no-repeat 101% 50%;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #sidebar ul li a {
        font-size: 16px;
    }
}

.welcome_subpage {
    border-top: 1px solid #a1a1a1;
    background: rgba(225, 225, 225, 1);
    background: -moz-linear-gradient(top, rgba(225, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(225, 225, 225, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(top, rgba(225, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(top, rgba(225, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(top, rgba(225, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(225, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#ffffff', GradientType=0);
}


/* CONTACT FORMS */

#contactform {
    min-height: 500px;
    padding: 10px 20px 5px 20px;
    background: #327937;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
}

#contactform h2 {
    color: #fff;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 30px
}

.form-control {
    border-radius: 0;
    resize: none;
    border: 0px solid #ccc;
    font-size: 15px;
    box-shadow: none;
}

textarea.form-control {
    height: 180px;
}

.btn-send {
    height: 40px;
    padding: 0;
    border-radius: 0;
    border: 0;
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    transition: all .3s;
    background: #46352e;
    box-shadow: none;
    text-shadow: none;
}

.btn-send:hover {
    background: #111;
    color: #fff;
    font-size: 16px;
}

#map {
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
}

@media (max-width: 991px) {
    #map {
        margin-top: 30px;
    }
}


/* HELPERS */

.helper_textupper {
    text-transform: uppercase;
}

.helper_transition {
    transition: all .3s;
    -webkit-transition: all .3s;
}

.helper_txtshadow {
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

.helper_vcenterwrapper {
    display: table;
    width: 100%;
}

.helper_vcenter {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

embed,
iframe,
video,
object {
    max-width: 100%;
    height: auto;
    min-height: 250px;
    border: 3px solid #fff;
}

.case-studies {
    padding: 90px 0;
}

.case-studies .box-shadow {
    transition: 0.3s;
}

.case-studies .box-shadow:hover {
    box-shadow: 1px 1px 6px grey;
}

.case-studies .box-case {
    border-top: 2px solid #226835;
    padding: 25px;
    background-color: #eeeeee;
    font-size: 16px;
}

.case-studies .box-case h3 {
    margin: 0 0 10px;
    font-size: 18px;
    text-transform: none;
}

.case-studies .box-case .description {
    height: 70px;
    overflow: hidden;
    line-height: 24px;
    margin-bottom: 20px;
}

.case-studies .image {
    height: 190px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.case-studies h2 {
    margin: 0 0 25px;
    font-size: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .case-studies .col-xs-12 {
        margin-bottom: 20px;
    }
}

.isotope-page {
    padding: 0 0 50px;
}

.isotope-page .ui-group {
    background-color: #226835;
    text-align: center;
    padding: 0;
}

.isotope-page .ui-group button {
    position: relative;
    background-color: transparent;
    border: 0;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0 10px;
    padding: 10px;
    transition: .3s;
}

.isotope-page .ui-group button.is-checked {
    font-weight: bold;
}

.isotope-page .ui-group button.is-checked::before {
    content: "";
    position: absolute !important;
    display: inline-block;
    bottom: 0;
    width: 0;
    right: 50%;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent white transparent;
}

.isotope-page .title-isotope {
    padding: 10px;
}

@media (max-width: 550px) {
    .isotope-page button {
        width: 100%;
    }
}

.individual-page .title {
    color: #555;
}

.individual-page {
    padding: 40px 0;
    text-align: center;
}

.individual-page h1 {
    font-size: 50px;
}

.individual-page .container {
    position: relative;
}

.individual-page .btn-back a {
    position: absolute;
    right: 0;
    padding: 5px 22px;
    border-radius: 0;
    margin-right: 15px;
}

@media (max-width: 982px) {
    .individual-page .btn-back {
        width: 100%;
        clear: both;
    }
    .individual-page .btn-back a {
        position: relative;
        float: left;
    }
}

@media (max-width: 982px) {
    .connected-carousels .carousel-stage {
        height: 400px !important;
    }
    .connected-carousels .prev-navigation {
        left: 0 !important;
        z-index: 2;
        top: 47%;
        text-indent: 6px;
    }
    .connected-carousels .next-navigation {
        right: 0 !important;
        z-index: 2;
        top: 47%;
        text-indent: 20px;
    }
}

.btn {
    border-radius: 0;
}

.nimage {
    padding-top: 20px;
    padding-bottom: 20px;
}

.ndate {
    margin-bottom: 10px;
    font-size: 13px;
}
