/*******************************************************************************
 * Copyright (c) Lenovo 2020.
 * 
 *  LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered
 *  pursuant a General Services Administration (GSA) contract, use, reproduction, or
 *  disclosure is subject to restrictions set forth in Contract No. GS-35F-05925.
 ******************************************************************************/

 $card-spacing: 15px;

div.card {
  box-shadow: rgba(0, 0, 0, 0.14) 0px 1px 4px 0px;
  margin-bottom: $card-spacing;
}

 .main-content div.card {
   border: 0px;
   padding: 10px 15px;
   min-height: 150px;
   height: 100%;
 }
 
 .card-body {
   padding: 0;
 }
 
 .layout-card {
   padding: 0 $card-spacing * 0.5 $card-spacing $card-spacing * 0.5;
 }
 
 // The col class used for cards uses position: absolute and in certain cases the loading spinner is positioned incorrectly, use this class for the card with such UI errors
 // see alerts-analytics-card.component.html
 .layout-card.p-unset {
   position: unset;
 }
 
 .main-content .row {
   padding-left: $card-spacing * 0.5;
   padding-right: $card-spacing * 0.5;
 }
 
 div.card-header {
   background-color: transparent;
   padding: 0;
 }
 
 .card-title-centered {
   font-size: calc(20px + 0.5vw);
   text-align: center;
   font-family: $default-font-family;
   overflow-wrap: break-word;
 }
 
 .card-title {
   font-size: calc(20px + 0.5vw);
   font-family: $default-font-family;
   overflow-wrap: break-word;
 }
 
 .card.no-bottom-border .card-header {
   border-bottom: none;
 }
 
 @media (min-width: $xl-break) {
   .card-title {
     font-size: 22px;
   }
 
   .card-title-centered {
     font-size: 22px;
   }
 }
 
 .card.top-layer {
   z-index: 10000;
 }
 