/*
Theme Name: Cheval Child
Description: Child Theme for Cheval Theme
Author: zozothemes
Version: 1.0
Template: cheval
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: zozothemes
*/

/*Custom Style Code Right Here */

/* Poprawka do offcanvas */
.secondary-bar-inner a.secondary-menu-toggle {
    background-color: #ba955d;
}
.secondary-bar-inner a.secondary-menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 0;
    line-height: 0;
    border: unset;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: 0.45s ease-in-out;
    z-index: 8;
    padding: 19px 19px 11px 25px;
}

/* Poprawka do breadcrumb */
.page-title-wrap > ul.page-title-elements > *.page-title:before {
	background: linear-gradient(to right, #bb9457, rgb(184 151 128 / 6%));
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
}

header.cheval-page-header:before {
	background-image: url(/wp-content/themes/cheval/assets/images/page-title-right.png);
    content: "";
    width: 26%;
    max-width: 24%;
    height: 300px;
    background-size: 100%;
    position: absolute;
    bottom: -33px;
    right: 203px;
    transform: rotate(6deg);
    z-index: 1;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: 3s linear 0s infinite normal none running blinker;
}

/* Poprawka do przycisku menu */
.blog-style-classic-pro .blog-inner .post-thumb a:before,header .navbar > div > ul.nav > li.secondary-toggle-wrapper {
	background-color: #bb9457 !important;
	height: 90px;
}


/* Poprawka do tabeli */
.dt-container .dt-layout-cell.dt-layout-start,
.dt-container .dt-layout-cell.dt-layout-end {
    display: none;
}

.elementor .elementor-element.elementor-element .elemenetskit-tablepress table.tablepress {
	border: 0px;
}

.elemenetskit-tablepress .dt-container .dt-layout-table .dt-layout-cell .tablepress td {
    border-width: 0px;
    padding: 1rem;
}

.elemenetskit-tablepress .dt-container .dt-layout-table .dt-layout-cell .tablepress th {
    border-width: 0px;
    padding: 1rem;
}

.oplaty .elementor-widget-container .elemenetskit-tablepress .dt-container .dt-layout-table .dt-layout-cell .tablepress th.column-1 {
	width: 80%;
}

/* Poprawka do submenu */

ul.nav.wp-menu > li.menu-item-has-children:not(.menu-item-has-mega-children) > .sub-menu {
    width: 365px;
}

.tablepress thead .dt-orderable-asc:hover, .tablepress thead .dt-orderable-desc:hover, .tablepress thead .dt-ordering-asc, .tablepress thead .dt-ordering-desc {
    background-color: #ffc976;
    color: var(--head-active-text-color);
}

.tablepress>:where(thead,tfoot)>tr>* {
    background-color: #bb9457;
}

table.dataTable thead .dt-orderable-asc, table.dataTable thead .dt-orderable-desc {
    background-image: none !important;
}

table.dataTable thead .dt-ordering-asc {
    background-image: none !important;
}

/* Poprawka do nawigacji */

@media only screen and (min-width: 912px) {
	.elements-3 > div > ul {
		width: 0;
	}
	.elements-3 > div > ul.pull-center.justify-content-center {
		width: 80%;
	}
}

/* Poprawka do thumbnaili w postach */

.elementor-widget-ceaposts .blog-wrapper .blog-inner .post-thumb img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}