/* Boxen Startseite */

.singlepage-item .content-item.box {
    text-align: center;
}

.singlepage-item .content-item.box,
.singlepage-item .content-item.box:first-child,
.singlepage-item .content-item.box:last-child {
    margin-bottom: 2rem!important;
    padding: 0;
}

.singlepage-item .content-item.box .image {
    margin-bottom: 20px;
    overflow: hidden;
}


/* Box 1/2 */

.box-2-col-item {
    width: 45%;
}


/* Box 1/3 */

.box-3-col-item {
    width: 28%;
}


/* Box 1/4 */

.box-4-col-item {
    width: 20%;
}


/* Box 2/3 */

.box-3-col-span-2-item {
    width: 60%;
}


/* Box with colors */

.box .image {
    margin-bottom: 20px;
}

.box .image img {
    width: 100%;
    display: block;
    margin: 0;
}

.content-item.box .head {
    padding: 10px 0;
}

.content-item.box .content {
    font-weight: 300;
}


/* Box mit Hintergrundbild */

.content-item.box-3-col-item.background-image {
    position: relative;
    padding: 0;
    margin: 2rem 0;
}

.content-item.background-image .main-image {
    margin: 0;
}

.content-item.background-image img {
    display: block;
    width: 100%;
}

.content-item-inner.background-image .head {
    z-index: 1;
    background: rgba(170, 156, 143, 0.8);
    width: 100%;
    color: white!important;
    position: absolute;
    bottom: 1rem;
    left: 0;
    padding: 10px 20px;
    max-width: 80%;
}

.content-item-inner.background-image .head .title {
    font-size: 1.2rem;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
}

.content-item-inner.background-image .head .subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.content-item-inner.background-image a {
    color: #FFF !important;
}


/* Boxen rechts */

.contentbox-item {
    font-size: 0.8rem;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #ebebeb;
}

.contentbox-item .head .title {
    font-size: 0.9rem;
    font-weight: 700;
}

.contentbox-item .head .subtitle {
    font-size: 0.8rem;
    font-weight: 700;
}


/* Template SBB Fahrplan */

.box-container.sbb .content-item {
    border: 1px solid #ccc;
}

.box-container.sbb .title {
    text-transform: uppercase;
    font-weight: 100!important;
    font-size: 1.3rem!important;
    padding-top: 10px;
}

.box-container.sbb form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.box-container.sbb .item {
    padding: 10px 0;
    width: 48%;
}

.box-container.sbb .item .label {
    margin-bottom: 5px;
    font-weight: 700;
    color: #7a7a7a;
}

.box-container.sbb .item .value input[type="text"],
.box-container.sbb .item .value input[type="date"],
.box-container.sbb .item .value select {
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    height: 55px;
}

.box-container.sbb .item .gotoSBB {
    height: 55px;
    background: #eb0000;
    color: #FFF;
    border: none;
    width: 100%;
    box-sizing: border-box;
    font-weight: 400;
    cursor: pointer;
    transition: transform .2s;
}

.box-container.sbb .item .gotoSBB:hover {
    transform: translateY(-10px);
    overflow: visible;
    background: #c60018;
}

@media only screen and (max-width: 1200px) {
    .box-3-col-item,
    .box-3-col-span-2-item {
        width: 45%;
    }
}

@media only screen and (max-width: 1000px) {
    .box-4-col-item {
        width: 45%;
    }
}

@media only screen and (max-width: 650px) {
    .box-2-col-item,
    .box-3-col-item,
    .box-4-col-item,
    .box-3-col-span-2-item {
        width: 100%;
    }
}