html, body, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

#reliabel-logo .reliabel-logo-1,
#reliabel-logo .reliabel-logo-2 {
    transition: all 200ms;
}

#reliabel_logo .reliabel-logo-2 {
    fill: none;
    stroke-width: .5px;
}

#reliabel_logo.black .reliabel-logo-1 {
    fill: #000;
}

#reliabel_logo.black .reliabel-logo-2 {
    stroke: #000;
}

#reliabel_logo.white .reliabel-logo-1 {
    fill: #fff;
}

#reliabel_logo.white .reliabel-logo-2 {
    stroke: #fff;
}

footer #reliabel_logo.white .reliabel-logo-1 {
    fill: #a6a6a6;
}

footer #reliabel_logo.white .reliabel-logo-2 {
    fill: #a6a6a6;
}

footer .et_pb_menu .et_pb_menu__menu > nav > ul {
    display: block;
    margin: 0;
}

footer .et_pb_menu .et_pb_menu__menu > nav > ul > li {
    display: block;
    padding: 0;
}

.custom-button,
input[type='submit'],
.est8-button {
    display: inline-block;
    padding: 12px 22px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: 2px solid #1d5b70;
    color: #1d5b70;
    transition: all 200ms;
    margin-right: 15px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: none;
    cursor: pointer;
}

.custom-button:hover,
input[type='submit']:hover,
.est8-button:hover {
    transform: translateY(3px);
    opacity: 1;
    box-shadow: none;
}

.est8-button:hover {
    background: #1d5b70;
}

.custom-button.solid,
input[type='submit'] {
    color: #fff;
    background: #1d5b70;
}

.est8-inline-modal-content h3 {
    font-size: 22px;
}

.est8-button.est8-alt2:hover {
    background: #fff;
    color: #1d5b70 !important;
}

.est8_object-template-default .est8-sales-description h2 {
    font-size: 2em;
}

.buttons-wrapper {
    margin-top: 25px;
}

.buttons-wrapper .custom-button:last-child {
    margin-right: 0;
}

.object-list .est8-wrapper {
    width: auto;
}

.est8-objectlist {
    grid-template-columns: repeat(4, 1fr);
}

.est8-summary-details,
.est8-bids-viewings,
.est8-broker-details,
.est8-filter-wrapper {
    line-height: 1.4;
}

.est8-group-content {
    line-height: 1.7;
}

.est8-objectlist {
    list-style-type: none !important;
    padding: 0 !important;
    line-height: 1.8 !important;
}

.est8-objectlist.est8-objectlist-styletype2 h2 {
    border-bottom: 2px solid #000;
    margin-bottom: 15px;
    padding-bottom: 15px;
    line-height: 1;
    font-size: 22px;
}

.est8-objectlist.est8-objectlist-styletype2 .est8-objecttype-detail .est8-value {
    font-weight: 400;
}

.est8_object-template-default .est8-section-header h2 {
    font-weight: 400;
    text-transform: none;
    font-size: 26px;
}

.est8_object-template-default .est8-sales-description .est8-sales-lead p {
    font-size: 1em;
}

.est8-wrapper,
.est8_object-template-default .est8-imagelist-wrapper.est8-closed {
    max-width: 1200px;
}

.est8-objectlist.est8-objectlist-styletype2 h2 span {
    display: block;
    font-family: Poppins;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 5px;
}

.custom-header {
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%) !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    transition: padding 400ms;
}

.has-scrolled .custom-header {
    background: transparent !important;
}


.custom-header a,
footer a {
    color: #fff !important;
}

.has-scrolled .custom-header a {
    color: #a6a6a6 !important;
}

.custom-header .et_pb_menu__menu > nav > ul > li {
    margin-top: 0;
}

.custom-header .et_pb_menu__menu > nav > ul > li > a {
    font-weight: 500;
}

.custom-header .et_pb_row {
    z-index: 0 !important;
}

.custom-header li.current_page_item a {
    border-bottom: 2px solid #fff;
    color: #fff !important;
}

.header-background {
    background: #1d5b70;
    position: fixed;
    height: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: height 400ms;
}

body.has-scrolled .header-background {
    height: 76px;
}

body.logged-in.admin-bar.has-scrolled .header-background {
    height: 108px;
}

header .et_builder_inner_content {
    z-index: 90;
}

body.has-scrolled .custom-header {
    /*background: #000 !important;*/
    padding-top: 22px !important;
    padding-bottom: 15px !important;
}

.mobile_menu_bar:before {
    font-size: 45px;
    top: -15px !important;
    color: #fff !important;
}

/*.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__cart-button {
    color: #fff;
}*/

.et_pb_section_video_bg {
    display: flex !important;
    flex-direction: column; 
    justify-content: center;
    transition: none !important;
}

.header-video-wrapper {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.header-video-wrapper video {
    max-width: none;
    height: 100%;
    width: 177.77777778vh;
    min-width: 100%;
    min-height: 56.25vw;
    position: absolute;
    left: 50%; /* % of surrounding element */
    top: 50%;
    transform: translate(-50%, -50%); /* % of current element */
}


ul.et_pb_tabs_controls:after {
    border-top: 2px solid #1d5b70;
}

.est8-filter-wrapper {
    max-width: none;
}

.est8-noobjectsfound {
    text-align: center;
    font-style: italic;
}

.footer-contact-column .footer-address-details {
    display: none;
}

#top-logo {
    width: 175px;    
    transition: all 400ms;
    position: fixed;
    top: 110;
    left: 40px;
    top: 40px;
}

body.has-scrolled #top-logo {
    width: 110px;
    top: 23px;
}

body .custom-header .et_pb_menu .et_mobile_menu {
    background-color: #1d5b70 !important;
    border: 0;
    left: -30px;
    right: -30px;
    width: auto;
    top: 145%;
    transition: top 200ms;
    padding: 5% 10% 10% 10%;
}

body .custom-header .et_pb_menu .et_mobile_menu a {
    padding: 10px 0;
}

body.has-scrolled .custom-header .et_pb_menu .et_mobile_menu {
    top: 100%;
}

.custom-header .et_pb_menu__wrap {
    transition: margin 200ms;
}

body.has-scrolled .custom-header .et_pb_menu__wrap {
    margin-top: 7px;
}

body.has-scrolled .custom-header .header-email,
body.has-scrolled .custom-header .et_pb_social_media_follow {
    display: none;
}

.et_pb_social_media_follow li a {
    margin-right: 0;
}

input[type='text'],
input[type='email'],
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    background: #fff;
    border: 0;
    font-size: 16px;
}

textarea {
    margin-bottom: 30px;
    height: 120px;
}

.wpcf7-form .form-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 35px;
    margin-bottom: 35px;
}

.wpcf7-form label {
    display: block;
}

ul.et_pb_tabs_controls {
    background: transparent;
    text-align: center;
    border: 0;
}

.et_pb_tabs_controls li {
    float: none;
    display: inline-block;
    border: 0;
    background: transparent !important;
    height: auto !important;
}

.et_pb_tabs_controls li a {
    display: inline-block;
}

.et_pb_tabs_controls li.et_pb_tab_active a {
    background: #1d5b70;
    color: #a6a6a6;
}

.agents-wrapper .agent {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 220px 1fr;
    align-self: center;
}

.agents-wrapper .agent-text {
    align-self: center;
}

.agents-wrapper .agent strong {
    display: inline-block;
    width: 75px;
}

.agents-wrapper .agent h3 {
    padding-bottom: 0;
}

.agents-wrapper .agent .title {
    font-style: italic;
    margin: -5px 0 10px 0;
}

.agents-wrapper img {
    display: block;
}

.contact-map {
    width: 100%;
    height: 70vh;
}

@media only screen and (max-width: 1200px) {
    .est8-objectlist {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-objectlist .est8-objectlist li:last-child {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .est8-objectlist {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-objectlist .est8-objectlist li:last-child {
        display: block;
    }    
}

@media only screen and (min-width: 1350px) {
    body .et_pb_section {
        padding: 100px 0;
    }

    body footer .et_pb_section {
        padding: 70px 0;
    }
}

@media only screen and (min-width: 981px) {
    body .et_pb_section {
        padding: 6% 0;
    }

    body footer .et_pb_section {
        padding: 5% 0;
    }

}

@media only screen and (max-width: 980px) {
    body .et_pb_section {
        padding: 65px 0;
    }

    body footer .et_pb_section {
        padding: 50px 0;
    }    

    body .custom-header .header-email,
    body .custom-header .et_pb_social_media_follow {
        display: none;
    }

    #top-logo {
        left: 30px;
    }
}

@media only screen and (max-width: 500px) {
    body .et_pb_section {
        padding: 45px 0;
    }

    .agents-wrapper img {
        margin-bottom: 25px;
    }

    .agents-wrapper .agent {
        display: block;
    }

    .et_pb_tabs_controls li a {
        padding: 4px 20px;
        font-size: 14px;
    }

    .est8-objectlist {
        grid-template-columns: repeat(1, 1fr);
    }

    .page-id-362 .et_pb_text_0_tb_body h1 {
        font-size: 30px;
    }

    body footer .et_pb_section {
        padding: 40px 0;
    }

    body h1 {
        font-size: 42px;
    }

    body h2 {
        font-size: 36px;
    }


}