.c_close {
    text-shadow: 0 0 11px black;
}

.c_close {
    width: auto;
    height: 0;
    position: absolute;
    font-size: 19pt;
    padding: 15px 9.5px;
    margin: 2px 7px;
    /* background: rgba(0, 0, 0, 0.4); */
    cursor: pointer;
    border-radius: 4px;
    line-height: 17%;
}

.c_close:hover {
    text-shadow: 0 0 15px black;
}

.c_close:after {
    content: "×";
    display: block;
    color: white;
    text-align: center;
}

.inside {
    padding: 0 38px;
    margin-bottom: 27px;
}

.agahiha-golchin {
    border: solid 1px #d9d9d9;
    border-radius: 3px;
    width: 100%;
}

@media screen and (max-width: 991px) {
    ul.golchin-contains li {
        width: 100%;
        list-style: none;
        padding: 10px;
        padding-top: 0;
    }

    ul.golchin-contains {
        width: 50%;
        display: inline-block;
        padding: 10px;
    }

    .c_close {
        margin: 5px 15px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    ul.golchin-contains li {
        width: 100%;
        list-style: none;
        padding: 10px;
        padding-top: 0;
    }

    ul.golchin-contains {
        width: 33.3%;
        display: inline-block;
        padding: 10px;
    }

    .c_close {
        margin: 5px 15px !important;
    }
}

@media screen and (max-width: 768px) {
    ul.prbuttons.prbfixed {
        position: fixed;
        z-index: +9999;
        background: white;
        top: 0 !important;
        margin-top: 0;
        right: 0;
    }

    .prbEffect {
        margin-top: 85px !important;
    }

    .agahiha-golchin h1 {
        font-size: 11pt;
        padding: 15px;
        margin: 0;
        border-bottom: solid 1px #d9d9d9;
        margin-bottom: 10px;
        background: rgb(251, 251, 251);
        border-radius: 3px 3px 0 0;
    }

    ul.golchin-contains {
        width: 100% !important;
        display: inline-block;
        padding: 10px;
    }

    .c_close {
        margin: 5px 15px !important;
    }
}

@media screen and (max-width: 768px) {
    .golchin-contains span {
        color: rgba(0, 0, 0, 0.34);
        width: auto;
        padding: 7px 10px;
        border-radius: 3px;
        font-size: 10pt;
        text-align: center;
        height: 0;
        padding-bottom: 27px;
        line-height: 165%;
        margin: 0px;
        position: relative;
        background: none;
    }

    ul.golchin-contains li {
        padding-bottom: 0;
    }

    ul.golchin-contains {
        border-bottom: solid 1px #e6e6e6;
        padding: 21px;
    }

    ul.golchin-contains:nth-child(1) {
        padding-top: 0;
    }

    ul.golchin-contains:nth-last-child(1) {
        border: none;
    }

    .inside {
        padding: 0;
    }

    .agahiha-golchin {
        /* border: solid 1px #d9d9d9; */
        border-radius: 3px;
        width: 100%;
        border: none;
        margin-top: 7px;
    }

    .agahiha-golchin-place p {
        padding-right: 0;
        text-align: right;
        direction: rtl;
    }

    .agahiha-golchin-place {
        padding: 0 !important;
    }

    .c_close {
        width: 45px;
        height: 45px;
        position: absolute;
        font-size: 21pt;
        padding: 15px 9.5px;
        margin: 2px 7px;
        /* background: rgba(0, 0, 0, 0.4); */
        cursor: pointer;
        border-radius: 4px;
        line-height: 0;
        z-index: +99;
        line-height: 47%;
        padding: 10px 8px;
        /* right: 0; */
        font-weight: 700;
        margin-right: -6px !important;
        margin-top: 2px !important;
    }

    .agahiha .col-xs-6:nth-child(odd) .c_close {
        padding-right: 0px;
        margin-right: 2px !important;
    }
}

a,a:hover {
    color: black;
    text-decoration: none !important;
}

@media screen and (max-width: 991px) {
    .golchin-contains span {
        margin-top:250px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .golchin-contains span {
        margin-top:215px;
    }
}

@media screen and (max-width: 768px) {
    .golchin-contains span {
        margin-top:0;
    }
}

@media (min-width: 480px) and (max-width: 767.98px) {
    ul.golchin-contains {
        width: 50% !important;
        display: inline-block !important;
        padding: 9px;
        vertical-align: top;
        padding-top: 0;
        margin-top: 10px
    }

    ul.golchin-contains:nth-last-child(1) {
        border-bottom: solid 1px #e6e6e6;
    }

    .c_time, .c_location, .c_name {
        display: inline;
        direction: rtl;
        padding-left: 7px;
    }

    .golchin-contains span {
        color: rgba(255, 255, 255, 0.85);
        width: auto;
        padding: 7px 10px;
        border-radius: 3px;
        font-size: 10pt;
        text-align: center;
        height: 0;
        padding-bottom: 27px;
        line-height: 165%;
        margin: 0px;
        position: absolute;
        background: none;
        margin-right: -118px;
        background: rgba(0, 0, 0, 0.63);
        margin-top: 215px !important;
    }

    ul.golchin-contains li:nth-child(2) {
        margin: 15px 0px 7px 0;
    }
}

@media (max-width: 522px) and (min-width: 480px) {
    .c_time, .c_location, .c_name {
        display: inline;
        direction: rtl;
        padding-left: 5px;
        font-size: 8.6pt;
    }
}

/*** end of golchinha ***/
header {
    margin-top: 4px;
}

.request-agahi .list-group:nth-child(2) {
    padding-right: 0;
    height: 139px;
    overflow-y: auto;
    direction: ltr;
    text-align: right;
    margin-bottom: 19px;
    border: solid 1px #e7e7e7;
    border-top-color: transparent;
    border-left: none;
    border-color: transparent;
}

.request-agahi .list-group {
    padding-left: 0;
    margin-bottom: 18px;
}

.request-agahi .list-group:nth-child(1) {
    padding-right: 0;
    direction: ltr;
    text-align: right;
}

.request-agahi .list-group:nth-child(1) span {
    float: left;
    color: green;
    font-size: 20.5pt;
    line-height: 60%;
}

.request-agahi .list-group:nth-child(2) span {
    float: left;
}

.request-agahi .list-group-item {
    direction: rtl;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    font-weight: 700;
    color: #008000;
    background-color: #ffffff;
    border: solid 1.34px green !important;
    border-radius: 3px !important;
}

.user-info {
    padding-left: 0;
    padding-right: 0;
    border-radius: 3px;
    border: solid 1px #eaeaea;
}

.user-info img {
    height: 149px;
    width: 149px;
    float: left;
    margin: 12.5px;
    padding: 0px;
    border-radius: 50%;
    /* box-shadow: 0 0 2.4px 0px #05081885; */
    border: 1px solid rgba(0,0,0,.0975);
}

.user-info img {
    height: 149px;
    width: 149px;
    float: left;
    margin: 12.5px;
    /* padding: 4px; */
    border-radius: 50%;
    box-shadow: 0 0 0px 2.4px #fafafa, 0 0 0 4.9px rgb(224, 224, 224);
    border: 1px solid rgba(0,0,0,.0975);
}

.profile-img-wrapper {
    max-width: 42%;
    overflow: hidden;
    padding-left: 0;
    cursor: pointer;
    margin-right: 4px;
}

.profile-info-wrapper {
    height: auto;
    border-left: none;
    border-radius: 0 2px 2px 0;
    width: 58%;
    padding-top: 4px;
    /*padding-left:0;*/
}

.profile-info-wrapper .list-group {
    padding-right: 0;
}

.profile-info-wrapper span {
    float: left;
}

.agahi-col-container {
    margin-top: 24px;
    margin-right: -7px;
}

header .container {
    /*//box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.085);
     border-bottom:solid 1px rgba(0, 0, 0, 0.047);*/
    padding-bottom: 0px;
}

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

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

textarea.modal-textarea {
    width: 90%;
    height: 101px;
    margin-right: 5%;
    padding: 12px;
    border-radius: 3px;
    border: solid 1px lightgray;
    overflow: 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;
}

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

.col-lg-6.request-agahi {
    padding-left: 0;
}

.profile-info-wrapper .list-group-item:nth-child(1):hover {
    background: none;
}

span.buttonFollow {
    margin-right: 7px !important;
}

.profile-info-wrapper .list-group-item:nth-child(1) span {
    color: #d70e4e;
    padding: 10px 11px;
    margin-top: -1.5px;
    float: none;
    font-size: 12.2px;
    margin-right: 7px;
    border-radius: 20px;
    border: solid 2px #d70e4e !important;
}

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

.under-header .btn-success {
    color: #999 !important;
    background-color: #ffffff !important;
    border: solid 1px rgba(0, 0, 0, 0.047);
    border-radius: 0;
    border-left: transparent;
    border-right: transparent;
    border-bottom: transparent;
    margin: 0 16px;
    padding-top: 14px;
    border-top: transparent;
}

.under-header .btn-group {
    margin-top: 9px;
    right: 27.7%;
}

.under-header .btn.btn-success.active {
    border-bottom: solid 1.9px black;
    color: black !important;
    font-weight: bold;
}

.under-header .btn-group a {
    padding-bottom: 11px;
    background: transparent!important;
}

.under-header .btn-success:focus, .under-header .btn-success.focus {
    color: black !important;
}

.under-header .btn-success:active, .under-header .btn-success.active, .open > .dropdown-toggle.btn-success {
    box-shadow: none;
}

.under-header a.btn.btn-success {
    padding-left: 0.5px;
    padding-right: 0.5px;
    margin: 0 24px;
}

.agahi-col-container {
    margin-top: 4px;
    margin-right: -7px;
    padding-left: 12px;
    padding-right: 6px;
}

#modal-4 ul.list-group {
    height: 150px;
    overflow: auto;
    padding-right: 5px;
}

#modal-4 .list-group span {
    float: left;
    padding-right: 9px;
}

#modal-4 .list-group span img {
    width: 80px;
    max-height: 70px;
    padding: 4px;
}

#modal-4 .list-group .list-group-item {
    height: 64px;
    padding: 0;
    border: none !important;
}

#modal-4 .modal-content {
    width: 57%;
    left: -21%;
    direction: ltr;
    margin-top: 9%;
}

#modal-4 .modal-body {
    padding: 0;
}

#modal-4 ul.list-group {
    max-height: 583px;
    overflow: auto;
    padding-right: 5px;
    padding: 0 7px;
    margin-bottom: 2px;
    height: auto;
}

#modal-4 .modal-title {
    text-align: right;
}

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

#modal-4 .modal-header {
    padding: 12px 15px;
    border-radius: 3px 3px 0 0;
}

.modal-details li {
    list-style: none;
    float: right;
}

.modal-details li img {
    width: 47px;
    height: 47px;
    padding: 1.4px;
    float: left;
    margin-left: 1.4px;
    transform: scale(0.9);
    margin-top: 7px;
    border-radius: 67px;
}

ul.modal-details {
    width: 100%;
    padding: 0;
}

li.modal-follow {
    margin-top: 15px;
    margin-right: 4px;
    border: solid 1px green;
    border-radius: 3px;
    padding: 9px;
    font-size: 9pt;
    font-weight: bold;
}

li.modal-follow {
    text-align: center;
    margin-left: 7px;
    width: 18.9% !important;
    z-index: +999;
    margin-right: 4%;
    margin-left: 3%;
    background: #279327;
    color: white;
}

.modal-user-info div {
    padding-top: 13.4px;
    padding-right: 0;
    font-weight: bold;
    font-size: 9.1pt;
}

.modal-user-info div:nth-child(2) {
    color: #b4b4b4;
    font-weight: normal;
}

.modal-details li:nth-last-child(1) {
    float: right;
}

.modal-details li {
    list-style: none;
    float: left;
    width: 32%;
}

li.modal-follow {
    margin-top: 12px;
    margin-right: 4px;
    border: solid 1px green;
    border-radius: 4.4px;
    padding: 9px 8px;
    font-size: 8.5pt;
    font-weight: bold;
}

li.modal-follow:hover {
    opacity: 0.9;
}

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

.modal-details li:nth-last-child(1) {
    float: right;
    width: 15% !important;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-size: 12pt;
    font-weight: bold;
}

#modal-4 a, #modal-4 a:hover {
    color: black;
}

#modal-4 .modal-header {
    padding: 12px 15px;
    /* border-bottom: 1px solid #e5e5e5; */
    background: white;
    color: black;
    opacity: 0.5;
}

#modal-4 .modal-header .close {
    color: black;
    opacity: 0.5;
}

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

.request-agahi .list-group-item:first-child {
    border-radius: 0;
}

.modal-user-info div {
    padding-top: 11.4px;
    padding-right: 0;
    font-weight: bold;
    font-size: 9.1pt;
}

.modal-user-info div:nth-child(2) {
    padding-top: 2.4px;
}

.modal-user-info div a {
    padding-right: 0px
}

.modal-follow .modal-user-info {
    padding-right: 0px
}

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

.modal-user-info div:nth-child(2) a {
    color: rgb(153, 153, 153) !important;
}

.list-group-item {
    padding: 12.5px 15px;
    cursor: pointer;
}

.container {
    padding-right: 60px;
    padding-left: 63px;
    margin-right: auto;
    margin-left: auto;
}

header .col-lg-12 {
    padding: 0;
}

input.input-modal.rqtitle {
    margin-top: 15px;
}

.list-group-item {
    border-bottom: 1px solid rgb(242, 242, 242) !important;
}

.user-info {
    padding-left: 0;
    padding-right: 0;
    border-radius: 3px;
    border: none;
    float: right;
    right: 50%;
    margin-right: -487px;
}

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

/*** new resize ***/
.profile-img-wrapper {
    max-width: 34%;
    float: right;
}

.profile-info-wrapper {
    width: 37%;
    float: right;
}

.container {
    padding-right: 0px;
    padding-left: 103px;
    margin-right: auto;
    margin-left: auto;
}

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

/*** end resize ***/
.list-group-item {
    border-bottom: 1px solid rgb(245, 245, 245) !important;
}

li.list-group-item.active {
    background: white !important;
}

.request-agahi .list-group-item:nth-child(odd) {
    background: #b0b0b00a;
}

.list-group-item {
    padding: 12.5px 15px;
    cursor: pointer;
    padding-left: 11px;
    background: transparent;
}

/***** edit ******/
#modal-7 .list-group {
    padding-left: 1px;
    margin-bottom: 20px;
    margin-top: 7px;
}

button.btn.btn-block.btn-success.save_change_button {
    padding: 12px;
    width: 88%;
    text-align: center;
    margin-top: 20px;
    margin-right: 35px;
    background: green;
    font-weight: 700;
}

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

#modal-7 .form-group {
    margin-bottom: 38px !important;
    padding: 0 11px 0 0;
}

.profile-info-wrapper .list-group-item:nth-child(1) {
    background: white !important;
}

#modal-7 .list-group-item:hover {
    background: white !important;
}

#modal-7 .input-modal {
    margin-bottom: 0px;
    border: solid 1px #efefef;
}

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

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

.input-modal,textarea.modal-textarea {
    border: solid 1px #ececec;
}

.modal-header {
    border-radius: 6px 6px 0 0;
}

.modal-body.modal-body-predit form {
    margin: 0 !important;
    padding: 0 !important;
}

#modal-7 .list-group-item {
    padding: 9px 15px;
    padding-left: 11px;
}

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

.request-agahi .list-group:nth-child(2) .list-group-item {
    border-bottom-color: transparent !important;
}

mark {
    padding: 0;
    background: transparent;
}

.list-group-item p {
    width: 442px !important;
    word-break: break-all;
    padding-top: 4px;
    font-size: 12.5px;
    font-weight: 700;
}

.request-agahi .list-group:nth-child(2) .list-group-item {
    height: 45.5px;
    overflow: hidden;
    font-weight: 700;
}

li.list-group-item.open {
    background: rgb(244, 244, 244) !important;
    height: auto !important;
    overflow: auto !important;
    padding: 10px 15px;
    padding-bottom: 0px;
}

/*******************************************/
.profile-info-wrapper span:first-child {
    float: right;
    font-weight: bold;
    color: black;
    padding-left: 7px;
    font-size: 14px;
}

.profile-info-wrapper span:last-child {
    float: right;
    color: black;
    padding-left: 5px;
    font-size: 13.5px;
}

span.city {
    font-weight: normal !important;
}
/****************************************/

.follower-counter {
    width: 32.2%;
    display: inline-block;
}

.following-counter {
    width: 32.2%;
    display: inline-block;
}

.profile-info-wrapper li {
    margin-top: .5px;
    margin-bottom: .5px;
    border: none!important;
    background: transparent;
    font-size: 15px;
}

.profile-info-wrapper li:nth-child(1) {
    margin-top: 0px;
}

.list-item-title {
    font-weight: 700;
}

.profile-info-wrapper .list-group-item:nth-child(1) {
    font-size: 15.4px;
}

.agahiha .col-lg-4, .agahiha2 .col-lg-4 {
    background: #fafafa;
}

.profile-info-wrapper .list-group-item:nth-child(1) {
    background: #fafafa !important;
}

.list-group-item a {
    padding-right: 0px;
}

.btn-group {
    display: none!important;
}

/****** optional buttons settings ********/
.blog-title {
    color: green !important;
    font-weight: bold;
    font-size: 12pt;
    margin-top: -3px;
    display: inline-block;
    line-height: 370%;
}

.panel-default {
    border: none;
    box-shadow: none;
    padding: 0;
}

.panel-heading {
    font-weight: bold;
    color: green !important;
}

.manege-panel {
    padding-right: 0;
}

li.list-group-item.mini {
    padding: 9px;
    padding-right: 15px;
}

li.list-group-item.topic {
    background: #f7f7f7;
    border-radius: 0 0 3px 3px !important;
}

li.list-group-item.topic {
    padding-right: 7px;
    font-weight: bold;
}

.agahi-col-container {
    float: right;
    padding: 0;
    margin-top: 0;
}

iframe {
    margin-right: 0;
    padding-right: 0;
    float: right;
    border: none;
}

.form-control {
    padding: 12px 12px !important;
    height: auto ;
}

.form-group {
    margin-bottom: 21px !important;
    padding: 0 11px 0 0;
}

.field-agahiPic {
    margin-bottom: 9px !important;
}

.pic-album {
    width: 100%;
    height: 138px;
    margin-right: -3px;
}

#create-agahi {
    margin-bottom: 19px;
}

.panel-default>.panel-heading {
    background-color: rgb(255, 255, 255);
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: gray !important ;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: gray !important ;
    opacity: 1;
    /* Firefox */
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: gray !important ;
    opacity: 1;
    /* Firefox */
}

.form-group .help-block, .form-group .hint-block {
    display: block;
    margin-top: 8.5px;
    margin-bottom: 0px;
    font-size: 8.8pt;
}

.help-block, .hint-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #c7c7c7;
}

form {
    padding-top: 0 !important;
}

.manege-panel {
    padding-right: 0px;
    padding-left: 0px;
}

@media screen and (min-width: 1200px) {
    .manege-panel {
        padding-right: 9px;
        padding-left: 9px;
    }
}

has-success .form-control {
    border-color: #7ac77a !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.admin_send_button {
    margin: 15px 0;
    width: 100%;
    display: block;
    padding: 9px 0;
    margin-top: 9px;
    padding: 12px;
    font-weight: bold;
    font-size: 11pt;
    background: #068606;
    border: none;
}

#agahi-tozihat {
    height: 90px;
}

.container-location {
    padding: 0;
}

.form-group.form-control {
    padding-right: 0;
}

input#agahi-region {
    padding: 14px !important;
}

.panel-default>.panel-heading {
    color: #333;
    background-color: white;
    border: none;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding-right: 4px;
    padding-top: 0;
}

.panel-title {
    font-size: 12.4pt;
    font-weight: bold;
    display: block;
    padding: 17px 0;
    padding-bottom: 0;
    padding-right: 2px;
    color: #018201;
}

.agahi-info-form {
    padding-right: 10px;
    padding-left: 4px;
}

.btn-success.active.focus, 
.btn-success.active:focus, 
.btn-success.active:hover, 
.btn-success:active.focus, 
.btn-success:active:focus, 
.btn-success:active:hover, 
.open > .dropdown-toggle.btn-success.focus, 
.open > .dropdown-toggle.btn-success:focus, 
.open > .dropdown-toggle.btn-success:hover {
    color: #fff;
    background-color: #398439;
    border-color: #255625;
}

.pic-album {
    margin-bottom: 34px;
}

.panel-title:nth-child(1) {
    padding-top: 4px;
}

.pic-album .pic {
    float: right;
    margin-left: 9px;
    height: 128px;
    width: 147px;
    background-color: lightgray;
    overflow: hidden;
}

.pic-album .pic:nth-child(5) {
    margin-left: 0 !important;
}

.form-group > div {
    padding-left: 0
}

.form-group {
    padding-left: 18px;
}

.form-group.field-agahiPic.has-success {
    position: absolute;
}

input#agahiPic {
    height: 146px;
    width: 147px;
    border-radius: 0;
    margin-right: 4px;
    opacity: 0;
    cursor: pointer;
}

.addPic {
    float: right;
    margin-left: 9px;
    height: 147px;
    width: 147px;
    background-color: lightgray;
    overflow: hidden;
    background: url(http://piqagram.ir/uploads/1234.png);
    background-position: center !important;
    background-color: white !important;
    border: solid 1px lightgray;
    border-radius: 3px;
}

.mini {
    padding: 0 !important;
    padding-right: 15px !important;
}

.list-group-item a {
    color: black;
    padding-right: 14px;
    width: 100%;
    display: block;
    margin: 0;
}

.mini a {
    padding: 9px;
}

th {
    text-align: center;
}

td:nth-last-child(1) {
    width: 120px;
    padding: 0px 20px!important;
}

td .glyphicon {
    line-height: 36px;
}

td {
    text-align: center;
}

.table-bordered > thead > tr > th, 
.table-bordered > tbody > tr > th, 
.table-bordered > tfoot > tr > th, 
.table-bordered > thead > tr > td, 
.table-bordered > tbody > tr > td, 
.table-bordered > tfoot > tr > td {
    border: none;
}

.table a, 
.table a:hover, 
.table a:focus, 
.table a:active {
    color: black;
    text-decoration: none;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    background: white;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 15px 0;
    border-radius: 4px;
    padding: 0;
}

.pagination > .active > a, 
.pagination > .active > span, 
.pagination > .active > a:hover, 
.pagination > .active > span:hover, 
.pagination > .active > a:focus, 
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff !important;
    cursor: default;
    background-color: #008000;
    border-color: transparent;
}

.pagination a {
    color: black !important;
}

.pagination > .disabled > span, 
.pagination > .disabled > span:hover, 
.pagination > .disabled > span:focus, 
.pagination > .disabled > a, 
.pagination > .disabled > a:hover, 
.pagination > .disabled > a:focus {
    color: #008000;
    cursor: not-allowed;
    background-color: #efefef;
    border-color: transparent;
    padding: 8px;
    width: 35px;
    text-align: center;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgb(250,250,250);
}

.pagination > li > a, 
.pagination > li > span {
    border-radius: 0 !important;
}

#myModal td {
    padding: 5px !important;
    padding-top: 8px !important;
    text-align: right;
    width: 230px !important;
    white-space: pre-wrap;
}

#myModal th {
    width: 230px !important;
    text-align: left;
}

#myModal .table {
    border: none;
}

#myModal .table tr:nth-last-child(1) th {
    width: 230px !important;
}

#myModal .table tr:nth-last-child(1) td {
    margin-right: -25px
}

#myModal .table tr:nth-last-child(1) td {
    width: 150% !important;
    display: block !important;
    margin-right: -220px;
    position: relative;
    margin-top: 9px;
    margin-bottom: 9px;
    /* background: gray; */
}

#myModal .table tr:nth-last-child(1) {
    background: white;
}

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

#myModal form#create-agahi {
    margin-bottom: 0;
}

#myModal .form-group:nth-last-child(1) {
    margin-bottom: 0 !important;
}

.panel-default {
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    clear: both;
}

tr:hover {
    background: #def3de !important;
}

#myModal .addPic {
    float: right;
    margin-left: 9px;
    height: 112px;
    width: 130px;
    background-color: lightgray;
    overflow: hidden;
    background-position: -14px -14px;
    background-color: white !important;
    border: solid 1px lightgray;
    border-radius: 0px;
}

#myModal .pic-album .pic {
    float: right;
    margin-left: 9px;
    height: 111px;
    width: 147px;
    background-color: lightgray;
    overflow: hidden;
    border: none;
}

#myModal .panel-default {
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    margin-bottom: 4px;
}

#myModal .admin_send_button {
    margin: 7px 0;
    width: 100%;
    display: block;
    padding: 9px 0;
    margin-top: 9px;
    padding: 12px;
    font-weight: bold;
    font-size: 11pt;
    background: #068606;
    border: none;
}

#myModal .pic-album {
    margin-bottom: 19px;
}

#myModal .btn-success:hover {
    color: #fff;
    background-color: #449d44 !important;
    border-color: #398439;
}

#myModal td {
    color: rgba(41, 41, 41, 0.47);
}

#myModal .form-control {
    padding: 10px !important;
    border-radius: 0 !important;
}

input#agahi-city {
    padding: 14px !important;
    line-height: 139%;
}

#myModal tr {
    cursor: pointer;
}

#myModal #w0 tbody tr:nth-last-child(1):hover {
    background: transparent !important;
    cursor: context-menu
}

.modal-header {
    padding: 14px 15px;
    background: #018201;
    color: white;
}

.manege-panel .panel-default {
    position: fixed;
    width: 230px;
}

.glyphicon:hover {
    color: black;
}

.admin-search {
    float: right;
}

.admin-search .col-lg-3 {
    padding-left: 0;
}

.admin-search .col-lg-3:nth-child(4) {
    padding-right: 0;
}

div#w0 {
    padding-left: 17px;
}

form {
    padding: 0;
    padding-left: 17px;
}

.admin-search .col-lg-4:nth-last-child(1) {
    padding-right: 0 !important;
}

.admin-search .col-lg-4:nth-child(1) {
    padding-left: 0 !important;
}

.admin-search .col-lg-4:nth-child(2) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

form#create-agahi {
    padding-right: 4px !important;
}

#w0, .admin-search {
    padding-right: 4px;
    background: transparent;
}

input[type=checkbox] {
    position: relative;
    cursor: pointer;
    float: right;
    margin-right: 12px;
    margin-left: -2px;
    margin-top: 3.2px;
}

input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    top: 0;
    left: 0;
    border: 1px solid #555555;
    border-radius: 2px;
    background-color: white;
}

input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 1px;
    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: 6px;
}

.grid-view td {
    text-align: center;
    /* text-overflow: clip; */
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    vertical-align: middle !important;
    min-width: 79px;
}

.grid-view td img {
    width: 52px;
    border-radius: 3px;
}

.grid-view td:nth-child(1) {
    padding: 7px!important;
}

.agahiha, .agahiha2 {
    direction: rtl!important;
}

/****** end optional buttons settings ********/
li.list-group-item.list-item-title {
    background: #efefef !important;
    border-radius: 2px !important;
}

.col-lg-2 .list-group {
    padding-right: 0
}

.agahi-image img {
    float: none;
}

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

#myModal .panel-default>.panel-heading {
    background-color: transparent !important;
    margin-top: 12px;
}

.content-side-profile {
    padding-left: 245px;
}

.col-lg-2 .list-group-item {
    padding: 9px 15px;
}

.col-lg-2 .list-item-title {
    padding: 11.5px 15px;
}

.col-lg-4.col-lg-pull-8 {
    right: 0;
}

.col-lg-4.col-lg-push-8 {
    left: 0;
}

.form-group .col-lg-4 {
    padding: 7px;
    margin-top: 0px
}

.form-group .col-lg-4:nth-child(1) {
    padding-right: 0px;
}

.form-group .col-lg-4:nth-last-child(1) {
    padding-left: 0px;
}

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

.list-group-item:hover {
    background: rgba(244, 244, 244, 1) !important;
}

.category li.list-group-item {
    font-weight: bold;
    background: #f2f2f2!important;
    border-radius: 3px 3px 0 0;
    padding-right: 19px;
}

.mainCategory .list-group-item {
    border-bottom: 1px solid rgb(234, 234, 234) !important;
}

.mainCategory .list-group-item:hover {
    background: rgba(235, 235, 235, 1) !important;
}

.mainCategory input.list-group-item:hover {
    background: rgb(251, 251, 251) !important;
}

.radif {
    background: white;
}

.buttonReq {
    background: white!important;
    color: #d70e4e!important;
    opacity: 0.85;
}

.profile-info-wrapper .followed {
    background: #d70e4e!important;
    color: white !important;
    margin-top: -9px!important;
    border: none !important;
    padding: 6.4px !important;
}

span.buttonEdit {
    margin-top: -7px !important;
    vertical-align: middle;
    padding: 5px !important;
}

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

.profile-menu .list-group-item .glyphicon-chevron-left {
    float: left !important;
}

.rot span {
    transform: rotate(-90deg) scale(0.575);
    color: lightgray !important;
}

div.panel-collapse:nth-last-child(1) {
    border-bottom: solid 2.4px #f2f2f2cf;
}

.price .edit {
    display: inline;
    color: lightgray;
    padding-right: 4px;
}

a {
    text-decoration: none !important;
}

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

.price a {
    color: white !important;
}

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

#myModal .panel-title {
    font-size: 14pt;
    font-weight: bold;
    display: inline-block;
    padding-top: 8.5px;
    color: black !important;
    padding-right: 0;
    /* margin-right: 15px; */
}

.col-lg-4.col-lg-push-0.col-md-6.col-sm-12 {
    padding-right: 0 !important;
}

div#myModalpr {
    top: 27%;
}

div#myModalpr .modal-dialog {
    width: 26.4%;
}

div#myModalpr .modal-dialog .list-group-item {
    text-align: center;
    font-weight: 700;
}

div#myModalpr .modal-dialog .list-group-item:nth-child(3) {
    color: #3897f0;
}

div#myModalpr .modal-dialog .list-group-item:nth-child(4) {
    color: #ed4956;
}

#myModalpr .panel-heading {
    text-align: center;
    font-weight: normal;
    font-size: 20px;
    color: black !important;
    padding-bottom: 34px;
    padding-top: 21px;
}

#myModalpr .panel-default {
    margin: 0;
}

#myModalpr .list-group-item {
    padding: 15px;
    background: white !important;
    border-radius: 9px;
}

#myModalpr .modal-content {
    border: none !important;
    border-radius: 9px;
}

.sfsh_btn {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    /* border: solid 1px green; */
    background: rgba(0, 110, 30, 0.85);
    padding: 5px;
    border-radius: 4px;
    /* font-weight: 700; */
    display: none;
    width: 96%;
    text-align: center;
    font-weight: bold;
    padding: 39% 0;
    font-size: 21px;
}

.editPostButton {
    float: left;
    position: absolute;
    margin-top: -61px;
    left: 9.5px;
    background: rgba(0, 110, 30, 0.85);
    color: white;
    font-size: 12px;
    border-radius: 3px;
    padding: 4.9px;
    display: none;
}

.buyer-list-group .list-group-item span, 
.seller-list-group .list-group-item span {
    float: left;
    text-align: center;
    background: rgb(58, 160, 58);
    color: white!important;
    border-radius: 50%;
    margin-top: -20px;
    width: auto;
    padding: 0 7px;
    height: 20px;
    padding-top: 3px;
    font-weight: 700;
    font-size: 12px !important;
}

.profile-info-wrapper .list-group-item {
    padding: 13.5px 13px;
}

.bsn:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: #ff4141;
    position: absolute;
    border-radius: 100%;
    top: 5px;
    right: 3px;
    padding-top: 0px;
    font-size: 20px;
    text-align: center;
    transform: scale(.5);
    color: white;
    font-weight: bold;
}

.profilePrivate {
    background: white;
    border: solid 2px lightgray;
    padding: 94px;
    text-align: center;
}

.profilePrivate li {
    list-style: none;
}

.profilePrivate .glyphicon {
    font-size: 64px;
}

.profilePrivate li:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    line-height: 250%;
}

span.glyphicon.glyphicon-cog {
    font-size: 28pt !important;
    position: absolute;
    background: transparent !important;
    border: none !important;
    color: #017a01 !important;
    top: 6px;
}

div#myModalst .modal-dialog {
    width: 22.4%;
    top: 35%;
    border: none;
    text-align: center;
}

#myModalst .panel-default {
    margin: 0;
    border: none;
}

#myModalst .modal-content {
    border: none !important;
    border-radius: 9px;
}

#myModalst .list-group-item {
    border-radius: 9px;
    padding: 18px;
    /* font-weight: 700; */
    border-color: #eaeaea !important;
    border-radius: 0;
    font-size: 14.5px;
}

.settingsBox {
    background: white;
    border-radius: 4px;
    width: 85%;
    right: 8%;
    position: relative;
}

ul.settingsMain {
    padding: 0;
    border: solid 1px #dbdbdb;
    border-radius: 4px;
    display: flex;
    justify-content: end;
    align-items: stretch;
}

ul.settingsMain > li {
    list-style: none;
    border-radius: 0 4px 4px 0;
}

ul.settingsItems {
    padding: 0;
}

ul.settingsItems li {
    padding: 18px;
    border: none !important;
    text-indent: 10px;
}

ul.settingsItems li:hover {
    border-right: solid 2px #dbdbdb !important;
    background: rgb(250,250,250);
    padding-right: 16px;
}

ul.settingsItems li.activeItem {
    border-right: solid 2px black !important;
    padding-right: 16px;
    font-weight: 700;
}

ul.settingsMain li {
    list-style: none;
}

ul.settingsMain > li:nth-child(1) {
    width: 25%;
    background: white;
}

ul.settingsMain > li:nth-child(2) {
    width: 74%;
    background: white;
    border-right: solid 1px #dbdbdb;
    border-radius: 0;
    min-height: 249px;
}

ul.settingsItems li {
    display: block;
}

ul.settingsItems li:nth-last-child(1) {
    border-radius: 0;
}

.error {
    border-color: #cf0000;
    box-shadow: 0 0 7px 0 #ff000012;
}

.done {
    border-color: #3c763d;
    box-shadow: 0 0 7px 0 rgba(60, 118, 61, 0.25098039215686274);
}

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

    body {
        background:white;
    }

    .under-buttons {
        display: none !important;
    }

    .profileMain {
        padding-left: 0px !important;
    }

    .infoBox div:nth-child(2), .infoBox:nth-child(1) .infoText {
        border-top: none !important;
    }

    .content-side-profile {
        padding-left: 0 !important;
        margin-top: 78px;
    }

    .mobile-container {
        padding: 0 !important;
    }

    .user-info {
        width: 100% !important;
        margin-right: 0px !important;
        right: 0 !important;
    }

    .profile-info-wrapper {
        max-width: fit-content;
    }

    .profile-img-wrapper {
        margin: 0 !important;
        padding: 0!important;
    }

    .profile-info-wrapper {
        width: 67%;
        padding: 0;
    }

    .profile-info-wrapper .list-group-item:nth-child(1) {
        font-size: 12.4px;
    }

    .profile-info-wrapper .list-group-item:nth-child(1) span {
        font-size: 13px;
    }

    .profile-info-wrapper li {
        font-size: 12px;
    }

    .follower-counter {
        width: 31.2%;
        display: inline-block;
    }

    .profile-info-wrapper span:first-child {
        font-size: 12px;
    }

    .user-info img, .user-info:hover img {
        height: 88px;
        width: 88px;
        margin: 3.4px;
        margin-left: 1px;
        margin-right: 11px;
        box-shadow: none;
    }

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

    .profile-info-wrapper .list-group-item:nth-child(1) span {
        margin-right: 0;
        float: auto !important;
    }

    span.glyphicon.glyphicon-cog {
        position: relative;
        top: -33.4px;
        right: 128px;
        color: #787777 !important;
        clear: both;
        float: auto !important;
        display: block !important;
    }

    span.buttonEdit {
        margin-top: -2px !important;
        vertical-align: middle;
        padding: 4.5px !important;
        display: inline-block;
        width: 72px !important;
        background: white !important;
        color: black !important;
        border-color: #dfdfdf !important;
        font-size: 12.4px !important;
        text-align: center;
        margin-right: 9px !important;
    }

    mark {
        padding: 0;
        background: transparent;
        font-size: 14px;
        display: inline-block;
    }

    .profile-info-wrapper .list-group-item:nth-child(1) {
        padding: 13.5px 3px;
        text-align: right;
    }

    .profile-info-wrapper .list-group-item {
        padding: 13.5px 4px;
        text-align: center;
        font-weight: 600;
        margin-top: 17px;
        letter-spacing: -0.21px;
    }

    .profile-info-wrapper span:first-child {
        font-size: 16.4px;
        display: block;
        width: 67px !important;
        text-align: center;
        font-weight: bolder;
        padding: 0;
        line-height: 120%;
    }

    div#myModalst .modal-dialog {
        width: inherit;
        top: 28%;
        border: none;
        text-align: center;
    }

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

    #myModal .modal-dialog {
        width: inherit !important;
    }

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

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

    .panel > .list-group, .panel > .panel-collapse > .list-group {
        margin-bottom: 0;
        display: none;
    }

    div#myModalpr .modal-dialog {
        width: inherit;
    }

    li.modal-follow {
        width: 20.9% !important;
        margin-right: 4%;
        margin-left: 1%;
    }

    #modal-4 .modal-content {
        width: inherit;
        left: inherit;
        direction: ltr;
        margin-top: 9%;
    }

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

    .profile-info-wrapper > .list-group li:nth-child(1) {
        position: absolute;
        top: 77px; /*80px*/
        right: -89px;
        background: transparent !important;
        margin-top: 12px;
    }

    .profile-info-wrapper .list-group-item:nth-last-child(1) {
        position: absolute;
        top: 102px;
        right: -90px;
    }

    .profile-info-wrapper .list-group-item:nth-last-child(1) mark {
        margin-left: 4.2px;
        text-align: right;
    }

    .following-counter, .follower-counter {
        width: 28.2%;
    }

    .blog-title {
        display: none;
    }

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

    .profile-info-wrapper {
        height: 170px;
    }

    .agahiha2 {
        margin-top: 55px;
    }

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

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

    .agahiha2 .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 {
        left: 5.5px;
    }

    .modal-body .infoLoading {
        padding: 225px 0;
    }

    #myModal .panel-footer {
        height: 124px !important;
        font-size: 13px !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 4px !important;
        margin-bottom: 0 !important;
        border-bottom: none !important;
        position: absolute !important;
        right: -2px !important;
        overflow-y: scroll !important;
        top: 335px;
        width: 100%;
    }

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

    #myModal .panel-default {
        margin-bottom: 0;
        margin-top: 0;
    }

    #myModal .panel-title {
        font-size: 12.9pt;
        font-weight: bold;
        display: inline-block;
        padding-top: 4.4px;
        width: 77.4% !important;
        /* margin-right: 15px; */
        margin-bottom: 21px;
    }

    #myModal .modal-body {
        overflow: inherit !important;
        border-radius: 4px;
        padding: 0;
    }

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

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

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

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

    .agahi-image {
        background: url(http://piqagram.ir/uploads/nopicphoto.jpg) /*#efefef*/ !important;
        width: 100% !important;
        background-size: contain !important;
        background-position: center!important;
    }

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

    .profile-info-wrapper li {
        font-size: 12px;
        float: right;
    }

    .profile-img-wrapper {
        width: 34%;
    }

    .profile-info-wrapper .list-group-item {
        padding: 13.5px 4px;
        text-align: center;
        font-weight: 600;
        margin-top: 22px;
    }

    .profile-info-wrapper {
        width: 62%;
        padding: 0;
    }

    .profile-img-wrapper {
        max-width: 100%;
        float: right;
    }

    .following-counter, .follower-counter {
        width: 32.2%;
    }

    .infoProfilePic {
        width: 57px!important;
        height: 57px!important;
        margin-top: -4px;
    }

    /*** inbox ***/
    .pageofbox {
        background: white;
        width: 422%;
        max-height: 1860%;
        position: absolute;
        top: -348px;
        margin-right: -266%;
        /* margin-right: 0; */
        /* overflow: auto; */
    }

    .pageofbox::before {
        left: 50%;
        right: 214px;
        margin-left: -185.5px;
        margin-top: -9px;
        bottom: -10px;
    }

    .pageofbox::before {
        content: "";
        display: block;
        width: 19px;
        height: 19px;
        background: white;
        border: solid 1px rgb(239, 239, 239);
        position: absolute;
        left: 50%;
        margin-left: -185.5px;
        margin-top: -9px;
        z-index: -1;
        transform: rotate(45deg);
        -webkit-box-shadow: 0 0 5px rgba(0,0,0,.0975);
        box-shadow: 0 0 5px rgba(0,0,0,.0975);
    }

    .pbContains {
        overflow-y: auto;
        max-height: 321px;
        direction: ltr;
        cursor: pointer;
        height: auto;
        z-index: +99999999999!important;
        margin-top: 0!important;
        position: relative;
        /* z-index: +99999999; */
    }

    .infoBox {
        width: 100%;
        height: auto;
        min-height: 63px;
        padding-top: 0px;
    }

    infoText div:nth-child(1) {
        width: 80%;
        font-size: 12.1px;
        margin-top: -4px;
        margin-right: -4px;
        /* z-index: +99999; */
    }

    .infoText div:nth-child(2) {
        width: 11%;
        border: none;
        float: left;
        padding-left: 0px;
        font-size: 11.5px;
    }

    .pageofbox::after {
        left: 50%;
        margin-top: -3px;
        margin-left: 0;
        /* bottom: -40px; */
        right: 210px !important;
    }

    .pageofbox::after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        background: transparent;
        border-top: solid 14px #ffffff;
        border-right: solid 14px transparent;
        border-bottom: solid 14px transparent;
        border-left: solid 14px transparent;
        position: absolute;
        left: 50%;
        margin-top: 321px;
        margin-left: -190px;
        /* bottom: -97px; */
    }

    /*** end inbox ***/
    header {
        margin-top: -67px;
    }

    .infoProfile {
        width: 18.4% !important;
    }

    .spcontains {
        /* width: 100%; */
        /* height: 100%; */
        /* position: absolute; */
        /* display: block; */
        height: 90%;
        overflow: auto;
    }
}

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

    .user-info img, .user-info:hover img {
        height: 75px;
        width: 75px;
        margin: 3.4px;
        margin-right: 14px;
        box-shadow: none;
    }

    .profile-info-wrapper .list-group {
        margin-right: 7px;
    }

    .profile-info-wrapper li {
        font-size: 11.4px;
    }

    .profile-info-wrapper span:first-child {
        font-size: 12.5px;
        display: block;
        width: 52px !important;
        text-align: center;
        font-weight: bolder;
        padding: 0;
        line-height: 120%;
    }

    .profile-info-wrapper .list-group-item {
        padding: 13.5px 2px;
    }

    .profile-info-wrapper .list-group-item:nth-last-child(1) {
        position: absolute;
        top: 102px;
        right: -77px;
    }

    .profile-info-wrapper > .list-group li:nth-child(1) {
        position: absolute;
        top: 63px;
        right: -77px;
        background: transparent !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;
    }
}

.profile-info-wrapper .list-group-item:nth-last-child(1) mark {
    margin-left: 4.2px;
}

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

    .sdactive {
        border-color: black !important;
        color: black !important;
    }

    .infoText {
        border-color: rgb(237, 237, 237) !important;
    }

    .infoText p:nth-child(2) {
        color: #494949;
        direction: rtl;
        line-height: 152%;
    }

    .infoBox:nth-child(1) {
        margin-top: 11.4px;
    }

    ul.list-group.profile-menu {
        width: 91% !important;
        margin: 0 !important;
    }

    .spcontains .list-group-item a {
        color: black;
        padding-right: 14px;
        display: inline;
        margin: 0;
    }

    span.glyphicon.glyphicon-cog {
        position: relative;
        top: -7px;
        right: -12px;
        color: #787777 !important;
        display: block !important;
    }

    .textLi {
        display: none
    }

    .edit {
        background: transparent !important;
        margin-top: -49px !important;
        margin-left: -9px !important;
        color: rgb(137,137,137);
    }

    .edit .glyphicon {
        display: block !important;
        transform: scale(.7);
    }
}

@media screen and (max-width: 768px) {
    .list-group-item {
        border-bottom:1px solid #ecececdb !important;
    }
}

@media screen and (max-width: 768px) {
    .container.settingsPart {
        margin-top:15px !important;
        border: solid 1px #dbdbdb;
        border-radius: 3px;
        margin-bottom: 21px !important;
    }

    .settingsPart .col-lg-12 {
        padding: 0;
    }

    .settingsBox {
        background: white;
        border-radius: 4px;
        width: 100%;
        right: 0%;
        position: relative;
    }

    ul.settingsMain li {
        display: block;
    }

    ul.settingsMain > li:nth-child(1) {
        width: 100%;
        background: white;
    }

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

    ul.settingsMain > li:nth-child(2) {
        width: 100%;
        border-right: none !important;
        margin-right: 0px;
    }

    .settingsContent .list-group-item {
        padding: 0px;
    }

    .modal-body.col-xs-12 {
        margin-top: 21px;
        padding: 0;
        background: white;
    }

    ul.settingsMain {
        border: none !important;
        margin-bottom: 0;
    }
}

.settingsItems .list-group-item div {
    display: none;
}

@media screen and (max-width: 768px) {
    .settingsItems .list-group-item div {
        display:inline;
    }

    .settingsItems .list-group-item {
        text-align: center;
    }

    .settingsContent button {
        width: auto !important;
    }

    ul.settingsItems li.activeItem {
        border-right: none !important;
        border-bottom: solid 1px #e2e2e2 !important;
    }

    ul.settingsItems li:hover {
        background: transparent !important;
    }

    span.glyphicon.glyphicon-cog.nomobile {
        display: none !important;
    }

    span.glyphicon.glyphicon-cog {
        display: block !important;
        padding: 0 !important;
    }

    .list-group-item a {
        display: inline;
        padding: 0 !important;
        margin: 0 !important;
    }

    ul.list-group.profile-menu {
        display: none;
    }

    .profile-info-wrapper .buttonFollow, .profile-info-wrapper .buttonReq {
        font-size: 12px !important;
        padding: 8px 11px !important;
    }

    .glyphicon.glyphicon-cog:before {
        content: "";
        display: block;
        background: url(http://piqagram.ir/uploads/e13afa519a6b.png);
        background-size: 411px 259px;
        background-position: -561px -210px;
        background-clip: border-box;
        width: 24px;
        height: 24px;
        margin-top: 12.7px !important;
        text-align: center;
        transform: scale(1.5) translateX(-20px);
    }
}

.glyphicon.glyphicon-bell {
    display: none;
}

@media screen and (max-width: 900px) {
.glyphicon.glyphicon-bell:before {
    content: "";
    display: block;
    background: url(http://piqagram.ir/uploads/e13afa519a6b.png);
    background-size: 411px 259px;
    background-position: -721px -237px;
    background-clip: border-box;
    width: 24px;
    height: 24px;
    margin-top: 12.7px !important;
    text-align: center;
    transform: scale(1.5) translateX(-32px);
}

span.glyphicon.glyphicon-bell {
    position: absolute;
    left: 10px;
    top: 2px;
    transform: scale(0.65);
    display: block;
}

.profile-info-wrapper .list-group-item:nth-child(1) span {
    border: none;
}

span.glyphicon.glyphicon-bell {
    background: transparent !important;
}

span.glyphicon.glyphicon-cog {
    display: inline-block !important;
    padding: 0 !important;
    vertical-align: top;
}

span.glyphicon.glyphicon-bell {
    position: relative;
    right: -49px;
    top: -11px;
    transform: scale(0.65);
    display: inline-block;
    vertical-align: top;
}


.profile-info-wrapper .list-group .list-group-item a {
    display: inline-block;
    width: 50px !important;
    text-align: center !important;
    vertical-align: middle !important;
    z-index: +9;
    position:relative;
}

a.scbih{
    color:#d70e4e;
}

a[href='/users/mainedit']{
    margin-right:5px !important;
}

span.glyphicon.glyphicon-cog:before {
    margin-top: 0px !important;
    top:0 !important;
    right: 0 !important;
    transform: scale(.9);
}

span.glyphicon.glyphicon-bell:before {
    margin-top: 2.5px !important;
    top:0 !important;
    right: 0 !important;
    transform: scale(1) translateX(-2px);
}

span.glyphicon.glyphicon-bell,
span.glyphicon.glyphicon-cog {
    position: relative;
    right: 0px !important;
    top: 0px !important;
    transform: scale(1) !important;
    display: inline-block !important;
    vertical-align: middle;
    padding: 0 !important;
    margin: 0 !important;
    width: 24px !important;
    margin-top: 7px !important;
}
}

@media screen and (max-width: 768px) {
ul.list-group li.list-group-item:nth-child(2) span,
ul.list-group li.list-group-item:nth-child(3) span,
ul.list-group li.list-group-item:nth-child(4) span {
    width: 100% !important;
    margin: 0 auto;
    text-align: center;
    padding: 0 25px;
}

mark.united{
    padding-top:8px;
    font-size: 13px;
}

.agahi-col-container{
    padding: 0!important;
}
}

.seller-list-group .newItem span ,
.buyer-list-group .newItem span{
background: #00cb00;
}

.newPost ul a li:nth-child(2) {
border-color: #00b100 !important;
}

.newPost ul a li:nth-child(1) {
border-color: #00b100 !important;
border-bottom-color:transparent !important;
}

.newPost::before{
content:"جدید";
font-weight:bold;
color:white;
display:block;
width:auto;
height:auto;
padding:5px 10px;
background:#00b100;
position:absolute;
border-radius: 0 0 0 10px;

}

@media screen and (min-width:769px){
.btn-update-settings {
    background: white !important;
    border-color: #e7e7e7 !important;
    color: black !important;
    padding: 14px !important;
    font-weight: bold;
    width: 30%;
    margin: 2% auto;
    float: right;
    margin-right: 4%;
}
}

@media (min-width:993px){
.profile-info-wrapper .follower-counter span,
.profile-info-wrapper .following-counter span{
    font-size:15.5px !important;
}

header .follower-counter span {
    line-height: 134% !important;
}
}

.united{
cursor: default !important;
line-height: 175%;
}

@media (min-width:993px){
.content-side-profile .profile-img-wrapper:hover img {
    height: 149px;
    width: 149px;
    float: left;
    margin: 12.5px;
    /* padding: 4px; */
    border-radius: 50%;
    box-shadow: 0 0 0px 3.9px #fafafa, 0 0 0 6.4px rgb(222,222,222);
    border: 1px solid rgba(0,0,0,.0975);
}
}


@media screen and (max-width: 991px) {
body {
    margin-top: 0!important;
}
}

.level-1 {
    padding-right: 32px !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

ul.list-group.category {
    padding-right: 9px;
}

.category li.list-group-item.level-1 {
    font-weight: normal;
    background: white;
    border-bottom-color: #f8f8f8 !important;
}

.category li.list-group-item {
    font-weight: bold;
    background: #f7f7f7;
    border-radius: 3px 3px 0 0;
    padding-right: 19px;
}

li.list-group-item.level-1.addMovzue {
    color: #ababab;
}

input.list-group-item.level-1.addMovzue {
    border-bottom: none !important;
    display: inline;
}

.movzueparent {
    display: inline;
}

.save {
    display: none;
    color: green;
    float: left;
    padding: 7.5px;
    padding-left: 9px;
    font-weight: 700;
    cursor: pointer;
    border: solid 2px;
    transform: scale(0.7);
    margin-left: 17px;
    border-radius: 4px;
    min-width: 53px;
    text-align: center;
    margin-left: 14px;
    margin-top: 3px;
}

.zirM2 .radif:hover .save {
    display: inline-block;
}

.addMainCat .mzp2 .save {
    display: inline-block;
}

.delete {
    display: none;
    color: red;
    padding: 7.5px;
    font-weight: 700;
    cursor: pointer;
    border: solid 2px;
    transform: scale(0.7);
    /* background: red; */
    border-radius: 4px;
    min-width: 53px;
    text-align: center;
    margin-left: -10px;
    margin-right: -9px;
    margin-top: 3px;
}

.delete:hover {
    background: red;
    color: white;
}

.save:hover {
    background: green;
    color: white;
    border-color: transparent;
}

.zirM1 .radif:hover .delete,
.zirM1 .radif:hover .save {
    display: inline-block;
}

input.list-group-item.level-1.addMovzue {
    width: 85%;
}

.save img, .delete img {
    width: 20px;
    opacity: 0.5;
}

input.list-group-item.level-1.addMovzue {
    margin-bottom: 1px;
    background: transparent !important;
    opacity: 0.7;
}

input.list-group-item.level-1.addMovzue:focus {
    margin-bottom: 1px;
    background: white !important;
}

.category {
    width: 70%;
}

input.list-group-item.level-1 {
    width: 85%;
    border-bottom-color: transparent !important;
    margin-bottom: 0.4px;
    background: transparent !important;
}

input.list-group-item.level-1:focus {
}

.list-group-item:hover {
    background: rgb(251, 251, 251);
}

.radif {
    border-bottom: solid 1px rgb(247, 247, 247) !important;
    cursor: pointer;
}

.radif:hover {
    background: rgb(251, 251, 251);
}

.radif:hover input.list-group-item.level-1 {
    background: rgb(251,251,251);
}

li.list-group-item.addMainCat {
    padding: 0;
}

.addMainCat .addMovzue {
    background: transparent;
}

.zirM2 .radif:nth-last-child(1) {
    background: #f4fdf4;
    border-bottom: solid 1.5px #c4f3c4 !important;
    padding-left: 0px;
    padding-right: 3px;
}

li.list-group-item.addMainCat {
    background: #f8f8f8;
    /*#f4fdf4*/
    border-bottom: solid 1.5px #c4f3c4 !important;
//#3c9e3cd9 }

.mainCategory .list-group-item span {
    float: left;
    margin-left: 7px;
    transition: all 0.1s ease-in-out;
    padding: 15px;
    margin-top: -15px;
    margin-left: -2px;
}

li.list-group-item:hover span {
    color: black;
}

.rot span {
    transform: rotate(-90deg) scale(0.575);
    color: black;
}

.zirM1 {
    border-right: 2px solid #f7f7f7;
    border-left: 2px solid #f7f7f7;
}

.modal-header {
    padding: 14px 15px;
    background: #FF6C60!important;
    color: white !important;
    opacity: 1;
    border-radius: 6px 6px 0 0 !important;
}

.modal-dialog {
    width: 30%;
    margin-top: 12%;
}

.btn-danger {
    color: #fff;
    background-color: #ff6c60;
    border-color: #ff6c60;
    margin-top: 34px;
    font-weight: 700;
    padding: 9px;
    width: 49.7%;
    display: inline;
    vertical-align: middle;
}

.modal-footer {
    padding: 4px 15px;
    text-align: right;
    border-top: none;
}

.modal-body {
    position: relative;
    padding: 15px 13.5px;
    padding-top: 0;
    color: red;
}

.modal-body p {
    line-height: 200%;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-size: 12pt;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.85);
}

.modal-header .close {
    color: white !important;
    opacity: 0.7;
}

.modal-body p:nth-child(1) {
    margin-top: 15px;
}

.modal-body p {
    line-height: 200%;
    padding: 0px 4px;
}

.save_change_button img {
    width: 10%;
    opacity: 0.64 !important;
}

.btn-default {
    width: 49%;
    display: inline;
    vertical-align: middle;
    margin-top: 34px !important;
    padding: 9px;
}

input.list-group-input {
    background: transparent;
    border: none;
    width: 120px;
}

input.list-group-input::placeholder {
    color: black !important;
}

.cdel,.cedit {
    color: gray;
    font-size: 9px;
    display: inline;
    margin-left: 3px;
    border: solid 1.5px;
    padding: 4px;
    border-radius: 3px;
    display: none;
    margin-right: 4px;
}

.cdel {
    color: red;
}

.cedit {
    color: green;
}

.list-group-item:hover .cdel,
.list-group-item:hover .cedit {
    display: inline;
}

.list-group-item:hover .list-group-input {
    border-bottom: solid 1.5px;
    color: green;
    margin-top: -1px;
}

.cdel img, .cedit img {
    width: 2%;
    margin-left: 4px;
    margin-right: 4px;
}

@media screen and (max-width: 768px) {
    .cdel img, .cedit img {
        width:50% !important;
    }
}

.modal-body > div {
    padding-top: 19px;
}

.modal-body > div:nth-child(2) {
    padding-top: 14px;
    margin-bottom: 10px;
}

.save_change_button2 img,
.save_change_button3 img {
    width: 10%;
    opacity: 0.64;
}

.mzp1 {
    display: inline-block;
    vertical-align: top;
    width: 37%;
}

.mzp2 {
    display: inline-block;
    vertical-align: top;
    width: 19%;
}

.modal-body .btn-default {
    color: #4f4f4f;
    background-color: #fff;
    border-color: transparent;
    background: rgb(227,227,227);
}

input.list-group-item {
    padding: 3px 0;
    padding-right: 0 !important;
    text-align: right;
    margin: 9px 24px 9px 0px !important;
}

.radif:hover input {
    border-radius: 0;
    color: green;
    border-bottom: solid 1.4px green !important;
}

.radif span {
    float: left;
    margin-top: 10px;
    margin-left: 22px;
    display: none;
}

.radif:hover span {
    display: block;
    opacity: 0.5;
}

.view span {
    display: block;
}

.view:hover span {
    opacity: 1;
}

div[class^="zirRadif"] > .radif:nth-last-child(1) {
    background: #f4fdf4 !important;
    border-bottom: solid 2px #c4f3c4 !important;
}

.rot span {
    display: block;
}

.radif.rot {
    background: rgba(242, 242, 242, 0.25);
    font-weight: 700;
    border-bottom: solid 1px #ebebeb !important;
}

.zrc .list-group-item,
.zrc input.list-group-item.level-1.addMovzue {
    margin-right: 37px !important;
}

.zrc .list-group-item.level-1 {
    width: 80% !important;
}

.zrc .mzp1 {
    width: 39%;
}

.cp .list-group-item .toup,
.cp .list-group-item .todown,
.cp .radif .toup, .cp .radif .todown {
    display: none;
}

.toup {
    color: green;
}

.cp .list-group-item .toup .glyphicon {
    position: absolute;
    margin-top: 6px;
}

.todown {
    color: red;
}

.cp .list-group-item .todown .glyphicon {
    position: absolute;
    margin-top: 21px;
}

.radif .toup, .radif .todown {
    position: absolute;
}

.radif .toup {
    margin-top: 2px;
}

.radif .todown {
    margin-top: 18px;
}

.mainCategory .cp .list-group-item:hover .toup,
.mainCategory .cp .list-group-item:hover .todown,
.mainCategory .cpp .radif:hover .toup,
.mainCategory .cpp .radif:hover .todown {
    display: inline;
}

.mainCategory .cp:nth-child(1) .list-group-item .toup,
.mainCategory .cp:nth-last-child(1) .list-group-item .todown,
.mainCategory .zirM1 .cpp:nth-child(1) > .radif .toup,
.mainCategory .zirM1 .cpp:nth-last-child(1) > .radif .todown {
    display: none;
}

@media screen and (max-width: 768px) {
    .save_change_button, .save_change_button2, .save_change_button3 {
        width: 49.2% !important;
    }

    .close_change_button, .close_change_button2, .close_change_button3 {
        width: 49.2% !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        background:white;
    }
}

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

    .radif{
        padding:4px;
    }

    .radif span{
        margin-top:8px;
    }

    .category li.list-group-item{
        padding:14px;
    }

    .mainCategory .list-group-item span{
        margin-top:-10px;
    }

    .zirM2 .radif .save{
        margin-top:0px;
    }

}
