:root {
    --yellow: #faf871;
    --green: #918f08;
    --grey: #383e42;
    --bg-grey: rgba(56, 62, 66, 0.95);
    --bs-body-font-family: 'Roboto';
    --bs-body-color: var(--yellow);
    --bs-border-radius: 0;
    --content-pad: 1rem;
}

@media screen and (min-width: 576px) {
    :root {
        --content-pad: 2rem;
    }
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-ThinItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 100;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Thin.ttf') format('truetype');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-LightItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-MediumItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 500;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-BlackItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 900;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Black.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedLightItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedLight.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedRegular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedSemiBoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 600;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedSemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedBoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedExtraBoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 800;
}

@font-face {
    font-family: 'OpenSans-Condensed';
    src: url('../fonts/OpenSans-CondensedExtraBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 800;
}

h1, .h1, h2, .h2, h3, .h3,
legend {
    font-family: 'OpenSans-Condensed';
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, .h1:first-child, .h2:first-child, .h3:first-child, .h4:first-child, .h5:first-child, .h6:first-child {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

a:hover,
a:focus {
    color: var(--yellow);
}

a.icon {
    background: var(--green);
    color: var(--grey);
    border-radius: 50%;
    height: 50px;
    width: 50px;
    font-size: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.icon:hover,
a.icon:focus {
    background: var(--yellow);
}

.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-border-width: 0;
    --bs-btn-font-family: 'OpenSans-Condensed';
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.btn:after {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    margin-left: 1rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.btn-primary {
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--yellow);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-color: var(--green);
    --bs-btn-active-bg: transparent;
    --bs-btn-active-color: var(--green);
}

.btn-primary:after {
    background: var(--yellow);
}

.btn-primary:active:after,
.btn-primary:hover:after {
    background: var(--green);
}

.form-control {
    --bs-body-color: var(--grey);
}

.star {
    color: var(--yellow);
}

.t3-wrapper .home,
.t3-mainbody {
    background-image: url('/images/template/bg_main.jpg');
    background-size: cover;
    background-position-y: center;
}

.t3-content .com-content-article,
.t3-content .com-contact {
    background-color: var(--bg-grey);
    padding: var(--content-pad);
}

.page-header {
    background-color: var(--yellow);
    color: var(--grey);
    text-transform: uppercase;
    padding: var(--content-pad);
    margin: calc(var(--content-pad) * -1) calc(var(--content-pad) * -1) var(--content-pad);
}

.page-header h1 {
    margin-bottom: 0;
    font-weight: 700;
}


/****************************************************************
** Header **
****************************************************************/

.t3-header {
    font-family: 'OpenSans-Condensed';
    background: var(--green);
}

.t3-header .headright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.t3-header .headright .moduletable.headphone {
    display: flex;
    align-items: center;
}

.t3-header .headright .moduletable.headphone .custom {
    display: grid;
    grid-gap: 0.5rem 1rem;
    grid-template-columns: repeat(1, 1fr);
    text-align: right;
}

@media (min-width: 576px) {
    .t3-header .headright .moduletable.headphone .custom {
        grid-template-columns: repeat(2, 1fr);
    }
}

.t3-header .headright .moduletable.headphone::before {
    font: var(--fa-font-solid);
    content: "\f3ce";
    background: var(--yellow);
    color: var(--green);
    border-radius: 50%;
    margin-right: 0.5rem;
    height: 30px;
    width: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.t3-header .headright .moduletable.headphone a {
    color: var(--yellow);
    font-weight: 700;
}

@media (min-width: 992px) {
    .t3-header .headright .moduletable.headphone a {
        font-size: 18pt;
    }
}

.t3-header .headright .moduletable.headphone a:hover,
.t3-header .headright .moduletable.headphone a:focus {
    color: var(--grey);
}


/****************************************************************
** Menu **
****************************************************************/

.navbar {
    --bs-navbar-color: var(--yellow);
    --bs-navbar-hover-color: var(--grey);
    --bs-navbar-active-color: var(--grey);
    width: 100%;
    justify-content: flex-end;
}

.navbar-nav {
    --bs-nav-link-font-weight: 600;
    width: 100%;
    justify-content: flex-end;
}

@media (min-width: 992px) {
    .navbar-nav {
        justify-content: space-between;
    }
}

@media (min-width: 1200px) {
    .navbar-nav {
        --bs-nav-link-font-size: 14pt;
    }
}

.off-canvas-toggle {
    display: block;
    --bs-btn-bg: var(--yellow);
    --bs-btn-color: var(--green);
    --bs-btn-hover-bg: var(--grey);
    --bs-btn-hover-color: var(--green);
    --bs-btn-active-bg: var(--grey);
    --bs-btn-active-color: var(--green);
}

.off-canvas-toggle:after {
    display: none;
}

.t3-off-canvas {
    background: var(--grey);
}

.t3-off-canvas .t3-off-canvas-header {
    background: var(--yellow);
}

.t3-off-canvas .t3-off-canvas-header .t3-off-canvas-header-title {
    color: var(--grey);
}

.t3-off-canvas .close {
    background: var(--yellow);
    color: var(--grey);
    line-height: inherit;
    border: none;
}

.t3-off-canvas-body .nav {
    grid-gap: 0.5rem;
}

.t3-off-canvas .t3-off-canvas-body a {
    color: var(--yellow);
    text-transform: uppercase;
    font-family: 'OpenSans-Condensed';
}

.t3-off-canvas .t3-off-canvas-body a:focus,
.t3-off-canvas .t3-off-canvas-body a:hover {
    color: var(--green);
}



/****************************************************************
** Footer **
****************************************************************/

.t3-footer {
    background: var(--green);
    font-size: 80%;
    font-weight: 500;
    color: var(--grey);
}

.t3-footer a {
    color: var(--yellow);
}

.t3-footer .moduletable.footerlogo img {
    width: 200px;
}

.t3-footer .moduletable.footericons .icons {
    grid-gap: 1rem;
}

.t3-footer .moduletable.footericons a.icon {
    background: var(--grey);
    color: var(--green);
}

.t3-footer .moduletable.footericons a.icon:hover,
.t3-footer .moduletable.footericons a.icon:focus {
    background: var(--yellow);
}

.t3-footer .moduletable.footercontact p.line:after {
    content: "";
    height: 2px;
    width: 30px;
    background: var(--yellow);
    display: block;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .t3-footer .t3-footnav {
        div:nth-of-type(2) {
            order: 3;
        }
        div:nth-of-type(3) {
            order: 2;
        }
    }
}


/****************************************************************
** Sticky Footer **
****************************************************************/

.t3-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.t3-mainbody, .home {
    flex-grow: 1;
}


/****************************************************************
** Logos **
****************************************************************/

.copyright {
    color: #ffffff;
}

.copyright .logos {
    display: grid;
    grid-row-gap: 30px;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
}

@media (min-width: 576px) {
    .copyright .logos {
        display: flex;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 766px) {
    .copyright .logos {
        grid-column-gap: 140px;
    }
}

.copyright .logos .dsp {
    max-height: 140px;
}

.copyright .logos .neum {
    max-height: 100px;
}


/****************************************************************
** Home menu **
****************************************************************/

.moduletable.homemenu > .nav {
    font-family: 'OpenSans-Condensed';
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {
    .moduletable.homemenu > .nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .moduletable.homemenu > .nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .moduletable.homemenu > .nav {
        grid-template-columns: repeat(4, 1fr);
    }
}

.moduletable.homemenu > .nav > .nav-item > a {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-transform: uppercase;
}

.moduletable.homemenu > .nav > .nav-item > a.yellow {
    background: var(--yellow);
    color: var(--grey);
}

.moduletable.homemenu > .nav > .nav-item > a.grey {
    background: var(--grey);
    color: var(--yellow);
}

.moduletable.homemenu > .nav > .nav-item > a:hover,
.moduletable.homemenu > .nav > .nav-item > a:focus {
    background: var(--green);
    color: var(--yellow);
}

.moduletable.homemenu > .nav > .nav-item > a .tile-top {
    margin-bottom: 1rem;
}

.moduletable.homemenu > .nav > .nav-item > a .title {
    font-weight: 700;
}

.moduletable.homemenu > .nav > .nav-item > a .subtitle {
    color: var(--green);
    font-weight: 700;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.moduletable.homemenu > .nav > .nav-item > a:hover .subtitle,
.moduletable.homemenu > .nav > .nav-item > a:focus .subtitle {
    color: var(--grey);
}

.moduletable.homemenu > .nav > .nav-item > a .tile-bottom .btn {
    --bs-btn-color: var(--green);
    --bs-btn-hover-color: var(--green);
    --bs-btn-active-color: var(--green);
    --bs-btn-padding-x: 0;
    --bs-btn-padding-y: 0;
}

.moduletable.homemenu > .nav > .nav-item > a .btn:after {
    background: var(--green);
}

.moduletable.homemenu > .nav > .nav-item > a:hover .btn,
.moduletable.homemenu > .nav > .nav-item > a:focus .btn {
    --bs-btn-color: var(--grey);
    --bs-btn-hover-color: var(--grey);
    --bs-btn-active-color: var(--grey);
}

.moduletable.homemenu > .nav > .nav-item > a:hover .btn:after,
.moduletable.homemenu > .nav > .nav-item > a:focus .btn:after {
    background: var(--grey);
}


/****************************************************************
** Content **
****************************************************************/

.cards {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
    margin: 2rem 0;
}

@media (min-width: 576px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .cards {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1400px) {
    .cards {
        grid-template-columns: repeat(6, 1fr);
    }
}

.cards .service {
    color: var(--grey);
    background-color: var(--yellow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards .service-badge {
    font-family: 'OpenSans-Condensed';
    color: var(--yellow);
    background-color: var(--green);
    font-weight: 700;
    padding: 1rem;
    text-transform: uppercase;
    text-align: center;
}

.cards .service-title {
    padding: 1rem;
    font-size: 80%;
}

.cards .service-bottom {
    padding: 1rem;
    font-weight: 600;
    text-align: right;
}

.item-page ul {
    list-style-type: none;
    padding-left: 0;
    margin: 2rem 0;
}

.item-page li {
    display: flex;
    align-items: center;
    break-inside: avoid;
    margin-bottom: 1rem;
}

.item-page li::before {
    font: var(--fa-font-solid);
    content: "\f00c";
    border: 1px solid var(--yellow);
    border-radius: 50%;
    margin-right: 1rem;
    height: 30px;
    width: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .item-page ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
        column-gap: 2rem;
    }
    .item-page li {
        min-height: 50px;
        margin-bottom: 0;
    }
}


.moduletable.hitel-logos .custom {
    align-items: center;
    text-align: center;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .moduletable.hitel-logos .custom {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .moduletable.hitel-logos .custom {
        grid-template-columns: repeat(4, 1fr);
    }
}

.moduletable.hitel-logos .hitel-logo img {
    max-height: 200px;
}


/****************************************************************
** Contact **
****************************************************************/

.dl-horizontal dd {
    margin-left: 0;
}

.contact a {
    color: var(--yellow);
}

.contact a:hover,
.contact a:focus {
    color: var(--green);
}

.contact a.icon {
    background: var(--yellow);
    color: var(--grey);
}

.contact a.icon:hover,
.contact a.icon:focus {
    background: var(--green);
}

.contact .contact-emailto:after,
.contact .contact-mobile:after {
    content: "";
    height: 2px;
    width: 30px;
    background: var(--yellow);
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.contact .contact-webpage {
    display: block;
    margin-bottom: 1rem;
}

.contact .control-group {
    margin-top: 1rem;
}
