﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

h1.main-title {
    font-size: 1em !important;
}

.subscribe-box {
    margin: 20px 0 30px;
}

.post-card__meta {
    font-size: 1em !important;
}

.post-card__author, .post-card__comments, .post-card__date, .post-card__like, .post-card__views {
    margin-right: 10px;
}

.post-card--vertical .post-card__title h2 {
    font-size:1em;
}

.widget-articles .post-card__title {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.post-card--grid .post-card__title {
    font-size: 0.9em !important;
}

.post-card--grid:nth-child(6n) .post-card__title, .post-card--grid:nth-child(6n+1) .post-card__title {
    font-size: 1em;
    z-index: 4;
}

.section-block {
    padding-bottom: 0px;
}

.subscribe-box-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    gap: 15px;
    align-items: center;
    max-width: 1059px;
    margin: 30px auto;
    min-width: 250px;
}

.subscribe-box-inner .social-buttons--square .social-button {
    width: 3em;
    height: 3em;
    vertical-align: middle;
}

.subscribe-box-inner .social-button:before {
    width: 2.5em;
}

.subscribe-box__header {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 1em;
    margin-bottom: 0px;
    max-width: 380px;
}

.subscribe-box-text {
    font-size: 0.7em;
}

.subscribe-box-inner .social-links {
    margin-top: 0px;
}

.post-time {
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    color: #999;
    text-decoration: none;
    display: block;
    letter-spacing: .02em;
    padding: 0 8px;
    margin-top: 10px;
    background-color: #f5f5f5;
}

.site-logotype {
    margin-right: 1rem;
}

.post-card--standard .post-card__thumbnail img {
    width: 100%;
}

.gallery-columns-3 .gallery-item {
    max-width: 32.9%;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img.video-thumbnail {
    width: 100%;
}

.video-thumbnail {
    display: block;
}

div.video-play-btn {
    height: 100px;
    width: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background: url('icon-play.svg') no-repeat center center;
    background-size: 100px 100px;
    z-index: 1;
}

.video-container {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

@media (min-width:768px){
    .post-card--vertical .post-card__title h2 {
        line-height:1.2
        }
    .main-navigation-inner {
        display:none;
        }
    }

    .post-card--grid .post-card__title {
        font-size: 0.9em !important;
    }

@media (min-width:1200px){
    .post-card--vertical .post-card__title h2 {
        font-size:1.1em
        }
    }

@media (min-width: 1400px) {
    .main-navigation-inner {
        display:none;
    }
}

@media (max-width: 465px) {
    .subscribe-box-inner {
        display: block;
    }
    .subscribe-box__header {
        margin-top: 20px;
    }
}

/*Floor Ad*/
.adfinity-header {
    display: flex;
    height: 24px;
    justify-content: left;
    width: 100%;
}

.adfinity-close {
    background: #f7f7f7;
    border: 1px solid #c4c4c4;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -1px 4px rgba(0,0,0,.48);
    height: 24px;
    margin: 0 10px;
    width: 44px;
    background: #f7f7f7 url(arrow-down-close.svg) 50% 50% no-repeat;
    cursor: pointer;
}

.adfinity-overlay {
    border-radius: 4px;
    bottom: 0;
    position: fixed;
    left: 0px;
    right: unset;
    z-index: 2147483643;
    line-height: initial;
    margin: 0px auto;
    width: 100vw;
}

.adfinity-overlay .adfinity-body {
    background-color: rgba(0,0,0,.7);
    border-top: 1px solid #c4c4c4;
    box-shadow: 0 -1px 4px rgba(0,0,0,.48);
    z-index: 9999;
}


@keyframes slideUp {
    from {
            transform: translateY(100%);
            opacity: 0;
        }
    to {
            transform: translateY(0);
            opacity: 1;
        }
}

.slide-up-animation {
        animation: slideUp 1s ease-out;
}