.dn {
    display: none;
}

.configurator {
    font-size: 1rem;
}

.configurator a {
    color: rgba(0,0,0,1);
}
.configurator a:hover {
    color: rgba(0,0,0,0.85);
}
.configurator a i{
    color: rgba(40,77,148,1);
}
.configurator a:hover i{
    color: rgba(40,77,148,0.85);
}

.configurator-nav {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0,0,0,1);
}
.configurator-intro {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 2rem;
}
.cr-nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: center;
    line-height: 1.5em;
    padding: 10px 0px;
    margin-bottom: 0;
    margin-right: 1px;
    background-color: var(--first-color);
    color: var(--gr-color);
    -moz-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
}
@media(min-width: 768px) and (max-width: 992px) {
    .cr-nav-item {
        font-size: 0.85em;
    }
}
.cr-nav-item:last-child {
    margin-right: 0;
}
.configurator-nav input[type="radio"]:checked+label {
    background-color: var(--sec-color);
    color: var(--gr-color);
}
@media(max-width: 767px) {
    .configurator-nav input[type="radio"]+label {
        display: none;
    }
    .configurator-nav input[type="radio"]:checked+label {
        display: block;
    }

}
.configurator-nav input[type="radio"] {
    display: none;
}

.conf-btn {
    position: relative;
    float:  right;
    line-height: 1.5em;
    border: 0;
    padding: 10px 20px;
    background-color: var(--sec-color);
    color: var(--gr-color);
    margin-left: 1rem;
}
.conf-btn:hover {
    background-color: var(--sec-color-hover);
    color: var(--gr-color);
}
@media(min-width: 992px) {
    .conf-btn {
        min-width: calc(20% - 40px);
        border-radius: 10px;
        -moz-border-radius: 10px;
        text-align: center;
        margin-left: 0.1rem;
    }
    button.conf-btn {
        min-width: calc(20%);
    }
}
.cr-nav-item:hover {
    background-color: var(--first-color-hover);
    color: var(--gr-color);
    cursor: pointer;
}

.bg-header {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,1);
    font-style: italic;
    font-size: 0.85em;
}
.bg-content-item {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,1);
}

.building {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.room-items {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: center;
    line-height: 1.5em;
}
.room-items a i {
    font-size: 1.5em;
}
.room-items.roomname a i {
    font-size: 1em;
    color: rgb(51, 51, 51,1);
}
.room-items.roomname a i {
    font-size: 1em;
    color: rgb(255,0,0,1);
}
.room-items.roomname a:hover i {
    font-size: 1em;
    color: rgb(255,0,0,0.75);
}
.room-items.roomname {
    text-align: left;
}
.room-items.roomname span {
    margin-left: 10px;
}

.bg-add-room {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media(min-width: 768px) {
    .room-items.roomname {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.configurator-footer {
    margin-top: 20px;
    position: relative;
    text-align: center;
}

.configurator-footer button {
    border:0;
    padding: 10px 20px;
    background-color: var(--main-a-color);
    color: rgba(255,255,255,1);
}
.configurator-footer button:hover {
    border:0;
    background-color: var(--main-a-color-hover);
    color: rgba(255,255,255,1);
}

#room-modal .modal-content {
	position: 				relative;
	padding:				0px;
	margin:					0px;
	top:					50%;
	left:					50%;
	transform:				translate(-50%, -50%);
	display:				inline-block;
	width:					calc(100% - 40px);
	max-width: 				360px;
}

.modal-content .modal-header {
	margin:					0;
	padding:				0;
	background-color:		var(--sec-color);
	color:					var(--gr-color);
	position:				relative;
}

.modal-content .modal-header .modal-title {
	margin: 				0;
    text-align: 			center;
    font-size: 				1.15em;
	line-height: 			2rem;
	position:				relative;
}

.modal-content .modal-header .close {
	position:				absolute;
	bottom:					auto;
	bottom:					unset;
	left:					auto;
	left:					unset;
	top:					0;
	float:					none;
	right:					15px;
	color:					rgba(255,255,255,1);
    font-size: 1.5em;
    line-height: 2rem;
}

.modal-content .modal-body {
    padding: 10px;
    background-color: var(--gr-color);
    color: var(--first-color);
}
.modal-input-item {
    margin-bottom: 10px;
}
.modal-content .modal-body .modal-input-item:last-child{
    margin-bottom: 0;
}
.modal-input-item label {
    font-weight: 600;
    width: 170px;
    padding-right: 10px;
    margin: 0px;
}
.modal-input-item input {
    border: 1px solid rgb(102, 102, 102);
    padding: 1px 3px;
    font-size: 0.85em;
    width: calc(100% - 180px - 8px);
}

.modal-content .modal-footer {
    padding: 10px;
    overflow: hidden;
}
.modal-content .modal-footer .modal-footer-button:nth-child(1){
    float: left;
}
.modal-content .modal-footer .modal-footer-button:nth-child(2){
    float: right;
}

.modal-footer-button {
    width: calc(50% - 10px);

}


@media (min-width: 768px) {
    .modal-input-item label,
    .modal-input-item input {
        float: left;
    }
    .modal-input-item {
        overflow: hidden;
    }
}

.tab-products {
    position: relative;
    width: 100%;
    margin-top: 20px;
}
.products-section {
    position: relative;
    width: 100%;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.products-item {
    padding: 10px;
    -ms-flex-preferred-size: calc(25% - 20px);
    flex-basis: calc(25% - 20px);
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: calc(25% - 20px);
}

@media (min-width: 768px) and (max-width: 1091px) {
    .products-item {
        -ms-flex-preferred-size: calc(33.3333% - 20px);
        flex-basis: calc(33.3333% - 20px);
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: calc(33.3333% - 20px);
    }
}
@media (min-width: 568px) and (max-width: 767px) {
    .products-item {
        -ms-flex-preferred-size: calc(50% - 20px);
        flex-basis: calc(50% - 20px);
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: calc(50% - 20px);
    }
}
@media (min-width: 0px) and (max-width: 567px) {
    .products-item {
        -ms-flex-preferred-size: calc(100% - 20px);
        flex-basis: calc(100% - 20px);
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: calc(100% - 20px);
    }
}

.prod-box {
    width:calc(100% - 20px);
    max-width: 300px;
    margin: 0 auto;
    height: auto;
    padding:10px;
}
.prod-img-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
}
.prod-box:hover {
    background-color: rgba(40,77,148,0.15);
}
.prod-img-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.prod-title-box {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 20px 0px;
}
.prod-title-container {
    font-weight: 600;
    color: rgba(40,77,148,1);
}
.prod-price-box {
    position: relative;
    margin: 20px 0px;
    width: 100%;
    text-align: center;
}
.prod-price-container {
    font-size: 1em;
}
.prod-price-container span:nth-child(1) {
    font-weight: 600;
}
.prod-price-container span:nth-child(2) {
    font-size: 0.85em;
}
.prod-buttons-box {
    position: relative;
    overflow: hidden;
    margin: 20px 0px;
}
.prod-buttons-container button {
    border: 0;
    padding: 5px 0px;
    width: calc(50% - 5px);
    background-color:		rgba(40,77,148,0.75);
	color:					rgba(255,255,255,1);
}
.prod-buttons-container button:hover {
    border: 0;
    padding: 5px 0px;
    width: calc(50% - 5px);
    background-color:		rgba(40,77,148,0.9);
	color:					rgba(255,255,255,1);
}
.prod-buttons-container button:nth-child(1) {
    float:left;
}
.prod-buttons-container button:nth-child(2) {
    float:right;
}

#order-modal .modal-content {
	position: 				relative;
	padding:				0px;
	margin:					0px;
	top:					50%;
	left:					50%;
	transform:				translate(-50%, -50%);
	display:				inline-block;
	width:					calc(100% - 40px);
	max-width: 				360px;
}
#order-modal .modal-input-item label {
    line-height: 30px;
}
.modal-input-item .number {
    float: left;
    width: calc(100% - 180px);
    text-align: center;
}
.modal-input-item .number .minus,
.modal-input-item .number .plus {
    background:#f2f2f2;
    /* border-radius:4px; */
    padding:3px 10px;
    border:1px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}
.modal-input-item .number input::-webkit-outer-spin-button,
.modal-input-item .number input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.modal-input-item .number input[type=number] {
    -moz-appearance: textfield;
}

.modal-input-item .number input {
    height:26px;
    width: 28px;
    margin: 0px 5px;
    float:none;
    text-align: center;
    border:1px solid #ddd;
    /* border-radius:4px; */
    display: inline-block;
    vertical-align: middle;
}

.ci-item {
    max-width: 800px;
    margin: 0 auto;
}

.ci-item-title {
    position: relative;
    text-align: center;
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 2rem;
}

.ci-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: space-between;
    margin-bottom: 50px;
}
.cic-box {
    position: relative;
    max-width: 400px;
    width: auto;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cicc-box {
    position: relative;
    max-width: 240px;
    width: auto;
    min-width: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 0 26%;
}

.cicb-label {
    position: relative;
    max-width: 300px;
    min-width: 200px;
    padding: 30px 0px;
    border: 1px solid #999999;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #fcfcfc;
    margin-bottom: 15px;
    font-weight: 600;
    cursor: pointer;
}
.cicc-label {
    position: relative;
    max-width: 180px;
    width: 100%;
    min-width: 140px;
    padding: 30px 0px;
    border: 1px solid #999999;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #fcfcfc;
    margin-bottom: 15px;
    font-weight: 600;
    cursor: pointer;
}

.cicb-label:hover,
.cicc-label:hover {
    border-color: var(--main-btn-color);
}
.cic-box input[type="radio"]:checked+label,
.cicc-box input[type="checkbox"]:checked+label {
    border-color: var(--main-btn-color);
    background-color:		rgba(245,245,255,1);
}
.cic-box input[type="radio"]:checked+label:before,
.cicc-box input[type="checkbox"]:checked+label:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    color: green;
    margin-right: 5px;
}

#hint-modal .modal-content {
	position: 				relative;
	padding:				0px;
	margin:					0px;
	top:					50%;
	left:					50%;
	transform:				translate(-50%, -50%);
	display:				inline-block;
	width:					calc(100% - 40px);
	max-width: 				360px;
}
.ordered-btn {
    background-color: rgba(207,136,3,1);
}
.ordered-btn:hover {
    background-color: rgba(207,136,3,0.75);
}
.prod-buttons-container button.ordered-btn {
    background-color: rgba(207,136,3,1);
}
.prod-buttons-container button.ordered-btn:hover {
    background-color: rgba(207,136,3,0.75);
}



/** Warenkorb start **/

.product-room-items {
    position: relative;
    overflow: hidden;
}

.product-room-name {
	background: var(--gr-color);
	color: #fff;
	padding: 5px;
	height: auto;
	display: block;
	position: relative;
	float: left;
	width: calc(100% - 10px);
    color: rgba(255,255,255,1);
    font-size: 1rem;
    font-weight: 700;
}
.product-room-item {
    position: relative;
    float: left;
    padding: 5px;
    width: calc(100% - 10px);
}
.product-room-items .product-room-item:nth-child(even) {
    background-color: rgba(40,77,148,0.15);
}
.product-room-items .product-room-item:nth-child(odd) {
    background-color: rgba(40,77,148,0.05);
}
.product-room-item-top,
.product-room-item-bottom {
    position: relative;
    overflow: hidden;
}
.product-room-item-top {
    margin-bottom: 5px;
}
.product-room-item-top .delete-elements {
    display: block;
    position: relative;
    font-size: 1.25rem;
}
.product-room-item-top .remove-prod {
    position: relative;
    display: block;
    float:right;
    line-height: 1.5rem;
}
.product-room-item-bottom .slot {
    position: relative;
    float: left;
    width: 60px;
    overflow: hidden;
    display: block;
    margin-right: 0.5rem;
}
.product-room-title {
    position: relative;
    float: left;
    width: calc(100% - 30px);
    line-height: 1.5rem;
    font-weight: 600;
}


/** Warenkorb   end **/

.page-content-configurator {
    width: 100%;
}