.item-intro {
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Change the number to adjust the visible lines */
  -webkit-box-orient: vertical;
  max-height: 200px; /* Change the value to adjust the maximum visible height */
}

:root {
  --main-color: #002200;
}
/*
.t4-mainbody {
    
background: linear-gradient(rgba(214, 228, 206, 0.9), rgba(75, 175, 75, 0.9));
*/
} 

.sub-menu-back {
    padding-top: 0.5rem !important;
    padding-right: 0rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0rem !important;
}


.page-header h1, .categories-list h1 {

    text-transform: uppercase;
    font-size: 1.5rem;
    margin-top: 0px;
}

.item-page [itemprop=articleBody] {
    margin-top: 0rem;
}

a {
    color: #002200;
    transition: all 0.5s;
}

.pathway {
    color: #002200;
    transition: all 0.5s;
}

    .pathway:hover {
        color: rgba(75, 175, 75, 1) !important;
        transition: all 0.5s;
    }

a:hover {
    color: rgba(75, 175, 75, 1);
    transition: all 0.5s;
}

h2, .h2 {
    font-size: 1.25rem;
    font-weight: bold;
}
h3, .h3 {
    font-size: 1rem;
    font-weight: bold;
}
h5, .h5 {
    font-weight: bold;
}

h6, .h6 {
    font-weight: bold;
}

/* ##fb comments## */
._5yk1 {
    background: #224400 ;
}


/* ##tablet## */
@media (max-width: 991.98px) h1, .h1 {
    font-size: 1rem !important;
}

/* ##mobile## */
@media (max-width: 767px) {
    .com-content-article {
        display: flex;
        flex-direction: column;
    }

        .com-content-article .item-image {
            order: -1;
        }

    .page-header h1, .categories-list h1 {
        font-size: 1rem;
    }
}

/* ##content## */
.t4-section .t4-section-inner {

    max-width: 1000px;
}
.pull-left.item-image, .item-image.pull-left {
    margin-right: 0rem;
}

.t4-row > .t4-component, #t4-mainbody > .t4-section-inner > .t4-row > .component {
    padding-right: 15px;
}

.blog .item-content .page-header > h2 a, .blog-featured .item-content .page-header > h2 a {
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
}
/* ##articles## */
.pull-left.item-image, .item-image.pull-left {
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 10px;
    float: right;
}

.counter {
    color: #214e21e6;
}



/* ##offcanvas */

.t4-offcanvas .t4-off-canvas-header {
    background-color: rgba(75, 175, 75, 0.9);
    background: linear-gradient(rgba(214, 228, 206, 0.8), rgba(75, 175, 75, 0.9)), url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
}

.t4-offcanvas .t4-off-canvas-body {
    background: linear-gradient(rgba(214, 228, 206, 0.8), rgba(75, 175, 75, 0.9)), url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
}
.sub-menu-back {
    background-color: rgba(74, 174, 75, 0.9) !important;
    background-image: url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
    background: linear-gradient(rgba(214, 228, 206, 0.9), rgba(75, 175, 75, 0.9)), url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
}
.t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu {
    background-color: #a9daa9e6;
    background-image: url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
    background: linear-gradient(rgba(215, 230, 215, 0.8), rgba(75, 175, 75, 0.9)), url(/images/page.jpg#joomlaImage://local-images/page.jpg?width=2560&height=1510);
}

.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .nav-link, 
.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .separator {
    color: #224400 !important;
}

.t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item {
    color: #002200;
}

    .t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item:hover {

        color: #224400;
        text-decoration: underline !important;
    }

.t4-offcanvas .t4-off-canvas-body .navbar .nav-link {
    color: #002200;
}

    .t4-offcanvas .t4-off-canvas-body .navbar .nav-link:hover {

        color: #224400;
        text-decoration: underline !important;
    }
.t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle {
    background-color: #00000069;
}
    .t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle:focus,
    .t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle:active,
    .t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle:hover {
        background-color: #224400;
        transition: all 0.5s;
    }


.t4-offcanvas .t4-off-canvas-body .navbar .nav-item {
    display: -webkit-box;
}
.t4-offcanvas-toggle i, 
.navbar-toggler i {
    color: #000;
}
.t4-offcanvas .t4-off-canvas-header .close span {
    color: #adb5bd;

}


.t4-offcanvas .t4-off-canvas-header .close {
    transition: all 0.5s;
    background: rgba(0, 0, 0, 0.7);
}
    .t4-offcanvas .t4-off-canvas-header .close:hover {
        transition: all 0.5s;
        background: #224400;
    }
.t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle {
    background-color: #00000069;
    transition: all 0.5s;
}

.fa-chevron-left {
    background-color: #00000069;
    border-radius: 50%;
    color: #adb5bd;
    display: block;
    position: relative;
    right: 0;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    padding: 0;
    text-align: center;
    width: 30px;
    margin-right: 0.5rem;
    transition: all 0.5s;
}
    .fa-chevron-left:hover {
        background-color: #224400;
        transition: all 0.5s;
    }

.mod_events_latest_content {
    color: #fff !important;
}

.t4-offcanvas .t4-off-canvas-body .t4-module {
    margin-bottom: 1rem;
}

.t4-module {
    padding: 0;
    margin-top: 0rem;
}



/* ##offcanvas expand */
/* 
.t4-offcanvas .t4-off-canvas-body.menu-item-always-show .navbar .sub-menu-toggle {
  display: none;
} 



.t4-offcanvas .t4-off-canvas-body.menu-item-always-show .navbar .dropdown-menu {
  display: block;
}

*/
@media (min-width: 991.98px) {
    #t4-header .logo {
        align-items: end;
    }


    .logo-img {
        max-width: 190%;
    }
}

/* ##menubar## */


.t4-megamenu .navbar-nav > li > a, 
.t4-megamenu .navbar-nav > li > .nav-link {
    text-transform: uppercase;
    font-size: 1rem;
    color: #002200;
}



.t4-megamenu .navbar-nav > li.active > a,
.t4-megamenu .navbar-nav > li.active > .nav-link {
    color: #224400;
    border-bottom: 1px solid #002200;
    font-weight: bold;
    text-decoration: underline;
}
.nav-item .active {
    color: #002200 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: all 0.5s;
}
.t4-megamenu .dropdown-menu ul > .active a.nav-link,
.t4-megamenu .dropdown-menu ul > .active a.dropdown-item {
    color: #002200 !important;
    transition: all 0.5s;
}


.t4-megamenu .navbar-nav > li.show > a,
.t4-megamenu .navbar-nav > li.show > .nav-link,
.t4-megamenu .navbar-nav > li:hover > a,
.t4-megamenu .navbar-nav > li:hover > .nav-link {
    color: #224400;
    transition: all 0.5s;
}
.t4-megamenu .navbar-nav > li:hover > .nav-link {
    color: #224400;
    text-decoration: underline;
    transition: all 0.5s;
}
.t4-megamenu .dropdown-menu ul > li a.nav-link:hover,
.t4-megamenu .dropdown-menu ul > li a.dropdown-item:hover {
    color: #224400;
    text-decoration: underline;
    transition: all 0.5s;
}


.nav-breakpoint-lg .t4-megamenu .dropdown-menu {
    background: rgba(74, 174, 75, 0.99);
}

/* down arrow */
.t4-megamenu .nav > .dropdown > .nav-link .item-caret,
.t4-megamenu .nav > .dropdown > .dropdown-toggle .item-caret {
    border-top: 4px solid #002200;
}
/* tilraunastoedhin menu */
.t4-palette-header a:not(.btn) {
    color: #002200;
}
.category-module li a:before {
    content: none;
}
/* ##buttons## */


.page-link,
.btn.btn-primary,
.btn-secondary,
.btn.btn-secondary {
    color: #000000;
    background-color: rgba(75, 175, 75, 1)!important;
    border-color: #004400 !important;
    transition: all 0.5s;
}

.btn-secondary, .tag-category .filters .btn-group .btn {
    color: #000000;
    background-color: rgba(75, 175, 75, 1) !important;
    border-color: #004400 !important;
    transition: all 0.5s;
}
.btn.btn-primary:hover,
.btn-secondary:hover,
.btn.btn-secondary:hover,
.tag-category .filters .btn-group .btn:hover,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:hover, .tag-category .filters .btn-group .btn:hover,
.page-link:hover {
    color: #449944 !important;
    background-color: #004400 !important;
    border-color: #004400 !important;
    transition: all 0.5s;
}


.page-item.active .page-link {
    color: #449944;
    background-color: #004400 !important;
    border-color: #004400 !important;
    text-decoration: underline;
    transition: all 0.5s !important;
}
.page-item.disabled .page-link {
    /* color: #000000; */
    background-color: #449944 !important;
    border-color: #009900 !important;
    color: #666666 !important;
}


#back-to-top i {
    color: #009900;
}







#login-form .mod-login__username input, #login-form .mod-login__password input, #login-form .mod-login__twofactor input {
    background-color: #a9daa9e6;
}






/* ##breadcrumb## */

.t4-palette-mainnav a:not(.btn) {
    color: #002200;
    transition: all 0.5s;
  	text-decoration: underline;
}

.breadcrumb {
    background-color: #dc354500;
}

.breadcrumb .divider {
    width: 0rem;
}

.fa-home:before {
    content: "";
}

.breadcrumb-item.active {
    color: #007a13;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0rem;
}
/* ##modules padding## */

.t4-topbar {
    padding-top: 0;
    padding-bottom: 0px;
}


.t4-component, .component {
    padding-top: 0px;
    padding-bottom: 15px;
}

#t4-section-1 .container, #t4-section-2 .container, #t4-section-3 .container, #t4-section-4 .container, #t4-section-5 .container, #t4-section-6 .container {
    padding-top: 0px;
    padding-bottom: 0px;
}
/* ##modules padding## 
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding-right: 7.5px;
    padding-left: 7.5px;
    padding-top: 0px;
    padding-bottom: 0px;

}*/
/* ##languagebar## */
.glink img {
    margin: 5px;
}

.t4-footer .container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    padding-bottom: 2rem;
}