﻿
.box{
    border:unset;
    box-shadow:0 0 15px #b9b9b9;
    margin-bottom:2rem;
}
.box .card-body{
    padding:0;
}
.box .card-body a.hashtag, .postcard .card-body a.hashtag {
    color: #6a95cc !important;
    margin-right: 1rem;
}
.box .card-body a.hashtag:hover, .postcard .card-body a.hashtag:hover {
    color: #39669d !important;
}
.postcard , .blogcard {
    height: 26rem;
    border: unset;
    box-shadow: 0 0 5px #c4c4c4;
    margin-bottom: 2rem;
}
.postcard .card-img-top ,.blogcard .card-img-top {
    max-height: 16rem;
    overflow-y:hidden;
}
.postcard .card-body{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.box .card-body a, .postcard .card-body a {
    color: #4c4d4d !important;
}
.box .card-body a:hover, .postcard .card-body a:hover {
    color: #628bbe !important;
}
.postcard small {
    color: #9a9999;
    margin-bottom:.2rem;
}
.detailsv{
    position:relative;
    display:block;
    color:#c1bfbf;
}
.postcard .detailsn{
    position:absolute;
    top:-.8rem;
    right:-.6rem;
    font-size:small;
    color:#666767;
}
.detailsv .fa-thumbs-up.green {
    color: #5ec445;
}
.detailsv:hover .fa-thumbs-up {
    color: #5ec445;
}
.detailsv:hover .fa-thumbs-down {
    color: #e25959;
}
.detailsv .fa-thumbs-down.red {
    color: #e25959;
}
.detailsv:hover .fa-eye {
    color: #5b83b7;
}
.media {
    border-bottom: 1.2px solid #d5d5d5;
}
.media:last-of-type{
    border-bottom:unset;
}
.media img {
    width: 6rem;
    height: 6rem;
    margin:.5rem;
}
.media .media-body{
    padding:.5rem;
    align-self:normal;
}
.media small {
    color: #989898;
}
.activepage {
    background-color: #b7c9e1;
    box-shadow: 0 0px 15px #c7c7c7 !important;
}
.page-link {
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    margin: .5rem;
    box-shadow: 0 0px 10px #ccc !important;
}
.page-link:focus {
    box-shadow: 0 0px 10px #ccc !important;
}
.page-item:last-child .page-link, .page-item:first-child .page-link {
    border-radius: 50% !important;
}
.newspage .containercheckbox{
    display: block;
    position: relative;
    margin:0;
    margin-bottom:.5rem;
    padding-right:2rem;
    cursor: pointer;
    font-size: .8rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.newspage .containercheckbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.newspage .checkmark{
    position: absolute;
    top: 0;
    right:0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border-radius: 3px;
    border: 2px solid #d9d8d8;
}

.newspage .containercheckbox:hover input ~ .checkmark{
    background-color: #d9d8d8;
}

.newspage .containercheckbox input:checked ~ .checkmark {
    background-color: #fff;
}

.newspage .containercheckbox .checkmark:after{
    content: "";
    position: absolute;
    display: none;
}

.newspage .containercheckbox input:checked ~ .checkmark:after {
    display: block !important;
}

.newspage .containercheckbox .checkmark:after {
    left: .5rem;
    top: -.5rem;
    width: .5rem;
    height: 1.3rem;
    border: solid #638ec6;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.newsscrolldiv{
    height:35rem;
    max-height:40rem;
    overflow-y:scroll;
}
.newsscrolldiv .nav-link{
    color:#2f2f2f !important;
}
.newsscrolldiv .nav-link:hover{
    color:#3c69a3 !important;
}



.addoreditblog .card {
    border: unset;
    box-shadow: 0 0 15px #b7b6b6;
}

.addoreditblog textarea {
    min-height: 10rem;
}
.removeimg{
    position:absolute;
    bottom:1.2rem;
    left:1.5rem;
}

.blogcard {
    position: relative;
}

.btn-newstype {
    position: absolute;
    top: .5rem;
    left: .5rem;
    color: white;
    width: 5rem;
}

.blogcard .card-body i {
    font-size: 1.2rem
}

.blogcard .fa-comments {
    color: #33a5ca;
    cursor: pointer;
}

.blogcard .editblog i {
    color: #e8b50f;
}

.blogcard .deleteblog i {
    color: #dd3267;
}

.blogcard .card-text {
    color: #868585;
}

.btn-savepost {
    background-color: #3c9333;
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 15px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 0;
        bottom: -2px;
        background-color: #e9e9e9;
        -webkit-transition: .4s;
        transition: .4s;
        box-shadow: 0 1px 3px #ccc;
    }

input:checked + .slider {
    background-color: #7bc872;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7bc872;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
    background-color: #2c7f23;
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.msg {
    position: relative;
    background-color: #fff;
    border: unset !important;
    box-shadow:0 0 5px #aaa;
    border-radius:.9rem;
    width:75%;
}
.msg:before {
    position: absolute;
    top: 45%;
    right: -.5rem;
    width: 1rem;
    height: 1rem;
    background-color: #fff;
    content: "";
    transform: rotateZ(-45deg);
    box-shadow: 2px 2px 5px #ddd;
}
.msg img{
    width:3.7rem;
    height:3.7rem;
    border-radius:50%;
}
.btn-savecomment, .btn-savereplycomment {
    background-color: #5ec445;
    color: #fff;
}
.commenttext,.replytext {
    border: unset !important;
}
.replymsg{
    background-color:#eeeded;
    width:75%;
}
.replymsg:before{
    background-color:#eeeded !important;
}
.replycomment{
    cursor:pointer;
}
.newcomment h5{
    cursor:pointer;
}
.idbadge{
    position:absolute;
    top:.5rem;
    left:.5rem;
}
.sharenews img{
    width:1.7rem;
}

@media(max-width:992px) {
    .postcard, .blogcard{
        height:26rem;
    }
    .msg{
        width:90%;
    }
    .replymsg{
        width:90%;
    }
    .sharenews {
        margin-bottom:1rem;
    }
}