/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
input.pods-form-ui-field-type-currency {
    padding-left: 30px;
}
.l-property-listings__item li h4 {
    font-family: 'Roboto';
}
.pods-form-pod-historie_akci .pods-form-ui-row-name-property-history-property-obj {
    visibility: hidden;
    height: 0;
}
.pods-form-ui-row-name-property-thumbnail ul.pods-dfv-list li.pods-dfv-list-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
    padding-right: 20px;
}
.user-role-manager .item-visible-only-admin {
    display: none !important;
}
.user-role-manager .row-actions .delete {
    display: none !important;
}
.user-role-manager form[data-location*="/spravce/nemovitosti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-property-registration-number,
.user-role-manager form[data-location*="/spravce/nemovitosti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-title,
.user-role-manager form[data-location*="/spravce/nemovitosti/?action=edit"]>.pods-submittable-fields .pods-form-ui-row-name-property-owner .pods-dfv-pick-full-select__control,
.user-role-manager form[data-location*="/spravce/nemovitosti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-property-state,
.user-role-manager form[data-location*="/spravce/nemovitosti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-property-registration-number{
    pointer-events: none;
    background: #f3f3f3;
}

.user-role-manager form[data-location*="/spravce/klienti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-client-user-reg-number,
.user-role-manager form[data-location*="/spravce/klienti/?action=edit"]>.pods-submittable-fields .pods-form-ui-row-name-client-associated-manager .pods-dfv-pick-full-select__value-container,
.user-role-manager form[data-location*="/spravce/klienti/?action=edit"]>.pods-submittable-fields .pods-form-ui-row-name-client-associated-manager .pods-dfv-pick-full-select__indicators {
    pointer-events: none;
    background: #f3f3f3;
}

.user-role-manager .modal-window-wrapper form[data-location*="/spravce/klienti/?action=edit"]>.pods-submittable-fields input[type="submit"] {
    visibility:visible !important;
}
.user-role-manager .property-detail-tab__item .row-ctas .delete-item--event,
.user-role-manager .property-detail-tab__item .row-ctas .edit-item--event{
	visibility: hidden !important;
}

.elementor-13 .elementor-element.elementor-element-b38442d {
    justify-content: flex-end;
}
.elementor-13 .elementor-element.elementor-element-3c04413{
	justify-content:center;
}
.elementor-13 .elementor-element.elementor-element-89f94ba.elementor-element{
    align-self: center;
}
div#dashboard--sidebar .elementor-nav-menu .menu-item.current_page_item .elementor-item:after {
    top: 0;
}
.property-detail-tab__item .event-attachments {
 
    flex-wrap: wrap;
}

.property-detail-tab__item .event-attachments figure a img {
    width: 100%;
}

.property-detail-tab__item .event-attachments figure {
     height: 96px;
}
div#dashboard--content{
	width:100%;
}
.user-role-manager #pods-form-historie_akci-1 >.pods-submittable-fields #pods-form-ui-pods-field-title {
    pointer-events: all;
    background: unset;
}
div#modal-add-property-window .pods-submittable-fields {
    height: 570px;
}
#modal-add-property-window .pods-submit {
    position: relative;
    margin-top: -1rem;
}
form.pods-submittable.pods-form.pods-form-front.pods-form-pod-nemovitost.pods-submittable-ajax {
	padding-top: 0rem;
}
.property-detail-tab__item .row-ctas .event-publish-date {
    margin-right: auto;
    color: #232323;
}

.property-detail-tab__item .row-ctas .event-publish-date b {
	margin-right:5px;
}

body h4 {
    font-family: 'Roboto';
}
.page-id-594 .pods-form-ui-row-name-property-history-category {
    display: none;
}
@media (max-width:1440px){
	.elementor-301 .elementor-element.elementor-element-f668a4c {
  	  width: 25%;
	}

	.elementor-301 .elementor-element.elementor-element-1f6b7e57 {
		width: 75%;
	}

	div#dashboard--sidebar {
		padding: 4rem 1rem;
	}

	div#dashboard--content {
		padding: 4rem 2rem;
	}
	.l-property-listings__item .item-cta {
		flex-basis: 100%;
		text-align: right;
		margin-top:2rem;
	}

	.l-property-listings__item {
		flex-wrap: wrap;
	}
}
@media (max-width:1120px){
	.l-property-listings__item .item-content figure {
  	  flex-basis: 200px;
	}
	.l-property-listings__item .item-content ul {
    	flex-basis: calc(100% - 200px);
    	padding-left: 2rem;
	}
}
@media (max-width: 960px){
	div#dashboard--sidebar {
       flex-basis:100%;
       order:2;
       max-width: 100%;
    }
    	div#dashboard--content {
       flex-basis:100%; 
        order:1;
    }
	div#dashboard-main-container {
	    flex-wrap: wrap;
	}
	div#dashboard--sidebar .elementor-nav-menu .menu-item.current_page_item .elementor-item:after {
   	 display: none;
	}
}


@media (max-width:768px){


}
@media (max-width:640px){
	.l-property-listings__item .item-content ul li {
    	justify-content: center;
	}
	div#dashboard--content {
		padding-top: 2rem;
	}	
	.l-property-listings__item .item-cta {
		text-align: center;
		padding-top: 1.5rem;
	}

	.l-property-listings__item .item-content li .item-label {
		flex-basis: 200px;
	}
	
	.property-detail-tab__item .event-attachments figure {
		height: 86px;
	}

	.property-detail-tab__item .event-attachments figure {
		 flex-basis: calc(33% - 0.3rem);
	}
	fieldset.box--blue .pods-submittable-fields {
    	height: auto;
	}
	div#dashboard--sidebar .elementor-nav-menu .menu-item {
    	margin-bottom: 0;
	}
	.elementor .property-detail-nav a {
 	   padding: 10px 15px;
	}
	.property-detail-nav ul {
		padding-left: 0;
	}
	.property-detail-tab__item .event-content {
    	flex-basis: 100%;
	}
	.property-detail-tab__item {
		padding: 2rem;
	}

	.property-detail-tab__item .event-attachments {
		flex-basis: 100%;
		margin-bottom: 1rem;
		gap: 0.5rem;
	}
	.pods-admin-container a.add-new-h2 {
		padding: 15px 30px;
		margin-left: 0;
		margin-top: 1rem;
	}
	table td, table th {
    	padding: 5px;
	}
	.l-property-listings__item {
    	padding: 1.5rem;
	}

	.l-property-listings__item .item-content figure {
		flex-basis: 100%;
	}

	.l-property-listings__item .item-content ul {
		flex-basis: 100%;
		padding-left: 0;
		padding-top: 1rem;
	}

	.l-property-listings__item .item-content {
		flex-wrap: wrap;
	}
	.pods-form-front .pods-submit {
		clear: both;
		padding-top: 0rem;
		position: relative;
		float: none;
	}
	form#posts-filter {
    	overflow-x: scroll;
	}
	.wp-list-table-wrapper {
    	overflow-x: scroll;
	}
	.pods-field__container.pods-form-ui-row-name-history-html-content {
    	margin-bottom: -85px;
	}

	.pods-field__container.pods-field-option.pods-field-html-class.pods-form-ui-row-type-pick.pods-form-ui-row-name-property-history-item {
		margin-bottom: -85px;
	}
	div#modal-add-history-window.is-active .modal-window-wrapper, div#modal-add-user-acc-window.is-active .modal-window-wrapper, div[id*=modal-add-].is-active .modal-window-wrapper, div[id*=modal-edit-].is-active .modal-window-wrapper {
    	max-width: 100%;
    	min-width: unset;
 
	}
}

/* Changes */
.l-property-listings__item .item-content {
	width: 80%;
}
.l-property-listings__item .item-content ul {
	flex-basis: auto;
	width: 100%;
}
/*
.page-id-303 .pods-submittable-fields #pods-form-ui-pods-field-title {
    pointer-events: all !important;
    background: #fff !important;
}
*/
.l-property-listings {
	margin: 1rem 0 !important;
}

form.pods-form-pod-klient .pods-submit {
	position: relative !important;
	padding: 0 !important;
	margin: 10px !important;
	width: 100% !important;
	text-align: right !important;
}

form[data-location*="/spravce/klienti/?action=edit"]>.pods-submittable-fields #pods-form-ui-pods-field-title {
	pointer-events: all !important;
	background: #fff !important;
}

#modal-add-property-window .pods-submittable-fields {
	height: 410px !important;
}
#modal-add-property-window .pods-submittable-fields {
	display: block;
	-moz-column-count: 3 !important;
	column-count: 3 !important;
}

.payments-row-buttons {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.pods-currency-container input {
	padding-left: 25px;
}

.current-month {
	background: color(display-p3 1 0.888 0.795);
}

.payment-toggle {
	font-weight: 900 !important;
	cursor: pointer;
}

.client-name {
	font-size: 20px;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: .5px;
}

.l-property-listings {
    max-width: 100% !important;
}
.l-property-listings__item .item-content {
    width: 100% !important;
}


div#modal-add-property-window .pods-submittable-fields {
	height: 100% !important;
	min-height: 480px !important;
}

div[id*=modal-add-].is-active .modal-window-wrapper {
	min-width: 80% !important;
	width: 80% !important;
}

#modal-add-property-window  .pods-field__container {
    padding: .5rem;
    max-width: 490px !important;
    width: 100% !important;
}

#modal-add-property-window .pods-submittable-fields {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

#modal-add-property-window .pods-submit {
    width: 100% !important;
    text-align: right !important;
}

.body-dash_section--opravy .elementor-widget-button.btn--submenu-dashboard a[href*="?dash_section=opravy"] {
    background: #008fb2;
    color: #fff;
}

.l-property-listings__item .item-content li .item-label {
    flex-basis: 200px !important;
}


.single-nemovitost li.menu-item-219 a.elementor-item {
    border-radius: 100px 0 0 100px !important;
    color: #008fb2 !important;
    background: #fff !important;
}

.single-nemovitost li.menu-item-219 a.elementor-item:after {
    content: "" !important;
    height: 100% !important;
    width: 200px !important;
    right: -170px !important;
    position: absolute !important;
    background: #fff !important;
	opacity: 1 !important;
}

.pods-form-ui-row-name-property-history-category {
	display: none !important;
}


/*=========================
 * Platby sekce formulář
 *=======================*/
#create-payments {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #428cb117;
    padding: 30px;
    border-radius: 10px;
}
#create-payments .payments-row {
	display: flex;
	flex-direction: row;
	gap: 20px;
	flex-wrap: wrap;
}
#create-payments .payments-row.button {
	width: 100%;
	justify-content: flex-end;
}
#create-payments .payments-row .payments-section {
	display: flex;
	flex-direction: column;
	max-width: 237px;
	width: 100%;
}
#create-payments .payments-row input, #create-payments .payments-row select {
	height: 50px;
}
.delete-alert {
   position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d6;
    padding: 20px;
    border: none;
    z-index: 1000;
	display: none;
	justify-content: center;
	align-items: center;
}
.delete-alert-content {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
	max-width: 500px;
	max-height: 200px;
	width: 100%;
	height: 100%;
	margin: 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.delete-alert-content p {
	font-size: 25px;
}
.delete-alert-content .buttons {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 20px;
}


/*  PLATBY STYLE */
.payments-overview table {
	border-collapse: separate;
}
.payments-overview table thead th:first-child {
    border-top-left-radius: 20px;
}
.payments-overview table thead th:last-child {
    border-top-right-radius: 20px;
}
.payments-overview table thead {
   background: rgba(0, 143, 178, 1);
}
.payments-overview table thead tr th {
	border: none;
	color: rgba(255, 255, 255, 1);
	font-family: Roboto;
	font-size: 16px;
	font-weight: 700;
	line-height: 25.4px;
	text-align: center;
	padding: 25px 10px;
}
.payments-overview table tbody tr td {
	font-family: Roboto;
	font-size: 14px;
	font-weight: 700;
	line-height: 20.32px;
	text-align: center;
	padding: 25px 5px;
    border: none;
}
.payments-overview .payment-details {
	background: rgb(255 199 142);
	border-top: 3px solid #ff8100;
	border-collapse: collapse;
	border-bottom: 3px solid #ff8100;
}
.payments-overview .payment-details h3 {
	text-align: left;
	font-size: 22px;
}
.payments-overview .payment-details .button.add_row {
	background-color: #428cb1;
	color: #fff;
	border: 1px solid #003865;
}
.payments-overview .payment-details .button-primary {
	background-color: #428cb1;
	color: #fff;
	border: 1px solid #003865;
}
.payments-overview .payment-details .button-primary:hover {
	background-color: #ed8a1a;
}
.payments-overview .payment-details table thead tr th {
    font-size: 14px;
}
.payments-overview .payment-details .button.add_row {
	background-color: #428cb1;
	color: #fff;
	border: 1px solid #003865;
}
.payments-overview .payment-details .button.add_row:hover {
}
.payments-overview .payment-details .remove_row.button {
	background-color: #ed8a1a;
	color: #fff;
	border: 1px solid #b15f02;
	width: 100%;
	margin: 5px 0;
}
.payments-overview .payment-details .remove_row.button:hover {
	background-color: #5889b0;
}
.payments-overview .payment-details .edit_row.button {
	background-color: #428cb1;
	color: #fff;
	border: 1px solid #003865;
	width: 100%;
	margin: 5px 0;
}
.payments-overview .payment-details td {
	padding: 25px 15px;
}
.payments-overview .payment-details table thead {
	background: rgba(255, 129, 0, 1);
}
.payments-overview .payment-details table thead tr td {
	font-size: 14px;
}
.payments-overview .payment-details table tbody tr td {
	vertical-align: middle;
	padding: 25px 5px;
	border: none;
}
.payments-overview .payment-details table tbody tr:nth-child(odd) {
    background: rgb(255 255 255);
}
.payments-overview .payment-details table tbody tr:nth-child(even) {
    background: rgb(255 255 255);
}
.payments-overview .payment-details table thead tr th {
	width: 15%;
}
.payments-overview .payment-details table tbody tr td {
	width: 15%;
}
.select-year-section {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2%;
	margin: 30px 0 15px 0;
}
.select-year-section h2 {
	width: 15%;
    font-family: Roboto;
    font-size: 50px;
    font-weight: 700;
    text-align: left;
    margin: 0;
    min-width: 220px;
}
.select-year-section select {	
	width: 70%;
	border: 1px solid rgba(208, 213, 221, 1);
	padding: 10px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
	-webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
	appearance: none;
	-webkit-appearance: none;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 10px center;
	background-size: 12px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	height: 40px;
}
.select-year-section .logo {
	width: 129px;
	height: 51px;
}
#create-payments .payments-row button {
	border: 1px solid #c26700;
	background: #ed8a1a;
	color: #fff;
}
.total-of-months {
	margin: 15px 0;
}
.total-of-months p {
	text-align: right;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}


/* header menu v nemovitosti */
.elementor-element.elementor-element-fbb8ca1.e-flex.e-con-boxed.e-con.e-child {
	padding: 0;
	margin: 0;
}
.elementor-element.elementor-element-fbb8ca1.e-flex.e-con-boxed.e-con.e-child .e-con-inner {
	justify-content: flex-start;
	flex-wrap: wrap;
}
.elementor-widget-button.btn--submenu-dashboard a {
    color: #000;
    text-decoration: none;
    background: #f2fbff;
    border: 2px solid #008fb2;
    width: 175px;
    font-size: 15px;
    margin-bottom: 5px;
    padding: 15px;
}

/* klient menu header nemovitosti */
.property-detail-nav {
    margin-top: 4rem;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}
.property-detail-nav ul {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin: 0;
    padding: 0;
	flex-wrap: wrap;
	position: relative;
    z-index: 100;
}
.property-detail-nav ul li {
	min-width: 175px;
	padding: 0;
	height: fit-content;
}
.property-detail-nav ul li a {
    font-size: 14px !important;
    padding: 15px !important;
	min-width: 175px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 49px;
}

fieldset.box--blue .pods-submittable-fields {
	height: auto !important;
}


/* doplnění */
.form-repair .pods-field-option .pods-dfv-container, .form-control .pods-field-option .pods-dfv-container, .form-event .pods-field-option .pods-dfv-container {
    max-width: 100% !important;
}
.form-repair .pods-form-ui-row-type-pick .pods-form-ui-field select, .form-control .pods-form-ui-row-type-pick .pods-form-ui-field select,.form-event .pods-form-ui-row-type-pick .pods-form-ui-field select {
    width: 100% !important;
}
#pods-form-pozadavek-1 .pods-form-front.pods-form-pod-pozadavek .pods-submit {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}
#pods-form-pozadavek-1 .pods-submit {
    text-align: left !important;
}
#yearForm {
	margin-bottom: 35px;
}

.payments-overview table tbody tr.payments-total {
    background: #ffa62f;
}
.payments-overview table tbody tr.payments-total td:first-child {
    border-bottom-left-radius: 20px;
}
.payments-overview table tbody tr.payments-total td:last-child {
    border-bottom-right-radius: 20px;
}


a#vyuctovani {
    position: relative;
}
a#platby {
    position: relative;
}
a#nahlaseni {
    position: relative;
}

#pods-form-nemovitost-1 .pods-submittable-fields {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding: 0;
    width: 100%;
    margin: 0;
	padding-bottom: 100px;
}

div#dashboard--content {
    padding: 3rem !important;
}

@media (max-width: 960px) {
	.single-nemovitost li.menu-item-219 a.elementor-item:after {
		display: none !important;
	}
	.single-nemovitost li.menu-item-219 a.elementor-item {
		border-radius: 100px !important;
		color: #008fb2 !important;
		background: #fff !important;
	}
}

@media (max-width: 747px) {
	#create-payments .payments-row .payments-section {
		display: flex;
		flex-direction: column;
		max-width: 100%;
		width: 100%;
	}
	#pods-form-nemovitost-1 .pods-submittable-fields {
		grid-template-columns: 1fr;
	}
	.select-year-section {
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin: 30px 0 15px 0;
	}
	.select-year-section select {
		width: 100%;
	}
	.select-year-section h2 {
		width: 100%;
		font-family: Roboto;
		font-size: 50px;
		font-weight: 700;
		text-align: left;
		margin: 0;
		min-width: 220px;
	}
	.payments-scroll {
	    overflow-x: auto;
	}
	.payments-scroll-container {
		width: fit-content;
		min-width: 800px;
	}
	
	fieldset.box--blue {
		position: relative;
		display: flex;
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	
	div#dashboard--content {
		padding: 1rem !important;
	}
	
	.property-detail-tab__item .row-ctas {
		flex-basis: 100%;
		display: flex;
		gap: 1rem;
		justify-content: flex-end;
		flex-direction: column;
	}
	
	.property-detail-nav ul li {
		min-width: 100%;
		padding: 0;
		height: fit-content;
	}
	
	fieldset.box--blue {
		box-shadow: 1px 1px 10px -5px #000;
		border: 0;
		border-radius: 8px;
		padding: 1rem 1rem;
	}
}

#export-excel {
	z-index: 0 !important;
}


@media (max-width: 767px) {
	#menu-2-52440f6 li {
		text-align: center;
		justify-content: center;
	}
}


body.page-id-301 {
	overflow-y: hidden;
}

#posts-filter .pods-ui-filter-bar-secondary ul.subsubsub {
	list-style: none;
}

.pods-field__container.pods-field-option.pods-field-html-class.pods-form-ui-row-name-property-history {
	display: none;
}
.pods-field__container.pods-field-option.pods-field-html-class.pods-form-ui-row-type-pick.pods-form-ui-row-name-property-history-item {
	display: none;
}

.icon-trash {
    content: '';
    background-image: url('https://portal.stalynajem.cz/wp-content/uploads/2025/01/icons8-waste-20.png');
    background-repeat: no-repeat;
    background-position: center;
	height: 42px;
}

.total-input {
	min-width: 140px;
}

@media (max-width: 1500px) {
	.payments-overview .payment-details table thead tr th {
		width: 10%;
	}
	#create-payments .payments-row {
		display: flex;
		flex-direction: row;
		gap: 9px;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

.property-detail-tab__item .event-content {
    flex-basis: 100% !important;
}

.event-attachments.client {
    height: fit-content !important;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
	width: 100%;
	margin: 0;
}
.event-attachments.client figure {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    height: fit-content !important;
}
.event-attachments.client figure a {
    width: fit-content;
	min-width: 140px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    padding: 22px 12px;
    background: #f1f1f1;
    border-radius: 15px;
}
.event-attachments.client figure a:hover {
    opacity: 0.3;
}
.event-attachments.client figure a img {
    width: 40px;
    height: 40px;
}
.event-attachments.client figure a p {
	margin: 0;
}

.property-detail-tab__item.manager .event-attachments {
    flex-basis: 100% !important;
    justify-content: flex-end;
}

@media (max-width: 700px) {
	.event-attachments.client figure a {
		width: fit-content;
		min-width: 120px;
		height: fit-content;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 10px;
		font-size: 13px;
		text-decoration: none;
		font-weight: 600;
		padding: 18px 8px;
		background: #f1f1f1;
		border-radius: 15px;
	}
	.event-attachments.client figure a img {
		width: 35px;
		height: 35px;
	}
}
