/*
 Theme Name:   savelife
 Text Domain:  savelife
 Version:      1.1.0
 Description:  SaveLife Theme
 Tags:         one-column, custom-menu, featured-images, theme-options, translation-ready
 Author:       Ihor Vovchak <ivovchak@softserveinc.com>
 Author URI:   https://gitlab.com/ivovchak
 Theme URI:    https://gitlab.com/cba-ua/come-back-alive/-/tree/main/wordpress/themes/savelife
 Template:     understrap
 GitLab Theme URI: understrap/understrap-child
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* PATCHES */

/* Tags */
.wp-block-tag-cloud a {
    font-size: 16px !important;
    padding: 0 6px;
    color: #959595;
    margin: 10px 10px 0 0;
    text-decoration: none;
    border: 1px solid #959595;
}

/* Blogs */

/* TODO: figure out the margin-bottom for the last group with class */
/* TODO: figure out classes (or hook - less acceptable) for p tag, they differ for news and blogs */
.blog-content .wp-block-group {
    border: 0 !important;
    margin-bottom: 1.5rem !important;
    /* .card  ~= .wp-block-group in editor */
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.25rem;
}

.blog-content .wp-block-group h2,
.blog-content .wp-block-group h3 {
    text-transform: uppercase !important;
}

.blog-content .wp-block-group p:not(.preview-text) {
    line-height: 1.25 !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.lang-flag {
    width: 16px;
    height: 11px;
    margin-right: 5px;
    margin-top: -3px;
}

.form-error {
    font-size: 12px;
    color: red;
    display: none;
}

iframe {
  max-width: 100%;
}

.su-tooltip-button {
    color: #5B7742;
    cursor: pointer;
}

.su-tooltip-inner {
    background: #FFFFFF !important;
    border: 1px solid #E7E7E7 !important;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4) !important;
    border-radius: 8px !important;
    color: #2C2C2C !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-family: Helvetica;
    letter-spacing: -0.011em;
    font-weight: 400;
    text-align: left;
}

/* /reporting */
#__BVID__42___BV_tab_button__,
#__BVID__28 ul li:nth-child(2) {display: none;}
/* Show for admin */
body #wpadminbar ~ #content #__BVID__42___BV_tab_button__,
body #wpadminbar ~ #content #__BVID__28 ul li:nth-child(2) {display: block;}
