/** !
Theme Name: Eco Drainage & Maintenance
Theme URI: https://www.ecodrainageandmaintenance.co.uk/
Description: Bespoke Theme for Eco Drainage & Maintenance using WordPress. Gutenberg compatible. Using Bootstrap 4 and Font Awesome 5.
Author: Elms Creative
Author URI: https://www.elmscreative.com/
Version: 1.0
Text Domain: elmscreative
*/

/* ==========================================================================
    Elements
   ========================================================================== */

html,
body {
    height: 100%;
}
html {
    background: #eff4f5;
    overflow: auto;
}
body {
    background: none;
    color: #1a1a1a;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 auto 0.25em;
    color: #1a1a1a;
    text-transform: capitalize;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    font-weight: 700;
}
p {
    font-size: 0.95rem;
    line-height: 1.6;
}
ol,
ul {
    padding: 0 0 0 1.5em;
}
ul > li,
ol > li {
    font-size: 0.95rem;
}
hr {
    border-top: #45b5e7 1px solid;
}
svg {
    color: #45b5e7;
}

label {
    color: #1a1a1a !important;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}
input[type="text"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
    padding: 0.65em !important;
    font-size: 1rem !important;
    background-color: #efefef !important;
    border: #cecece 1px solid !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}
input[type="file"] {
    color: #4c4c4c;
}
select {
    color: #4c4c4c;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    height: auto;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    background-color: #efefef !important;
    border: #cecece 1px solid !important;
}
textarea {
    min-height: 125px !important;
    max-height: 125px !important;
    padding: 0.65em !important;
    font-size: 1rem !important;
    background-color: #efefef !important;
    border: #cecece 1px solid !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}
.large-radio {
    width: 20px;
    height: 20px;
}
.large-label {
    font-size: 0.9rem;
    padding-left: 5px;
}

input[type="submit"] {
    width: auto;
    padding: 0.65em 1.75em;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: #8cc63f 1px solid;
    -moz-transition: color 0s linear 0s;
    -webkit-transition: color 0s linear 0s;
    -o-transition: color 0s linear 0s;
    transition: color 0s linear 0s;
    background: #8cc63f;
}
input[type="submit"]:hover {
    color: #fff !important;
    background: transparent;
    text-decoration: none;
    border: #555 1px solid;
    background: #555;
}

.btn,
.wp-element-button,
.forminator-ui.forminator-design--flat .forminator-button-submit {
    width: auto !important;
    padding: 0.65em 1.75em !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
    position: relative !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: #8cc63f 1px solid !important;
    -moz-transition: color 0s linear 0s !important;
    -webkit-transition: color 0s linear 0s !important;
    -o-transition: color 0s linear 0s !important;
    transition: color 0s linear 0s !important;
    background: #8cc63f !important;
    -webkit-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    -moz-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
}
.btn:hover,
.wp-element-button:hover,
.forminator-ui.forminator-design--flat .forminator-button-submit:hover {
    color: #fff !important;
    background: transparent !important;
    text-decoration: none !important;
    border: #555 1px solid !important;
    background: #555 !important;
}

/* ==========================================================================
    Structure
   ========================================================================== */

header {
    padding: 0.35em;
    background-color: #0f75bc;
    overflow: hidden;
}
header .header {
    justify-content: space-between;
}
header .header-contact {
    justify-content: start;
}
header .header-contact > div > a > .fa-envelope {
    margin-right: 0.25em;
}
header .header-contact > div > a > .fa-phone {
    margin-right: 0.25em;
}
header .header-social {
    justify-content: end;
}
header .header-contact,
header .header-social {
    font-size: 0.9rem;
}
header .header-contact > div > a,
header .header-social > div > a {
    color: #fff;
}
header .header-contact > div > a:hover,
header .header-social > div > a:hover {
    color: #8cc63f;
}
header svg {
    color: #fff;
}

nav.navbar {
    padding: 0.5em 1.5em;
    background-color: #fff;
}
nav.navbar .img-logo {
    max-width: 180px;
    margin: 0.35em 1.25em 0.35em 0;
}

main#content {
    background: url("assets/images/main-bg.jpg") top center no-repeat;
    background-size: contain;
    overflow: hidden;
}

section#hero {
    padding: 5.5em 0;
}
section#hero h1 {
    text-align: center;
}

section#breadcrumbs nav,
section#breadcrumbs .breadcrumb {
    text-align: center;
    background-color: transparent;
}
section#breadcrumbs p {
    margin-bottom: 1em;
}
section#breadcrumbs p > svg {
    color: #0f75bc;
}
section#breadcrumbs p > span > svg {
    color: #0f75bc;
    font-size: 0.85rem;
    position: relative;
    top: 1px;
}
section#breadcrumbs p > span > span {
    font-size: 0.8rem;
    font-weight: normal;
}
section#breadcrumbs p > span > span:first-child {
    font-weight: 600;
}
section#breadcrumbs p > span > span.breadcrumb_last {
    color: #0f75bc;
}

section#about,
section#reviews {
    overflow: hidden;
}

section#cta {
    background: #0f75bc url("assets/images/pre-footer-bg.jpg") left center
        no-repeat;
    background-size: contain;
    overflow: hidden;
}
section#cta h3,
section#cta p,
section#cta a {
    color: #fff;
}
section#cta a:hover {
    color: #8cc63f;
}

section#end {
    padding: 0 0 1.5em;
    overflow: hidden;
}

section#enquire {
    background-color: #fff;
}

footer {
    padding: 2em 0 1em;
    background-color: transparent;
    overflow: hidden;
}
footer .follow > div > a > svg {
    font-size: 1.25rem;
    color: #45b5e7;
}
footer .follow > div > a > svg:hover {
    color: #555;
}
footer .img-logo-footer {
    max-width: 280px;
    margin-bottom: 1.25em;
}
footer p {
    font-size: 0.9rem;
}
footer .fa-location-dot,
.fa-phone,
.fa-envelope {
    margin-right: 0.25em;
}
footer p.company-details {
    font-size: 0.8rem;
}
footer a {
    font-weight: normal;
}
footer h6 {
    font-size: 0.975rem;
}
footer ul {
    padding: 0 0 0.5em;
    list-style: none;
}
footer ul > li {
    padding: 0.25em 0;
    font-size: 0.9rem;
}
footer .accreditations {
    justify-content: space-around;
}
footer .accreditations > div > a > img {
    max-width: 100px;
}
footer .powered {
    justify-content: space-between;
}
footer .powered > div {
    font-size: 0.8rem;
}
footer .powered > div a:active,
footer .powered > div a:visited,
footer .powered > div a:link,
footer .powered > div a[href^="tel"] {
    font-weight: 600;
}

/* ==========================================================================
    Links and Navigation
   ========================================================================== */

a {
    font-weight: 600;
    text-decoration: none;
    -moz-transition: color 0.1s linear 0.1s;
    -webkit-transition: color 0.1s linear 0.1s;
    -o-transition: color 0.1s linear 0.1s;
    transition: color 0.1s linear 0.1s;
}
a:active,
a:visited,
a:link,
a[href^="tel"] {
    color: #1a1a1a;
}
a:hover,
a[href^="tel"]:hover {
    text-decoration: none;
    color: #8cc63f;
}
a.nostyle:active,
a.nostyle:visited,
a.nostyle:link {
    color: inherit;
    text-decoration: none;
}
.nostyle:hover {
    color: inherit;
    text-decoration: none;
}

.navbar-toggler {
    margin: 1.5em 0;
    position: relative;
    z-index: 35;
}
.navbar-toggler > svg {
    color: #45b5e7;
}
.navbar-toggler > svg:hover {
    color: #555;
}

#primary {
    margin-left: 2em;
}
#secondary {
    margin: 0;
}
#primary,
#secondary {
    padding: 0;
    text-align: left;
}
#primary > li,
#secondary > li {
    padding: 0;
    margin: 0;
}
#primary > li:hover,
#secondary > li:hover {
    background: none;
}
#primary > li:hover > a,
#secondary > li:hover > a {
    color: #8cc63f;
}
#primary > li > a {
    padding: 0.5em 1em;
    margin: 0;
    color: #1a1a1a;
    font-size: 0.9rem;
    text-transform: capitalize;
}
#primary > li.active > a {
    color: #45b5e7;
}

#secondary > li > a {
    padding: 0.65em 1.5em;
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    text-transform: capitalize;
    background-color: #8cc63f;
}
#secondary > li > a:hover {
    color: #fff;
    background-color: #555;
}
#secondary > li > a > svg {
    color: #fff;
}

.dropdown-item {
    font-size: 0.9rem;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: #efefef !important;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 12px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    padding: 6px 10px;
    background-color: #eff4f5;
    color: #0f75bc;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
}
#back-to-top > svg {
    position: relative;
    top: 2px;
    color: #0f75bc;
}
#back-to-top > svg:hover,
#back-to-top:hover > svg {
    color: #8cc63f;
}

/* ==========================================================================
		  Misc
		 ========================================================================== */

.section {
    padding: 5em 0;
    position: relative;
    z-index: 5;
}
.section-mini {
    padding: 2.5em 0;
    position: relative;
    z-index: 5;
}
.section-very-mini {
    padding: 1em 0;
    position: relative;
    z-index: 5;
}
.section-none {
    padding: 0;
    position: relative;
    z-index: 5;
}

.cta-wrap {
    padding: 0 1em 0 0;
}

.card.card-form {
    background: #fafafa;
    border: 1px solid #ededed;
    -webkit-border-bottom-right-radius: 75px;
    -moz-border-radius-bottomright: 75px;
    border-bottom-right-radius: 75px;
    overflow: hidden;
}
.card.card-form > .card-body {
    padding: 2.25em;
}
.card.card-form > .card-footer {
    padding: 0;
    background-color: #fff;
    border-top: #45b5e7 0 solid;
}
.card.card-form > .card-footer > .btn {
    width: 100%;
    padding: 0.75em 2.25em;
}

.card.card-contact {
    background: #fafafa;
    border: 1px solid #ededed;
    -webkit-border-bottom-right-radius: 75px;
    -moz-border-radius-bottomright: 75px;
    border-bottom-right-radius: 75px;
}
.card.card-contact > .card-body {
    padding: 2em;
}
.card.card-contact > .card-body > svg {
    margin-bottom: 1em;
    font-size: 1.5rem;
    color: #45b5e7;
}
.card.card-contact > .card-body > p > a {
    font-weight: normal;
}

span.required {
    color: red;
}

#mapCanvas {
    width: 100%;
    min-height: 434px;
}

.stats-section {
    padding: 0 0 3em;
    margin: 0;
}
.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #45b5e7;
    display: block;
}
.stat-label {
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
}
.service-category {
    margin-bottom: 2rem;
}
.category-header {
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.category-header h4 {
    margin: 0;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}
.category-header i {
    margin-right: 0.75rem;
    color: #45b5e7;
}
.category-header .toggle-icon {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s ease;
}
.category-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}
.service-card {
    background: #fafafa;
    border: 1px solid #ededed;
    -webkit-border-bottom-right-radius: 75px;
    -moz-border-radius-bottomright: 75px;
    border-bottom-right-radius: 75px;
    transition: all 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.service-card > .card-body {
    padding: 1.75em;
}
.service-card .service-icon {
    color: #45b5e7;
    font-size: 1.25rem;
}
.service-card h5 {
    color: #1a1a1a;
}
.service-card p {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.img-curved-edge {
    -webkit-border-bottom-right-radius: 75px;
    -moz-border-radius-bottomright: 75px;
    border-bottom-right-radius: 75px;
}

.intro-wrap {
    padding: 0 1.5em;
}
.hero-img-wrap {
    padding: 0 2em;
}

/* ==========================================================================
		  Cookie Consent
		 ========================================================================== */

.cc-window {
    opacity: 1;
    transition: opacity 1s ease;
}
.cc-window.cc-invisible {
    opacity: 0;
}
.cc-animate.cc-revoke {
    transition: transform 1s ease;
}
.cc-animate.cc-revoke.cc-top {
    transform: translateY(-2em);
}
.cc-animate.cc-revoke.cc-bottom {
    transform: translateY(2em);
}
.cc-animate.cc-revoke.cc-active.cc-bottom,
.cc-animate.cc-revoke.cc-active.cc-top,
.cc-revoke:hover {
    transform: translateY(0);
}
.cc-grower {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}
.cc-link,
.cc-revoke:hover {
    text-decoration: underline;
}
.cc-revoke,
.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999;
}
.cc-window.cc-static {
    position: static;
}
.cc-window.cc-floating {
    padding: 2em;
    max-width: 24em;
    -ms-flex-direction: column;
    flex-direction: column;
}
.cc-window.cc-banner {
    padding: 1em 1.8em;
    width: 100%;
    -ms-flex-direction: row;
    flex-direction: row;
}
.cc-revoke {
    padding: 0.5em;
}
.cc-header {
    font-size: 18px;
    font-weight: 700;
}
.cc-btn,
.cc-close,
.cc-link,
.cc-revoke {
    cursor: pointer;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.cc-link {
    opacity: 0.8;
    display: inline-block;
    padding: 0.2em;
}
.cc-link:hover {
    opacity: 1;
}
.cc-link:active,
.cc-link:visited {
    color: initial;
}
.cc-btn {
    display: block;
    padding: 0.75em 2.25em !important;
    font-size: 0.9em;
    font-weight: 600;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap;
}
.cc-banner .cc-btn:last-child {
    min-width: 140px;
}
.cc-highlight .cc-btn:first-child {
    background-color: transparent;
    border-color: transparent;
}
.cc-highlight .cc-btn:first-child:focus,
.cc-highlight .cc-btn:first-child:hover {
    background-color: transparent;
    text-decoration: underline;
}
.cc-close {
    display: block;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 1.6em;
    opacity: 0.9;
    line-height: 0.75;
}
.cc-close:focus,
.cc-close:hover {
    opacity: 1;
}
.cc-revoke.cc-top {
    top: 0;
    left: 3em;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}
.cc-revoke.cc-bottom {
    bottom: 0;
    left: 3em;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}
.cc-revoke.cc-left {
    left: 3em;
    right: unset;
}
.cc-revoke.cc-right {
    right: 3em;
    left: unset;
}
.cc-top {
    top: 1em;
}
.cc-left {
    left: 1em;
}
.cc-right {
    right: 1em;
}
.cc-bottom {
    bottom: 0;
}
.cc-floating > .cc-link {
    margin-bottom: 1em;
}
.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em;
}
.cc-window.cc-floating .cc-compliance {
    -ms-flex: 1;
    flex: 1;
}
.cc-window.cc-banner {
    -ms-flex-align: center;
    align-items: center;
}
.cc-banner.cc-top {
    left: 0;
    right: 0;
    top: 0;
}
.cc-banner.cc-bottom {
    left: 0;
    right: 0;
    bottom: 0;
}
.cc-banner .cc-message {
    -ms-flex: 1;
    flex: 1;
    font-size: 0.9em;
}
.cc-compliance {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: justify;
    align-content: space-between;
}
.cc-compliance > .cc-btn {
    -ms-flex: 1;
    flex: 1;
}
.cc-btn + .cc-btn {
    margin-left: 0.5em;
}
.cc-message {
    color: #1a1a1a;
}
.cc-btn {
    width: auto !important;
    padding: 0.65em 1.75em !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
    position: relative !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: #8cc63f 1px solid !important;
    -moz-transition: color 0s linear 0s !important;
    -webkit-transition: color 0s linear 0s !important;
    -o-transition: color 0s linear 0s !important;
    transition: color 0s linear 0s !important;
    background: #8cc63f !important;
    -webkit-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    -moz-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
}
.cc-btn:hover {
    color: #fff !important;
    background: transparent !important;
    text-decoration: none !important;
    border: #555 1px solid !important;
    background: #555 !important;
}
.cc-btn > svg {
    display: none;
}

.cc-floating.cc-theme-classic {
    padding: 1.2em;
    border-radius: 5px;
}
.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
    text-align: center;
    display: inline;
    -ms-flex: none;
    flex: none;
}
.cc-theme-classic .cc-btn {
    border-radius: 5px;
}
.cc-theme-classic .cc-btn:last-child {
    min-width: 140px;
}
.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
    display: inline-block;
}
.cc-theme-edgeless.cc-window {
    padding: 0;
}
.cc-floating.cc-theme-edgeless .cc-message {
    margin: 2em 2em 1.5em;
}
.cc-banner.cc-theme-edgeless .cc-btn {
    margin: 0;
    padding: 0.8em 1.8em;
    height: 100%;
}
.cc-banner.cc-theme-edgeless .cc-message {
    margin-left: 1em;
}
.cc-floating.cc-theme-edgeless .cc-btn + .cc-btn {
    margin-left: 0;
}

/* ==========================================================================
		  Google Recapatcha V3
		 ========================================================================== */

.grecaptcha-badge {
    display: none !important;
}

/* ==========================================================================
		  Media Queries: iPad
		 ========================================================================== */

/* iPad [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
}

/* iPad [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
}

/* iPad 3/4 [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPad 3/4 [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
}

/* ==========================================================================
		  Bootstrap Queries
		 ========================================================================== */

@media (max-width: 575.98px) {
    .cc-window.cc-floating {
        padding: 1em !important;
    }
    .cc-floating .cc-message {
        font-size: 0.8rem !important;
    }

    .img-icon {
        max-width: 200px;
    }
    #primary {
        margin-left: 0;
    }
    section#hero {
        padding: 3.5em 0;
    }
    section#hero h1 {
        font-size: 1.85rem;
    }
    section#cta {
        background: #0f75bc;
    }
    footer .img-logo-footer {
        max-width: 180px;
    }
    footer .powered {
        flex-wrap: wrap;
        text-align: center;
    }
    .hero-img-wrap {
        padding: 0 0 1.5em;
    }
    .intro-wrap {
        padding: 2em 0;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cc-window.cc-floating {
        padding: 1em !important;
    }
    .cc-floating .cc-message {
        font-size: 0.8rem !important;
    }

    .img-icon {
        max-width: 200px;
    }
    #primary {
        margin-left: 0;
    }
    section#hero {
        padding: 3.5em 0;
    }
    section#hero h1 {
        font-size: 1.85rem;
    }
    section#cta {
        background: #0f75bc;
    }
    footer .img-logo-footer {
        max-width: 180px;
    }
    footer .powered {
        flex-wrap: wrap;
        text-align: center;
    }
    .hero-img-wrap {
        padding: 0 0 1.5em;
    }
    .intro-wrap {
        padding: 2em 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #primary {
        margin-left: 0;
    }
    .hero-img-wrap {
        padding: 0 0 1.5em;
    }
    .intro-wrap {
        padding: 2em 0;
    }
    section#cta {
        background: #0f75bc url("assets/images/pre-footer-bg.jpg") left
            no-repeat;
        background-size: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
}

@media (min-width: 1400px) {
}

/* ==========================================================================
		  Print
		 ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #1a1a1a !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
