/* .documents-table-dpn td,  th {
    font-size: 14.4px;
}
 */
table thead tr th {
    color: #051a53;
}

.search-filter {
	margin-top: -10px;
}

 .documents-table-dpn td a {
	color: var( --e-global-color-primary );
	font-weight:600;
	font-family: var(--e-global-typography-6d5b75d-font-family), sans-serif;
        transition: 0.2s all;
}

.documents-table-dpn td a:hover {
	color: var( --e-global-color-accent);
}


.documents-table-dpn td,
.documents-table-dpn th {
	font-family: 'Montserrat', sans-serif;
	text-align: start;
	font-size: 14.4px;
	padding: 5px 10px;
	vertical-align: middle;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
}

.custom-select-wrapper select {
    display: none;
}

.custom-select {
    position: relative;
    display: inline-block;
}

.custom-select-trigger {
    position: relative;
    display: block;
    padding: 0 20px 0 15px;
    color: var(--e-global-color-cd32458);
    border-radius: 20px 20px 20px 20px;
    border: none;
    font-size: 16px;
    background: transparent;
    font-family: var(--e-global-typography-eb36ac4-font-family), Sans-serif;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-select-trigger:after {
    position: absolute;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    top: 50%;
    right: 0px;
    margin-top: -2px;
    border-bottom: 1px solid #1f2124;
    border-right: 1px solid #1f2124;
    transform: rotate(45deg) translateY(-50%);
    transition: all .4s ease-in-out;
    transform-origin: 50% 0;
}

.custom-select.opened .custom-select-trigger:after {
    margin-top: 3px;
    transform: rotate(-135deg) translateY(-50%);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 100%;
    width: 100px;
    margin: 15px 0;
    border: 1px solid rgb(217, 217, 217);
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0, 0, 0, .07);
    background: #fff;
    transition: all .3s ease-in-out;
    padding: 4px 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
}

.custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-options:before {
    position: absolute;
    display: block;
    content: '';
    bottom: 100%;
    right: 25px;
    width: 7px;
    height: 7px;
    margin-bottom: -4px;
    border-top: 1px solid rgb(217, 217, 217);
    border-left: 1px solid rgb(217, 217, 217);
    background: #fff;
    transform: rotate(45deg);
    transition: all .4s ease-in-out;
}

.option-hover:before {
    background: #f9f9f9;
}

.custom-option {
    position: relative;
    display: block;
    border-bottom: 1px solid rgb(217, 217, 217);
    font-size: 16px;
    padding: 6px 2px;
    font-weight: 400;
    color: var(--e-global-color-cd32458);
    font-family: var(--e-global-typography-eb36ac4-font-family), Sans-serif;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.custom-option:first-of-type {
    border-radius: 4px 4px 0 0;
}

.custom-option:last-of-type {
    border-bottom: 0;
    border-radius: 0 0 4px 4px;
}

.custom-option:hover,
.custom-option.selection {
    color: var(--e-global-color-primary);
}


.footer-row {
	display: flex;
    align-items: center;
    justify-content: space-between;
	padding: 10px 20px;
	 gap: 60px;
}

.footer-left,
.footer-right {
	display: flex;
	align-items: center;
	 gap: 30px;
}

.footer-page-select { 
	display: flex;
	gap: 10px;
}

.footer-page-select label {
	display: flex;
    align-items: center;
}

.footer-total-count {
	margin-bottom: 0px;	
}

.footer-total-count,
.dpn-pagination {
	flex-shrink: 0;
}

.last-td-dpn {
	display: flex;
	align-items: center;
	gap: 5px;
}

.last-td-dpn a {
	padding: 5px 8px !important;
	transition: all 0.2s;
}

.last-td-dpn > a > i {
	transition: all 0.2s;
}

.last-td-dpn a:hover i {
	color: #E5CE76 !important;
	transition: all 0.2s;
}

.last-td-dpn a .fa-download::before {
	content: "";
    display: inline-block;
    width: 18px;              
    height: 18px;              
    margin-right: 4px;        
    background: url("https://apk-rks.net/wp-content/uploads/2025/11/download.png") center/contain no-repeat;
    vertical-align: middle;
}

.last-td-dpn a .fa-eye::before {
	content: "";
    display: inline-block;
    width: 18px;              
    height: 18px;              
    margin-right: 4px;        
    background: url("https://apk-rks.net/wp-content/uploads/2025/11/preview.png") center/contain no-repeat;
    vertical-align: middle;
}



.has-sub-institutions {
	height: auto !important;
    flex-wrap: wrap !important;
}
.institution-grid .search-select-filter {
	height: 42px;
}

#institution_div {
	display: flex;
}


.year-search-filter,
.search-filter,
.btn-searchf {
	height: 42px;
}

.search-grid .institution-grid {
	order: 1;
}

.search-grid .search-filter {
	order: 2;
}

.search-grid .year-search-filter {
	order: 3;
	margin-top: -10px;
}

.search-grid .btn-searchf {
	order: 4;
	margin-top: -10px;
}

.has-sub-institutions .institution-grid {
	order: 1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.has-sub-institutions .search-filter {
	order: 2;
}

.has-sub-institutions .year-search-filter {
	order: 3;
}

.has-sub-institutions .btn-searchf {
	order: 4;
}

.documents-table-dpn {
	display: none;
}
 
.table-filters {
	position: relative;
    display: table;
    overflow: auto;
}
/* .documents-table-dpn{
    display: table;
    overflow: auto;
} */


.web-loader {
	display: none;
	height: 70vh;
    z-index: 3;
    position: absolute;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid lightblue;
  border-right-color: var(--e-global-color-accent);
  animation: l2 1s infinite linear;
}
@keyframes l2 {to{transform: rotate(1turn)}}

@media (max-width: 768px) {
    .table-filters {
        display: block;
        overflow: auto;
    }
}

@media (min-width: 680px) and (max-width: 860px) {
	 .table-filters {
        display: table;
    }
}

