:root {
  --mf_security_red: #be1522;
  --mf_security_black: #191919;
  --mf_security_white: #ffffff;
  --navigation_unterstrich_weiss: #be1522;
  --mf_navigation_security_white: #ffffff;
}

html, body {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  background-color: rgb(248,249,250);
}

hr {
  width: 12%;
  border-top: 3px solid var(--mf_security_red);
}

.left-hr {
  border-left: 20px solid var(--mf_security_red);
  padding-left: 10px;
}

.right-green-hr {
  border-right: 3px solid var(--mf_security_red);
  padding-right: 10px;
}

h1, h2 {
  font-family: 'Noto Serif', serif;
  color: var(--mf_security_white);
}

.text-custom-color-blue {
  color: var(--mf_security_black) !important;
  font-weight: bold;
}

.font-red {
  color: var(--mf_security_red) !important;
}

.bg-custom-gray {
  background-color: rgb(242,242,242);
}

/*==================ScrollBar=====================*/
::-webkit-scrollbar {
  background-color: #fafafa;
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background-color: #fafafa;
}

::-webkit-scrollbar-thumb {
  background-color: var(--mf_security_red);
  border-radius: 0px;
  box-shadow: 1px 1px 22px 1px #222;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #111;
  border-radius: 0px;
  box-shadow: none;
}

/*==================ScrollBar=====================*/

/*==================Text-Markieren=====================*/
::selection {
  background: var(--mf_security_red);
  color: #fafafa;
}

::-moz-selection {
  background: var(--mf_security_red);
  color: #fafafa;
}
/*==================Text-Markieren=====================*/




/*================== Header =====================*/

@media only screen and (max-width:1200px) {
  #home .border-end {
    border: 0 !important
  }
}
/*================== Header =====================*/



/*================== Navbar =====================*/
.navbar-light .navbar-nav .nav-link {
  color: var(--mf_security_white);
  font-size: 1.2rem;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: var(--mf_security_white);
}

.navbar-toggler {
  width: 100%;
  border: 0 !important;
}
.navbar-toggler::after {
  content: "Menü";
  padding-left: 6px;
  color: var(--mf_navigation_security_white);
}

@media only screen and (max-width:992px) {
  .navbar-light .navbar-nav .nav-link {
    color: var(--mf_security_black);
  }
  .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
      color: var(--mf_security_black);
  }
}

/*================== Navbar =====================*/




/*================== carousel =====================*/
@media only screen and (max-width:991px) {
  #mainCarousel {
    display: none;
  }
}

#mainCarousel {
  margin-top: -46px;
}

@media screen and (min-width: 990px) {
  .carousel-caption {
    top: 25%;
  }
}

@media screen and (min-width: 1150px) {
  .carousel-caption {
    top: 30%;
  }
}

@media screen and (min-width: 1350px) {
  .carousel-caption {
    top: 40%;
  }
}

@media screen and (min-width: 1650px) {
  .carousel-caption {
    top: 50%;
  }
}
/*================== carousel =====================*/

/*================== dienstleistungen =====================*/
#dienstleistungen .card-title {
  hyphens: auto;
}
/*================== dienstleistungen =====================*/


/*================== beratung =====================*/
#beratung_hintergrund {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/Wir_beraten_Sie2_Wir_beraten_Sie!.jpg");
}

#beratung_hintergrund::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to right, rgb(11, 11, 11) 45%, rgba(0, 0, 0, 0) 100%);
}
/*================== beratung =====================*/


/*================== weitere =====================*/
#lagerlogistik_hintergrund {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/Lagerlogistik_Weitere_Dienstleistungen.jpg");
}

#kamerainstallation_hintergrund {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/Videoueberwachung1_Weitere_Dienstleistungen2.jpg");
}

@media only screen and (max-width:767px) {
  #lagerlogistik_hintergrund,
  #kamerainstallation_hintergrund {
    height:310px !important;
  }
  .w-50 {
    width: 100% !important;
  }
}
/*================== weitere =====================*/


/*================== kontakt =====================*/
#kontakt_hintergrund {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/Kontaktanfrage3.jpg");
}

#kontakt_hintergrund::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to left, rgb(11, 11, 11) 35%, rgba(0, 0, 0, 0) 100%);
}


.dark-overlay {
    background-color: #1c1c1c;
    zoom: 1;
    filter: alpha(opacity=80);
    -webkit-opacity: .80;
    -moz-opacity: .80;
    opacity: .80;
    content: "";
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
/*================== kontakt =====================*/


/*================== map =====================*/
#map {
  height: 300px;
  width: 100%;
}
/*================== map =====================*/





/*==================impressum=====================*/
#impressum {
  background: var(--mf_security_black);
  color: var(--mf_security_white);
}

#impressum a:link,
#impressum a:visited {
  color: var(--mf_security_white);
  text-decoration: none;
}

/* mouse over link */
#impressum a:hover {
  color: var(--mf_security_white);
  text-decoration: underline;
  transition: linear all 300ms;
}

/* selected link */
#impressum a:active {
  color: var(--mf_security_white);
}

#impressum #impressumMehrButton {
  color: var(--mf_security_white);
}

#impressum #impressumMehrButton:hover {
  color: #000000;
}

#impressum #impressumMehrButton:link,
#impressum #impressumMehrButton:visited {
  outline: none !important
}

/* mouse over link */
#impressum #impressumMehrButton:hover {
  outline: none !important
}
/*==================impressum=====================*/










/*==================Footer=====================*/

#footer {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: #111;
  color: #fafafa;
}

@media only screen and (max-width:992px) {
  #footer {
    font-size: 0.8rem!important;
  }
}






#footer .card_footer {
  width: 100%;
  height: 60px;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  background: #111;
  margin: 0 auto;
}

#footer .card_footer.is-flipped {
  transform: rotateX(180deg);
}

#footer .card__face {
  position: absolute;
  width: 100%;
  height: 60px;
  line-height: 60px;
  color: var(--mf_security_white);
  text-align: center;
  backface-visibility: hidden;
}

#footer .card__face--front {
  background: #111;
}

#footer .card__face--back {
  background: #111;
  transform: rotateY(180deg);
}

#footer .card__face--back p {
  transform: rotate(180deg);
  margin-bottom: 0;
  color: #f39200;
}

@media only screen and (max-width:768px) {
  #footer .card__face--back p {
    line-height: 30px;
  }
}

/*==================Footer=====================*/


/*-------------------ToTopButton-----------------------*/

#knopf {
  position: fixed;
  right: 2%;
  top: 90%;
  cursor: pointer;
  background-color: var(--mf_security_red);
  color: #fafafa;
  border-color: var(--mf_security_red);
  border-radius: 50%;
  line-height: 28px;
}

#knopf:hover {
  box-shadow: 0px 1px 5px #212121;
  background-color: #424242;
  color: #fafafa;
  transition: linear all 0.3s;
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow:none;
}

/*-------------------ToTopButton-----------------------*/



/*-------------------Alert for Cookies-----------------------*/
.alert-success {
  color: #fafafa;
  background-color: #222222;
  border: 0;
  border-radius: 0px;
}

.alert-success .close {
  color: #fafafa;
  text-shadow: none;
  font-size: 2.5rem;
}

.alert-success .close:hover {
  background: #fafafa;
}

.alert-success p {
  margin-bottom: 0.4rem;
}
/*-------------------Alert for Cookies-----------------------*/








.instagram-textcolor{
  background-image:linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}













/* ===============================galerie=============================== */
.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 18px;
    height: 18px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.3;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    background: var(--mf_security_black);
}

.owl-theme .owl-controls {
    margin-top: 0px;
    text-align: center;
}

/* =========================Overlay-Box====================== */
#owl-demo .itemO{
  margin: 0px;
}
#owl-demo .itemO img{
  display: block;
  width: 100%;
  height: auto;
}

#owl-demo1 .itemOwl{
  height: 80%;
  margin: 3px;
}
#owl-demo1 .itemOwl a{
  display: block;
  width: 100%;
  text-decoration: none;
  color: var(--mf_security_white);
  font-size: 20px;
}


 .itemO .image{
	position:relative;
	overflow:hidden;
}

.itemO .image img{
	position:relative;
	display:block;
	width:100%;
	height:auto;
	transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-webkit-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
}

.itemO:hover .image img{
	transform:scale(1.2,1.2);
	-webkit-transform:scale(1.2,1.2);
	-moz-transform:scale(1.2,1.2);
	-o-transform:scale(1.2,1.2);
	-ms-transform:scale(1.2,1.2);
}

.itemO .image .overlay-box{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	display:block;
	overflow:hidden;
}

.itemO .image .overlay-box .link{
	position:absolute;
  bottom: -100%;
	width:100%;
	height:100%;
	display:table;
	vertical-align:middle;
	color:var(--mf_security_white);
  background-color: rgba(0, 0, 0, 0.8);
	opacity:0;
  z-index: 10;
	transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-webkit-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
}

.itemO .image .overlay-box .txt{
	position:relative;
	display:table-cell;
  padding-top: 5%;
	color:var(--mf_security_white);
	text-transform:capitalize;
	font-weight:800;
	font-size:14px;
}

.itemO:hover .image .overlay-box .link{
  bottom: -67%;
	opacity:1;
  border-top: 3px solid var(--mf_security_black);
}

.itemO .image .overlay-box a {
  text-decoration: none;
}
/* =========================Overlay-Box====================== */
/* ===============================galerie=============================== */











.btn-secondary {
  color: var(--mf_security_white);
  background-color: var(--mf_security_red);
  border-color: var(--mf_security_red)
}

.btn-secondary:hover {
  color: var(--mf_security_white);
  background-color: #5c636a;
  border-color: #565e64
}

.btn-check:focus+.btn-secondary, .btn-secondary:focus {
  color: var(--mf_security_white);
  background-color: #5c636a;
  border-color: #565e64;
  box-shadow: 0 0 0 .25rem rgba(130, 138, 145, .5)
}

.btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {
  color: var(--mf_security_white);
  background-color: #565e64;
  border-color: #51585e
}

.btn-check:active+.btn-secondary:focus, .btn-check:checked+.btn-secondary:focus, .btn-secondary.active:focus, .btn-secondary:active:focus, .show>.btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 .25rem rgba(130, 138, 145, .5)
}

.btn-secondary.disabled, .btn-secondary:disabled {
  color: var(--mf_security_white);
  background-color: var(--mf_security_red);
  border-color: var(--mf_security_red)
}





@media only screen and (min-width:2301px) {
  .card-body {
    min-height:240px;
  }
}
@media only screen and (max-width:2300px) {
  .card-body {
    min-height:290px;
  }
}
@media only screen and (max-width:1800px) {
  .card-body {
    min-height:390px;
  }
}
@media only screen and (max-width:1500px) {
  .card-body {
    min-height:460px;
  }
}
@media only screen and (max-width:1300px) {
  .card-body {
    min-height:510px;
  }
}
@media only screen and (max-width:1200px) {
  .card-body {
    min-height:310px;
  }
}
@media only screen and (max-width:750px) {
  .card-body {
    min-height:180px;
  }
}





.textblock {
  text-align: justify !important;
  text-align: justify!important;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}



#zwischenebene {
  margin-top: -90px;
}

@media only screen and (max-width:991px) {
  #zwischenebene {
    margin-top: 28px;
  }
}



















/*================== Section6 =====================*/
.form-control,
.form-control:focus,
.form-control:active,
.form-control:hover {
  -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0);
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0);
  border: none;
  overflow: auto;
}

input,
input:focus,
input:active {
  border-bottom-color: var(--mf_security_red);
  border-bottom-style: solid;
  border-bottom-width: medium;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none !important;
}

.FormElement {
  color: #111;
}

.FormElement input {
  border: none;
  background-color: var(--mf_security_white);
  padding: 10px;
  width: 100%;
  margin-bottom: 5px;
  border-bottom: 2px solid lightgray;
}

.FormElement textarea {
  background-color: var(--mf_security_white);
  border: none;
  padding: 10px;
  width: 100%;
  border-bottom: 2px solid lightgray;
}

#validation {
  background-color: var(--mf_security_white);
  color: #000000;
  font-weight: bold;
  border: none;
  padding: 10px;
  width: 100%;
  height: 50px;
}

#checkbox {
  width: 10%;
  vertical-align: sub;
}

#ContactButton {
  width: 100% !important;
  border-radius: 0px;
  font-weight: bold;
  height: 50px;
  background: var(--mf_security_black);
  color: var(--mf_security_white);
  border-bottom: 2px solid transparent;
}

#ContactButton:hover {
  background: var(--mf_security_white);
  color: var(--mf_security_black);
  box-shadow: none;
  border-bottom: 2px solid transparent;
  transition: linear all 0.2s;
}

#validation label:focus,
#validation label:hover,
#validation label:active {
  color: var(--mf_security_white);
  transition: linear all 0.2s;
}

#validation:focus,
#validation:hover,
#validation:active {
  background-color: var(--mf_security_red);
  color: var(--mf_security_white);
  transition: linear all 0.2s;
}

input::-webkit-input-placeholder {
  color: var(--mf_security_red);
}

textarea::-webkit-input-placeholder {
  color: var(--mf_security_red);
}

input:focus::-webkit-input-placeholder,
input:hover::-webkit-input-placeholder {
  color: var(--mf_security_white);
}

textarea:focus::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
  color: var(--mf_security_white);
}

/* Firefox < 19 */

input:-moz-placeholder {
  color: var(--mf_security_red);
}

input:focus:-moz-placeholder,
input:hover:-moz-placeholder {
  color: var(--mf_security_white);
}

/* Firefox > 19 */

input::-moz-placeholder {
  color: var(--mf_security_red);
}

input:focus::-moz-placeholder,
input:hover::-moz-placeholder {
  color: var(--mf_security_white);
}

/* Internet Explorer 10 */

input:-ms-input-placeholder {
  color: var(--mf_security_red);
}

input:focus:-ms-input-placeholder,
input:hover:-ms-input-placeholder {
  color: var(--mf_security_white);
}

.FormElement input:focus,
.FormElement input:hover,
.FormElement input:active {
  background-color: var(--mf_security_red);
  color: var(--mf_security_white);
  border-bottom: 2px solid transparent;
  transition: linear all 0.2s;
}

.FormElement textarea:focus,
.FormElement textarea:hover,
.FormElement textarea:active {
  background-color: var(--mf_security_red);
  color: var(--mf_security_white);
  border-bottom: 2px solid transparent;
  transition: linear all 0.2s;
}

/*================== Section6 =====================*/


#home {
  background-color: var(--mf_security_red);
  color: var(--mf_security_white);
}

#home .col-md-3 .bi {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

#home .col-md-3 .bi:hover, #home .col-md-3 .bi:focus, #home .col-md-3 .bi:active {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}





.kreis-karte-top {
  color: var(--mf_security_red);
  background: var(--mf_security_white);
  border: 2px solid var(--mf_security_red);
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 18px;
  padding-left: 20px;
  padding-right: 20px;
}


.kreis-karte-mitte {
  position: relative;
  color: var(--mf_security_red);
  background: var(--mf_security_white);
  border: 2px solid var(--mf_security_red);
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 7px;
  padding-left: 10px;
  padding-right: 10px;
}

.bg-custom-green {
  background: var(--mf_security_red);
}

















figure {
	margin: 0;
	padding: 0;
	background: var(--mf_security_white);
	overflow: hidden;
}

figure:hover+span {
	bottom: -36px;
	opacity: 1;
}


.hover01 figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
  display: block;
}

.hover01 figure:hover img {
  -webkit-transform:scale(1.25);
  -moz-transform:scale(1.25);
  -ms-transform:scale(1.25);
  -o-transform:scale(1.25);
   transform:scale(1.25);
}

.hover12 figure {
	background: var(--mf_security_red);
}

.hover12 figure img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.hover12 figure:hover img {
	opacity: .5;
}
































/* Underline Reveal */
.hvr-underline-reveal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-reveal:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navigation_unterstrich_weiss);
  height: 6px;
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-reveal:hover:before, .hvr-underline-reveal:focus:before, .hvr-underline-reveal:active:before {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
