html 
{
    margin-top: 0 !important;
}

* 
{
    box-sizing: border-box;
}

.hidden 
{
    display: none !important;
}


html a 
{
    color: #275EE2;
    word-break: break-word;

    transition: 180ms ease opacity;
}
html a:hover 
{
    opacity: 0.55;
}
html, body 
{
    font-family: 'Playfair Display', serif;
    background: #fff;
    color: #000;
    position: relative;
    margin: 0;
    text-rendering: optimizeLegibility;
}
body p, body ol, body#post .featured-post ul 
{
    line-height: 2.1rem;
    margin: 1rem 0;
    font-size: 1.25rem;
    letter-spacing: 0.015rem;
    font-weight: 400;
    font-family: 'Lora', serif;
    /* font-weight: 500; */
} 
body#post .post ol li, body#post .post ul li 
{
    margin: 0.65rem 0;
}
body#post .post h1, body#post .post h2, body#post .post h3, body#post .post h4, body#post .post h5
{
    margin: 1rem 0;
} 
body#post .post .featured-post h1, body#post .post .featured-post h2, body#post .post .featured-post h3,
body#post .post .featured-post h4, body#post .post .featured-post h5, body#post .post .featured-post h6 
{
    margin: 2.25rem 0 0.25rem;
}
body#post .post h3 
{
    font-size: 1.25rem;
    margin: 2.2rem 0 0;
}

nav 
{
    position: sticky;
    z-index: 2;
    width: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    /* display: inline-flex; */
    flex-direction: row;
    padding-top: 2rem;
    padding-bottom: 2rem;
    align-items: center;
    box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
    text-align: center;
    height: 57px;
} 
nav .container 
{
    display: inline-flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
nav div ul 
{
    margin: 0;
}
nav div  ul li 
{
    display: inline-block;
    margin-right: 4rem;
    font-size: 1rem;
}
nav li 
{
    list-style-type: none;
    font-size: 1rem;
}
nav a 
{
    text-decoration: none;
    color: #000;
    font-weight: 600;
}
nav li.site-name
{
    /* font-size: 1.5rem; */
    /* margin-right: auto; */
}
nav li.site-name a 
{
    font-weight: 600;
}
nav .menu 
{
    display: none;
}
nav button#user-dropdown, nav button#menu
{
    background: none;
    border: none;
    vertical-align: middle;
    line-height: 0;
    cursor: pointer;
    border-radius: 100px;
    padding: 0;
}
nav button#menu 
{
    padding: 0.5rem;
    margin: -0.5rem;    
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    
    transition: 180ms ease background-color;
}
nav button#menu.active 
{
    background-color: rgba(0, 0, 0, 0.12);
}
nav .sub-menu 
{
    display: none;
}
nav .desktop-links 
{
    display: flex;
    gap: 4rem;
} 

.navigation-menu 
{
    position: fixed;
    width: 80%;
    min-width: 200px;
    max-width: 400px;
    background-color: #fff;
    top: 56px;
    right: 0;
    z-index: 5;
    height: calc(100% - 56px);;
    padding: 0 1rem;
    overflow-y: scroll;

    transition: 180ms ease transform;

    transform: translateX(100vw);
}
.navigation-menu ul, .navigation-menu li 
{
    list-style: none;    
}
.navigation-menu ul 
{
    padding: 0;
    margin: 0;
}
.navigation-menu ul.dropdown-list 
{
    padding-left: 1rem;
}
.navigation-menu a, .navigation-menu ul li a
{
    text-decoration: none;
    padding: 1rem 0;
    display: block;
    margin: 0;
    border-bottom: solid 1px #ccc;
}
.navigation-menu li.dropdown a 
{
    border-bottom: none;
    width: 100%;
}
.navigation-menu li.dropdown 
{
    border-bottom: solid 1px #ccc;
}

li.dropdown 
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
li.dropdown .dropdown-arrow 
{
    transform: rotate(270deg);
}
.dropdown-list 
{
    display: none;
}
.navigation-menu .navigation-footer 
{
    margin-top: 0rem;
}
.overlay 
{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: -1;

    transition: 180ms ease opacity;

    opacity: 0;
}


.cookie-banner 
{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 4rem; */
    border-top: solid 2px rgba(0, 0, 0, 0.15);
    justify-content: space-around;
}
.cookie-banner.hide 
{
    display: none;
}
.cookie-banner p 
{
    margin: 0;
}
.cookie-banner .banner-heading 
{
    font-weight: bold;
    font-family: "Playfair Display", serif;
}
.cookie-banner button 
{
    padding: 1rem;
    border: none;
    font-size: 1.25rem;
}



div.heading 
{
    background-size: cover;
    /* height: 920px; */
    background-position: center;
    background-repeat: no-repeat;
    /* padding-top: 8rem; */
    /* padding-bottom: 8rem; */
}
div.heading.category 
{
    height: 620px;
}
div.heading h1 
{
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 6px rgb(255 255 255 / 15%);
}
div.heading p 
{
    max-width: 600px;
    font-size: 1.25rem;
    line-height: 2.15rem;
    margin-top: 3rem;
    text-shadow: 0 0 6px rgb(255 255 255 / 15%);
}
div.heading div.cta-container 
{
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-direction: column;
}
.cta-container a 
{
    padding: 1rem 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    line-height: 1.5;
}
.button.solid 
{
    display: block;
    /* margin-right: 2rem; */
    padding: 1.25rem 4rem;
    text-align: center;
    background: linear-gradient(50deg, #ff5205, #fd0061);
    border-radius: 6px;
    box-shadow: 0px 0px 6px #ff52052e;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: "Playfair Display", serif;
    cursor: pointer;
}
button.button.solid 
{
    display: block;
    width: max-content;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
    /* float: right; */
    /* text-align: right; */
    margin: 1rem auto;
}
.button 
{
    transition: 180ms ease opacity;
}
.button:hover 
{
    opacity: 0.6;
}


div.heading.error-404-header 
{
    min-height: 480px;
}



footer .footer-links
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    border-bottom: 0.25rem solid #000;
}
footer .footer-links ul 
{
    display: flex;
    flex-direction: row;
    gap: 2rem;
} 


#contact-form 
{
    max-width: 680px;
    margin: 4rem auto;
}
#contact-form form 
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-content: center;
    align-items: flex-start;
}
#contact-form form label 
{
    margin-top: 1.25rem;
}
#contact-form form input, #contact-form form textarea
{
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}
#contact-form form input.submit-button, div#the-calculator form input.submit-button 
{
    width: auto;
    cursor: pointer;
    align-self: end;
    margin: 1rem 0;
}
#contact-form form textarea 
{
    margin-bottom: -1rem;
    resize: vertical;
}
#contact-form form label, #contact-form form input, #contact-form form p, #contact-form form textarea 
{
    font-size: 1.25rem;
    font-family: "Lora", serif;
}









div#the-calculator form, .salary-calculator form 
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
div#the-calculator h2 
{
    margin: 1rem 0 !important;
}
div#the-calculator form .col, .salary-calculator form .col 
{
    /* width: 100%; */
    /* display: flex; */
    /* flex-direction: row; */
}
div#the-calculator form .col .input-wrapper, .salary-calculator form .col .input-wrapper, 
div#the-calculator form .col hr, .salary-calculator form .col hr 
{
    width: 100%;
}
div#the-calculator .input-wrapper 
{
    min-width: 160px;
}

div#the-calculator .max-60 
{
    max-width: 60%;
}
div#the-calculator .max-40 
{
    max-width: 40%;
}
div#the-calculator .max-33 
{
    max-width: 33%;
}

div#the-calculator .col hr.line-divider, hr.line-divider 
{
    width: 100%;
    border: 1px solid #bbb;
}

div#the-calculator .input-wrapper.split 
{
    display: flex;
    flex-direction: row; 
    gap: 1rem;
}
div#the-calculator .input-wrapper.split label.radio-group 
{
    margin: 0;
}

div#the-calculator form .col label.checkbox-group, .salary-calculator form .col label.checkbox-group,
div#the-calculator form .col .input, .salary-calculator form .col .input 
{
    padding: 0.35rem 0;
    /* background-color: #ccc; */
    display: flex;
}
div#the-calculator form .input-group-row 
{
    display: flex;
    flex-direction: row;
    align-items: center;
}
div#the-calculator form .col label.checkbox-group, .salary-calculator form .col label.checkbox-group
{
    cursor: pointer;
}
div#the-calculator form .col label.checkbox-group 
{
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    position: relative;
    margin: 0;
}
div#the-calculator form .col input[type=checkbox]
{
    cursor: pointer;
    /*
    opacity: 0;
    width: 0;
    height: 0;
    */
}
div#the-calculator form .col span.checkbox 
{
    /*
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: #eee;
    */
    display: none;
}
div#the-calculator form button.tooltip-default, .salary-calculator form button.tooltip-default, button.tooltip-default 
{
    margin: 0 0.75rem;
    background-color: #eee;
    background-image: url(https://cdn.moneysavingexpert.com/tax-calculator/static/icons-utility-tooltip-icon-unhighlighted-fc9523ff38d7af797387cf35fe9c84e3.svg);
    background-position: 0;
    background-repeat: no-repeat;
    background-size: 100%;
    border: none;
    border-radius: 100rem;
    width: 16px;
    height: 16px;
    cursor: pointer;    
}


div#the-calculator table 
{
    text-align: left;
    font-size: 1rem;
}
div#the-calculator table td, div#the-calculator table th 
{
    padding: 0.4rem;
    border: 1px solid #ccc;
}
div#the-calculator table td.value
{
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

div#the-calculator #result h2 
{
    margin: 0 !important;
}

body#post .salary-calculator div.tooltip-container,
body#post .related-posts .post-card .post-type, 
body#post .related-posts .post-card .post-image 
{
    display: none;
} 



/*
.salary-calculator, div#the-calculator
{
    padding: 1rem;
    background: #efefef;
    border-radius: 1rem;
    border: 1px solid #ccc;
}
*/
div#the-calculator 
{
    gap: 0.5rem;
}
div#the-calculator form, div#the-calculator div#result, div#the-calculator div.calculator-note 
{
    padding: 1rem;
    background: #efefef;
    border-radius: 1rem;
    border: 1px solid #ccc;
}


div#the-calculator div#result 
{
    display: none;
    /* align-content: center; */
    align-items: center;
}
div#the-calculator div#result.active 
{
    display: flex;
}

div#the-calculator div#result .result-wrapper 
{
    max-width: 300px;
    gap: 1rem;
}
div#the-calculator .result-wrapper > div 
{
    width: 100%;
}
div#the-calculator .result-wrapper .header 
{
    text-align: center;
    background: #e1e1e1;
    border-radius: 1rem;
    padding: 1rem;
    gap: 0.5rem;
}

div#the-calculator .result-wrapper .header h2, 
div#the-calculator .result-wrapper .header p, 
div#the-calculator .result-wrapper .header span, 
div#the-calculator .result-wrapper .statistic-value
{
    margin: 0;
    font-family: "Lora", serif;
}
div#the-calculator .result-wrapper .header h2 
{
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
div#the-calculator .result-wrapper h3, 
body#post .post .featured-post div#the-calculator .result-wrapper h3
{
    margin: 0;
    font-size: 1rem;
}

div#the-calculator .result-wrapper .statistics 
{
    gap: 1rem;
    margin: 1rem 0;
}
div#the-calculator .result-wrapper .statistic 
{
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}
div#the-calculator .result-wrapper .statistic-value, 
div#the-calculator .result-wrapper .statistic-label 
{
    font-size: 1rem;
}
div#the-calculator .result-wrapper .statistic-value 
{
    font-weight: bold;
}
div#the-calculator hr 
{
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
}



div#the-calculator .input-group-split  
{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}
div#the-calculator .input-wrapper
{
    width: 100%;
}
/*
div#the-calculator .input-group-split .input-wrapper:first-child 
{
    width: 180%;
}
*/
div#the-calculator .input-row 
{
    display: flex;
    flex-direction: row;
    border-radius: 0.25rem;
}
div#the-calculator label 
{
    margin: 0.75rem 0;
    font-weight: 700;
}
div#the-calculator .input-addon, div#the-calculator input:not(input[type=checkbox]), div#the-calculator select, div#the-calculator label.radio-group 
{
    background-color: #fff;
    border: 1px solid #777;
    padding: 0.5rem;
    line-height: 1.5rem;
    min-height: 44px;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    /* width: 100%; */
}
div#the-calculator select 
{
    padding-right: 1rem;
}
div#the-calculator .input-addon 
{
    user-select: none;
    border-radius: 0;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
    align-items: center;
    line-height: 1;
    justify-content: center;
}
div#the-calculator .input-row input 
{
    width: 100%;
}
div#the-calculator .input-row > :first-child 
{
    border-radius: 0.25rem 0 0 0.25rem !important;
    margin-right: -1px;
}
div#the-calculator .input-row > :last-child 
{
    border-radius: 0 0.25rem 0.25rem 0 !important;
}
div#the-calculator .input-radios-wrapper 
{
    display: flex;
    flex-direction: row;
}
div#the-calculator label.radio-group input[type=radio]
{
    opacity: 0;
    position: absolute;
}
div#the-calculator label.radio-group 
{
    padding: 0;
    cursor: pointer;
}
div#the-calculator label.radio-group:first-of-type 
{
    margin-right: -1px;
    border-radius: 0.25rem 0 0 0.25rem;
}
div#the-calculator label.radio-group:last-of-type 
{
    border-radius: 0 0.25rem 0.25rem 0;
}
div#the-calculator label.radio-group, div#the-calculator label.radio-group .radio-group-label 
{
    transition: background 180ms ease, color 180ms ease, border 180ms ease;
}
div#the-calculator label.radio-group.active .radio-group-label, div#the-calculator label.radio-group.active
{
    background: linear-gradient(50deg, #ff5205, #fd0061);
    color: #fff;
    border: 1px solid #ff5205;
}
div#the-calculator label.radio-group .radio-group-label 
{
    position: relative;
    vertical-align: middle;
    letter-spacing: 0;
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    display: table-cell;
    text-align: center;
    line-height: 22px;
}
div#the-calculator .input-group-split 
{
    align-items: center;
}
/*
div#the-calculator .input-group-split .input-wrapper:first-of-type 
{
    width: 160%;
}
*/









/* Mobile */
@media (min-width: 1rem)
{

    nav, footer, .heading 
    {
        padding: 1rem;
    }
    nav 
    {
        top: 0 !important;
    }
    nav .menu-main-navigation-container, nav .user-dropdown 
    {
        display: none;
    }
    nav .menu 
    {
        display: block;
    }
    nav .site-name 
    {
        font-size: 1rem;
    }


    .heading 
    {
        padding: 2rem 1rem;
    }



    div.email-newsletter 
    {
        display: none;
    }

    

    .section-container 
    {
        padding: 0 1rem;
        margin: 2.25rem 0;
    }
    .card-container, .grid-container 
    {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .post-link 
    {
        text-decoration: none;
    }
    .post-card 
    {
        width: auto;
        padding: 0;
        border-radius: 1rem;
        background: #e7e7e7;
        overflow: hidden;
    }
    .post-card img.post-image 
    {
        width: 100%;
        max-height: 420px;
        height: 100%;
        object-fit: cover;
    }
    .post-card .post-desc 
    {
        padding: 1rem;
        text-decoration: none;
        color: #000;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .post-card .post-desc h3, body#post .post .post-card .post-desc h3 
    {
        /* font-size: 2rem; */
        margin: 0;
    }
    .post-card .post-desc h3 a 
    {
        padding: 1rem 0;
    }
    .post-card .post-desc p 
    {
        font-size: 1.125rem;
        margin: 0;
        /* white-space: nowrap; */
        /* text-overflow: ellipsis; */
        display: block;
        /* width: 100%; */
        /* overflow: hidden; */
        /* -webkit-line-clamp: 3; */
        overflow: hidden;
        /* text-overflow: ellipsis; */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .post-card span.read-more
    {
        display: none;
    } 
    div.post-card 
    {
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    }


    .grid-container .post-card.first-card .post-desc 
    {
        /* max-height: 220px; */
        bottom: 0;
    }
    

    /* Footer */ 
    .quick-tips .button 
    {
        display: block;
        max-width: 280px;
        margin: 2rem auto;
    }
    footer .footer-links ul 
    {
        padding: 1rem 0;
        margin: 0;
        list-style: none;
    }
    footer .footer-links li a 
    {
        color: #000;
        text-decoration: none;
        font-weight: 600;
    }
    footer .footer-links .site-name 
    {
        font-size: 1.5rem;
    }

    footer .footer-disclaimer 
    {
        margin: 2rem 0;
    }

    footer .footer-small 
    {
        display: flex;
        flex-direction: column;
    }
}


/* Desktop */
@media (min-width: 600px)
{
    /*
    footer
    {
        max-width: 1408px;
        padding-left: 6rem;
        padding-right: 6rem;
        margin: 0 auto;
    }
    */

    .section-container, .heading .container, nav .container, footer .container 
    {
        max-width: 1408px;
        margin: 0 auto;
    }
    
    nav .menu 
    {
        display: none;
    }

    
    div.heading 
    {
        display: block;
        min-height: 680px;
        padding-top: 4rem;
    }
    div.heading div.cta-container 
    {
        flex-direction: row;
        margin-top: 4rem;
    }

    .section-container 
    {
        margin-top: 4rem;
        margin-bottom: 8rem;
    }

    .card-container 
    {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(3, 1fr);
    }


    div.grid-container :not(.post-card.first-card) img.post-image
    {
        display: none;
    }
    div.grid-container .post-card.first-card img.post-image 
    {
        display: block;
    }


    .section-container.post 
    {
        margin-top: 1rem;
    }
    .section-container.post .post-container 
    {
        /* flex-direction: column; */
    }
    .section-container.post .featured-post div 
    {
        display: flex;
        flex-direction: column;
    }
    .section-container.post .featured-post div img.post-featured-image 
    {
        order: -5;
        max-height: 480px;
        object-fit: cover;
    }
    .section-container.post .featured-post div h1.post-title 
    {
        order: -1;
        font-size: 2.5rem;
    }
    .section-container.post .featured-post div .post-type 
    {
        order: -1;
        margin: 1rem 0 0;
        display: none;
    }
    .section-container.post .featured-post div .post-date
    {
        order: -2;
        margin: 1rem 0 0;
        text-align: right;
        font-size: 1rem;
    }
    /*
    .section-container.post .featured-post div .post-date::before 
    {
        content: "Written on ";
    }
    */
    .section-container.post .featured-post div .wp-block-post-date 
    {
        display: none;
    }
    .section-container.post .featured-post div h2 
    {
        font-size: 2rem;
        margin: 2rem 0 0.25rem;
    }

    .section-container.post div.related-posts h2 
    {
        margin: 0 0 0.6rem;
        display: none;
    }
    .section-container.post div.related-posts .post-card img.post-image 
    {
        height: 260px;    
    }
    .section-container.post .post-container .featured-post 
    {
        width: 160%;
    }

    body#post .grid-container .post-card.first-card 
    {
        grid-row-end: 3;
    }
    body#post .grid-container .post-card img.post-image 
    {
        height: 280px;
    }

}





/* Mobile */ 
@media (max-width: 600px)
{
    html#html 
    {
        margin-top: 0 !important;
    }

    
    
    nav .desktop-links, div.heading:not(.error-404-header), div.post-card .post-desc p, div.post-card .post-desc .read-more, html #wpadminbar, img.post-featured-image.desktop, body#post span.post-type 
    {
        display: none;
    }


    .section-container 
    {
        margin: 1rem 0 3rem;
    }
    

    div.grid-container 
    {
        display: flex;
    }
    div.grid-container .post-card img.post-image, div.post-card img.post-image 
    {
        height: 200px;
    }
    

    div.post-card .post-desc 
    {
        gap: 0.5rem;
    }

    div.post-card .post-desc h3 
    {
        font-size: 1.25rem;
    }
    div.post-card .post-desc .post-type 
    {
        font-size: 0.75rem;
    }


    div.post-container 
    {
        flex-direction: column;
    }
    

    div.quick-tip p, footer div.footer-disclaimer p 
    {
        font-size: 1rem;
    }





    body#post div.featured-post div 
    {
        display: flex;
        flex-direction: column;
    }

    body#post div.featured-post img.post-featured-image 
    {
        order: -1;
        border-radius: 0;
        margin: -1rem -1rem 0;
        width: 100vw;
    }

    body#post div.featured-post .post-type, body#post .post-date 
    {
        padding: 1rem 0 0;
    }

    body#post div.featured-post h1 
    {
        margin: 0.5rem 0; 
    } 


    .cookie-banner 
    {
        flex-direction: column;
    }
    .cookie-banner .banner-heading 
    {
        display: none;
    }
    .cookie-banner .banner-info p 
    {
        font-size: 1rem;
    }
    .cookie-banner button#banner_understood 
    {
        padding: 1rem; 
        font-size: 1rem;
        margin: 1rem 0 0;
    }


    footer .footer-links ul li:not(.site-name) 
    {
        display: none;
    }
    
}


/* Coming Soon */

.quick-tips a.button 
{
    display: none;
}
div.container.quick-tips div.quick-tip 
{
    margin: 2rem auto;
}
.desktop-links li:last-child, .desktop-links li:first-child 
{
    /*display: none;*/
}
div.heading.category 
{
    display: none;
}
li.dropdown .dropdown-arrow 
{
    display: none;
}
