/*--------------------------------------------------------------
  Template Name: Simply Construction HTML Template.
  Template URI: #
  Description: Simply Construction is a unique website template designed in HTML with a simple & beautiful look. There is an excellent solution for creating clean, wonderful and trending material design corporate, corporate any other purposes websites.
  Author: DevItems
  Version: 1.0
---------------------------------------------------------------*/

/* ----------------------------------------------------
	You can put your custom css code here: 
-------------------------------------------------------*/

.htc-header .logo.brand-block {
    height: auto;
    line-height: 1;
    padding: 10px 0;
    width: 100%;
}

.htc-header .mainmenu__wrap .row {
    display: flex;
    align-items: center;
}

.htc-header .mainmenu__wrap .row > [class*="col-"] {
    float: none;
}

.brand-block .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
}

.brand-block img {
    display: block;
    flex: 0 0 auto;
    width: 64px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 2px;
    text-align: left;
    min-width: 0;
}

.brand-copy strong {
    font-size: 15px;
    line-height: 1.05;
    color: #1f2521;
}

.brand-copy small {
    font-size: 12px;
    letter-spacing: .02em;
    color: #667069;
}

.brand-copy em {
    font-style: normal;
    font-size: 11px;
    color: #1d4f37;
}

.header-login-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.header-login-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    color: #1f2521;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
    margin-left: 12px;
    vertical-align: middle;
    transform: none;
    cursor: pointer;
    position: relative;
    top: 0;
}

.header-login-toggle--linked {
    top: 0;
}

.header-login-toggle:hover {
    color: #2f6f4e;
}

.main__menu > li:last-child {
    margin-left: 8px;
    display: flex;
    align-items: center;
    height: auto;
    vertical-align: middle;
    padding-top: 0;
}

.main__menu > li:last-child a,
.main__menu > li:last-child button {
    margin-top: 0;
}

.main__menu__nav .main__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
}

.main__menu__nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main__menu__nav .main__menu > li {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.main__menu__nav .main__menu > li > a {
    height: 82px;
    line-height: 82px;
    font-size: 13px;
    font-weight: 700;
}

.main__menu__nav .main__menu > li.active > a,
.main__menu__nav .main__menu > li > a[aria-current="page"] {
    color: #fcc236;
}

.main__menu__nav .main__menu > li.active > a::after {
    background: #fcc236;
    bottom: 24px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

.mainmenu__wrap.sticky__header {
    background: #fff;
}

.sticky__header.scroll-header .main__menu__nav .main__menu > li > a {
    height: 70px;
    line-height: 70px;
}

.sticky__header.scroll-header .main__menu__nav .main__menu > li.active > a::after {
    bottom: 18px;
}

.sticky__header.scroll-header .brand-block img {
    width: 52px;
    max-height: 48px;
}

.projects-page.ptb--150 {
    padding: 90px 0 120px;
}

.projects-page__grid {
    display: block;
}

.projects-page__card {
    margin-top: 30px;
}

.projects-page__card .project__thumb {
    background: #f4f4f4;
    overflow: hidden;
}

.projects-page__card .project__thumb picture,
.projects-page__card .project__thumb img {
    display: block;
    height: 260px;
    object-fit: cover;
    width: 100%;
}

.projects-page .section__title {
    margin-bottom: 24px;
}

.ht__bradcaump__area {
    background-position: center center !important;
}

.ht__bradcaump__wrap {
    min-height: 320px;
}

@media (max-width: 991px) {
    .brand-copy {
        display: none;
    }

    .htc-header .logo.brand-block {
        padding: 8px 0;
    }

    .brand-block img {
        width: 56px;
        max-height: 52px;
    }
}

@media (max-width: 767px) {
    .ht__bradcaump__wrap {
        min-height: 260px;
    }

    .projects-page.ptb--150 {
        padding: 60px 0 80px;
    }

    .projects-page__card .project__thumb picture,
    .projects-page__card .project__thumb img {
        height: 220px;
    }
}

.login-modal .modal-dialog {
    max-width: 28rem;
    width: calc(100% - 1.5rem);
    margin: 1rem auto;
}

.login-modal .modal-content {
    border-radius: 1rem;
    border: 0;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.login-modal .modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(31, 37, 33, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.login-modal .modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2521;
    margin: 0;
}

.login-modal .modal-body {
    padding: 1.25rem;
}

.login-modal-error {
    margin-bottom: 1rem;
    padding: .875rem 1rem;
    border-radius: .75rem;
    background: #f8efef;
    color: #8f2b2b;
    font-size: .95rem;
}

.login-modal .login-modal-control {
    min-height: 48px;
    border-radius: .75rem;
    padding-left: .9rem;
    padding-right: .9rem;
    border: 1px solid rgba(31, 37, 33, 0.14);
    box-shadow: none;
}

.login-modal .form-label {
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .45rem;
    color: #1f2521;
}

.login-modal .form-check {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .25rem;
    padding-left: 0;
    font-size: .95rem;
    color: #4a514c;
}

.login-modal-actions {
    margin-top: 1rem;
}

.login-modal-actions .htc__btn {
    min-width: 100%;
    text-align: center;
    border-radius: .85rem;
    min-height: 48px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
}

.login-modal .btn-close,
.login-modal-close {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    background: transparent;
    border: 0;
    opacity: 1;
    color: #1f2521;
    padding: 0;
}

.login-modal .btn-close::before,
.login-modal-close::before {
    content: "×";
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 400;
}

@media (max-width: 575.98px) {
    .login-modal .modal-dialog {
        width: calc(100% - 1rem);
        margin: .5rem auto;
    }

    .login-modal .modal-body,
    .login-modal .modal-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
