.dnPublicCard {
  position: relative;
  width: 250px;
  height: 250px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 30px;
  transition: 0.5s;
}


.dnPublicCardSSOCategory {
  position: relative;
  min-width: 300px;
  height: 150px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 21px;
  transition: 0.5s;
}

.dnPublicCardSSOInfo {
  position: relative;
  min-width: 270px;
  height: 100px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 21px;
  transition: 0.5s;
}

.dnPublicPalteSSOInfo {
  align-items: center !important;
  min-width: 50%;
  min-height: 250px;
  
}

.dnPublicPalteSSOInfo a{
  background: var(--public-card-service-button);
  color: var(--public-card-service-button-font);
  
}

.dnPublicPalteSSOInfo a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #ffffff;
  color: #000;
}

.dnPublicPalteSSOInfo:dir(rtl) {
  background: linear-gradient(112.14deg, var(--nav-background) 0%, var(--html-background-color) 100%);
  padding-right: 20px;
}

.dnPublicPalteSSOInfo:dir(ltr) {
  background: linear-gradient(112.14deg, var(--html-background-color) 0%, var(--nav-background) 100%);
  padding-left: 20px;
}

.dnPublicCardSSOCategoryIcon {
  font-size: 80px;
}

/*body .dnPublicContainer .dnPublicCard:nth-child(1n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardDescriptionButton {
  background: #ee03f7;
}

body .dnPublicContainer .dnPublicCard:nth-child(2n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardDescriptionButton {
  background: #2196f3;
}

body .dnPublicContainer .dnPublicCard:nth-child(3n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardDescriptionButton {
  background: #e91e63;
}

body .dnPublicContainer .dnPublicCard:nth-child(4n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardDescriptionButton {
  background: #0b5339;
}

body .dnPublicContainer .dnPublicCard:nth-child(1n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardServiceButton {
  background: #2196f3;
}

body .dnPublicContainer .dnPublicCard:nth-child(2n) .dnPublicCardBox .dnPublicCardContent .dnPublicCardServiceButton {
  background: #e91e63;
}
*/


.dnPublicCardBox {
  position: absolute;
  top: 25px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--public-card-background);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

.dnPublicCardBox:hover {
  transform: translateY(-10px);
}

.dnPublicCardBox:before {
  content: "";
  position: absolute;
  top: 0;
  width: 49.5%;
  height: 100%;
  background: var(--public-card-background-2);
}

.dnPublicCardBox:dir(ltr):before {
  right: 0;

}

.dnPublicCardBox:dir(rtl):before {
  left: 0;
}



.dnPublicContainer .dnPublicCardSSOCategory:nth-child(1n) .dnPublicCardBoxForFolder {
  background: #2a2b2f;
}

.dnPublicContainer .dnPublicCardSSOCategory:nth-child(2n) .dnPublicCardBoxForFolder {
  background: var(--nav-background);
}

.dnPublicCardContent {
  padding: 10px;
  text-align: center;
  margin-top: -20px;
}

.dnPublicCardIndex {
  position: absolute;
  top: 10px;
  color: var(--public-card-index-color);
  /* font-size: 5rem;*/

}

/*
html[dark-mode=on] .dnPublicCardIndex {
  color: rgba(255, 255, 255, 0.2);
}

html[dark-mode=off] .dnPublicCardIndex {
  color: rgba(255, 255, 255, .7);
}
*/

.dnPublicCardIndex:dir(ltr) {
  left: 12px;
}

.dnPublicCardIndex:dir(rtl) {
  right: 12px;
}


.dnImageFlip img:dir(rtl){
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.dnPublicCardTitle {
  font-size: 1rem !important;
  color: var(--nav-main-list-item-title);
  z-index: 1;
  transition: 0.5s;
  margin-bottom: 5px;
  position: relative;
}

.dnPublicCardDescription {
  font-size: 0.8rem;
  color: var(--nav-main-list-item-title);
  z-index: 1;
  transition: 0.5s;
  position: relative;

}

.dnPublicCardFooterSSOCategory {
  bottom: 15px !important;
}

.dnPublicCardFooter {
  padding: 2px 10px;
  position: absolute;
  bottom: 25px;
  height: 50px;
  width: 250px;
  text-align: center;
}


.dnPublicCardFooter a {
  position: relative;
  display: inline-block;
  padding: 2px 10px;
  background: black;
  border-radius: 5px;
  text-decoration: none;
  color:var(--public-card-service-button-font);
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
  font-size: 0.8rem;
}

.dnPublicCardFooter .dnPublicCardDescriptionButton {
  background: var(--public-card-description-button);
  width: 95px;
}

.dnPublicCardFooter .dnPublicCardServiceButton {
  background: var(--public-card-service-button);
  width: 95px;
}

.dnPublicCardFooter a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #ffffff;
  color: #000;
}