/* cda css */

* {
	box-sizing: border-box;
}

body {
	font-family: "Roboto", Arial, sans-serif;
	font-size: 14px;
}

/* START cards-moul-mat-cda */
.cards-moul-mat-cda { 
	display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: minmax(min-content, max-content);
	grid-gap: 20px;
  padding: 20px 10px 20px 10px;
	justify-content: space-between;
  cursor: pointer;
  text-align: center;
  max-height: 530px;
  overflow-y: auto;
}

.cards-moul-mat-cda .card-moul-mat-cda{ 
  border: 2px solid #ccc;
  box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
  padding: 5px;
  font-size: 16px;
}

.cards-moul-mat-cda img {
	max-width: 100%;
}
/* END cards-moul-mat-cda */

.shadow-cda {
	-moz-box-shadow: 0px 0px 15px -5px #000;
	-webkit-box-shadow: 0px 0px 15px -5px #000;
	box-shadow: 0px 0px 15px -5px #000;
}

.position-sticky-cda {
	position: sticky;
	top: 20px;
}

.position-sticky-cda img {
	max-width: 100%;
	height: auto;
}

.text-align-center-cda {
	text-align: center;
}

.display-none-cda {
	display: none;
}


/* START app-container-cda */

.app-container-cda {
	display: flex;
	flex-wrap: wrap;
}

.app-left-cda {
	padding: 10px;
	flex: 0 0 50%;
}

.app-right-cda {
	padding: 10px;
	flex: 0 0 50%;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 992px) {
	.app-left-cda, .app-right-cda {
		flex: 0 0 100%;
	}
}

/* END app-container-cda */

/* START zoom-moulding-img-modal */
/* The Modal (background) */
#zoom-moulding-img-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
#zoom-moulding-img {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 700px;
}

/* Add Animation */
#zoom-moulding-img {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
#zoom-moulding-img-modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#zoom-moulding-img-modal-close:hover,
#zoom-moulding-img-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  #zoom-moulding-img {
    width: 90%;
  }
}
/* END zoom-moulding-img-modal */

/* START zoom-search-icon */
.zoom-search-icon {
	font-size: 24px;
}
/* END zoom-search-icon */

/* START accordion */
.accordion-cda {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
	border: 1px solid #000;
}

.active-cda, .accordion-cda:hover {
	background-color: #ccc; 
}

.panel-cda {
	display: none;
  flex-direction: column;
	background-color: white;
	overflow: hidden;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

.panel-header-cda {
  border-bottom: 1px solid black;
  padding: 10px;
}
.panel-body-glass-cda {
  padding: 10px;
}
/* END accordion */


/* START tab */
.tab-cda {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
}

.tab-cda button { /* Style the buttons inside the tab */
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	font-size: 17px;
}

.tab-cda button:hover { /* Change background color of buttons on hover */
	background-color: #ddd;
}

.tab-cda button.active { /* Create an active/current tablink class */
	background-color: #ccc;
}

.tab-content-epilogi-thematos { /* Style the tab content */
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}
/* END tab */

.selected-img-cda {
  background-color: #ccc;
}


/* START Center the loader container */
#loader-container-cda {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%; 
	z-index: 100;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #00000066;
}

#loader-container-cda > #loader-cda {
	width: 120px;
	height: 120px;
	border: 14px solid #f3f3f3;
	border-radius: 8%;
	-webkit-animation: loader-spin-cda 2s linear infinite;
	animation: loader-spin-cda 2s linear infinite;
}

@-webkit-keyframes loader-spin-cda {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes loader-spin-cda {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
} 
/* END Center the loader container */


/* START input type file */
.file-upload-cda {
	display: none;
}
.custom-file-upload-cda {
	border: 1px solid #ccc;
	display: inline-block;
	padding: 6px 12px;
	cursor: pointer;
}
/* END input type file */

/* START cards-eadk-cda */
.row-cards-eadk-cda {
  display: flex;
  flex-wrap: wrap;
  padding: 0 5px;
  max-height: 530px;
  overflow-y: auto;
}

.column-cards-eadk-cda {
  flex: 50%;
  max-width: 50%;
}

.card-eadk-cda {
  border: 2px solid #ccc;
	box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
  padding: 10px;
  margin: 14px 7px;
  cursor: pointer;
}

.card-image-eadk-cda img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.card-artist-eadk-cda h3, .card-title-eadk-cda h4 {
  margin-top: 10px;
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .column-cards-eadk-cda {
    flex: 100%;
    max-width: 100%;
  }
}
/* END cards-eadk-cda */