@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #dd3333;
    --text-color: #262627;
    --heading-color: #121213;
    --link-color: #53bbc2;
    --link-hover-color: #40959b;
}

::placeholder {
    font-size: .8rem;
    font-style: italic;
    color: rgba(58, 57, 57, 0.39);
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: inherit;
    line-height: inherit;
    background-color: #e2e2e2;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

:focus {
    outline: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important
}

input:read-only {
    background-color: #dcdcdc !important;
    color: #686868;
    border: 1px solid #ccc;
    font-style: italic;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    color: var(--heading-color);
    margin-bottom: 33px;
}

h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 3.8rem;
}

h2 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 3.2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 3rem;
}

h4 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.8rem;
}

h5 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.7rem;
}

h6 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.6rem;
}

@media (max-width: 767.99px) {

    h1 {
        font-size: 2rem;
        line-height: 3rem;
    }

    h2 {
        font-size: 1.9rem;
        line-height: 2.8rem;
    }

    h3 {
        font-size: 1.7rem;
        line-height: 2.5rem;
    }

    h4 {
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    h5 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    h6 {
        font-size: 1.4rem;
        line-height: 2.5rem;
    }
}


p {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--text-color);
}

a {
    font-family: inherit;
    transition: all 0.2s ease-in-out 0s;
    color: var(--link-color);
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    transition: all 0.3s ease;
}

a:focus {
    outline: 0
}

ul li,
ol li {
    font-size: .9rem;
    line-height: 1.8rem;
}


/* BOOTSTRAP FORM OVERRIDE */

.form-control:focus,
btn:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important
}

.form-label {
    font-weight: 600;
    font-size: .9rem;
}

.form-control {
    border-radius: 0;
    font-size: 0.9rem;
    background-color: #ffffff !important;
}

.form-floating>label {
    font-size: .9rem;
    color: rgba(58, 57, 57, 0.39);
}

input#email.form-control.form-control-lg {
    background: #ffffff !important;
}

/* Header styles */

.header {
    background-color: #f5f5f5;
}

.header nav .navbar-elements {
    justify-content: end;
}

.header nav .navbar-elements ul {
    margin-right: 40px;
}

.header nav .navbar-elements ul a {
    color: #666666d9;
    font-size: .9rem;
    font-weight: 400;
}

.header nav .navbar-elements .proposal-btn-mobile {
    display: none;
}

.header nav .navbar-elements .mobile-copyright {
    display: none;
}

.navbar-nav .nav-item {
    margin-right: 40px;

}


.navbar-nav .nav-link {
    position: relative;
    /* padding: 7px 20px; */
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--primary-blue);
    transition: 0.4s ease-out;
}

.navbar-nav .nav-link:hover::after {
    left: 0;
    width: 100%;
}

.default-btn {
    background-image: linear-gradient(to right, #224574, #53bbc2);
    padding: 8px 25px;
    color: #fff;
    font-size: 14px;
    border: none;
}

.default-btn:hover {
    background-image: linear-gradient(to right, #2b5791, #51c2ca);
    padding: 8px 25px;
    color: #fff;
    font-size: 14px;
}



@media (max-width: 991.98px) {

    .header nav .nav-container {
        position: relative;
    }

    .header nav .navbar-elements {
        background-color: #ffe205f6;
        position: absolute;
        top: 57px;
        left: 0;
        width: 100%;
        padding: 35px 40px;
        z-index: 1000;
    }

    .header nav .navbar-elements .navbar-nav {
        text-align: center;
        margin-bottom: 25px;
        margin-right: 0;
    }

    .header nav .navbar-elements .navbar-nav li a {
        color: var(--text-color);
        font-size: 1.125rem;
    }

    .header nav .navbar-elements .navbar-nav li:not(:last-child) {
        border-bottom: 1px solid #2a9b4148;
    }

    .header nav .navbar-elements .proposal-btn {
        display: none;
    }

    .header nav .navbar-elements .proposal-btn-mobile {
        display: flex;
        justify-content: center;
    }

    .header nav .navbar-elements .mobile-copyright {
        display: block;
        margin-top: 15px;
    }

    .header nav .navbar-elements .mobile-copyright p {
        text-align: center;
        font-size: 0.875rem;
        font-weight: 400;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

}

/* General page styles */
#main-content {
    padding: 0px;
    background-color: #ffffff;
    min-height: 100vh;
}

.content-container {
    min-height: 80vh;
}

.content-container .container {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #dad9daa6;
    border-radius: 0px;
}

.content-container .latest-posts h4 {
    font-size: 1.8rem;
    position: relative;
}

.content-container .latest-posts h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 20%;
    background: var(--link-color);
    /* Change the color to suit your needs */
}

.content-container .latest-posts .post h6 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.content-container .latest-posts .post .post-meta {
    font-size: .8rem;
    font-style: italic;
    margin-bottom: 0;
}

/* Invite form */
.invite-container {
    min-height: 80vh;
}

#invite-content .invite-form-container {
    max-width: 60%;
    margin: 0 auto;
}

#invite-content .invite-form-container .invite-section {
    margin-top: 30px;
    background-image: linear-gradient(to bottom right, #117a8b, #149db3);
    padding: 40px 30px;
    position: relative;
}

#invite-content .invite-form-container .invite-section .invite-icon i {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff3b;
    font-size: 80px;
}

#invite-content .invite-form-container .invite-section .invite-text h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 25px;
}

#invite-content .invite-form-container .invite-section .invite-text p {
    color: #ffffff;
}

#invite-content .invite-form-container .invite-section .invite-fields input {
    border-radius: 0;
    border: none;
    width: 81%;
}


#invite-content .invite-form-container .invite-section .invite-fields input::placeholder {
    font-size: 14px;
    font-style: italic;
    color: rgb(189, 187, 187);
}

#inviteForm>div:nth-child(2)>label {
    color: #ffffff;
    font-size: 14px;
}

#invite-content .invite-form-container.invite-section .invite-fields .form-check label a {
    font-size: 14px;
    color: #f6faf9fb;
}

.paginator ul {
    list-style: none;
    margin-bottom: 0;
}

.paginator ul li {
    font-size: 0.7rem;
    border-top: 1px solid rgba(204, 204, 204, 0.6);
    border-bottom: 1px solid rgba(204, 204, 204, 0.6);
    padding: 0.1rem .8rem;
    cursor: pointer;
    background-color: rgb(242, 247, 246);
}

.paginator ul li:hover {
    background-color: #dd3333;
}

.paginator ul li:hover a {
    color: #fff;
}

.paginator ul li:not(:first-child) {
    border-right: 1px solid rgba(204, 204, 204, 0.6);
}

.paginator ul li:first-child {
    border-left: 1px solid rgba(204, 204, 204, 0.6);
    border-right: 1px solid rgba(204, 204, 204, 0.6);
}

.paginator ul li a {
    font-size: 0.7rem;
}

.paginator ul li.disabled {
    background-color: #b8dad7;
    line-height: 1.8rem;
}

.paginator ul li.active {
    background-color: rgba(232, 243, 241, 0.515);
    border-top: 2px solid #dd3333;
    color: #dd3333;
    font-weight: 600;
    line-height: 1.8rem;
}

/* Home */
.hero {
    background-image: url('../../uploads/free/hero-min_315529.webp');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    min-height: 600px;
}

.hero-content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-content {
    padding-right: 25px;
    padding-left: 25px;
}

.catalog-container {
    padding: 30px;
}

.quote-heading {
    padding-left: 30px;
    padding-top: 30px;
}

.quote-form {
    padding-left: 30px;
    padding-right: 30px;
}

.about {
    background-image: url('../../uploads/free/elektro-about-min_681289.webp');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    min-height: 600px;
}

.person-name h6 {
    margin-bottom: 0;
    margin-top: 15px;
}

/* Footer */
footer {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

footer .widgets {
    background-color: #777777;
    padding: 30px;
}

footer p {
    color: #ffffff93;
    font-size: 13px;
    margin-bottom: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 26px;
}

footer .widgets .widget {
    padding-left: 10px;
}

footer .widgets .widget .widget-title h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 30px;
}

footer .copyright {
    background-color: #5b5b5b;
}

footer .copyright .payment-icons {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

footer .copyright .payment-icons .payment-icon {
    background-color: hsla(0, 0%, 100%, .1);
    border-radius: 5px;
    display: inline-block;
    margin: 3px 3px 0;
    opacity: .6;
    padding: 3px 5px 5px;
    transition: opacity .3s;
}

footer .copyright .payment-icons .payment-icon svg {
    fill: #fff;
    height: 20px;
    vertical-align: middle;
    width: auto !important;
}