/* 
	Style für die Seite "Die Polizei in den sozialen Medien"

    erstellt	: 16.01.2020, 12:24:57
    Autor      	: Jürgen Bartalis
*/
body {
    margin: 0;
    padding: 0;
    background: #efefef;
    font-family: Roboto, sans-serif;
}

.container-flex {
    width: 90%;
    margin: 70px auto 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: center;
}

.container-flex .box {
    position: relative;
    width: 250px;
    height: 250px;
    background: #007DC5;
    margin: 10px;
    box-sizing: border-box;
    overflow: hidden;
    /* display: inline-block; */
    box-shadow: 0 5px 10px rgba(0,0,0,0.8);
}

.container-flex .box .imgBox {
    position: relative;
    overflow: hidden;
}

.container-flex .box .imgBox img {
    max-width: 100%;
    transition: transform 2s;
}

.container-flex .box:hover .imgBox img {
    transform: scale(1.2);
}

.container-flex .box .details {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right:10px;
    background: rgba(0,125,197,0.8);
    transform: scaleY(0);
    transition: transform .5s;
}

.container-flex .box:hover .details {
    transform: scaleY(1);
}

.container-flex .box .details .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 40px;
    color: #fff;
}

.container-flex .box .details .content h2, .container-flex .box .details .content h3 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 300;
}

.container-flex .box .details .content h3 {
    font-size: 15px;
    font-size: 1.8rem;
    padding: 0 0 15px 0;
}


.container-flex .box .details .content p {
    margin: 30px 0 0;
    padding: 0;
}

/** Buttons */
a.button_sm {
    background:#007DC5;
    color:#fff;
    border:none;
    position:relative;
    font-size:1.2em;
    padding:0 2em;
    cursor:pointer;
    transition:800ms ease all;
    outline:none;
    margin: 4px 4px 0 0;
	padding: 20px;
	display: inline-block;
}
.button_sm:hover {
    background:#fff;
    color:#007DC5;
	text-decoration:none;
}
.button_sm:before, .button_sm:after {
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: #007DC5;
    transition:400ms ease all;
}
.button_sm:after {
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
}
.button_sm:hover:before, .button_sm:hover:after {
    width:100%;
    transition:800ms ease all;
}

.blightgrey {
    background-color: #F4F4F4;
}

/** Abstände */
.p-t-30 {
    padding-top: 30px;
}

.p-b-30 {
    padding-bottom: 30px;
}

.p-b-60 {
    padding-bottom: 60px;
}

/** Media-Queries 
@media only screen and (max-width: 335px) {
    .container .box {
        position: relative;
        width: 180px;
        height: 180px;
    }
}

@media only screen and (max-width: 390px) {
    .container .box {
        position: relative;
        width: 250px;
        height: 250px;
    }
}

@media only screen and (max-width: 500px) {
    .container {
        padding-right: 0;
        padding-left: 0;
    }
    .button_sm {
        font-size:1.0em;
        height: 50px;
        padding: 0 1em;
    }
}
*/