.container {
    max-width: 1170px;
    margin: auto;
}

.inbox_people {
    flex: 3;
}

.inbox_msg {
    display: flex;
}
.srch_bar {
    padding: var(--s1);
}
@media screen and (max-width: 810px) {
    .inbox_people {
        margin-right: 0;
        /* surendra */
        position: sticky;
        top: 0px;
        z-index: 9;
        background-color: #fff;
        /* Willis */
        border-bottom: 2px solid var(--cgrey100);
    }

    .inbox_msg {
        flex-flow: column;
    }
}

.top_spac {
    margin: 20px 0 0;
}

.srch_bar > div {
    position: relative;
}

.srch_bar input {
    border: none;
    border-radius: 4px;
    background-color: var(--cgrey100);
    padding: var(--s-2) var(--s1);
    width: 100%;
    padding-right: var(--s3);
}

.srch_bar input:focus {
    box-shadow: 0 0 0 2px var(--primary200);
    background-color: #fff;
    outline: none;
}

.srch_bar input::placeholder {
    color: var(--cgrey700);
}

.srch_bar i {
    color: var(--cgrey600);
    position: absolute;
    right: var(--s-1);
    top: 50%;
    transform: translateY(-55%);
}

.srch_bar .input-group-addon button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    padding: 0;
    color: #707070;
    font-size: 18px;
}
.srch_bar .input-group-addon {
    margin: 0 0 0 -27px;
}

.chat_ib p {
    font-size: var(--t-1);
    color: var(--cgrey700);
    margin-top: var(--s-2);
    line-height: var(--lh-2);
}

.active_chat .chat_ib p {
    color: var(--primary800);
}

.chat_img {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: var(--s-1);
    flex-shrink: 0;
}

.chat_img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat_people {
    display: flex;
}

.chat_people > a {
    display: flex;
    flex-grow: 2;
    width: 100%;
}
.chat_ib {
    flex-grow: 2;
    width: 100%;
}
.chat_ib > header {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--s-2);
}

.chat_ib > header > h4 {
    font-size: var(--t-1);
    color: var(--cgrey700);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
    margin-right: var(--s-1);
    line-height: var(--lh-1);
}

.active_chat .chat_ib > header > h4 {
    color: var(--primary800);
}

.chat_ib > header > time {
    color: var(--cgrey700);
    font-size: var(--t-2);
    white-space: nowrap;
}

.active_chat .chat_ib > header > time {
    color: var(--primary700);
}

.current-chat > header .chat_img {
    margin-bottom: 0;
}

.unread_badge {
    height: 3px;
    width: 3px;
    border: 1px solid var(--cgrey100);
    border-radius: 50%;
    position: absolute;
    bottom: var(--s-2);
    right: var(--s-2);
}

@media screen and (max-width: 810px) {
    .chat_img {
        margin-right: 5px;
        margin-bottom: var(--s-1);
    }
    .chat_list {
        padding: 5px 8px 12px;
    }
    .chat_ib > header {
        margin-bottom: 0;
        text-align: center;
        justify-content: center;
    }

    .chat_ib > p,
    .chat_ib > header > time {
        display: none;
    }
}

.chat_people {
    display: flex;
    width: 100%;
}

@media screen and (max-width: 810px) {
    .chat_people {
        flex-flow: column;
        align-items: center;
    }
}

.chat_people a {
    text-decoration: none;
}
.chat_list {
    padding: var(--s-1);
    border-radius: 5px;
    margin-bottom: var(--s-2);
}

.inbox_chat {
    padding-left: var(--s1);
    padding-right: var(--s1);
    overflow-y: auto;
    max-height: 600px;
}

@media screen and (max-width: 810px) {
    .inbox_chat {
        display: grid;
        margin-bottom: var(--s-2);
    }
    .inbox_chat {
        height: auto;
        min-height: auto;
    }

    .chat_ib > header > h4 {
        margin-right: 0;
    }
}

.active_chat {
    background: var(--primary100);
}

.incoming_msg_img {
    display: inline-block;
    width: 6%;
}
.received_msg {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.received_withd_msg {
    background: var(--cgrey200);
    color: var(--cgrey800);
    font-size: var(--t-1);
    margin: 0;
    padding: var(--s-2) var(--s1);
    max-width: 65ch;
    margin-right: var(--s-1);
    word-break: break-word;
    border-radius: 4px;
}

.time_date {
    color: var(--cgrey600);
    visibility: hidden;
    font-size: var(--t-2);
    display: flex;
    flex-flow: column;
    white-space: nowrap;
    margin-top: 0;
    height: 0;
    overflow: hidden;
}

.sent_msg, .time_date,
.received_withd_msg , .time_date {
    visibility: visible;
    height: auto;
    margin-top: var(--s-2);
}

.received_withd_msg {
    width: -moz-fit-content;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: fit-content;
}

.current-chat {
    border-left: 2px solid var(--cgrey100);
    flex: 7;
}

.current-chat > header {
    display: flex;
    align-items: center;
    padding: var(--s1);
}

.current-chat > header h4 {
    font-size: var(--t2);
    color: var(--cgrey800);
}

.sent_msg {
    background-color: var(--primary600);
    font-size: var(--t-1);
    margin: 0;
    color: #fff;
    padding: var(--s-2) var(--s1);
    max-width: 65ch;
    word-break: break-word;
}

.outgoing_msg {
    margin-bottom: var(--s1);
    margin-left: var(--s-1);
    align-self: flex-end;
}

.outgoing_msg + .outgoing_msg {
    margin-top: var(--n-2);
}

.incoming_msg {
    margin-bottom: var(--s1);
}

.incoming_msg + .incoming_msg {
    margin-top: var(--n-2);
}

.sent_msg,
.received_msg {
    line-height: var(--lh-1);
}

.sent_msg {
    width: -moz-fit-content;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    width: fit-content;
}

@media screen and (max-width: 810px) {
    .received_withd_msg,
    .sent_msg {
        flex-flow: column;
    }

    .received_withd_msg {
        align-items: flex-start;
    }

    .time_date {
        height: 0;
        overflow: hidden;
        transition: height var(--tran1);
    }

    .sent_msg:hover + .time_date,
    .received_withd_msg:hover + .time_date {
        height: auto;
        overflow: auto;
        height: 23px;
    }

    .received_withd_msg p {
        margin-right: var(--s2);
    }
}

.input_msg_write {
    display: flex;
    align-items: center;
}

.input_msg_write textarea {
    resize: none;
    font-size: inherit;
    line-height: var(--lh-1);
    background-color: var(--cgrey100);
    border: none;
    color: var(--cgrey900);
    flex-grow: 2;
    margin-right: var(--s-1);
    padding: var(--s-1);
    max-height: 200px;
    border-radius: 5px;
}

.input_msg_write textarea:focus {
    outline: none;
}

.input_msg_write textarea:focus-visible {
    outline: 2px solid var(--primary500);
}

.type_msg {
    position: relative;
    padding: var(--s1);
}

.msg_send_btn {
    background: var(--primary700) none repeat scroll 0 0;
    border: medium none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.msg_send_btn > i {
    transform: translate(-1px, -1px);
}

@media screen and (max-width: 810px) {
    .messaging {
        margin-right: -4%;
        margin-left: -4%;
    }
}
.msg_history {
    height: 516px;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-left: var(--s2);
    padding-right: var(--s2);
    display: flex;
    flex-flow: column;
}
.no_conversation {
    text-align: center;
    display: block;
    color: black;
    font-weight: bold;
}
.chat_ib p.unread_msg {
    color: var(--primary700) !important;
    font-weight: bold;
}

/***Network css**/
@import url("https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700");
@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");
.row-section {
    float: left;
    width: 100%; /* fallback for old browsers */
}
.row-section h2 {
    float: left;
    width: 100%;
    color: #fff;
    margin-bottom: 30px;
    font-size: 14px;
}
.row-section h2 span {
    font-family: "Libre Baskerville", serif;
    display: block;
    font-size: 45px;
    text-transform: none;
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 700;
}
.row-section h2 a {
    color: #d2abce;
}
.row-section .row-block {
    background: #fff;
    margin-top: 100px;
    margin-bottom: 50px;
}
.row-section .row-block ul {
    margin: 0;
    padding: 0;
}
.row-section .row-block ul li {
    list-style: none;
    margin-bottom: 20px;
}
.row-section .row-block ul li:last-child {
    margin-bottom: 0;
}
.row-section .row-block ul li:hover {
    cursor: grabbing;
}
.row-section .row-block .media {
    border: 1px solid #d5dbdd;
    padding: 5px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.04);
    background: #fff;
}
.row-section .media .media-left img {
    width: 90px;
}
.row-section .media img {
    width: 90px;
}
.row-section .media .media-body p {
    padding: 0 15px;
    font-size: 14px;
}
.row-section .media .media-body h4 {
    color: var(--primary700);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    padding-left: 14px;
    margin-top: 12px;
}
.btn-default {
    background: var(--cgrey100);
    border-radius: 4px;
    border: none;
    font-size: var(--t1);
    line-height: var(--lh1);
}

.btn-default:hover {
    background: var(--primary100);
    color: var(--primary900) !important;
}
.btn-default:focus,
.btn-default:active:hover {
    background: var(--primary200) !important;
}
.open > .dropdown-toggle.btn-default {
    background: var(--primary200) !important;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder {
    color: var(--cgrey900) !important;
}
@media (min-width: 768px) {
    .offset-md-1 {
        margin-left: 8.333333%;
    }
}

.align-self-center {
    -ms-flex-item-align: center !important;
    align-self: center !important;
}

.people-nearby .google-maps {
    background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #f1f2f2;
    padding: 20px;
    margin-bottom: 20px;
}

.people-nearby {
    height: 400px;
    width: auto;
    border: none;
    overflow-y: scroll;
    overflow-x: hidden;
}

.people-nearby .nearby-user {
    padding: 20px 0;
    border-top: 1px solid #f1f2f2;
    border-bottom: 1px solid #f1f2f2;
    margin-bottom: 20px;
}

img.profile-photo-lg {
    height: 80px;
    width: 80px;
    border-radius: 50%;
}

.people-nearby .nearby-user .row {
    margin-top: 20px;
}

.sidebar-selected {
    color: #000 !important;
    font-weight: bold;
}

/***Popup button***/

.openbtn {
    margin-top: 80px;
}
.modal-header {
    padding: var(--s1);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--cgrey100);
}
.modal-title {
    color: var(--cgrey700);
}

.modal-content {
    box-shadow: none;
    border: none;
}

.modal-body {
    padding: var(--s2);
}

#jobViewModal .modal-content {
    background-color: transparent;
    width: clamp(65ch, 95%, 1100px);
    max-width: 100%;
}

.modal-body.choice-modal {
    position: relative;
    padding: 0px;
    color: var(--cgrey900);
    font-size: var(--t1);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media (max-width: 810px) {
    .modal-body.choice-modal {
        background-color: transparent;
    }
}

.row.inner-scroll {
    height: 445px;
    overflow: auto;
}

.mycard-footer {
    height: 25px;
    background: #333333;
    font-size: 15px;
    text-indent: 10px;
}

.gallery-card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    height: 132px;
    margin-bottom: 60px;
}
.gallery-card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.gallery-card img {
    height: 150px;
    width: 100%;
}
label {
    margin-bottom: 0;
}
/*--checkbox--*/

.block-check {
    display: block;
    position: relative;

    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    cursor: pointer;
}

/* On mouse-over, add a grey background color */
.block-check:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.block-check input:checked ~ .checkmark {
    background-color: #2196f3;
}

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

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

/* Style the checkmark/indicator */
.block-check .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
