
/*
Theme Name: Civil of Resistance
Text Domain: civil
Version: 1.0
Requires at least: 4.7
Requires PHP: 7.4
Description: Our default theme for 2025 is designed to take full advantage of the flexibility of the block editor.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Author: Serhii Ostapenko
Author URI: https://devitem.net/
Theme URI: https://devitem.net/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
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.
*/

/* Contact Form 7 fixes */

section:not(.newsletters-section) span[class*="wpcf7-form-control"] {
    display: block;
    width: 100%;
}

.wpcf7-list-item {
    margin: 0;
    display: block;
    width: 100%;
}

span.wpcf7-list-item-label {
    margin-left: 10px;
}

.wpcf7-not-valid-tip {
    display: none;
}

input.wpcf7-not-valid, 
textarea.wpcf7-not-valid {
    border-color: #ff0000 !important;
}

input.wpcf7-not-valid::placeholder, 
textarea.wpcf7-not-valid::placeholder {
    color: #ff0000 !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 10px 15px;
    display: none;
}

section.newsletters-section .wpcf7-form-control-wrap {
    position: relative;
    width: 420px;
}

section.newsletters-section .wpcf7-form-control-wrap input {
    width: 100%;
}

.wpcf7-spinner {
    display: none;
}

/* Content for pages */
.default-content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.default-content ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.default-content li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.default-content ul li {
    list-style: disc;
}


.header__nav-item .dropdown-menu {
    width: 52px;
    min-width: 20px;
    border-radius: 5px;
}

.dropdown-menu.header__nav-menu > .header__nav-item {
    padding: 0;
    margin: 0;
    height: auto;
}