/**
Theme Name: spga
Author: SPGA
Author URI: https://www.sinpga.org/
Description: SPGA Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spga
Template: astra
*/
/*
** Color theme
** blue: #0b3f7e;   old: #134a56
** gold: #d5b665;   
*/

/*Header*/
.site-header .site-description{
    font-weight: bold;
}
.ast-below-header-bar{
    background-color: white;
    color: #777;
}

.ast-below-header-bar .widget-title{
    margin-bottom: 0;
}

.ast-below-header-bar .site-header-below-section-left{
    display: block;
}
.ast-below-header-bar .ast-builder-grid-row{
    grid-template-columns: 1fr;
}
.header-widget-area[data-section="sidebar-widgets-header-widget-1"]{
    display: flex;
    justify-content: space-between;
}
.ast-below-header-bar .wp_forecast_widget {
    margin-bottom: 0;
    font-weight: bold;
}
.ast-below-header-bar .wp_forecast_widget .wp-forecast-curr-details{
    font-weight: normal;
    padding-bottom: 0;
    margin-bottom: 0;
}
.ast-below-header-bar .wp_forecast_widget .wp-forecast-curr-head{
    text-align: left;
}
.ast-below-header-bar .wp_forecast_widget .wp-forecast-fc{
    display: none;
}
.ast-below-header-bar .wp_forecast_widget div.wp-forecast{
    float: none;
}

.site-header-section>*{
    padding: 0;
}

/* .ast-below-header-bar a, .ast-below-header-bar a:hover{
    color: white;
} */

@media screen and (max-width: 921px) {
    .ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-1"]{
        display: flex;        
    }
    .ast-below-header-wrap .ast-container, .ast-below-header-wrap .ast-container .ast-container-fluid{
        margin: 0 10px;
        padding: 0;
    }
    .ast-below-header-wrap .wp-forecast-curr-details{
        display: none;
    }
    .ast-below-header-wrap .ast-below-header-bar .wp_forecast_widget{
        max-height: 68px;
    }
}

/*Home*/


.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary{
    margin-top: 2em;
}



.grid-single{
    background-color: #0b3f7e;    
    border-radius: 4px;
    color: white;    
}
.grid-single:hover{
    background-color: #d5b665;        
}

.grid-single:hover .images{
    animation: fade 0.5s;
    animation-fill-mode: forwards;
}
@keyframes fade {
    0% {        
        opacity: 1;
    }
    100% {        
        opacity: 0.5;
    }
}

.grid-single .grid-top{
    border-top-left-radius: 4px;    
    border-top-right-radius: 4px;    
    max-height: 250px;    
    overflow: hidden;
}
.grid-single .grid-top img{
    border-top-left-radius: 4px;    
    border-top-right-radius: 4px;    
    /* min-height: 150px; */
}

.grid-single .omr {
    position: absolute;
    z-index: 10;
    width: 50px;
    height: 50px;
    color: white;  
    background-color: #0b3f7e;
    text-align: center;
    font-size: 24px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0.75rem;
}

.grid-single:hover .omr{
    background-color: #d5b665;
}



.grid-single .grid-bottom{
    padding: 1em;
}

.grid-single .detail{
    display: flex;
    font-size: 80%;
}
.grid-single .detail > div{
    flex: 50%;
}

.grid-single .nationality{
    text-align: center;
    padding: 10px 0;
    min-height: 60px;
}

.grid-single .nationality img{
    width: 50px;
}

.posts-wrapper {
    margin-bottom: 20px;
}
.posts-wrapper .title{
    font-weight: bold;
    font-size: 18px;
}
.posts-wrapper a.read-more:link, .posts-wrapper a.read-more:visited{
    color: #333;    
}
.posts-wrapper a.read-more:hover{
    color: #d5b665;
}


/*Post & Page*/

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{
    padding: 0;
}

.entry-title a, .entry-title a:visited{
    color: #0b3f7e;
}

.post-18 .wp-block-media-text__media img{
    max-width: 110px !important;
}

.wp-block-table.is-style-stripes th{
    background: #0b3f7e;
    color: white;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{
    padding-top:0;
}

/*Footer*/
.site-above-footer-wrap[data-section="section-above-footer-builder"]{
    background-color: #FFFFFF;
}
.logo-wrapper .item{
    margin-bottom: 10px;
    margin-right: 10px;
}
.logo-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (max-width: 1230px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-mobile-full .ast-builder-grid-row{
        padding: 0 10px;
    }
}

/*Archive*/
.category-events .ast-archive-description{
    padding: 0;
    background-color: transparent;
}
.category-events .ast-archive-title{
    font-size: 2rem;
}
.ast-separate-container .ast-article-post:nth-of-type(1){
    padding-top: 2rem;
}
.category-events article{
    padding-top: 3em !important;
}

/*.category-events article .entry-content p:not(.read-more){
    display: none;
}*/
.category-events article .entry-content .read-more{
    float: right;
}
.category-events article h2{
    font-size:  24px;
}
/*@media screen and (max-width: 769px) {
    .category-events article h2{
        font-size:  24px;
    }
}*/
.normal-text{
    color: #AAA;
}

.no-border table, .no-border td{
    border: 0 !important;
}


/*marquee*/
.marquee {
    height: 30px;    
    overflow: hidden;
    white-space: nowrap;
}
/*ul.post-list {
    display: flex;
    list-style-type: none;
}
ul.post-list li{
    padding-right: 50px;
    flex: none;
}*/
.marquee .post-list{
    display: inline-block;    
    white-space: nowrap;  
}
/*.ast-below-header-wrap{
	display: none;
}*/
