/*
Theme Name:   BeOpenProjects
Description:  Write here a brief description about your child-theme
Author:       Craft Studio
Author URL:   m2b2.ru
Template:     radiate-pro
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  BeOpenProjects
*/

:root {
	--main-color: #dd5a16;
	--contrast-color: #ffffff;
}

header .site-title a,
html body a {
	color: var(--main-color);
}

html body .rcl-bttn.rcl-bttn__type-primary,
html button,
html input[type="button"],
html input[type="reset"],
html input[type="submit"] {
	color: var(--contrast-color);
	background-color: var(--main-color);
}

html a.recall-button,
html span.recall-button,
html .recall-button.rcl-upload-button,
html input[type="submit"].recall-button,
html input[type="submit"] .recall-button, 
html input[type="button"].recall-button,
html input[type="button"] .recall-button,
html a.recall-button:hover,
html .recall-button.rcl-upload-button:hover,
html input[type="submit"].recall-button:hover,
html input[type="submit"] .recall-button:hover,
html input[type="button"].recall-button:hover,
html input[type="button"] .recall-button:hover {
	background: var(--main-color);
}

html .rcl-field-input input[type="checkbox"]:checked + label.block-label::before,
html .rcl-field-input input[type="radio"]:checked + label.block-label::before {
    background: var(--main-color);
    border-color: var(--main-color);
}

body > #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > #page > #content {
    flex-grow: 2;
}

.page-id-4 .entry-header {
    display: none;
}

.rcl-form-field .required {
    display: none;
}

.rcl-field-title > i {
    font-size: 12px;
    font-style: inherit;
    padding-top: .5em;
    display: block;
}

#parallax-bg {
	top: 87px!important;
}

.post-template-default #primary {
    min-height: 1000px!important;
}

#masthead {
    margin-bottom: 488px!important;
}

.header-wrap {
    border-bottom: none;
    background-color: #f9f9f9;
}

.radiate-hdt-2 .header-wrap {
    padding: 0px 0;
}

.radiate-hdt-2 #header-logo-image img {
    max-height: 67px;
    width: auto;
    padding: 10px 0;
}

.radiate-hdt-2 .main-navigation {
    margin-top: 0;
}

.main-navigation a {
    padding: 22px 10px;
    font-size: 13px;
    text-transform: uppercase;
}

.main-navigation a,
.main-small-navigation a {
    border-top: solid 2px #ffffff;
    transition: all .3s;
}

.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
    border-top: solid 2px;
    background-color: unset!important;
    color: var(--main-color);
}

.radiate-hdt-2 .header-search-icon {
    border-left: medium none;
    padding: 31px 0 14px 22px;
}

.header-search-icon:before {
    font: normal 22px/1 'Genericons';
}

div#header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

div#header-text h1.site-title {
    font-size: 20px;
    margin-top: 1.5rem;
}

div#header-text p.site-description {
    font-size: 12px;
    color: #67666a;
}

#content {
        box-shadow: 0 0 100px #ffffff,
                    0 0 100px #ffffff,
                    0 0 100px #ffffff,
                    0 0 100px #ffffff,
                    0 0 100px #ffffff;
}

/* Projects Grid */

.blog .site-main,
.archive .site-main {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: auto;
	gap: 1em;
}

.blog .site-main .projects-filter,
.archive .site-main .projects-filter,
.archive .site-main header {
	grid-column-start: 1;
	grid-column-end: 4;
}

.projects-filter .widget {
	margin-bottom: 0;
}

.projects-filter .mdf_input_container,
.projects-filter.mdf_taxonomy_child_container {
	width: 30% !important;
}

.projects-filter .mdf_filter_section td {
	display: flex;
	align-content: space-between;
}

.projects-filter .widget-meta-data-filter table {
	width: 100%!important;
}

h4.data-filter-section-title {
    color: #7dc2af;
}

article .pr-thumb {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #f1f1f1;
    width: 100%;
    height: auto;
    padding-bottom: 70%;
    margin-bottom: 10px;
    transition: all .3s;
}

article:hover .pr-thumb {
	filter: saturate(1.5);
}

.blog .entry-title,
.archive .entry-title {
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.5;
}

.page-content, .entry-content, .entry-summary {
    margin: 0px 0 0;
    margin: 0em 0 0;
    font-size: 1.5rem;
}

.likebtn_container {
	display: inline-block;
	float: left;
}

.more-link {
	display: inline-block;
	float: right;
	padding-top: 2px;
}

article .entry-meta {
	padding-top: 15px;
}

article .entry-meta > span {
	display: block;
    font-size: 10px;
    font-size: 1rem;
    padding-bottom: 5px;
    padding-left: 20px;
}

.article .entry-meta .author {
	font-size: 10px;
	font-size: 1rem;
	padding-bottom: 5px;
}

article .entry-meta .comments-link {
	display: none;
}


article .entry-meta .posted-on:before,
article .entry-meta .byline:before,
article .entry-meta .cat-links:before,
article .entry-meta .tags-links:before,
article .entry-meta .comments-link:before, 
article .entry-meta .edit-link:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 19px/1 'Genericons';
    vertical-align: middle;
    margin-left: -22px;
}

.widget_custom_html {
	background: #fafafa;
}

.author_info > div {
	padding-bottom: 10px;
}

.author_info > div > span {
	font-size: 1rem;
	color: #999999;
}

.yw-share {
    padding-top: 20px;
}

.yw-share a,
.yw-share .copy-link {
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 15px;
    margin: 0 15px 15px 0;
}

.yw-share .rcli {
    font-size: 22px;
}

/* Private Area */

#rcl-office {
    background: unset;
    box-shadow: none;
    padding: 30px 0;
}

.horizontal-menu #lk-menu {
    padding: 30px 0 20px;
}

.office-sunshine #lk-conteyner {
    background-image: none;
    background-color: unset;
    padding: 15px;
}

.office-sunshine #lk-conteyner::after {
    display: none;
}

.office-sunshine .cab_header {
    display: none;
}

.office-sunshine .cab_content .lk-sidebar {
    margin: 0 30px 0 0;
}

.office-sunshine .cab_content {
    min-height: fit-content;
    margin: 0;
    z-index: 2;
}

.office-sunshine .cab_title h2 {
    color: unset;
    text-shadow: none;
}

.office-sunshine .rcl-action {
    display: none;
}

/* Registration Form */

.form-block-rcl.form_extend label {
    font-size: 1.4rem;
}

.rcl-field-input input:invalid {
    border-color: #ddd!important;
}

.welcome_text {
    padding: 40px 0;
}

.welcome_text + h4 {
    display: none;
}

.panel_lk_recall.floatform {
    margin-left: unset;
    transform: translateX(-50%);
}

.panel_lk_recall {
    max-width: 640px;
    min-width: 320px;
}

.authorize-form-rcl > .panel_lk_recall {
    max-width: 100%;
}

.panel_lk_recall .rcl-widget-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.header-search-icon,
.authorize-form-rcl .username > b,
.authorize-form-rcl .author-avatar,
#rcl-office #lk-conteyner,
.rcl_cab_guest_message,
/*footer#colophon,*/
#post-postlist > h3 {
    display: none;
}

#rcl-tabs div#lk-menu {
    display: flex;
    justify-content: center;
}

#rcl-tabs div#lk-menu a:hover {
    text-decoration: none;
}

.rcl-form-field.submit-public-form {
    text-align: left;
    background: unset;
    border: unset;
}

#rcl-post-bar {
    display: none;
}

/* Publication Form */

html .rcl-field-input.type-tel-input .maxlength,
html .rcl-field-input.type-url-input .maxlength {
    height: 100%;
}

.rcl-field-input .maxlength {
    background: unset;
    border: unset;
    opacity: .5;
    font-weight: 400;
    font-size: smaller;
    height: 3rem;
}

.rcl-upload-gallery .gallery-attachment {
    height: fit-content;
}

/*div#form-field-post_uploader {
	display: none;
}*/

/*Project Page */

.post-template-default.single .rcl-field.type-uploader-value {
	margin-top: 2em;
}

.post-template-default.single .rcl-field.type-uploader-value > .rcl-field-title,
.post-template-default.single .rcl-field.type-uploader-value > .title-colon,
.post-template-default.single .type-textarea-value > .title-colon,
.post-template-default.single .rcl-field.type-agree-value {
	display: none; 
}

.rcl-upload-gallery.mode-list img {
    object-fit: contain;
}

.project-main-image {
    margin: 2em 0;
}

.rcl-field.type-textarea-value .rcl-field-title {
    display: block;
    font-size: 1.1em;
    padding-top: 1rem;
}

ul.media-content {
    margin-top: 2em;
    list-style: none;
    padding-inline-start: 0;
}

ul.media-content.media-images {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

ul.media-content.media-images li img {
    width: 6em;
    height: 6em;
    object-fit: contain;
    background: #fafafa;
    border: solid 1px #eaeaea;
}

ul.media-content.media-documents li {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 1em;
}

ul.media-content.media-documents li a {
    display: flex;
    gap: .5em;
    align-items: center;
}

ul.media-content.media-documents li img {
    width: 2em;
}

@media screen and (max-width: 980px) {
    .blog .site-main, .archive .site-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        font-size: 10px;
    }

    .single .entry-title {
        font-size: 3rem;
    }

    .inner-wrap {
        display: flex;
        flex-direction: column;
    }

    .left-sidebar #secondary {
        order: -1;
    }

    
}

@media screen and (max-width: 480px) {
    .blog .site-main, .archive .site-main {
        grid-template-columns: 1fr;
    }
}