/* PD Postt By Category */

.list_item_wrap {
    width: 100%;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.thumbnail-left {
    float: left;
    margin-right: 10px;
}

.list_item_wrap .thumbnail-left {
    width: 38%;
}
.content-area .list_item--title {
    text-align: center;
}
.list_item--title a {
    color: #30308a;
    font-size: 14px;
    font-weight: bold;
}

.widget-area .list_item--title a {
    font-size: 12px;
    color: #4d4d4d;
    font-weight: normal;
}
.link-more {
    display: none;
}
a.readmore {
    float: right;
    background: #30308a;
    color: #fff;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: 0px 2px 5px 0px rgba(145, 145, 145, 0.75);
}
a.readmore:hover {
    background: #fff;
    color: #2ba0ef;
    border: 1px solid #2ba0ef
}
.content-area .pd__grid_posts {

    margin-top: 1em;
}
.pd_post_by_category_widget.col-md-6 {
    padding: 0;
}

.content-area .pd__grid_posts .list_item {
    margin-bottom: 1.5em;
}
@media (min-width: 992px) {
    .pd_post_by_category_widget.col-md-6:nth-child(2n) {
        padding-left: 20px;
    }
    .content-area .pd__grid_posts {
        display: flex;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
    }
    .content-area .pd__grid_posts .list_item {
        padding: 0 10px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .content-area .pd__grid_posts {
        margin: 0;
    }
    .content-area .pd__grid_posts .list_item {
        padding: 0;
        margin-right: 10px;
        text-align: center;
        width: calc((100% - 10px) / 2);
    }
    .content-area .pd__grid_posts .list_item:nth-child(2n) {
        margin-right: 0;
    }
}
@media (max-width: 767px) {
    .content-area .pd__grid_posts {
        margin: 0;
    }
    .content-area .pd__grid_posts .list_item {
        padding: 0;
        text-align: center;
    }
}
.content-area .pd__grid_posts .list_item_wrap {
    border: 1px solid #eaeaea;
    height: 100%;
    padding: 0;
}

.content-area .pd__grid_posts .list_item-details {
    padding: 0 10px;
}
@media (min-width: 992px) {
    .content-area .pd__grid_posts .list_item:nth-child(4n) {
        clear: both;
    }
}
.pd_post_by_category_widget.col-md-6 .list_item {
    margin-bottom: 0;
}

.pd_post_by_category_widget.col-md-6 .list_item_wrap {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    width: 100%;
}
.pd_post_by_category_widget.col-md-6 .list_item--title {
    text-align: left;
}
.pd_post_by_category_widget.col-md-6 .list_item--title a {
    font-weight: normal;
}
.pd_post_by_category_widget.col-md-6 .list_item--title a:before {
    content: '\f0c8';
    float: left;
    margin-right: 5px;
    font: normal normal normal 5px/1 FontAwesome;
    line-height: 20px;
}

.pd_post_by_category_widget.col-md-6 .list_item-details {
    padding: 0;
}
.pd_post_by_category_widget.col-md-6 .list_item--excerpt p {
    max-height: 40px;
    overflow: hidden;
}
@media (max-width: 767px) {
    .list_item--title a {
        font-size: 14px!important;
    }
}
/* PD Recent Products Widget. */
.pd-recent-products-widget .list_item:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
}

.pd-recent-products-widget .pd__list_products {
    padding: 10px;
    border: 1px solid #d4d4d4;
}

.pd-recent-products-widget .list_item .list_item-thumbnail {
    padding: 3px;
    border: 1px solid #d4d4d4;
}

.pd-recent-products-widget .list_item .list_item-details {
    overflow: hidden;
}

.pd-recent-products-widget .list_item .list_item-details .list_item--title {
    color: #333;
    font-weight: bold;
}

.pd-recent-products-widget .list_item .list_item-details .list_item--price {
    color: #d20909;
    font-weight: bold;
}

/* PD Recent Posts Widget. */
.pd-recent-posts-widget .pd__list_posts {
    background: #f9f9f9;
    border: 1px solid #ececec;
    border-radius: 5px;
}

.pd-recent-posts-widget .list_item-details {
    overflow: hidden;
}

.pd-recent-posts-widget .list_item-thumbnail a {
    display: block;
    border: 1px solid #ececec;
    border-radius: 5px;
    overflow: hidden;
}

.pd-recent-posts-widget .list_item {
    padding: 10px;
}

.pd-recent-posts-widget .list_item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e1e1e1;
}

/* PD Products by Category Widget. */
.product_item {
    position: relative;
}

.pd__grid_products {
    display: flex;
    flex-wrap: wrap;
}
ul.pd_cats_list_tab li.active {
    background: #2ba0f;
}

ul.pd_cats_list_tab li a {
    color: #2ba0ef;
    border-color: #2ba0ef;
    text-transform:uppercase;
}

ul.pd_cats_list_tab li a:hover {
    color: #fff;
    background: #2ba0ef;
}

ul.pd_cats_list_tab li.active a{
    color: #fff;
    background: #2ba0ef;
}
@media (max-width: 991px) {
    ul.pd_cats_list_tab li {
        width: 100%;
    }
}
@media (min-width: 991px) {
    .pd__grid_products .product {
      margin-bottom: 20px;
      width: calc((100% - 45px ) /4 );
    }
}
@media (max-width: 991px) {
    .pd__grid_products .product {
      margin-bottom: 20px;
      width: calc((100% - 15px ) / 2 );
    }
    .pd__grid_products .product:not(:nth-child(2n)) {

      margin-right: 15px;
    }
}
.pd__grid_products .product .product_item {
  padding: 10px;
  border: 1px solid #e9e9e9;
}
/* PD Video */
.pd__video {
    position: relative;
}

.pd__video--overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
}

.pd__video--overlay .fa {
    font-size: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
/* Support */

.pd__support {
    padding: 10px;
    border: 1px solid #eaeaea;
}

.pd__support_top {
    float: left;
}
.line1, .line2 {
    padding-left: 40px;
    background: url('../images/zalo.png') left center no-repeat;
}
.line1, .line2, .line4 a {
    font-size: 30px;
    color: red;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}
.line3 {
    color: red;
    font-size: 18px;
}

.line4 {
    text-align: center;
    padding: 5px 0 5px 40px;
    background: url(../images/phone.png) left center no-repeat;
}

/* Dots */
.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    bottom: 0;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
    margin-top: -23px;
}
.slick-dots li
{
    position: relative;
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 5px;
    height: 5px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #fff;
    border-radius: 50%;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-size: 6px;
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    content: '  ';
    text-align: center;
    opacity: 0;
    background: #000;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: 1;
}

.slider_item-details {
    width: 100%;
    position: relative;
}

h4.slider_item--title {
    position: absolute;
    bottom: 15px;
    margin: 0;
    background: rgba(0,0,0,0.37);
    width: 100%;
    left: 0;
    padding: 5px;
}

h4.slider_item--title a {
    color: #fff;
    font-size: 12px;
}

.slider_item  {
   position: relative;
   padding-right: 5px;
}


ul.cpd {
    margin: 0;
}

li.cpd-l {
    padding: 6px 10px;
    border-bottom: 1px solid #e9e9e9;
}

li.cpd-l:first-child {
    padding-top: 0;
}
ul.pd_cats_list_tab {
    margin-bottom: 10px;
    border-bottom-color: #2ba0ef;
}

