/*
Theme Name: Josephs Child
Template: josephs
*/

@media only screen and (max-width: 1110px) {.av-main-nav > li.menu-item-avia-special {
    display: block;
}
    .av-main-nav > li {
        display: none;
    }}


.logo {
    padding: 20px;
}
.header_color div
{
    border: none !important;
}

.container, .content
{
    padding: 0px;
}

body .column-top-margin
{
    margin: 0px;
}

.flex_column_div
{
    margin-bottom: -5px !important;
}
.main_menu
{
    margin-bottom: 25px;
}
h1
{
    text-transform: none !important;
    font-size: 40px;
    font-weight: 100 !important;
}
p
{
    font-size: 18px !important;
    line-height: 19px !important;
}

.feature-text {
    position: relative; /* anchor for absolute positioning */
}

.feature-text .corner-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: auto;
}
.feature-text .neg-adustment {
    bottom: 40px;
}

.feature p
{
    font-size: 40px !important;
    line-height: 44px !important;
    margin-top: 0 !important;
}
.avia_codeblock
{
    padding:0px !important;
}

/*link animations*/
/*transparent header*/
#top .av_header_transparency .avia-menu-fx
{
    bottom: 0px !important;
    left: 0 !important;
}
/*transparent header*/
.av-main-nav > li > a
{
    padding : 0px !important;
    margin-right: 20px !important;
}
.header_color .avia-menu-fx
{
    height: 2px;
    width: 0px !important;
}

.menu-item a:hover > .avia-menu-fx
{
    width: 30px !important;
}
a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0 !important;
    width: 100%;
    height: 1px;
    opacity: 0;
    transition: opacity 300ms, transform 500ms;
}

    /*full-width-image-lockup*/
.bv-full-width-img-container-dk
{
    width: 100%;
    position: relative;
}
.bv-full-width-img-container-dk img
{
    margin: 0px;
}

.bv-full-width-img-container-dk p
{
    font-size: 18px !important;
    line-height: 19px !important;
    font-weight: 100;
}

/*mobile header*/
.bv-full-width-mobile-header-dk
{
    display: none;
}
/*mobile header*/

/*text-bottom*/
.bv-full-width-caption-dk
{
    position: absolute;
    font-size: 50px;
    font-weight: 100;
    bottom:40px;
    left:40px;
    color: #cca256;
    height: auto;
    width: 500px;
    z-index: 2;
}
/*text-bottom*/
/*text-top*/
.bv-full-width-caption-top-dk
{
    position: absolute;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    top:40px;
    left:40px;
    color: #f8ecd8;
    height: auto;
    width: 400px;
    z-index: 2;
}
/*text-top*/
/*full-width-image-lockup*/

a.light-yellow, a:hover.light-yellow
{
    color: #f7ecd8 !important;
    font-size: 24px !important;
    text-decoration: underline !important;
    line-height: 22px !important;
    margin-top: 0px !important;
    font-weight: 300 !important;
}
.light-yellow
{
    color: #f7ecd8 !important;
}
a.dark-brown, a:hover.dark-brown
{
    color: #623614; !important;
    font-size: 24px !important;
    text-decoration: underline !important;
    line-height: 22px !important;
    margin-top: 0px !important;
    font-weight: 300 !important;
}
.dark-brown
{
    color: #623614; !important;
}

/*video*/
.cb-full-vid
{
    position: relative;
}

.cb-full-vid-title
{
    position: absolute;
    top:40px;
    left:40px;
    height: auto;
    width: 500px;
    z-index: 2;
}

.cb-full-vid-title h1
{
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #ffffff;
    text-transform: none !important;
}
.cb-full-vid-title h1.dark
{
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #1642d5;
    text-transform: none !important;
}
.cb-full-vid-body
{
    width: 400px;
}
.cb-full-vid-title p
{
    font-size: 16px;
    line-height: 18px;
    font-weight: 100;
    color: #ffffff;
}
/*video*/



/*Floating header*/

.floating-header-main-container
{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 0px 0px;
    height: 0px;
    background-color: rgb(0, 0, 128);
    z-index: 999999;
    overflow: hidden;
    -webkit-transition: height .3s ease-out;
    -moz-transition: height .3s ease-out;
    -o-transition: height .3s ease-out;
    transition: height .3s ease-out;
}

.floating-header-container
{
    position: relative;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 1300px;
    padding: 0px 0px;
    height: 0px;
    z-index: 999999;
}


.floating-logo
{
    position: relative;
    float: left;
    height: 60px;
    width: 60px;
    margin-left:8px;
    margin-top:20px;
}

.main-floating-menu
{
    position: relative;
    float: right;
    top: 30px;
    padding-right: 10px;
}

ul.floating-menu
{
    list-style: none;
    margin: 0;
    padding: 0;

}

ul.floating-menu li
{
    float: left;
}

.book-a-demo a
{
    margin-top: -5px;
    margin-left: 10px;
    font-weight: 600;
    color: #000080;
    padding: 13px 25px;
    border-radius: 50px;
    background-color: #05f282;
    border: solid 2px  #05f282;
    -webkit-transition: border .7s ease-in-out, background-color .7s ease-in-out, box-shadow .7s ease-in-out;
    -moz-transition: border .7s ease-in-out, background-color .7s ease-in-out, box-shadow .7s ease-in-out;
    -o-transition: border .7s ease-in-out, background-color .7s ease-in-out, box-shadow .7s ease-in-out;
    transition: border .7s ease-in-out, background-color .7s ease-in-out, box-shadow .7s ease-in-out;
}

.book-a-demo a:hover
{
    text-decoration: none;
    background-color: #05f282;
    color: #000080 !important;
    border: solid 2px #ffffff;
    -webkit-transition: border .3s ease-in-out, background-color .3s ease-in-out;
    -moz-transition: border .3s ease-in-out, background-color .3s ease-in-out;
    -o-transition: border .3s ease-in-out, background-color .3s ease-in-out;
    transition: border .3s ease-in-out, background-color .3s ease-in-out;
}
.book-a-demo a::after, #menu-item-1763 a > .avia-menu-fx
{
    display: none !important;
}

.floating-menu-item a
{
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    display: block;
    position: relative;
    padding: 0.2em 30px;
    padding-top: 0.0em;
    text-decoration: none;
    height: 58px;
    letter-spacing: -.05em !important;
}

ul.floating-menu li a:hover
{
    color: #2bfc86;
}


/* Slide in */
ul.floating-menu li a {
    overflow: hidden;
}

ul.floating-menu li a::after {
    opacity: 1;
    transform: translate3d(-104%, 0, 0);
}

ul.floating-menu li a:hover::after,
ul.floating-menu li a:focus::after{
    transform: translate3d(0, 0, 0);
}
/*End:: Floating header*/

.footer-ele
{
    padding-left: 40px !important;
    padding-top: 40px !important;

}

.png-logo
{
    width: 175px !important;
}

.timeline-year p
{
    font-size: 50px !important;
}

.last-element
{
    background-color: #f7ecd8 !important;
}


/*Contact form 7*/
.wpcf7-form
{
    margin-bottom: 0px !important;
}

.contact-column
{
    width: 45%;
    float: left;
}
.contact-column-full
{
    width: 95%;
    float: left;
}
.contact-column-end
{
    width: 45%;
    float: left;
    margin-left: 5%;
}

.wpcf7-form
{
    margin-top: 20px !important;
}

.wpcf7-form p label
{
    font-size: 16px !important;
    font-weight: 100 !important;
}

.wpcf7-form-control
{
    margin-top: 10px !important;
    padding: 15px 24px !important;
    background-color: #f1d9b2 !important;
    color: #1642d5 !important;
    font-size: 18px !important;
    font-weight: 100 !important;
    border: #f1d9b2 1px solid !important;
}

.wpcf7-submit
{
    cursor:pointer;
    font-family: 'figtree', Helvetica, Arial, sans-serif;
    text-align: left;
    border: 1px #f1d9b2 solid !important;
    height: 40px !important;
    min-width: 200px;
    padding: 9px 30px 10px 32px !important;
    font-size: 18px;
    font-weight: 100 !important;
    line-height: 9px;
    display: inline-block;
    color: #623614 !important;
}

.wpcf7-submit:hover
{
    background-color: #cca256 !important;
    color: #623614 !important;
    transition: 0.6s;
    min-width: 200px;
    padding: 9px 30px 10px 40px !important;
}


.wpcf7-not-valid-tip
{
    color: #bf0020 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.sent .wpcf7-response-output
{
    border-radius: 60px !important;
}
/*End::Contact form 7*/


.feature-box
{
    position: relative;
    height: 90vh;
    width: 100%;
}
.feature-box.cta
{
    background-color:  #402020;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    font-size: 36px;
    font-weight: 100;
    line-height: 40px;
    padding: 10px 10px;
    height: 20vh;
}
.feature-box.cta a
{
    color: #f8ecd8 !important;
    text-decoration: underline !important;
}

.feature-box .top
{
    position: absolute;
    top: 30px;
    left:20px;
    margin-right: 20px;
    max-width: 500px;
}

.feature-box .top-first
{
    top: 90px;
}

.feature-box h1
{
    font-size: 40px !important;
    color: #623614 !important;
}

.feature-box p
{
    font-size: 34px !important;
    line-height: 36px !important;
}

.feature-box.consultation {
    background-image: url('https://josephs.web.mottostudio.co.uk/wp-content/uploads/2025/09/bespoke-consultation.jpg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 700px auto;
}

.feature-box.schematic {
    background-image: url('https://josephs.web.mottostudio.co.uk/wp-content/uploads/2025/09/bespoke-schematic-1.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 700px auto;
}
.feature-box.model {
    background-image: url('https://josephs.web.mottostudio.co.uk/wp-content/uploads/2025/09/bespoke-model-1.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 700px auto;
}
.feature-box.fitting {
    background-image: url('https://josephs.web.mottostudio.co.uk/wp-content/uploads/2025/09/bespoke-fitting.jpg');
    background-repeat: no-repeat;
    background-position: right -50px;
    background-size: 763px auto;
}
.feature-box.reveal {
    background-image: url('https://josephs.web.mottostudio.co.uk/wp-content/uploads/2025/09/bespoke-reveal.jpg');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 763px auto;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* space between logo and lines */
    margin: 0 20px;
}

.divider span {
    flex: 1;
    height: 2px;
    background-color: #623614;
}

.divider img {
    height: 50px; /* adjust as needed */
    display: block;
}

@media only screen and (max-width: 1602px) {
    .feature p
    {
        font-size: 30px !important;
        line-height: 32px !important;
    }
}
@media only screen and (max-width: 1262px) {
    .feature p
    {
        font-size: 22px !important;
        line-height: 23px !important;
    }
    .feature-box
    {
        height: 70vh;
    }
    .feature-box .top
    {
        top: 30px;
        left:20px;
        margin-right: 20px;
        max-width: 400px;
    }
    .feature-box .top-first
    {
        top: 90px;
    }
    .feature-box h1
    {
        font-size: 40px !important;
        color: #623614 !important;
    }
    .feature-box p
    {
        font-size: 22px !important;
        line-height: 23px !important;
    }
    .feature-box.consultation {
        background-position: right -150px top;
        background-size: 600px auto;
    }
    .feature-box.schematic {
        background-position: right -150px top;
        background-size: 600px auto;
    }
    .feature-box.model {
        background-position: right -150px top;
        background-size: 600px auto;
    }
    .feature-box.fitting {
        background-position: right -50px;
        background-size: 763px auto;
    }
    .feature-box.reveal {
        background-position: right bottom;
        background-size: 763px auto;
    }
}

@media only screen and (max-width: 1080px) {
    p
    {
        font-size: 16px !important;
        line-height: 16px !important;
    }
}

@media only screen and (max-width: 982px) {
    .feature p
    {
        font-size: 16px !important;
        line-height: 19px !important;
    }
    .feature-box
    {
        height: 60vh;
    }
    .feature-box .top
    {
        top: 30px;
        left:20px;
        margin-right: 20px;
        max-width: 300px;
    }
    .feature-box .top-first
    {
        top: 90px;
    }
    .feature-box h1
    {
        font-size: 40px !important;
        color: #623614 !important;
    }
    .feature-box p
    {
        font-size: 16px !important;
        line-height: 19px !important;
    }
    .feature-box.consultation {
        background-position: right -180px top;
        background-size: 500px auto;
    }
    .feature-box.schematic {
        background-position: right -180px top;
        background-size: 500px auto;
    }
    .feature-box.model {
        background-position: right -180px top;
        background-size: 500px auto;
    }
    .feature-box.fitting {
        background-position: right -50px;
        background-size: 763px auto;
    }
    .feature-box.reveal {
        background-position: right bottom;
        background-size: 763px auto;
    }
}

@media only screen and (max-width: 767px) {
    .feature
    {
        min-height: 500px;
    }
    .feature p
    {
        font-size: 34px !important;
        line-height: 36px !important;
    }
    h1
    {
        text-transform: none !important;
        font-size: 26px;
        font-weight: 100 !important;
    }
    .responsive #top #wrap_all .container
    {
        max-width: 100% !important;
        width: 100% !important;
    }
    .responsive #top .logo
    {
        width: 120px;
        margin-left: 10px !important;
    }
    .page-title
    {
        padding: 20px 15px !important;
        padding-bottom: 10px !important;
    }
    .responsive #top #wrap_all .flex_column
    {
        margin-bottom: 0 !important;
    }
    .feature-text
    {
        padding: 15px !important;
        padding-bottom: 65px !important;
        padding-top: 30px !important;
        margin-top: -20px !important;
    }
    .feature-text-adjust
    {
        padding-top: 15px !important;
        margin-top: -20px !important;
    }
    /*mobile header*/
    .bv-full-width-mobile-header-dk
    {
        display: block;
        position: absolute;
        font-size: 34px;
        line-height: 26px;
        font-weight: 100;
        top:20px;
        left:15px;
        color: #cca256;
        height: auto;
        width: 500px;
        z-index: 2;
    }
    /*mobile header*/

    .bv-full-width-caption-dk
    {
        position: absolute;
        font-size: 34px;
        font-weight: 100;
        bottom:30px;
        left:15px;
        color: #cca256;
        height: auto;
        width: 300px;
        z-index: 2;
    }


    .bv-full-width-img-container-dk p
    {
        font-size: 16px !important;
        line-height: 18px !important;
        font-weight: 100;
    }

    .footer-ele
    {
        padding: 15px !important;

    }

    .feature-box
    {
        height: 90vh;
    }
    .feature-box .top
    {
        top: auto;
        bottom: 30px;
        left:20px;
        margin-right: 20px;
        max-width: 300px;
    }
    .feature-box .top-first
    {
        top: auto;
        bottom: 30px;
    }
    .feature-box .top-last
    {
        top: 30px;
        bottom: auto;
    }
    .feature-box h1
    {
        font-size: 40px !important;
        color: #623614 !important;
    }
    .feature-box p
    {
        font-size: 16px !important;
        line-height: 19px !important;
    }
    .feature-box.consultation {
        background-position: right -100px top;
        background-size: 400px auto;
    }
    .feature-box.schematic {
        background-position: right -100px top;
        background-size: 400px auto;
    }
    .feature-box.model {
        background-position: right -160px top -40px;
        background-size: 500px auto;
    }
    .feature-box.fitting {
        background-position: right 0px;
        background-size: 450px auto;
    }
    .feature-box.reveal {
        background-position: center bottom;
        background-size: 450px auto;
    }
    .feature-box.cta
    {
        font-size: 20px;
    }
    a.dark-brown, a:hover.dark-brown
    {
        color: #623614; !important;
        font-size: 24px !important;
        text-decoration: underline !important;
        line-height: 22px !important;
        margin-top: 0px !important;
        font-weight: 300 !important;
    }
    .dark-brown
    {
        color: #623614; !important;
    }
    .feature-text .corner-icon {

        left: 10px;

    }


}