﻿.under-h2 {
    font-size: 36px;
    color: #005aab;
    text-transform: uppercase;
    line-height: 1.5em;
    margin-bottom: 20px;
}
.pro_list{
    display:flex;
    flex-wrap:wrap;
   
}

.pro_layout {
    padding: 20px 0;
    display:flex;justify-content: space-between;
}

.pro_item {
    width: calc(100%/4 - 24px);
    margin: 0 30px 40px 0;
}
.pro_item:nth-child(4n) {
	margin-right: 0;
}
.pro_item a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #333;
	transition: all 0.3s;
}
.pro_item a:hover {
	transform: translateY(-10px);
}
.pro_itm_img {
    height: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 15px;
}
.pro_itm_ttl {
    font-weight: bold;
    line-height: 1.3em;
}
.pro_itm_img img {
	max-height: 100%;
}
.sidebar {
    width: 20%;
  
}
.pull_right{width: 80%;
    padding-left: 30px;}
.sidebar-ttl {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 2em;
    margin:0 ;
    background: #00994a;
    padding: 5px 10px;
}
.sidebar-mod {
    position: relative;
    margin-bottom: 40px;
    padding: 0 10px;
    border: 1px solid #ccc;
}
.sidebar-mod-item {
    position: relative;
   
    border-bottom: 1px solid #e6e6e6;
}
    .sidebar-mod a {
		display: block; padding: 10px 0;
        color: #000;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s;
    }
        .sidebar-mod a:hover , .sidebar-mod a.active {
            color: #00a651;
        }
.under .sidenews-item {width: 100%;margin: 20px 0 20px;}
.under .sidenews-item:last-child{margin-bottom: 10px;}
.under .sidenews-item a {display: flex;color: #4d4d4d;text-decoration: none;}
.under .sidenews-img {width: auto;height: auto;flex-shrink: 0;margin: 0 15px 0 0;border-radius: 5px;overflow: hidden;}
.under .sidenews-item a:hover .sidenews-img img {transform: scale(1.1, 1.1);opacity: 0.8;}
.sidenews-itm_main {overflow: hidden;}
.under .sidenews-img img {flex-shrink: 0;transition: all 0.7s ease;max-width: none;width: 100px;height: 100px;object-fit: cover;}
.under .sidenews-itm_ttl {white-space: nowrap;text-overflow: ellipsis;overflow: hidden;font-size: 15px;font-weight: bold;margin: 0 0 5px;line-height: 22px;}
.under .sidenews-itm_txt {font-size: 13px;margin: 0 0 5px;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
@media screen and (max-width: 1400px) {
    /* .pro_item { */
    /* width: calc(100%/4 - 40px); */
/* } */
}
@media screen and (max-width: 768px) {
.pro_list{
    padding:0;
}
.pro_item {
    width: calc(100%/3 - 20px);
    margin: 10px;
}
.pro_itm_img{
    height: 200px;
}
 .pro_item:nth-child(5n) {
    margin: 10px;
}
 .sidebar-ttl {
     font-size: 11px;
 }
 .sidebar {
     display:none;
 }
 .sidebar-mod-item a {
     font-size: 12px;
 }
 .pull_right {
     width:100%;
 }
 .pro_layout {
     padding:0;
 }

 .pro_itm_ttl {
     font-size:16px;
     min-width:initial;
 }

 .pro_itm_main {
     min-height:70px;
 }
 .pro_itm_price {
     font-size:13px;
 }
 .under .sidenews-img {
     margin:0;
 }
 .under .sidenews-img img  {
     display:none;
 }
 .under .sidenews-itm_ttl {
     font-size:12px;
 }
 .under .sidenews-itm_txt {
     font-size:12px;
 }
}
@media screen and (max-width: 480px) {
.pro_list{ width:auto;margin-bottom:20px;}
.pro_item {
    width: calc(50% - 20px);
}
.pro_itm_img {
    height: 45vw;
}
.pro_itm_ttl{
    overflow: hidden;
    font-size:14px;
    left:auto;
}
.pro_itm_main {
    min-height:initial;
}
.pro_itm_txt {
    font-size:12px;
}
.sidebar {
    display:none;
}
.pull_right {
    padding:0;
}
}