/*Ort der Verwendung: Portlet Studierendenausweis Anfrage 333224 	
Verwendungszweck: Layout, Bewegelemente, uvm.*/

/* =========================
   Grundkarte
   ========================= */
.student-card-wrapper {
    position: relative;
    min-width: 370px;
    padding: 1.3rem;
    border-radius: 8px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f3b4d;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    background-color: var(--backgroundColor31); /* For browsers that do not support gradients */
    background-image: linear-gradient(to bottom, var(--backgroundColor31), var(--backgroundColor43));
/*     border: 2px solid #e0eaf8; Dezentere Border*/
    border: 5px solid #b7cfd0;
}

/* Alle „Zeilen“ volle Breite */
.student-card-wrapper > h2,
.student-card-wrapper > .studentCardDataHeader,
.student-card-wrapper > .security-container,
.student-card-wrapper > .immaStatusCard {
    flex: 0 0 100%;
}

/* =========================
   Titel
   ========================= */
.student-card-wrapper h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    align-self:center;
}

/* =========================
   Header
   ========================= */
.studentCardDataHeader {
    margin-bottom: 10px;
}

.studentCardDataHeaderInstitutionName{
	margin-left:30px;
}

.studentCardDataHeaderLogo[src$=".svg"] {
   	height: 40px;        /* vorher 34px */
    width: auto;
}

.studentCardDataHeaderLogo.studentCardDataHeaderLogoDefault{
	position: relative;
    left: -3px;
}
/* 
.studentCardDataInstitutionName.studentCardDataInstitutionNameDefault{
	color: var(--disabledFontColor);
} */

/* =========================
   Sicherheitsanimation
   ========================= */
.securityContainer  {
  align-self: flex-end;
  margin-right: 25px;
}
 
.securityAnimation {
  width: 10px;
  aspect-ratio: 1;
  background: #5893c6;
  animation: l6 1.5s infinite linear alternate;
}

@keyframes l6 {
    0%  {box-shadow: 10px 0,-20px 0}
    50% {box-shadow: 10px 0,-10px 0}
    100%{box-shadow: 20px 0,-10px 0}
}

/* =========================
   Bild + Daten = EINE ZEILE
   ========================= */
.studentCardPersonPictureContainer {
   display:flex;
   flex: 0 0 100%;
} 

.studentCardPersonPictureContainer dl.definitionListGrid.student-card{
align-self: flex-start;
}

/* Bild */

.student-card-person-picture{
	margin-right:18px;
}

.student-card-person-picture img{
	width: 120px;
	max-width: 120px !important;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--backgroundColor2);
    background:var(--backgroundColor2);
}

@media screen and (max-width: 768px) {
  .student-card-person-picture  img.picture{
    margin-top: 0;
  }
}

.student-card > div:nth-child(odd) {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
}

.student-card > div:nth-child(even) {
    font-size: 0.95rem;
    font-weight: 600;
}

.student-card > dd:nth-child(2) {
    font-size: 1.1rem;
    font-weight: 700;
}

.definitionListGrid.student-card dt{
	font-size: 0.8rem; 
	border:none;  
	text-overflow: ellipsis;
	padding-left: 0;
}

.definitionListGrid.student-card dd{
	border:none;   
}

.definitionListGrid.student-card.extended-data dt{
    opacity: 0.75;
}

/* =========================
   Immatrikulationsstatus
   ========================= */
.immaStatusCard {
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95); 
    font-size: 0.7rem;
    opacity: 0.75;
}

.immaStatusCard > div:first-child {
    font-weight: 600;
}

.immaStatusCard img {
    height: 20px;
    margin-right:5px;
}



/* =========================
   Badge
   ========================= */
.studentCardDataTitleandValidity{
	display:flex;
	flex-wrap:wrap;
	width:100%;
}

.studentCardDataTitle{
	 display:flex;
}

.studentCardDataValidity  {
	 margin-left: auto;
	 padding: 4px 18px;
     border-radius: 14px;     
     color: #fff;
     font-weight: 800;
     font-size: 0.9rem;
     letter-spacing: 1px;
     box-shadow: 0 4px 10px rgba(0,0,0,0.25);
     font-family: var(--font) !important;
     width: 150px;
     text-align: center;
     background-color: var(--backgroundColor14);
 /*     background-image: linear-gradient(to bottom, var(--backgroundColor14), var(--backgroundColor13));
     #65A375 */
} 

.studentCardDataValidity.expiredBadge{
     background: var(--backgroundColor7);
/*      background-image: linear-gradient(to bottom, var(--backgroundColor7), var(--backgroundColor41)); */
} 

.studentCardValidityBadgeIconfont{
	margin-right:2px;
}

.studentCardValidityBadgeIconfont:before{
	color:#ffffff;
}

.studentCardBadgeContainer {
    display: flex;
    flex-wrap: wrap;
}

.studentCardBadge  {
	 padding: 4px 8px;
     border-radius: 14px;     
     color: #fff;
     font-weight: 800;
     font-size: 0.9rem;
     letter-spacing: 1px;
     box-shadow: 0 4px 10px rgba(0,0,0,0.25);
     font-family: var(--font) !important;
     width: 150px;
     text-align: center;
     background-color: #34729f;
     margin-top: 5px;
     margin-right: 2px;
} 

.studentCardBadgeWithIconfont  {
	 padding: 4px 8px;
     border-radius: 14px;     
     color: #fff;
     font-weight: 800;
     font-size: 0.9rem;
     letter-spacing: 1px;
     box-shadow: 0 4px 10px rgba(0,0,0,0.25);
     font-family: var(--font) !important;
     width: 150px;
     text-align: center;
     background-color: #34729f;
     margin-top: 5px;
     margin-right: 2px;
} 

.studentCardBadgeWithIconfont:before  {
	content: "\e91f" / "";
	color:#ffffff;
	font-size: 120%;
	font-family: "HISinOneIcons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    position: relative;
    top: 2px;
    right: 5px;
} 

.studentCardBadgeIconfont{
	margin-right:5px;
}

.studentCardBadgeIconfont:before{
	color:#ffffff;
}

   
/* =========================
   Teilen von Nachweisen
   ========================= */
.downloadQrCodeStyle {
	float: left;
	padding-left: 10px;
}

/*Ort der Verwendung: Portal, Rückfragen Anfrage 333224*/
/* =========================
   Studi-Ausweis - ESC
   ========================= */
.escLogoOuterFrame {
	background-color: #0063D7;
}

.escLogoInnerFrame img {
  display: block;
  margin-bottom: 10px; /* optionaler Abstand */
}

.escLogoOuterFrame {
  background-color: #0066de;  /* Fallback */
  border-radius: 16px;        /* runde Ecken */
  padding: 26px 18px;              /* Innenabstand */
  display: inline-block;      /* passt sich Inhalt an */
  background-image: linear-gradient(to bottom,#0066de, #01479d);
}

.escLogoInnerFrame img {
  display: block;
  margin: 0 auto 10px auto;   /* zentriert + Abstand */
  width: 250px;
  height: auto;
}

.qrCodePortletImg {
  max-width: 100%;
  height: auto;
}

.escNameFrame{	
	color: #01479d;
	padding-bottom: 5px; 
}

.escPersonName{
	font-weight:bold;
	font-size:20px;
}

/* =========================
   Variante 1
   ========================= */
.studentCardVariante1{
	background-image: linear-gradient(to bottom, #eff3f6, var(--backgroundColor43));
    border: 1px solid var(--backgroundColor26);
    background-color: var(--backgroundColor2);
    margin-bottom: 3px;
    margin-top: 3px;
    clear: left;
    border-radius: var(--borderRadius1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 10px;
 }    
  
 body .studentCardVariante1 .ui-accordion .ui-accordion-header {
 	background-image: linear-gradient(to bottom, #f3f7fa, #F0F6F4);
 }
 
.studentCardVariante1  .student-card-wrapper {
    position: relative;
    min-width: 370px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f3b4d;
    padding:0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
    background-color: var(--backgroundColor31);
    background-image: linear-gradient(to bottom, var(--backgroundColor31), var(--backgroundColor43));
    border: 2px solid #e0eaf8;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.studentCardVariante1 .studentCardDataTitleandValidity {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: var(--backgroundColor14);
    color: #fff !important;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;  
}

.studentCardVariante1 .studentCardDataTitleandValidity h3 {
    color:#fff; 
    letter-spacing: 1px;
} 

.studentCardVariante1  .studentCardDataTitle {
   margin: 10px 12px;
}

.studentCardVariante1 .studentCardDataValidity {
  margin-left: auto;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: none;
  font-family: var(--font) !important;
  width: 150px;
  text-align: center;
  background-color: var(--backgroundColor14);
}

.studentCardVariante1 .student-card-wrapper > .immaStatusCard,
.studentCardVariante1 .student-card-wrapper > .studentCardDataHeader {
  background-color: #f6f7f9;
  padding: 3px 5px;
  background-image: linear-gradient(to bottom, #f3f7fa, #F0F6F4);
  border-radius:0;
  flex: 0 0 100%;
}

.studentCardVariante1 .studentCardBadgeWithIconfont,
.studentCardVariante1 .studentCardBadge { 
  border-radius: 0;
}

.studentCardVariante1 .studentCardDataValidity.expiredBadge{
	background: var(--backgroundColor7);
	border-radius: 0;
	border-top-right-radius: 8px;
}