img {
    object-fit: cover;
}

.header-top-blog {
    width: 100%;
    height: 70px;
    position: fixed;
    transition: all 0.3s;
    z-index: 2;
    direction: rtl;
    background-color: white;
    top: 0;
    margin: 0 -15px;
}

header {
    height: unset;
    background-image: unset;
    background-size: cover;
    background-position: center center;
}

.header-top-blog.fix {
    height: 60px;
    background-color: white;
    color: black;
    box-shadow: 0 -10px 25px #000;
}

.header-top-blog.fix > li:hover {
    color: pink;
}

.menu > div > ul a {
    color: #1b1b1b;
}

.header-logo-blog img {
    height: 40px;
    margin-top: 13px;
    transition: all 0.3s;
}

.header-logo-blog img:nth-child(2) {
    display: none;
}

.header-top-blog.fix .header-logo-blog img {
    height: 45px;
    margin-top: 10px;
}

.header-top-blog.fix .header-logo-blog img:nth-child(2) {
    display: unset;
}

.header-top-blog.fix .header-logo-blog img:nth-child(1) {
    display: none;
}

.base-content-blog {
    padding-top: 85px;
}

.right-wider, .blog-header-img-small-left {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 17rem;
    border-radius: 2px;
    -webkit-transition: box-shadow 0.8s;
    -moz-transition: box-shadow 0.8s;
    transition: box-shadow 0.8s;
    -webkit-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    -moz-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
}

.blog-header-img-small-under {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 17rem;
    border-radius: 2px;
    -webkit-transition: box-shadow 0.8s;
    -moz-transition: box-shadow 0.8s;
    transition: box-shadow 0.8s;
    -webkit-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    -moz-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
}

.right-wider img {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.blog-header-img-small-left img, .blog-header-img-small-under img {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.title-blog-four-img {
    position: absolute;
    bottom: 0px;
    right: 0;
    color: white;
    padding: 17px;
}

.right-wider:hover, .related-img:hover, .blog-header-img-small-left:hover, .blog-header-img-small-under:hover, .article-img:hover, .most-visit:hover, .section-hover:hover {
    -webkit-box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
    -moz-box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
    box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
      /*-webkit-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);*/
    /*-moz-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);*/
    /*box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);*/

}

.section-hover {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-transition: box-shadow 0.3s ease-in;
    -moz-transition: box-shadow 0.3s ease-in;
    transition: box-shadow 0.3s ease-in;
}

.newest-img img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.newest-pic-box {
    padding: 15px;
}

.newest-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.newest-div {
    width: 100%;
    height: 15em;
    background-color: white;
    box-shadow: 5px 5px 5px -5px #888888;
    border-radius: 2px;
    display: inline-flex;
    margin-bottom: 10px;
}

.newest-div > div {
    display: inline-block;
}

.newest-div > div > a > img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -1;
}

.explain {
    display: inline-block;
    padding: 15px;
    width: 65%;
}

.explain a {
    font-size: 1.2em;
}

.post-date {
    color: #999999;
    font-size: .8em;
    padding-bottom: 25px;
    padding-top: 10px;
}

.explain > section > p a {
    color: #009999;
}

.blogs-posts-div {
    /*padding-top: 2vw;*/
}

.top-text-right h4, .top-text-left h4 {
    border-bottom: 2px solid rgba(101, 101, 101, 0.23);
    color: #009999;
    position: relative;
    padding-bottom: 6px;
    font-size: 1.4em;
}

.top-text-right h4:after {
    position: absolute;
    content: "";
    display: block;
    height: 2px;
    width: 23%;
    bottom: -2px;
    background-color: #099;
    border-bottom: 2px solid #009999;
}

.most-visit-inner img {
    padding-top: 5px;
    width: 100%;
    height: 19rem;
    position: relative;
    z-index: -1;
}

.most-visit {
    height: 15em;
    position: relative;
    margin-bottom: 10px;
    -webkit-transition: box-shadow 0.8s ;
    -moz-transition: box-shadow 0.8s ;
    transition: box-shadow 0.8s ;
      -webkit-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    -moz-box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
    box-shadow: inset -3px -50px 64px -11px rgba(115, 115, 115, 0.66);
}

.most-visit img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -1;
    border-radius: 3px;
    object-fit: cover;
}

.most-visit-inner > span {
    position: absolute;
    bottom: 5px;
    right: 12px;
    color: white;
}

.most-visit > span {
    position: absolute;
    bottom: 5px;
    right: 12px;
    color: white;
}

.sidebar-box-inner, .sidebar-box {
    padding: 15px;
    background-color: white;
    box-shadow: 5px 5px 5px -5px #888888;
}

.article-img {
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transition: box-shadow 0.3s ease-in;
    -moz-transition: box-shadow 0.3s ease-in;
    transition: box-shadow 0.3s ease-in;
}

.sidebar-text a {
    font-size: 1em;
}

.sidebar-text {
    display: inline-block;
    padding: 7px;
    height: auto;
    width: 56%;
    line-height: 17px;
}

.article-sec {
    position: relative;
}

.article-min-div {
    width: 42%;
    height: 8em;
    display: inline-block;
}

.article-sec img {
    height: 100%;
    width: 100%;
    z-index: -1;
}

.top-text-left h4::after {
    position: absolute;
    content: "";
    display: block;
    height: 2px;
    width: 7em;
    top: 29px;
    background-color: #099;
    border-bottom: 2px solid #009999;
}

#topFooter {
    background-color: rgba(227, 227, 227, 0.73);
    margin-top: 20px;
}

#topFooter > div > p {
    margin-top: 15px;
    font-size: .9em;
}

#sendMail {
    position: relative;
    padding: 8px 0;
}

#sendMail input {
    margin: 0;
    border: 1px solid rgba(255, 102, 102, 0.67);
    height: 35px;
    width: 100%;
    border-radius: 5px;
    padding: 0 10px;
}

#sendMail button {
    background-image: -moz-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    box-shadow: -1.186px 16.959px 29px 0px rgba(255, 153, 102, 0.1);
    border: none;
    padding: 5px 15px;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    transition: all .3s ease-in 0s;
    color: #ffffff;
    position: absolute;
    left: 1px;
    width: 90px;
    top: 9px;
    height: 33px;
}

.newest-pic-box {
    width: 40%;
    height: 14em;
    display: inline-block;
}

/*inner page blog*/

.content-box {
    background-color: white;
    box-shadow: 5px -4px 5px -5px #888888;
}

.title-sec {
    padding: 15px;
}

.title-inner {
    font-size: 1.1em;
    display: inline-block;
}

.category-box {
    display: inline-block;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    background-image: -moz-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    box-shadow: -1.186px 16.959px 29px 0px rgba(255, 153, 102, 0.1);
    color: white;
    margin-right: 5px;
    cursor: pointer;
}

.category-div {
    display: inline-block;
    margin-right: 90px;
}

.date {
    display: inline-block;
    margin-right: 15px;
}

.date i {
    color: rgb(255, 128, 59);
}

data {
    margin-right: 5px;
}

#viewCounter {
    display: inline-block;
    margin-right: 15px;
}

#viewCounter i {
    color: rgb(255, 128, 59);
}

.social-network-top > section ul li span {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #0099cc;
    font-size: 1.1em;
    text-align: center;
    border-radius: 4px;
    transition: all .3s ease-in 0s;
    padding-top: 2px;
}

.twitter {
    background-color: #33ccff !important;
}

.google-plus {
    background-color: #cc3333 !important;
}

.google-plus i {
    font-size: 1em !important;
}

.google-plus:hover {
    box-shadow: 2px 4px 4px -1px #da717e !important;
}

.facebook {
    background-color: #336699;

}

.social-network-top > section ul li span:hover {
    box-shadow: 2px 4px 4px -1px #86c7e1;
}

.social-network-top {
    padding: 0 6px 6px 0;
    float: left;
    display: inline-block;
    width: 25%;

}

.social-network-top > section a {
    color: #fff;
}

.social-network-top > section ul li {
    list-style: none;
    display: inline-block;
    /*padding: 0 2px;*/
}

.social-network-top > section ul {
    margin-bottom: 0px;
    padding: 0;
}

#attach {
    display: inline-block;
}

.attach-name {
    display: inline-block;
}

.attach-name span {
    border: 1px solid #ff8d66;
    border-radius: 3px;
    padding: 3px;
    margin-right: 4px;
    font-size: .8em;
    cursor: pointer;
    display: inline-block;
}

.attach-name span:hover {
    background-color: #ff8d66;
    color: white;
    transition: all .5s;
}

.related-post-img {
    width: 100%;
    height: 150px;
    position: relative;
    -webkit-transition: box-shadow 0.3s ease-in;
    -moz-transition: box-shadow 0.3s ease-in;
    transition: box-shadow 0.3s ease-in;
}

.related-post-img:hover {
    -webkit-box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
    -moz-box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
    box-shadow: inset -200px -200px 300px 200px rgba(183, 183, 183, 0.17);
}

.con-content {
    padding: 15px;
}

.related-sec {
    position: relative;
    width: 100%;
    height: 150px;
}

.related-sec img {
    height: 100%;
    width: 100%;
    z-index: -1;
}

.blog-post-div p {
    line-height: 2.5em;
}

.related-img {
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transition: box-shadow 0.3s ease-in;
    -moz-transition: box-shadow 0.3s ease-in;
    transition: box-shadow 0.3s ease-in;
}

.blog-post-div p img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 4px;
}

.title-h4 {
    padding: 0 15px;
}

.article-sec {
    position: relative;
    height: 100%;
    width: 100%;
}

.article-sec img {
    height: 100%;
    width: 100%;
    z-index: -1;
    object-fit: cover;
}

table tr td p img {
    width: 100% !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 4px;
}

/*paginate*/

#pagination {
    direction: ltr;
}

.pagination {
    display: block;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    text-align: center;
}

.page-item {
    margin: 0 8px;
    width: 50px;
    display: inline-block;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: rgba(255, 102, 102, 0.67);
    border-color: rgba(255, 102, 102, 0.67);
    border-radius: 4px;
}

.first, .prev, .next, .last {
    margin: 0 8px;
    width: 90px;
    display: inline-block;
}

.page-item.first .page-link, .page-item.last .page-link {
    background-image: -moz-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(255, 102, 102) 0%, rgb(255, 128, 102) 48%, rgb(255, 153, 102) 100%);
    box-shadow: -1.186px 16.959px 29px 0px rgba(255, 153, 102, 0.1);
    border: none;
    color: white;
}

.padd-left {
    padding-left: 0;
}

/*menu*/
.menu-button {
    display: none;
    z-index: 2;
}

.fix .menu-button {
    width: 45px;
    top: 13px;
    height: unset;
    background-color: unset;
}

@media screen and (max-width: 460px) {
    .category-div {
        display: inline-block;
        margin-right: 0;
        margin-top: 8px;
        border-top: 1px solid gray;
        padding-top: 10px;
    }
}

@media screen and (max-width: 991px) {
    .menu-button {
        display: unset;
        z-index: 2;
    }

    .menu-button > div {
        background-color: #c33;
        margin: 6px auto;
    }

    .padd-left {
        padding-left: 15px;
    }

    .padd-top {
        padding-top: 15px;
    }

    .first, .prev, .next, .last {
        margin: unset;
        width: unset;
        display: inline-block;
    }

    .page-item {
        margin: unset;
        width: unset;
        display: inline-block;
    }

    .post-date {
        color: #999999;
        font-size: .8em;
        padding-bottom: 11px;
        padding-top: 10px;
    }

    .header-logo-blog {
        position: absolute;
        left: -106px;
        top: 0;
    }

    .social-network-top {
        width: 100%;
        margin-top: 15px;
        padding-right: 15px;
        padding-top: 10px;
    }

    .attach {
        padding-top: 15px;
        border-top: 1px solid gray;
        margin-top: 10px;
    }
}