.search .site-main {
    padding: 0;
}

.results-container {
    padding: 60px 0 120px;
    background-color: #F5F6F8;
}

.search-results-title {
    font-family: 'ivypresto-thin'!important;
    /*font-size: 24px;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 24px;
    letter-spacing: 2px; */
    color: #221B33;
    font-size: 40px;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 2px;
    
}
.search-result-count {
    margin-bottom: 30px;
    text-transform: uppercase;
}

.page-header {
    padding: 80px 0 60px;
    background: #F5F6F8;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    background-image: url(/wp-content/uploads/2023/01/opi-bannerimg.svg);
    background-repeat: no-repeat;
    background-position: 50% -95px;
    min-height: 312px;
    display: flex;
    align-items: center;
}

.search-results .loop {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 60px 24px;
}

/* Boats / Charters */
.search-results .item-boat-for-sale,
.search-results .item-charter {
    line-height: 1;
    transition: all .5s ease;
}
.search-results .item-boat-for-sale > a,
.search-results .item-charter > a{
    text-decoration: none;
}
.search-results .item-boat-for-sale .e1,
.search-results .item-charter .e1 {
    position: relative;
    margin-bottom: 18px;
    line-height: 0;
    height: 0;
    padding-top: 55.3935860058309%;
    background-color: #221b33;
}
.search-results .item-boat-for-sale .e2,
.search-results .item-charter .e2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.search-results .item-boat-for-sale .e3,
.search-results .item-charter .e3 {
    position: absolute;
    font-family: 'ivypresto-thin';
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 2px;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 2px;
    padding: 2px 8px 4px;
    line-height: 1;
}
.search-results .item-boat-for-sale .e4,
.search-results .item-charter .e4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}
.search-results .item-boat-for-sale .e5,
.search-results .item-charter .e5 {
    font-weight: 600;
    font-size: 19px;
    letter-spacing: 1px;
}
.search-results .item-boat-for-sale .e5 a,
.search-results .item-charter .e5 a{
    text-decoration: none;
}
.search-results .item-boat-for-sale .e6,
.search-results .item-charter .e6 {
    font-size: 12px;
    text-transform: uppercase;
    background: #F5F6F8;
    border-radius: 3px;
    padding: 10px 14px;
}
.search-results .item-boat-for-sale .e6 span,
.search-results .item-charter .e6 span {
    display: inline-block;
    vertical-align: middle;
}
.search-results .item-boat-for-sale .e6 .t1,
.search-results .item-charter .e6 .t1 {
    display: block;
    margin-bottom: 5px;
}
.search-results .item-boat-for-sale .e6 .t2,
.search-results .item-charter .e6 .t2 {
    font-size: 20px;
    font-weight: 600;
    margin-right: 5px;
}
.search-results .item-boat-for-sale .e6 .t4,
.search-results .item-charter .e6 .t4 {
    font-weight: 600;
    margin-left: 5px;
}

.search-results .item-boat-for-sale .e7,
.search-results .item-charter .e7 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 30px 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.search-results .item-boat-for-sale .e7 .l,
.search-results .item-charter .e7 .l {
    font-size: 12px;
    margin-bottom: 8px;
}
.search-results .item-boat-for-sale .e7 .v,
.search-results .item-charter .e7 .v {
    font-weight: 600;
}

.search-results .item-boat-for-sale .e9,
.search-results .item-charter .e9 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 18px;
}
.search-results .item-boat-for-sale .e9:before,
.search-results .item-charter .e9:before {
    content: '';
    font-family: 'icomoon';
}
.search-results .item-boat-for-sale .e9.active,
.search-results .item-charter .e9.active {
    content: '';
}
.search-results .item-boat-for-sale .e9.active:before,
.search-results .item-charter .e9.active:before {
    content: '';
}

/* Page / Post / Others */
.search-results .item-article {
    line-height: 1;
    background: #fff;
    padding: 24px 20px 40px;
}
.search-results .item-article .s1 {
    margin-bottom: 20px;
}
.search-results .item-article .e1 {
    display: none;
}
.search-results .item-article .e2 {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 9px;
    background: #F5F6F8;
    border-radius: 2px;
}
.search-results .item-article .e3 {
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'ivypresto-thin';
    margin: 0;

    height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.search-results .item-article .e4 {
    font-size: 15px;
    font-family: 'Lora';
    line-height: 2;
    height: 120px;
    overflow: hidden;
    margin-bottom: 30px;
}

.search-results .item-article .s2 a {
    text-decoration: none;
}

/* Job */
.search-results .item-job {
	background-color: #FFFFFF;
	box-shadow: 0 9px 27px 0 rgba(2,6,19,0.12);
	padding: 35px 20px 25px;
	line-height: 1;
	font-size: 15px;
}
.search-results .item-job:before {
	content: '';
	background-image: url(/wp-content/uploads/2023/01/ui-job-logo@2x.png);
	background-size: contain;
	width: 78px;
	height: 16px;
	display: block;
	margin-bottom: 24px;
}
.search-results .item-job .e1 {
	min-height: 23px;
    margin-bottom: 20px;
}
.search-results .item-job .e2 {
	font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 9px;
    background: #F5F6F8;
    border-radius: 2px;
}
.search-results .item-job .e3 {
	font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'ivypresto-thin';
    margin: 0;
    height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.search-results .item-job .e4 {
    font-family: 'Lora';
    line-height: 2;
    height: 120px;
    overflow: hidden;
    margin-bottom: 30px;
}
.search-results .item-job .e5 {
	display: flex;
    gap: 10px 55px;
    min-height: 66px;
    margin-bottom: 10px;
}
.search-results .item-job .e5 .l {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.search-results .item-job .e5 .v {
	font-family: 'Lora';
}
.search-results .item-job .e8 {
    display: inline-block;
    border: 2px solid #221B33;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    padding: 11px 20px;
    min-width: 150px;
    text-align: center;
	cursor: pointer;
	transition: all .4s ease;
}
.search-results .item-job .e8:hover {
	background: #221B33;
	color: #fff;
}

/* popup */
.job-info-popup {
    position: fixed;
    right: 0;
    top: 0;
    background: #221b33;
    width: 450px;
    height: 100%;
    z-index: 1000;
    max-width: 100%;
    transition: transform .7s ease;
    padding: 80px 15px 20px 20px;
    color: #fff;
    display: none;
}
.job-info-popup:before {
    content: '';
    background-image: url(/wp-content/uploads/2023/01/ui-tn-logo@2x.png);
    background-size: contain;
    width: 81px;
    height: 16px;
    position: absolute;
    top: 50px;
}
.job-info-popup.show {
    display: block;
    animation: slide-right-in 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.job-info-popup.closing {
    display: block;
    animation: slide-right-out 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.job-info-popup .close {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
}
.job-info-popup .close:hover {
    opacity: .8;
}
.job-info-popup .loading_text:before {
    content: '';
    font-family: 'icomoon';
    display: inline-block;
    animation: spin 2s linear infinite both;
    margin-right: 10px;
}
.job-info-popup .inner {
    max-height: 100%;
    overflow-y: auto;
    min-height: 100px;
    padding-right: 10px;
    overflow-x: hidden;
}

.job-details {
    line-height: 1;
}
.job-details .e1 {
    font-family: 'ivypresto-thin';
    text-transform: uppercase;
    font-weight: 100;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 30px;
}
.job-details .e2 {

    display: flex;
    gap: 10px 55px;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
    padding-bottom: 25px;
    flex-direction: column;

}
.job-details .e2 .l {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0px;
    min-width: 180px;
    line-height: 1.4em;
    margin-top: 2px;
}
.job-details .e2 .v {
    font-family: 'Lora';
    text-align: right;
    line-height: 1.4em;
}

.job-details .e3 {
    display: flex;
    justify-content: space-between;
}

.job-details .lists-heading {
    font-size: 18px;
}


.job-details .e5-con {
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
    padding-bottom: 18px;
}
.job-details .e5 {
    max-height: 223px;
    overflow: auto;
    line-height: 1.8;
}
.job-details .e6-con {
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
    padding-bottom: 18px;
}
.job-details .e6 {
    max-height: 122px;
    overflow: auto;
}
.job-details .e6 .h {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.job-details .e6 ul {
    font-family: 'Lora';
}
.job-details .e6 li {
    margin-bottom: 10px;
}

.job-details .upload-file {
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 50px;
    color: #221B33;
    display: flex;
    align-items: center;
    justify-content: center;
}
.job-details .upload-file .gfield_label {
    text-align: center;
    width: 100%;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}
.job-details .upload-file .gfield_label:after {
    content: url(/wp-content/themes/chapmanyachting/images/svg/rji-upload.svg);
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}
.job-details .upload-file input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.job-details .upload-file .gform_fileupload_rules {
    display: none;
}
.job-details .email-field {
    position: relative;
    margin-bottom: 8px;
}
.job-details .email-field:after {
    content: '';
    font-family: 'icomoon';
    position: absolute;
    right: 20px;
    top: 15px;
    color: #221b33;
    font-size: 20px;
    pointer-events: none;
}
.job-details .email-field input {
    border-radius: 4px;
    height: 55px;
    padding: 5px 50px 5px 22px;
}
.job-details .gform_wrapper.gravity-theme .gform_fields {
    display: block;
}
.job-details .gform_body {
    margin-bottom: 10px;
}
.job-details .submit-btn-container {
    width: 100%;
}
.job-details .gform_button {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    width: 100%;
    padding: 16px 30px;
}

@keyframes slide-right-in {
    0% {transform:translate3d(105%, 0, 0); opacity:.8; }
    100%{transform:translate3d(0, 0, 0); opacity:1; }
}
@keyframes slide-right-out {
    0% {transform:translate3d(0, 0, 0); }
    100%{transform:translate3d(105%, 0, 0); }
}




@media(max-width:1023px){
    .search-results .loop {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:767px){
    .search-results .loop {
        grid-template-columns: 1fr;
    }
}