html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body:not(:is(.hicrm_frontend_branchized, .hicrm_frontend_companized):is(.hicrm_page_branchized, .hicrm_page_companized)), div:has(> img[src*="rs6_logo_2x.png"]) {
    display: block !important;
}

body.page-template-template-projects-page {
    background-color: #1E1E1E; 
    color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

#projects-root {
    overflow: hidden;
}

#projects-root .header {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: #383838;
}

#projects-root .logo {
    margin-right: 60px;
}

#projects-root .logo img {
    max-width: 100%;
    height: auto;
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

#projects-root .search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#projects-root .header-wrapper {
    background-color: #383838;
    width: 100%;
}

#projects-root .project-filter {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#projects-root .project-filter h4 {
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: 24px;
    padding: 12px 20px;
    background-color: #3F3F41;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    border-radius: 13px;
    width: 320px;
    box-sizing: border-box;
}

#projects-root .project-filter h4::after {
    content: '';
    background: url('../../imgs/front/arrow-white.png') no-repeat;
    margin-left: 10px;
    width: 38px;
    height: 26px;
    transition: transform 0.3s;
}

#projects-root .project-filter.open h4::after {
    transform: rotate(180deg);
}

#projects-root .project-filter .category-list {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    background-color: #3F3F41;
    color: white;
    padding: 10px;
    display: none;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
    z-index: 2;
}

#projects-root .project-filter.open .category-list {
    display: block;
}

#projects-root .project-filter .category-list li {
    list-style: none;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

#projects-root .project-filter .category-list label {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    cursor: pointer;
}

#projects-root .project-filter .category-list input[type="checkbox"] {
    margin-right: 10px;
    width: 26px;
    height: 26px;
}


#projects-root .branch-selector-wrapper {
    width: 100%;
}

#projects-root .branch-selector-label {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-bottom: 5px;
    font-size: 24px;
    color: #fff;
}

#projects-root .branch-selector {
    width: 100%;
    font-family: 'Inter', sans-serif;
    padding: 10px 70px 10px 20px;
    font-size: 24px;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../../imgs/front/arrow-down.png') no-repeat right 23px center, #fff;
    background-size: 34px;
}

#projects-root .non-detail-presentations {
    max-width: 1116px;
    margin: 0 auto;
    padding: 60px 20px 95px;
}

#projects-root .refresh-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 13px;
    font-size: 21px;
    cursor: pointer;
    position: fixed;
    bottom: 120px; 
    left: 20px;
}

#projects-root .refresh-button[online="false"] {
    display: none;
}

#projects-root .refresh-button:hover {
    background-color: #f0f0f0;
}

#projects-root .footer {
    position: relative;
    padding-top: 50px;
}

#projects-root .offline-message {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
color: #fcb813;
border-radius: 5px;
text-align: center;
}

#projects-root .offline-message h2 {
    margin-bottom: 10px;
}

#projects-root .offline-message button {
    padding: 10px 20px;
    background-color: #ffffff;
    color: black;
    border: none;
    border-radius: 13px;
    font-size: 24px;
    cursor: pointer;
    margin-top: 20px;
}

#projects-root .offline-message button:hover {
    background-color: #c5c5c5;
}


#projects-root .search-bar input {
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    margin-right: 10px;
    background-color: #3F3F41;
    color: #FFFFFF;
    font-size: 24px;
    width: 100%;
}

#projects-root .search-bar button {
    padding: 5px 40px;
    border-radius: 13px;
    font-size: 30px;
    border: none;
    background-color: #FFFFFF;
    color: #000000;
    cursor: pointer;
}

#projects-root .controls-container {
    padding: 20px;
}

#projects-root .controls-title {
    font-size: 46px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

#projects-root .controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1116px;
    margin: 0 auto;
    width: 100%;
}

#projects-root .controls button {
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 13px;
    font-size: 21px;
    border: none;
    cursor: pointer;
}

#projects-root .sync-button,
#projects-root .create-button {
    background-color: #FFFFFF;
    color: #000000;
}

#projects-root .project-list {
    max-width: 1116px;
    margin: 0 auto;
    padding: 20px 20px 125px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    justify-content: center;
}

#projects-root .project-list.loaded {
    opacity: 1;
}

#projects-root .project-tile {
    background-color: #444;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

#projects-root .project-tile img {
    width: 100%;
    min-height: 168px;
    border-radius: 10px;
    max-height: 168px;
    object-fit: cover;
    background-color: #706f6f;
}

#projects-root .project-tile h3,
#projects-root .project-tile p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

#projects-root .project-tile h3 {
    margin: 15px 0;
    font-size: 18px;
}

#projects-root .project-tile p {
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

#projects-root .project-tile .detail-item::before {
    content: url('../../imgs/front/user.png');
    margin-right: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
}


#projects-root  .project-tile .detail-item--map::before {
    content: url('../../imgs/front/maps-and-flags.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile .detail-item--phone::before {
    content: url('../../imgs/front/phone-call.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile .detail-item--additional::before {
    content: url('../../imgs/front/information.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile p + p {
    border-top: 1px solid #616161;
    padding-top: 8px;
    margin-top: 10px;
}


#projects-root .open-button {
    background-color: #4A7349;
    color: #71FD6F;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
}

#projects-root .project-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    padding: 40px 55px 95px;
    border: 1px solid #707070;
    border-radius: 41px;
    z-index: 2;
    width: 80%;
    max-width: 1185px;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: transform 0.5s ease-in-out;
}


#projects-root .project-details.show {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    /*max-height: 650px;*/
    height: calc(100vh - 250px);
    /*padding-bottom: 200px;*/
}


@keyframes slideUp {
    from {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    to {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideDown {
    from {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 100%);
    }
}


#projects-root .project-details.show {
    animation: slideUp 0.5s ease-in-out forwards;
}


#projects-root .project-details.hide {
    opacity: 0;
    animation: slideDown 0.5s ease-in-out forwards;
    transform: translate(-50%, 100%);
}


#projects-root .project-details h2 {
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 45px;
    font-family: Inter, sans-serif;
}

#projects-root .project-details-wrapper {
    display: flex;
    /*justify-content: space-between;*/
    align-items: flex-start;
    /*flex-wrap: wrap;*/
    height: calc(100vh - 250px);
    overflow-y: scroll;
    position: relative;
}

#projects-root .project-detail-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex: 1;
    flex-wrap: wrap;
}

#projects-root .project-detail-icons .icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    cursor: pointer;
}


#projects-root .project-detail-icons .icon-link span {
    margin-top: 15px;
    font-size: 23px;
    text-align: center;
    font-family: Inter, sans-serif;
}

#projects-root .project-detail-icons a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #FFFFFF;
    border-radius: 24px;
    text-decoration: none;
    color: #fff;
    margin: 0 23px;
}

#projects-root .project-detail-icons img {
    width: 116px;
    height: 117px;
}

#projects-root .project-details .project-details-content {
    display: flex;
    flex-direction: column;
    /*flex: 2;*/
    margin-right: 40px;
    max-width: 280px;
    width: 100%;
    overflow: hidden;
}

#projects-root .project-details .detail-item {
    font-family: Inter, sans-serif;
    font-size: 14px;
}

#projects-root .detail-item--map,
#projects-root .detail-item--phone {
    cursor: pointer;
    text-decoration: underline;
}

#projects-root .detail-item--phone {
    margin-bottom: 14px;
}

#projects-root .project-label{
    font-size: 20px;
}


#projects-root  .detail-item::before {
    content: url('../../imgs/front/user.png');
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

#projects-root  .detail-item--map::before {
    content: url('../../imgs/front/maps-and-flags.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root  .detail-item--phone::before {
    content: url('../../imgs/front/phone-call.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .detail-item--additional::before {
    content: url('../../imgs/front/information.png');
    margin-right: 8px;
    vertical-align: middle;
}


#projects-root .project-details .detail-item + .detail-item {
    border-top: 1px solid #333333;
    padding-top: 10px;
    margin-top: 0;
}

#projects-root .project-details .edit-button {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 20px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    align-self: flex-start;
    font-size: 21px;
    font-family: Inter, sans-serif;
}

#projects-root .project-details .close-button {
    background-color: transparent;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}


#projects-root .project-detail-icons--urls {
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 30px;
}

#projects-root .project-detail-icons--urls .icon-link {
    max-width: 112px;
    flex-direction: column;
}

#projects-root .project-detail-icons--urls span {
    font-size: 11px !important;
}

#projects-root .project-detail-icons--urls img {
    width: 61px;
    height: 61px;
}

#projects-root .photos-videos-controls {
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects-root .custom-button {
    background-color: #fff;
    color: black;
    border: none;
    margin-right: 28px;
    cursor: pointer;
    border-radius: 19px;
    font-size: 22px;
    padding: 6px 20px;
}

#projects-root .custom-switch {
    display: flex;
    align-items: center;
    margin: 5px;
    font-size: 16px;
}

#projects-root .custom-switch input[type="checkbox"] {
    display: none;
}

#projects-root .custom-switch .slider {
    position: relative;
    width: 80px;
    height: 42px;
    background-color: #020202;
    border: 1px solid #ffffff;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
    box-sizing: border-box;
}

#projects-root .custom-switch .slider::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: transform 0.3s;
}

#projects-root .custom-switch input[type="checkbox"]:checked + .slider::before {
    transform: translateX(40px);
}

#projects-root .custom-switch .switch-label {
    margin-right: 10px;
}

#projects-root .custom-switch .switch-label span {
    display: block;
    margin-top: -3px;
}

#projects-root .navigation {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    box-shadow: 0 -10px 10px 0 rgba(0, 0, 0, 0.26);
    z-index: 2;
    box-sizing: border-box;
    overflow-x: hidden;
    white-space: nowrap;
}


#projects-root .navigation .custom-tab-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    margin-right: 10px;
}



#projects-root .navigation .custom-tab-icon-item img {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
}

#projects-root .navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    font-size: 15px;
    position: relative;
}

#projects-root .navigation button:hover {
    background-color: #555;
}

#projects-root .navigation button::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #616161;
}

#projects-root .navigation button:last-child::after {
    display: none;
}

#projects-root .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999999;
    font-size: 24px;
    color: #333;
}

#projects-root .loader-container::before {
    content: "";
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#projects-root .no-results {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
}


#projects-root .presentations-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

#projects-root .presentations-wrapper.non-detail-presentations {
    margin-top: 0;
    margin-bottom: 50px;
}

#projects-root .main-section {
   margin-bottom: 80px;
}

#projects-root .additional-sections .section-photos-item {
    margin-bottom: 66px;
}


#projects-root .additional-sections h1 {
    font-size: 42px;
}

.presentations-item .overlay {
    height: 100%;
    width: 100%;
    background: grey linear-gradient(45deg, #808080 100%, #fff 0%);
    border: 1px solid #707070;
    border-radius: 35px;
    overflow: hidden;
    cursor: pointer;
}

.presentations-item {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.presentations-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.presentation-item-link {
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
    padding: 8px 25px;
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 25px;
    border-radius: 21px;
    line-height: 1;
    text-decoration: initial;
    cursor: pointer;
}

#projects-root .media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    max-width: 700px;
}

#projects-root .media-preview img,
#projects-root .media-preview video {
    height: 200px;
    max-width: initial;
    width: calc(100% + 20px);
    margin: 0 -10px;
    object-fit: cover;
    border-radius: 19px;
    border: 1px solid #8d8d8d;
    box-sizing: border-box;
    display: block;
    background-color: #706f6f;
}

#projects-root .checklist-details .media-preview {
    max-width: 100%;
    margin-top: 40px;
}

#projects-root .timestamp {
    font-size: 12px;
    color: #6c6c6c;
    font-family: Inter, sans-serif;
    margin-bottom: 10px;
}

#projects-root .sections-container .section-photos-item:first-child {
    margin-bottom: 66px;
}

#projects-root .photos-videos-title {
    font-weight: 600;
    font-size: 34px;
    margin-bottom: 37px;
    margin-top: 0;
}

#projects-root .photo-video-button-title {
    display: block;
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

#projects-root .photo-video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
}

#projects-root .photo-video-button img {
    width: auto;
    max-width: 150px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
}

#projects-root .photo-video-button {
    display: inline-block;
    width: 209px;
    height: 200px;
    background-color: #ffffff;
    border-radius: 34px;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    flex: 0 0 auto;
}

#projects-root .section-photos-videos-panel:has(.shrink) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#projects-root .section-photos-videos-panel:has(.shrink) .photos-videos-title {
    margin: 20px 28px 20px 0;
}

#projects-root .photo-video-container.shrink {
    gap: 18px;
}

#projects-root .photo-video-container.shrink .photo-video-button img {
    width: 50px;
}

#projects-root .photo-video-container.shrink .photo-video-button {
    width: 77px;
    height: 75px;
    border-radius: 9px;
}

#projects-root .photo-video-container.shrink .photo-video-button-title {
    font-size: 10px;
    bottom: 8px;
}

#projects-root .media-item .notes {
    margin-top: 10px;
    position: relative;
}

#projects-root .media-item {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 0 10px 10px;
    position: relative;
    width: 209px;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

#projects-root .media-item .notes label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
    color: #000;
    margin-left: 0;
}

#projects-root .media-item .notes textarea {
    width: 100%;
    border: none;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: #000;
    resize: none;
    transition: all 0.3s ease;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


#projects-root .media-item .notes textarea:focus {
    box-shadow: none;
}


#projects-root .notes textarea::-webkit-scrollbar {
    width: 8px;
}

#projects-root .notes textarea::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

#projects-root .notes textarea::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

#projects-root .notes textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}


#projects-root .read-more-button {
    margin-top: 10px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    text-decoration: underline;
    font-size: 11px;
    text-align: right;
    width: 100%;
}

#projects-root .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

#projects-root .lightbox-content {
    position: absolute;
    background-color: #fff;
    border-radius: 19px;
    width: 100%;
    max-width: 988px;
    height: 75%;
    top: 5%;
    max-height: 945px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#projects-root .lightbox-content img,
#projects-root .lightbox-content video {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    object-fit: cover;
}

#projects-root .lightbox .close {
    background-color: transparent;
    border: none;
    position: fixed;
    top: 15px;
    right: 20px;
    cursor: pointer;
    z-index: 1;
}

#projects-root .lightbox .close img {
    width: 95px;
    height: 95px;
}

#projects-root .lightbox .prev,
#projects-root .lightbox .next {
    position: fixed;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border: none;
}

#projects-root .lightbox .prev img,
#projects-root .lightbox .next img {
    width: 76px;
    height: 76px;
}

#projects-root .lightbox .prev {
    left: 20px;
}

#projects-root .lightbox .next {
    right: 20px;
}

#projects-root .lightbox-footer {
    display: flex;
    justify-content: center;
    gap: 200px;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
}

#projects-root .lightbox-footer button {
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects-root .lightbox-footer button img {
    width: 82px;
    height: 82px;
    border-radius: 0;
}


#projects-root .loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

#projects-root .loader::after {
    content: "";
    display: block;
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: loader-spin 1.2s linear infinite;
}


#projects-root .preloader::before {
    content: "";
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: loader-spin 1s linear infinite;
}

#projects-root .custom-content,
#projects-root .home-content {
    max-width: 1116px;
    margin: 0 auto;
    padding: 50px 20px 150px;
}

#projects-root .custom-content rs-module-wrap {
  visibility: visible;
}

#projects-root .custom-content .gform-field-label {
    color: white;
}

#projects-root .home-navigation .custom-tab-icon-item,
.login-button-container .custom-tab-icon-item {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects-root .home-navigation,
.login-button-container {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    /*width: 100%;*/
    flex-wrap: wrap;
}

#projects-root .home-navigation .custom-tab-icon-item,
.login-button-container .custom-tab-icon-item {
    width: 33.33%;
    margin-bottom: 40px;
}

#projects-root .home-navigation .custom-tab-icon-item img,
.login-button-container .custom-tab-icon-item img {
    margin-bottom: 18px;
}

#projects-root .project-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 999;
}


#projects-root #popup-create-lead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 99999;
}

#projects-root .project-form-wrap,
#projects-root #popup-create-lead .popup-create-lead-wrap {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    background-color: #333;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#projects-root .hicrm-popup-content ul:not(.hicrm-popup-content-lead-branches) {
    padding-left: 0;
    list-style: none;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

#projects-root .hicrm-popup-content ul li {
    display: flex;
    flex-direction: column;
}

#projects-root .hicrm-popup-content ul li label {
    margin-bottom: 5px;
}

#projects-root .hicrm-popup-content {
    width: 100%;
}

#projects-root .hicrm-popup-content input {
    width: 100%;
    height: 45px !important;
}

#projects-root .project-form.show .project-form-wrap,
 #projects-root #popup-create-lead.show .popup-create-lead-wrap {
    animation: slideUp 0.5s ease-in-out;
    opacity: 1;
}

#projects-root .project-form.hide .project-form-wrap,
#projects-root #popup-create-lead.hide .popup-create-lead-wrap {
    animation: slideDown 0.5s ease-in-out;
    opacity: 0;
}

#projects-root .project-form-wrap label:not(.project-form-select-lead) {
    display: flex;
    flex-direction: column;
}

.hicrm-popup-content .hicrm-popup-content-lead-branches {
   padding-left: 0;
}


#projects-root .project-form-select-lead {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;

}

#projects-root .hicrm-popup-content-button-wrapper {
    display: flex;
    justify-content: center;
}

#projects-root .hicrm-popup-content input[type="checkbox"] {
    height: 25px !important;
}

#projects-root #popup-create-lead .popup-create-lead-wrap {
    align-items: flex-start;
}

#projects-root #popup-create-lead form {
    height: 550px;
    overflow-y: auto;
}

#projects-root .project-form-wrap select,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    width: 100%;
    height: 25px;
    line-height: 25px;
}

#projects-root #popup-create-lead .scroll-part {
    overflow: hidden;
    padding: 5px;
}


#projects-root .project-form-wrap select,
#projects-root .project-form-wrap input,
#projects-root #popup-create-lead .popup-create-lead-wrap input,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    display: block;
    padding: 8px;
    background-color: #3F3F41;
    border: none;
    border-radius: 4px;
    height: 100%;
    color: #8b8b8b;
}


#projects-root #popup-create-lead .popup-create-lead-wrap input {
    box-sizing: border-box;
}


#projects-root .project-form-wrap select,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    font-size: 14px;
    line-height: 2;
    color: #8b8b8b;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 4px;
    padding: 0 24px 0 8px;
    min-height: 45px;
    -webkit-appearance: none;
    background: #3F3F41 url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle
}

#projects-root .project-form-wrap input {
    height: 25px;
    font-size: 15px;
}


#projects-root .project-form-select-lead-wrap,
#projects-root #popup-create-lead .popup-create-lead-wrap {
    width: 100%;
}


#projects-root .project-form-wrap button:not(.close-button),
#projects-root #popup-create-lead .popup-create-lead-wrap button:not(.close-button) {
    background-color: #4A7349;
    color: #71FD6F;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    min-height: 42px;
    height: 100%;
}

#projects-root .project-form-wrap button:hover,
#projects-root #popup-create-lead .popup-create-lead-wrap button:hover {
    background-color: #2d832c;
}

#projects-root .project-form-wrap button.hicrm-button-small,
#projects-root #popup-create-lead .popup-create-lead-wrap button.hicrm-button-small {
    width: 30%;
    margin-left: 20px;
}

#projects-root .project-form-wrap button.hicrm-button-black,
#projects-root #popup-create-lead .popup-create-lead-wrap button.hicrm-button-black {
    margin-top: 20px;
    width: 50%;
    align-self: center;
}

#projects-root .project-form-wrap button.close-button,
#projects-root #popup-create-lead .popup-create-lead-wrap button.close-button {
    background-color: transparent;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 24px;
    border: none;
    cursor: pointer;
}

#projects-root .notification {
    position: fixed;
    bottom: 80px;
    right: 50%;
    transform: translate(50%, 0);
    background-color: #0000004d;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#projects-root .notification.show {
    opacity: 1;
}

/* Project Notes  */
.project-notes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    transition: opacity 0.5s ease-in-out;
}

.project-notes.notes-loaded{
    opacity: 1;
}

.project-notes .project-notes-label {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.project-notes .project-notes-textarea {
    height: 106px;
    padding: 10px;
    border-radius: 11px;
    resize: none;
    font-size: 16px;
    color: #000;
}

.project-notes .project-notes-textarea:focus {
    outline: none;
}

.project-notes .project-notes-textarea::placeholder {
    color: #000;
}

.project-notes .loading-notes {
    font-style: italic;
    color: #888;
}

.project-label-wrap {
    margin-top: 20px;
}

.project-label-wrap .project-type-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.project-label-wrap .project-type-list li {
    padding: 5px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.project-label-wrap .project-type-list li input {
    margin-right: 5px;
    width: 22px;
    height: 19px;
}

.project-label-wrap .project-type-list li label {
    line-height: 19px;
    font-size: 17px;
}

#projects-root .checklist-items {
    margin-bottom: 40px;
}

#projects-root .checklist-items h3 {
    font-weight: 400;
    margin-bottom: 10px;
}

#projects-root .checklist-items-wrap {
   display: flex;
   flex-wrap: wrap;
   gap: 17px;
}

#projects-root .checklist-item {
   /*width: 50%;*/
   border: 1px solid #fff;
   border-radius: 15px;
   text-align: center;
   padding: 10px;
   flex: 1 0 50%;
    cursor: pointer;
}

#projects-root .checklist-item h3 {
    margin-bottom: 0;
    margin-top: 10px;
}

#projects-root .checklist-items-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

#projects-root .checklist-details-heading {
    font-size: 39px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 80px !important;
    font-family: Inter, sans-serif;
}

#projects-root .checklist-details .back-button {
    position: absolute;
    background-color: transparent;
    left: 0;
    border: none;
    cursor: pointer;
}

#projects-root .checklist-details .back-button img {
   width: 30px;
}

#projects-root .project-details-wrapper:has(.checklist-details) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#projects-root .checklist-details {
    width: 100%;
    font-family: 'Inter', sans-serif;
    margin-right: 10px;
}

#projects-root .section-title {
    font-size: 37px !important;
    font-weight: 400;
}


#projects-root .checklist-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
}

#projects-root .field-title-container {
    max-width: 480px;
}

#projects-root .checklist-details h5,
#projects-root .checklist-details h4,
#projects-root .checklist-details h3,
#projects-root .checklist-details p {
    font-family: 'Inter', sans-serif;
}

#projects-root .field-question h5 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 14px;
}

#projects-root .checklist-details label {
    font-size: 20px;
    font-weight: 400;
    margin-left: 30px;
    margin-bottom: 10px;
}

#projects-root .checklist-details .field-question label,
#projects-root .checklist-details .field-question select {
    font-family: 'Inter', sans-serif;
    margin-left: 40px;
    display: flex;
    align-items: center;
}

#projects-root .checklist-details .field-question input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #0075ff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
}

#projects-root .checklist-details .field-question input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #0075ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#projects-root .checklist-details .field-question select {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 13px;
    padding: 5px 10px;
    color: #333;
}

#projects-root .field-question {
    margin-left: 30px;
    margin-bottom: 40px;
}

#projects-root .checklist-details .field-status-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#projects-root .checklist-details .field-title {
    font-size: 29px;
    margin-bottom: 5px;
    font-weight: 400;
    margin-top: 0;
}

#projects-root .checklist-details .field-notes {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 0;
}

#projects-root .checklist-details .field-questions h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

#projects-root .checklist-details .field-answer-input {
    font-family: 'Inter', sans-serif;
    border: 1px solid #707070;
    border-radius: 18px;
    background-color: #ffffff;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    width: -webkit-fill-available;
    margin-top: 10px;
    margin-left: 40px;
    padding: 13px 15px;
}

#projects-root .field-status input[type="checkbox"] {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

#projects-root .field-content {
    width: 100%;
    position: relative;
}

#projects-root .checklist-details label:has(input[type="radio"]) {
    cursor: pointer;
}

#projects-root .checklist-details .field-media-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

#projects-root .checklist-details .photo-video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

#projects-root .checklist-details .photo-video-button {
    width: 77px;
    height: 75px;
    border-radius: 9px;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    flex: 0 0 auto;
    background-color: #ffffff;
    display: inline-block;
}

#projects-root .checklist-details .media-button-container .photo-video-button img {
    width: 50px;
    max-width: 150px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
}

#projects-root .checklist-details .photo-video-button-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #000;
    font-size: 10px;
    bottom: 8px;
}

#projects-root .checklist-details .media-button-container {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 10px;
}


@media screen and (max-width: 1200px) {
    #projects-root .section-photos-videos-panel:has(.shrink) {
        display: block !important;
    }

    #projects-root .photo-video-container.shrink {
        margin-top: 20px;
    }

    #projects-root .photo-video-container {
        gap: 20px;
    }

    #projects-root .project-detail-icons--urls img {
        width: 40px;
        height: 40px;
    }

    #projects-root .photo-video-button {
        width: 150px;
        height: 150px;
        border-radius: 14px;
    }


    #projects-root .photo-video-button img {
        max-width: 90px;
    }

    #projects-root .photo-video-button-title {
        font-size: 12px;
        bottom: 20px;
    }

    #projects-root .photos-videos-controls {
        flex-direction: column;
        margin-top: 30px;
    }

    #projects-root .custom-button {
        margin-bottom: 15px;
    }

    #projects-root .project-list {
        grid-template-columns: repeat(auto-fit, 310px);
    }
}

@media screen and (max-width: 1180px) {
    #projects-root .home-navigation .custom-tab-icon-item img, .login-button-container .custom-tab-icon-item img {
        width: 120px;
        height: 120px;
        object-fit: contain;
    }

    #projects-root .home-navigation .custom-tab-icon-item, .login-button-container .custom-tab-icon-item {
        width: 25%;
    }
}

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

    #projects-root .checklist-details .media-button-container {
        position: relative;
    }

}


@media screen and (max-width: 960px) {
    #projects-root .lightbox-content {
        width: 90%;
        top: 10%;
    }
}

@media screen and (max-width: 909px)  {
    #projects-root .project-details-wrapper {
        display: block;
    }

    #projects-root .project-details .project-details-content {
        max-width: 100%;
        margin-bottom: 40px;
        margin-right: 0;
    }
}

@media screen and (max-width: 899px) {
    #projects-root .custom-button {
        font-size: 16px;
    }
}

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

    #projects-root  .checklist-items-wrap {
        grid-template-columns: 1fr;
    }

    #projects-root .logo {
        margin-right: 0;
    }

    #projects-root .home-navigation, .login-button-container {
        align-items: baseline;
    }

    #projects-root .custom-tab-icon-item {
        font-size: 14px;
        margin-bottom: 20px;
    }

    #projects-root  .controls {
        flex-direction: column;
    }

    #projects-root .sync-button {
        margin-bottom: 10px !important;
    }

    #projects-root .header {
        flex-direction: column;
    }

    #projects-root .search-bar {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    #projects-root .project-details-wrapper {
      display: block;
    }

    #projects-root .project-details .project-details-content {
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 50px;
    }


    #projects-root .project-detail-icons a {
        margin: 10px 0;
    }

    #projects-root .project-details {
        /*width: 78%;*/
        padding: 20px;
    }

    #projects-root .project-detail-icons .icon-link span {
        font-size: 14px;
        text-align: center;
    }

    #projects-root .branch-selector-wrapper {
       margin-top: 20px;
    }

    #projects-root .photos-videos-controls {
        flex-direction: column;
        margin-top: 30px;
    }

    #projects-root .custom-button {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #projects-root .photo-video-button {
        width: 150px;
        height: 150px;
    }

    #projects-root .photo-video-container {
        gap: 15px;
    }

    #projects-root .photo-video-button img {
        width: 100px;
    }

    #projects-root .lightbox-footer {
        gap: 15px;
        top: calc(100% + 10px);
    }

    #projects-root .lightbox .prev img,
    #projects-root .lightbox .next img {
        width: 50px;
        height: 50px;
    }


    #projects-root .lightbox-footer button img {
        width: 42px !important;
        height: 42px !important;
    }

    #projects-root .lightbox .close img {
        width: 50px;
        height: 50px;
        top: 35px;
    }


    #projects-root .home-navigation .custom-tab-icon-item,
    .login-button.custom-tab-icon-item {
        margin-bottom: 40px;
        font-size: 14px;
    }

    #projects-root .home-navigation,
    .login-button-container {
        padding: 10px;
    }

    #projects-root .home-navigation .custom-tab-icon-item img,
    .login-button-container .custom-tab-icon-item img {
        width: 80px;
    }

    #projects-root .project-form-wrap,
    #projects-root #popup-create-lead .popup-create-lead-wrap {
        width: 80%;
    }

    #projects-root .project-form-wrap button ,
    #projects-root #popup-create-lead .popup-create-lead-wrap button {
        font-size: 12px;
    }

    #projects-root .project-form-wrap,
    #projects-root #popup-create-lead .popup-create-lead-wrap {
        padding: 20px;
    }

    #projects-root .hicrm-popup-content ul {
        grid-template-columns: auto;
    }

    #projects-root .checklist-details-heading {
        margin: 30px 0 60px !important;
    }

    #projects-root .section-title {
        font-size: 20px !important;
    }


    #projects-root .checklist-details .field-title {
        font-size: 22px;
    }

    #projects-root .checklist-details .field-notes {
        font-size: 20px;
    }

    #projects-root .checklist-details .field-answer-input[type="text"] {
        width: 80%;
        margin-left: 0;
    }


    #projects-root .field-status input[type="checkbox"] {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    #projects-root .checklist-details .field-notes {
        font-size: 20px;
        margin-bottom: 30px;
        margin-top: 0;
    }

    #projects-root .field-question {
        margin-left: 0;
    }

    #projects-root .checklist-details label {
        margin-left: 0 !important;
    }

    #projects-root .project-details-wrapper:has(.checklist-details) {
        display: block;
    }

    #projects-root .checklist-details .field-question select {
        margin-left: 0;
    }

    #projects-root .checklist-details {
        margin-right: 0;
        margin-left: 0;
    }
}

@media screen and (max-width: 579px) {
    #projects-root .project-list {
        grid-template-columns: repeat(auto-fit, 310px);
    }
}


@media screen and (max-width: 500px) {
    #projects-root .search-bar {
        flex-direction: column;
    }

    #projects-root .search-bar button {
        width: 100%;
        margin-top: 20px;
    }

    #projects-root .navigation button {
        font-size: 12px;
        padding: 10px;
    }


    #projects-root .project-detail-icons .icon-link img {
        width: 50px;
        height: 50px;
    }


    #projects-root .project-details .project-details-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    #projects-root .project-details {
        border-radius: 15px;
    }

    #projects-root .project-details .close-button {
        top: 10px;
        right: 0;
    }

    #projects-root .project-details h2 {
        font-size: 28px;
    }


    #projects-root .project-details .close-button img {
        width: 20px;
        height: 20px;
    }

    #projects-root .photo-video-button {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }

    #projects-root .photo-video-button img {
        max-width: 50px;
    }

    #projects-root .photo-video-button-title {
        font-size: 12px;
        bottom: 20px;
    }

    #projects-root .media-item {
        width: 100%;
    }

    .no-scroll {
        overflow: hidden;
    }
}

@media  screen and (max-width: 420px) {
    #projects-root .home-navigation .custom-tab-icon-item,
    .login-button-container .custom-tab-icon-item {
        width: 50%;
    }

  #projects-root .project-filter h4,
  #projects-root .project-filter {
      width: 100%;
  }

}


.loader-overlay-presentation {
    position: fixed;
    top: 5%;
    right: 5%;
    width: 203px;
    height: 100px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 32;
}


.loader-container-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5%;
    top: 5%;
}


.loader-presentation {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}


.loader-text-presentation {
    font-size: 18px;
    color: #ffffff;
    text-align: center;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 600px) {
    .loader-presentation {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .loader-text-presentation {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .loader-presentation {
        width: 60px;
        height: 60px;
        border-width: 6px;
    }

    .loader-text-presentation {
        font-size: 20px;
    }
}

#main .entry-content[load]::before {
    background-color: transparent !important;
    z-index: -1 !important;
}

