@import url('https://fonts.googleapis.com/css?family=Jura:300,700&subset=latin-ext');

@font-face {
    font-family: "sumec";
    src: url("/fonts/sumec.eot?#iefix");
    src: url("/fonts/sumec.eot?#iefix") format("eot"),url("/fonts/sumec.woff") format("woff"),url("/fonts/sumec.ttf") format("truetype"),url("/fonts/sumec.svg#din") format("svg");
}

body{
	font-family: "sumec", sans-serif;
	font-size: 16px;
	background-color: #000000;
}
h1 .bg{
    background-color: #01B1AF;
    color: white;
    padding: 0 5px 0;
    line-height: 1.5em;
    display: inline-block;
}
h1{
	font-size:28px;
	position: relative;
}
#home-button{
	font-family: 'Jura', sans-serif;
	display: block;
	text-decoration: none;
}
.summary{
	/* font-family: 'Jura', sans-serif; */
	font-weight: 700;
	font-size: 140%;
}
.fulltext {
    padding-right: 20%;
}
#home-button span span{
	font-weight: bold;
}
.items.grid {
    display: flex;
    margin-right: -20px;
    flex-wrap: wrap;
}

a.item-grid .title {
    position: absolute;
    transition: all 0.3s;
    bottom: -1px;
    padding: 0 5px;
    background-color: #03b1af;
    color: white;
    overflow: hidden;
    max-height: 1px;
    right:0;
    left:0;
}

a.item-grid {
    position: relative;
    width: calc(25% - 20px);
    height: 235px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
    box-sizing: border-box;
    font-size: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    outline: none;
}
a.item-grid:hover{
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.2);
    transform: translate(1px, 1px);
}
a.back {
    text-align: right;
    line-height: 42px;
    position: absolute;
    left: -50px;
    width: 40px;
    text-decoration: none;
}
#colorbox{
	z-index: 1;
	outline: none;
}
span.item-headline {
    position: absolute;
    bottom: 20px;
    right: 30px;
    padding: 2px 5px;
    background-color: #ffffffb8;
    transition: all 0.62s;
    color: black;
}
.active.left span.item-headline {
    bottom: -80px;
}
a.item-grid:hover .title{
	max-height: 100%;
	padding:15px 5px;
}
div#cboxOverlay {
    position: fixed;
    background-color: #515f5c;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    background-image: url(/images/sumec/sumec_bg.png);
}
a#home-button:before {
    content: "";
    display: block;
    position: absolute;
    width: 100px;
    height: 100px;
    transform: translate(-50px, -120px);
    left: 50%;
}
.items.grid.small {
	margin-top: 20px;
}
.items.grid.small .item-grid{
		max-height: 120px;
}
div#cboxContent {
    background-image: url(/images/sumec/sumec_bg.png);
    position: relative;
    background-color: #009688;
    outline: none;
    background-position: left top;
    background-attachment: fixed;
    min-height: 300px;
}
div#cboxContent button{
    display:none !important;
}


div#cboxCurrent {
    display: none !important;
}

div#cboxTitle {
    background-color: #03b1af;
    color: white;
    padding: 0 5px;
    font-size: 1.29em;
    top: 100%;
    float: none !important;
    position: absolute;
}

div#cboxLoadedContent {
    /* min-height: 300px; */
}

footer.footer {
    color: white;
    background-color: black;
    padding:10px 0;
    font-size:12px;
    line-height:30px;
}
footer:after{
	clear: both;
	content:"";
	display:block;
}
.footer p{
	margin: 0;
	display: inline-block;
	border-left: 1px solid white;
	padding-left: 10px;
	padding-right: 10px;
}
.site{
	background-color: #f5f5f5;
}
.footer-left {
    width: 50%;
    float: left;
    text-align: center;
}
.footer-right {
    width: 50%;
    float: left;
    text-align: center;
}

.carousel-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transition: background-image 0.3s;
}

.carousel.slide {
    overflow: hidden;
}

.actual {
    position: relative;
    background-color:rgba(40, 178, 164, 1);
    min-height: 250px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.actual p{
	margin:10px;
	font-size: 24px;
}
.actual a{
	color: black;
	text-decoration: none;
}
.actual .viac{
	position:absolute;
	bottom:0;
	right:0;
	padding: 10px 30px;
	line-height: 1em;
	background-color: rgba(79, 212, 199, 1);
	color: white;
	font-size: 20px;
}
.actual .viac:hover{
	background-color: #e6e6e6;
	color: black;
}
.actual h2{
   padding: 10px;
   margin: 0;
   text-align:left;
   color:white;
   background-color:black;
   font-weight: lighter;
}

.future {
    position: relative;
    min-height: 250px;
    margin-top: 30px;
    margin-bottom: 30px;
    border:1px solid black;
    text-align:center;
}
.future h2{
	margin-top:10px;
	font-size: 25px;
	margin-bottom: 0;
}
path{
	fill: #28b2a4 !important;
}
.future p.h1 {
    font-size: 32px;
}
svg.anim-down{
	animation: anim-down 1s alternate infinite;
	opacity: 0;
}
@media (max-width:991px){
	h1{
		margin-left: 40px;
	}
}
@media (max-width:767px){
	.detail{
		margin-bottom: 200px;
	}
	.fulltext {
		padding-right: 0;
	}
	a.item-grid{
		width: calc(50% - 20px);
	}
	a#home-button:before {
		display:none;
	}
	.grid-wrap{
		position:fixed;
		bottom: 0;
		left: 0;
		background-color:white;
		z-index:2;
		padding:20px;
		right: 0;
		overflow: auto;
	}
	.items.grid.small{
		flex-wrap:nowrap;
		margin-top: 0;
	}
	.items.grid.small a.item-grid{
		width:120px;
		min-width: 120px;
	}

	.items.grid.small a.item-grid:before{
		content:"";
		display:block;
		width:100px;
	}
	.actual, .future{
		min-height: 100px;
		padding-bottom: 30px;
	}
}
@media (max-width:400px){
	a.item-grid{
		width: 100%;
	}
	.actual, .future{
		min-height: 100px;
		padding-bottom: 30px;
	}
	.footer-left,.footer-right{
		float:none;
		width: auto;
	}
}
@media (min-width: 768px){
	.navbar-header:hover .navbar-toggle{
		background-position-x: -33px;
	}
}
@media (min-width: 1200px){
	a.item-grid{
		height: 290px;
    	font-size: 30px;
	}
}

@keyframes road{
    to {
        background-position-x:-66px;
    }
}
@keyframes anim-down{
    to {
        opacity:1;
	transform: rotate(180deg) translateY(-20px);
    }
}
