/* BOF - Overwrite general seciton CSS */
body#insidepage > #morph-main {
    height: calc(100vh - 112px);
    position: relative;
}

body#insidepage #wrap {
    margin: 0;
}

body#insidepage .wrapper_banner,
body#insidepage #push,
body#insidepage #wrapper_header_bottom-sticky-wrapper,
body#insidepage div.wrapper_header.bottom,
body#insidepage div.wrapper_header.top {
    display: none;
}

#toTop.active{
    display: none;
}

.wrapper_footer {
    background: transparent;
    color: #363636;
}
.wrapper_footer .textBestView {
    color: #363636;
}
.wrapper_footer .container a {
    color: #363636;
}
.wrapper_footer .container a:hover {
    color: #9F7948;
}
.fa-inverse {
    color: #252525;
}
.stack:hover .fa-inverse {
    color: #9F7948 !important;
}
.wrapper_footer .container a.stack {
    color: #fff;
}
.fa-stack:hover .fa {
    color: #fff;
}
.wrapper_footer .container .social-media-link {
    background: transparent;
}


#wrap {
    min-height: unset;
}
/* EOF - Overwrite general seciton CSS */




section[data-cattype="240"] {
    padding: 0;
    /*    height: calc(100vh - 210px);*/
   
    position: relative;
}




[data-cattype="240"] .list-main{
    height: 100%;
    display: flex;
}
[data-cattype="240"] .list-main > li{
    height: 100%;
    width: 15%;
    min-width: 220px;
    background: rgb(234,236,235);
    text-align: left;
    overflow-y: hidden;
/*    overflow-y: auto;*/
}

[data-cattype="240"] .list-main > li.grow{
    flex-grow: 1;
}

[data-cattype="240"] .list-main > li:nth-child(odd){
    background: rgb(224,212,190);
    height: 100%;
}

[data-cattype="240"] .list-main > li .content{
    padding: 15px;
}
[data-cattype="240"] .list-main > li .content h3{
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}










[data-cattype="240"] .list-service {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
[data-cattype="240"] .list-service > li{
    width: 50%;
    height: calc(100% / 3);
    padding: 15px;
    
    background-color: #ccc;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all ease 1s;
    z-index: 1;
}

[data-cattype="240"] .list-service > li > a{
    display: table;
    width: 100%;
    height: 100%;
    
}



[data-cattype="240"] .list-service .ttl {
    color: #fff;
    display: table-cell;
    vertical-align: bottom;
    text-align: left;
    text-shadow: -2px 2px 3px rgba(0, 0, 0, .5);
    line-height: 1.1;
    height: 100%;
	font-size: 21px;
}


[data-cattype="240"] .list-service .ttl::after {
    content: "•••";
    background-image: url(../../../data/ckfinder/images/points.png);
    display: table;
    width: 50px;
    height: 15px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: -5px 0 -15px -1px;
    font-size: 30px;
}


[data-cattype="240"] #btnViewMore{
    position: absolute;
    bottom: 10px;
    z-index: 100;
}

[data-cattype="240"] .list-main > li:after{
    content: '';
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(234,236,235,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(234,236,235,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(234,236,235,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#eaeceb',GradientType=0 ); /* IE6-9 */
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
}

[data-cattype="240"] .list-main > li:nth-child(odd):after{
    content: '';
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(224,212,190,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(224,212,190,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(224,212,190,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#e0d4be',GradientType=0 );
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
}



/* BOL List PR */
[data-cattype="240"]  .list-content li{ 
    width: 100%;
    margin-bottom: 13px;
}
[data-cattype="240"]  .list-content li a{
    color: #000;
    line-height: 1.4;
}
[data-cattype="240"]  .list-content li a .date{
    color: rgb(137,11,12);
    font-size: 12px;
}

[data-cattype="240"]  .list-content li a:hover .date,
[data-cattype="240"]  .list-content li a:hover{
    color: rgb(147,111,35);
}
/* EOL List PR */





@media screen and (min-width: 1400px) {
    
    [data-cattype="240"]  .list-content li a{
        color: #000;
        line-height: 1.5;
    }
    
    
    
}



@media screen and (max-width: 1300px) {
    
    [data-cattype="240"] .list-service .ttl {
        font-size: 150%;
    }
    
}

@media screen and (max-width: 1200px) {
    
    [data-cattype="240"] .list-main{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    [data-cattype="240"] .list-main > li{
        min-height: 600px;
        height: auto;
        display: inline-block;
        width: auto;
    }
    [data-cattype="240"] .list-main > li:first-child {
        width: 100%;
        min-height: 0;
        height: auto;
    }
    
    [data-cattype="240"] .list-main > li:not(:first-child) {
        flex: 1;
    }
    [data-cattype="240"] .list-main > li:last-child {
        max-width: 30%;
    }
    
    
    
    [data-cattype="240"] .list-service{
        
    }
    [data-cattype="240"] .list-service > li{
        width: 16.6%;
        height: 120px;
    }
    [data-cattype="240"] .list-service > li:last-child{
        flex-grow: 1;
    }
    
    
}

@media (min-width: 768px) and (max-width: 980px) {
   [data-cattype="240"] .list-main > li{
        min-height: auto;
    }
    
    [data-cattype="240"] .list-service > li{
        width: 33%;
    }
    
    [data-cattype="240"] .list-main > li:not(:first-child){
        flex: auto;
    }
    
    [data-cattype="240"] .list-main > li:last-child{
        max-width: 100%;
    }
    
    [data-cattype="240"] #btnViewMore{
        position:relative;
        z-index: 0;
        bottom: 0;
    }
    
    [data-cattype="240"] .list-main > li:after{
        display: none;
    }

    [data-cattype="240"] .list-main > li:nth-child(odd):after{
         display: none;
    }
    
    
}

@media screen and (max-width: 767px) {
    [data-cattype="240"] .list-main > li{
        min-height: auto;
    }
    
    [data-cattype="240"] .list-service > li{
        width: 33%;
    }
    
    [data-cattype="240"] .list-main > li:not(:first-child){
        flex: auto;
    }
    
    [data-cattype="240"] .list-main > li:last-child{
        max-width: 100%;
    }
    
    [data-cattype="240"] #btnViewMore{
        position:relative;
        z-index: 0;
        bottom: 0;
    }
    
    [data-cattype="240"] .list-main > li:after{
        display: none;
    }

    [data-cattype="240"] .list-main > li:nth-child(odd):after{
         display: none;
    }
   
}


@media screen and (max-width: 480px) {
    [data-cattype="240"] .list-service > li{
        width: 50%;
    }
    
    [data-cattype="240"] #btnViewMore{
        position:relative;
        z-index: 0;
        bottom: 0;
    }
    
    [data-cattype="240"] .list-main > li:after{
        display: none;
    }

    [data-cattype="240"] .list-main > li:nth-child(odd):after{
         display: none;
    }
   
}


