﻿body {
    background-color:#F6F1E7;
}
.col-blog-right{
    float:right;
    width:45%;
    padding:0 15px 0 12px;
}
.ti-nd-news{
    font-size:16px;
    line-height:100%;
    direction:rtl;
    text-align:justify;
    padding:24px 0 8px 0;
    font-weight:bold;
    color:#000;
    line-height:25px;
}
.panel-blog{
    padding:24px 0;
}
.col-blog-left{
     float:right;
    width:55%;
}
.p-dx-nd{
    font-size:14px;
    color:#000;
    text-align:right;
    line-height:28px;
    direction:rtl;
}
.col-nw{
    position:relative;
    margin-bottom:24px;
    display:block;
}
.col-nw:hover:before{
       background: linear-gradient(180deg, rgba(0, 0, 0, 0) 49.76%, rgba(0, 0, 0, 0.2) 100%);
}
.col-nw:before{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 49.76%, rgba(0, 0, 0, 0.8) 100%);
    position:absolute;
    width:100%;
    height:100%;
    content:"";
    top:0;
    left:0;
    z-index:2;
}
.tx-nw{
    position:absolute;
    bottom:16px;
    left:0;
    z-index:99;
    color:#fff;
    padding:0 16px;
    width:100%;

}
.ti-blg{
    color:#fff;
    font-size:14px;
    text-align:justify;
    direction:rtl;
    display:block;
            display: -webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom:8px;
}
.sp-dt{
    font-size:12px;
    direction:rtl;
    display:block;
    text-align:left;
    opacity:0.9;
}
.col-blog-left .col-md-6{
    padding:0 12px;
}
.pagination {
 display: table;
    border-radius: 3px;
    margin:32px auto;

}

.pagination a {
  display: block;
  float: left;
  outline: none;
  color: #000;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  padding:0 8px;

}
  .pagination a:hover, .pagination a:focus, .pagination a:active {
      font-weight:bold;
     }
  .pagination a.disabled, .pagination a.disabled:hover, .pagination a.disabled:focus, .pagination a.disabled:active {

    color: #000;
    cursor: default; }

.pagination a:first-child {
border: none;
    border-radius: 0 2px 2px 0;
    font-family: Arial;
    font-size: 20px;
    line-height: 16px;}

.pagination a:last-child {
border: none;
    border-radius: 0 2px 2px 0;
    font-family: Arial;
    font-size: 20px;
    line-height: 16px;
}

.pagination input {
    float: left;
    margin: 0 5px;
    padding: 0;
    background: none;
    border: 1px solid #000;
    width: 58px;
    height: 32px;
    outline: none;
    direction: rtl;

    position: relative;
    top: -7px;
    text-align: center;
    padding: 7px 0 0 0;
     }

/* gigantic class for demo purposes */
.gigantic.pagination {
  margin: 30px 0; }

.gigantic.pagination a {
  height: 60px;
  width: 60px;
  font-size: 50px;
  line-height: 50px; }

.gigantic.pagination input {
  width: 300px;
  height: 60px;
  font-size: 30px; }

/* log element for demo purposes */
.log {
  display: none;
  background-color: #EDEDED;
  border: 1px solid #B4B4B4;
  height: 300px;
  width: 524px;
  overflow: auto;
  margin-left: 0;
  list-style: none;
  padding: 10px; }
  .log li {
    margin-top: 0;
    margin-bottom: 5px; }

  @media only screen and (max-width:960px){
       .col-blog-right, .col-blog-left {
        width: 100%;
        padding: 0 5px;
    }
      .panel-blog {
    padding:0px 0;
}
      .p-dx-nd{
          padding-bottom:24px;
          text-align:justify;
          direction:rtl;
          font-size:13px;
      }
      .ti-nd-news {
    font-size: 14px;
    padding: 12px 0 0px 0;
    line-height: 22px;
}
       .col-blog-left{
           padding:0 0;
       }
       .col-blog-left .col-md-6 {
    padding: 0 4px;
}
       .col-nw {
    margin-bottom: 8px;
}
       .ti-blg {
    font-size: 12px;
}
       .tx-nw {
    bottom:8px;
    padding: 0 8px;
}
  }


a.pagination-link {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    border: solid 1px !important;
    color: #000 !important;
    border-radius: 0 !important;
    font-weight: normal !important;
    font-size: 14px !important;
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    z-index: 2;
    color: #020202 !important;
    background-color: #eee;
    border-color: #ddd;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #ffffff !important;
    cursor: default;
    background-color: #000000 !important;
    border-color: #000000 !important;
    border: solid 1px #000;
    border-radius: 0 !important;
}
    .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
        background-color: #000000;
        border-color: #000000;
        color: #fff !important;
    }
