html,
body {
    height: 100%;
    width: 100%;
    /*margin-bottom: 0 background: ;*/
    /* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */

#wrap,
.viewport {
    height: 100%;
    /* Negative indent footer by its height */
    margin: 0 auto;
    /* Pad bottom by footer height */
    padding: 0;
    background-color: #262626;
}

#wrap > .container-fluid {
    padding: 50px 0 0 0;
    margin: 0;
    height: 100%;
}

#main-content {
    width: 100%;
}

#hp-marquee {
    text-align: center;
    /*padding: 13% 0;*/
}

#hp-marquee h1,
#hp-marquee p {
    color: #fff;
}
#hp-marquee h1 {
        font-size: 2em;
}
#hp-marquee p {
    font-size: .875em;
}

#hp-marquee .btn { margin-top:20px; }
#hp-marquee .carousel-caption {
	left:0;
	right:0;
	top:50%;
	-webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    bottom:auto;
    padding:0 0 30px;
}
#hp-marquee .carousel-indicators { bottom:0; }
#hp-marquee .carousel-indicators li {
	width: 12px;
	height: 12px;
	margin: 2px;
	border: 2px solid #fff;
	border: 2px solid rgba(255,255,255,.5);
	transition: border 0.2s ease;
}
#hp-marquee .carousel-indicators li:hover {
	border-color:#fff;
}
#hp-marquee .carousel-indicators .active {
	width: 14px;
	height: 14px;
	margin: 1px;
}
#hp-marquee .img {
	width:100%;
	padding-bottom:150%;
	max-height:800px!important;
	background:center top no-repeat;
	background-size:cover;
	content: " ";
}
@media (min-width: 480px) {
	#hp-marquee .img {
		padding-bottom:88%;
	}
}
@media (min-width: 992px) {
	#hp-marquee .img {
		padding-bottom:56.25%;
	}
}
@media (min-width: 1200px) {
	#hp-marquee .img {
		padding-bottom:46%;
	}
}
#QDC_Blocks {
    width: 100%;
    background: #000;
    color: #fff;
    border-bottom: 2px solid #fff;
    font-size: 14px;
    overflow: hidden;
}

.footer {
    width: 100%;
    background-color: #262626;
}
#QDC_Blocks .row {
	margin-left:-16px;
}
#QDC_Blocks > div {
    /*position: relative;
    margin: 0;
    overflow: hidden;*/
    text-align: center;
}

#QDC_Blocks .row div[class*="col-"] {
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    margin-bottom: 0;
    border-top: 2px solid #fff;
    padding: 0;
}
#QDC_Blocks .row div[class*="col-"] > div {
    padding-bottom: 0;
}
#QDC_Blocks .row h1 {
    margin-bottom: 0;
    font-size: 24px;
    padding-top: 6px;
    font-family: 'DIN Next W01 Light', sans-serif;
}
.a_block,
.a_block:link,
.a_block:visited {
    /*padding: 1em 0;*/
    position: relative;
}
/*#QDC_Blocks .row div[class*="col-"] .a_block {
    border-left: none;
}


#QDC_Blocks .row div[class*="col-"]:first-child {
    border-left: none;
}*/

#QDC_Blocks .row div[class*="col-"]#block1 {
    background-image: url(../../cdn.sms-plauen.de/images/homepage/tiles/hell_blau.png);
}

#QDC_Blocks .row div[class*="col-"]:hover,
#QDC_Blocks .row div[class*="col-"]:focus,
#QDC_Blocks .row div[class*="col-"]:active {
    background-color: rgba(0, 0, 0, .6);
}

#QDC_Blocks .row div[class*="col-"]#block2 {
    background-image: url(../../cdn.sms-plauen.de/images/homepage/tiles/hell_blau0.png);
}

#QDC_Blocks .row div[class*="col-"]#block3 {
    background-image: url(../../cdn.sms-plauen.de/images/homepage/tiles/hell_blau1.png);
}

#QDC_Blocks .row div[class*="col-"]#block4 {
    background-image: url(../../cdn.sms-plauen.de/images/homepage/tiles/hell_blau2.png);
}

#QDC_Blocks .hidden-xs {
    margin-bottom: 2em;
}

#QDC_Blocks .row div[class*="col-"] .a_block {
    border-left: 1px solid #fff;
}

/*#QDC_Blocks .row div[class*="col-"]:first-child .a_block {
    border-left: none;
}*/

.a_block,
.a_block:link,
.a_block:visited {
    display: block;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    padding: 3em 1em;
}

.a_block:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .4);
    text-decoration: none;
}

.a_block:before {
    transition: all 0.2s ease;
    top: -9px;
    left: 50%;
    margin-left: -9px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-width: 9px;
}

.a_block:hover:before {
    border-top-color: #fff;
    top:0;
}

.a_block p,
#QDC_Blocks p.hidden-xs {
    color: #ccc;
    margin-bottom: 0;
}
@media (min-width: 480px) {
	#hp-marquee h1 {
        font-size: 2.5em;
    }
    #hp-marquee p {
        font-size: 1em;
    }
}
@media (min-width: 768px) {
    .a_block > div {
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        position: absolute;
        width: 100%;
        padding: 0 14px;
    }
    #QDC_Blocks .row div[class*="col-"] > div {
        padding-bottom: 43%;
    }
    #hp-marquee h1 {
        font-size: 3.25em;
    }
    #hp-marquee p {
        font-size: 1.2em;
    }
    /*#QDC_Blocks .row div[class*="col-"]#block3 .a_block {
        border-left: none;
    }*/
    .a_block, .a_block:link, .a_block:visited {
    	position: absolute;
	    top: 0;
	    bottom: 0;
	    left: 0;
	    right: 0;
	}
}
@media (min-width: 992px) {
	#hp-marquee h1 {
	    font-size: 4em;
	    margin-bottom: 0.25em;
	}

	#hp-marquee p {
	    font-size: 1.3em;
	    margin: 0 17%;
	}
	#QDC_Blocks .row div[class*="col-"] > div {
	    position: relative;
	    padding-bottom: 68%;
	}
	#QDC_Blocks .row h1 {
	    margin-bottom: 0.5em;
	}
}
@media (min-width: 1200px) {
    #QDC_Blocks {
        font-size: 16px;
    }
    #QDC_Blocks .row h1 {
        font-family: 'DIN Next W01 Regular', sans-serif;
    }
}

