﻿.container-xl {
    padding-right: 0;
    padding-left: 0;
}

.container-xl-global {
    padding-left: 0;
    padding-right: 48px;
}

.container-xl-header {
    padding: 0 38px;
}

.accordion-button span {
    display: none;
}

.accordion-button.collapsed span {
    display: inline;
}
@media(min-width: 991px) {
    .title-bar.sticky-md-top {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

}
.content-with-sidebar {
    min-height: calc(100vh - 100px);
}

table h4 a {
    color: var(--bs-heading-color);
    text-decoration: none;
}
.wrap-all {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.table-hover:hover, table.dataTable thead th:hover, .d-flex:has(input:hover) .table-hover {
    color: #414141;
}
.px-12px{
    padding-left: 12px;
    padding-right: 12px;
}
.btn.dropdown-toggle.btn-default {
    color: #716F6F;
    border: 1px solid #DFDFDF;
    background-color: #fff;
}

.btn.dropdown-toggle.btn-default:hover, .btn.dropdown-toggle.btn-default:focus {
    border-color: #B2B2B2;
    color: #716F6F;
    background-color: #fff;
}

.btn.dropdown-toggle.btn-default:hover {
    color: #414141;
}
.product-map-item .product-description.fst-italic {
    line-height: 110%;
}
.grid-buttons .btn:hover svg path {
    fill: #414141;
}

#table-grid:hover svg path {
    stroke: #414141;
}
/* #region Checkboxes css*/
.products-grid .checkbox-item label:before,
.products-grid .card-image-with-title.two-line-title .checkbox-item label:before {
    border-color: transparent !important;
    border-width: 0 !important;
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='18' height='18' fill='white'/%3E%3Crect x='1' y='1' width='18' height='18' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E");
}

/* Hover effect for unchecked */
.products-grid .checkbox-item input[type=checkbox]:not(:checked) + label:hover:before, .products-grid .checkbox-item input[type=checkbox]:not(:checked):hover + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='18' height='18' fill='white'/%3E%3Crect x='1' y='1' width='18' height='18' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E");
}

/* Hover effect for checked */
.products-grid .checkbox-item input[type=checkbox]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='18' height='18' fill='white'/%3E%3Crect x='1' y='1' width='18' height='18' stroke='%23414141' stroke-width='2'/%3E%3Cpath d='M5 11L8 14L15 6' stroke='%23414141' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.products-grid .checkbox-item label:after,
.products-grid .card-image-with-title.two-line-title .checkbox-item label:after {
    border-width: 0 !important;
}
.products-grid.table-grid-active .checkbox-item label:before {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='14' height='14' fill='none'/%3E%3Crect x='1' y='1' width='14' height='14' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E");
}

.products-grid.table-grid-active .checkbox-item input[type=checkbox]:not(:checked):hover + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='14' height='14' fill='white'/%3E%3Crect x='1' y='1' width='14' height='14' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E");
}

.products-grid.table-grid-active input[type=checkbox]:checked + label:before {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='14' height='14' fill='white'/%3E%3Crect x='1' y='1' width='14' height='14' stroke='%23414141' stroke-width='2'/%3E%3Cpath d='M3 9L6 11.5L13 4' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E");
}

.checkbox-item input[type=checkbox]:checked + label:before {
    background: unset;
    background-repeat: no-repeat;
    background-size: contain;
}
/* #endregion*/

@media(max-width: 991px){
    .d-mobile-hide {
        display: none !important;
    }
}
.btn_loading{
    pointer-events: none;
    filter: opacity(0.6);
}
@media (min-width: 1199px) {
    .product-view-modal .modal-body .product-view-pop-content .tabs-content-right #product-tab-content {
        height: 790px;
    }
}

.checkbox-item label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' fill='white'/%3E%3Crect x='0.5' y='0.5' width='15' height='15' stroke='%23919191'/%3E%3C/svg%3E");
    border: 0;
}
.checkbox-item input[type=checkbox]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' fill='white'/%3E%3Crect x='0.5' y='0.5' width='15' height='15' stroke='%23919191'/%3E%3Cpath d='M3.33 9.33L6 11.33L12 4.67' stroke='%23716F6F' stroke-width='1.8'/%3E%3C/svg%3E");
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' fill='white'/%3E%3Crect x='0.5' y='0.5' width='15' height='15' stroke='%23414141'/%3E%3Cpath d='M3.33 9.33L6 11.33L12 4.67' stroke='%23414141' stroke-width='1.8'/%3E%3C/svg%3E");
}
.checkbox-item input[type=checkbox]:checked + label:after {
    border: 0;
}
@media (max-width: 575px) {
    .checkbox-item label:before {
        width: 22px;
        height: 22px;
        background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='20' height='20' fill='white'/%3E%3Crect x='1' y='1' width='20' height='20' stroke='%23919191'/%3E%3C/svg%3E%0A");
    }
    .checkbox-item input[type=checkbox]:checked + label:before {
        background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='20' height='20' fill='white'/%3E%3Crect x='1' y='1' width='20' height='20' stroke='%23414141'/%3E%3Cpath d='M4.58333 12.8333L8.25 15.5833L16.5 5.5' stroke='%23414141' stroke-width='2'/%3E%3C/svg%3E%0A");
    }
}
@media (max-width: 575px) {
    .mobile-two-cols {
        display: grid !important;
    }
}
.filter-dropdown.pe-none, .grid-buttons.pe-none, #sidebar-slide-in-mobile.pe-none {
    opacity: 0.5;
}

body:has(#table-grid.active) .wideFooter {
    display: none;
}

.card-image-with-title:has(.card-img img:nth-child(2)) .card-img img:last-child {
    display: none;
}
@media (min-width: 576px) {
    
    .card-image-with-title:hover .card-img img:first-child {
        display: none
    }

    .card-image-with-title:hover .card-img img:last-child {
        display: block !important
    }
}

.content:has(input:checked) #selected-download{
    display: block;
}
@media (min-width: 500px) {
    .products-grid:has(.loading-img) {
        justify-content: center;
    }
}
.card-image-with-title.two-line-title .checkbox-item label {
    position: absolute;
     width: auto; 
     height: auto; 
}
.checkbox-item.d-block{
    cursor: pointer;
}
.card-image-with-title.two-line-title .checkbox-item {
    position: relative;
    padding-top: 0;
}
.card-image-with-title.two-line-title .checkbox-item label {
    top: 6px;
}
.checkbox-item.pe-none{
    opacity: 0.5;
}
.card-image-with-title.two-line-title .bottom .title a {
    word-break: break-all;
}
.breadcrumb-area:not(:has(.breadcrumb li)) {
    gap: 0;
}
.search-wrap .search-icon:after {
    font-family: "Font Awesome 6 Pro";
    top: 7px;
    content: "\f002";
    position: absolute;
    right: 10px;
    cursor: pointer;
}
.search-wrap .clear{cursor: pointer}
.search-wrap .clear:after {
    font-family: "Font Awesome 6 Pro";
    content: "\e12e";
        font-weight: bold;
    position: absolute;
    right: 32px;
    top: 7px;
    cursor: pointer;
}
.search {
    border: 1px solid #DFDFDF;
    padding: 6px 12px;
    min-width: 300px;
    /*    margin-right: 12px;*/
}
.search:after{
    content: ""
}
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.search-results:not(:has(li)){display: none;}
.search-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
}

@media (max-width: 601px) {
    .w-228 .card-image-with-title.two-line-title .card-img {
        height: 165px;
    }
}
.download-item {
    position: relative;
    padding-top: 0;
    z-index: 2;
    height: 0;
}
.download-item a {
    position: absolute;
    top: 8px;
    left: 36px;
    width: 22px;
    height: 22px;
    color: white;
    background: #9f80802b;
    border-radius: 18px;
    text-align: center;
}
.w-228:hover .download-item a, .w-228:has(input:checked) .download-item a {
    background: #9f808087;
}
.download-item a:hover {
    background: #9f8080 !important;
}
.download-item a:after {
    content: "\f33d";
    font-family: "Font Awesome 6 Pro";
    font-size: 15px;
}
.card-image-with-title .description {
    text-transform: uppercase;
}
.filter-item:not(:has(.checkbox-item:not([style*="display: none"]))) {
    display: none;
}
.content-with-sidebar:has(.card-image-with-title .styled-checkbox:checked) #sidebar-slide-in-mobile button:not(.filter-close),
.content-with-sidebar:has(.card-image-with-title .styled-checkbox:checked) #sidebar-slide-in-mobile button:not(.filter-close),
.content-with-sidebar:has(.card-image-with-title .styled-checkbox:checked) .accordion-collapse {
    pointer-events: none;
    opacity: 0.6;
}
#searchAssets::placeholder {
    text-transform: capitalize; /* Capitalize the first letter of each word */
}

.card-image-with-title:has(input:checked) {
    border-bottom-color: #414141;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
}

.download-item.d-private {
    position: absolute;
    right: 10px;
    top: 10px;
    color: var(--dark-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.download-item.d-private label{
    background-color: white;
    display: block;
    padding: 0px 6px;
    border-radius: 4px;
    border: 1px black;
    opacity: .5;
}
.w-228:hover .download-item.d-private label, .w-228:has(input:checked) .download-item.d-private label {
    opacity: 1;
}

.w-228:has(input:checked) .bottom {
    border-top: 1px dashed #a0a0a0;
    color: #414141 !important;
}
.w-228:has(input:checked) .bottom .title a{
    color: #414141 !important;
}
.search-wrap:has(input:placeholder-shown) .clear {
    display: none;
}

div.captcha{
    display: none;
}

/*a.disabled{
    opacity: 0.5;
    pointer-events: none;
}*/
.size-files{
    display: block;
    padding: 0;
}
.modal-download.disabled, .modal-copy.disabled {
    pointer-events: none;
    opacity: 0.6;
}
.modal-download:hover, .modal-copy:hover {
    color: black;
}
.modal-copy {
    width: 200px;
}
@media (min-width: 991px) {
/*    .page-header:not(.d-none) + .title-bar.sticky-md-top {
        padding-top: 0px !important;
        padding-bottom: 30px !important;
    }*/
    .page-header h2 {
        margin-bottom: 0;
    }
}
#assetsResultsModal .asset-download-row .left-thumbnail{
    pointer-events: none;
}
.modal-dialog .original.nonexistent {
    color: #ccc;
    pointer-events: none;
    opacity: 0.5;
    filter: alpha(opacity = 50);
}