
@font-face { font-family: 'Open Sans';
  src: url('../webfonts/OpenSans.ttf') format('truetype');
}
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #5b5b5b;
  overflow-x: hidden;
}

a,
button {
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

h2 {
  line-height: 1.35em;
}
.container-fluid {
  max-width: 1200px;
}

.tm-bg-black-transparent {
  background-color: rgba(0, 0, 0, 0.5);
}

.tm-bg-white-transparent {
  background-color: rgba(255, 255, 255, 0.8);
}

.tm-bg-green {
  background-color: #1A2AA4;
}

.tm-bg-orange {
  background-color: #10549B;
}

.tm-bg-blue {
  background-color: #049288;
}

.tm-bg-dark-gray {
  background-color: #676767;
}

/*
  Welcome section
*/
#tmWelcome {
  position: relative;
  display: flex;
  align-items: center;
  align-content: flex-end
}

.tm-brand-container-outer {
  margin-top: -400px;
}

.tm-brand-container-inner {
  max-width: 470px;
  width: 100%;
}
.tm-brand-container-inner img {
  max-width: 175px;
  width: 100%;
  margin-bottom: 25px;
}

.tm-brand-container {
  padding: 50px 100px;
}

.tm-brand-name {
  font-size: 3.5rem;
  color:#000;
}

.tm-brand-description {
  font-size: 2.55rem;
  color:#10539B;
}

.parallax-window {
  min-height: 1100px;
  background: transparent;
}

#tmContact {
  min-height: 750px;
}

.tm-welcome-container {
  min-height: 400px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.tm-welcome-title {
  margin-bottom: 40px;
}

.tm-welcome-left {
  padding-right: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.tm-welcome-left-col {
  display: flex;
  align-items: center;
}

.fa-2x {
  font-size: 3em;
  color: #fff;
}

.tm-welcome-right {
  color: white;
  background-color: #10539B;
  padding: 80px 43px 70px;
  height: 100%;
}
.tm-portrait-right {
  background-color: #fff;
  padding: 55px 43px 60px;
  height: 100%;
  text-align: center;
}
.tm-portrait-right img {
  margin: 0 auto;
}

.tm-welcome-icon {
  margin-bottom: 50px;
  display: block;
  text-align: center;
}

/*
  Portfolio section
*/

#tmPortfolio {
  padding-top: 80px;
  height:auto;
  display: flex;
  background-color: #ffffff;
}

.tm-portfolio-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.tm-portfolio-name {
  width: 275px;
  height: 220px;
  font-size: 2rem;
  padding: 70px 95px;
  margin-top: 75px;
  display: flex;
  align-items: flex-start;
  align-self: start;
  text-align: center;
  justify-content: center;
}

.tm-portfolio-description {
  width: calc(100% - 275px);
  padding: 20px 45px;

}

.tm-portfolio-description h3 {
  margin: 40px 0 45px 0;
  color: #1A2AA4;
  font-size: 36px;
}
.tm-portfolio-description h4 {
  margin: 5px 0 15px 0;
  color: #1A2AA4;
  font-size: 22px;
}

.text-white {color: #fff;}
.tm-text-green {
  color: #1A2AA4;
}

.tm-text-orange {
  color: #10549B;
}

.tm-text-blue {
  color: #049288;
}

.tm-text-dark-gray {
  color: #676767;
}

.tm-title-small {
  font-size: 1.3rem;
}

p {
  line-height: 1.7;
}

.panel-default {
  border-color: transparent;
}
.panel-default > .panel-heading {
  color: #6b6b6b;
  background-color: transparent;
  border-color: transparent;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: transparent;
}
.panel-body {
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 100%)
}
.panel-body ul li {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}
#tmContact ul li {
  font-size: 18px;
  line-height: 2;
  font-weight: 400;
}
.panel-title {
  font-size: 18px;
  color: inherit;
}
i.quelle {
  font-size: 11px;
  font-style: italic;
}
/*
  Contact section
*/

#tmContact {
  padding-top: 0px;
}
#tmContact .abstand {
  padding-top: 95px;
}

.tm-contact-item {
  width: 33.3334%;
  max-width: 345px;
  height: auto;
  min-height: 420px;
  margin-right: 35px;
  background-color: white;
  padding: 54px 34px 44px;
}

.tm-about-item {
  width: 100%;
  height: auto;
  min-height: 420px;
  margin-right: 35px;
 /* background-color: white; */
  padding: 54px 34px 34px;
}

.tm-contact-item:last-child {
  margin-right: 0;
}

.tm-contact-items-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 130px;
}

.tm-contact-item-icon {
  margin-bottom: 45px;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tmContactForm {
  width: 100%;
  max-width: 680px;
  padding: 45px 45px 30px;
  margin-bottom: 95px;
}

.form-group {
  max-width: 355px;
}

.form-control {
  background: transparent;
  border-color: #999999;
  padding: 15px 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tm-btn-submit {
  background-color: #999999;
  padding: 12px 30px;
  font-size: 1.2rem;
}

.tm-btn-submit:focus,
.tm-btn-submit:hover {
  background-color: #676767;
}

.tm-copyright-text {
  margin: 25px 0 30px 0;
  color: #000;
}

.tm-link {
  color: #676767;
}
.tm-brand-distance {
  margin: 0 15px;
  padding: 30px;
}

.modalDialog {
  position: Fixed;
  /*  font-family: Verdana, Sans-Serif; */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  opacity: 0;
  transition: opacity 400ms ease-in;
  pointer-events: None;
  overflow: scroll;
}
.modalDialog:target {
  opacity: 1;
  pointer-events: Auto;
}
.modalDialog > div {
  width: 980px;
  max-width: 90%;
  position: relative;
  margin: 5% Auto;
  padding: 20px 30px 20px 30px;
  border-radius: 30px;
  background-color: #FFFFFF;
  background: linear-gradient(#ffffff, #dddddd);
  cursor: Default;
}
.modalDialog > div > h3 {
  font-size: 2em;
  color: #1A2AA4;
  margin-bottom: 25px;
}
.close {
  background-color: #1A2AA4;
  opacity: 1.0;
  color: #ffffff;
  line-height: 30px;
  width: 30px;
  position: Absolute;
  right: -12px;
  text-align: Center;
  top: -10px;
  text-decoration: None;
  font-size: 14px;
  font-weight: Bold;
  border-radius: 12px;
  box-shadow: 5px 5px 8px #000000;
}
.close:hover {
  background-color: #343F72;
}


@media (max-width: 1054px) {
  .tm-contact-item-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 991px) {
  .tm-contact-items-container {
    flex-direction: column;
  }

  .tm-contact-item {
    width: auto;
    max-width: 680px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
  .tm-welcome-container {
    bottom:-10%;
    left: 0;
  }
  #tmPortfolio {
    padding-top: 100px;
  }
  .tm-contact-item:last-child {
    margin-right: auto;
    margin-bottom: 0;
  }

  #tmContactForm {
    margin-left: auto;
    margin-right: auto;
  }
  .tm-brand-container-outer {
    margin-top: -690px;
  }
  .tm-brand-container-inner img {
    max-height: 105px;
    width: auto;
    margin-bottom: 15px;
  }
  .h1.tm-brand-name,
  h1.tm-brand-name  {
    margin-top: 5px;
    margin-bottom: 2px;
  }
  .tm-brand-description p {
    margin: 0 0 0px;
  }
  .tm-portfolio-name {
    justify-content: center;
  }
  .tm-brand-container {
    padding: 30px 100px;
  }
}

@media (max-width: 730px) {

  .container-fluid {
    max-width: 100%;
  }
  .tm-portfolio-item {
    flex-direction: column;
    overflow:hidden;
  }
  .tm-welcome-container {
    bottom:-10%;
    left: 0;
  }
  .tm-brand-container-outer {
    margin-top: -800px;
  }
  .tm-brand-container-inner img {
    max-height: 105px;
    width: auto;
    margin-bottom: 15px;
  }
  .h1.tm-brand-name,
  h1.tm-brand-name  {
    margin-top: 5px;
    margin-bottom: 2px;
  }
  .tm-brand-description p {
    margin: 0 0 0px;
  }
  .tm-portfolio-name {
    justify-content: center;
  }
  .tm-brand-container {
    padding: 10px 80px;
  }
  .tm-portfolio-name,
  .tm-portfolio-description {
    width: 100%;
  }
  .tm-portfolio-description {
    padding: 20px 0px;
  }
  h3, h4 {
    hyphens: auto;
  }
}

@media (max-width: 572px) {
  .tm-brand-container {
    padding:10px 45px ;
  }
  .tm-welcome-container {
    bottom:-20%;
    left: 0;
  }
  #tmPortfolio {
    padding-top: 170px;
  }
  .tm-brand-container-outer {
    margin-top: -750px;
  }
  .tm-brand-container-inner img {
    max-height: 105px;
    width: auto;
    margin-bottom: 15px;
  }
  .h1.tm-brand-name,
  h1.tm-brand-name  {
    margin-top: 5px;
    margin-bottom: 2px;
  }
  .tm-brand-description p {
    margin: 0 0 0px;
  }
  .tm-portrait-right img {
    max-width: 100%;
  }
  p {
    line-height: 1.55;
  }
}

@media (max-width: 443px) {
  .tm-brand-name {
    font-size: 2.25rem;
  }
  .tm-welcome-container {
    bottom:-27.5%;
    left: 0;
  }
  #tmPortfolio {
    padding-top: 250px;
  }
  .tm-brand-description {
    font-size: 1.55rem;
    color: #10539B;
  }
  .tm-brand-container-outer {
    margin-top: -850px;
  }
  .tm-brand-container-inner img {
    max-height: 75px;
    width: auto;
    margin-bottom: 5px;
  }
  .tm-brand-container {
    padding: 5px 25px;
  }
}
