.item-last {
  clear: both;
}

.pagination {
  width: 100%;
  display: inline-block;
  text-align: center;
}

.pagination span.current, .pagination a {
  padding: 8px 15px;
  display: inline-block;
  transition: 300ms;
}

.pagination a {
  color: #000;
}

.rit-custom-heading {
  text-align: center;
}

.rit-custom-heading span {
  display: inline-block;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
}

.rit-counterup .wrap-counterup > * {
  display: inline-block;
  line-height: 100%;
}

.rit-counterup.vertical .desc_counter {
  display: block;
  line-height: 100%;
}

.rit-counterup.horizontal {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.rit-counterup.horizontal .wrap-counterup {
  display: block;
}

.rit-counterup.horizontal .desc_counter {
  display: block;
  line-height: 100%;
}

/* Icon */
.icon-box.vertical {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.icon-box.vertical .icon span {
  width: 80px;
  height: 80px;
  background: #2e39c9;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  display: block;
}

.icon-box.vertical .icon span i {
  line-height: 74px;
  font-size: 30px;
}

.icon-box.vertical .content h6 {
  margin: 0 0 10px;
  display: block;
}

.icon-box.vertical .content p {
  margin: 0;
}

.icon-box.vertical.left .content {
  overflow: hidden;
  text-align: left;
  padding-left: 20px;
}

.icon-box.vertical.right {
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.icon-box.vertical.right .content {
  text-align: right;
  padding-right: 20px;
}

.icon-box.horizontal {
  text-align: center;
}

.icon-box.horizontal .thumb {
  display: block;
}

.icon-box.horizontal .thumb figure {
  display: inline-block;
  text-align: center;
  width: 150px;
  height: 150px;
  line-height: 150px;
  background: #fff;
  border-radius: 50%;
}

.icon-box.horizontal .content {
  padding: 40px 0 0;
}

.icon-box.horizontal .content h6 {
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.icon-box.horizontal .content p {
  color: #a6b2c8;
}

/* Blog-masonry-theme */
.portfolio-wrap .rit-item-masonry .rit-text-content {
  width: 360px;
  min-height: 360px;
  padding: 40px;
  line-height: 30px;
  font-size: 20px;
  max-width: 100%;
}

.portfolio-wrap .rit-item-masonry {
  float: left;
  opacity: 1;
  position: relative;
}

.portfolio-wrap .rit-text-content .btn-home {
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 0;
}

.portfolio-wrap .btn-black {
  border: 3px solid #000;
  color: #000;
}

.portfolio-wrap .btn-black:hover {
  background: #000;
  color: #fff;
}

.portfolio-wrap #rit-masonry-filter li {
  color: #6f6f6f;
  display: inline;
  margin-left: 15px;
  font-style: italic;
  cursor: pointer;
  position: relative;
  padding-left: 15px;
}

.portfolio-wrap #rit-masonry-filter li:before {
  content: '/';
  position: absolute;
  top: 2px;
  left: -5px;
  line-height: 100%;
}

.portfolio-wrap #rit-masonry-filter li:first-child:before {
  content: none;
}

.portfolio-wrap #rit-masonry-filter li a {
  text-transform: uppercase;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: #959595;
  letter-spacing: 0.25px;
}

.portfolio-wrap #rit-masonry-filter li a:hover,
.portfolio-wrap #rit-masonry-filter li.active a {
  color: #252525;
}

.portfolio-wrap .rit_hide_item {
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  opacity: 0;
  width: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  display: none !important;
}

.portfolio-wrap #rit-masonry-filter {
  margin: 0 0 40px;
  display: block;
  padding: 10px 0;
  text-align: center;
}

.portfolio-wrap .rit-item-masonry {
  margin-bottom: 30px;
}

.portfolio-wrap .rit-item-masonry img {
  width: 100%;
}

.portfolio-wrap .grid-sizer,
.portfolio-wrap .rit-item-masonry {
  width: calc((100% - 60px) / 3);
}

.portfolio-wrap.style-1 .rit-masonry-mask {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  left: 0;
  z-index: 999;
}

.portfolio-wrap.style-1 .rit-masonry-mask .rit-wrapper-mask {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px 20px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: wrap row;
      -ms-flex-flow: wrap row;
          flex-flow: wrap row;
  -webkit-align-content: flex-end;
      -ms-flex-line-pack: end;
          align-content: flex-end;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-wrap.style-1 .rit-masonry-mask .rit-wrapper-mask:before {
  content: '';
  width: 100%;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
  transition: all 300ms ease-in-out;
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.75) 99%, rgba(0, 0, 0, 0.85) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
  /* IE6-9 */
}

.portfolio-wrap.style-1 .rit-masonry-mask .rit-title {
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  z-index: 9999;
  transition: -webkit-transform 100ms ease-in-out;
  transition: transform 100ms ease-in-out;
  transition: transform 100ms ease-in-out, -webkit-transform 100ms ease-in-out;
  transition-duration: .4s;
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  width: 100%;
}

.portfolio-wrap.style-1 .rit-masonry-mask .rit-cat {
  font-size: 14px;
  color: #959595;
  margin: 0;
  z-index: 9999;
  transition: -webkit-transform 100ms ease-in-out;
  transition: transform 100ms ease-in-out;
  transition: transform 100ms ease-in-out, -webkit-transform 100ms ease-in-out;
  transition-duration: .45s;
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  display: block;
  width: 100%;
}

.portfolio-wrap.style-1 .rit-masonry-mask:hover .rit-wrapper-mask:before {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.portfolio-wrap.style-1 .rit-masonry-mask:hover .rit-cat,
.portfolio-wrap.style-1 .rit-masonry-mask:hover .rit-title {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.portfolio-wrap.style-1 .rit-masonry-mask .rit-cat:hover a,
.portfolio-wrap.style-1 .rit-masonry-mask .rit-title:hover a {
  color: #ffd400;
  text-decoration: underline;
}

.portfolio-wrap.style-2 .head-title {
  float: left;
  margin: 0 15px 30px 0 !important;
}

.portfolio-wrap.style-2 .head-title span {
  padding: 0;
  font-size: 30px;
  text-transform: none;
}

.portfolio-wrap.style-2 .head-title span:before {
  content: none;
}

.portfolio-wrap.style-2 #rit-masonry-filter {
  float: right;
}

.portfolio-wrap.style-2 .rit-masonry-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms;
}

.portfolio-wrap.style-2 .rit-item-masonry:hover .rit-masonry-mask {
  cursor: pointer;
  z-index: 99;
  opacity: 1;
  visibility: visible;
}

.portfolio-wrap.style-2 .rit-wrapper-mask {
  background: rgba(23, 33, 84, 0.8);
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  padding: 15px;
}

.portfolio-wrap.style-2 .rit-wrapper-mask h3,
.portfolio-wrap.style-2 .rit-wrapper-mask h4 {
  text-align: center;
  padding: 0 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-wrap.style-2 .rit-wrapper-mask h3 {
  color: #fff;
}

.portfolio-wrap.style-2 .rit-wrapper-mask h4 {
  font-size: 13px;
  font-weight: normal;
  color: #cccccc;
  text-transform: uppercase;
}

.portfolio-wrap.style-2 .rit-wrapper-mask a {
  color: #fff;
}

.portfolio-wrap.style-2 .rit-wrapper-mask a:hover {
  text-decoration: underline;
  color: #fff;
}

.portfolio-wrap.style-2 .rit-wrapper-mask .rit-cat a {
  font-weight: 400;
  font-size: 13px;
  color: #cccccc;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.portfolio-wrap.style-2 .rit-wrapper-mask .rit-title {
  position: absolute;
  left: 0;
  top: calc(50% - 30px);
  width: 100%;
  font-size: 18px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-30px);
      -ms-transform: translateY(-30px);
          transform: translateY(-30px);
  transition: all 300ms ease-in-out;
}

.portfolio-wrap.style-2 .rit-wrapper-mask:hover .rit-title {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  visibility: visible;
}

.portfolio-wrap.style-2 .rit-wrapper-mask .rit-cat {
  position: absolute;
  left: 0;
  bottom: calc(50% - 30px);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(30px);
      -ms-transform: translateY(30px);
          transform: translateY(30px);
  transition: all 300ms ease-in-out;
  font-size: 14px;
  margin: 0;
}

.portfolio-wrap.style-2 .rit-wrapper-mask:hover .rit-cat {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 480px) and (max-width: 767px) {
  .portfolio-wrap .grid-3 .rit-item-masonry {
    width: 50%;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .portfolio-wrap .grid-3 .rit-item-masonry {
    width: 100%;
  }
}

/* Blog-style-theme */
/*News css*/
.rit-news-item {
  display: block;
  margin-bottom: 40px;
}

.rit-blog-large-layout .rit-news-item {
  margin-bottom: 46px;
}

.wrapper-img {
  position: relative;
  display: block;
  width: 100%;
  z-index: 9;
}

.wrapper-img img {
  height: auto;
}

.wrapper-mask {
  padding: 25px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
}

.border-mask {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.wrapper-img:hover .wrapper-mask {
  padding: 55px;
  z-index: 10;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 0.9;
}

.mask {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: block;
  height: 100%;
  text-align: center;
  position: relative;
  line-height: 100%;
  text-align: center;
}

.rit-news-info {
  padding: 0 25px 25px 0;
}

.rit-news-info .entry-title {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 24px;
}

.title-news {
  margin: 0 0 5px;
}

.title-news a, .title-news {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: normal;
}

.info-post {
  font-size: 12px;
}

.rit-news-info .description {
  font-size: 15px;
  padding-top: 5px;
}

.pager {
  margin: 30px 0 0;
  width: 100%;
  text-align: center;
}

.pager ul {
  margin: 0;
}

.pager ul li {
  display: inline;
  text-align: center;
}

.pager ul li a, .pager ul li span {
  padding: 0;
  border: none;
  line-height: 35px;
  width: 35px;
  height: 35px;
  border-radius: 0;
  margin: 0;
  border: 1px solid #f6f6f6;
  margin-left: -3px;
}

.pager ul li a {
  color: #acb6bc;
}

.pager ul li a:hover, .pager ul li span {
  background: #000;
  color: #fff;
}

.sidebar-item .title {
  margin: 0;
  position: relative;
  padding: 0 0 7px 0;
  font-size: 18px;
  color: #000;
  width: auto;
  display: inline-block;
  color: #2d3d51;
  text-transform: uppercase;
}

.content-siderbar {
  border-top: 2px solid #b2b2b2;
  padding: 30px 0 40px;
  width: 100%;
}

.sidebar-item .title:after {
  width: 100%;
  position: absolute;
  background: #000;
  height: 2px;
  content: "";
  bottom: -2px;
  left: 0;
}

.widget_categories ul li, .widget_archive ul li, .widget_meta ul li {
  display: inline-block;
  width: 100%;
}

.widget_categories .content-siderbar {
  padding-top: 20px;
}

.widget_meta li {
  display: inline-block;
}

.tags-list a:hover, .tagcloud a:hover {
  color: #fff;
  background: #000;
  text-decoration: none;
}

.author-link {
  color: #b2b2b2;
  text-transform: capitalize;
}

.author-link:hover {
  color: #000;
}

/*Medium layout*/
.rit-blog-medium-layout .rit-news-info, .rit-medium-layout .rit-news-info {
  padding: 0 25px;
}

.rit-blog-medium-layout .rit-news-item, .rit-medium-layout .rit-news-item {
  padding-bottom: 30px;
}

.rit-blog-medium-layout .rit-news-item p, .rit-blog-grid-layout .rit-news-item p {
  margin-bottom: 5px;
}

.rit-blog-medium-layout .wrapper-img:hover .wrapper-mask {
  padding: 10px;
}

.rit-blog-medium-layout .wrapper-img, .rit-medium-layout .wrapper-img {
  margin-bottom: 20px;
}

.rit-blog-medium-layout .wrapper-img:hover .wrapper-mask, .rit-medium-layout .wrapper-img:hover .wrapper-mask {
  padding: 10px;
}

.rit-blog-medium-layout .news-item {
  padding-bottom: 0;
  border-bottom: none;
}

.rit-blog-medium-layout .rit-news-info {
  padding: 10px 0 20px;
  /*border-bottom: 3px solid #b2b2b2;*/
}

/*End medium*/
/*Timeline layout*/
.rit-blog-timeline-layout, .rit-timeline-layout {
  padding-bottom: 100px;
}

.rit-blog-timeline-layout:after, .rit-timeline-layout:after {
  background: -webkit-linear-gradient(top, #FFFFFF, #505050 5%, #000, #505050 95%, #FFFFFF);
  content: "";
  display: block;
  height: 100%;
  left: 50%;
  margin-left: -2px;
  opacity: 0.35;
  position: absolute;
  top: -60px;
  width: 3px;
  z-index: 0;
}

.timeline-date {
  padding: 10px 20px;
  border: 1px solid #333;
  background: #fff;
  margin: 0 auto;
  display: block;
  width: 200px;
  text-align: center;
  position: relative;
  z-index: 9;
  margin-bottom: 30px;
}

.timeline-date h3 {
  font-size: 18px;
  font-weight: normal;
  color: #333;
}

.rit-blog-timeline-layout .left, .rit-timeline-layout .left {
  float: left;
}

.rit-blog-timeline-layout .right, .rit-timeline-layout .right {
  float: right;
  margin-top: 20px;
}

.rit-blog-timeline-layout .rit-news-info, .rit-timeline-layout .rit-news-info {
  padding-bottom: 0;
}

.rit-blog-timeline-layout .timeline-box, .rit-timeline-layout .timeline-box {
  padding-bottom: 20px;
  border-bottom: 3px solid #ACACAC;
  background: #fff;
  position: relative;
}

.info-post {
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .rit-blog-timeline-layout .rit-news-info, .rit-timeline-layout .rit-news-info {
    background: #fff;
    padding-bottom: 25px;
  }
}

/*End timeline layout
Begin large alt layout
*/
.rit-blog-large-alt-layout .date {
  width: 100%;
  padding: 5px;
  display: block;
  background: #697782;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 5px;
}

.rit-blog-large-alt-layout .alt a {
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  display: block;
}

.rit-blog-large-alt-layout .alt .comment-count {
  text-align: center;
  margin-bottom: 10px;
}

.rit-blog-large-alt-layout .alt {
  border-bottom: 1px solid #ccc;
}

.wrapper-img iframe {
  width: 100%;
}

/*End large alt layout*/
.rit-blog-medium-layout .wrapper-img iframe {
  width: auto;
  height: auto;
}

.wrapper-img iframe {
  margin: 0;
}

.wrapper-img > a {
  display: block;
  width: 100%;
  text-align: center;
}

.wrapper-img > a > img {
  max-width: 100%;
}

/*End full layout*/
.rit-full-layout .rit-news-item {
  line-height: 2;
}

.rit-full-layout .info-cat a {
  text-transform: uppercase;
  font-size: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.rit-full-layout .info-date {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

.rit-full-layout .title-news {
  font-size: 24px;
}

.rit-full-layout .rit-button {
  margin: 35px 0;
}

.rit-full-layout .info-post {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.rit-full-layout .rit-news-item .rit-news-info {
  padding-bottom: 30px;
}

.rit-blog-grid-layout .rit-news-item .wrap-post {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.rit-blog-grid-layout .rit-news-item .rit-news-info {
  background: #fff;
  padding: 25px;
}

.rit-blog-grid-layout .rit-news-item .rit-news-info .info-post {
  color: #acacac;
  font-size: 14px;
}

.rit-blog-grid-layout .rit-news-item .rit-news-info .title-news {
  margin: 10px 0 20px;
}

.rit-blog-grid-layout .rit-news-item .rit-news-info .title-news a {
  text-transform: none;
  font-weight: bold;
}

.rit-blog-grid-layout .rit-news-item .rit-news-info .description {
  font-size: 15px;
}

.rit-blog-grid-layout .rit-news-item .rit-news-info .readmore a {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.25px;
  margin-top: 20px;
  display: block;
}

.readmore a {
  font-weight: 500;
  color: #252525;
  letter-spacing: -0.25px;
}

/*End news css*/
/* News-theme */
.rit-wrapper-thumb {
  width: 100%;
  display: block;
}

.rit-wrapper-thumb img {
  max-width: 100%;
}

.rit-head-block-news {
  display: block;
  border-bottom: 2px solid #EAEAEA;
  margin: 10px 0 20px;
}

.rit-head-block-news .title {
  text-transform: uppercase;
  font-size: 18px;
  padding: 0;
  text-align: center;
}

.rit-head-block-news .title span {
  padding: 5px 20px;
  display: inline-block;
  position: relative;
  letter-spacing: 3px;
  font-weight: normal;
}

.rit-head-block-news .title span:after {
  position: absolute;
  background: #333;
  content: '';
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -2px;
}

.rit-wrapper-news .rit-news-item {
  border-bottom: none;
  padding: 15px;
  border-bottom: 5px;
}

.rit-title-news a {
  font-size: 16px;
  color: #333;
  font-weight: normal;
}

.rit-news-item .rit-news-info {
  margin: 0;
  padding: 10px 0;
}

.rit-wrapper-thumb {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  display: block;
}

.rit-wrapper-thumb .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Safari 5.1+, Chrome 10+ */
  /* Firefox 3.6+ */
  /* IE 10 */
  background: -ms-radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(3, 3, 3, 0.5));
}

.rit-wrapper-thumb:hover {
  cursor: pointer;
}

.rit-wrapper-thumb:hover .mask {
  opacity: 0.3;
}

.rit-description p {
  margin-bottom: 5px;
}

.rit-btn {
  padding: 8px 30px;
  text-transform: uppercase;
  display: inline-block;
}

.rit-readmore {
  color: #333;
  position: relative;
  padding: 8px 10px;
  display: inline-block;
}

.rit-readmore:after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #333;
  content: '';
  left: 0;
  top: 50%;
}

.rit-readmore:hover {
  cursor: pointer;
}

.rit-readmore span {
  background: #fff;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 9;
  padding: 5px;
  position: relative;
  border: 1px solid #fff;
}

.rit-readmore:hover span {
  border: 1px solid #333;
}

.rit-control-tabs-news {
  margin: 20px 0 0;
  text-align: center;
  list-style: none;
  display: block;
}

.rit-control-tabs-news li {
  display: inline-block;
  padding: 8px 10px;
  margin-left: 5px;
  position: relative;
  border-bottom: 2px solid #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rit-news-group {
  display: block;
  overflow: hidden;
}

.rit-news-group.unvisible {
  height: 0 !important;
}

.rit-control-tabs-news li.active, .rit-control-tabs-news li:hover {
  border-color: #333;
  cursor: pointer;
}

.rit-control-tabs-news li:after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: '\f107 ';
  font-family: 'FontAwesome';
  top: 10%;
  left: 50%;
  margin-left: -10px;
  text-align: center;
  font-size: 20px;
  opacity: 0;
  transition: all 300ms;
}

.rit-control-tabs-news li.active:after, .rit-control-tabs-news li:hover:after {
  top: 100%;
  opacity: 1;
}

.rit-news-group .rit-description {
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 30px;
}

.rit-news-headline .rit-title-news {
  position: absolute;
  padding: 15px;
  width: 100%;
  color: #fff;
  bottom: 0;
  left: 0;
}

.rit-news-headline .rit-title-news a {
  color: #fff;
  padding: 15px;
  display: block;
}

.rit-news-headline .rit-title-news a:hover {
  background: rgba(3, 3, 3, 0.4);
}

.rit-news-headline .rit-readmore {
  position: absolute;
}

.rit-news-headline .rit-wrapper-thumb {
  margin: 0;
}

.rit-news-headline .rit-news-item:hover .mask {
  opacity: 0.3;
}

.rit-news-headline .rit-second-col {
  padding: 10px 15px;
}

.rit-news-headline .rit-second-col .rit-news-item {
  padding: 5px;
  margin: 0;
}

.rit-news-headline .rit-second-col .rit-title-news {
  padding: 5px;
}

.rit-news-headline .rit-second-col .rit-title-news a {
  font-size: 14px;
  padding: 5px;
}

/*vertical layout*/
.rit-news-vertical img {
  width: 100%;
}

.rit-news-vertical .rit-wrapper-thumb, .rit-news-normal .rit-wrapper-thumb {
  margin: 0;
}

.rit-news-vertical .rit-second-col {
  margin-top: 15px;
}

.rit-news-vertical .rit-second-col .rit-news-item {
  padding: 0;
  margin-bottom: 10px;
}

.rit-news-vertical .rit-second-col .rit-news-item .col-xs-4 {
  padding-right: 0;
}

.rit-news-vertical .rit-second-col .rit-news-item .col-xs-8 {
  padding-left: 5px;
}

.rit-news-vertical .rit-news-group {
  border: 1px solid #eaeaea;
  margin: 50px 0 20px;
  position: relative;
  overflow: visible;
  display: inline-block;
}

.rit-news-vertical .rit-news-group > .rit-news-item {
  margin-bottom: 0;
}

.rit-news-vertical .rit-news-group .rit-description {
  border-bottom: none;
}

.rit-news-vertical .rit-news-group > h3.title {
  position: absolute;
  height: 30px;
  padding: 2px 15px;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  top: -30px;
  left: 0;
  font-weight: normal;
  border-bottom: 2px solid #333;
}

.rit-news-vertical .rit-news-group .rit-title-news a:hover {
  border-bottom: 1px solid #333;
}

/*normal layout*/
.rit-news-normal img {
  width: 100%;
}

.rit-news-normal .rit-title-news {
  margin-bottom: 5px;
}

.rit-news-normal .rit-title-news:hover {
  text-decoration: underline;
}

.rit-news-normal .rit-description {
  border-bottom: none;
}
