/*
Theme Name: Jacobi + Klimasch
Theme URI: http://www.jacobi-klimasch.de/
Author: attentus GmbH
Author URI: http://www.attentus.com/
Description:
Version: 1.0
*/



.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #002851;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: #ebebeb;
    border: none;
    border-right: 0;
}
.form-group {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 1rem;
}
button.btn-primary {
    background-color: #002851;
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    cursor: pointer;
}
span.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    margin-right: 15px;
}
::placeholder {
    color: #002851;
}
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 15px);
    margin-bottom: 0;
}
.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin: 0;
    opacity: 0;
}
.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 12px);
    padding: .8rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.custom-file-label {
    text-align: left;
    background-color: #002851;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 17px;
}
.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    padding: .375rem 1.7rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
}
.custom-file-label:after {
    content: "";
    background-image: url('./files/upload.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}
hr{
	width: 100%;
	border: 0.5px solid #002851;
}
.form-group.col-12{
	margin: 0;
}
form p {
    line-height: 0 !important;
    font-size: 0 !important;
}
form .row{
	margin-bottom: 25px;
	margin-top: 25px;
}
form input{
	color:#002851 !important ;
}
#upload {
    margin-bottom: 13px;
}
#data {
    margin-bottom: 25px;
}




.sidebar__slogan a{
	color: #fff;
}
.personen {
 	padding: 3.125em 6.25em;
 }
.personen-grid {
 	width: 21%;
 	margin-right: 4%;
 	position: relative;
 	margin-bottom: 30px;
}
.contactperson__info {
 	position: absolute;
 	width: 150%;
 	top: 0;
 	left: 0;
 	z-index: -1;
 	height: auto !important;    
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	pointer-events: none;

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;


}

.intro__businesscardbox--right{
	max-width: 240px !important;
	width: 240px;
}
.personen-grid:hover .contactperson__info {
  	left: 100%;
  	z-index: 999;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
@media screen and (min-width:960px) {
.personen-grid:nth-child(4n+3):hover .contactperson__info,  
.personen-grid:nth-child(4n+4):hover .contactperson__info {
 	left:-150% !important;
}
}



@media only screen and (max-width: 960px) and (min-width: 720px)  {
.personen-grid {
 	width: 29%;
 	margin-right: 2%;
 	margin-left: 2%;
 	position: relative;
 	margin-bottom: 30px;
}
.personen-grid:nth-child(3n+3):hover .contactperson__info {
 	left:-150% !important;
}
}

@media only screen and (max-width: 720px) and (min-width: 680px)  {
.personen-grid {
 	width: 41%;
 	margin-right: 2%;
 	margin-left: 2%;
 	position: relative;
 	margin-bottom: 30px;
}
.personen-grid:nth-child(2n+2):hover .contactperson__info {
 	left:-130% !important;
}
.contactperson__info {
 	width: 130%;
}
}

@media only screen and (max-width: 680px) and (min-width: 1px)  {

.personen {
 	padding: 3.125em 3.25em;
 }

.personen-grid {
 	width: 100%;
 	margin-right: 0%;
 	margin-left: 0%;
 	position: relative;
 	margin-bottom: 30px;
}
.contactperson__info {
 	width: 100%;
 	position: relative;
 	opacity: 1;
 	z-index: inherit;
}
.personen-grid:hover .contactperson__info {
 	left:0% !important;
}
.contactperson__picture, .contactperson__infowrap_box, .contactperson__email {
	display: none;
	padding-left: 40px;

}
.contactperson__info {
	padding-bottom: 20px;
}
.contactperson__name {
	font-size: 16px !important;
	cursor: pointer;
	background-image: url(assets/img/open.png);
	background-position: center left;
	background-repeat: no-repeat;
	padding-left: 40px;
}
.contactpersonactive {
	background-image: url(assets/img/close.png) !important;
}
.contactperson__email {
	font-size: 14px !important;
	padding-bottom: 10px;
	padding-top: 10px;
}
.contactpersoneinzel {
	padding: 20px 20px 20px 20px;
	background: #eee;
}
}

@media screen and (max-width:  600px){
    .sidebar__picture {
        display: none;
    }
    audio, video {
        border: 1px solid #002851;
    }

}