/* typography */

body {
    overflow-x: hidden;
}

h1 {
    word-break: break-word;
}

.maxwidth940 > .sparky_page_container {
    max-width: 940px;
    margin: 0 auto;
}

.maxwidth740 > .sparky_page_container {
    max-width: 740px;
    margin: 0 auto;
}

.has-medium-font-size {
    font-size: 18px;
}

.has-large-font-size {
    color: #1c1c1c;
    font-size: 24px;
    line-height: 1.5;
}

.highlight_text {
    width: fit-content;
    margin: 0 auto;
    padding: 0 20px 0 4px;
    border: 2px solid #e7e7e7;
    border-radius: 25px;
    line-height: 45px;
}

.highlight_text b {
    display: inline-block;
    line-height: 38px;
    padding: 0 15px;
    margin-inline-end: 10px;
    background: var(--sparkycolor1);
    border-radius: 25px;
    color: #fff;
    font-weight: 400;
}

.rounded10 {
    border-radius: 10px;
}

.colored {
    color: var(--sparkycolor1);
}

.coloredbg {
    background: var(--sparkycolor1);
}

/* toprow */

.sparky_logo_image {
    max-width: 158px;
}

.sparky_logo_link:focus-visible {
    outline: none;
}

.toprow .sparky_container > .sparky_cell {
    padding-top: 30px;
    padding-bottom: 50px;
}

.toprow .mod-custom .sparky_cell {
    padding: 0;
}

.toprow .mp_top1 {
    margin-top: 10px;
}

.toprow nav:not(.opened) ul.menu > li:not(.parent):hover {
    border-radius: 4px;
}

.toprow nav:not(.opened) ul.menu > li.parent:hover {
    border-radius: 4px 4px 0 0;
}

.toprow nav:not(.opened) ul.menu ul {
    border-radius: 0 4px 4px 4px;
}

.toprow ul.menu > li,
.toprow ul.menu > li:hover,
.toprow ul.menu > li > a,
.toprow ul.menu > li > a:hover {
    transition: 0.3s;
}

.toprow ul.menu > li.parent {
    background-image: url(../images/arrow_down2.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 25px auto;
    padding-right: 15px;
}

.toprow ul.menu > li.parent:hover {
    background-image: url(../images/arrow_down2_hover.png);
}

.toprow .mp_top2 .sparky_page_container .sparky_cell {
    flex-direction: row;
    justify-content: flex-end !important;
    align-items: center;
    gap: 30px;
}

.toprow .mp_top2 .sparky_button {
    margin-top: 5px;
    margin-bottom: 0;
}

.toprow .mp_top2 p {
    margin-top: 5px;
    margin-bottom: 0;
}

.toprow .mp_top2 a {
    font-weight: 400;
}

/* form */

input, input.form-control, textarea, textarea.form-control {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 12px 20px;
    margin-bottom: 25px;
}

input::placeholder, textarea::placeholder {
    color: #888;
}

button, button.btn, input.button, a.btn, a.sparky_button {
    background: var(--sparkycolor1);
    border:0;
    border-radius: 27px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    padding: 10px 30px;
    transition: all 0.3s;
}

button:hover, button.btn:hover, button.btn-primary:hover, input.button:hover, a.btn:hover,
button:active, button.btn:active, button.btn-primary:active, input.button:active, a.btn:active,
button:focus, button.btn:focus, button.btn-primary:focus, input.button:focus, a.btn:focus,
a.sparky_button:hover, a.sparky_button:active, a.sparky_button:focus {
    background: #1c1c1c;
    border:0;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

a.sparky_button.small_btn {
    font-size: 16px;
    padding: 3px 25px;
    margin-top: 7px;
    margin-bottom: 7px;
}

a.sparky_button.outline {
    line-height: 26px;
    background: transparent;
    border:2px solid #1c1c1c;
    color: #666 !important;
}

a.sparky_button.outline:hover {
    background: transparent;
    border:2px solid var(--sparkycolor1);
    color: var(--sparkycolor1) !important;
}

a.sparky_button.white {
    background: #fff;
    border:2px solid #fff;
    color: var(--sparkycolor1) !important;
}

a.sparky_button.white:hover {
    background: #1c1c1c;
    border:2px solid #1c1c1c;
    color: #fff !important;
}

a.sparky_button.outline_white {
    background: transparent;
    border:2px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.6);
}

a.sparky_button.outline_white:hover {
    background: transparent;
    border:2px solid rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, 1) !important;
}

.input-group .btn {
    line-height: 1;
    height: 50px;
    padding-left: 30px;
    padding-right: 30px;
}

p.readmore a {
    background: transparent;
    border: 0;
    font-weight: 700;
    padding: 0;
}

p.readmore a::after {
    content:"";
    position: relative;
    top: -4px;
    display: inline-block;
    width: 80px;
    height: 2px;
    margin-left: 10px;
    background: #1c1c1c;
}

p.readmore a:hover {
    color: var(--sparkycolor1);
    background: transparent;
}

p.readmore a:hover::after {
    background: var(--sparkycolor1);
}

/* image scroller */

.hot-images-scroller .scroll-element img {
    border-radius: 10px;
}

/* content row */

body.sparky_home .contentrow main.sparky_cell {
    padding-bottom: 0;
}

body:not(.sparky_home) .contentrow main.sparky_cell {
    padding-top: 0;
    padding-bottom: 30px;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: #fff;
    background-color: var(--sparkycolor1);
    border-color: var(--sparkycolor1);
}

.page-link, .page-link:hover {
    color: var(--sparkycolor1);
}

/* services row */

.services_row > .sparky_page_container {
    gap: 40px;
}

.services_row > .sparky_page_container > .sparky_cell {
    border: 1px solid #ededed;
    border-radius: 10px;
}

/* above content */

.abovecontent {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -15px;
    overflow: hidden;
}

.abovecontent .moduletable {
    max-width: 1370px;
    margin: 0 auto;
}

.abovecontent .moduletable .osm-map {
    z-index: 0;
    border-radius: 20px;
}

/* contact */

.com-contact.contact dt {
    float: inline-start;
    clear: both;
    padding-top: 15px;
    padding-inline-end: 15px;
}

.com-contact.contact dd {
    padding-inline-start: 30px;
}

.com-contact.contact dt + dd {
    padding-top: 15px;
}

@media (min-width: 992px) {

    .com-contact.contact {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }

    .com-contact.contact .page-header,
    .com-contact.contact h1 {
        width: 100%;
    }

    .com-contact__container {
        width: 34%;
    }

    .com-contact__form.contact-form {
        width: 66%;
        margin-top: 15px;
    }

    .com-contact__form.contact-form legend {
        background: transparent;
        padding: 15px 0;
        font-size: 24px;
        line-height: 1.4;
        font-weight: 700;
        text-transform: uppercase;
    }

    .com-contact.contact > h2 {
        display: none;
    }

}

/* portfolio content filter */

.hot-content-filter__item {
    background: #f8f8f8;
    border: 0;
    box-shadow: none;
}

.hot-content-filter__item:hover {
    box-shadow: none;
}

h3.hot-content-filter__title a {
    font-weight: 400;
}

.hot-content-filter--tabstyle-underline .hot-content-filter__tabs {
    gap: 7%;
}

.hot-content-filter--tabstyle-underline .hot-content-filter__tab {
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 5px;
}

.hot-content-filter--tabstyle-underline .hot-content-filter__tab.is-active {
    background: transparent;
    border-color: transparent transparent var(--sparkycolor1) transparent;
    color: var(--sparkycolor1);
}

/* testimonials */

.testimonialrow1 .sparky_col1,
.testimonialrow2 .sparky_col0 {
    background: #f8f8f8;
}

.hot_swipe_carousel_slides_testimonials .flickity-viewport {
    min-height: 450px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.hot_swipe_carousel_slides_testimonials .gallery-cell {
    display: flex;
    flex-direction: column;
    background: #ebebeb;
    border-radius: 10px;
    padding: 30px;
}

.hot_swipe_carousel_slides_testimonials img {
    position: relative;
    width: 70px !important;
    height: 50px;
    margin-bottom: 15px;
    z-index: 1;
}

.hot_swipe_carousel_slides_testimonials strong {
    color: #000;
}

.hot_swipe_carousel_slides_testimonials .contents {
    position: relative !important;
    line-height: 1.4;
}

.hot_swipe_carousel_slides_testimonials .contents .name {
    font-size: 18px;
    margin-top: 60px;
}

/* blog */

.blog-items .page-header h2, .blog-items .page-header h2 a {
    font-size: 24px;
}

.blog-items .item-image img {
    border-radius: 10px 10px 0 0;
}

.blog-items.columns-2,
.blog-items.columns-3,
.blog-items.columns-4 {
    margin-right: -30px;
}

.blog-items.columns-2 .blog-item {
    width: calc(50% - 30px);
    background: #eee;
    border-radius: 10px;
    margin-inline-end: 30px;
    margin-bottom: 50px;
}

.blog-items.columns-3 .blog-item {
    width: calc(33.33% - 25px);
    background: #f8f8f8;
    border-radius: 10px;
    margin-inline-end: 30px;
    margin-bottom: 50px;
}

.blog-items.columns-4 .blog-item {
    width: calc(25% - 25px);
    background: #eee;
    border-radius: 10px;
    margin-inline-end: 30px;
    margin-bottom: 50px;
}

.blog-items.columns-2 .blog-item:nth-child(2n),
.blog-items.columns-3 .blog-item:nth-child(3n),
.blog-items.columns-4 .blog-item:nth-child(4n) {
    margin-inline-end: 0;
}

.blog-items.columns-2 .blog-item .item-content,
.blog-items.columns-3 .blog-item .item-content,
.blog-items.columns-4 .blog-item .item-content {
    padding-left: 15px;
    padding-right: 15px;
}

.blog > .page-header {
    padding-bottom: 50px;
}

@media (max-width: 767px) {

    .hot_swipe_carousel_slides_testimonials .gallery-cell {
        display: block;
        width: 86% !important;
    }

}

/* bottomrow */

.bottomrow {
    padding-bottom: 15px;
}

.bottomrow h2 {
    font-size: 72px;
}

.bottomrow2 {
    padding-top: 30px;
    padding-bottom: 45px;
}

.bottomrow2 h3 {
    padding-bottom: 30px;
}

.footerrow > .sparky_container {
    font-size: 14px;
    border-top: 2px solid var(--sparkycolor4);
    padding-top: 15px;
    padding-bottom: 15px;
}


/* responsive */

.nav-toggle {
    float: left;
}

.nav-collapse.opened li li li a, .nav-collapse.opened li li li span {
    padding-left: 45px;
}

.nav-collapse.opened li li li li a, .nav-collapse.opened li li li li span {
    padding-left: 60px;
}

@media (max-width: 1229px) {

    .toprow nav:not(.opened) ul.menu {
        display: none;
    }

}

@media (max-width: 991px) {

    .sparky_cell.mp_top1 {
        width: 20% !important;
    }

    .sparky_cell.mp_top2 {
        width: 55% !important;
    }

    .services_row > .sparky_page_container {
        gap: 15px;
    }

}

@media (max-width: 767px) {

    .sparky_cell.mp_logo {
        width: 100% !important;
        padding-top: 15px !important;
        padding-bottom: 0 !important;
    }

    .sparky_cell.mp_top1 {
        width: 20% !important;
    }

    .sparky_cell.mp_top2 {
        width: 80% !important;
    }

    .sparky_logo_image {
        margin: 0 auto;
    }

    .toprow .mp_top2 .sparky_page_row {
        margin: 0 !important;
    }

    .blog-items.columns-2 .blog-item,
    .blog-items.columns-3 .blog-item,
    .blog-items.columns-4 .blog-item {
        width: 100%;
    }

    .sparky_cell.mp_bottom2, .sparky_cell.mp_bottom3, .sparky_cell.mp_bottom4, .sparky_cell.mp_bottom5 {
        width: 50% !important;
    }

    .sparky_cell.mp_empty0 {
        display: none;
    }

    .footerrow, .footerrow ul.menu {
        text-align: center;
    }

    .sparky_container > .sparky_cell.mp_copyright {
        padding-bottom: 0;
    }

    .sparky_container > .sparky_cell.mp_footer {
        padding-top: 0;
    }

}

@media (max-width: 600px) {

    .highlight_text {
        display: flex;
        line-height: 24px;
        text-align: start;
    }

    .highlight_text b {
        margin-top: 5px;
        margin-bottom: 5px;
    }

}

@media (max-width: 500px) {

    .sparky_cell.mp_bottom2, .sparky_cell.mp_bottom3, .sparky_cell.mp_bottom4, .sparky_cell.mp_bottom5 {
        width: 100% !important;
    }

}

@media (max-width: 414px) {

    .services_row {
        margin-left: 0;
        margin-right: 0;
    }

    .two_buttons .sparky_button {
        margin: auto;
    }

}


/* For DEMO purposes only. Can be safely deleted */

.sparky_settings {
    position: fixed;
    z-index: 9999;
    top:70%;
    padding: 0 5px;
    background: #000;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    line-height: 1.4;
}

.sparky_settings:hover {
    background: #000;
}

.sparky_settings .sparky_cell {
    padding: 15px;
}

.settings_content {
    display: none;
    float: left;
    padding-right: 15px;
    height: 28px;
}

.settings_content span {
    display: inline-block;
    width: 28px;
    height: 28px;
    border:3px solid #ddd;
    border-radius: 19px;
}

.settings_content span:hover {
    border:3px solid #fff;
}

.settings_content span.style1 {
    background: #38ac10;
}

.settings_content span.style2 {
    background: #7b3218;
}

.settings_content span.style3 {
    background: #aa0c0c;
}

.settings_content span.style4 {
    background: #107eac;
}

.settings_content span.style5 {
    background: #cf8d00;
}

.settings_content a {
    text-decoration: none;
}

.settings_cog {
    float: left;
    width: 30px;
    height: 28px;
}

.sparky_settings i {
    font-size: 28px;
    color: #ccc;
}

	