/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.0.0.1704693449
Updated: 2024-01-08 05:57:29

*/
.publish_page{
    background-image: url(images/publish-page-bg.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;    
}
.con-inner{
    max-width: 1439px;
    margin:0 auto;
}
.top-hero {
    padding: 100px 0px 25px;
}
.sub-title{
    font-size: 18px;
    color: #fff;
}
.publish_page_title h1 {
    font-size: 44px;
    color: #fff;
    font-weight: 300;
}
.publish_page_title span strong{
    font-weight: 700;
}
.search {
    background-color: rgb(78 51 37 / 86%);
    padding: 29px 0px;
}
.content_flex{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
}
.bannerpara p {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0;    
}
.pub-search, .search .con-inner {
    position: relative;
}
.search .con-inner:before {
    content: "";
    background-color: #7B5541;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -32px;
}
.search_btn{
    position: absolute;
    right:10px;
    top: 5px;
    border: 0px;
}
.pub-search input, .pub-filter {
    width: 100%;
    padding: 12px;
    /* margin-bottom: 30px; */
    height: 51px;
    border: 1px solid #A28D8D;
    background: transparent;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;    
}
.pub-search input:focus, select:focus{
    border: 1px solid #A28D8D;
}
.pub-filters select {
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none;
  appearance: none;
  color: #fff;
  padding: 10px 40px 10px 12px;
 background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'>\
    <path d='M1 1 L5 5 L9 1' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/>\
  </svg>");
  background-repeat: no-repeat;
  background-position: right 7px center;
}

select:focus{
    border: 1px solid #fff;
}
.pub-search input::placeholder{
    color: #fff;
}
.pub-wrapper {
    background: rgb(78 51 37 / 86%);
    padding: 30px 0px;
}
.search_btn:focus, .search_btn:hover{
    background: transparent;
}
.pub-container {
    display: flex;
    gap: 40px;
}

.pub-filters {
    width: 270px;
}
.pub-filters h4 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
}
.search_attribute {
    display: flex;
    justify-content: space-between;
}
.search_attribute label {
    min-width: 85px;
    color: #A28D8D;
    font-size: 16px;
    text-transform: uppercase;
}
.pub-filters select {
    width: 100%;
    margin-bottom: 15px;
    padding: 4px 10px;
    height: 33px;
    font-size: 16px; 
    border-radius: 7px;    
}
.pub-filters select option{
    background-color:#A28D8D;
}
.pub-content {
    flex: 1;
}



#pub-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    color: #fff;    
}

.pub-card {
    border-bottom: 1px solid #7B5541;
    color: #fff;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;    
}
.pub-card h3 a{
    font-size: 18px;
    text-decoration: underline;
    line-height: 25px;
}
.pub-card h3 a, .pub-card h3 a:hover{
    color: #fff;
}
.pub-date {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.pub-journal {
    font-size: 14px;
    color: #ADD9FF;
    font-weight: 500;
    margin-bottom: 8px;
}
.pub-authors.mht {
    min-height: 72px;
}
.pub-authors span a {
    color: #fff;
    font-size: 16px;
}
.center-author a{
    text-decoration: underline;
    color: #ADD9FF !important;
}

@media(max-width: 1540px){
    .con-inner{
         width: 92%;   
    }
}
@media(max-width: 1279px){
 #pub-results{
    grid-template-columns: repeat(2, 1fr);
}    
}
@media(max-width: 990px){
    .publish_page{
        background-size: contain;
    }
    .pub-wrapper, .search {
        background: rgb(78 51 37);
    }
    #pub-results {
        grid-template-columns: 1fr;
    }    
    .content_flex {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 25px;
}
}

/* MOBILE */
@media(max-width: 767px){
    .publish_page{
    background-image: url(images/publication-page-mobile-bg.png);
    }
    .search{
        background-color:transparent;
    }
    .bannerpara{display:none;}
    .pub-container {
        flex-direction: column;
    }
    .publish_page_title h1 {
        font-size: 35px;
    }
    .search_btn {
        top: 3px;
        right:1px;
        background-color: #000;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.pub-filters {
    width: 100%;
    display: flex;
    flex-flow: wrap; 
    justify-content: space-between;
    transition: all .5s ease-in-out;
}


/* When user scrolls below filter bar → prepare it to be sticky */
.pub-filters.sticky-ready {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(-100%);
    opacity: 0;
}

/* When user scrolls up slightly → show it */
.pub-filters.sticky-ready.show-bar {
    position:fixed;
    transform: translateY(58px);
    opacity: 1;
    background-color:rgb(78 51 37);
    padding: 0px 10px;
    box-shadow:0px 10px 20px rgb(27 27 27 / 22%);    
}

    .top-hero {
        padding: 50px 0px 0px;
    }
    .search_attribute{
        width: calc(33% - 5px);
    }
    .pub-filters .search_attribute:nth-child(3){
        display:none;
    }
.pub-filters h4{width: 100%;}    
}

/* Loader Circle */
.video-loader-container{
     position: absolute !important;
    top: 50%;
    left: 50%;   
}
.video-loader {

    width: 45px;
    height: 45px;
    margin-left: -22px;
    margin-top: -22px;
    border: 4px solid green;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

/* Hide loader when video is ready */
.video-loaded .video-loader {
    display: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
