@media screen and (max-width:768px){
    nav {
        display: none !important;
    }
}

.toman {
    background: transparent !important;
    color: #d70e4e!important;
    direction: ltr;
    display: inline-block;
}

.col_agahi_info .list-group-item span:nth-child(1) {
    width: 40%;
    display: none;
}

.carousel-inner > .item {
    width: 100%;
    max-width: 100%;
    max-height: inherit !important;
}

.hidebox2 {
    display: none !important;
}

.glyphicon.glyphicon-comment {
    background-size: 411px 259px;
    background-position:-461px -159px !important; 
    display: block;
    width: 24px;
    height: 24px;
}

@media all and (max-width: 2560px) and (min-width: 768px) {

    .panel-footer {
        border-top:1px solid rgba(236, 236, 236, 0.85) !important
    }

    li.list-group-item.cat .glyphicon {
        display: inline-block;
        vertical-align: middle;
    }

    ul.suggestion {
        background: yellow;
    }

    .item-opened-data2 {
        position: absolute;
        display: block;
        margin-top: 340px;
        width: 397px;
        margin-right: 84px;
    }

    ul.suggestion {
        background: #282828;
        padding: 0;
    }

    ul.suggestion li {
        list-style: none;
        font-size: 12px;
    }

    ul.suggestion > li {
        width: 33.3%;
        float: right;
        padding: 0 !important;
    }

    ul.suggestion > li:nth-child(1) {
        width: 19%;
    }

    ul.suggestion > li:nth-child(2) {
        width: 47.7%;
    }

    ul.suggestion ul.call-info {
        padding: 0;
    }

    ul.suggestion ul.call-info li {
        float: left;
        margin: 2px;
        border-radius: 50%;
        width: 27px;
        height: 27px;
    }

    /*ul.suggestion ul.call-info li:nth-child(1){
            background:green;
        }

        ul.suggestion ul.call-info li:nth-child(2){
            background:#ff8100;
        }

        ul.suggestion ul.call-info li:nth-child(3){
            background:#00d17a;
        }*/
    ul.suggestion ul.call-info li .glyphicon {
        margin-top: 0px;
        margin-right: 4px;
        color: white;
    }

    ul.suggestion ul.sg-pic {
        background: #8f3b49;
        padding: 0;
    }

    ul.suggestion ul.sg-pic li img {
        border-radius: 50%;
    }

    ul.suggestion ul.sg-pic li:nth-child(1) {
        position: absolute;
        margin-top: 24px;
        z-index: +1;
    }

    ul.suggestion ul.sg-pic li:nth-child(1) img {
        width: 34px;
        height: 34px;
    }

    ul.suggestion ul.sg-pic li:nth-child(2) img {
        width: 57px;
        height: 57px;
        position: absolute;
    }

    ul.suggestion li ul.sg-pic li {
        float: right;
        width: 50%;
    }

    ul.suggestion li ul.sg-pic li img {
        max-width: 100%
    }

    ul.post-info {
        padding: 0px 0;
    }

    ul.post-info li {
        font-size: 11px !important;
    }

    ul.suggestion li {
        padding: 3px 0px;
    }

    ul.suggestion ul.post-info li:nth-child(3) {
        font-weight: 700;
    }

    ul.suggestion {
        min-height: 85px;
        background: transparent;
        padding: 19px;
        padding-left: 21px;
        height: auto;
    }

    ul.suggestion a {
        color: white;
    }

    li[id^="op"] {
        padding: 19px;
        font-weight: 700;
        padding-bottom: 7px;
        margin-top: 75px !important;
    }

    li[id^="op"] .glyphicon {
        background: transparent !important;
        color: black !important;
        float: right;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha2 {
        padding: 15px;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha2 .option-gozaresh {
        padding-bottom: 19px;
        padding-top: 0;
        border-bottom: solid 1px #f6f6f6;
    }

    .item-opened-data .agahiha2 {
        padding: 5px 15px;
        padding-top: 0;
    }

    .glyphicon.glyphicon-earphone, .glyphicon.glyphicon-comment {
        background: url(http://piqagram.ir/uploads/e13afa519a6b.png);
    }

    .glyphicon.glyphicon-earphone {
        background-size: 411px 259px;
        background-position: -2497px -129px;
        transform: rotateX(180deg) rotate(-95deg) scale(1) !important;
        display: block;
        width: 24px;
        height: 24px;
    }

    .glyphicon.glyphicon-comment {
        background-size: 411px 259px;
        background-position:-461px -159px !important;
        display: block;
        width: 24px;
        height: 24px;
    }

    .glyphicon.glyphicon-comment:before, .glyphicon.glyphicon-earphone:before {
        content: "";
    }

    ul.call-info li .glyphicon {
        transform: scale(.9);
    }

    .postDetails {
        display: none;
    }

    span.send-time {
        display: block;
    }

    .panel-default > .panel-heading, .panel-footer {
        background: transparent;
        padding-top: 34px;
        padding-right: 0px;
    }

    .post-user-info {
        position: absolute;
        top: 18px;
        left: 15px;
    }

    .post-user-info img {
        /* padding: 3px; */
        border-radius: 50%;
        /* border: solid 1px #f1f1f1; */
        box-shadow: 0 0 4px #f1f1f1;
        margin-top: 2px;
    }

    li[id^="opBuyer"] {
        padding: 19px;
        font-weight: 700;
        position: absolute;
        top: 225px;
        width: 378px;
        right: 113px;
        padding-right: 0!important;
        padding-top: 0px!important;
        padding-bottom: 14px!important;
    }

    li[id^="opBuyer"] span {
        display: none
    }

    .sefareshPost {
        background: #008000;
        position: absolute;
        padding: 6px;
        border-radius: 3px;
        font-weight: 700;
        color: white;
        right: 100px !important;
        top: 120px;
        padding: 7px 7px;
        padding-right: 3px;
        text-align: center;
    }

    .sefareshPost span {
        color: white;
        display: inline-block;
        vertical-align: middle;
    }

    span.priceLabel {
        position: absolute;
        top: 19px;
        right: -6px;
    }

    .golchin {
        display: inline-block;
        width: 50px;
    }

    .golchin div {
        background: transparent;
        color: black;
        font-size: 14px;
        padding: 5px 10px!important;
        padding-right: 5px !important;
        font-weight: 700;
        display: inline;
        border-color: transparent !important;
    }

    .golchin > div {
        background: rgba(240, 240, 240, 1);
    }

    .panel-footer {
        padding-top: 34px !important;
    }

    .panel-title {
        font-size: 15px;
        padding-top: 0px;
        margin-bottom: 19px;
    }

    .trade-warning.pc-display {
        float: left;
        padding-top: 12px;
    }

    span.glyphicon.glyphicon-flag {
        float: right;
        color: black;
    }

    .btn.btn-default.saved {
        background: green !important;
        border-color: transparent !important;
        color: white !important;
    }

    .btn.btn-default.saved div {
        color: white !important;
    }
}

.panel-default > .panel-heading, .panel-footer {
    background: transparent;
}

.col_agahi_info .list-group-item span:nth-child(2) {
    width: 60%;
}

@media screen and (max-width: 992px) {
    .byfounded {
        display:none;
    }
}

@media screen and (max-width: 991px) {
    .subjects {
        display:none;
    }

    .search-bar {
        height: 275px;
    }

    .form-group {
        margin-bottom: 14px !important;
    }

    .range {
        margin-left: -2px;
        margin-right: -8px;
    }
}

@media screen and (max-width: 1200px) {
    .checkbox, .radio {
        margin: auto;
        height: 0px !important;
        margin-top: 47px;
    }
}

@media screen and (max-width: 517px) {
    .send-button, .app-send-button {
        display:none;
    }

    .smallest-send-button {
        display: block;
    }
}

@media screen and (max-width: 470px) {
    .blog-title {
        display:none;
    }
}

@media screen and (max-width: 768px) {
    ul.call-info li .glyphicon {
        transform: scale(.9);
    }

    .sefareshPost {
        background: #d70e4e;
        position: absolute;
        padding: 7px 23.119px;
        font-size:16px;
        border-radius: 3px;
        font-weight: 700;
    }

    .sefareshPost span {
        display: inline-block;
        vertical-align: middle;
        color: white;
        margin-top: -4px;
        margin-right: -4px;
    }

    a .sefareshPost {
        color: white;
    }

    ul.postDetails {
        display: inline-block;
        padding: 0 2px;
    }

    ul.postDetails {
        width: 100%;
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }

    .bodyPost ul.postDetails {
        display: inline-block;
        padding: 0 2px;
    }

    ul.postDetails li {
        list-style: none;
        float: left;
        padding: 0px;
        padding-top: 1px;
    }

    ul.postDetails .glyphicon-bookmark {
        font-size: 20px !important;
    }

    ul.postDetails li .glyphicon {
        transform: scale(1);
        color: #8e8e8e;
        margin-top:2px;
    }

    ul.postDetails li:nth-child(2) {
        padding-left: 28px;
    }

    ul.postDetails li:nth-last-child(1) {
        float: right;
    }
}

/*** modal ***/
.modal-header .close {
    margin-top: -2px;
    float: left;
}

.modal-body .col-lg-3 {
    float: right;
    direction: rtl;
    text-align: center;
    padding: 9px;
}

.place-name-1 {
    padding: 10px 0;
    border: solid 2px #ccc;
}

.place-name-1:hover {
    background: green;
    color: white;
    border-color: transparent;
}

.modal-header .close {
    float: left;
    color: white;
    line-height: 133%;
    text-shadow: none;
    opacity: 0.5;
    margin-left: 1%;
}

.modal-header .close:hover {
    opacity: 0.8 !important;
}

.modal-header {
    padding: 15px;
    /* border-bottom: 1px solid #e5e5e5; */
    background: green;
    color: white;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: black;
    opacity: 0.8;
    opacity: 0.85 !important;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 680px;
        margin: 30px auto;
    }

    .modal-content .list-group-item a {
        padding: 0 !important;
    }
}

span {
    font-size: 9pt;
    color: #afafaf;
    padding-right: 1px;
}

.choose_ostanga {
    background: #4CAF50;
    color: white;
    padding: 6px 6px;
    border-radius: 4px;
    display: inline-block;
    padding-right: 8px;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: -5px;
}

.choose_ostanga span {
    color: #ffffff;
    font-size: 14pt;
    padding: 0px 10px;
    background: #029402c4;
    border-radius: 4px;
    margin-right: 10px;
}

.choose_ostanga span:hover {
    background: #027902c4;
}

.choose_ostanga:nth-child(2) {
    margin-right: 7px;
    padding: 7px 10px;
}

.shahrestanha {
    max-height: 550px;
    overflow-y: auto;
}

/*** location ***/
.shahrestanha {
    display: none;
}

.agahi-content {
    padding-right: 3px;
}

.modal-body {
    position: relative;
    padding: 15px 13.5px;
  	min-height: 368px;
}

#counter7 {
    display: none;
}

@media screen and (max-width: 768px) {
    .wrapper-agahi-image {
        overflow: hidden;
        width: 157px;
    }

    .agahi-image img {
        max-height: 142px;
        float: left;
        padding: 10px;
        padding-left: 0px;
        padding-top: 5.5px;
    }

    .agahi-contains li {
        list-style: none;
        float: left;
        width: 50%;
        text-align: right;
        height: 138px;
        overflow: hidden;
        padding-top: 2px;
    }

    ul.agahi-contains h2 {
        margin: 0;
        margin-top: 10px;
        margin-right: 5px;
        font-size: 11.7pt;
        font-weight: normal;
    }

    .navbar-nav {
        margin: 12.5px -15px;
        border: solid 1px #d8d8d8;
        width: 163px;
        margin-right: 0;
        padding-right: 0;
        border-radius: 4px;
        box-shadow: 1px 2px 2px 0px #cdcdcd;
        background: white;
        overflow: hidden;
    }

    .navbar-nav li:nth-child(2) a {
        border-radius: 4px 4px 0 0;
    }

    .wrapper-agahi-image {
        overflow: hidden;
        width: 134px;
    }

    .price {
        font-size: 9pt;
        margin-right: 5px;
        color: gray;
        direction: rtl;
        padding-top: 57px;
    }

    ul.agahi-contains {
        border-top: solid 1px #dfdfdf !important;
    }

    .modal-body.col-xs-12 {
        padding: 6px;
    }

    .hame_ostanha .col-xs-4 {
        padding: 6px;
        margin: 0;
    }

    .shahrestanha {
        max-height: 400px !important;
        overflow-y: auto;
    }

    .read_agahi_name {
        margin: 0 auto;
        width: 94.9%;
        background: #f5faf5;
        padding: 12px;
        border: solid 1px #c4e2c4;
        border-radius: 3px;
    }

    .read_agahi_name a {
        color: black;
        text-decoration: none;
    }

    .carousel-indicators {
        direction: ltr;
    }

    span:nth-child(2) {
        text-align: right;
        color: #3d3d3d !important;
        font-size: 11pt;
    }

    li span {
        font-size: 11pt;
        color: #5f5f5f !important;
        padding: 0;
        width: 50%;
        display: inline-block;
        text-align: left;
        padding: 0px 12px;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(1) {
        padding-right: 4.4px;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(2) {
        padding-left: 4.4px;
    }

    .col_agahi_info {
        margin-top: 30px;
    }

    .panel-default {
        padding-right: 15px;
    }

    .glyphicon-chevron-right:before, .glyphicon-chevron-left:before {
        color: white;
    }

    .panel-default>.panel-heading {
        background-color: #fafafa;
    }

    .panel-title {
        font-size: 14px;
        padding-top: 0px;
        margin-top: -6px;
        padding-right: 49px;
    }

    span.send-time {
        display: block;
        font-weight: normal;
        padding-top: 20px;
        padding-right: 0;
        font-size: 13px;
        color: gray;
    }

    .carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
        display: block;
        height: auto;
        width: 100%;
        border: solid 1px rgb(245, 245, 245);
        position: absolute;
    }

    .item.active {
        width: 100%;
        display: block;
        background: lightgray;
        padding-bottom: 100%;
    }

    .carousel-inner > .item {
        width: 100%;
        max-width: 100%;
    }

    span:nth-child(2) {
        text-align: right;
        color: black;
        font-size: 15px;
        font-weight: 700;
    }

    li span {
        font-size: 15px;
        color: gray;
        padding: 0;
        width: 50%;
        display: inline-block;
        text-align: right;
    }

    .col-lg-6 .carousel {
        max-width: 100%;
    }

    .device-display {
        display: none;
    }

    .pc-display {
        display: block;
        max-width: 97.4%;
    }

    .col_agahi_info {
        margin-top: 5.5px;
    }

    .panel-default>.panel-heading {
        background-color: transparent;
        padding-right: 7px;
    }

    .panel-default>.panel-heading {
        color: #333;
        background-color: transparent;
        border: none;
        /* border: solid 1px #e6e6e6; */
        border-bottom: none;
        border-radius: 4px 4px 0 0;
        padding-right: 0;
        padding-left: 0;
        border-bottom: solid 1px #dbdbdb !important;
        margin-bottom: 0px;
        padding-bottom: 10px;
    }

    .panel-title {
        font-size: 15.5pt;
        font-weight: bold;
        display: block;
        /* padding-right: 5px; */
        width: 80.5%;
        /* margin-right: 15px; */
    }

    .list-group-item {
        padding: 16px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .panel-default {
        padding-right: 15px;
        padding: 0 0px;
        padding-right: 25.5px;
    }

    .panel-footer {
        background-color: transparent;
        border-top: none;
        font-size: 11.7pt;
        padding-top: 24px;
        padding-right: 5px;
        line-height: 187%;
    }

    .device-display {
        display: none;
    }

    .device-display {
        display: block;
        border-top: solid 1px #eeeeee;
        margin-top: 0px;
    }

    .pc-display {
        display: none;
    }

    .trade-warning p:nth-child(1) {
        border-bottom: solid 1px #eeeeee;
        padding-bottom: 27px !important;
    }

    .trade-warning p {
        padding: 7px 0 !important;
    }

    .trade-warning p:nth-child(2) {
        margin-bottom: 38px !important;
    }

    .panel-title {
        width: 83.5%;
        font-size: 15px !important;
        padding-top: 0px !important;
        letter-spacing: -0.2px;
    }

    .toman {
        letter-spacing: 0;
    }

    .col-lg-12.col_agahi_info .col-lg-6 {
        padding-right: 0;
        padding-left: 0;
    }

    .panel-default {
        padding: 0 !important;
        margin-top: 0px
    }

    .read_agahi_name {
        margin: 0 auto;
        width: 100%;
    }

    .col_agahi_info {
        margin-top: 4px;
    }

    li span {
        padding: 0px 9px;
    }

    li span:nth-child(2) {
        width: 68%;
    }

    .list-group-item span:nth-child(1) {
        width: 32%;
    }

    /*.list-group-item {
            border: none !important;
            padding:5px;
        }*/
    .list-group-item:nth-child(2) {
        margin-top: 9px !important;
    }

    li.list-group-item:nth-child(2) {
        border-top: 1px solid #ececec !important;
        padding-top: 32px !important;
    }

    li.list-group-item:nth-last-child(1) {
        border-bottom: 1px solid #ececec !important;
        padding-bottom: 32px !important;
    }

    .panel-footer {
        padding-top: 32px;
        padding-bottom: 32px;
        padding-right: 5px;
        text-align: right;
        font-size: 11pt;
    }

    .carousel-indicators {
        margin-bottom: -38px;
    }

    .carousel-indicators li {
        background-color: lightgray;
        border: 1px solid lighgray;
        width: 11px;
        height: 11px;
        margin: 0px;
    }

    .carousel-indicators .active {
        width: 10px;
        height: 10px;
        margin: 0.2px;
        background-color: black;
        border-color: black;
    }

    .list-group-item:hover {
        background: white;
    }

    .list-group-item div {
        display: inline-block;
        /*width: auto;*/
        padding: 7.5px 5.4px;
        /* 7.5px 9px */
        background: #008000;
        text-align: center;
        color: white;
        border-radius: 3px;
    }

    .list-group-item > div:nth-child(2) {
        /* float: left; */
        background: white;
        color: green;
        margin-right: 5px;
        border: solid 1px green;
        width: 81px;
    }

    .panel-heading+.list-group .list-group-item:first-child {
        border-top-width: 0;
        /* background: #f9f9f9; */
        padding-bottom: 10px;
        /* padding: 9px; */
        /* border: solid 1px #e6e6e6 !important; */
        border-top: none !important;
        border-radius: 0 0 4px 4px;
        margin-top: 7px;
        margin-bottom: 19px;
    }

    .list-group-item:first-child {
        padding: 0;
        border: none !important;
    }

    .list-group-item:nth-child(2) {
        margin-top: 32px;
        border: none;
    }

    .trade-warning p {
        line-height: 232%;
        margin: 14px 0;
        padding-bottom: 27px;
    }

    .trade-warning p span {
        float: right;
        font-size: 20pt;
        color: black;
    }

    .title-agahi {
        display: inline;
        padding: 0 4px;
        font-weight: 700;
    }

    .read-more-about-title {
        padding: 0 5px;
    }

    .col-md-6 .panel-default {
        padding: 0 75px;
        padding-right: 1px;
    }

    .col-md-6 span:nth-child(2) {
        text-align: right;
        color: black;
        font-size: 11.5pt;
    }

    .col-md-6 li span {
        font-size: 11pt;
        color: gray;
        padding: 0;
        width: 50%;
        display: inline-block;
        text-align: right;
    }

    .panel-default {
        padding: 0;
        padding-right: 1px;
    }

    .read-more-about-title {
        padding: 0 11px;
    }

    li span {
        padding: 0px 9px;
    }

    li span:nth-child(2) {
        width: 68%;
    }

    .list-group-item span:nth-child(1) {
        width: 32%;
    }

    .list-group-item {
        border: none !important;
        padding: 7px;
    }

    .list-group-item:nth-child(2) {
        margin-top: 9px !important;
    }

    li.list-group-item:nth-child(2) {
        border-top: 1px solid #ececec !important;
        padding-top: 32px !important;
    }

    li.list-group-item:nth-last-child(1) {
        border-bottom: 1px solid #ececec !important;
        padding-bottom: 32px !important;
    }

    .chid {
        background: green !important;
        color: white !important;
    }

    .golbar img {
        max-width: 100%;
    }

    .golbar {
        width: 70px;
        height: 62.4px;
        position: absolute;
        left: 267px;
        margin-top: 15px;
        opacity: 0;
        transform: scale(0.24);
        z-index: -9999 !important;
        margin-left: -244px;
        -webkit-box-shadow: 0 0 5px rgba(0,0,0,.0975);
        box-shadow: 0 0 5px rgba(0,0,0,.0975);
    }

    .golpar {
        transform: scale(0.34) !important;
        margin-top: -54px;
        transition: all 0.3s ease-in-out;
        transition: opacity 0.1s ease-in-out;
        opacity: 0 !important;
        z-index: -9999 !important;
        box-shadow: 0px 0px 0px 0px transparent;
    }

    .golbin {
        opacity: 1;
        transform: scale(1);
        transition: all 0.3s ease-in-out;
        z-index: -9999 !important;
    }

    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: rgba(0, 0, 0, 0.75);
        opacity: 0.8;
        opacity: 0.85 !important;
    }

    .navbar-nav {
        z-index: +999 !important;
    }

    .modal-body {
        overflow: hidden;
    }

    .input-modal {
        width: 90%;
        margin-right: 5%;
        padding: 12px;
        margin-bottom: 7px;
        border-radius: 3px;
        border: solid 1px lightgray;
    }

    textarea.modal-textarea {
        width: 90%;
        height: 115px;
        margin-right: 5%;
        padding: 12px;
        border-radius: 3px;
        border: solid 1px lightgray;
        overflow: auto;
    }

    .input-modal:focus, .modal-textarea:focus {
        border-color: green;
        outline: none;
    }

    #modal-2 .btn-block {
        display: block;
        width: 90%;
        margin-right: 5%;
        padding: 12px;
        margin-top: 38px;
        background: green;
        border: none;
    }

    #modal-2 .btn-block:active {
        background: rgba(0, 128, 0,.9);
    }

    .modal .btn-block:focus {
        outline: none;
    }

    label {
        width: 90%;
        margin-right: 2.5%;
        padding: 5px;
    }

    label {
        display: inline-block;
        max-width: 100%;
        font-weight: 700;
        font-size: 14px;
        background: transparent;
        padding: 12px;
        border-radius: 0;
        border-bottom: none;
    }

    input[type=checkbox] {
        margin-left: 12px;
    }

    .option-gozaresh {
        margin-bottom: 15px;
        margin-right: 9px;
    }

    label:nth-child(1) {
        margin-top: 7%;
    }

    .option-gozaresh {
        overflow: auto;
        height: 140px;
    }

    /* The container */
    .option-gozaresh .container {
        /* display: block; */
        position: relative;
        /* padding-left: 35px; */
        /* margin-bottom: 12px; */
        /* cursor: pointer; */
        /* font-size: 22px; */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        text-align: right;
        margin-right: 22px;
        padding-right: 42px;
        cursor: pointer;
        direction: ltr;
    }

    .option-gozaresh .container {
        margin-right: 0 !important;
    }

    label.container {
        padding: 14px !important;
        width: 100%;
    }

    /* Hide the browser's default checkbox */
    .option-gozaresh .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    /* Create a custom checkbox */
    .option-gozaresh .checkmark {
        position: absolute;
        top: 27%;
        right: 4%;
        height: 19px;
        width: 19px;
        background-color: #ffffff;
        border: solid 1px #d7ebd7;
        border-radius: 50%;
    }

    /* On mouse-over, add a grey background color */
    .option-gozaresh .container:hover input ~ .checkmark {
        background-color: #c5e2c5;
    }

    /* When the checkbox is checked, add a blue background */
    .option-gozaresh .container input:checked ~ .checkmark {
        background-color: green;
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    .option-gozaresh .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .option-gozaresh .container input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */
    .option-gozaresh .container .checkmark:after {
        left: 6px;
        top: 3px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg)scale(0.85);
        -ms-transform: rotate(45deg)scale(0.85);
        transform: rotate(45deg) scale(0.85);
    }

    .trade-warning p:nth-last-child(1) {
        cursor: pointer;
    }

    .navbar-toggle, .golchinha {
        transition: all 0.2s ease-in-out;
        z-index: +99999;
    }

    .navbar-toggle {
        background: white;
    }

    .bigger {
        transform: scale(1.2);
    }

    .device-agahiha {
        display: none !important;
    }

    .col_agahi_info .list-group-item span:nth-child(2) {
        width: 100%;
        padding-right: 0;
    }

    li.list-group-item.cat {
        margin-right: 49px;
        margin-top: 0px !important;
        padding-bottom: 4px;
    }

    .device-agahiha {
        display: block !important;
    }

    col_agahi_info .list-group-item span:nth-child(2) {
        width: 100%;
        padding: 0 !important;
        padding-right: 55px !important;
        padding-top: 9px !important;
    }

    .container-fluid:nth-child(6) {
        padding: 0 !important;
    }

    .golbar {
        left: 10px !important;
    }

    .golpar {
        transform: scale(0.47) !important;
        margin-top: -70px !important;
        transition: all 0.2s ease-in-out 0.02s !important;
        opacity: 0.9 !important;
        margin-left: -4px;
    }

    .golbar {
        top: 70px;
    }

    .golbar {
        width: 60px;
        height: 60px;
        position: absolute;
        opacity: 0;
        transform: scale(0.1);
        z-index: -9999 !important;
        margin-left: -4px;
    }

    .golbin {
        opacity: 1;
        transform: scale(1);
        transition: all 0.34s ease-in-out;
        z-index: -9999 !important;
        margin-left: -4px;
    }

    .bigger {
        transform: scale(1.1);
    }

    label.container {
        padding: 12px !important;
        width: 100%;
        margin: 0 !important;
    }

    .option-gozaresh .checkmark {
        position: absolute;
        top: 32%;
        left: 0%;
        height: 19px;
        width: 19px;
        background-color: #ffffff;
        border: solid 1px rgb(199, 199, 199);
        border-radius: 50%;
        margin-left: 10px;
    }

    .option-gozaresh .container {
        /* display: block; */
        position: relative;
        /* padding-left: 35px; */
        /* margin-bottom: 12px; */
        /* cursor: pointer; */
        /* font-size: 22px; */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        text-align: right;
        margin-right: 7px;
        padding-right: 42px;
        cursor: pointer;
    }

    .option-gozaresh label.container:nth-last-child(1) {
        margin-bottom: 0;
    }

    .modal .modal-footer {
        border-top: none;
    }

    .glyphicon-chevron-left {
        background: transparent !important;
        /* color: black !important; */
    }

    span .glyphicon-chevron-left {
        /* margin-bottom: -45px; */
        /* bottom: 0; */
        display: inline;
        font-size: 7pt;
        padding: 0 2px;
        margin: 0px;
    }

    .glyphicon-chevron-left:before {
        font-weight: 700;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(1) {
        padding-left: 19.4px;
    }

    .panel-footer {
        height: 369px;
        font-size: 13px;
        padding-right: 0;
        padding-bottom: 0;
        padding-top: 9px;
        overflow-y: auto;
        direction: ltr;
        position: absolute;
        right: 17px;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(1) {
        padding-left: 0px;
        padding-right: 12px;
    }

    .panel-default {
        padding-right: 15px;
        padding: 0 0px;
        padding-right: 10.5px;
    }

    .panel-heading+.list-group .list-group-item:first-child {
        cursor: auto;
    }

    .panel-heading+.list-group .list-group-item:first-child div {
        cursor: pointer;
    }

    .golchin div {
        border: none !important;
    }

    .panel-heading div {
        display: inline-block;
        vertical-align: top;
    }

    .post-user-info {
        border: solid 1px #ebebeb;
        padding: 3px;
        border-radius: 3px 3px 0 0;
        /* float: right; */
        border-bottom: transparent;
        border-color: transparent;
        padding-left: 0px;
    }

    .post-user-info img {
        /*padding: 3px;*/
        border-radius: 50%;
        /*border: solid 1px #f1f1f1;*/
        box-shadow: 0 0 4px #f1f1f1;
        margin-top: 2px;
    }

    .follow {
        background: white !important;
        color: green !important;
        border: solid 1px green;
        margin-right: 5px;
        float: left;
        width: 73.4px !important;
    }

    .followed {
        background: white !important;
        color: green !important;
        opacity: 0.85;
    }

    div#modal-5 {
        top: 0%;
    }

    #modal-5 .modal-dialog {
        width: 27%;
    }

    #modal-5 .list-group-item:first-child {
        padding: 15px 0;
        border-bottom: solid 1px #efefef !important;
    }

    #modal-5 .list-group-item:nth-child(2) {
        margin-top: 0px;
        border-bottom: solid 1px lightgray;
    }

    #modal-5 .list-group {
        margin-bottom: 0px;
    }

    #modal-5 .list-group-item:first-child {
        padding-top: 7px
    }

    #modal-5 .list-group-item div {
        display: inline-block;
        width: auto;
        background: #ffffff;
        text-align: center;
        color: #d4d4d4;
        border-radius: 3px;
        font-size: 23px;
        padding: 0;
    }

    #modal-5 .list-group-item div {
        vertical-align: middle;
    }

    #modal-5 .glyphicon {
        margin-bottom: 4.5px !important;
        padding-right: 2% !important;
    }

    #modal-5 .modal-footer {
        padding: 0px;
    }

    #modal-5 .modal-content {
        border-radius: 0px;
    }

    #modal-5 .modal-body {
        padding-top: 5px;
        padding-bottom: 0px;
    }

    .col_agahi_info .list-group-item div:nth-child(1) img {
        width: 20px;
        opacity: 0.9;
    }

    .col_agahi_info .cat div {
        padding-top: 4px;
        padding-left: 0;
        padding-right: 0;
        margin-left: -2px;
        margin-right: -2px;
    }

    body {
        margin-top: 60px !important;
        direction: inherit;
    }

    div {
        direction: rtl;
    }

    .trade-warning p:nth-child(1) {
        border-bottom: none;
        padding-bottom: 9px !important;
        margin-bottom: 0;
        padding-top: 0 !important;
        margin-top: 9px;
        margin-right: -7px;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(1) {
        padding: 0 !important;
    }

    #modal-5 .modal-dialog {
        width: 100%;
        margin: 0 !important;
        padding: 7px !important;
        top: 35%;
    }

    .carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
        right: 50%;
        margin-right: -19px;
    }

    .carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
        left: 50%;
        margin-left: -19px;
    }

    li.list-group-item:nth-last-child(1) {
        border-bottom: 1px solid #ececec !important;
        padding: 4px !important;
        top: -171px;
        border: none !important;
        right: -1px;
        font-weight: 700;
        /* padding-bottom: 24px !important; */
    }

    .panel-default>.panel-heading {
        margin-top: 42px;
        border-top: solid 1px rgb(219,219,219);
        border-radius: 0;
        margin-right: 2.7px;
        width: 98%;
    }

    span.send-time {
        position: absolute;
        top: -37px;
        left: 21px;
        font-size: 14px;
        font-weight: 700;
    }

    .post-user-info {
        position: absolute;
        top: 68px;
        right: 15px;
    }

    .carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
        border: none !important;
    }

    .col_agahi_info {
        margin-top: -7px;
    }

    .list-group {
        padding-left: 0;
        margin-bottom: 0px;
        height: 0;
    }

    .panel-footer {
        width: 89.4% !important;
        padding-right: 0 !important;
        right: 19px;
        padding-top: 9px !important;
        border-top:solid 1px rgb(219, 219, 219);
    }

    .hidden-panel {
        width: 100%;
        height: 100px !important;
        overflow: hidden;
        position: absolute;
        right: 0;
        margin-top: -8px;
    }

    .panel-footer div {
        direction: rtl;
        padding-right: 0!important;
    }

    .device-display {
        position: absolute;
        bottom: -250px;
        width: 90%;
        right: 18px;
    }

    .golchin {
        position: absolute;
        padding: 0;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
        color: red !important;
        top: 8.4px;
        right: 19px;
        margin-right: 0px !important;
    }

    .golchin div {
        background: transparent !important;
        color: black !important;
        font-size: 15px;
        padding: 6px !important;
        font-weight: 700;
        display: inline;
    }

    .glyphicon.glyphicon-bookmark {
        padding: 0 !important;
        font-size: 12px;
        margin-left: 5px;
    }

    div#modal5 {
        width: 99%;
        padding: 11px;
        border: 1px solid lightgray;
        color: black;
        font-weight: 700;
        height: 42.5px;
    }

    .panel-footer {
        width: 96.4% !important;
        padding-right: 0px !important;
        right: 7px;
        padding-top: 0px !important;
        border-top: solid 1px rgb(228,228,228);
    }

    .option-gozaresh {
        margin-bottom: 15px;
        margin-right: 0px;
        height: 101px;
        overflow: auto;
        width: 100%;
        /* direction: ltr; */
    }

    textarea.modal-textarea {
        height: 85px;
    }

    #modal-2 .modal-dialog {
        margin-top: 15.2% !important;
    }

    .list-group-item div {
        background: #ffffff;
    }

    .panel-default>.panel-heading {
        border-bottom: none !important;
    }

    .list-group-item div {
        padding: 0;
    }

    .panel-heading+.list-group .list-group-item:first-child {
        padding-right: 3.6px;
    }

    .option-gozaresh {
        margin-bottom: 15px;
        height: 100%;
        overflow: visible;
        /* direction: ltr; */
    }

    .option-gozaresh .checkmark {
        border: solid 1px lightgray;
    }

    .option-gozaresh {
        font-weight: 700;
        padding: 12px 9px;
    }

    .option-gozaresh span.glyphicon-chevron-left {
        float: left;
        font-size: 21px !important;
        vertical-align: middle;
        top: 0px;
        left: -2px;
    }

    div.active-report span {
        float: right !important;
        transform: scale(0.575) rotate(180deg) translateX(-19px);
    }
}

.list-group-item:hover {
    background: transparent !important;
}

li span {
    font-size: 12.5px!important;
}

.panel-heading {
    border-bottom-color: transparent !important;
}

.panel-title {
    font-size: 12pt;
}

span.send-time {
    padding-top: 9px;
    font-size: 13px;
    padding-right: 0;
    color: gray;
}

.list-group-item:nth-child(2) {
    margin-top: -22px;
    padding: 8px 0;
    padding-top: 5px;
}

.panel-footer {
    height: 369px;
    width: 100%;
    font-size: 13px;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 9px;
    overflow-y: auto;
    padding: 0;
    direction: rtl;
}

.panel-footer div {
    direction: rtl;
    padding-right: 9px;
}

#modal5,.golchin {
    font-size: 13px !important;
}

.panel-heading > .list-group-item span {
    font-size: 14px !important;
}

.post-user-info img {
    margin-top: 0px;
}

.panel-heading > .list-group-item > span {
    color: #000 !important;
    font-weight: normal;
    direction:ltr;
}

.glyphicon.glyphicon-chevron-left {
    font-size: 13.5px;
}

.glyphicon-chevron-left:before {
    font-weight: 700;
}

.panel-title {
    font-size: 15px;
    padding-top: 0px;
}

.hidden-panel {
    width: 100%;
    height: 369px;
    overflow: hidden;
    position: absolute;
    right: 0;
}

@media screen and (max-width: 768px) {

    .panel-footer div {
        direction: rtl;
        padding-right: 9px;
        /*border-bottom: solid 1px #ebebeb;*/
        padding: 22px;
        font-size: 15px;
        line-height: 175%;
    }

    .col_agahi_info .cat div {
        padding-top: 3px !important;
        padding-left: 0 !important;
    }

    .glyphicon.glyphicon-chevron-left {
        font-size: 11.5px !important;
    }

    .glyphicon-chevron-left:before {
        font-weight: 700 !important;
    }

    .panel-heading > .list-group-item span {
        font-size: 15px !important;
        font-weight: 700;
        letter-spacing: -.2px;
    }

    .col-lg-12.col_agahi_info .col-lg-6:nth-child(2) {
        padding-right: 0 !important;
    }

    .top-menu-post {
        width: 100%;
        background: #fafafa !important;
        height: 54px;
        position: fixed;
        display: block !important;
        z-index: +9;
        right: 0;
        box-shadow:0 0 2.15px 0.6px rgba(0, 0, 0, 0.17);
        top: 0;
        border-bottom: solid .4px white;
    }

    .top-menu-post li {
        display: inline-block;
        width: 49%;
        text-align: center;
        vertical-align: middle;
        height: 100%;
        padding: 17px;
        font-size: 15px;
    }

    .top-menu-post li div {
        vertical-align: middle;
        display: inline;
    }

    .top-menu-post li:nth-child(1) {
        width: 77%;
        float: left;
    }

    .top-menu-post li:nth-child(1) {
        right: -24%;
        position: relative;
    }

    .top-menu-post li:nth-child(2) {
        width: 22%;
        left: -4.7%;
        position: relative;
    }

    .top-menu-post .glyphicon.glyphicon-bookmark {
        font-size: 14px;
        padding-left: 4px;
    }

    body {
        margin-top: 57px
    }

    .container {
        padding: 0 !important;
    }

    .glyphicon.glyphicon-option-horizontal {
        font-size: 22px;
        color: #949494;
        left: 0px;
        top: -3px;
    }

    .glyphicon.glyphicon-chevron-left {
        font-size: 14.5px !important;
        font-weight: bolder;
        top: 0px;
    }

    .top-menu-post .glyphicon.glyphicon-chevron-left {
        float: right;
    }

    .btn.btn-default.saved {
        background: #d70e4e !important;
        border-color: transparent !important;
    }

    .btn.btn-default.saved {
        color: white !important;
    }

    .btn.btn-default.saved .glyphicon-bookmark {
        color: white !important;
    }

    .glyphicon-bookmark {
        display:none !important;
    }

    .golchin > .btn {
        border: solid 1px rgb(228,228,228) !important;
    }

    .golchin div {
        background: transparent !important;
        color: black !important;
        font-size: 16px;
        padding: 6px 17px!important;
        font-weight: 700;
        display: inline-flex;
        border-color: transparent !important;
        top: 0;
    }

    .btn.btn-default.saved div {
        background: green !important;
    }

    span.send-time {
        padding-top: 5px;
        font-size: 16px;
        padding-right: 0;
        color: gray;
        letter-spacing: -0.7px;
    }

    span.priceLabel {
        letter-spacing: -0.7px;
        margin-right: 2px;
    }

    .glyphicon.glyphicon-option-horizontal, .glyphicon.glyphicon-chevron-left:before {
        color: rgb(154,154,154) !important;
    }
}
@media (min-width: 500px) and (max-width: 1199.98px) {

    .top-menu-post li:nth-child(2) {
        width: 85px;
        left: -4.5%;
        position: relative;
    }

}

@media screen and (max-width: 768px) {

    #modal-5 .modal-content {
        border-radius:3px !important;
    }

    #modal-5 .modal-title {
        font-weight: normal !important;
        color: green;
        font-size: 14.5px;
    }

    #modal-5 .close {
        display: none;
    }

    #modal-5 .modal-header {
        border: none !important;
        padding-top: 15px;
        padding-bottom: 4px;
        opacity: 1;
        width: 50%;
    }

    .modal-body .list-group-item {
        border: none !important;
        padding: 7px 0 !important;
        margin: 0 !important;
    }

    .modal-body .list-group-item .glyphicon {
        margin-right: 4px;
        color: gray !important;
    }

    .modal-body .list-group-item:nth-last-child(1) {
        padding-bottom: 15px !important;
    }

    #modal-5 .list-group-item:first-child {
        border-bottom: none !important;
    }

    .modal.fade .modal-dialog {
        -webkit-transition: -webkit-transform .3s ease-out;
        -o-transition: -o-transform .3s ease-out;
        transition: transform .3s ease-out;
        -webkit-transform: translate(0, 25%);
        -ms-transform: translate(0, 25%);
        -o-transform: translate(0, 25%);
        transform: translate(0, 25%);
    }

    .modal.in .modal-dialog {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .options {
        position: fixed;
        z-index: +9999;
        background: white;
        width: 100%;
        height: 32%;
        right: 0;
        bottom: -294px;
        overflow: hidden;
        transition: all 0.2s;
    }

    .options ul.optionsList {
        padding: 0;
    }

    .options ul.optionsList li.list-group-item {
        padding: 15px !important;
        border: none !important;
        font-weight: 700 !important;
        font-size: 15px;
        transition: all 0.2s ease;
    }

    .options ul.optionsList li.list-group-item:nth-child(1) {
        border-bottom: 1px solid rgb(242,242,242) !important
    }

    .options-back-drop {
        background: rgba(0, 0, 0, 0.75);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        z-index: +999;
    }

    ul.optionsList li.list-group-item div {
        color: black !important;
        float: right;
        padding-left: 7px;
    }

    ul.optionsList li.list-group-item:nth-last-child(1) {
        top: 0 !important;
        right: 0 !important;
        font-weight: 700 !important;
    }

    ul.optionsList .list-group-item span {
        display: block;
        font-weight: 100;
        margin-top: 5px;
    }

    .item-open {
        top: 0px;
        display: block !important;
        width: 100%;
    }

    .item-opened {
        position: fixed;
        z-index: +99999;
        background: white;
        width: 100%;
        height: 100% !important;
        right: 0;
        bottom: 0;
        overflow: hidden;
    }

    .fix {
        display: block !important;
    }

    .item-open .item-opened-data {
        display: block !important;
    }

    span.sfsh_btn {
        display: none !important;
    }

    li[data-class="true"] .glyphicon:before {
        transform: scale(1.5);
    }

    li[data-class="true"] .glyphicon-option-horizontal:before {
        content: "";
        background: url('http://piqagram.ir/uploads/e13afa519a6b.png');
        display: inline-block;
        width: 22px;
        height: 22px;
        background-position: 261px -443px;
        background-size: 411px 259px;
        transform: scale(1.85) !important;
        opacity: 0.65;
    }

    li[data-class="true"] .glyphicon.glyphicon-chevron-left:before {
        content: "";
        background: url(http://piqagram.ir/uploads/e13afa519a6b.png);
        display: inline-block;
        width: 22px;
        height: 22px;
        background-position: 260px -496px;
        background-size: 411px 259px;
    }

    li[data-class="true"] {
        padding: 0;
    }

    li[data-class="true"] div {
        display: inline-block;
        width: 24px;
        height: 24px;
        clear: both;
        vertical-align: middle;
        margin-top: 14px;
    }
}

.wrapper-agahi-image {
    overflow: hidden;
    width: 100%;
}

.agahi-contains li:nth-child(2) {
    border: none !important;
    height: 54px !important;
}

ul.agahi-contains h3 {
    padding-top: 0px;
    margin-top: 0px;
    display: none;
}

.agahi-contains li {
    height: auto !important;
    background: white;
}

.agahi-image {
    background: url(http://piqagram.ir/uploads/nopicphoto.jpg) /*#efefef; !important; */;
    width: 50px;
    height: 50px;
    /* background-position-x: -15px !important; */
    right: 24px;
    top: -20px;
    overflow: hidden;
    border-radius: 50px !important;
    position: absolute;
    /* background-position-y: -10px; */
    /* background-size: cover !important; */
}

.price {
    color: #828282 !important;
    font-size: 8.8pt;
    position: relative;
    top: 1px;
    background: transparent;
    padding: 5px 4.9px !important;
    right: -1px;
    border-radius: 3px;
    padding-right: 1px!important;
    direction: rtl;
    margin-right: 0px;
    letter-spacing: -.7px;
    /* display: none; */
}

ul.agahi-contains h3 {
    margin-right: 0;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    display: block;
    height: inherit !important;
    width: 100%;
    border: solid 1px rgb(245, 245, 245);
}

.modal-details li:nth-last-child(2) {
    width: 58.5% !important;
    text-align: right;
}

.blog-title {
    display: none;
}

.app-send-button {
    display: none;
}

.agahiha2,.agahiha {
    margin-top: 7px;
}

.agahi-contains li {
    list-style: none;
    float: none !important;
}

.agahi-contains li {
    height: 84px;
    background: white;
}

.agahiha2 .col-lg-3, .agahiha .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
}

.agahi-contains li:nth-child(2) {
    border: 1px solid #dddfe2;
    height: 72px;
}

.agahi-contains li:nth-child(1) {
    width: 100%;
    padding-top: 0;
    vertical-align: top;
    height: 100%;
}

.agahi-contains li:nth-child(2) {
    width: inherit;
}

ul.agahi-contains h2 {
    margin-right: 0px;
    font-weight: 700;
    font-size: 12.7px !important;
    margin-top: 0px !important;
    letter-spacing: -0.21px;
    text-align: right;
}

.agahi-contains li:first-child div {
    padding: 0 !important;
}

.agahi-contains li:nth-child(1) {
    border-radius: 3.4px;
}

ul.list-group.profile-menu {
    width: 34% !important;
}

.agahiha2 .col-xs-6:nth-child(even), .agahiha .col-xs-6:nth-child(even) {
    padding-right: 7px;
    padding-left: 1px;
}

.agahiha2 .col-xs-6:nth-child(odd), .agahiha .col-xs-6:nth-child(odd) {
    padding-left: 7px;
    padding-right: 1px;
}

.editPostButton {
    margin-top: -75px;
    left: 12.5px;
    font-size: 11px;
    padding: 3.9px;
    background: rgba(55, 55, 55, 0.85);
    /* font-weight: 700; */
    display: block;
}

.agahiha2 .col-xs-6:nth-child(even) .editPostButton, .agahiha .col-xs-6:nth-child(even) .editPostButton {
    left: 5.5px;
}

.carousel-inner {
    border: none !important;
}

.carousel-inner {
    border-radius: 0 !important;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    display: block;
    height: auto;
    width: 100%;
    border: none !important;
}

.modal-body .col-lg-8.col-lg-pull-4.col-md-6.col-sm-12 {
    padding-right: 0 !important;
}

.hidden-footer {
    /* background: red; */
    width: 100%;
    height: 400px;
    position: absolute;
    overflow: inherit !important;
    margin-right: -15px;
}

.modal-body .modal-footer {
    border-top: solid 1px #f1f1f1 !important;
    width: 99.7%!important;
    position: absolute!important;
    right: 0px!important;
    top: 487px!important;
}

#myModal .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .34);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.34);
    transform: scale(0.85);
}

.agahi-image img {
    width: 100%;
    max-height: 100% !important;
    float: left;
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding: 0 !important;
    margin-right: -6.5px;
    border-bottom: none;
    border-radius: 3px;
}

li.list-group-item:nth-child(2) {
    border: none !important;
}

li.list-group-item:nth-last-child(1) {
    border-bottom: none !important;
}

.wrapper-agahi-image {
    overflow: hidden;
    width: auto !important;
}

.agahi-image {
    margin-left: 0;
}

#myModal .modal-dialog.modal-lg {
    top: 4.4%;
}

.under-buttons {
    border-bottom: solid 1px #efefef;
    margin: 10px 244px;
    /* margin-left: 749px; */
    width: 107%;
    margin-right: -10px;
    margin-bottom: 0px;
}

ul.agahi-contains {
    border-top: none !important;
}

.agahi-contains li:nth-child(2) {
    border-radius: 0 0 3px 3px !important;
}

.item-opened-data {
    padding: 0px !important;
    height: 82%;
    width: 100%;
    overflow-y: auto;
    padding: 0 !important;
    right: 0;
}

/*** new positoin style ***/
li[id^="opBuyer"] {
    padding: 19px;
    font-weight: 700;
}

li[id^="opBuyer"] span {
    font-weight: normal;
    padding-top: 7px;
    padding-right: 4px !important;
}

li[id^="opBuyer"] .glyphicon {
    background: transparent !important;
    color: black !important;
    float: right;
}

/*** end new position style ***/
.agahi-contains li:nth-child(2) {
    margin-top: 12px;
    margin-bottom: 9px;
}


@media screen and (max-width: 320px) {
    ul.agahi-contains h2 {
        font-size: 84%!important;
    }

    .profile-info-wrapper li {
        font-size: 79%;
    }

    mark {
        padding: 0;
        background: transparent;
        font-size: 94%;
    }

    .price {
        font-size: 81%;
    }

    span {
        font-size: 84%;
        color: #999999;
        padding-right: 1px;
    }

    .editPostButton {
        margin-top: -77px;
        left: 12.5px;
        font-size: 76%;
        padding: 3.9px;
        /* font-weight: 700; */
        display: block;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha {
        padding: 0;
        padding-left: 0px !important;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha {
        margin-left: -2px !important;
    }
}

@media screen and (max-width: 768px) {
    .person-info {
        background:white;
        width: 100%;
        height: auto;
        direction: ltr;
    }

    .person-info div {
        float: none !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .person-info .pip {
        width: 24px;
        height: 24px;
        z-index: +99999;
        position: relative;
        margin-right: 5px;
    }

    .person-info .pip img {
        max-width: 100%;
        border-radius: 50%;
    }

    .pinf {
        font-weight: 700;
        text-align: right;
        margin-right: 23px;
    }

    .pinf span {
        font-size: 11px !important;
        display: block;
        float: right;
        direction: rtl;
        text-align: right;
        line-height: 134%;
        width: 110px;
    }

    .pinf span:nth-child(2) {
        font-weight: normal;
    }

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

    .more-option-report {
        width: 100%;
    }

    .more-option-report textarea.modal-textarea {
        width: 100%;
        margin: 0;
        border-color: whitesmoke;
    }

    .more-option-report .btn {
        border: none;
        padding: 12px;
        font-weight: 700;
        background: white;
        color: black;
        border: solid 1px #e8e8e8;
    }

    .item-opened-data .btn a {
        color: white;
        padding: 12px !important;
        z-index: +99999;
        width: 100% !important;
        display: block;
    }

    .user_post_edit {
        background: #e8e8e8;
        width: 80px;
        position: fixed;
        top: 7px;
        height: 40px;
        left: 17px;
        line-height: 240%;
        font-size: 16px;
        border-radius: 5px;
        font-weight: 700;
    }

    .post_seller,
    .post_buyer {
        padding: 9px 11px;
        position: fixed;
        top: 5.5px;
        height: auto !important;
        left: 17px;
        border-radius: 3px;
        font-weight: 700;
        font-size: 16px;
        line-height: 155%;
        letter-spacing:-0.2px;
      	padding-left:0;
    }

    .post_buyer span, .post_seller span {
        display: inline;
        vertical-align: middle;
        padding: 9px;
        top: -1px;
        color: #424242 !important;
        padding-left: 8px;
    }

    /*** edit model post page ***/
    #myModal2 {
        z-index: +9999999999999;
    }

    #myModal2 div.panel.panel-default:nth-child(2) .panel-heading {
        border: none !important;
    }

    #myModal2 .panel-default>.panel-heading {
        margin-top: 0 !important;
        border-top: solid 1px #ebebeb !important;
        border-radius: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    #myModal td {
        padding: 5px !important;
        padding-top: 8px !important;
        text-align: right;
        width: 230px !important;
        line-height: 170%;
    }

    #myModal td img {
        float: right;
        width: 97px;
        height: 86.607px;
        margin-top: 0px;
    }

    input[type=checkbox]:checked:after {
        content: "";
        display: block;
        width: 4px;
        height: 7px;
        border: solid black;
        border-width: 0 2px 2px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: 2px;
        left: 4px;
    }

    .panel-default>.panel-heading {
        background-color: transparent !important;
    }

    .admin-search {
        margin-bottom: 0px;
    }

    .panel-default .col-lg-3 {
        padding: 0 ;
    }

    .panel-default>.panel-heading {
        margin-top: 42px;
        border-top: solid 1px rgb(228,228,228);
        border-radius: 0;
        margin-right: 2.7px;
        width: 98%;
        padding-top: 9.4px;
    }

    .panel-default .col-lg-3 input {
        padding: 21px !important;
        padding-right: 11px !important;
        border-radius: 0px;
        border: none;
        border-bottom: solid 1px #e9e9e9;
    }

    .panel-default .col-lg-3 input[type='button'] {
        padding: 11px !important;
        height: auto;
    }

    #update-agahi .form-control {
        padding: 0 !important;
        width: 100% !important;
    }

    #update-agahi .col-lg-4 .form-group {
        margin-bottom: 0 !important;
    }

    .pic {
        margin-left: 4px !important;
        height: 75px !important;
        width: 75px !important;
    }

    .pic span.delPic {
        margin-top: -7px !important;
        margin-right: -7px !important;
    }

    #update-agahi .form-control {
        padding: 0 15px !important;
        width: 92% !important;
        margin-right: 14px;
    }

    form {
        padding-right: 0 !important;
    }

    .panel-default {
        padding-left: 0 !important;
    }

    .help-block {
        font-size: 9px;
    }

    .help-block {
        font-size: 9px;
        padding-right: 17px;
        color: gray;
    }

    .modal-dialog {
        margin-top: 17% !important;
    }

    button.btn.btn-block.btn-success.admin_send_button {
        padding: 9px;
        width: 93%;
        margin: 0 auto;
        font-weight: 700;
        background: white;
        border-color: lightgray;
        color: gray;
    }

    .pic-album{
        display: flex;
    }
    
    #update-agahi .addPic {
        border: solid 1px #e7e7e7;
        border-radius: 5px;
        height: 55%;
        width: 25%;
        background-position: center center !important;
        position: relative !important;
    }
    
    .form-group.field-agahiPic {
        position: relative;
    }
    
    input#agahiPic {
        width: 50% !important;
        height: 111px;
        opacity: 0;
        z-index: +9999;
        position: absolute;
        display: block !important;
    }

    td a {
        width: 46% !important;
        position: relative;
        display: inline-block;
        vertical-align: middle;
        text-align: center;
    }

    tr td {
        text-align: center;
    }

    tr td:first-child {
        text-align: right;
    }

    panel-title {
        font-size: 14.5px !important;
    }

    ul.suggestion {
        background: #282828;
        padding: 0;
        clear:both;
    }

    ul.suggestion li {
        list-style: none;
        font-size: 12px;
    }

    ul.suggestion > li {
        width: 26%;
        float: right;
        padding: 0 !important;
    }

    ul.suggestion > li:nth-child(1) {
        width: 19%;
    }

    ul.suggestion > li:nth-child(2) {
        width: 55%;
    }

    ul.suggestion ul.call-info {
        padding: 0;
    }

    ul.suggestion ul.call-info li {
        float: left;
        margin: 2% 15%;
        border-radius: 50%;
        width: 27px;
        height: 27px;
        margin-left: 0;
    }
    
    ul.suggestion ul.call-info li .glyphicon {
        margin-top: 0px;
        margin-right: 4px;
        color: white;
    }

    ul.suggestion ul.sg-pic {
        background: #8f3b49;
        padding: 0;
    }

    ul.suggestion ul.sg-pic li img {
        border-radius: 50%;
    }

    ul.suggestion ul.sg-pic li:nth-child(1) {
        position: absolute;
        margin-top: 24px;
        z-index: +1;
    }

    ul.suggestion ul.sg-pic li:nth-child(1) img {
        width: 34px;
        height: 34px;
    }

    ul.suggestion ul.sg-pic li:nth-child(2) img {
        width: 57px;
        height: 57px;
        position: absolute;
    }

    ul.suggestion li ul.sg-pic li {
        float: right;
        width: 50%;
    }

    ul.suggestion li ul.sg-pic li img {
        max-width: 100%
    }

    ul.post-info {
        padding: 0px 0;
    }

    ul.post-info li {
        font-size: 11px !important;
    }

    ul.suggestion li {
        padding: 3px 0px;
    }

    ul.suggestion ul.post-info li:nth-child(3) {
        font-weight: 700;
    }

    ul.suggestion {
        min-height: 85px;
        background: transparent;
        padding: 19px;
        padding-left: 21px;
        height: auto;
    }

    ul.suggestion a {
        color: white;
    }

    li[id^="op"] {
        padding: 19px;
        font-weight: 700;
        padding-bottom: 7px;
        margin-top: 75px !important;
    }

    li[id^="op"] .glyphicon {
        background: transparent !important;
        color: black !important;
        float: right;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha2 {
        padding: 15px;
    }

    .col-lg-12.col-md-12.col-xs-12.agahiha2 .option-gozaresh {
        padding-bottom: 19px;
        padding-top: 0;
        border-bottom: solid 1px #f6f6f6;
    }

    .item-opened-data .agahiha2 {
        padding: 5px 15px;
        padding-top: 0;
    }

    .hidden-panel {
        overflow: inherit !important;
    }

    .panel-footer {
        height: auto;
    }

    #modal-3 .btn-block, #modal-sefaresh .btn-block {
        display: block;
        width: 90%;
        margin-right: 5%;
        padding: 12px;
        margin-top: 38px;
        background: green;
        border: none;
    }

    #modal-3 .input-modal, #modal-sefaresh .input-modal {
        margin-bottom: 17px;
    }

    #modal-3 .btn-block, #modal-sefaresh .btn-block {
        padding: 12px;
        margin-top: 23px;
        margin-bottom: 15px;
    }

    /*** end edit model post page ***/
}

@media screen and (max-width: 900px) {

    .carousel a span.glyphicon, .carousel a span.glyphicon {
        display:none;
    }

    .carousel-indicators {
        background: transparent;
        margin-bottom: -15px;
        z-index: +1;
    }

    .carousel-indicators li {
        background: #e8e8e8 !important;
        width: 9px !important;
        height: 9px !important;
        margin:0px !important;       
        opacity:0.5;     
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.4)
    }

    .carousel-indicators li.active {
        background: white !important;
        margin:0px !important;
        opacity:1;
    }

    .hidden-panel2, .hidden-panel, .panel-footer {
        position: relative !important;
        height: auto !important;
        margin: 0 !important;
    }

    li[id^="op"] {
        margin: 0 !important;
    }

    .sefareshPost {
        top: 8.5px;
        right: 99px;
    }

    .modal-body .panel-title {
        padding-right: 0 !important;
    }
}

#myModal2 button.close{
    display:none !important;
}

#myModal2 .panel{
    margin-top:7px;
    margin-bottom:7px;
}

#myModal2 .help-block {
    font-size: 11px;
    padding-right: 17px;
    color: #a4a4a4;
    padding-top: 0px;
}

@media screen and (max-width: 992px)
{
    .glyphicon.glyphicon-earphone,
    .glyphicon.glyphicon-comment {
        background: url(http://piqagram.ir/uploads/e13afa519a6b.png);
    }

    .glyphicon.glyphicon-earphone {
        background-size: 411px 259px;
        background-position: -2497px -129px;
        transform: rotateX(180deg) rotate(-95deg) scale(1) !important;
        display: block;
        width: 24px;
        height: 24px;
    }

    .glyphicon.glyphicon-comment:before,
    .glyphicon.glyphicon-earphone:before {
        content: "";
    }

    .glyphicon.glyphicon-comment {
        background-size: 411px 259px;
        background-position: -382px -129px;
        display: block;
        width: 24px;
        height: 24px;
    }
}
