/* BASE
================================================== */

body {
    padding-top: 4rem;
    -webkit-font-smoothing: antialiased;
    word-spacing: 0;
    letter-spacing: 0;
    background: #fff;
    color: #282828;
}

body,
input,
button,
textarea {
    font-family: 'Noto Sans', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p,
ul,
ol,
table,
figure {
    margin-bottom: 1.5rem;
}

a,
input,
textarea,
button {
    transition: color 0.3s, background-color, 0.3s, border-color 0.3s, opacity 0.3s;
}

a {
    text-decoration: none;
}

a {
    color: #0058c2;
}

a:hover,
a:focus {
    color: #282828;
}

*,
*:focus {
    outline: none !important;
}

img {
    max-width: 100%;
}

figure img {
    width: 100%;
}

/* LAYOUT
================================================== */

/*
	Header
*/

.header {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    left: 0;
    height: 4rem;
    padding: 0 0.75rem;
    background: #fff;
    z-index: 1001;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.header .logo {
    flex-shrink: 0;
    margin-right: auto;
}

.header .logo a {
    position: relative;
    display: block;
    height: 3rem;
}

.header .logo img {
    display: block;
    width: auto;
    height: 100%;
}

/*
	Main Menu
*/

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.25rem;
    height: 1rem;
    margin-left: 2rem;
    transition: all 0.3s;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
}

.main-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 500;
    font-size: .75rem;
}

.main-menu > ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
    white-space: nowrap;
}

.main-menu > ul li {
    position: relative;
}

.main-menu > ul > li {
    margin-left: 0.25rem;
}

.main-menu > ul > li > a {
    display: block;
    padding: 0.25rem;
    color: #000;
    border-radius: 0.625rem;
}

.main-menu > ul > li.current-menu-item > a,
.main-menu > ul > li:hover > a {
    color: #fff;
    background: #0058c2;
}

.main-menu > ul ul {
    position: absolute;
    visibility: hidden;
    top: 100%;
    left: 0;
    padding: 0.3125rem;
    font-size: 0.9375rem;
    background: #0058c2;
    opacity: 0;
    transition: all 0.3s;
    border-radius: 0.625rem;
}

.main-menu > ul ul li {
    display: block;
}

.main-menu > ul ul li a {
    display: block;
    padding: 0.3125rem;
    color: #fff;
}

.main-menu > ul ul li.current-menu-item > a,
.main-menu > ul ul li:hover > a {
    text-decoration: underline;
    color: #fff;
}

.main-menu > ul li:hover > ul {
    visibility: visible;
    opacity: 1;
}

/*
	Footer
*/

.footer {
    position: relative;
    font-size: 0.875rem;
    color: #fff;
    background-color: #303030;
}

.footer a {
    color: inherit;
}

.footer__title {
    margin-bottom: 0.5rem;
    font-size: inherit;
}

.copyright {
    position: relative;
    padding-top: 1rem;
    padding-bottom: .5rem;
    font-size: 0.75rem;
    color: #232323;
    background: #fff;
}

.copyright ul,
.copyright p {
    margin-bottom: .5rem;
}

.copyright ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style-type: none;
}

.copyright ul li:not(:last-child):after {
    content: '|';
    padding: 0 .25rem;
}

.copyright ul a {
    color: #232323;
}

.copyright ul a:hover {
    text-decoration: underline;
}


/*
    Offcanvas
*/

.offcanvas {
    max-width: 80%;
    font-size: 1.25rem;
    background: #fff;
}

.offcanvas ul {
    padding: 0;
    list-style-type: none;
}

.offcanvas ul a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.25rem 0;
    font-weight: 600;
    color: #373737;
}

.offcanvas ul a i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    cursor: pointer;
    transform: rotate(-90deg);
}

.offcanvas ul a i:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translate(1px, -6px);
    transform-origin: center center 0;
}

.offcanvas ul ul {
    margin-left: 1.5rem;
    font-size: 1rem;
}

.offcanvas-body > ul ul {
    display: none;
}

.offcanvas-body > ul li.active > ul {
    display: block;
}

.offcanvas ul li.current-menu-item > a {
    color: #0058c2;
}

.offcanvas ul li.active > a > i {
    transform: rotate(0);
}


/* SECTIONS
================================================== */

/*
	Section
*/

.section--service {
    position: relative;
    z-index: 2;
    margin-top: -2rem;
}

.section {
    position: relative;
    display: block;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

a.section {
    color: #474747;
}

a.section:hover {
    opacity: 0.8;
}

.section__scroll,
.scroll-top {
    position: absolute;
    content: '';
    z-index: 10;
    top: -1.875rem;
    left: 50%;
    width: 3.75rem;
    height: 3.75rem;
    line-height: 3.75rem;
    font-size: 1.5rem;
    margin-left: -1.875rem;
    text-align: center;
    border-radius: 100%;
}

.section__scroll,
.section__scroll:focus,
.scroll-top,
.scroll-top:focus {
    color: #fff;
    background: #00469b;
}

.section__scroll:hover,
.scroll-top:hover {
    color: #fff;
    background: #000;
}

.section__title {
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.section__title + .section__subtitle {
    margin-top: -1.75rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 400;
}

.section--border-top {
    border-top: 0.25rem dotted #e8e8e8;
}

/*
	Intro
*/

.intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15rem;
}

.intro > * {
    position: relative;
    z-index: 2;
}

.intro .slideshow {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro .border-title {
    font-style: italic;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.8);
}

.intro .border-title strong {
    font-size: 1em;
}

/* MODULES
================================================== */

/*
	Slideshow
*/

.slideshow {
    position: relative;
}

.slideshow__item {
    height: 100%;
    color: #fff;
    background-position: center center;
    background-size: cover;
}

/*
	Service box
*/

.service-box {
    position: relative;
    display: block;
    height: 100%;
    font-size: 1.25rem;
    padding: 1.25rem;
    text-align: center;
    color: #000;
    background: #fff;
    border-radius: 0.625rem;
}

.service-box__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto 1.25rem;
    background: #0058c2;
    border-radius: 100%;
    transition: all 0.3s;
}

.service-box__icon img {
    width: 70%;
    height: 70%;
}

.service-box > *:last-child {
    margin-bottom: 0;
}

.service-box__title {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-box:hover {
    color: #fff;
    background: #0058c2;
}

.service-box:hover .service-box__icon {
    background: #00469b;
}

/*
	Product box
*/

.post-box {
    display: block;
    color: #000;
    border: 0;
}

.post-box figure {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.625rem;
}

.post-box figure:before {
    display: block;
    content: '';
    padding-bottom: 65%;
}

.post-box figure:after {
    position: absolute;
    content: '';
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #222;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.post-box figure img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-box figure i {
    position: absolute;
    display: block;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 2.5rem;
    margin: -1.25rem 0 0 -1.25rem;
    font-size: 2.5rem;
    line-height: 1;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s;
}

.post-box__title {
    font-size: 1.625rem;
    font-weight: 500;
}

.post-box:hover {
    color: #0058c2;
}

.post-box:hover figure:after {
    opacity: 0.6;
    transform: scale(1);
}

.post-box:hover figure i {
    opacity: 1;
    transform: scale(1);
}

.post-box:hover .btn--gray {
    color: #fff;
    background-color: #0058c2;
}

.post-box--separator {
    padding-bottom: 2rem;
    border-bottom: .25rem dotted #e8e8e8;
}

.post-box--video figure {
    background-color: #0058c2;
}

.post-box--video figure i {
    opacity: 1;
}

/*
    Info Box
*/

.info-box {
    min-height: 9rem;
    padding: 1rem 1.5rem;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    border-radius: 0.75rem;
}

.info-box a:not(.btn) {
    color: inherit;
}

.info-box a:not(.btn):hover {
    color: #0058c2;
}

.info-box__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.info-box__title i {
    font-size: 2rem;
    color: #0057c2;
}

/* COMPONENTS
================================================== */

/*
	Buttons
*/

.btn {
    padding: 0.5rem 2rem;
    border: 0;
    font-size: 1.125rem;
    border-radius: 0.625rem;
    transition: all 0.3s;
}

.btn-primary,
.btn-primary:active,
.btn-primary:first-child:active,
:not(.btn-check) + .btn-primary:active {
    color: #fff;
    background: #0058c2;
}

.btn-primary:focus,
.btn-primary:hover {
    color: #fff;
    background: #00469b;
}

.btn--gray,
.btn--gray:active,
.btn--gray:first-child:active,
:not(.btn-check) + .btn--gray:active {
    color: #000;
    background: #c8c8c8;
}

.btn--gray:focus,
.btn--gray:hover {
    color: #fff;
    background: #0058c2;
}

.btn--white,
.btn--white:active,
.btn--white:first-child:active,
:not(.btn-check) + .btn--white:active {
    color: #000;
    background: #fff;
}

.btn--white:focus,
.btn--white:hover {
    color: #fff;
    background: #0058c2;
}

/*
	Form components
*/

label {
    margin-bottom: 0.3333333rem;
}

.form-control,
.form-control:focus {
    border-color: #535353;
}

.form-control {
    border-radius: 0.5rem;
}

.form-check {
    font-size: 0.75rem;
}

.form-check a {
    font-weight: 700;
    color: inherit;
}

.form-check a:hover {
    text-decoration: underline;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: .75rem;
}

/*
	Partner list
*/

.partner-list {
    margin: 0;
    padding: 0;
    text-align: center;
    list-style-type: none;
}

.partner-list li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 1.25rem 2.5rem;
}

.partner-list li img {
    opacity: 0.3;
    filter: grayscale(1);
    transition: all 0.3s;
}

.partner-list li img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/*
	Titles
*/

.title-group {
    display: flex;
    align-items: center;
}

.title-group__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.875rem;
    height: 6.875rem;
    flex-shrink: 0;
    background: #0058c2;
    border-radius: 100%;
}

.title-group__icon img {
    width: 70%;
    height: 70%;
}

.article-title {
    font-size: 2rem;
    font-weight: 300;
}

.article-title strong {
    font-weight: 700;
}

.article-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
}

.border-title {
    position: relative;
    padding-left: 1.25rem;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
}

.border-title:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    width: 0.1875rem;
    background: #fff;
}

.border-title strong {
    font-weight: 700;
    font-size: 1.125em;
}

/*
	Lists
*/

.list-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    list-style-type: none;
}

/*
	Pagination
*/

.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-bottom: 5rem;
    font-size: 0.75rem;
}

.navigation.pagination .nav-links .page-numbers {
    display: block;
    padding: 0.3125rem 0.625rem;
    color: #000;
    background: #eee;
    border-radius: 0.1875rem;
}

.navigation.pagination .nav-links a.page-numbers:hover,
.navigation.pagination .nav-links .page-numbers.current {
    color: #fff;
    background: #0058c2;
}

/*
    Floating
*/

.floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 150px;
}
.floating img{
    width: 100%;
}

/* GLOBALS
================================================== */

.bg--layer {
    position: relative;
}

.bg--layer:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.8;
    background: #0058c2;
}

.bg--layer > * {
    position: relative;
    z-index: 2;
}

.bg--cover {
    background-position: center center;
    background-size: cover;
}

.bg--gray {
    background-color: #f4f4f4;
}

.c-white {
    color: #fff;
}

.text--lg {
    font-size: 1.4rem;
}

.text-shadow {
    text-shadow: 0 0.1875rem #000;
}

.h--110 {
    height: 6.875rem;
}

/* ANIMATIONS
================================================== */

.scroll-anim {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

/* RESPONSIVE
================================================== */

/*
	SM only
*/

@media screen and (max-width: 767px) {
}

/*
	MD and down
*/

@media screen and (max-width: 991px) {
}

/*
	LG and up
*/

@media screen and (min-width: 992px) {
    .intro {
        height: 40rem;
    }

    .intro .border-title {
        font-size: 3.5rem;
    }

    .service-box {
        padding-top: 3rem;
    }

    .section--service {
        margin-top: -8rem;
    }

    .mt-lg-n {
        margin-top: -5rem;
    }
}

/*
	XL and up
*/

@media screen and (min-width: 1200px) {
    body {
        padding-top: 5.75rem;
    }

    .header {
        height: 5.75rem;
    }

    .header .logo a {
        height: 5rem;
    }

    .list-icons {
        font-size: 2.5rem;
    }

    .article-title {
        font-size: 3rem;
    }

    .article-subtitle {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1400px) {
    .main-menu {
        font-size: 1rem;
    }

    .main-menu > ul > li {
        margin-left: .5rem;
    }

    .header .logo a {
        height: 5.75rem;
    }
}

@media screen and (min-width: 1800px) {
    .main-menu {
        font-size: 1.125rem;
    }

    .main-menu > ul > li > a {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}

/* KEYFRAMES
================================================== */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(0, 10%);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate(10%, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(-10%, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
