/* cardinall_modal */
/* The cardinall_modal (background) */
.cardinall_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 600; /* Sit on top */
  padding-top: 20px; /* 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.4); /* Black w/ opacity */
}

/* cardinall_modal Content */
.cardinall_modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  min-width: 90%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 1em 0 rgba(0,0,0,0.19);
  -webkit-animation-name: QUASTERSAS_cardinall_animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: QUASTERSAS_cardinall_animatetop;
  animation-duration: 0.4s;
  border-bottom-right-radius: 10px;
  border-radius: 10px;
  overflow: auto;
}
@media screen and (min-width: 80em) {
  .QUASTERSAS_cardinall_modal-content {
    width: 50%;
    min-width: 620px;
  }
}

/* Add Animation */
@-webkit-keyframes cardinall_animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes cardinall_animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.cardinall_modal-header {
  padding: 16px 16px 0.5px 16px;
  color: white;
  background-color: #03a9f4;
  border-top-left-radius: 10px;
  background: var(--cc_tibk)!important;
  color: var(--cc_titx)!important;
}
.cardinall_modal-header h2, .cardinall_modal-header h3 {
  margin-top:0;
}
.cardinall_modal-body {padding: 2px 16px;}

.cardinall_modal-footer {
  padding: 2px 16px;
  background-color: #FFF;
  border-bottom-right-radius: 10px;
  color: black;
}

.cardinall_modal-close {
  font-size: 150%;
	cursor:pointer;
  margin-top:-4px;
}
.cardinall_push-right {
	float:right;
}
.the_page_cardinall_modal{
	height:100%;
}
.cardinall_modal-header h2{
  all:reset!important;
  color: var(--cc_titx)!important;
  font-weight: 500;
}
  /* TOAST */
  #cardinall_toast {
    position:fixed;
    left: 50%;
    transform: translateX(-50%);
    top:20px;
    padding: 0;
    border: 1px solid #888;
    max-width: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 1em 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-bottom-right-radius: 10px;
    border-radius: 10px;
    overflow:auto;
    z-index:10001;
    background-color:#111111;
    color:#eeeeee;
    font-size:2vh;
    padding:3vh;
 }
	/*
	 *
	 * ZOOM
	 * 
	 */
  .img-zoom-container {
    position: relative;
  }
  .img-zoom-lens {
    background:linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,0.5));
    position: absolute;
    border: 2px solid #d4d4d4;
    width: 40px;
    height: 40px;
    box-shadow: 3px 2px 2px darkgray;
    border-radius: 50%;
    transform-origin: center;
    animation: blowup .3s ease-in-out infinite ;
    animation-iteration-count: 3;
  }
  .img-zoom-lens::after {
    content: "";
    height: 5px;
    width: 16px;
    background: #d4d4d4;
    box-shadow: 3px 2px 2px darkgray;
    position:absolute;
    top:37px;
    left:34px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }
  .img-zoom-result {
    border: 1px solid #d4d4d4;
    /*set the size of the result div:*/
    width: 300px;
    height: 300px;
  }
  @keyframes blowup {
    0% {
        transform: scale(1.0);
        background:linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,0.5));
    }
    100% {
        transform: scale(3.0);
        background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
    }
}


