/*
Theme Name: oneversion
Theme URI: http://studiobrothers.pl/
Author: oneversion
Author URI: http://studiobrothers.pl/
Description: studiobrothers
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: oneversion
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Fresh is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

.o365-masonary__items {
    min-width: 100%;
}

@media all and ( min-width: 560px) {
    .o365-masonary__items {
        margin-right: -20px;
    }
}

@media all and ( min-width: 840px) {
    .o365-masonary__items {
        margin-right: -40px;
    }
}

.o365-masonary__items .single_page_link_monsory {
    cursor: pointer;
    text-decoration: none !important;
}

.o365-masonary__items .o365-masonry__item {
    float: left;
    width: 100%;
    margin-bottom: 30px;
    -webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.o365-masonary__items .o365-masonry__item:hover {
    color: #2C52BF;
}

@media all and ( min-width: 560px) {
    .o365-masonary__items .o365-masonry__item {
        width: 50%;
        padding: 0 10px;
        margin-bottom: 30px;
    }
}

@media all and ( min-width: 840px) {
    .o365-masonary__items .o365-masonry__item {
        width: 33.33%;
        padding: 0 20px;
        margin-bottom: 50px;
    }
}

.o365-masonary__items .o365-masonry__item-thumb {
    position: relative;
}

.o365-masonary__items .o365-masonry__item-thumb img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    background-color: #ddd;
    box-shadow: 0 13px 16px rgba(44, 82, 191, 0);
    -webkit-transition: box-shadow 0.3s ease-in-out;
    transition: box-shadow 0.3s ease-in-out;
}

.o365-masonary__items .o365-masonry__item:hover .o365-masonry__item-thumb img{
    box-shadow: 0 13px 16px rgba(44, 82, 191, 0.25);
}

.o365-masonary__items .o365-masonry__item-thumb .o365-masonry__item-category {
    position: absolute;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 10px;
    left: 20px;
    bottom: 20px;
    border: solid 1px #6D9BF7;
    border-radius: 20px;
    background-color: #6D9BF7;
    font-size: 12px;
    color: #fff;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

.o365-masonary__items .o365-masonry__item:hover .o365-masonry__item-thumb .o365-masonry__item-category {
    background-color: transparent;
}

.o365-masonary__items .o365-masonry__item-body {

}

.o365-masonary__items .o365-masonry__item-body .o365-masonry__item-title {
    display: block;
    margin: 20px 0 28px;
    text-align: left;
    font-size: 28px;
}

.o365-masonary__items .o365-masonry__item-body .o365-masonry__item-details {
    padding-top: 20px;
    border-top: solid 1px currentColor;
    margin-bottom: 20px;
}

.o365-masonary__items .o365-masonry__item-body .o365-masonry__item-details p {
    font-size: 14px;
    line-height: 28px;
    font-weight: 200;
}

.o365-masonary__items .o365-masonry__item-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 30px;
    border-bottom: solid 3px currentColor;
}

.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-author {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: 12px;
}

.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-author-image {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 16px;
    background-color: #ddd;
}

.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-author-name {
    margin-right: 8px;
    font-weight: bold;
}

.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-author-date {

}

.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-footer-link {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

/*noinspection CssUnknownTarget*/
.o365-masonary__items .o365-masonry__item-footer .o365-masonry__item-footer-link::after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 15px;
    margin-left: 8px;
    background-color: #2FD17C;
    -webkit-mask-image: url(images/chevron.svg);
    mask-image: url(images/chevron.svg);
    -webkit-mask-position: left center;
    mask-position: left center;
    -webkit-mask-size: cover;
    mask-size: cover;
}