/*News css*/

.rit-news-item:not(:last-child) {
    display: block;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.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;
    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
}

.readmore {
    font-size: 18px;
    color: #000;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 50%;
    margin-left: -50px;
    text-align: center;
    width: 100px;
    height: 50px
}

.readmore a {
    display: block;
    position: relative;
    width: 100%;
    line-height: 35px;
    height: 35px;
    color: #000;
    text-transform: capitalize
}

.readmore a:hover {
    text-decoration: none
}

.readmore a:before, .readmore a:after {
    position: absolute;
    left: 50%;
    margin-left: -15px;
    height: 5px;
    background: #000;
    width: 30px;
    content: "";
    display: block
}

.readmore a:before {
    top: -5px
}

.readmore a:before {
    bottom: -5px
}

.rit-news-item .rit-button{
    margin: 16px 0 0;
}
.rit-news-item .rit-button:hover{
    background-color: transparent;
    color: gray !important;
}

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

.title-news a, .title-news {
    font-size: 25px;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 11px;
}

.title-news a:hover {
    color: #9eabb3;
}

.rit-news-info {
    color: #b2b2b2;
    margin: 0 0 22px 0;
}
.description{
    color: #999;
    line-height: 26px;
    margin: 24px 0 0;
}
.info-post {
    font-size: 13px
}

.info-post .arrow{
    display: inline-block;
    margin: 0 5px 0 10px;
}

.rit-news-info .description {
    font-size: 14px;
    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_meta li {
    display: inline-block
}

.tags-list a, .widget_meta a, .tagcloud a {
    padding: 10px 15px;
    color: #697782;
    background: #e1e4e7;
    display: inline-block;
    margin-bottom: 3px;
    font-size: 14px !important;
}

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

.author-link, .info-cat a {
    color: #b2b2b2;
    text-transform: capitalize
}

.author-link:hover, .info-cat a: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;
}

.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 {
    width: 100%;
}

/*End news css*/
