/*
Theme Name: meo news theme
Theme URI: meocon.biz
Author: meo
Author URI: https://meocon.biz/
Version: 1.0
*/

body{
    /* font-size: min(14px,4vw); */
    font-size:1rem;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    color: #2D2C2C;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: #166735;
}
a:hover{
    color: #166735;
}
h1,h2,h3,h4,h5,h6{
    color: #000;
}
.owl-four .owl-stage{
    display: flex;
}
.text-black{
    color: #000;
}
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
select:active,
select:hover,
select:focus,
option:active,
option:hover,
option:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
    box-shadow: none !important;
}
.btn{
    background: transparent;
    border: 1px solid #a9a9a9;
    border-radius: 0px;
}
.btn-none{
    background: transparent;
    border: none;
    border-radius: 0px;
}
.btn-green{
    background-color: #166735;
    border: 1px solid #166735;
    color: #fff;
}
.btn-green:hover{
    color: #fff;
}
.btn-big{
    font-weight: bold;
    font-size: min(18px,5vw);
    padding: 0.5rem 1.5rem;
}
.btn-radius{
    border-radius: 0.25rem;
}
.form-control{
    font-size: min(14px,4vw);
    font-weight: normal;
}
input:focus,
input:active,
textarea:focus,
textarea:active{
    border: 1px solid #166735 !important;
}
input:checked{
    background-color: #166735 !important;
}
.text-green{
    color: #166735 !important;
}
.link-green{
    color: #166735 !important;
}
.link-green:hover{
    color: #166735 !important;
    text-decoration: underline;
}
.link-black{
    color: #000;
    text-decoration: none;
}
.link-black:hover{
    color: #000;
    text-decoration: underline;
}
.link-underline{
    text-decoration: none;
}
.link-underline:hover{
    text-decoration: underline;
}
.breadcrumb,
.mobile_smalltext,
.mobile_smalltext a{
    font-size: min(12px,3.5vw);
}
.img-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0px;
    position: relative;
    overflow: hidden;
    height: 238.5px;
}
.img-wrap img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.box-content > h4 > a {
    overflow: hidden;
    height: 86px !important;
    display: flex;
}
/* .box-content > .box-text > p {
    overflow: hidden;
    height: 101px;
} */
.title-link{
    color: #000;
}
.title-link:hover{
    color: #26643f;
}
  
.block-ellipsis {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
height: fit-content;
}
.block-ellipsis-feature {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: fit-content;
}

.block-ellipsis-exerp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: fit-content;
}

.bg_2nd{
    background-color: #26643f;
}
.bg_2nd *{
    color: #fff;
}
.bg-black{
    background-color: #708090;
}
.bg-black *{
    color: #fff;
}
.bg-000{
    background-color: #000;
}
.bg-000 *{
    color: #fff;
}
.bg-trans{
    background:transparent;
    height: 100%;
    width: 100%;
}
.bg-green{
    background-color: #26643f;
}
.bg-green *{
    color: #fff;
}
.bg-opacity{
    background-color: rgba(22,103,53,0.7);
    width: 100%;
    height: 100%;
}
.block-padding{
    padding: 2rem 0px;
}
.block-title{
    font-weight: bold;
    position: relative;
    margin-bottom: 3rem;
    padding-left: 0px;
}
.block-title:after{
    content: '';
    position: absolute;
    top: calc(100% + 1rem);
    left: 0px;
    width: min(15vw,80px);
    height: 2px;
    background-color: #166735;
}
.bg_2nd .block-title::after{
    background-color: #fff;
}
.text-white{
    color: #fff;
}
.text-white *{
    color: #fff;
}
.link-whitebtn{
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 3px;
    display: inline-flex;
    padding: 0.5rem 1rem;
}
.link-whitebtn:hover{
    color: #000;
    background-color: #fff;
    text-shadow: none;
}
.link-transbtn{
    background-color: transparent;
    border: 1px solid #A9A9A9;
    padding: 0.5rem 1rem;
    color: #A9A9A9;
    border-radius: 3px;
    text-decoration: none;
}
.link-transbtn:hover{
    text-decoration: none;
    color: #166735;
    border: 1px solid #166735;
}
.bg_2nd .link-transbtn{
    background-color: transparent;
    border: 1px solid #fff;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
}
.bg_2nd .link-transbtn:hover{
    background-color: #fff;
    color: #166735;
}
.img-inlink-wrap.img-wrap{
    height: 250px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.img-inlink-wrap.img-wrap .img-inlink-opacity{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.img-inlink-wrap.img-wrap:hover .img-inlink-opacity{
    background-color: rgba(22,103,53,.7);
}
.img-inlink-wrap.img-wrap:hover .img-inlink{
    display: flex;
    animation: goUp 0.2s 1 linear;
}
.img-inlink{
    cursor: pointer;
    display: none;
    margin: 1rem;
}
@keyframes goUp {
    0%{
        margin-bottom: 0px;
    }
    100%{
        margin-bottom: 1rem;
    }
}
table{
    width: 100%;
    padding: 0.5rem 0px;
}
table tr td{
    padding: 0.5rem 0px;
}
.btn-img{
    border: none;
    outline:0px;
    box-shadow: none;
    padding: 0px;
    position: relative;
}
.btn-img i{
    position: absolute;
    top: 0px;
    right: 0px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
/*--------------------------header*/
header.absolute-header{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 80;
    width: 100%;
    background: transparent;
}
header .submenu,
header .submenu_full-wrap,
header{
    background: #7e997a;
    color: #fff;
}
.header_logo-wrap{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header_logo-link{
    display: flex;
    align-items: center;
    max-width: 20vw;
}
.header_logo-img{
    max-width: 100%;
    height: auto;
}
.header_right-wrap{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding-top: 1rem;
}
.telnumber{
    color: #166735;
    font-weight: bold;
}
.telnumber:hover{
    color: #166735;
}
.header_social-wrap{
    display: flex;
    align-items: center;
}
.header_social{
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header_social-link{
    border: 2px solid #fff;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.header_social-link:hover{
    background-color: #fff;
    color: #000;
}
/*----------------------------menu*/
.menu{
    display: flex;
    flex-direction: row;
    margin: 0px;
    padding: 0px;
    padding-top: 0.5rem;
}
.menu li:hover>.collapse>.submenu_full,
.menu li:hover>.collapse>.submenu{
    display: block;
}
.menu li{
    list-style-type: none;
    position: relative;
}
.menu-item{
    display: flex;
}
.menu li>.menu-item.active a{
    color: #fff;
    text-transform: uppercase;
}
.menu a{
    padding: 0px 1rem 1.5rem 1rem;
    display: block;
    color: #FFFFFF;
}
.menu>li:last-child a{
    padding-right: 0px;
}
.menu-item *{
    color: #fff;
}
.menu-item a:hover, .menu-item a.active{
    color: #31ff00;
}
.menu-item button{
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.submenu{
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    background-color: rgba(22,103,53,.7);
    box-shadow: 2px 2px 2px rgba(22,103,53,.1),
    -2px 0px 2px rgba(22,103,53,.1);
    display: none;
}
.submenu-right{
    left: auto;
    right: 0px;
}
.submenu *{
    color: #fff;
}
.submenu li{
    list-style-type: none;
    min-width: 160px;
}
.submenu li a{
    clear: both;
    display: inline-flex;
    white-space: nowrap;
    width: 100%;
    padding: 0.5rem 1rem;
    position: relative;
    align-items: center;
}
.submenu a:hover,.submenu a.active{
    background-color: #166735;
    color: #fff;
}
.submenu li.active a{
    background-color: #166735;
}
.submenu ul{
    top: 0px;
    left: 100%;
}
.submenu li:hover ul{
    display: block;
}
.submenu_full-wrap{
    position: absolute;
    top:100%;
    left: 0px;
    background-color: rgba(22,103,53,.7);
    flex-direction: row;
}
.submenu_full{
    padding-top:2rem;
    padding-bottom: 2rem;
    display: none;
}
.submenu_full-wrap>ul ul{
    padding: 1px !important;
}
.submenu_full-wrap *{
    color: #a9a9a9;
}
.submenu_full-wrap li{
    list-style-type: none;
}
.submenu_full-wrap>ul ul{
    padding: 0px;
}
.submenu_full-wrap li a{
    padding: 0.5rem 0px;
    display: inline-flex;
    width: 100%;
}
.submenu_full-wrap li a:hover{
    color: #166735;
}
.group_btnpn{
    display: flex;
}
.group_btnpn .btn{
    margin-right: 0.5rem;
    padding: 0px;
    width: 2rem;
    height: 2rem;
}
.group_btnpn .btn:hover{
    background: #a9a9a9;
    color: #fff;
}
.group_btnpn .btn:hover i{
    color: #fff;
}
.newmega a{
    margin: 0px;
    padding: 0px;
}
.newmega .img-wrap{
    margin-top: 0px;
}
/*--------------------------slider*/
.row-img,
.topslider{
    height: min(36vw,80vh);
}

.topslider .carousel,
.topslider .carousel-inner,
.topslider_item{
    height: 100%;
}

.row-img,
.topslider_item{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.box_imgtxtlk-wrap{
    margin-top: -6rem;
    padding-bottom: 3rem;
}
.box_imgtxtlk-wrap h4 a:hover{
    color: #FFFFFF;
    text-decoration: underline;
}
.box_imgtxtlk-wrap p{
    color: #a9a9a9;
}
.box-content{
    margin-top: 0.5rem;
}
.box-text{
    color: #2D2C2C;
}
.box-link *{
    color: #166735;
    font-weight: bold;
    text-transform: uppercase;
}
.box-link a:hover{
    color: #166735;
    text-decoration: underline;
}
.bg_2nd .box-link *{
    color: #fff;
}
.bg_2nd .box-link a:hover{
    color: #fff;
}
.box_certificate-wrap .box-content{
    text-align: left;
    display: block;
}
.box_certificate-wrap .box-content a{
    text-align: left;
    display: block;
}
.box_certificate-wrap .img-wrap{
    height: 350px;
}
.box-time{
    display: flex;
    padding: 0.3rem 0px;
    border-bottom: 1px solid #A9A9A9;
    border-top: 1px solid #A9A9A9;
}
.box-time *{
    color: #a9a9a9;
}
/*------------parallax*/
.parallax-padding{
    padding-top: 150px;
    padding-bottom: 150px;
    background-color: #fff;
    background-position: 50% 50%;
    background-size: 100%;
    background-repeat: no-repeat;
}
/**/
.clients_table{
    width: 100%;
}
.clients_table .img-wrap{
    height: 100px;
	margin: 0px;
}
.clients_table tr td{
    border: 1px solid #D6D6D6;
}
.testimonial-wrap .box-text{
    border: 1px solid #D6D6D6;
    padding:0.5rem 1rem;
    padding-bottom: 2.5rem;
}
.box-imgtext{
    display: flex;
    padding: 0px 2rem;
}
.box-imgtext .img-wrap{
    height: 70px;
    width: 70px;
    margin-top: -1.5rem;
    margin-right: 1.5rem;
}
.box-imgtext .img-wrap img{
    width: 100%;
    height: 100%;
    border-radius: 100%;
}
.row-link{
    padding: 3rem 0px;
    border-bottom: 1px solid #708090;
    border-top: 1px solid #708090;
}
.row-img-text{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: min(5vw, 100px) 0px;
}
.row-img-text *{
    color: #fff;
}
/*breadcrumb*/
.row-breadcrumb{
    padding: 1rem 0px;
    border-bottom: 1px solid #708090;
    border-top: 1px solid #708090;
}
.row-breadcrumb ol{
    margin: 0px;
}
.row-breadcrumb a{
    color: #2b6a3d;
}
.row-breadcrumb a:hover{
    color: #166735 ;
}
/*video modal*/
.video-modal .modal-content{
    border: none;
}
.video-modal .modal-header{
    border-bottom: none;
}
.video-modal .modal-body{
    border-bottom: none;
}
.video-modal-iframe{
    width: min(100%,1400px);
    height: max(30vw,40vh);
}
/*footer*/
footer a:hover{
    color: #fff;
    text-decoration: underline;
}
footer h6{
    padding-bottom: 1rem;
}
.footer_subcribe-wrap input:focus,
.footer_subcribe-wrap input:active,
.footer_subcribe-wrap input{
    background-color: transparent;
    color: #fff;
}
.footer_subcribe-wrap input::placeholder:focus,
.footer_subcribe-wrap input::placeholder:active,
.footer_subcribe-wrap input::placeholder{
    color: #fff;
}
.businesshours_list{
    padding: 0px;
    margin: 0px;
}
.businesshours_list li{
    display: flex;
    border-bottom: 1px solid #fff;
    padding: 0.5rem 0px;
    list-style-type: none;
}
.businesshours_list li:last-child{
    border-bottom: none;
}
.footer-connect{
    flex-wrap: wrap;
    position: relative;
}
.footer_social{
    display: inline-flex;
    padding: 0.5rem 1rem;
    margin-bottom: -1.5rem;
    position: relative;
    align-items: center;
    gap: 0.5rem;
}
.footer_social::before{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0px;
    height: 0px;
    border-top: 3rem solid transparent;
    border-bottom: 3rem solid transparent;
    border-right: 1.8rem solid #26643f;
    transform: translateX(-100%);
    z-index: -1;
    opacity: 0.8;
}
.footer_social-link{
    border: 2px solid #fff;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}
.footer_social-link:hover{
    background-color: #fff;
    color: #166735;
    text-decoration: none;
}
.footer_social-link:hover *{
    color: #166735;
}
/*left side bar*/
.leftside{
    border-right: 1px solid #708090;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.leftside_list{
    padding: 0px;
}
.leftside_list li{
    list-style-type: none;
}
.leftside_list-item{
    padding: 0.5rem 1rem;
    display: inline-flex;
    width: 100%;
    position: relative;
    padding-left: 0px;
}
.leftside_list-item:hover{
    color: #166735;
}
.leftside_list-item.active{
    border-bottom: 1px solid #708090;
    border-top: 1px solid #708090;
    color: #166735;
}
.leftside_list-item.active:after{
    content: '';
    position: absolute;
    top:50%;
    right: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 1px solid #166735;
    border-right: 1px solid #166735;
    transform: rotate(45deg) translateY(-50%);
}
/*right side bar*/
.rightside{
    border-left: 1px solid #708090;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
}
/*page content*/
.page-content{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
/*carousel indicator*/

.carousel_imgindicator .carousel-indicators{
    position: relative;
    margin: 0px;
    justify-content: flex-start;
    overflow: auto;
}
.carousel_imgindicator .carouselzoom_indicator img{
    max-width: 100%;
    display: block;
    height: auto;
    box-shadow: none;
}
.carousel_imgindicator .carousel-indicators [data-bs-target]{
    width: auto;
    height: auto;
    max-width: 20%;
    min-width: 100px;
}
/*----------slider multi items*/
/*owl */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev{
    width: 30px;
    height: 30px;
    color: #166735;
}
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover{
    background-color: #166735;
    color: #fff;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{
    background: #166735 !important;
}
.bg_2nd .owl-carousel .owl-nav button.owl-next:hover,
.bg_2nd .owl-carousel .owl-nav button.owl-prev:hover{
    background-color: #fff;
    color: #166735;
}
.bg_2nd .owl-carousel .owl-nav button.owl-next:hover span,
.bg_2nd .owl-carousel .owl-nav button.owl-prev:hover span{
    color: #166735;
}
.bg_2nd .owl-theme .owl-dots .owl-dot.active span,
.bg_2nd .owl-theme .owl-dots .owl-dot:hover span{
    background: #fff !important;
}
/*accordion*/
.accordion-collapse{
    padding:1rem;
}
.accordion-item{
    border: none;
}
.accordion-btn{
    background-color: #505050;
    width: 100%;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: bold;
    text-align: left;
    border: none;
    margin: 0.5rem 0px;
}
.accordion-btn[aria-expanded="true"]{
    background-color: #166735;
}
.accordion-button{
    border: 1px solid #708090;
    font-size: min(14px,4vw);
}
.accordion-button:hover{
    background-color: #166735;
    color: #fff;
}
.accordion-button:hover *{
    color: #fff;
}
.accordion-button:not(.collapsed):hover *,
.accordion-button:not(.collapsed){
    background-color: #fff;
    color: #000;
    box-shadow: none;
}
.accordion-button:active,
.accordion-button:focus{
    border: 1px solid #708090;
}
/*plus minus accordion button*/
.accordion-button.accordion-plus-minus:after{
    content: none;
}
.accordion-button.accordion-plus-minus:not(.collapsed)::before{
    background-size: 100% 0.1rem;
}
.accordion-button.accordion-plus-minus:before{
    margin-right: 0.5rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    content: "";
    display:inline-block;
    background:
            linear-gradient(#000,#000),
            linear-gradient(#000,#000);
    background-position:center;
    background-size: 100% 0.1rem, 0.1rem 100%;
    background-repeat:no-repeat;
    transition: background .2s ease-in-out;
}
.accordion-button.accordion-plus-minus.collapsed:hover:before{
    background:
            linear-gradient(#fff,#fff),
            linear-gradient(#fff,#fff);
    background-position:center;
    background-size: 100% 0.1rem, 0.1rem 100%;
    background-repeat:no-repeat;
}
/*arrow accordion button*/
.accordion-button.accordion-arrow::after,
.accordion-button.accordion-arrow:not(.collapsed)::after{
    background-image: none;
    transform: rotate(-225deg) translateX(50%);
}
.accordion-button.accordion-arrow::after{
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    width: 1rem;
    height: 1rem;
    transform: rotate(-45deg) translateY(-50%);
}
.accordion-button.collapsed:hover:after{
    border-color: #fff;
}
/*icon accordion button*/
.accordion-icon i{
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accordion-button.accordion-icon:not(.collapsed)::after{
    background-size: 100% 0.1rem;
}
.accordion-button.accordion-icon::after{
    background-image: none;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    content: "";
    display:inline-block;
    background:
            linear-gradient(#000,#000),
            linear-gradient(#000,#000);
    background-position:center;
    background-size: 100% 0.1rem, 0.1rem 100%;
    background-repeat:no-repeat;
    transition: background .2s ease-in-out;
}
.accordion-button.accordion-icon.collapsed:hover::after{
    background:
            linear-gradient(#fff,#fff),
            linear-gradient(#fff,#fff);
    background-position:center;
    background-size: 100% 0.1rem, 0.1rem 100%;
    background-repeat:no-repeat;
}
/*list news*/
.listnews{
    margin-bottom: 2rem;
}
.listnews_item{
    border-bottom: 1px solid #708090;
    padding-bottom: 2rem;
    padding-top: 2rem;
}
.listnews_item:first-child{
    padding-top: 0px;
}
/*single news*/
.description{
    border-left: 3px solid #166735;
    background-color: #EFE7EC;
    padding: 1rem 3rem;
    padding-right: 1rem;
    font-style: italic;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.singlenews_details h2 a.title{
    color: #166735;
}


/*sidebar list news*/
.sidebar_tags,
.sidebar_category,
.sidebar_news{
    padding: 1rem 0px;
    margin-bottom: 0px;
}
.sidebar_news-item{
    list-style-type: none;
    padding: 1rem;
    padding-left: 0px;
    overflow: hidden;
    /*! display: flex; */
}
.sidebar_news-item:nth-child(even){
    background-color: transparent;
}
.sidebar_news-item:nth-child(odd){
    background-color: #EFE7EC;
}
.sidebar_news-item img{
    max-width: 120px;
    max-height: 120px;
    margin-right: 0.5rem;
    border-radius: 2px;
    object-fit: cover;
    float: left;
}
.sidebar_news-item a{
    /*! display: inline-flex; */
    font-size: 1rem;
}
.sidebar_category-item a:hover,
.sidebar_news-item a:hover{
    color: #166735;
}
.widget a{
    color: #2D2C2C;
}
    /*sidebar list category*/
.sidebar_category-item{
    list-style-type: none;
    padding: 0.5rem 1rem;
    padding-left: 0px;
}
/*sidebar list tag*/
.sidebar_tags{
    overflow: auto;
}
.sidebar_tags-item{
    float: left;
    color: #166735;
    list-style-type: none;
}
.sidebar_tags-item a{
    border-radius: 3px;
    border: 1px solid #166735;
    padding: 0.3rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}
.sidebar_tags-item *{
    color: #166735;
}
.sidebar_tags-item a:hover{
    color: #fff;
    background-color: #166735;
}
/**/
.page-link{
    border: 1px solid #166735;
    color: #166735;
}
.page-link.current,
.page-link:active,
.page-link:focus,
.page-link:hover{
    background-color: #166735;
    border: 1px solid #166735;
    color: #fff;
}
.page-link:active,
.page-link:focus{
    outline: 0px !important;
    box-shadow: none !important;
}
/*navs and tabs*/
.nav-tabs{
    border-bottom: 1px solid #708090;
}
.nav-link{
    color: #a9a9a9;
}
.nav-link:hover,
.nav-link:active,
.nav-link:focus,
.nav-link.active{
    color: #166735 !important;
    border-color: #708090 #708090 #fff !important;
}
.nav-link i{
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.3rem;
}
/*vertical nav*/
.nav-tabs.flex-column{
    border-right: 1px solid #708090;
    border-bottom: none;
    display: inline-flex;
}
.nav-tabs.flex-column .nav-item{
    display: flex;
}
.nav-tabs.flex-column .nav-link{
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0px;
    margin-bottom: 0px;
    margin-right: -1px;
    flex-grow: 1;
}
.nav-tabs.flex-column .nav-link.active,
.nav-tabs.flex-column .nav-link:active,
.nav-tabs.flex-column .nav-link:focus,
.nav-tabs.flex-column .nav-link:hover{
    border-color: #708090 #fff #708090 #708090!important;
}
/*vertical tab right align*/
.nav-tabs.flex-column.nav-right{
    border-left: 1px solid #708090;
    border-bottom: none;
    border-right: none;
}
.nav-tabs.flex-column.nav-right .nav-link{
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    margin-left: -1px;
    flex-grow: 1;
}
.nav-tabs.flex-column.nav-right .nav-link.active,
.nav-tabs.flex-column.nav-right .nav-link:active,
.nav-tabs.flex-column.nav-right .nav-link:focus,
.nav-tabs.flex-column.nav-right .nav-link:hover{
    border-color: #708090 #708090 #708090 #fff!important;
}
.scroll_sidebox{
    width: 100%;
}
/**/
@media only screen and (max-width: 991px) {
    .header_right-wrap{
        display: none;
        background: #fff;
        padding: 0px;
        flex-direction: column;
        flex: auto;
    }
    .header_right-wrap *{
        color: #000;
    }
    .header_right-wrap .telnumber{
        color: #166735;
    }
    .header_social-link{
        border: 1px solid #a9a9a9;
    }
    .header_social-link i{
        color: #a9a9a9;
    }
    .header_social-link:hover{
        border: 1px solid #000;
    }
    .header_social-link:hover i{
        color: #000;
    }
    .header_social-wrap{
        padding:0.5rem 1rem;
        border-bottom: 1px solid #a9a9a9;
        width: 100%;
    }
    .header_social{
        margin-left: 0px;
        margin-right: 0.5rem;
    }
    .menu-wrap{
        width: 100%;
    }
    .menu{
        display: block;
        width: 100%;
        padding:0px;
    }
    .menu *{
        color: #a9a9a9;
    }
    .menu-item{
        border-bottom: 1px solid #a9a9a9;
    }
    .menu a{
        color:#3a3a3a;
    }
    .menu-item a{
        padding:0.5rem 1rem;
        display: inline-flex;
        width: 100%;
        align-items: center;
    }
    .menu-item a:hover, .menu-item a.active {
        color: #166735;
    }
    .menu li:hover>.collapse>.submenu_full,
    .menu li:hover>.collapse>.submenu{
        position: static;
        display: '';
    }
    .menu-item a:hover{
        color: #166735;
    }
    .submenu_full-wrap{
        position: static;
        width: 100% !important;
    }
    .submenu_full{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .submenu_full,
    .submenu{
        position: static;
        display: block;
        box-shadow: none;
    }
    .submenu a:hover{
        background-color: transparent;
        color: #000;
    }
    .submenu li>*:first-child{
        padding-left: 2rem !important;
        border-bottom: 1px solid #A9A9A9;
    }
    .submenu .submenu li:last-child{
        border-bottom: none;
    }
    .submenu li.active a{
        background-color: transparent;
    }
    .submenu .menu-item{
        padding-right: 0px !important;
    }
    .submenu .menu-item>*:first-child{
        padding-left: 0px !important;
    }
    .submenu .submenu li>*:first-child{
        padding-left: 3.5rem !important;
    }
    .submenu li .collapse{
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .submenu_full-wrap{
        background-color: #fff;
    }
    .submenu_full-wrap>ul>li>*{
        padding: 0.5rem 1rem;
        padding-left: 1rem;
    }
    .submenu{
        background-color: #fff;
    }
    .submenu_full-wrap li a:hover{
        color: #000;
    }
    /*.submenu li .collapse li:last-child>*{
        border-bottom: none;
    }*/
    .parallax-padding{
        background-size: cover;
    }
    .img-inlink{
        display: flex;
    }
    .img-inlink-wrap.img-wrap .img-inlink-opacity{
        background-color: rgba(22,103,53,.7);
    }
    .img-inlink-opacity a h4:hover{text-decoration: underline}
    header .submenu,
    header .submenu_full-wrap{
        background-color: #fff;
    }
    .img-inlink-wrap.img-wrap:hover .img-inlink{
        animation: none;
    }
    .leftside{
        border-right: none;
    }
    .rightside{
        border-left: none;
    }
    .menu li>.menu-item.active a{
        color: #a9a9a9;
        text-transform: none;
    }
    .menu li>.menu-item.active a:hover{
        color: #000;
    }
    .owl-nav{
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    .box_imgtxtlk-wrap{
        margin-top: 0px;
        padding-top: 3rem;
    }
    .box-content > h4 > a {
        height: 86px !important;
    }
}
/*fix css image*/

img.alignright {
  float: right;
  display: block;clear:both;
}
img.alignleft {
  float: left;
  display: block;clear:both;
}
img.aligncenter {
    margin: 0 auto !important;
    display: block;
}
/**/

/* fix font size menu bar */
#menu-menu-chinh-vi {
  font-size:13.2px;
}
.news-top .post-style-5 {
    position: relative;
}
.news-top .owl-nav .owl-prev{
    position: absolute;
    top:38%;
    left: -50px;
}
.news-top .owl-nav .owl-next{
    position: absolute;
    top:38%;
    right: -50px;
}
.text-news,.img-news{
    height:140px;
}
.box-text {margin-top:15px;}
.title-box-category .inner-title:before {
    content: "";
    width: 100%;
    height: 1px;
    background: #26643f;
    position: absolute;
    left: 0;
    bottom: 0;
}
.scroll_sidebox .pb-3{
    position: relative;
}
.scroll_sidebox .pb-3::before{
        content: "";
        width: 155px;
        height: 2px;
        background: #166735;
        position: absolute;
        left: 0;
        bottom: 0;
    
}
@media only screen and (max-width: 991px) {
  .img-news{
        height:auto;
        width: 100%;
        max-height: 56vw;
    }
}