section.sitenear-my-posts {

}

#sitenear-post-slides-home {

}

.sitenear-posts-display {
    height: calc(100vh - 30px);
    overflow-y: hidden;
    overflow-x: hidden;
}

.sitenear-posts-display.sitenear-no-height-restrictions {
    height: 100vh;
}

@media (min-width: 768px) {
    .sitenear-posts-display {
        height: 95vh;
    }
    .sitenear-posts-display.sitenear-no-height-restrictions {
        height: 100vh;
    }
}

#sitenear-post-nav-area {
    height: 85vh;
    overflow-y: auto;
}

section.sitenear-my-posts #sitenear-post-detail-area {

}



section.sitenear-my-posts > div.row {
    padding: 0;
    margin: 0;
}

div#sitenear-post-left-area {
    padding: 0;
    margin: 0;
}

div.sitenear-post-images-holder img.sitenear-post-big-picture-preview {
    border-radius: 6px;
    object-fit: contain;
    display: block;
    margin: auto;
    margin-bottom: 8px;
    height: 312px;
    max-width: 454px;
    max-height: 312px;
    width: auto;
}

div.sitenear-post-images-holder .sitenear-post-small-thumbs {
    margin: auto;
    text-align: center;
}


div.sitenear-post-images-holder .sitenear-post-small-thumbs a  {

    margin-left: 5px;
}

div.sitenear-post-images-holder .sitenear-post-small-thumbs a img {
    width: 60px;
    height: 60px;
    aspect-ratio: 3/2;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
}

div.sitenear-post-images-holder .sitenear-post-small-thumbs a img:hover {
    opacity: 0.7;
}

div.sitenear-post-single-display.sitenear-post-carousel-item div.sitenear-post-details.sitenear-post-details-with-no-image {
    padding-left: 4em;
}

@media (max-width: 768px) {
    div.sitenear-post-single-display.sitenear-post-carousel-item div.sitenear-post-details.sitenear-post-details-with-no-image {
        padding-left: 0;
    }
}

div.sitenear-post-single-display.sitenear-post-carousel-item div.sitenear-post-details {
    white-space: normal;
    word-break: normal;
    width: 90%;
    margin: auto;
	min-height:8rem;
	font-size:1.5vw;
	line-height:2em;
	text-align: justify;
}
.swiper-slide .sitenear-post-carousel-item .panel .panel-body {
    height: calc(95vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 98%;
    margin-top: 10vh;
}
@media only screen and (max-width:600px){
	.swiper-slide .sitenear-post-carousel-item .panel .panel-body {
		width: 98vw;
	}

}


 .sitenear-post-swipper-button-holder > .swiper-button-next {
    top: revert;
    right: revert;
    left: revert;
    color: #47ad22;
    position: relative;
    background-image: none;
    margin-top: 0.25em !important;
}

 .sitenear-post-swipper-button-holder > .swiper-button-next::after {
    content: '';
}

.sitenear-post-swipper-button-holder > .swiper-button-next,
.sitenear-post-swipper-button-holder > .swiper-button-prev {
    top: revert;
    right: revert;
    left: revert;
    color: #47ad22;
    position: relative;
    background-image: none;
    /* NEW: Add these properties to remove the outline */
    outline: none;                                /* NEW */
    -webkit-tap-highlight-color: transparent;     /* NEW */
}

.sitenear-post-swipper-button-holder > .swiper-button-next::after,
.sitenear-post-swipper-button-holder > .swiper-button-prev::after {
    content: '';
}

.sitenear-post-swipper-button-holder >.sitenear-post-swiper-button {
    font-size: 6rem;
    line-height: 2em;
    height: 0.5em;
    width: 1em;
    padding: 0;
    border-radius: 50%;
    background-color: transparent;
    text-align: center;
    display: block;
    margin-top: 0;
    outline: none;                                /* NEW */
    -webkit-tap-highlight-color: transparent;     /* NEW */
    user-select: none;                            /* NEW */
}

.sitenear-post-swipper-button-holder >.sitenear-post-swiper-button span {
    font-size: 0.3em;
    display: inline-block;
    position: absolute;
    left: 0.18em;
    top: 0.25em;
}

.sitenear-post-swipper-button-holder > .swiper-button-prev > span {
    top: 0.1em;
}

.sitenear-post-swipper-button-holder > .swiper-button-next {
    margin-top: 0.25em !important;
}



.sitenear-post-swipper-button-holder {
    position: absolute;
    bottom: 1vh;
    top:75vh!important;
    right: 5vw;
    height: 5em;
    width: 1.75em;
    z-index: 2;
    /*background-color: mediumpurple;*/
}



    .sitenear-post-carousel-item-buttons {
    clear: both;
    height: 2em;
    width: 90%;
    margin: auto;
    margin-bottom: 0.5em;
    max-width: 500px;
}

.sitenear-post-carousel-item-buttons.sitenear-last-bar {
    margin-top: 0.5em;
}

/*buttons */
.sitenear-post-item-buttons  .sitenear-post-comment-icon {
    display: inline-block;
    cursor:pointer;
}

 .sitenear-post-item-buttons .sitenear-post-timestamp-holder {
   text-align: right;
    padding:2px;
}

 .sitenear-post-item-buttons .likee {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: revert;
}

 .sitenear-post-item-buttons .sitenear-post-delete-button {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: revert;
}

.sitenear-post-item-buttons .sitenear-post-delete-button a img {
    vertical-align: top;
}

.sitenear-post-nav-area {
    padding-left: 0.5em;
    padding-right: 0.5em;
}



.sitenear-post-side-bar-item {
    border-radius: 4px 4px 0 0;
    border: 1px solid #ccc;
    margin: 0.5em;
    padding: 1em;
    cursor: pointer;
}

.sitenear-brief-item.sitenear-post-side-bar-item {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    margin: 0;
    margin-bottom: 0.25em;
}

.sitenear-post-nav-area-new-post {
    position: sticky;
    margin-left: 0.5em;
    margin-right: 0.5em;
    top:0;
    z-index: 3;
    padding-bottom: 0;
    background-color: white;
}



.sitenear-post-side-bar-item .sitenear-post-sidebar-item-buttons {
    margin-bottom: 0;
}

.sitenear-post-side-bar-item.sitenear-active-post {
    background-color: whitesmoke;
}

 .sitenear-post-profile-image img {
    width: auto;
}


.sitenear-post-side-bar-item .sitenear-post-preview-words {
    overflow: hidden;
    width: 100%;
    vertical-align: top;
    font-size: 0.9em;
    max-height: 10em;
    line-height: 1.1em;
}
.sitenear-brief-item.sitenear-post-side-bar-item  .sitenear-post-preview-words {
    height: fit-content;
    max-height: 10em;
}

.sitenear-brief-item.sitenear-post-side-bar-item  .sitenear-post-title {
    float: none;
    margin-top: 0;
    margin-bottom: 0;
}


.sitenear-brief-item.sitenear-post-side-bar-item  .sitenear-post-title span.sitenear-user-name {
    display: inline-block;
    margin-left: 1rem;
    color: #7f7f7f !important;
    font-size: small;
    position: relative;
    float: right;
    margin-right: 2em;
}

.sitenear-brief-item.sitenear-post-side-bar-item  .sitenear-post-title span.sitenear-title {
    color:#7f7f7f;
    text-decoration: underline;
    font-size: clamp(16px, 2vw, 24px);
}

h5 {
    font-size: clamp(16px, 2vh, 24px);
}

h6 {
    font-size: clamp(14px, 1.8vh, 20px);
}

@media screen and (min-width: 1200px) {
    h5 {
        font-size: clamp(18px, 1.1vw, 28px);
    }

    h6 {
        font-size: clamp(16px, 1vw, 24px);
    }
}


.sitenear-post-side-bar-item .sitenear-post-preview-words.all-words {
    height: revert;
    overflow: visible;
}

.sitenear-post-side-bar-item .sitenear-post-preview-words > p {
    white-space: pre-line;
    word-break: normal;
    display: inline-block;
    padding: 0;
    margin: 0;
	text-align: justify;
}


.sitenear-post-side-bar-item img.sitenear-side-bar-main-image
{
    border: 1px solid whitesmoke;
    width: 60%;
    object-fit: contain;
    max-width:30vh;
}

@media (min-width: 992px) and (max-width: 1150px) {
    .sitenear-post-side-bar-item img.sitenear-side-bar-main-image {
        height: 180px;
    }
}

.sitenear-post-images-empty {
    height: 0.25em;
    text-align: center;
    width: 100%;
}

.sitenear-post-sidebar-item-buttons {
    clear: both;
    height: 2em;
    width: 90%;
    margin: auto;
    margin-bottom: 0.5em;
    max-width: 300px;
}

.sitenear-new-post-form-holder .sitenear-form-title
{
    margin-top: 0;
    padding-top: 0;
    text-align: center;
	color:#7f7f7f;
}

.sitenear-post-comment-edit-action {
    float: right;
}

.sitenear-post-comment-edit-action > img {
    background-color: #47ad22;
    border-radius: 12px;
    height: 19px;
    width: 18px;
}


div.sitenear-post-carousel-comments {
    width: 85%;
    margin: auto;
}

@media  (max-width: 500px) {
    div.sitenear-post-carousel-comments {
        width: 95%;
    }
}

div.sitenear-comment-form-holder form.PostCommentAjaxForm .btn.btn-lg {
    border: 0 none;
    border-radius: 0 4px 4px 0;
    bottom: 0;
    font-size: 14px;
    font-weight: normal;
    height: 45px;
    left: auto;
    line-height: 30px;
    padding: 5px;
    right: 0;
    width: 100px;
}

div.sitenear-comment-form-holder form.PostCommentAjaxForm {
    position: relative;
}

div.sitenear-comment-form-holder form.PostCommentAjaxForm textarea.form-control {
    height: 150px;
    overflow: auto;
}


h2.sitenear-post-side-bar-header {
    text-align: center;
    margin: 0;
    color: #47ad22;
    min-height: 1em;
}

div.sitenear-post-user-profile-holder {
    float: left;
    width: fit-content;
    height: fit-content;
    padding: 1em;

}

form#sitenear-add-new-post .select2.select2-container {
    width:100% !important;
    border: solid #ccc 1px;
    margin: 0;
    line-height: revert;
    font-size: 14px;
    margin-bottom: 0.75rem;
}

form#sitenear-add-new-post .select2.select2-container .select2-selection.select2-selection--multiple {
    margin: 0 !important;
    min-height: 2.25em;
    clear: both;
    height: fit-content;
}

form#sitenear-add-new-post p.sitenear-post-instructions {
    text-align: left;
    padding: 1rem;
    padding-top: 0;
    padding-left: 0;
    margin-left: 0;
    height: 2em;
}

form#sitenear-add-new-post p.sitenear-post-instructions label {
    height: 2em;
    padding-left: 2em !important;
    white-space: nowrap;
	color:#7f7f7f;
}


form#sitenear-add-new-post div.sitenear-post-site-data {
    display: none;
}

form#sitenear-add-new-post div.row.sitenear-post-site-data {
    margin-bottom: 0.75rem;
    display: contents;
}

form#sitenear-add-new-post textarea.sitenear-responsive-textarea.add-description {
    min-height: 6em;
    height: 6em;
}

form#sitenear-add-new-post input[type="text"] {
    background-color: inherit;
    color: inherit;
}


.sitenear-post-side-bar-item:not(.sitenear-brief-item) .sitenear-post-place {
    margin-bottom: 0.75rem;
}

.sitenear-post-side-bar-item .row.sitenear-post-place > div {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

div.sitenear-posts-holder .swiper-wrapper {
    padding-right: 1rem;
    padding-left: 1rem;
}

div.sitenear-post-view-user-popup-action {
    cursor: pointer;
}

/* admin bar */
.sitenear-admin-site-news-bar {
    background-color: black;
    margin-bottom: 1rem;
    padding: 1rem;
}

.sitenear-site-news-status-icon {
    font-weight: bold;
    display: inline-block;
    float: left;
    font-size: 1.25em;
}

.sitenear-site-news-status-icon.sitenear-site-news-initial {
    color: #47ad22;
}

.sitenear-site-news-status-icon.sitenear-site-news-approved {
    color: #47ad22;
}

.sitenear-site-news-status-icon.sitenear-site-news-rejected {
    color:#47ad22;
}

.sitenear-site-news-status-icon.sitenear-site-news-unknown {
    display: none;
}

.sitenear-user-name.sitenear-post-time-by-title-display {
    display: inline-block;
    margin-left: 1rem;
    color: #CCC;
    font-size: small;
    float: right;
}

.sitenear-user-name.sitenear-post-time-by-title-display.zen-mode-shift {
    display: block;
    margin-left: 0;
    float: none;
}

section.sitenear-my-posts div.sitenear-release-first-news-header {
    font-size: 24px;
    color: lightgrey;
    margin: auto;
    text-align: center;
    cursor: pointer;
}


div.tingle-modal.sitenear-site-detail-subscreen-holder.sitenear-full-screen-tingle  {
    padding: 0;
}

div.tingle-modal.sitenear-site-detail-subscreen-holder.sitenear-full-screen-tingle div.tingle-modal-box {
    width: 100%;

}



@media(max-width: 991px){
    div.sitenear-posts-holder .swiper-wrapper{
        padding: 0!important;
    }
}

