/* 
    Created on : 19.8.2019, 19:27:07
    Author     : Jakub
*/

#article-header {
    color:#fff;
    background:url('/images/backgrounds/01-top-subpage.jpg') no-repeat;
    background-size: auto 446px;
    background-position: center -60px;
}        

    #article-header .h1 {
        color:#fff;
        font-size:1.6rem;
        font-weight: 600;
        padding: 1.4rem 0 6.6rem 0;
    }    
    
    #article-header img {
        position: absolute;
        top: 4.4rem;
        left: 4rem;
    }
    
#article-detail-image {
    padding-top: 50%;
    background-size: cover;
    background-position: 50% 50%;
}
    
.article-image {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}    
    
.article-image-wrapper {
    overflow: hidden;
}

.article {
    background:#e7f8ff;
}

    .article:hover {
        background:#fff;
    }

    .article h3, .article .h3 {
        font-weight: 600;
        font-size: 1.4rem;
    }
    
    .article h3 a, .article .h3 a {
        color:#d3481f;
        text-decoration: none;
    }
    
    .article p {
        font-size:0.9rem;    
    }

#article {
    background:#e7f8ff;
}    

    #article-h1 {
        position: relative;
    }
    
        #article-h1 h1 {
            color: #fff;
            background: rgba(211, 72, 31, 0.8);
            text-align: center;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0;
            font-weight: 600;
            font-size: 1.6rem;
        }
        
        #article-h1.no-image h1 {
            position: relative;
        }
        
#article-text img {
    max-width:100%;
}        

#article-text a {
    text-decoration: underline;
}
        
#contest-h1 {
    background:#f5d7ce;
    position: relative;
}        

    #contest-h1 h1 {
        color:#d3481f;
        font-size:1.6rem;
        font-weight: 600;
    }
    
    #contest-h1 .contest-gift {
        position: absolute;
        top:-1rem;
        right:-1rem;
        z-index: 1;
    }
    
/* xl */
@media (max-width: 1200px) {
    #simple-gifts .gift .price {
        font-size: 1.6rem;
    }
}    
    
/* lg */
@media (max-width: 960px) {
    #simple-gifts .gift .price {
        font-size: 1.4rem;
    }
}

/* md */
@media (max-width: 767px) {
    #simple-gifts .gift .price {
        font-size: 1.1rem;
    }
    
    #snippet--articles {
        margin:0 -15px;
    }
    
        .article-wrap {
            display: block;
            float: left;
            width: 50%;
            padding: 0 15px;
        }
        
        .article-wrap:nth-child(odd) {
            clear:left;
        }
        
            .media {
                display:block;
            }
    
            .article img.main-image {
                width:100%;
            }
    
    #article-h1 h1 {
        position: relative;
    }
    
    #ordering {
        display:flex;
        flex-wrap: wrap;
    }
    
        #ordering a {
            flex-grow:1;
        }

        #ordering a.active {
            border-bottom: 1px solid #d4effa;
        }
}

@media (max-width: 575px) {
    #simple-gifts .gift .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 540px) {
    #simple-gifts .gift .price {
        font-size: 1.4rem;
    }
}    

@media (max-width: 480px) {
    .article-wrap {
        float: none;
        width:100%;
    }
}    