/* Admin bar */
body.admin-bar .site-header.is-sticky.is-stuck {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header.is-sticky.is-stuck {
        top: 46px;
    }
}

/* TinyMCE adjustments */
.mce-content-body.generic-content {
    padding: 25px 20px;
}

/* Contact Form 7 */
.hidden,
.form-checkbox .form-control > .wpcf7-form-control-wrap,
.form-radio .form-control > .wpcf7-form-control-wrap {
    display: none;
}

span.wpcf7-not-valid-tip {
    font-size: 13px;
}

input + span.wpcf7-not-valid-tip,
textarea + span.wpcf7-not-valid-tip,
select + span.wpcf7-not-valid-tip {
    margin-top: 5px;
}

div.wpcf7-response-output {
    margin: 25px 0;
    padding: 10px 15px;
    font-size: .875em;
    border: 0;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted,
div.wpcf7-spam-blocked,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    color: #fff;
    background: #f00;
}

div.wpcf7-mail-sent-ok {
    color: #fff;
    background: #555;
}

.ajax-loader + .button {
    margin-left: 5px;
}

.form-control {
    height: auto;
    padding: unset;
}

/* Nawigator */

.container-fluid.w1920, .container-fluid.w1920 .mt-4 {
    max-width: 1170px;
	margin: 0 auto;

}
.container-fluid.w1920.nawigator,  .container-fluid.w1920 .mt-4  {
	padding-right: 0;
    padding-left: 0;
}
.frame-viewer {
    display: block;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.frame-viewer > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.building-viewer {
    position: relative;
    display: block;
}
.building-viewer-navigation .d-flex {
    justify-content: space-between;
}
.building-viewer-navigation {
    padding: 0px;
    height: auto;
    background: transparent;
	position: absolute;
    top: 0;
    background: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.2s ease-in;
	z-index: 10;
}
.building-viewer-navigation .btn-light {
	color: #313131;
    border: 0px solid #313131;
    line-height: 30px;
    font-size: 16px;
    text-transform: unset;
    padding: 5px 10px 4px;
    font-weight: bold;
    background-color: #fff;
    padding-bottom: 5px;
	border-radius: 0;
}
@media (max-width: 991px) {
.building-viewer-navigation {
	position: relative;
}
.building-viewer-navigation .btn-light {
    width: 50%
}
.building-viewer-navigation .btn-light {
    border: 2px solid #313131;
}
}
@media (max-width: 360px) {
.building-viewer-navigation .btn-light {
    font-size: 14px;
    padding: 5px 5px 4px;
}	
}
.building-viewer-navigation.active {
    transform: translateY(0);
}
.building-viewer-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.building-viewer-frames {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    z-index: 0;
}
.building-viewer-frames::before {
    display: block;
    content: '';
    height: 0;
    padding-top: 60%;
}
.building-viewer-frames .frame-viewer,
.building-viewer-overlays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.building-viewer-overlays {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.building-viewer-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.building-viewer-overlay > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.building-viewer-overlay > svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
}
.building-viewer-spinner {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.building-viewer-panel {
    position: relative;
    padding: 15px;
    z-index: 2;
}
.building-viewer-panel .btn-light {
	color: #fff;
    background-color: #000 ;
	border: 0px solid;
    border-color: #313131 ;
	border-radius: 0px;
	font-size: 16px;
	font-weight: bold;
	padding: 7px 4px;
    width: 100%;
}
.building-viewer-panel .justify-content-center.mt-sm-3 {
    margin-top: 15px;
}
.building-viewer-panel  .text-center {
    font-size: 16px;
}
.building-viewer-panel .btn-light:hover {
	color: #fff;
    background-color: #175734;
	border-color: #175734;
}
@media (min-width: 768px) {
.building-viewer-panel {
      position: absolute;
      left: 0px;
      bottom: 0px;
      width: 340px;
   }
}
@media (min-width: 1366px) {
.building-viewer-panel {
      width: 340px;
   }
}
@media (max-width: 1366px) {
.building-viewer-panel .mb-1, .building-viewer-panel .my-1 {
    height: 40px;
}  
}
@media (max-width: 768px) {
.building-viewer-panel h4 {
    text-align: center;
}
.container-fluid.w1920.nawigator {
    margin-top: 40px;
}
}
.building-outline-layer {
    cursor: pointer;
    pointer-events: all;
}
.building-outline-layer.hidden {
    visibility: hidden;
    pointer-events: none;
}
.building-outline-layer path {
    opacity: 0;
    fill: currentColor;
}
.building-outline-layer text {
    fill: #ffffff;
    text-anchor: middle;
	font-weight: 400;
	font-size: 22px;
	display: block;
}
.building-outline-layer[data-status='sold'] {
    color: #d93a3a;
}
.building-outline-layer[data-status='reserved'] {
    color: #f27f50;
}
.building-outline-layer[data-status='available'] {
    color: #527836;
}
.building-outline-layer[data-status='etap2'] {
    color: #a7a7a7;
}
.building-outline-layer:hover path,
.building-outline-layer.active path {
    opacity: 0.5;
}
.building-layer-icon {
    pointer-events: none;
}
.building-layer-icon > * {
	 display: none;
}
.building-outline-layer[data-status='sold'] .building-layer-icon > .building-layer-icon-sold,
.building-outline-layer[data-status='reserved'] .building-layer-icon > .building-layer-icon-reserved,
.building-outline-layer[data-status='available'] .building-layer-icon > .building-layer-icon-available,
.building-outline-layer[data-status='etap2'] .building-layer-icon > .building-layer-icon-etap2 {
	  display: block;
}
.building-viewer-panel-content {
    color: #000;
}

.building-viewer-panel-content strong {
    font-style: bold;
    font-weight: 600;
}
.building-viewer-panel-content  h4 {
    font-size: 1.5rem;
	font-weight: 600;
}







#flat-table {
	width: 100%;
}
table.dataTable thead th, table.dataTable tfoot th {
	text-align: center;
	color: #000;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 0px !important;
}
div.dts div.dataTables_scrollBody {
    background: transparent;
}
#flat-table {
    text-align: center;
}
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
    background-color: transparent !Important;
}
#flat-table tbody tr td {
	border-top: 1px solid #313131 !Important;
}
.dataTable tr.Dostępne,
.dataTable tr.Dostępne.odd {
	background: #fff !important;
	color: #313131 !important;
}
.dataTable tr.Sprzedane,
.dataTable tr.Sprzedane.odd {
	background: #fff !important;
	color: #313131 !important;
}
.dataTable tr.Rezerwacja,
.dataTable tr.Rezerwacja.odd {
	background: #fff !important;
	color: #313131 !important
}
table.dataTable tbody tr.Dostępne.selected, table.dataTable.display tbody tr.Dostępne.selected,
table.dataTable.stripe tbody>tr.Dostępne.odd.selected, table.dataTable.stripe tbody>tr.Dostępne.odd>.selected, table.dataTable.display tbody>tr.Dostępne.odd.selected, table.dataTable.display tbody>tr.Dostępne.odd>.selected,
#flat-table tbody tr.Dostępne:hover, table.dataTable.hover tbody tr.Dostępne:hover.selected, table.dataTable.display tbody tr.Dostępne:hover.selected {
	background: #527836 !important;
	color: #fff !important;
}
table.dataTable tbody tr.Sprzedane.selected, table.dataTable.display tbody tr.Sprzedane.selected,
table.dataTable.stripe tbody>tr.Sprzedane.odd.selected, table.dataTable.stripe tbody>tr.Sprzedane.odd>.selected, table.dataTable.display tbody>tr.Sprzedane.odd.selected, table.dataTable.display tbody>tr.Sprzedane.odd>.selected,
#flat-table tbody tr.Sprzedane:hover, table.dataTable.hover tbody tr.Sprzedane:hover.selected, table.dataTable.display tbody tr.Sprzedane:hover.selected {
	background: #d93a3a !important;
	color: #fff !important;
}
table.dataTable tbody tr.Rezerwacja.selected, table.dataTable.display tbody tr.Rezerwacja.selected,
table.dataTable.stripe tbody>tr.Rezerwacja.odd.selected, table.dataTable.stripe tbody>tr.Sprzedane.odd>.selected, table.dataTable.display tbody>tr.Rezerwacja.odd.selected, table.dataTable.display tbody>tr.Rezerwacja.odd>.selected,
#flat-table tbody tr.Rezerwacja:hover, table.dataTable.hover tbody tr.Rezerwacja:hover.selected, table.dataTable.display tbody tr.Rezerwacja:hover.selected {
	background: #f27f50 !important;
	color: #fff !important;
}
table.dataTable tbody tr.Etap.selected, table.dataTable.display tbody tr.Etap.selected,
table.dataTable.stripe tbody>tr.Etap.odd.selected, table.dataTable.stripe tbody>tr.Sprzedane.odd>.selected, table.dataTable.display tbody>tr.Etap.odd.selected, table.dataTable.display tbody>tr.Etap.odd>.selected,
#flat-table tbody tr.Etap:hover, table.dataTable.hover tbody tr.Etap:hover.selected, table.dataTable.display tbody tr.Etap:hover.selected {
	background: #a7a7a7 !important;
	color: #fff !important;
}


#flat-table  sup {
    top: unset;
}
#flat-table .text-muted {
    color: #f27f50 !important;
}
#flat-table .text-danger {
    color: #d93a3a  !important;
}
#flat-table .text-success {
    color: #527836  !important;
}
#flat-table .text-etapix {
    color: #a7a7a7  !important;
}

#flat-table tbody tr.selected .text-success, 
#flat-table tbody tr:hover .text-success {
	color: #fff !important;	
}
#flat-table tbody tr.selected .text-danger, 
#flat-table tbody tr:hover .text-danger {
	color: #fff !important;
	
}
#flat-table tbody tr.selected .text-muted, 
#flat-table tbody tr:hover .text-muted {
	color: #fff !important;
	
}
#flat-table tbody tr.selected .text-etapix,
#flat-table tbody tr:hover .text-etapix {
	color: #fff !important;
}


table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
    border-top: 0px solid #dddddd;
}
table.dataTable thead th, table.dataTable thead td {
    border-bottom: 0px solid #111111;
}
table.dataTable .btn-outline-secondary {
	color: #fff;
    background-color: #000;
    border: 0px solid;
    border-color: #000;
    border-radius: 0px;
    font-size: 16px;
    font-weight: bold;
    padding: 7px 4px;
    width: 100%;
}
#flat-table tbody tr.selected .btn-outline-secondary, 
#flat-table tbody tr:hover .btn-outline-secondary {
	border-color: #fff;
	color: #fff;
}
table.dataTable .btn-outline-secondary:hover {
	background-color: #fff;
	color: #313131 !Important;
}
table.dataTable tbody td {
    padding: 17px 10px;
}
@media (max-width: 1440px) {
.dataTables_wrapper .dataTables_scroll,
table.dataTable .btn-outline-secondary {
    font-size: 14px;
}
}
@media (max-width: 1200px) {
table.dataTable tbody td {
    padding: 11px 5px;
}
table.dataTable thead th {
	padding: 10px 13px 10px 5px;
}
}
@media (max-width: 992px) {	
#flat-table {
	display: block;
	box-sizing: border-box;
}
#flat-table * {	
	box-sizing: inherit;
}
#flat-table th,
#flat-table td {
	font-size: inherit !important;
	max-width: 100%;
	flex-grow: 1;
	flex-basis: 0;
}
#flat-table th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#flat-table thead,
#flat-table tbody {
	display: block;
	width: 100%;
}
#flat-table tr {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
#flat-table td,
#flat-table th {
	display: block;
}
thead .table-controls {
	display: none;
}
tbody .table-controls {
	flex: 1 1 33.3333%;
}
tbody .table-controls:empty {
	display: none;
}
thead .table-id,
#flat-table tbody .table-id,
thead .table-pietro,
#flat-table tbody .table-pietro,
thead .table-typ,
#flat-table tbody .table-typ,
thead .table-pokoje,
#flat-table tbody .table-pokoje {
	flex-basis: 95px;
}
thead .table-number,
#flat-table tbody .table-number,
thead .table-text,
#flat-table tbody .table-text	{
	flex-basis: 130px;
}
}
@media (max-width: 767px) { 
.dataTables_wrapper .dataTables_scroll,
table.dataTable .btn-outline-secondary {
    font-size: 12px;
}
thead .table-id,
#flat-table tbody .table-id,
thead .table-pietro,
#flat-table tbody .table-pietro,
thead .table-typ,
#flat-table tbody .table-typ,
thead .table-pokoje,
#flat-table tbody .table-pokoje {
	width: auto !Important;
	flex-basis: 10% !important;
}
thead .table-number,
#flat-table tbody .table-number,
thead .table-text,
#flat-table tbody .table-text	{
	width: auto !Important;
	flex-basis: 25% !important;
}
#flat-table tbody .table-controls {
	width: auto !Important;
	flex-basis: 32% !important;
}

table.dataTable .btn-outline-secondary {
    border: 2px solid;
}
}

.modal-content {
	color: #000;
}
h5.modal-title {
	font-weight: bold;
}
.modal-body .wpcf7 button, .modal-body .wpcf7 input, .modal-body .wpcf7 optgroup, .modal-body .wpcf7 select, .modal-body .wpcf7 textarea {
	width: 100%;
	border: 1px solid #ced4da;
	line-height: 35px;
	border-radius: 5px;
}
.modal-body .wpcf7 textarea {
	max-height: 120px;
}
.modal-body .wpcf7 label {
	font-weight: bold;
}
.modal-body .wpcf7 input {
    margin-bottom: 20px;
	padding: 5px 10px;
	background: #f2f2f2;
}
.modal-body .wpcf7 textarea {
	padding: 5px 10px;
	background: #f2f2f2;
}
.modal-body .wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
    margin-left: -17px;
    width: 15px;
    margin-bottom: 0;
	z-index: 2;
    position: relative;
}
.modal-body .wpcf7-form-control.wpcf7-acceptance a {
	color: #1E1E1E;
}
.modal-body .wpcf7-form-control.wpcf7-acceptance label {
	font-size: 12px;
	font-weight: normal;
	text-align: left;
}
.modal-body .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    margin-top: -1px;
    margin-left: 10px;
    float: right;
}
.modal-body .wpcf7 .col-8 {
    font-size: 10px;
	font-weight: bold;
}
.modal-body .wpcf7 .row {
	margin-bottom: 10px; 
}
.modal-body input.wpcf7-form-control.wpcf7-submit {
	border: 0px solid #313131;
    border-radius: 0px;
    font-weight: bold;
    font-size: 18px;
    line-height: 27px;
    padding: 8px 20px;
	background: #175734;
	color: #fff;
	max-width: 105px;
    float: right;
	outline: 0;
    box-shadow: 0 0 0 0rem rgba(0,123,255,.25);
}
.modal-body div.wpcf7-validation-errors, .modal-body div.wpcf7-acceptance-missing {
    border: 0px;
    padding: 0;
    font-size: 10px;
    color: red;
	background: #fff;
}
.modal-body div.wpcf7-response-output {
    margin: 0;
    padding: 0;
}
.modal-body div.wpcf7-mail-sent-ok {
	border: 0px;
	border: 0px solid #398f14;
    color: #398f14;
	font-size: 12px;
}
.modal-body input.wpcf7-form-control.wpcf7-submit:hover {
	background: #000;
	color: #fff;
}

#housePlanModal span.cena_tabela,
.modal-footer .btn {
    border: 0px solid #313131;
    background: #175734;
    color: #fff;
    border-radius: 0px;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 20px;
}
#housePlanModal span.cena_tabela:hover,
.modal-footer .btn:hover {
    background: #000;
    color: #fff;
}
@media (min-width: 576px) {
.modal-dialog {
    max-width: 800px;
}
}



.building-viewer-panel h4 {
    text-align: left;
}
.projekt_R2D_mini .tab-content {
    text-align: center;
}
.projekt_R2D_mini img {
    max-width: 75%;
}

@media (max-width: 767px) {
.projekt_R2D_mini img {
    max-width: 100%;
}
}


.nawigacja_mini1 {
    position: relative;
    margin: 0 auto;
}
.zmiana2D3D {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.nawigacja_mini1 .nav-tabs .nav-item {
    width: 50%;
}
.zmiana2D3D .nav-item:first-child .nav-link {
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
}
.zmiana2D3D .nav-item.show .nav-link, .zmiana2D3D .nav-link.active, .zmiana2D3D .nav-link {
    color: #000;
    font-weight: 500;
    background-color: #fff;
    border: 0px solid transparent;
    border-radius: 0;
    padding: 5px 16px;
}
.zmiana2D3D .nav-link.active, .zmiana2D3D .nav-link:hover {
    color: #fff;
    background-color: #175734;
}
.projekt_R2D_mini {
    margin-bottom: 10px;
}
.formularz_kontaktowy_modal .form-control {
	border: 0px solid #ced4da;
}
/* Poprawka galeria */
.carousel-item {
	margin-right: unset;
}
.side-media-box .box-media>.box-back-media img, .side-media-box .box-media>.box-front-media img {
    webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
	top: unset;
}
.side-media-box .box-media>.box-back-media img, .side-media-box .box-media>.box-front-media img {
    webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
	top: unset;
}
.container.privacy-policy {
    padding-top: 50px;
    padding-bottom: 50px;
}
.container.privacy-policy strong {
    font-weight: bold;
}







#housePlanModal .modal-dialog,
#houseTypePlanModal .modal-dialog {
    width: 93%;
    max-width: 1170px;
}
#housePlanModal .modal-body img,
#houseTypePlanModal .modal-body img {
    width: 100%;
}
#houseTypePlanModal .modal-body,
#housePlanModal .modal-body {
    overflow-y: scroll !important;
    overflow-x: hidden !Important;
    max-height: 700px !important;
}
@media (min-width: 2000px){
#houseTypePlanModal .modal-body,
#housePlanModal .modal-body {
    max-height: 1100px !important;
}
}
.modal-footer {
    justify-content: flex-start;
}





@media (max-width: 767px) {
.hero-section {
    min-height: 390px!important;
}

}

@media (max-width: 549px) {
.hero-section {
    min-height: 300px!important;
}
}


@media (max-width: 1024px) {
.galeria_lex .section-layout {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
}
.galeria_lex .generic-content {
	margin-bottom: 30px;
}


}


@media (max-width: 500px) {
.tabela_lex  table {
	display: block;
	height: 350px !Important;
    overflow-y: hidden;
}
.tabela_lex  table tbody {
	min-width: 600px !Important;
	width: 600px !Important;
	    display: block;
}
}
