/* TABLE */

.table-list {
    width: 100%;
}

.table-list.vlign-top td {
    vertical-align: top;
}

.table-list thead tr th {
    padding: 15px;
    border-bottom: 4px solid #007A40;
}

.table-list tbody tr td {
    padding: 15px;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
}

.table-list tbody tr td:first-child {
    border-left: 0;
}

.table-list tbody tr td br {
    margin: 0;
}

.cg tbody tr td {
    padding: 15px;
    border: 1px solid #e5e5e5;
}


/* UPPER BLOCK */

.block-upper {
    position: absolute;
    width: 95%;
    top: -140px;
}

.block-upper .block-shadow {
    width: 100%;
    min-height: 395px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(3, 3, 3, 0.17);
    -moz-box-shadow: 3px 3px 5px 0px rgba(3, 3, 3, 0.17);
    box-shadow: 3px 3px 5px 0px rgba(3, 3, 3, 0.17);
}


/* CARD */

.block-card {
    border-bottom: solid 1px #D2B12B;
    margin-bottom: 30px;
}

.block-card:hover .block-thumbnail .link {
    opacity: 1;
    -webkit-transition: opacity 0.4s linear;
    -moz-transition: opacity 0.4s linear;
    -ms-transition: opacity 0.4s linear;
    -o-transition: opacity 0.4s linear;
    transition: opacity 0.4s linear;
}

.block-card:hover .block-detail {
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.block-card.no-shadow .block-detail {
    padding: 20px 0;
}

.block-card.no-shadow .block-detail:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

.block-card.no-shadow .block-detail p {
    margin: 0;
}

.block-card.no-shadow:hover .block-detail {
    -webkit-box-shadow: 0 0 0;
    -moz-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

.block-card.content-card {
    display: table;
    width: 100%;
    height: 210px;
}

.block-card.content-card .block-detail {
    display: table-cell;
    padding: 0;
    vertical-align: middle;
    height: 100%;
    -webkit-box-shadow: 1px 1px 7px 0px rgba(3, 3, 3, 0.3);
    -moz-box-shadow: 1px 1px 7px 0px rgba(3, 3, 3, 0.3);
    box-shadow: 1px 1px 7px 0px rgba(3, 3, 3, 0.3);
    position: relative;
}

.block-card.content-card .block-detail>h4:first-child {
    position: absolute;
    width: 100%;
    top: 37%;
}

.block-card.content-card .block-detail>figure+h4 {
    display: none;
}

.block-card .block-action {
   text-align: center;
    position: absolute;
    top: 30%;
    width: 100%;
}

.block-card .block-action small {
    position: relative;
    display: inline-block !important;
}

.block-card .block-action small:hover .share:before {
    background-color: rgba(0, 0, 0, 0.7);
    color: #970001;
}

.block-card .block-action small:hover ul {
    display: block;
    opacity: 1;
    padding-left: 50px;
}

.block-card .block-action small:first-child:after {
    content: "";
    width: 1px;
    height: 34px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    top: -28px;
    margin: 0 20px;
}

.block-card .block-action small ul {
    position: absolute;
    z-index: 1;
    padding: 0;
    top: 0;
    left: 0;
    opacity: 0;
    white-space: nowrap;
    padding-right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: right;
}

.block-card .block-action small ul li {
    display: inline-block;
    float: none;
    padding: 0;
    left: 0;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.block-card .block-action small ul li a {
    font-size: 24px;
    line-height: 50px;
    height: 50px;
    width: 30px;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
}

.block-card .block-action small .share {
    display: inline-block;
}

.block-card .block-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.block-card .block-thumbnail .link {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    -webkit-transition: opacity 0.4s linear;
    -moz-transition: opacity 0.4s linear;
    -ms-transition: opacity 0.4s linear;
    -o-transition: opacity 0.4s linear;
    transition: opacity 0.4s linear;
}

.block-card .block-thumbnail .link small {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.block-card .block-thumbnail .link span {
    display: inline-block;
    padding: 0 15px;
    color: #ffffff;
}

.block-card .block-thumbnail .link--show {
    opacity: 1;
}

.block-card .block-action--single small:first-child::after {
    display: none;
}

.block-card .block-thumbnail .link .map {
    background: url(../images/icon/icon-location-white.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
    color: white;
}

.block-card .block-thumbnail .link .map:hover {
    background: url(../images/icon/icon-location.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
    color: #d2b12b;
}


.block-card .block-thumbnail .link .view {
    background: url(../images/icon/icon-view-white.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}

.block-card .block-thumbnail .link .share {
    background: url(../images/icon/icon-share-white.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}

.block-card .block-thumbnail .link .play {
    background: url(../images/icon/icon-circle-play.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}
.block-card .block-thumbnail .link .view:hover {
    background: url(../images/icon/icon-view.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}

.block-card .block-thumbnail .link .share:hover {
    background: url(../images/icon/icon-share.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}



.block-card .block-thumbnail a {
    display: inline-block;
    color: #ffffff;
}

.block-card .block-thumbnail a:hover {
    color: #d2b12b;
}

.block-card .block-detail {
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    height: 200px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.block-card .block-detail:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

.block-card .block-detail a {
    display: block;
    height: 100%;
    padding: 25px;
}

.block-card .block-detail a:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

.block-card .block-detail span {
    display: block;
    clear: both;
}

.block-card .block-detail span.title {
    height: 105px;
    overflow: hidden;
}

.block-card .block-detail span.date {
    position: absolute;
    left: 25px;
    bottom: 25px;
    font-weight: bold;
}

.block-card .block-detail span.type {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.block-card.block-rice-style .link .view {
    background: url(../images/icon/icon-view-white.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}

.block-card.block-rice-style .link .share {
    background: url(../images/icon/icon-share-white.png) no-repeat;
    min-width: 50px;
    min-height: 50px;
    padding-top: 55px;
}

.block-card.block-rice-style .link .view:hover {
    background: url(../images/icon/icon-view.png) no-repeat;
    color: #D2B12B;
}

.block-card.block-rice-style .link .share:hover {
    background: url(../images/icon/icon-share.png) no-repeat;
    color: #D2B12B;
}

.block-card.block-rice-style .block-thumbnail {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.block-card.block-rice-style .block-detail {
     height: auto;
}
.block-card.block-rice-style .block-detail a{
     padding: 15px 20px 30px;
}
.block-card.block-rice-style .block-detail .block-title{
     color: #333333;
     font-size: 14px;
     margin-bottom: 17px;
}
.block-card.block-rice-style .block-detail .block-icon{
     display: inline-flex;
     font-size: 14px;
     color: #333333;
}
.block-card.block-rice-style .block-detail .block-icon span{
    padding-right: 2rem;
    position: relative;
}
.block-card.block-rice-style .block-detail .block-icon span:first-child::after{
    content:'';
    position: absolute;
    right: 10px;
    top: 5px;
    background-color: rgba(187, 187, 187, 0.45);
    width: 1px;
    height: 15px;
}
.block-card.block-rice-style .block-detail .block-icon span i{
    padding-right: 1rem;
    
}
/* TAB CONTENT  */

.block-tab-content {
    /* Use .nav-tabs */
}

.block-tab-content ul.block-tabs.nav {
    border: 1px solid #dfdfdf;
    background-color: #f3f3f3;
}

.block-tab-content ul.block-tabs.nav li:hover a {
    background-color: #ffffff;
}

.block-tab-content ul.block-tabs.nav li.selected a {
    background-color: #ffffff;
    color: #007A40;
    border-bottom: 1px solid #ffffff;
}

.block-tab-content ul.block-tabs.nav li a {
    border-radius: 0;
    padding: 15px;
    min-width: 170px;
    text-align: center;
    background-color: #f3f3f3;
    font-weight: bold;
    border: 0;
    color: #777777;
    margin-right: 0px;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}


/* According */

.block-accordion {
    clear: both;
    margin-bottom: 60px;
}

.block-accordion .acrd-list {
    clear: both;
    margin-top: 1px;
    border: 1px solid #dfdfdf;
}

.block-accordion .acrd-list .acrd-nav {
    width: 100%;
    display: block;
}

.block-accordion .acrd-list .acrd-nav a {
    position: relative;
    padding: 15px 30px;
    display: block;
    color: #333333;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    font-size: 1.3rem;
}

.block-accordion .acrd-list .acrd-nav a:after {
    content: "+";
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 20px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #c6c6c6;
    -webkit-transition: transform, 0.5s, ease;
    -moz-transition: transform, 0.5s, ease;
    -ms-transition: transform, 0.5s, ease;
    -o-transition: transform, 0.5s, ease;
    transition: transform, 0.5s, ease;
    transform: rotate(0);
    -o-transform: rotate(0);
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
}

.block-accordion .acrd-list .acrd-nav a.selected {
    background-color: #ffffff;
}

.block-accordion .acrd-list .acrd-nav a.selected:after {
    content: "x";
    transform: rotate(0);
    -o-transform: rotate(0);
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
}

.block-accordion .acrd-list .acrd-nav a i {
    display: inline-block;
    margin: 0 15px;
}

.block-accordion .acrd-list .acrd-content {
    padding: 30px 15px;
    display: none;
    background-color: #ffffff;
    border-top: 1px solid #dfdfdf;
}

.block-accordion .acrd-list .acrd-content:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

.block-accordion .acrd-list .acrd-content h3 {
    margin: 0px;
    padding: 15px 0 0;
}

.block-accordion .acrd-list .acrd-content ol {
    padding: 10px 20px 0 20px;
}

.block-accordion .acrd-list .acrd-content ol li {
    padding-bottom: 7px;
    padding-left: 7px;
}

.block-accordion .acrd-list .acrd-content ul {
    padding: 10px 20px 0 20px;
    list-style: square;
}

.block-accordion .acrd-list .acrd-content ul li {
    padding-bottom: 7px;
    padding-left: 7px;
}


/* HOME */
#home-content .home-landing {
    max-height: 100%;
}
#home-content .home-our-business .sec-heading::after,
.home-new .sec-heading::after {
    content: '';
    position: relative;
    display: block;
    margin: 2rem auto;
    background-color: #D2B12B;
    height: 2px;
    width: 100px;
}

#home-content .home-landing .hl-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#home-content .home-landing .hl-wrapper .hl-wrapper-detail {
    position: absolute;
    left: 45%;
    z-index: 2;
    top: 10%;
}

#home-content .home-landing .hl-wrapper .hl-wrapper-detail h2 {
    margin: 0;
    line-height: 1.4;
}

#home-content .home-landing .scroller-down {
    position: absolute;
    width: 100%;
    bottom: 30px;
    text-align: center;
    z-index: 2;
}

#home-content .home-landing .mouse-scroll {
    display: inline-block;
    line-height: 18px;
    font-family: 'Thai Sans Neue';
    font-size: 13px;
    font-weight: 900;
    color: #333333;
    letter-spacing: 2px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

#home-content .home-landing .mouse-scroll .mouse {
    position: relative;
    display: block;
    width: 30px;
    height: 47px;
    margin: 0 auto 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #333333;
    border-radius: 23px;
}

#home-content .home-landing .mouse-scroll .mouse [class*=mouse-movement] {
    position: absolute;
    display: block;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -4px 0 0 -2px;
    background: #333333;
    border-radius: 50%;
}

#home-content .home-landing .mouse-scroll .mouse .mouse-movement {
    top: 29%;
    -webkit-animation: scroll-ani 2s linear infinite;
    -moz-animation: scroll-ani 2s linear infinite;
    animation: scroll-ani 2s linear infinite;
}

#home-content .home-landing .mouse-scroll .mouse .mouse-movement2 {
    top: 20%;
    -webkit-animation: scroll-ani-2 3s linear infinite;
    -moz-animation: scroll-ani-2 2s linear infinite;
    animation: scroll-ani-2 2s linear infinite;
}

#home-content .home-landing .mouse-scroll:hover .mouse-message {
    margin-top: 0;
}

#home-content .home-landing .billborad-wrapper .billboard {
    height: calc(100vh - 105px);
    background-color: transparent;
    z-index: 1;
}

#home-content .home-landing .billborad-wrapper .billboard .billboard-slide {
    width: 100%;
    opacity: 0;
}

#home-content .home-landing .billborad-wrapper .billboard .slide-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#home-content .home-landing .billborad-wrapper .billboard .slide-caption h3 {
    margin-top: 5%;
    line-height: 1.5;
}

#home-content .home-landing .billborad-wrapper .billboard>div>.img-bg {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 105px);
}
/* Home our business */
#home-content .home-our-business {
    position: relative;
    padding: 80px 0;
    background-color: #f3f3f3;
} 

#home-content .home-our-business .row {
    display: flex;
    flex-wrap: wrap;
}

#home-content .home-our-business .row > div {
    margin-bottom: 2rem;
}

#home-content .home-our-business .sec-heading {
    margin: 20px 0 60px;
    position: relative;
    z-index: 3;
}
#home-content .home-our-business .sec-heading h2{
   font-weight: 700;
   font-size: 34px;
}

#home-content .home-our-business .hop-items-detail-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    border-bottom: 1px solid #D2B12B;
    display: flex;
    flex-direction: column;
}
#home-content .home-our-business .hop-items-background {
    position: relative;
    height: 115px;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    z-index: 2;
}
#home-content .home-our-business .hop-items-background::after { 
    content:'';
    display: flex;
    background: transparent linear-gradient(0deg, #FFFFFF 0%, #FFFFFF 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
    height: 115px;
    position: relative;
}
#home-content .home-our-business .hop-items-detail {
    display: block;
    position: relative;
    width: 100%;
    background-color: #fff;
    margin-top: -45px;
    padding-bottom: 7rem;
    text-align: center;
    flex-grow: 1;
}

#home-content .home-our-business .hop-items-detail .hop-items-images {
    position: relative;
    margin: 0 auto;
    max-width: 400px;
    z-index: 3;
}

#home-content .home-our-business .hop-items-detail .hop-items-images >img{
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

#home-content .home-our-business .hop-items-detail .hop-title {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#home-content .home-our-business .hop-items-detail .hop-title >img{
    height: 30px;
    width: 40px;
    padding-right: 1rem;
}
#home-content .home-our-business .hop-items-detail .hop-title h3{
    color: #007A40;
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: 600;
}
#home-content .home-our-business .hop-items-detail .hop-title .icon{
    font-size: 3rem;
    padding-right: 1rem;
}

#home-content .home-our-business .hop-items-detail .hop-detail {
    position: relative;
    margin-top: 1rem;
    padding: 0 3rem;
}
#home-content .home-our-business .hop-items-detail .hop-btn {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
}
#home-content .home-our-business .hop-items-detail .hop-detail .btn {
    margin-top: 1rem;
}


#home-content .home-our-business .home-our-business.animated {
    top: 100px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#home-content .home-our-business .hop-bg-bottom {
    background-image: url("../images/content/home/our-business/business/business-bg.jpg");
}

#home-content .home-our-business .home-product-btn {
    position: absolute;
    right: 3%;
    top: 40%;
    z-index: 999;
}

#home-content .home-our-business .home-product-btn .down .fa:before {
    content: "\f107";
}

#home-content .home-our-business .home-product-btn a {
    width: 60px;
    border: 2px solid #007A40;
    border-radius: 0px;
    display: block;
    padding: 0;
    color: #999;
}

#home-content .home-our-business .home-product-btn .fa {
    font-size: 3em;
}


#home-content .home-our-product-business {
    height: 100vh;
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

#home-content .home-our-product-business .sec-heading {
    height: 70px;
    margin: 10px 0;
    position: relative;
    z-index: 3;
}

#home-content .home-our-product-business .sec-heading h2 {
    margin: 0;
    line-height: 70px;

}

#home-content .home-our-product-business header {
    position: relative;
    z-index: 3;
    padding: 15px 0 0;
}

#home-content .home-our-product-business header .badge {
    display: block;
    float: left;
    border: 0px;
    border-radius: 0;
    background-color: #007A40;
    padding: 7px 15px;
    font-size: 21px;
    font-family: 'Thai Sans Neue';
}

#home-content .home-our-product-business header h1 {
    clear: both;
    color: #007A40;
    font-size: 46px;
    margin: 0px;
    padding: 5px 0;
}

#home-content .home-our-product-business .home-our-product,
#home-content .home-our-product-business .home-our-business {
    position: relative;
    width: 100%;
    height: 100%;
}

#home-content .home-our-product-business .home-our-product .bg-image,
#home-content .home-our-product-business .home-our-business .bg-image {
    position: absolute;
    bottom: 0;
}

#home-content .home-our-product-business .home-our-product .hop-bg,
#home-content .home-our-product-business .home-our-business .hop-bg {
    position: relative;
    z-index: 2;
}

#home-content .home-our-product-business .home-our-product .hop-bg>div.container,
#home-content .home-our-product-business .home-our-business .hop-bg>div.container {
    position: relative;
}

#home-content .home-our-product-business .home-our-product .hop-items,
#home-content .home-our-product-business .home-our-business .hop-items {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    max-width: 520px;
}

#home-content .home-our-product-business .home-our-product .hop-items-img,
#home-content .home-our-product-business .home-our-business .hop-items-img {
    display: block;
    position: relative;
    bottom: 2em;
    height: 70vh;
    min-height: 550px;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail-wrapper,
#home-content .home-our-product-business .home-our-business .hop-items-detail-wrapper {
    display: block;
    position: relative;
    bottom: 60px;
    height: 650px;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail,
#home-content .home-our-product-business .home-our-business .hop-items-detail {
    display: block;
    position: absolute;
    bottom: 10%;
    height: 600px;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail.zoom,
#home-content .home-our-product-business .home-our-business .hop-items-detail.zoom {
    width: 104%;
    height: 670px;
    left: -2%;
    bottom: 2%;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail>img,
#home-content .home-our-product-business .home-our-business .hop-items-detail>img {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.11);
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.11);
}

#home-content .home-our-product-business .home-our-product .hop-items-detail .hop-detail,
#home-content .home-our-product-business .home-our-business .hop-items-detail .hop-detail {
    position: absolute;
    bottom: 40px;
    left: 0;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail .hop-detail .hop-detail-wrapper,
#home-content .home-our-product-business .home-our-business .hop-items-detail .hop-detail .hop-detail-wrapper {
    width: 80%;
    margin: 0 auto;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail .hop-detail .hop-detail-wrapper p,
#home-content .home-our-product-business .home-our-business .hop-items-detail .hop-detail .hop-detail-wrapper p {
    font-weight: bold;
    margin-bottom: 30px;
}

#home-content .home-our-product-business .home-our-product .hop-bg-bottom,
#home-content .home-our-product-business .home-our-business .hop-bg-bottom {
    width: 100%;
    height: 690px;
    position: absolute;
    bottom: 0;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
}

#home-content .home-our-product-business .home-our-product .hop-items-detail {
    background-image: url("../images/content/home/our-business/product/mahbk-product-bg.jpg");
}

#home-content .home-our-product-business .home-our-product .hop-bg-bottom {
    background-image: url("../images/content/home/our-business/product/product-bg.jpg");
}

#home-content .home-our-product-business .home-our-business {
    position: absolute;
    top: 100%;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#home-content .home-our-product-business .home-our-business.animated {
    top: 100px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#home-content .home-our-product-business .home-our-business .hop-items-detail {
    background-image: url("../images/content/home/our-business/business/foodcenter-product-bg.jpg");
}

#home-content .home-our-product-business .home-our-business .hop-bg-bottom {
    background-image: url("../images/content/home/our-business/business/business-bg.jpg");
}

#home-content .home-our-product-business .home-product-btn {
    position: absolute;
    right: 3%;
    top: 40%;
    z-index: 999;
}

#home-content .home-our-product-business .home-product-btn .down .fa:before {
    content: "\f107";
}

#home-content .home-our-product-business .home-product-btn a {
    width: 60px;
    border: 2px solid #007A40;
    border-radius: 0px;
    display: block;
    padding: 0;
    color: #999;
}

#home-content .home-our-product-business .home-product-btn .fa {
    font-size: 3em;
}

#home-content .home-promotion {
    overflow: hidden;
    padding: 50px 0;
}

#home-content .home-promotion img {
    margin-bottom: 20px;
}

#home-content .home-promotion a:hover,
#home-content .home-promotion a:focus {
    color: #007A40;
}

#home-content .home-new {
    padding: 50px 0;
    background-color: #f3f3f3;
}

#home-content .home-new div.row {
    margin-bottom: 2%;
}

#home-content .home-new div.row .new-double {
    position: relative;
    display: block;
}

#home-content .home-new div.row .new-double:hover .new-cover,
#home-content .home-new div.row .new-double:focus .new-cover {
    opacity: 1;
}

#home-content .home-new div.row .new-double a {
    display: block;
    height: 272px;
}

#home-content .home-new .new-detail-double {
    position: absolute;
    top: 0;
    left: 0;
    padding: 40px;
    z-index: 2;
    width: 100%;
    height: 100%;
}

#home-content .home-new .new-detail-double span {
    color: #007A40;
    font-style: italic;
    font-size: 12px;
}

#home-content .home-new .new-detail-double span.new-date {
    color: white;
    font-size: 14px;
    font-style: normal;
}

#home-content .home-new .new-detail-double p {
    color: white;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

#home-content .home-new .new-detail-single {
    padding: 25px;
    background-color: white;
    height: 300px;
    width: 100%;
}

#home-content .home-new .new-detail-single span {
    color: #007A40;
    font-style: italic;
    font-size: 12px;
}

#home-content .home-new .new-detail-single span.new-date {
    color: #333333;
    font-size: 14px;
    font-style: normal;
}

#home-content .home-new .new-detail-single p {
    color: #333333;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

#home-content .home-new .new-detail-single a:hover p,
#home-content .home-new .new-detail-single a:focus p {
    color: #007A40;
}

#home-content .home-new .new-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 0;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

#home-content .home-ir {
    background-color: white;
    padding: 45px 0;
    position: relative;
    min-height: 235px;
    text-align: center;
}

#home-content .home-ir .sec-heading {
    margin: -25px 0 60px 0;
    text-align: left;
}

#home-content .home-ir .sec-heading h2 {
    font-weight: bold;
}

#home-content .home-ir .ir-thumbnail {
    position: relative;
    display: block;
    z-index: 3;
}
#home-content .home-ir .ir-thumbnail span{
    font-weight: 600;
}
#home-content .home-ir .ir-thumbnail a:hover p,
#home-content .home-ir .ir-thumbnail a:focus p {
    color: #007A40;
}

#home-content .home-ir .ir-thumbnail-img {
    text-align: center;
    margin-bottom: 10px;
}

#home-content .home-ir .ir-thumbnail-img .ir-circle-bg {
    width: 100px;
    height: 100px;
    background-color: #D5AC00;
    border-radius: 50%;
    padding: 7px;
    margin: 0 auto;
}

#home-content .home-ir .ir-thumbnail-img .ir-circle-bg .ir-circle {
    width: 85px;
    height: 85px;
    background-color: white;
    border-radius: 50%;
    color: #007A40;
    line-height: 2.3;
    -webkit-box-shadow: 0px 3px 0px 0px #007A40;
    -moz-box-shadow: 0px 3px 0px 0px #007A40;
    box-shadow: 0px 3px 0px 0px #007A40;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-content .home-ir .ir-thumbnail-img .ir-circle-bg .ir-circle i {
    font-size: 46px;
}

/* #home-content .home-ir .ir-thumbnail-img .ir-circle-bg .ir-circle i.fa {
    padding-top: 18px;
} */

#home-content .home-ir p {
    text-align: center;
}

/* #home-content .home-ir .ir-thumbnail-img .ir-circle-bg .ir-circle i.icon-anti-corruption {
 background: url(../images/icon/icon-corruption.png) no-repeat center center; 
    width: 100%;
    height: 100%;
    display: block;
}*/

#home-content .home-ir::after {
    content: '';
    border-bottom: 2px solid #D2B12B;
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    z-index: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1899px) {
    html[lang="en"] #home-content .home-ir::after {
        top: 38%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1899px) {
    html[lang="th"] #home-content .home-ir::after {
        top: 38%;
    }
}

@media only screen and (min-width: 1900px) {
    html[lang="th"] #home-content .home-ir::after {
        top: 36%;
    }
}

/* @media only screen and (min-width: 992px) and (max-width: 1899px) {
    html[lang="th"] #home-content .home-ir::after {
        top: 50%;
    }
} */
@media only screen and (max-width: 1440px) {
    .block-card .block-action {
        text-align: left;
        position: absolute;
        top: 30%;
        width: 100%;
        padding-left: 2rem;
    }
}

.breadcrumb {
    padding: 5px 15px;
    margin-bottom: 0;
    background-color: transparent;
    line-height: 42px;
}

.breadcrumb>li+li:before {
    content: "\003e";
}

#banner-image {
    position: relative;
}

#banner-image .submenu-title {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
}
#banner-image .submenu-title .text-title h2{
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    height: 100%;
    align-items: center;
    margin-top: 0;
}

#banner-image .content-banner {
    min-height: 170px;
}

#content .content-all-product {
    margin: 0;
}

#content .content-all-product:before {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#content .content-all-product .product-wrapper {
    margin-bottom: 20%;
}

#content .content-all-product .product-wrapper:hover p,
#content .content-all-product .product-wrapper:focus p {
    color: #007A40;
}

#content .content-all-product .product-img-wrapper {
    background-color: #f4f4f4;
    padding: 35px;
    margin-bottom: 15px;
}

#content .content-all-product .product-img-wrapper .product-img {
    height: 213px;
    width: 181px;
    overflow: hidden;
    margin: 0 auto;
}

#content .content-all-product span.product-size {
    color: #555555;
}

#content .content-all-product p.product-name {
    font-weight: bold;
    color: #555555;
    line-height: 1;
    height: 30px;
}

#content .content-filter {
    margin-top: 20px;
}

#content .content-filter .form-group {
    margin-bottom: 25px;
}

#content .content-filter label {
    margin-bottom: 0;
}

#content .content-product-detail {
    padding: 0;
}

#content .content-product-detail:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#content .content-product-detail .product-full-detail {
    padding-left: 3%;
}

#content .content-product-detail .product-spec {
    border: 3px solid #eeeff1;
    text-align: center;
    padding: 10px;
    color: #007A40;
    margin-top: 10%;
    min-height: 200px;
}

#content .content-product-detail .product-spec p {
    margin-bottom: 0;
}

#content .content-product-detail [class^="icon-"]:before,
#content .content-product-detail [class*=" icon-"]:before {
    font-size: 60px;
}

#content .content-product-detail .icon-rice-water:before {
    font-size: 66px;
}

#content .content-product-detail h6 {
    font-size: 16px;
    color: #007A40;
}

#content .content-product-detail p {
    margin-bottom: 20px;
}

#content .content-product-detail .content-heading {
    margin: 0 0 35px 0 !important;
}

#content .content-product-detail .content-heading h2 {
    font-family: 'Thai Sans Neue' !important;
}


/* FOOD BUSINESS */

.biz-map-container {
    min-height: 320px;
}

#biz-map .google-map {
    width: 100%;
    height: 395px;
}

#biz-logo figure {
    position: relative;
    border: 1px solid #e8e8e8;
}

#biz-logo figure span {
    display: block;
    background-color: #ffffff;
    text-align: center;
}

#biz-logo figure span:first-child {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
}

#biz-logo figure figcaption {
    position: absolute;
    bottom: 140px;
    padding: 0 35px;
}

#biz-detail {
    padding: 25px 35px;
}


/* PROMOTION */

#news-read header .date {
    font-weight: bold;
}

#news-share .type {
    text-align: center;
    padding-bottom: 15px;
}

#news-share .share small {
    display: block;
    clear: both;
    text-align: center;
}

#news-share .share span {
    display: block;
    clear: both;
    text-align: center;
}

#news-share .share span:last-child a {
    border: 0;
    margin: 7px 0;
    display: block;
}

#news-share .share span a {
    color: #c5c5c5;
    border-bottom: 1px solid #c5c5c5;
}

#news-share .share span a:hover i.fa-facebook {
    color: #4862a3;
}

#news-share .share span a:hover i.fa-twitter {
    color: #41abe1;
}

#news-share .share span a i.fa-facebook:hover {
    color: #4862a3;
}

#news-share .share span a i.fa-twitter:hover {
    color: #41abe1;
}

#related-news {
    border-top: 1px solid #e8e8e8;
}


/* CAREERS */

#career-benefit {
    color: #ffffff;
    background: url(../images/bg/career-benefit.jpg) no-repeat bottom right #007A40;
}

#career-benefit:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#career-benefit .block-shadow {
    padding: 40px;
}

#career-benefit h4 {
    color: #ffffff;
}

#career-benefit ol {
    margin: 0px;
    padding: 0 0 0 15px;
}

.tag {
    width: 100%;
    background-color: #f3f3f3;
}

.tag span {
    display: block;
    width: 100%;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #dfdfdf;
    padding: 10px 15px;
}


/* CONTACT */

.google-map {
    width: 100%;
    height: 100%;
}

#headoffice-map {
    width: 100%;
    height: 370px;
}

.contact-address {
    border-bottom: 1px solid #bcbcbc;
}

.contact-address>div {
    padding-left: 0;
}

.contact-address:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#contact-form {
    padding-top: 15px;
}

#contact-form .form-group {
    padding-top: 7px;
}

#contact-form .form-group>div {
    display: none;
}

#contact-form .form-group input {
    background-color: #f4f4f4;
    border: 0;
    border-radius: 0;
    border-bottom: 4px solid #bcbcbc;
    color: #000;
    -webkit-box-shadow: 0 0 0;
    -moz-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

#contact-form .form-group input:focus {
    border: 0;
    border-bottom: 4px solid #83c440;
}

#contact-form .form-group textarea {
    background-color: #f4f4f4;
    border: 0;
    border-radius: 0;
    border-bottom: 4px solid #bcbcbc;
    resize: none;
    height: 150px;
    -webkit-box-shadow: 0 0 0;
    -moz-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

#contact-form .form-group textarea:focus {
    border-color: #bcbcbc;
    border-bottom: 4px solid #83c440;
}

#subsidiary-contact h4 {
    border-top: 1px solid #bcbcbc;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
    #header .header-contact .navbar-nav>li>a {
        padding: 8px 10px;
    }

    #footer .footer-wrapper .sub-menu {
        padding: 15px 0;
    }

    #footer .footer-wrapper .sub-contact {
        padding: 0 15px;
    }

    #footer .footer-wrapper .sub-contact .nav li {
        float: left;
    }

    #footer .list-table li {
        display: block;
        padding: 15px 0;
        float: left;
        width: 25%;
        min-height: 80px;
        text-align: center;
    }

    #footer .list-table li a div {
        margin: 0 auto;
    }

    /* CONTENT */
    .block-upper {
        position: relative;
        width: 100%;
        top: 0;
        padding: 40px 0;
    }
    #career-benefit .block-shadow {
        box-shadow:  none;
    }
    /* BUSINESS */
    .biz-map-container {
        margin-top: 0 !important;
    }
    
}

@media (max-width: 479px) {
    #footer .footer-wrapper ul.sub-menu {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        -o-column-count: 2;
        column-count: 2;
    }

    #footer .footer-wrapper .sub-contact ul>li a {
        padding: 10px;
    }

    #footer .list-table li {
        width: 33.3333333333333%;
    }
}

@media (max-width: 1199px) {
    #header .header-menu #main-nav .nav>li>a {
        font-size: 13px;
        font-size: 1.3rem;
        padding: 10px 7px;
    }

    #header .header-menu #main-nav .dropdown-menu li a {
        font-size: 13px;
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    #header .logo-wrapper {
        position: absolute;
        margin: 2px 0;
        z-index: 22;
    }

    #header .navbar-toggle {
        margin-top: 15px;
        right: 15px;
    }

    #header .header-menu #main-nav .navbar-default {
        margin: 0 -15px;
    }

    #header .header-menu #main-nav .navbar-nav {
        position: relative;
        width: 100%;
        margin: 0;
    }

    #header .header-menu #main-nav .navbar-nav li ul.mega-dropdown-ir {
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
    }

    #header .header-menu #main-nav .navbar-nav li ul {
        position: relative !important;
        width: 100%;
    }

    #header .header-menu #main-nav .navbar-nav li ul.mega-dropdown-products>li {
        min-height: 1px;
    }

    #header .header-menu #main-nav .nav>li>a {
        padding: 0 25px;
    }

    #header .header-menu #top-nav {
        position: absolute;
        width: 100%;
    		height: 100vh;
        z-index: 1000;
        top: 65px;
        background-color: #fff;
				overflow: auto;
    }

    #header .header-contact .language-bar {
        margin: 0;
    }

    #header .header-contact .language-bar li {
        float: left;
    }

    #footer .footer-wrapper .sub-menu {
        padding: 15px 0;
    }

    #footer .footer-wrapper .sub-contact {
        padding: 0 15px;
    }

    #footer .footer-wrapper .sub-contact .nav li {
        float: left;
    }

    /* CONTENT */
    #home-content .home-ir:after {
        border: 0;
    }

    #home-content .home-our-product .disable {
        padding: 0 15px;
        visibility: visible;
    }

    #home-content .home-our-product-business .sec-heading {
        height: auto;
    }

    #home-content .home-our-product-business .hop-items-detail {
        bottom: -50px !important;
    }
}

@media (min-width: 1900px) {

    /*html[lang*='th'] {
    h2{
      font-size: 2vw;
    }
    body{
      font-size: 0.8vw;
    }

    #main-nav{
      font-size: 0.8vw;
    }
  }*/
    .container {
        width: 1560px;
    }

    #home-content .home-our-product-business .home-our-product .hop-items {
        max-width: none;
    }
}

.billborad-pager {
    display: block;
    text-align: center;
    width: 100%;
    z-index: 500;
    overflow: hidden;
    position: absolute;
    bottom: 0px;
}

.billborad-pager span {
    font-size: 50px;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #bbb;
    margin: 0 5px;
}

html[lang="en"] .billborad-pager span {
    font-size: 35px;
}

.billborad-pager span.cycle-pager-active {
    color: #007A40;
}

.billborad-pager>* {
    cursor: pointer;
}

@media screen and (min-width: 1200px) and (max-width: 1340px) {
    [id^=overlay]>section small:before {
        top: 0 !important;
        right: 5% !important;
    }
}


@media screen and (min-width: 1920px) {
    [id^=overlay]>section small:before {
        top: 0 !important;
        right: 21% !important;
    }
}




.cookie-notice {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #54565b;
    z-index: 999;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    letter-spacing: .4px;
}

.cookie-notice--hidden {
    display: none;
}

.cookie-notice-container>span {
    display: inline-block;
    margin: 0 10px;
}

.cookie-notice-container>span a {
    color: #007A40;
}

.accordion-primary .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    overflow: hidden;
}

.accordion-primary .card-header {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 0;
    color: #000000;
    border-radius: 0;
    border-bottom: 1px solid #c1c1c1;
    transition: 0.25s all ease;
    background-color: transparent;
    z-index: 2;
}

.accordion-primary .card-header:after {
    font-family: "Glyphicons Halflings";
    content: "\e114";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s color ease;
    font-size: 15px;
    color: #000000;
    border-color: #c1c1c1;
}

.accordion-primary .card-header[aria-expanded="true"]:after {
    content: "\e113";
}

.accordion-primary .card-header:hover {
    color: #007A40;
    border-color: #007A40;
    text-decoration: none;
}

.accordion-primary .card-header[aria-expanded="true"] {
    color: #007A40;
    border-color: #007A40;
}

.accordion-primary .card-header[aria-expanded="true"]:after {
    color: #007A40;
}

.accordion-primary .card-body {
    padding: 2rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #c1c1c1;
}

.accordion-primary .card-title {
    font-weight: 700;
    line-height: 1.5;
    font-size: 21px;
    font-size: 2.1rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

html[lang*='en'] .accordion-primary .card-title {
    font-family: "Lato", Arial, sans-serif;
}

html[lang*='th'] .accordion-primary .card-title {
    font-family: 'Thai Sans Neue';
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.table-responsive .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.table .table--border-bottom--3 {
    border-bottom: 3px solid #e6e6e6;
}

.table-ir thead tr th {
    text-align: center;
    color: #fff;
    border-right: 1px solid #fff;
    background-color: #007A40;
}

.table-ir tbody tr td,
.table-ir thead tr th {
    padding: 15px;
    vertical-align: middle;
}

a.direction {
    position: relative;
    color: #007A40;
}

a.direction::before {
    font-family: "icomoon";
    content: "\e908";
    font-size: 15px;
    position: relative;
    margin-right: .5rem;
    top: 2px;
    color: #007A40;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
}

/* food land and horeca */
.sc-body img {
    border: 0;
    outline: 0;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
}

.sc-body ul,
.sc-body ol,
.sc-body li {
    margin: 0;
    padding: 0;
}

.sc-body .bg-gray {
    background-color: #f7f7f7;
}

.sc-body .sc-inner {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
.sc-body .sc-inner-footer {
    padding-top: 40px !important;
    padding-bottom: 70px !important;
}

.sc-body .sc-heading .heading.mb {
    margin-bottom: 25px;
}

.sc-body .sc-heading h5 {
    font-size: 18px !important;
    color: #333;
}

.sc-body .sc-heading.pb {
    padding-bottom: 15px;
}

.sc-body .desc {
    font-size: 14px;
}

.sc-body .desc.text-b {
    font-weight: bold;
}

.sc-body .text-g {
    color: #007A40;
}

.area-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    background-image: none;
}

.content-area.left {
    padding: 40px 50% 0 0;
    text-align: center;
}

.content-area .inline {
    display: inline-block;
}

.content-area .image-logo {
    padding-right: 20px;
}

.sc-body .sc-delivery {
    background-image: url(../img/food-legend/delivery-bg.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 776px;
}

.sc-body .sc-delivery .image {
    max-width: 380px;
    margin: 0 auto;
}

.sc-body .sc-delivery .delivery-detail .title-text {
    font-size: 28px;
    color: #007A40;
}

.sc-body .sc-delivery .delivery-detail ul {
    list-style: none;
    padding-left: 10px;
}

.sc-body .sc-delivery .delivery-detail ul li {
    margin-bottom: 12px;
}

.sc-body .sc-delivery .delivery-detail ul li:before {
    content: "•";
    font-size: 14px;
    padding-right: 10px;
    color: #007A40;
}

.sc-body .sc-delivery .delivery-detail ul li span {
    float: right;
}

.sc-body .sc-delivery .delivery-detail ul li span .ic {
    font-size: 20px;
}

.sc-body .sc-history .history-lists .history-list {
    margin-bottom: 25px;
    display: inline-block;
}

.sc-body .sc-history .history-lists .history-list p.mb {
    margin-bottom: 25px;
}

.sc-body .sc-history .history-lists .history-list .image-list {
    margin-top: 15px;
    margin-bottom: 25px;
}

.sc-body .sc-history .history-lists .history-list .year {
    font-family: "Noto Sans Thai", Arial, sans-serif !important;
    color: #007A40;
    font-size: 20px;
    font-weight: bold;
}

.sc-body .sc-history .history-lists .history-list img {
    width: 215;
    height: 143px;
    -o-object-fit: cover;
    object-fit: cover;
}

.sc-body .sc-restaurants ul {
    list-style: none;
}

.sc-body .sc-restaurants ul li {
    padding-top: 20px;
    padding-left: 20px;
}

.sc-body .sc-restaurants ul li::before {
    content: "•";
    font-size: 14px;
    padding-right: 10px;
    color: #007A40;
}

.sc-body .sc-restaurants table {
    table-layout: fixed;
    width: 100%;
}

.sc-body .sc-restaurants table tr:first-child>td {
    padding-top: 40px;
}

.sc-body .sc-restaurants table td {
    padding-left: 40px !important;
    padding-bottom: 20px !important;
    width: 25%;
    border-top: 0 !important;
}

.sc-body .sc-restaurants table td p::before {
    content: "•";
    font-size: 14px;
    padding-right: 10px;
    color: #007A40;
}

.sc-body .sc-restaurants .card {
    margin-top: 20px;
}

.sc-body .sc-restaurants .card .card-header {
    background-color: #d0d0d0;
    color: #464646;
}

.sc-body .sc-restaurants .card .card-header .heading {
    font-family: "Thai Sans Neue";
    font-size: 18px;
    padding: 10px 25px;
    font-weight: bold;
    display: block;
}

.sc-body .sc-restaurants .card .card-header .ic::before {
    font-family: "iconfont";
    content: "";
    position: relative;
    font-size: 26px;
    float: right;
    padding-top: 5px;
    color: #fff;
}

.sc-body .sc-restaurants .card .card-header.show {
    background-color: #007A40;
    color: #fff;
}

.sc-body .sc-restaurants .card .card-header.show .ic::before {
    content: "";
}

.sc-body .sc-restaurants .card-body {
    background-color: #f9f9f9;
    padding-bottom: 2rem;
}

.sc-body .sc-map {
    background-color: #f7f7f7;
    margin-top: 100px;
}

.sc-body .sc-map .icon-circle {
    font-family: "Noto Sans Thai", Arial, sans-serif !important;
    font-weight: bold;
}

.sc-body .sc-vdo {
    padding: 25px 0 0 0;
}

.sc-body .sc-vdo .desc {
    padding-bottom: 25px;
}

.sc-body .videoWrapperInner {
    display: block;
    width: 100%;
    min-height: 445px;
    max-height: 445px;
}

.sc-body .videoWrapperInner iframe {
    min-height: 445px;
    max-height: 445px;
    display: block;
}

.sc-body .gallery-slide {
    margin-bottom: 60px;
}

.sc-body .gallery-slide .slick-slide {
    padding-right: 20px;
    height: auto;
}

.sc-body .gallery-slide .slick-slide img {
    width: 100%;
    height: 210px;
    -o-object-fit: cover;
    object-fit: cover;
}

.sc-body .gallery-slide .slick-prev {
    position: absolute;
    right: calc(6% + 55px);
    left: initial;
    top: -15%;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
    padding: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: 0;
    font-size: 0;
    line-height: 0;

    margin: 0;
    transform: translate(0, -50%);
}

.sc-body .gallery-slide .slick-prev:before {
    content: "";
    font-family: "iconfont";
    opacity: 1;
    color: #007A40;
    font-size: 30px;
    display: flex;
    align-items: center;
}

.sc-body .gallery-slide .slick-next {
    position: absolute;
    top: -15%;
    right: 6%;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
    padding: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: 0;
    font-size: 0;
    line-height: 0;

    margin: 0;
    transform: translate(0, -50%);
}

.sc-body .gallery-slide .slick-next:before {
    font-family: "iconfont";
    content: "";
    opacity: 1;
    color: #007A40;
    font-size: 30px;
    display: flex;
    align-items: center;

}

.sc-body .list-branch {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
}

.sc-body .list-branch li:before {
    content: "•";
    font-size: 14px;
    padding-right: 10px;
    color: #007A40;
}

.sc-body .list-branch li {
    flex: 0 0 25%;
}

@media (min-width: 992px) {
    .sc-body .ct-br-desktop {
        display: block;
    }
}

@media (min-width: 1441px) {
    .sc-body .gallery-slide .slick-slide {
        padding-left: 20px;
        height: auto;
    }

    .sc-body .gallery-slide .slick-slide img {
        width: 100%;
        height: 270px;
        -o-object-fit: cover;
        object-fit: cover;
    }
   
}

@media (max-width: 991px) {
    .sc-body .history-list .image {
        margin-bottom: 30px;
    }
  
    .sc-body .list-branch li {
        flex: 0 0 50%;
    }

    /* .sc-body .history-list .image img {
        width: 100% !important;
        height: 230px !important;
   } */
 
}

@media (max-width: 767px) {

    .sc-body .breadcrumb {
        font-size: 12px;
    }

    .sc-body .sc-history .history-lists .history-list {
        margin: 10px 0;
    }

    .sc-body .sc-history .history-lists .history-list .image {
        margin-bottom: 30px;
    }

    .sc-body .sc-history .history-lists .history-list .image img {
        width: 100%;
        height: auto;
    }

    .area-inner .content-area.left {
        padding-top: 10px;
    }

    .area-inner .heading {
        font-size: 15px;
    }
    .sc-body .sc-map {
       
        margin-top: 0;
    }
   
}

@media (max-width: 480px) {

    .sc-body .list-branch li {
        flex: 0 0 100%;
    }
    .sc-body .videoWrapperInner{
        min-height: 300px;
        max-height: 300px;
        display: block;
    }
    .sc-body .videoWrapperInner iframe {
        min-height: 300px;
        max-height: 300px;
        display: block;
    }
}

.col-centered {
    float: none;
    margin: 0 auto;
}
.text-center { text-align: center;}

/* Home Rice Style */
.home-rice-style {
    position: relative;
    overflow: hidden; 
    max-height: 100%;
    display: flex;  
}
.home-rice-style .section-background{
    position: relative;
    display:flex;
    width: 100%;
    height: 780px;
    /* height: 100%; */
    background-repeat: no-repeat;
    background-size:cover;
    background-position: bottom center;
    padding: 5rem 0;
}
.home-rice-style .section-background::after{
    content:'';
    position: absolute;
    right: 0;
    bottom:0;
    display:flex;
    width: 658px;
    height: 180px;
    background-image: url('../images/content/home/rice-style/table.png');
    background-repeat: no-repeat;
    background-size:cover;
    z-index: 1;
}
.home-rice-style .sec-heading h2{
   font-weight: 700;
   font-size: 34px;
}
.home-rice-style .sec-heading:after {
    content: '';
    position: relative;
    display: block;
    margin: 2rem auto;
    background-color: rgb(210 177 43);
    height: 2px;
    width: 100px;
}


.home-rice-style .sec-wrapper {
       position: relative;
    display: block;
}
.home-rice-style .sec-wrapper .sec-select {
    position: absolute;
    display: block;
    z-index: 3;
    text-align: center;
        right: 18%;
    bottom: 20%;
}
.home-rice-style .sec-wrapper .sec-select .btn{
    background-color: #fff;
    border:solid 2px #D2B12B;
}
.home-rice-style .sec-wrapper .sec-select .btn:hover{
    color: #fff;
background-color: #D2B12B;
}
.home-rice-style .sec-wrapper .sec-wrapper .sec-content .panel{

}
.slick.slick--filter {
	 margin: 2rem 0;
	 position: relative;
}
 .slick.slick--filter .slick-active-bar {
	 position: absolute;
	 background-color: green;
	 height: 1px;
	 width: 155px;
	 bottom: 0;
	 left: 0;
	/*transition: all 0.3s ease-out;*/
}
 .slick.slick--filter .slick__item {
	 position: relative;
	 display: flex;
	 flex-direction: column;
	 text-align: center;
	 justify-content: center;
	 height: auto;
	 padding: 1rem 0.5rem;
	 margin-top: 1rem;
	 white-space: nowrap;
	 cursor: pointer;
     width: 30px !important;
}

 .slick.slick--filter .slick__item:first-child:before {
	 right: 0;
	 left: auto;
	 width: 50%;
}
 .slick.slick--filter .slick__item:last-child:before {
	 width: 50%;
}
 .slick.slick--filter .slick__item:before {
	 content: '';
	 position: absolute;
	 left: 0;
	 top: 0;
	 /* transition: all 0.4s ease-in-out; */
} 
.slick.slick--filter .slick__item:after {
	 content: '';
	 position: absolute;
	 margin: auto;
	 top: -0.5rem;
	 left: calc(50% - 10px);
	 width: 11px;
	 height: 11px;
	 border-radius: 50%;
	 /* transition: all 0.4s ease-in-out; */
	 background-color: white;
     opacity: 0.4;
}

.slick.slick--filter .slick__item.slick-current:after {
	 background-color: #007A40;
	 border: 1px solid #007A40;
     opacity: 1;
}
 .slick.slick--content .slick__item .slick__menu {
    position: relative;
    height: 420px;
    width: 100%;
}
 .slick.slick--content .slick__item .slick__menu img {
    display: none;
    position: absolute;
    bottom: 0;
    max-width: 100%;
    width: 100%;
}

.slick.slick--content .slick__item.slick-active .slick__menu img {
    display:block;
}
 .slick.slick--content .slick-list {
     overflow: visible;
     /* height: 500px !important; */
 }

.slick.slick--content .tabbable-panel {
  
}
.slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li:first-child {
    margin-left:0;
}
.slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li {
    border: solid 1px rgb(187 187 187 / 50%);
    padding: 1rem 5rem;
    margin-left: -25px;
    background: rgb(255 255 255);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 0;
}
.slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li.active {
    background-color: #007A40;
    border:solid 1px #D2B12B; 
}
.slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li.active > a{
    color: white;
    background-color: transparent;
}
.slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li > a{
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.slick.slick--content .tabbable-panel .tabbable-line > .tab-content {
    margin-top: 0;
}
.slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body {
    padding: 0 0 20px;
background: white;
height: 100%;
}
.slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body .content-menu-detail{
    padding: 1rem 5rem 5rem;
    width: 100%;
    height: 100%;
}
.slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body .content-menu-detail .sc-body{
    text-align: center;
    margin-bottom: 2rem;
}
/* Tabs*/
/* Tabs panel */
.tabbable-panel {
  
}

/* Default mode */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 2px;
  margin-bottom: 2rem;
  border-bottom: 3px solid #ffffff;
}
.tabbable-line > .nav-tabs > li > a {
    border: 0;
    margin-right: 0;
    padding: 5px 35px;
    color: #505050;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #505050;
  font-size: 3rem;
  padding-right: 1rem;
}
.tabbable-line > .nav-tabs > li > a > i::before {
  color: #505050;
}
.tabbable-line > .nav-tabs > li.active > a > i::before {
  color: #007A40;
}

.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
   border-bottom: 3px solid #D2B12B;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
  border-bottom: 3px solid #D2B12B;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #007A40;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}
.tabbable-line > .tab-content {
  margin-top: -2px;
  background-color: #fff;
  border: 0;
  border-top: 1px solid #DEDEDE;
  padding: 15px 0;
}
.tabbable-line > .tab-content .tab-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 0;
}
.tabbable-line > .tab-content .tab-body .row{
    width: 100%;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
}

/* Form */
.form .form-group{
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 18px;
}
.form .form-group .form-label {
    color: #777777;
    font-weight: normal;
    padding-right: 1rem;
}
.form .form-group .form-select {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 156px;
    height: 41px;
    border: 1px solid #D2B12B;
    padding: 0 1rem;
}
.form .form-group .form-select .form-select__group {
    width: 156px;
    height: 41px;
    border: none;
    background: transparent;
    color:#007A40;
}

/* pagination */
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination > a.previous, .pagination > a.next{
    padding: 0;
    background-color: transparent;
    font-size: 2.5rem;
}
.pagination > a.previous> i:before, .pagination > a.next> i:before{
    color: #777777;
}
.pagination > a{
    padding-top: 3px;
    margin: 0 0.25rem;
    width: 30px;
    height: 30px;
    background-color: rgb(0 122 64 / 10%);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.pagination > a > span{
    font-size: 16px; 
}
.pagination > a.active {
    background-color: #fff;
    border: solid 1px #D2B12B;
}
.pagination > a.active > span{
    color: #007A40;
    font-weight: bold;
    border:none;
    background-color: transparent;
}

.sc-body .sc-title {
    color: #007A40;
}
.sc-body .block-icon{
     display: inline-flex;
     font-size: 14px;
     color: #333333;
}
.sc-body .block-icon span{
    padding-right: 2rem;
    position: relative;
}
.sc-body .block-icon span:first-child::after{
    content:'';
    position: absolute;
    right: 10px;
    top: 5px;
    background-color: rgba(187, 187, 187, 0.45);
    width: 1px;
    height: 15px;
}
.sc-body .block-icon span i{
    padding-right: 1rem;
}

/* Slider Reset*/
/* .slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
} */

/* Slider */
.slick-vdo .row .col {
    float:none;
    margin: 3rem auto;
}
.slider--vdo .item__video {
  width: 100%;
  height: auto;
  padding-bottom: 56.25%;
  position: relative;
}
.slider--vdo .item__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 100%;
  height: 100%;
}
.slider--vdo .item__video:after {
  display: none;
}
@media screen and (min-width: 1200px) {
  .slider--vdo .item__video:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    cursor: move;
  }
}
.slider--vdo .item.slick-current .item-video__video:after {
  display: none;
}
.slider--vdo .slider-nav {
  padding-bottom: 20px;
}
.slider--vdo .slider-nav .item {
  padding: 20px 10px;
  width: 275px;
}
.slider-nav .item__thumb {
  cursor: pointer;
  padding-bottom: 56.25%;
  position: relative;
  border: 1px solid transparent;
  width: 250px;
height: 172px;
}
.slider-nav .item__thumb img {
  display: block;
  object-fit: cover;
  width: auto;
  height: auto;
  max-width: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
 /* transform: translate(-50%, -50%);*/
  background: #ffffff;
}

.slider-nav .item.active .item__thumb {
  border-color: #000000;
}
.slider .slick-dots li button {
  background: #ddddd8;
}

.slick-prev {
    position: absolute;
    right: 55px;
    left: initial;
    bottom: -35%;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
    padding: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: 0;
    font-size: 0;
    line-height: 0;

    margin: 0;
    transform: translate(0, -50%);
}

.slick-prev:before {
    content: "";
    font-family: "iconfont";
    opacity: 1;
    color: #007A40;
    font-size: 30px;
    display: flex;
    align-items: center;
}

.slick-next {
    position: absolute;
    bottom: -35%;
    right: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
    padding: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: 0;
    font-size: 0;
    line-height: 0;

    margin: 0;
    transform: translate(0, -50%);
}

.slick-next:before {
    font-family: "iconfont";
    content: "";
    opacity: 1;
    color: #007A40;
    font-size: 30px;
    display: flex;
    align-items: center;

} 

/* list */
.list.list--raw {
    list-style: none;
    padding-left: 2rem;
}
.list.list--raw li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #D2B12B; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.list.list--raw li {
    color: #333333;
    font-size: 14px;
}
.list.list--step {
    list-style: none;
    padding-left: 2rem;
}
.list.list--step li::before {
  content: "";  
  background-color: #FFFFFF; 
  border:solid 3px #007A40;
  list-style-position:inside;
  border-radius: 50%;
  font-weight: bold; 
  display: inline-block; 
  width: 1.5rem; 
  height: 1.5rem;
  margin-left: -1em; 
}
.list.list--step li span {
    color: #D2B12B;
    font-weight: bold;
    font-size: 16px;
    padding-left: 2rem;
}
.list.list--step li p {
   padding-left: 2rem;
}

.list.list--why {
    list-style: none;
    padding-left: 2rem;
}
.list.list--why li::before {
  content: "\2022";  
  color: #005684; 
  font-weight: bold; 
  display: inline-block; 
  width: 1em; 
  margin-left: -1em; 
}
.list.list--why li {
    color: #333333;
    font-size: 14px;
    line-height: 2.2;
    font-weight: 500;
}
/* detail */
.content-top {
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom;
}
.content-top .detail-share .share span {
    display: block;
    clear: both;
    text-align: center;
}

.content-top .detail-share .share span:last-child a {
    border: 0;
    padding-top: 2.5rem;
    display: block;
}

.content-top .detail-share .share span a {
    color: #007A40;
    border-bottom: 1px solid #D2B12B;
    font-size: 2rem;
    padding-bottom: 1.5rem;
}

.content-top .detail-share .share span a:hover i.fa-facebook {
    color: #007A40;;
}

.content-top .detail-share .share span a:hover i.fa-twitter {
    color: #007A40;;
}

.content-top .detail-share .share span a i.fa-facebook:hover {
    color: #007A40;
}

.content-top .detail-share .share span a i.fa-twitter:hover {
    color: #007A40;
}
.content-top .detail-share .share small {
    display: block;
    clear: both;
    text-align: center;
}
.sc-body-detail .content-menu-detail .content{
    height: 100%;
}

.content-menu-detail {
    padding: 5rem;
}
.content-menu-detail .title{
    position: relative;
    margin-bottom: 2rem;
    padding: 0 2rem;
    color: white;
    font-size: 26px;
    font-weight: 500;
    display: block;
    width: 145px;
    text-align: center;
    z-index: 2;

}
.content-menu-detail .title::before{
    content: '';
    position: absolute;
    background-image: url('../../images/content/rice_style/element.svg');
    background-repeat: no-repeat;
    width: 145px;
    height: 47px;
    z-index: -1;
    left: 0;
}
.content-menu-detail .content{
    height: 400px;
    overflow: auto;
}
.content-bottom {
    position: relative;
}
.content-bottom .btn-black {
    font-size: 14px;
    font-weight: 500;
    color: rgb(0 122 64);
    margin-top: 3rem;
    display: flex;
    align-items: center;
}
.content-bottom .btn-black >i{
    font-size: 2rem;
    padding-right: 1rem;
}
.content-footer {
    position: relative;
}
.content-footer .footer-img{
    position: absolute;
    width: 190px;
    height: 190px;
    display: flex;
    z-index: 9;
    top: 50%;
    margin-top: -50px;
}
.content-footer .footer-img img{
    width: 100%;
    max-width: 100%;
}
.content-footer::after {
    content: '';
    position: relative;
    display: flex;
    bottom: 0;
    background-image: url('../../images/content/rice_style/img-food.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    width: 100%;
    height: 400px;
}

/* Riverdale Marina */
.section {
    position: relative;
}
.section--title {
    padding: 5rem 0;
}
.section--title h2{
    font-size: 34px;
    color: #333333;
    margin-bottom: 3ren;
}
.section--title h3{
    font-size: 26px !important;
    color: #B98A01;
}
.section--title p{
    font-size: 16px;
    color: #333333;
}
.section--title img{
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin: 4rem 0;
}
.section--service {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}
.section--service .text-title {
    text-align: center;
}
.section--service .text-title::after{
    content: '';
    position: relative;
    display: block;
    margin: 2rem auto;
    background-color: rgb(210 177 43);
    height: 2px;
    width: 100px;
}
.section--service .section__group{
    margin-top: 4rem;
    position: relative;
}
.section--service .section__group .section__item{
    position: relative;
    display: inline-block;
    width: 13%;
    text-align: center;
    margin: 0 5px;
}
.section--service .section__group .section__item i {
    position: relative;
    display: flex;
    font-size: 6rem;
    min-height: 100px;
    justify-content: center;
    align-items: center;
}
.section--service .section__group .section__item p {
    position: relative;
    min-height: 100px;
    font-size: 16px;
    color: #505050;
    display: flex;
    text-align: center;
    justify-content: center;
}
.section--service .section__group .section__item img {
    max-height: 100px;
    height: auto;
    max-width: 100%;
}
.section--why {
    padding: 8rem 0 20rem 0;
    background-attachment: fixed;
    background-position: bottom;
    background-size:cover;
}

.section--why .section__background{ 
    position: relative;
    height: 450px;
    width: 100%;
    margin-top: 3rem;
    padding: 5rem 7rem;
    background-image:url(../../images/content/riverdale_marina/why.png);
    background-size: cover;
}
.section--why .section__background .section__title::after {
    content: '';
    position: relative;
    display: block;
    margin: 2rem 0;
    background-color: #D2B12B;
    height: 2px;
    width: 100px;
}
.section--download {
    position: relative;
    display:block;
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
}
.section--download .section__img {
    position: absolute;
    top: -25vh;
    transition: transform 750ms;
}
.section--download:hover .section__img{
    /* top: -30vh; */
    transform: translateY(-30px);
}
.section--download .section__download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 300px;
    position: relative;
}
.section--download .section__download .btn-common.text-blue{
    border: 2px solid #005684;
    padding: 10px 35px;
    color: #005684;
}
.section--download .section__download .btn-common:hover.text-blue{
    background-color: #005684;
    color: #ffffff;
}
.section--gallery {
    padding: 7rem 0 2rem;
    background-color: #F6F6F6;
    overflow: hidden;
}
.section--gallery .sc-body .gallery-slide .slick-prev::before {
    color: #B98A01;
}
.section--gallery .sc-body .gallery-slide .slick-next::before {
    color: #B98A01;
}
.section--contact {
    position: relative;
    display:block;
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    min-height: 400px;
}
.section--contact .section__contact {   
    margin-top: 3rem;
    text-align: center;
}
.section--contact .section__contact .text-blue{   
    color: #005684;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.section--contact .section__contact .text-yellow{  
    color: #B98A01;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
} 
.section--contact .section__contact.border-left {
    position: relative;
}
.section--contact .section__contact.border-left::before {
    content: '';
    position: absolute;
    top: 3vh;
    display: block;
    background-color: #c1c1c1;
    height: 50px;
    width: 1px;
}
/* fotorama */
.vdo-content .fotorama .fotorama__wrap {margin: 0 auto;}
.vdo-content .fotorama .fotorama__stage {margin: 3rem auto;}
/* .vdo-content .fotorama .fotorama__thumb-border {
    width: 220px !important;
    height: 160px;
}*/
.vdo-content .fotorama .fotorama__nav--thumbs .fotorama__nav__frame {
    /* width: 220px !important;
    height: 160px; */
    margin-right: 2rem;
} 
.vdo-content .fotorama .fotorama__thumb {
  background-color: #fff;
}
.vdo-content .fotorama .fotorama__loaded .fotorama__img { left: 0 !important; }
.vdo-content .fotorama .fotorama__video-close { display:none;}

.row.row--ir > [class*="col-"] { width: 20%;}


 /* ==================================== 20220505 =======================*/
@media (max-width:768px) { 
    #footer .footer-wrapper .sub-contact {
        padding: 0 0 0 65px;
    }
    .row.row--ir {
        margin: 4rem 1rem 0;
    }
    /* #home-content .home-ir::after {
        border-bottom: solid 2px #d2b12b;
        top: 0;
        bottom: 40%;
    } */
    .home-rice-style .section-background {
        height: 100%;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body {
        height: 500px;
    }
    .slick.slick--content .slick__item .slick__menu {
        display:none;
    }
    .home-rice-style .sec-wrapper .sec-select {
        right: 50%;
        bottom: 0;
    }
    .content-menu-detail .content {
        height: 350px;
    }
    .section--download {
        background-size: contain;
        padding: 8rem 0 0;
        background-position: 70% 0;
        background-repeat: no-repeat;
    }
    .section--service .section__group .section__item {
        width: 23%;
    }
    .section--why .section__background {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 80% 0;
    }
    .list.list--why {
       width: 70%; 
    }
    .section--download .section__img {
        position: relative;
        margin-top: -20vh;
        transition: transform 750ms;
        height: 100%;
        width: 100%;
        top: 0;
    }
    .section--download .section__download {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        top: 0;
        height: 100%;
        position: relative;
        padding-bottom: 8rem;
    }
    #home-content .home-landing .billborad-wrapper .billboard {
        height: calc(75vh - 105px);
    }
    #home-content .home-landing .billborad-wrapper .billboard>div>.img-bg {
        height: calc(75vh - 105px);
    }
    .form .form-group {
        justify-content: flex-end;
        position: relative;
        right: 0;
        top: -5vh;
    }
     .slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li {
        padding: 1rem 2rem;
        margin-bottom: 0;
    }
    .home-rice-style .section-background .container{
        width: 100%;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body {
        background: transparent;
    }
    .tabbable-line > .tab-content .tab-body .row {
        width: 100%;
        margin: 0;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body .content-menu-detail {
        padding: 1rem 1rem 5rem;
    }
    .tabbable-line > .nav-tabs > li {
        width: 25%;
    }
    .tabbable-line > .nav-tabs > li > a {
            padding: 5px 0;
    }
}
@media (min-width: 769px) and (max-width: 1024px) { 
    #footer .footer-wrapper .sub-contact {
        padding: 0 0 0 15px;
    }
    .section--service .section__group .section__item {
        width: 23%;
    }
    .section--download {
        background-size: contain;
        padding: 8rem 0 0;
        background-position: 70% 0;
        background-repeat: no-repeat;
    }
    .section--download .section__img {
        position: relative;
        top: -25vh;
        transition: transform 750ms;
        width: 100%;
        height: 300px;
    }
    .home-rice-style .section-background::after {
        width: 510px;
    }
    .form .form-group {
        right: 0;
        top: 0;
    }
} 

@media (min-width: 768px) and (max-width: 992px) { 
    .block-upper {
        position: relative;
        width: 100%;
        top: 0;
        padding: 40px 0;
    }
    .block-upper .block-shadow {
        box-shadow: none;
    }
    .block-tab-content {
        display: none;
    } 
    .row.row--ir {
        margin: 4rem 1rem 0;
    }
    #home-content .home-ir::after {
        border-bottom: solid 2px #d2b12b;
        top: 0;
        bottom: 40%;
    }
    .home-rice-style .section-background {
        height: 100%;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body {
        height: 500px;
    }
    .slick.slick--content .slick__item .slick__menu {
        display:none;
    }
    .home-rice-style .sec-wrapper .sec-select {
        right: 50%;
        bottom: 0;
    }
    .content-menu-detail .content {
        height: 350px;
    }
 }

@media (min-width: 576px) and (max-width: 768px) { 
    .block-upper {
        position: relative;
        width: 100%;
        top: 0;
        padding: 40px 0;
    }
    .block-upper .block-shadow {
        box-shadow: none;
    }
    .block-tab-content {
        display: none;
    } 
    .home-rice-style .sec-wrapper .sec-select {
        right: 0;
        bottom: -20%;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    .home-rice-style .section-background {
        padding-bottom: 15rem;
    }
    .home-rice-style .sec-wrapper .sec-select .slick-track {
        margin: 0 auto;
    }
    .home-rice-style .section-background::after {
        display:none;
    }
    .slick.slick--filter .slick__item {
        float: none;
        display: inline-flex;
    }
}
@media (max-width: 576px) { 
    .block-upper {
        padding-top: 0;
    }
    .block-upper .block-shadow {
        min-height: 560px; 
    }
    .block-tab-content {
        display: none;
    }
    #banner-image .submenu-title .text-title h2 {
        font-size: 24px;
    }
    #banner-image .content-banner {
        min-height: 120px;
    }
    .section--service .section__group .section__item {
        width: 45%;
    }
    .home-rice-style .sec-wrapper .sec-select {
        left: 0;
        bottom: 0;
        right: 0;
        position: relative;
    }
    .slick.slick--filter .slick__item {
        float: none;
        display: inline-flex;
    }
}

 @media (max-width:425px) { 

    #home-content .home-ir::after {
        border-bottom: none;
    }
    .home-rice-style .section-background::after {
        display:none;
    }
    .section--why .section__background {
        background-position: center;
        background-size: cover;
        height: 100%;
        padding: 5rem;
    }
    .list.list--why {
       width: 100%; 
    }

    .slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li {
        padding: 1rem 2rem;
    }
    .home-rice-style .section-background .container{
        width: 100%;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body {
        background: transparent;
    }
    .tabbable-line > .tab-content .tab-body .row {
        width: 100%;
        margin: 0;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .tab-content .tab-body .content-menu-detail {
        padding: 1rem 1rem 5rem;
    }
    .tabbable-line > .nav-tabs > li {
        width: 37%;
    }
    .tabbable-line > .nav-tabs > li > a {
            padding: 5px 0;
    }
}

 @media (max-width:320px) { 
    #banner-image .content-banner {
        min-height: 100px;
    }
}

/* =======================  20220509 =======================================*/
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .section--why .section__background {
        height: 550px;
    }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .home-rice-style .sec-wrapper .sec-select {
        position: relative;
        right: 0;
        bottom: 0;
    }

    .home-rice-style .sec-wrapper .sec-select {
        right: 0;
        bottom: -20%;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    .home-rice-style .section-background {
        padding-bottom: 15rem;
    }
    .home-rice-style .sec-wrapper .sec-select .slick-track {
        margin: 0 auto;
    }
    .slick.slick--filter .slick__item {
        float: none;
        display: inline-flex;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
     /* banner */
    #home-content .home-landing .billborad-wrapper .billboard {
        height: calc(50vh - 105px);
    }
    #home-content .home-landing .billborad-wrapper .billboard>div>.img-bg {
        height: calc(50vh - 105px);
    }
    /* rice style */
    .slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li {
        margin-bottom: 0;
    }
    .home-rice-style .sec-wrapper .sec-select {
        position: relative;
        right: 0;
        bottom: 0;
    }

    .home-rice-style .sec-wrapper .sec-select {
        right: 0;
        bottom: -20%;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    .home-rice-style .section-background {
        padding-bottom: 5rem;
    }
    .home-rice-style .sec-wrapper .sec-select .slick-track {
        margin: 0 auto;
    }
    .home-rice-style .section-background::after {
        display:none;
    }
    .slick.slick--filter .slick__item {
        float: none;
        display: inline-flex;
    }

    /* Marina */
    .section--why .section__background {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 80% 0;
    }
    .list.list--why {
       width: 70%; 
    }
    .section--download .section__img {
        position: relative;
        margin-top: -20vh;
        transition: transform 750ms;
        height: 100%;
        width: 100%;
        top: 0;
    }
    .section--download .section__download {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        top: 0;
        height: 100%;
        position: relative;
        padding-bottom: 8rem;
    }

    /* footer */
    #footer .footer-wrapper .sub-contact {
        padding: 0 0 0 25px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    #home-content .home-landing .billborad-wrapper .billboard {
        height: calc(50vh - 105px);
    }
    #home-content .home-landing .billborad-wrapper .billboard>div>.img-bg {
        height: calc(50vh - 105px);
    }
    .tabbable-line > .nav-tabs > li {
        width: 30%;
        min-width: 160px;
    }
    .home-rice-style .section-background::after {
        display:none;
    }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    .row.row--ir > [class*="col-"] { 
        width: 50%;
    }
    #home-content .home-ir .ir-thumbnail {
        height: 180px;
    }
    .tabbable-line > .nav-tabs > li {
        width: 35%;
    }
    .slick.slick--content .tabbable-panel .tabbable-line > .nav-tabs > li {
        text-align: center;
        width: 100%;
        margin-left: 0;
        padding: 1rem 1.5rem;
    }
}