﻿@import url("../vendor/bootstrap-icons/bootstrap-icons.css");

/* Allgemein */
:root {
    --news-compact-column-count: 2;
}

body {
    color: #000000;
    background-color: #f5f5f5;
}

body, h1, h2, h3, h4, h5, h6, .font-primary, .navbar a, .navbar a:focus, #footer .footer-top .footer-info p, #hero .btn-get-started, .counts .count-box p {
    font-family: 'Calibri Light', sans-serif;    
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #36647a;
}

a {
    color: #002060;
}

.section-bg {
    background-color: #f5f5f5;
}

.section-title {
    padding: 0;
}

hr {
    border: 1px solid #f0b552;
    opacity: 1;
}

/* Startseite */

.about .about-content {
    padding: 15px;
}

.about .about-content .d-flex {
    align-items: baseline;
}

.about .container, .contact .php-email-form {
    background-color: #ffffff;
}

.services .icon-box {
    background-color: #ffffff;
    padding: 1em;
}

.services.section-bg {
    background-color: #ffffff;
}

/* Buttons */

#hero .btn-get-started, .contact .php-email-form button[type=submit], .back-to-top {
    background: #f39200;
}

#hero .btn-get-started:hover, .socialitem:hover, .back-to-top:hover, .contact .php-email-form button[type=submit]:hover {
    background: #e98c00;    
}


.carousel-item h3 {
    color: #ffffff;
}

.inner-page ol, .inner-page ul {
    list-style: none;
    padding-left: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.inner-page li {
    margin-bottom: 15px;
    padding: 15px 15px 15px 50px;
    background-color: white;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    position: relative;
}

.inner-page ol li:before {
    color: #36647a;
    content: '\F134';
    font-family: 'bootstrap-icons';
    position: absolute;
    font-size: 25px;
    top: 8px;
    left: 10px;
}

.inner-page ul li:before {
    color: #36647a;
    content: '\F228';
    font-family: 'bootstrap-icons';
    position: absolute;
    font-size: 25px;
    top: 8px;
    left: 10px;
}

.inner-page a:hover {
    color: #f39200;
}

#about h4 {
    color: #36647a;
}

#footer h3 {
    color: #ffffff;
}

#header {
    height: 110px;
    background: #ffffff;
}

#header .logo img {
    max-height: 80px;
}

.navbar a, .navbar a:focus {
    color: #36647a;
    font-size: 1.1rem;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: #f39200;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    color: #f39200;
}

.section-title h2 {
    color: #36647a;
}
.team .member .member-info {
    background: linear-gradient(360deg, #f2860c 0%, rgba(92, 118, 141, 0.9) 35%, rgba(140, 167, 191, 0.8) 100%);
}

#footer {
    background-color: #203b48;
}

#footer .footer-top {
    background: #36647a;
    border-top: none;
    border-bottom: none;
}

.footer-newsletter h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}

.copyright a {
    color: #ffffff;
}

/*#hero .carousel-item::before {
    background-color:  rgb(33 65 44 / 39%);
}*/
/*
.carousel-content {
    background-color: rgba(13, 30, 45, 0.6);
    padding: 1em;
}

#hero p {
    width: 100%;
}*/

#case-studies ol li {
    margin: 1em 0;
    font-size: 1.2em;
}

.services .title {
    margin-top: 20px;
}

.about .section-title p {
    font-weight: 600;
}

#footer a {
    color: #9eccf4;
}

/* accordion */

.accordion-item {
    border: none; 
    margin-bottom: 10px;
}

h2.accordion-header button:hover {
    color: #95c154;
}

.accordion-body {
    color: #36647a;
}

.accordion-button:not(.collapsed) {
    color: #36647a;
    background-color: #e7f1ff;
}

/* cards */

.blocks .card {
    min-height: 300px;
    transition: all ease-in-out 0.4s;
}

.blocks .card:hover {
    transform: translateY(-10px);
}

/* button */

.btn.btn-primary {
    background-color: #36647a;
    border-color: #36647a;
}

.btn.btn-primary:hover {
    background-color: #629fd3;
    border-color: inherit;
    color: #ffffff;
}

/* newsletter */
.label a {
	color: #36647a !important;
}
.answer {
	color: #36647a !important;
}

/* social */

.socialitem {
    position: fixed;
    opacity: 0.8;
    right: 15px;
    z-index: 996;
    background: #36647a;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

@media (min-width: 991px) {

    .itemone {
      top: 255px;   
    }
    .itemtwo {
      top: 300px;   
    }
    .itemthree {
      top: 345px;   
    }
    .itemfour {
      top: 390px;   
    }
}


.socialitem i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.socialitem.active {
  opacity: 1;
}

/* Events */

.portfolio #portfolio-flters li:before {
    content: '';
}

/* blog, wird auch für news verwendet */
.blog {
  box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);	
  padding-top:30px;
  margin-top:20px;
}

.blogentry{
	max-width: 800px;
	margin: 0 auto;
	box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);	
	padding-top:30px;
	margin-top:-100px;
}

.hintergrund{
	background-color:#ffffff;
	padding: 50px;
}

.news{
	padding-bottom:20px;
}

/* Partner */

.partner-content {
    height: 200px;
    overflow: hidden;
    position: relative;    
}

.partner-content.fade-out:before {
  content:'';
  width:100%;
  height:100%;    
  position:absolute;
  left:0;
  top:0;
  background:linear-gradient(transparent 30px, white);
}

.partner-show-less {
    display: none;
}

/* Blocks */

.box-light-orange {
    background-color: #f5d49b;
    padding: 15px;
    margin-bottom: 15px;
}

.box-orange {
    background-color: #f0b552;
    padding: 15px;
    margin-bottom: 15px;
}

.box-light-orange p:last-child, .box-orange p:last-child {
    margin: 0;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-card-content {
    background-color: #f9e5c0;
    height: 100%;
    padding: 1em;
}

.news-card-content p:last-child {
    margin-bottom: 0;
}

.news-card-compact {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.news-card-compact-content {
    background-color: #f9e5c0;
    height: 100%;
    padding: 1em;
    width: 100%;
}

/* Compact News auf der Startseite */
.news-compact-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
}

.news-compact-items > div {
    background-color: #fff;
    box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
    padding: 15px;
    width: calc(1/var(--news-compact-column-count) * 100% - (1 - 1/var(--news-compact-column-count)) * 15px);
}

@media only screen and (max-device-width : 768px) {
    .news-compact-items {
        flex-direction: column;
        gap: 15px;
    }

    .news-compact-items > div {
        width: 100%;
    }
}