@font-face {
    font-family: 'ITC Souvenir Std';
    src: url('../themes/paradise-lettings/assets/fonts/SouvenirStd-Medium.woff2') format('woff2'),
        url('../themes/paradise-lettings/assets/fonts/SouvenirStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../themes/paradise-lettings/assets/fonts/MyriadPro-Regular.woff2') format('woff2'),
        url('../themes/paradise-lettings/assets/fonts/MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    line-height: 1.6rem;
    font-size: 16px;
    background-color: grey;
}

body {
    background: url('/storage/app/media/design/background.png') top left repeat;
    font-family: 'Myriad Pro';
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #4a4a4a;
    color: #666;
}

body.modal:after {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    content: '';
}

h1, h2, h3, h4 {
    font-family: 'ITC Souvenir Std';
    font-weight: 500;
    font-style: normal;
}

h1 {
    line-height: 2rem;
}

h2 {
    line-height: 1.6rem;
}

img {
    display: block;
    width: 100%;
}

.container {
    max-width: 1200px;
    padding: 0 5rem;
    margin: 0 auto;
    width: 90%;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 0;
    }
}

.grid {
    display: flex;
}

.grid .column {
    flex: 1;
    margin-right: 1.5rem;
}

.grid .column.no-margin {
    margin-right: 0;
}

.grid .column.one-half {
    flex: 0 1 50%;
}

.grid .column.one-third {
    flex: 0 1 33.3%;
}

.grid .column.two-thirds {
    flex: 0 1 66.6%;
}

.grid .column.one-quarter {
    flex: 0 1 25%;
}

.grid .column.three-quarters {
    flex: 0 1 75%;
}

.grid .column.one-fifth {
    flex: 0 1 20%;
}

.grid .column.one-tenth {
    flex: 0 1 10%;
}

.grid .column:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .grid {
        display: block;
    }
    .grid .column {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .grid .column.one-third, .grid .column.one-quarter, .grid .column.two-thirds, .grid .column.three-quarters, .grid .column.one-fifth, .grid .column.one-tenth {
        flex: 0 0 auto;
    }
    .grid .column:last-child {
        margin-bottom: 0;
    }
}

header {
    background-color: #fff;
    color: #4a4a4a;
}

header .container {
    padding: 0.5rem 3rem;
}

header .logo {
    max-width: 200px;
    display: block;
}

header .column {
    align-self: flex-end;
}

header .column p {
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    header .logo {
        margin: 0 auto;
    }
    header .column {
        text-align: center;
    }
}

header .social {
    display: inline-block;
    margin-left: 1rem;
}

@media (max-width: 1200px) {
    header .social {
        margin-left: 0;
    }
}

header a {
    color: #6f6f6f;
}

header nav {
    position: relative;
    text-align: right;
}

nav ul, nav ul li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 1.25rem;
    color: #a4ba96;
    display: inline-block;
    padding: 0 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    border-left: #d5d5d5 1px solid;
}

nav ul li:first-of-type a {
    border-left: none;
}

@media (max-width: 910px) {
    nav ul li {
        display: block;
    }
    nav a {
        padding: 0 0.75rem;
        border-left: none;
    }
}

#breadcrumbs {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    background-color: rgba(81, 126, 166, 0.7);
    text-shadow: #000 1px 1px;
    padding: 0 0;
    font-size: 0.75rem;
    position: relative;
    z-index: 2;
}

#breadcrumbs .container {
    padding: 0.25rem 3rem 0 3rem;
}

#breadcrumbs a {
    color: #d5d5d5;
    text-decoration: none;
}

#header-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 33%;
    z-index: 1;
    margin-top: -1.8rem;
}

@media (max-width: 768px) {
    #header-image {
        padding-bottom: 50%;
    }
}

#header-image video, #header-image img:not(.best) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: auto;
    min-height: 100%;
    max-width: 100%;
    min-width: 100%;
}

#header-image video {
    width: 100%;
}

#header-image .container {
    height: 100%;
}

@media (max-width: 768px) {
    #header-image img.best {
        display: none;
    }
}

#content {
    background-color: #fff;
    border-top-left-radius: 2.5rem;
    border-top-right-radius: 2.5rem;
    margin-top: 2.5rem;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 2.5rem;
    position: relative;
    z-index: 1;
}

main {
    margin-top: -5rem;
    padding: 1.5rem;
}

.front {
    padding: 5rem 10rem 0 10rem;
}

@media (max-width: 1024px) {
    .front {
        padding: 2.5rem 5rem 0 5rem;
    }
}

.page {
    padding: 1.5rem 2.5rem;
}

@media (max-width: 768px) {
    #content {
        border-top-left-radius: 2.5rem;
        border-top-right-radius: 2.5rem;
    }
    main {
        padding: 2.5rem;
    }
    .front {
        padding: 0;
    }
    main h1:first-of-type {
        text-align: center;
    }
}

main h1:first-of-type {
    margin-top: 0;
}

main a {
    color: #a4ba96;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}
    
.message {
    background-color: #6f6f6f;
    padding: 1rem 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.message.success {
    background-color: #517ea6;
}

#search {
    width: 100%;
    margin: 2rem 0 2.5rem 0;
}

#search form {
    display: flex;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 0.5rem;
    padding: 2.5rem;
}

#search input[name="location"], #search button {
    display: inline-block;
    width: 175px;
    height: 4rem;
}

#search input[name="location"] {
    width: calc(100% - 175px - 0.5rem - 4px);
    margin-right: 0.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: rgba(0, 0, 0, 0.4) 1px solid;
}

@media (max-width: 768px) {
    #search form {
        display: block;
        text-align: center;
    }
    #search input[name="location"] {
        width: 100%;
    }
}

.display-property {
    position: relative;
    overflow: hidden;
}

.display-property .meta {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    border-top-right-radius: 2.5rem;
    background-color: rgba(86, 138, 28, 0.95);
    color: #fff;
    text-align: right;
    margin: 0;
    padding: 1rem 1.5rem 0.5rem 1rem;
    text-shadow: #000 1px 1px;
}

.display-property .meta p {
    margin: 0;
}

.display-property .is-let {
    position: absolute;
    width: 75%;
    top: 0;
    right: 0;
    max-width: 200px;
}

.cta {
    margin-top: 2.5rem;
    position: relative;
    margin-bottom: -0.5rem;
}

.cta .column {
    margin: 0;
    position: relative;
    display: block;
    overflow: hidden;
}

.cta .middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 33%;
    border: 0.9rem #fff solid;
    overflow: hidden;
}

.cta .landlords {
    border-right: 0.5rem #fff solid;
}

.cta .tenants {
    border-left: 0.5rem #fff solid;
}

.cta .inner {
    background-color: rgba(86, 138, 28, 0.95);
    color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 86.4%;
    transform: translateY(0);
    transition: all 0.3s ease-out;
}

.cta .column:hover .inner {
    transform: translateY(100%);
}

.cta .column.tenants .inner {
    right: inherit;
    left: 0;
}

.cta .middle .inner {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 3rem;
    font-family: 'ITC Souvenir Std';
    font-weight: 500;
    font-style: normal;
    transform: translateY(0);
}

.cta .middle img {
    transition: all 0.3s ease-out;
    transform: scale(1);
}

.cta .middle:hover img {
    transform: scale(1.1);
}

.cta .middle:hover .inner {
    background-color: rgba(86, 138, 28, 0);
}

.cta .middle .inner p {
    transition: all 0.3s ease-out;
}

.cta .middle:hover .inner p {
    opacity: 0;
}

.cta .heading {
    font-size: 3rem;
    color: rgb(98, 163, 26);
    position: absolute;
    transform: rotate(-90deg);
    bottom: 2.5rem;
    left: -7rem;
    font-family: 'ITC Souvenir Std';
    font-weight: 500;
    font-style: normal;
}

.cta .landlords .heading {
    bottom: 3rem;
    left: -8rem;
}

.cta .tenants .heading {
    left: inherit;
    right: -6.5rem;
    transform: rotate(90deg);
}

.cta .middle .inner p {
    position: absolute;
    top: 52.5%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: 0;
    line-height: 3rem;
}

@media (max-width: 768px) {
    .cta .inner {
        top: inherit;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .cta .tenants, .cta .landlords {
        border: 1.5rem #fff solid;
    }
    .cta .middle {
        position: relative;
        border: 1.5rem #fff solid;
        width: 100%;
        transform: none;
        top: inherit;
        left: inherit;
        display: block;
    }
}

#property-list .property h2 {
    margin-top: 0;
}

#property-list .property {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
}

.property {
    margin-bottom: 1.5rem;
}

.property:last-of-type {
    margin-bottom: 0;
}

.property .image {
    position: relative;
}

.property .image .is-let {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

#property h1 {
    margin-top: -0.5rem;
    font-size: 1rem;
    font-family: 'Myriad Pro', sans-serif;
}

#property-image {
    display: block;
    width: 100%;
    padding-bottom: 56%;
    overflow: hidden;
    position: relative;
}

#property-image img {
    position: absolute;
    width: 100%;
}

#property-image #next-image, #property-image #prev-image {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 1.5rem;
    cursor: pointer;
    width: auto;
    color: #fff;
    transition: all 0.3s ease-out;
    opacity: 0;
}

#property-image #next-image {
    right: 1.5rem;
    left: inherit;
}

#property-image:hover #next-image, #property-image:hover #prev-image {
    opacity: 0.3;
}

@media (max-width: 768px) {
    #property-image #next-image, #property-image #prev-image {
        opacity: 0.3;
        top: 21vw;
        font-size: 2rem;
    }
}

#property-image #amenities {
    position: absolute;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.75);
    bottom: 1.5rem;
    left: 1.5rem;
    color: #fff;
    overflow: hidden;
    max-width: 300px;
    height: auto;
    width: auto;
}

#property-image #amenities.hidden {
    height: 0;
    width: 0;
    padding: 0;
    width: 100px;
    height: 20px;
}

#property-image #amenities #hide-amenities {
    position: absolute;
    padding: 0;
    border-radius: 0;
    width: 100px;
    height: 20px;
    bottom: 1.75rem;
}

#property-image #amenities.hidden #hide-amenities {
    bottom: 0;
}

@media (max-width: 768px) {
    #property-image #amenities #hide-amenities {
        display: none;
    }
}

#property-image #amenities p:first-of-type {
    margin-top: 0;
}

#property-image #amenities address {
    margin-top: 0;
}

#property-image #amenities ul {

}

#property-image #amenities .price {
    display: block;
    text-align: right;
    font-size: 1.25rem;
}

#property-images {
    position: relative;
    width: 100%;
    margin: 1rem 0 0.5rem 0;
}

#property-images .images {
    white-space: nowrap;
    overflow-x: scroll;
    width: 100%;
    position: relative;
}

#property-images img {
    width: calc(33.3% - 0.8rem);
    display: inline-block;
    margin-left: 1rem;
    cursor: pointer;
}

#property-images img:first-child {
    margin-left: 0;
}

#property-images #next-images, #property-images #prev-images {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 1.5rem;
    cursor: pointer;
    width: auto;
    color: #fff;
    transition: all 0.3s ease-out;
    opacity: 0;
}

#property-images #next-images {
    right: 1.5rem;
    left: inherit;
}  

#property-images:hover #next-images, #property-images:hover #prev-images {
    opacity: 0.3;
}

@media (max-width: 768px) {
    #property-images #next-images, #property-images #prev-images {
        opacity: 0.3;
    }
}


@media (max-width: 768px) {
    #property-image {
        padding-bottom: 0;
    }
    #property-image #main-image {
        position: relative;
    }
    #property-image #amenities {
        position: relative;
        background-color: transparent;
        color: #4a4a4a;
        margin-top: 1.5rem;
        bottom: inherit;
        left: inherit;
        padding: 0;
        max-width: inherit;
    }
    #property-images {
        display: none;
    }
}

#property .front {
    padding-top: 0;
}

.actions {
    padding: 3.5rem 0 2rem 0;
    text-align: center;
}

.actions .button, .actions button {
    display: block;
    text-align: center;
}

.actions h3 {
    font-size: 1.75rem;
}

.actions p {
    margin-top: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .actions h3, .actions p {
        text-align: center;
    }
}

#map {
    width: 100%;
    height: 30vh;
    margin-bottom: 1.5rem;
}

#tenants h2 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

#tenants .grid .column p:first-of-type {
    margin-top: 0;
}

#tenants .grid {
    align-items: center;
    margin-bottom: 2.5rem;
}

#tenants .grid:last-of-type {
    margin-bottom: 0;
}

#tenant-contact, #landlord-contact {
    display: block;
    width: 100%;
    font-size: 1rem;
}

#testimonials {
    background: linear-gradient(to bottom, #517ea6 0%,#498cc8 100%);
    padding: 12.5rem 0 calc(12.5rem + 1%) 0;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
    position: relative;
}

#testimonials:before, #testimonials:after {
    content: '';
    background-image: url('/storage/app/media/design/quotes.svg');
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 25%;
    left: 15%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}
  
#testimonials:after {
    left: inherit;
    top: inherit;
    right: 15%;
    bottom: 25%;
    transform: rotate(180deg);
}

#testimonials blockquote {
    display: block;
    width: 50%;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 48%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
    font-weight: 300;
}

#testimonials blockquote.active {
    opacity: 1;
    z-index: 1;
}

#testimonials .author {
    font-size: 1rem;
    display: block;
    margin-top: 1.5rem;
    text-align: right;
}

@media (max-width: 768px) {
    #testimonials blockquote {
        font-size: 1rem;
        line-height: 1.6rem;
        width: 70%;
    }
    #testimonials:before {
        left: 20%;
    }
    #testimonials .author {
        font-size: 0.75rem;
    }
}

input[type="text"], input[name="email"], select, textarea{
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

select {
    -webkit-appearance: caret;
}

input[name="email"] {
    display: none;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0;
    position: relative;
    bottom: 2px;
}

button, .button, input[type="submit"] {
    padding: 1.5rem;
    color: #fff;
    background: linear-gradient(to bottom, #9bd038 0%,#62a31a 100%);
    border-radius: 0.5rem;
    text-transform: uppercase;
    border: rgba(0, 0, 0, 0.2) 1px solid;
    cursor: pointer;
}

footer {
    background-color: #e8e8e8;
}

footer #contact {
    position: relative;
    padding: 2rem 3rem;
}

@media (max-width: 440px) {
    footer #contact {
        padding: 2rem 2.5rem;
    }
}

footer #contact #palms {
    position: absolute;
    width: 100%;
    top: 2px;
    left: 0;
    transform: translateY(-100%);
}

footer #contact-form .column {
    margin-right: 0;
}

footer #contact button {
    width: 100%;
    font-size: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-top: 0.5rem;
}

footer .speech-bubbles {
    max-width: 70%;
    margin-left: 7.5%;
}

footer .address {
    padding-left: 1.5rem;
    border-left: #d5d5d5 1px solid;
}

footer .address p:first-of-type {
    margin-top: 0;
}

@media (max-width: 768px) {
    footer .speech-bubbles {
        display: none;
    }
    footer #contact-form .column {
        margin-bottom: 0;
    }
    footer .address {
        border-left: none;
        padding-left: 0;
    }
}

footer table {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    vertical-align: top;
}

footer table, footer table tr, footer table td {
    vertical-align: top;
}

footer .tube {
    display: inline-block;
    width: 1rem;
    margin: 0 0 -0.2rem 0.2rem;
}

footer .join-us {
    background-color: #fff;
    border: #6f6f6f 1px solid;
    border-radius: 0.5rem;
    position: relative;
    padding: 0.4rem 0.5rem 0.25rem 0.5rem;
}

footer .join-us:after, footer .join-us:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2.5rem;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #fff;
    border-bottom: 0;
    border-left: 0;
    margin-left: -10px;
    margin-bottom: -20px;
    z-index: 2;
}

footer .join-us:before {
    border-top-color: #6f6f6f;
    z-index: 1;
    margin-bottom: -23px;
    padding-left: 1px;
    margin-left: -11px;
    padding-top: 2px;
}

footer .join-us .social {
    display: inline-block;
    margin-left: 0.25rem;
}

footer .join-us .social a {
    color: #6f6f6f;
}

#footer {
    background-color: #6f6f6f;
    background: url('/storage/app/media/design/footer.png') top left repeat;
    color: #f5f5f5;
    padding: 2rem 3rem;
}

@media (max-width: 440px) {
    footer #footer {
        padding: 2rem 2.5rem;
    }
}

#footer a {
    color: #f5f5f5;
    text-decoration: none;
}

#footer .images img {
    display: inline-block;
    width: 25px;
    margin-right: 5px;
}

#footer .pebbles img {
    width: 50%;
    margin-top: 4rem;
}

#footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer #footer .inkfish {
    color: #aaa;
}

#modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 600px;
    transform: translateX(-50%) translateY(-50%);
    background-color: #fff;
    z-index: 9;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 2.5rem;
}

#modal.active {
    display: block;
}

#modal .close-modal {
    position: absolute;
    top: -0.75rem;
    right: -0.6rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
}
