.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #CCC;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}




.fotoarchiv_wrapper {
	margin-bottom: 10px;
}

.btn.btn-default.year svg {
	    display: block;
    float: right;
    height: 27px;
	 
	rotate: 00deg;
	
	 transition: all .75s; /* Animation */
}

.btn.btn-default.year.active svg {
	 rotate: 180deg;
	   fill: #FFF !important;
}

.btn.btn-default.year:hover svg {
	 
	   fill: #FFF !important;
}

.btn.btn-default.event svg {
 display: block;
    float: right;
    height: 20px;	
	  rotate: 0deg;
	
	 transition: all .75s; /* Animation */
	
}

.btn.btn-default.event.active svg {
	 rotate: 180deg;
	 fill: #000 !important;
}

.btn.btn-default.event:hover svg {
	
	 fill: #000 !important;
}

.btn-default {
	cursor: pointer;
}

.btn-default:hover {
	opacity:0.9;
}

.fotoarchiv_wrapper .btn.btn-default.year {
	
	background: #bd1d1d;
    background: -moz-linear-gradient(-45deg, #bd1d1d 0%, #7a0000 100%);
    background: -webkit-linear-gradient(-45deg, #bd1d1d 0%,#7a0000 100%);
    background: linear-gradient(135deg, #bd1d1d 0%,#7a0000 100%);
	color: #fff;
	padding: 10px;
	font-family: "Myriad Pro Semibold";
	font-size: 20px;
	
}
.fotoarchiv_event_wrapper {
	display: none;
}

.fotoarchiv_wrapper .btn.btn-default.event {
    padding: 10px;
    border: 1px solid #CCC;
    margin: 10px 0 10px 0px;
    font-family: "Myriad Pro Semibold";
    font-size: 16px;
	
}
.fotoarchiv_album_images {
	
	 display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
	

   
}

.fotoarchiv_album_images > div {
	width: 100%;
}
.fotoarchiv_album_images .archiv_image {
	
    width: calc(97.5%/4);
	font-size: 10px;
	position: relative;
	line-height: 0;
	min-height: 150px;
	
}

.fotoarchiv_album_images {
	width: 100%;
}

.fotoarchiv_album_images_wrapper {
	display: none;
}

.fotoarchiv_album_images .archiv_image img {
width: 100%;
height: auto;
}




.fotoarchiv_wrapper .btn.btn-default.btn-reindex {
    padding: 5px;
    border: 1px solid #FFF!important;
    margin: 5px 0px 5px 10px;
    font-family: "Myriad Pro Semibold";
    font-size: 14px;
    color: #bd1d1d!important;
    background-color: #FFF!important;
}
.fotoarchiv_wrapper .btn.btn-default.btn-reindex:hover {
    color: #FFF!important;
    background-color: #bd1d1d!important;
}
.fotoarchiv_wrapper .btn.btn-default.btn-reindex svg, .fotoarchiv_wrapper .btn.btn-default.btn-reindex.active svg{
    float: none;
    display: inline-block;
    height: 10px;
    fill: #bd1d1d!important;
}
.fotoarchiv_wrapper .btn.btn-default.btn-reindex:hover svg{
    rotate: 180deg;
    fill: #FFF!important;
}

.fotoarchiv_event_wrapper .btn.btn-default.btn-reindex {
    border: 1px solid #bd1d1d!important;
    color: #FFF!important;
    background-color: #bd1d1d!important;
}
.fotoarchiv_event_wrapper .btn.btn-default.btn-reindex:hover {
    color: #bd1d1d!important;
    background-color: #FFF!important;
}
.fotoarchiv_event_wrapper .btn.btn-default.btn-reindex svg, .fotoarchiv_event_wrapper .btn.btn-default.btn-reindex.active svg{
    fill: #FFF!important;
}
.fotoarchiv_event_wrapper .btn.btn-default.btn-reindex:hover svg{
    fill: #bd1d1d!important;
}

.fotoarchiv_wrapper .btn.btn-default.btn-reindex.btn-reindexrunning {
    border: 1px solid #333!important;
    color: #FFF!important;
    background-color: #333!important;
}

/* DETAILBOX */

.fotoarchiv_album_images .archiv_image a img, .fotoarchiv_album_images .archiv_image .messe_check_btn img {
	width: 20px;
	height: auto;
}
.fotoarchiv_album_images .archiv_image .messe_info_btn img {
	width: 15px;
	height: auto;
	margin-left: 3px;
}
.fotoarchiv_album_images .archiv_image a {
	 background-color: #FFF;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    padding: 4px 0 0px 0;
    position: absolute;
    
    top: 5px;
    text-align: center;
}

.fotoarchiv_album_images .archiv_image a:hover {
opacity: 0.7;	
}

.element_download {
right: 5px;	
}

.element_zoom {
right: 40px;	
}

.fotoarchiv_album_images .archiv_image .messe_info_btn {
	background-color: rgba(255,255,255,0.8);
    display: block;
    
    border-radius: 100px;
    padding: 1px;
    position: absolute;
    left: 5px;
    bottom: 5px;
	display: flex;
}

.fotoarchiv_album_images .archiv_image .messe_info_btn p {
    margin: 0;
    padding: 2px 5px 2px 2px;
    line-height: 1em;
    font-size: 13px;
}

.fotoarchiv_album_images .archiv_image .messe_check_btn {
	background-color: rgba(255,255,255,1);
    display: block;
    width: 30px;
    border-radius: 100px;
    padding: 5px;
    position: absolute;
    right: 75px;
    top: 5px;
	text-align: center;
}

/* DOWNLOAD ALL */

#download_all {
	display: none;
	position: fixed;
    top: auto;
    z-index: 9999;
    bottom: 50%;
    left: 10px;
    background: #bd1d1d;
    background: -moz-linear-gradient(-45deg, #bd1d1d 0%, #7a0000 100%);
    background: -webkit-linear-gradient(-45deg, #bd1d1d 0%,#7a0000 100%);
    background: linear-gradient(135deg, #bd1d1d 0%,#7a0000 100%);
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
	cursor: pointer;
	color: #FFF;
}

#download_all:hover {
 	background-color: #000;
	color: #FFF;
}

#download_all svg {
	    width: 15px;
    margin-right: 10px;
	  fill: #FFF !important;
	    height: 26px;
	
}

#download_all p {
	    padding: 5px 0 5px 0;
    line-height: 1em;
    margin: 0;
	
}

#download_all:hover svg {
    fill: #FFF !important;
}
#download_all_inner {
	
	display: flex;
}

.directlink_messe {
	background-color: #bd1d1d;
    color: #FFF !important;
    padding: 6px 10px 6px 10px;
    display: inline-block;
    font-size: 11px;
}

.directlink_messe:hover { 
	background-color: #000;
}

#headline_single_album {
	    border-bottom: 2px solid #CCC;
    padding-bottom: 0;
    margin-bottom: 0px;
}

#return_all {
	    display: inline-block;
    background-color: #bd1d1d;
    color: #FFF;
    padding: 9px;
    margin-bottom: 40px;
}

#return_all:hover {
	 background-color: #000;
}

@media only screen and (max-width: 600px) {
#download_all {

    bottom: 5%;
	}
	.fotoarchiv_album_images .archiv_image {
    width: 100%;
	}
	
}

#messe_fotoarchiv .alert.alert-warning {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #bd1d1d;
    color: #bd1d1d;
    position: relative;
}

#messe_fotoarchiv .alert.alert-warning svg {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 30px;
    fill: #bd1d1d;
    animation: SyncRotation 2s infinite linear;
}


@keyframes SyncRotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}



.mfp-ready .mfp-figure {
    opacity: 1;
}
@media screen and (min-width: 1000px) and (max-width:1200px) {

	.fotoarchiv_album_images {
   
    gap: 9px;
}
}

@media screen and (min-width: 600px) and (max-width:999px) {
.fotoarchiv_album_images .archiv_image {
    width: calc(95.8%/4);
   
}
	
}