
.reference-item > * {
  margin : 5px;
  padding: 5px;
  background-color: #343a40ad !important;
  color: white;
  width: 300px;
  height: 400px;
}

.reference-img {
    height:150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reference-img-2 {
    height:150px;
}

.reference-img-overlap {
    height:150px;
    position:relative; 
}




.reference-img-w-50 {
    max-width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reference-img-w-100 {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reference-img-centered {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.reference-item{
    position: relative;
	width: 300px;
    height: 400px;
	margin: 7px;
	display: inline-block;
}

/*!
 * Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
 */

header {
    padding: 154px 0 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    position: relative;
}

.peitex-banner { background-image: url("../images/bg-header_full.min.jpg");}
.latex-banner { background-image: url("../images/bg-header-latex_full.min.jpg");}

@media (max-width: 1024px) {
    .peitex-banner { background-image: url("../images/bg-header_1024.min.jpg");}
    .latex-banner { background-image: url("../images/bg-header-latex_1024.min.jpg");}
}

@media (max-width: 640px) {
    .peitex-banner { background-image: url("../images/bg-header_640.min.jpg");}
    .latex-banner { background-image: url("../images/bg-header-latex_640.min.jpg");}
}

@media (max-width: 480px) {
    .peitex-banner { background-image: url("../images/bg-header_480.min.jpg");}
    .latex-banner { background-image: url("../images/bg-header-latex_480.min.jpg");}
}





header:before {
    content: " ";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
}

@media (min-width: 992px) {
    header {
        padding: 156px 0 100px;
    }
}

section {
    padding: 150px 0;
}

.bg-primary {
    background-color: #343a40ad !important;
    color: white;
}

.bg-dark {
    background-color: #f57a1eee !important;
}

.navbar-dark .navbar-brand {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    box-shadow: 0 0.5rem 0 #fff;
}

.navbar-dark .navbar-nav .show > .nav-link,
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-dark .navbar-toggler {
    border: 0 none;
    padding: 0;
}

.navbar-dark .navbar-toggler:focus {
    outline: none;
}

.btn-primary {
    background-color: #f57a1eee;
    border-color: rgba(218, 95, 22, 0.93);
}

.btn-primary:hover {
    color: #fff;
    background-color: rgba(191, 90, 22, 1);
    border-color: rgba(218, 95, 22, 0.93);
}

.logo-background {
    height: 275px;
    width: 275px;
    margin: auto;
    background: white;
    border-radius: 50%;
    line-height: 275px;
    margin-bottom: 2rem;
    box-shadow: 0 0 17px 10px rgba(255,255,255,0.5);
}

.logo-container {
    z-index: 1;
    position: relative;
}

a {color: #f57a1eee}

.card a {color: white}

a:hover {
  color: black;
  text-decoration: none;
}

.bg-primary a:hover {
  color: white;
  text-decoration: none;
}

.card a:hover {
    color: #343a40;
}


.bg-secondary code {
    color:white;
}

.navbar .dropdown-menu {
    margin-top: 8px;
    border-radius: 0%;
}

.dropdown-menu li {
    padding: .4em;
}

.filter-button {     
    background:none!important;
    color:white!important;
     border:none; 
/*     padding:0!important;*/
     font: inherit;
     /*border is optional*/
/*     border-bottom:1px solid #444; */
     cursor: pointer;
    padding: 8px;
    font-weight : 400!important;
    margin-left: .5rem;
    margin-right: .5rem;
}

.filter-button:hover {
    box-shadow: 0 0.5rem 0 #fff;
}

.filter-button.is-checked  {
    box-shadow: 0 0.5rem 0 #fff;
}

.card-body {
    padding: .4rem;
    margin-top:  .5rem;
}

.card-text {
    margin-bottom: .4rem;
}



.card-footer {
  padding:inherit;
  border-top: none;
  background-color: transparent;
  border-radius: 0px;
}

   
.reference-img > * {
    vertical-align: middle;
}

#elements-grid{
    height: auto;
    margin: 0 auto;
    position: relative;
 }

.reference-item{
    width: 300px;
    height: 400px;    
}

.mark-links a {
    color: currentColor;
}

.link-icon {
  width: 1rem;
  height: 1rem;
}

.link-icon svg {
    fill: currentColor;
}

.banner-overlay {
    display:block;
    margin-top: -6%;
    z-index: 50 !important  ;
}

.article-container {
    margin-top: 1.5rem;
}

a.anchor {
    display: block;
    position: relative;
    top: -40px;
    visibility: hidden;
}
