/* GENERAL WEBSITE STYLES */

body{
    color: var(--portalThemeColor8) !important;
    font-size: 15px;
}

#EntityFormControl {
    padding-top: 16px;
}

a:hover, a:focus, .a:hover, .a:focus {
    text-decoration: none !important; 
}

.btn-link-back > a:hover {
    text-decoration: underline !important;
}

.profile-info {
    box-shadow: none !important;
    border: none !important;
}

.username {
    font-weight: 600;
    font-size: 12px;
    color: var(--portalThemeColor4);
}

.pageDescription {
    color: var(--portalThemeColor5);
    font-weight: 600;
    margin-bottom: 30px;
}

/* CARD STYLES */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.data-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    text-decoration: none;
    margin: 0px 6px 0px 12px;
    margin-bottom: 6px;    
    transition: 0.3s ease;
    background: var(--portalThemeColor1);
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.15);
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 4px, rgba(0, 0, 0, 0.12) 0px 0px 2px;
    flex: 6 0 0; 
}

.data-card h3 {
    padding-left: 12px;
}
.animated:hover {
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 8px, rgba(0, 0, 0, 0.12) 0px 0px 8px;
    transform: translateY(-5px);
}
.narrow {
    min-width: 11.7em;
    max-width: 11.7em;
}
.half-card {
    min-width: calc(50% - 12px); 
}
.half {
    min-width: 15.6em;
    max-width: 15.6em;
}
.data-card-qtr{
    min-width: 17.4em;
    max-width: 17.4em;
}
.medium {
    min-width: 24em;
    max-width: 24em;
}
.wide {
    min-width: fit-content;
    max-width: fit-content;
}
.data-card .cardtitle{
    padding: 6px 12px 6px 12px;
    font-weight: 500;
    color: white;
    background-color: #31708F;
}
.data-card .inner {
    margin: 6px;
}
.data-card .name{
    padding: 6px;
/*    font-weight: 700;
    color: #31708F;*/
}
.data-card .description {
/*    color: black;*/
    padding: 6px;
}
.data-card .link-text{
    padding: 6px;
}

.card {
    margin: 20px;
    transition: 0.3s ease;
    background: #fff;
/*    border: 1px solid #e0e0e0;*/
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.15);
    margin-bottom: 30px;
}

.animatedCard {
    margin: 20px;
    margin-bottom: 30px;    
    transition: 0.3s ease;
    background: var(--portalThemeColor1);
/*    border: 1px solid #e0e0e0;*/
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.15);
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 4px, rgba(0, 0, 0, 0.12) 0px 0px 2px;
}

.animatedCard:hover {
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 8px, rgba(0, 0, 0, 0.12) 0px 0px 8px;
    transform: translateY(-5px);
}

.heroCard {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
/*    border: 1px solid #e0e0e0;*/
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.15);
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 4px, rgba(0, 0, 0, 0.12) 0px 0px 2px;
}

/* ALERT STYLES */
.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}
.alert h4{margin-top:0;color:inherit}
.alert .alert-link{font-weight:700}
.alert>p,.alert>ul{margin-bottom:0}
.alert>p+p{margin-top:5px}
.alert-dismissable,.alert-dismissible{padding-right:35px}
.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}
.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}
.alert-success hr{border-top-color:#c9e2b3}
.alert-success .alert-link{color:#2b542c}
.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}
.alert-info hr{border-top-color:#a6e1ec}
.alert-info .alert-link{color:#245269}
.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
.alert-warning hr{border-top-color:#f7e1b5}
.alert-warning .alert-link{color:#66512c}
.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}
.alert-danger hr{border-top-color:#e4b9c0}
.alert-danger .alert-link{color:#843534}

.half-card {
    min-width: calc(100% - 6px); 
}
.left-card {
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 12px;
}
.right-card {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 12px;
}

/*
@media(min-width:768px) {
    .half-card {
        min-width: calc(100% - 12px); 
        margin-bottom: 6px;
    }
    .left-card {
        margin-right: 0px;
        margin-left: 0px;
        margin-bottom: 12px;
    }
    .right-card {
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 6px;
    }
}
*/

@media(min-width:992px) {
    .half-card {
        min-width: calc(50% - 6px); 
    }
    .left-card {
        margin-right: 6px;
        margin-left: 0px;
    }
    .right-card {
        margin-left: 6px;
        margin-right: 0px;
    }
}

@media(min-width:1200px) {
    .half-card {
        min-width: calc(50% - 6px);
    }
    .left-card {
        margin-right: 6px;
        margin-left: 0px;
    }
    .right-card {
        margin-left: 6px;
        margin-right: 0px;
    }
}

#overlay {
   background: #ffffff;
   color: #666666;
   position: fixed;
   height: 100%;
   width: 100%;
   z-index: 5000;
   top: 0;
   left: 0;
   float: left;
   text-align: center;
   padding-top: 25%;
   opacity: .80;
 }
 .spinner {
     margin: 0 auto;
     height: 64px;
     width: 64px;
     animation: rotate 0.8s infinite linear;
     border: 5px solid #2fb6ba;
     border-right-color: transparent;
     border-radius: 50%;
 }
 @keyframes rotate {
     0% {
         transform: rotate(0deg);
     }
     100% {
         transform: rotate(360deg);
     }
 }