.trailer-inner-content {
    max-width: 1140px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .side-tp{
        margin-left: 5vw;
        width: calc(100% - 5vw);
    }


}

#register-trailer select,
#register-trailer input[type=email], 
#register-trailer input[type=number], 
#register-trailer input[type=tel], 
#register-trailer input[type=text],
#edit-trailer-form select,
#edit-trailer-form input[type=email], 
#edit-trailer-formr input[type=number], 
#edit-trailer-form input[type=tel], 
#edit-trailer-form input[type=text]  {
    margin-bottom: 26px;
    width: 100%;
    box-sizing: border-box;
       width: 100%;
    border: 2px solid #143A61;
    margin-bottom: 10px;
    border-radius: 8px !important;
    color: black;
     padding: 14px 20px;
}
#edit-trailer-form input.alt-text {
    margin-top: 15px;
}
 
#edit-trailer-form .img-set {
    margin-bottom: 20px;
}
#register-trailer input#upload_photo{
    margin-bottom: 26px;
}
#register-trailer textarea {
    margin-bottom: 0px;
}

#register-trailer .form-error{
    margin-top: -21px;
    margin-bottom: 26px;
    color: red;
    font-size: 0.875rem;
}
.trailer-grid-main {
    background-image: url(/wp-content/uploads/demo/near-shap1.png);
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    background-size: 200px;
}
.trailer-search-filter h2 {
    text-align: center;
    color: #fff;
    margin: 0 0 30px;
    font-family: "Inter", sans-serif !important;
    font-size: 55px;
    font-weight: 800;
}

.trailer-search-filter {
    position: relative;
    z-index: 2;
}
.tra-field-inner {
    position: relative;
}

.tra-field-inner i {
    position: absolute;
    right: 15px;
    top: 21px;
    color: #143a61;
}

.tra-field select.region-filter {
    width: 100%;
    margin: 0;
    border: 2px solid #143A61;
    border-radius: 12px;
    font-size: 20px;
    color: #363636;
    text-transform: unset;
    font-family: "Inter", sans-serif !important;
    background-image: none;
	padding-right: 35px !important;
}
form#trailer-filter-form {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 50px;
}
.trailer-title .fa-map-marker-alt::before {
    margin-right: 8px;
}

div#trailers-filter {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 15px;
    background-color: #fff;
    border-radius: 12px;
}

.tra-field {
    width: 30%;
    padding: 0 20px;
    border-right: 1px solid rgb(20 58 97 / 39%);
}

.tra-field:last-child {
    width: 40%;
    border-right: none;
}

.tra-field input {
    width: 100% !important;
    margin: 0 !important;
    border: 2px solid #143A61 !important;
    border-radius: 12px !important;
    font-size: 20px !important;
    color: #363636 !important;
    text-transform: unset !important;
    font-family: "Inter", sans-serif !important;
}
div#price-slider-filter {
    width: 100% !important;
    margin: 0 !important;
    border: 2px solid #143A61 !important;
    border-radius: 12px !important;
    color: #363636 !important;
    text-transform: unset !important;
    font-family: "Inter", sans-serif !important;
    height: 60px;
}

div#price-slider-filter label {
    font-size: 20px !important;
    color: #363636 !important;
    text-transform: unset !important;
    font-family: "Inter", sans-serif !important;
    margin: 0;
}

#price-slider .ui-slider-range {
    background-color: #143A61;
}


/* Slider bar */
#price-slider.ui-slider-horizontal {
  height: 2px;
  background: #143A61;
  border: none;
  border-radius: 3px;
  margin-top: 10px;
  margin-bottom: 10px;
  position: relative;
}

/* Active range (between handles) */

/* Slider handles (round with outline) */
#price-slider .ui-slider-handle {
  top: -7px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: absolute;
}

/* Price labels below handles */
#price-slider-filter .price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

#price-slider-filter .price-box {
    background: #143A61;
    color: #fff;
    border: none;
    padding: 2px 10px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    font-family: "Rubik", sans-serif !important;
}

#price-slider-filter {
    padding: 1px;
    display: flex;
    gap: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    align-items: center;
    padding: 13px 20px;
   
}

#price-slider-filter .price-range {
    width: 100%;
    max-width:60%;
    position:relative;
}
#price-slider-filter .price-values #min_price_box {
    position: absolute;
    left: -20px;

}

#price-slider-filter .price-values #max_price_box {
    position: absolute;
    right: -20px;
}

button#trailer-map-btn {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    position: absolute;
    bottom: -132px;
    font-size: 22px;
    background-color: #143A61;
    color: #fff !important;
    padding: 18px 45px;
    border-radius: 15px;
    font-family: "Rubik", sans-serif !important;
}

.trailer-grid-main {
    padding: 80px 0;
    position: relative;
}
.trailer-card {
    text-align: center;
    background-color: #fff;
    border: 1px solid rgb(0 0 0 / 50%);
    border-radius: 28px;
    box-shadow: 1px 3px 4px 1px rgb(0 0 0 / 30%);
    overflow: hidden;
}
#trailer-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.trailer-card {
    text-align: center;
    background-color: #fff;
    border: 1px solid rgb(0 0 0 / 50%);
    border-radius: 28px;
    box-shadow: 1px 3px 4px 1px rgb(0 0 0 / 30%);
    overflow: hidden;
}
.trailer-bottom-text {
    background: #FBFBFB;
    padding: 20px 25px;
    min-height: 190px;
}

.trailer-price {
    font-size: 30px;
    font-weight: 700;
    color: #2A2A2A;
    font-family: "Rubik", sans-serif !important;
    margin: 0 0 10px;
    line-height: 36px;
}
.trailer-title {
    font-weight: 700;
    text-align: center;
    font-size: 20px;
    margin: 15px 0px 10px 0px;
    font-family: "Inter", sans-serif !important;
    text-transform: uppercase;
    color: #2A2A2A;
}
.trailer-description {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2A2A2A;
    line-height: 21px;
    font-family: "Inter", sans-serif !important;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.trailer-campground {
    font-weight: bold;
    font-size: 13px;
    color: #000;
    line-height: 20px;
    text-transform: uppercase;
   
}
p.no-trailer-found {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
}
.camp-name {
    font-size: 16px;
    color: #143A61;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: "Inter", sans-serif !important;
	line-height: normal;
}  
.camp-name i{
    margin-right: 5px;
}
.tr-map-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
	/* display: none; */
}
.trailer-icon img {
    width: 100%;
    height: 210px !important;
    object-fit: cover;
}

#register-trailer .form-field.desc .form-error-js,
 #register-trailer .form-field.short-desc .form-error-js{
    margin-top: 0px;
}


#register-trailer .form-error-js {
    font-size: 15px;
    margin-top: -21px;
    margin-bottom: 26px;
}
#register-trailer .upload-gal-js .form-error-js{
    margin-top:10px !important;
   
}
#register-trailer .upload-gal-js{
 margin-bottom: 26px ;
}

#register-trailer .form-field label {
    display: block;
    margin-bottom: 9px!important;
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 500;
    letter-spacing: initial;
    font-family: "DM Sans", sans-serif;
}
/*
#register-trailer .form-field button[type=submit], input[type=submit] {
  background: #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 0.5rem;
    font-size: 13px;
}*/
/* #register-trailer #desc-char-count{
    margin-bottom: 20px;
}
     */

/* .is-invalid {
    border-color: red !important;
    outline: none;
} */

#register-trailer select:focus,
#register-trailer input[type="email"]:focus,
#register-trailer input[type="number"]:focus,
#register-trailer input[type="tel"]:focus,
#register-trailer input[type="text"]:focus ,
#edit-trailer-form select:focus,
#edit-trailer-form input[type=email]:focus, 
#edit-trailer-form input[type=number]:focus, 
#edit-trailer-form input[type=tel]:focus, 
#edit-trailer-form input[type=text]:focus {
/*  border: 2px solid black !important;*/
  outline: none;

}
#register-trailer input#second_photo, #register-trailer input#third_photo, #register-trailer input#primary_photo,
 #register-trailer .image-upload-wrapper,
 #edit-trailer-form input#second_photo, #edit-trailer-form input#third_photo, #edit-trailer-form input#primary_photo,
 #edit-trailer-form .image-upload-wrapper{
    margin-bottom: 20px;
}
#register-trailer .image-upload-wrapper p.form-error-js,
#edit-trailer-form .image-upload-wrapper p.form-error-js {
    margin-bottom: 0px;
}
.trailer-mm {
    padding: 60px 0;
}
.add-trailer-btn {
    margin-bottom: 20px;
    text-align: right;
    
}

body select, body input[type=date], body input[type=email], body input[type=number], body input[type=password], body input[type=search], body input[type=tel], body input[type=text], body input[type=url], textarea
{
    color: #565656;
}


.add-trailer-btn a, #register-trailer .form-field button[type=submit], input[type=submit] {
    padding: 10px 25px;
    background-color: #143A61;
    color: #fff !important;
    text-decoration: none;
    font-family: "Rubik", sans-serif !important;
    border-radius: 10px;
    font-weight: 600;
	display: inline-block;
	margin: 0 !important;
}
.trailer-table .button {
    border-radius: 10px;
    padding: 6px 20px;
    background-color: #143A61;
    color: #fff !important;
    text-decoration: none;
    font-family: "Rubik", sans-serif !important;
    display: inline-block;
    margin: 2px;
}

  
/* 
    .trailer-table .pagination .page-numbers {
        display: inline-block;
        margin: 0 5px;
        padding: 6px 12px;
        background: #eee;
        color: #333;
        text-decoration: none;
        border-radius: 3px;
    }

    .trailer-table .pagination .current {
        background: #0073aa;
        color: #fff;
    }

    .trailer-table .pagination .page-numbers:hover {
        background: #005177;
        color: #fff;
    } */


.pagination.trailer-pagi {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
    flex-wrap: wrap;
}

 .pagination.trailer-pagi a, .pagination.trailer-pagi span {
    padding: 4px 15px;
    border-radius: 4px;
    border: none;
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

 .pagination.trailer-pagi a:hover {
    background-color: #0073aa;
    color: #fff;
}

 .pagination.trailer-pagi .current {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}
.trailer-mm h1 {
    margin: 0 0 15px;
    font-weight: 700;
    color: #2A2A2A;
    font-family: "Rubik", sans-serif !important;
    font-size: 45px;
}

 table.trailer-table th, table.trailer-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	text-align: left;
	font-family: "Inter", sans-serif !important;
}
table.trailer-table thead th {
    background-color: #f0f0f0;
    font-size: 18px;
}
table.trailer-table td {
    font-size: 16px;
}
.existing-pdf i.fa-solid.fa-file-pdf,
.pdf-preview  i.fa-solid.fa-file-pdf {
    font-size: 90px;
    color:red;
}
 .existing-pdf span,
 .pdf-preview span{
    font-size: 14px;
 }

 .vacancy-container, .trailer-container {
    margin: 80px 5vw;
}

 .form-field.pdf-upload-wrapper {
    margin-bottom: 10px;
}

.crop-btn button#cropCancelBtn,
.crop-btn button#cropConfirmBtn {
    font-weight: 700 !important;
    font-size: 18px;
    border-radius: 13px !important;
    padding: 5px 20px;
    cursor: pointer;
    margin-right: 10px;
}

.desc .inlineFlex,
.short-desc .inlineFlex {
    display: flex;
    align-items: center;
}

.filter-result-container button#load-more-btn {
    font-size: 22px;
    background-color: #143A61;
    color: #fff !important;
    padding: 16px 35px;
    border-radius: 15px;
    font-family: "Rubik", sans-serif !important;
    font-weight: 700;
    display: inline-block;
}

@media only screen and (max-width:1500px){
.trailer-search-filter h2 {
    font-size: 55px;
}

.tra-field input {
    font-size: 20px !important;
}

.tra-field select.region-filter {
    font-size: 20px;
}

div#price-slider-filter label {
    font-size: 20px !important;
}
#price-slider-filter .price-range {
    max-width: 58%;
}
button#trailer-map-btn {
    font-size: 20px;
}

.trailer-price {
    font-size: 26px;
    line-height: 30px;
}

.trailer-title {
    font-size: 18px;
}

.trailer-description {
    font-size: 16px;
}

#trailer-results {
    gap: 20px;
}	
}
@media only screen and (max-width:1199px){
#trailer-results {
    grid-template-columns: repeat(3, 1fr);
}

.tra-field input {
    font-size: 18px !important;
}

.tra-field select.region-filter {
    font-size: 18px;
}

div#price-slider-filter label {
    font-size: 18px !important;
}	
#price-slider-filter .price-range {
	max-width: 52%;
}	
}	

@media only screen and (max-width:991px){
#trailer-results {
    grid-template-columns: repeat(2, 1fr) !important;
}

.tra-field {
    width: 50%;
    margin: 0 0 10px;
    padding: 0 10px;
    border-right: none;
}

.tra-field:last-child {
    width: 100%;
    margin-bottom: 0;
}
#price-slider-filter .price-box {
    font-size: 14px;
}

#price-slider-filter .price-range {
    max-width: 78%;
}
button#trailer-map-btn {
    bottom: -111px;
}	
}
@media only screen and (max-width:767px){
button#trailer-map-btn {position: unset;
margin-top: 0px;
}

.trailer-search-filter h2 {
    font-size: 32px;
}

div#trailers-filter {
    border-radius: 12px;
    box-shadow: 1px 1px 6px 0 rgb(0 0 0 / 40%);
}

.tra-field {
    width: 100%;
    padding: 0;
}

.tra-field input {
    height: 65px;
	color: #AAAAAA;
	font-weight: 400;
}
.tra-field input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #AAAAAA !important;
}
.tra-field input::-moz-placeholder { /* Firefox 19+ */
  color: #AAAAAA !important;
}
.tra-field input:-ms-input-placeholder { /* IE 10+ */
  color: #AAAAAA !important;
}
.tra-field input:-moz-placeholder { /* Firefox 18- */
  color: #AAAAAA !important;
}
.trailer-grid-main {
	padding-top: 260px;
	padding-bottom: 50px;
}

#price-slider-filter .price-range {
    max-width: 100%;
    margin-left: 10px;
}

div#price-slider-filter {
    flex-wrap: wrap;
    gap: 0;
}

div#price-slider-filter label {
    color: #aaaaaa !important;
    font-weight: 400;
}

.tra-field select.region-filter {
    height: 65px;
	color: #AAAAAA;
	font-weight: 400;
}

div#price-slider-filter {
    height: 65px;
}

.tr-map-button {
    margin-top: 35px;
}
.trailer-icon img {
    height: 100px !important;
}

.trailer-price {
    font-size: 16px;
    line-height: 18px;
}

.trailer-title {
    font-size: 12px;
    line-height: 15px;
    margin: 0 0 5px;
}

.camp-name {
    font-size: 10px;
}
#trailer-results {
    gap: 15px;
}
.trailer-bottom-text {
	padding: 12px 12px;
	min-height: 140px;
}

.trailer-description {
    font-size: 12px;
    display: none;
}

.trailer-card {
    border-radius: 12px;
}
.trailer-mm h1 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 20px;
}	
}

#trailer-results.loading {
    position: relative;
    min-height: 100px; /* so it doesn’t collapse empty */
}

#trailer-results.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
