/*
This is designed to control the appearance of the tiles on the website
*/

// Industries page
.IndustriesGroup {
    width: 85%;
}
.IndustriesPanel {
    border: none;
}
.IndustriesList {
    color: rgb(0,100,200);
    font-size: 16px;
    border: none;
}

// Home page
.HomeGroup {
    padding-left: .45%;
    padding-right: .45%;
}

.HomePanel {
    min-width: 310px;
    overflow: hidden;
}

h2.card-title{
    padding-top: 10px;
    color: black;
    margin: 0px;
}

.HomeGroup .card-title {
    text-align: center;
}

.HomeGroup .card-img-top {
   margin-bottom: 15%;
}

.HomeGroup .card-text {
    padding: 1rem;
    width: 100%;
    text-align: left;
    color: white;
}

.HomeGroup .card-body{
    background-color: transparent;
    padding: 5px 5px 5px 5px;
}

.HomeGroup .card-link {
    text-align: center;
    display: block;
}
.card .text-link {
    color: red;
    text-align: right;
    width: 100%;
    margin: .01rem;
    padding-right: 3px;
    vertical-align: bottom;
}

.HomeGroup .card .card-footer {
    background-color: transparent;
    width: 100%;
    border: none;
    border-radius: 0;
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 2px 5px 0px 5px;
}

.HomeGroup .card .card-img-footer {
    background-color: transparent;
    position: absolute;
    left: 0px;
    bottom: 0px; 
    width: 100%;
}

.card-wrapper {
    border: none;
    margin-bottom: 5px;
}

/* zooms the card image - we may want to do this elsewhere
.card-wrapper:hover img{
    transform: scale(1.4);
}
*/

.card-wrapper:hover .card .back,
.card-wrapper.flip .card .back{
    transform: perspective(900px) rotateY( 0deg );
}

.card-wrapper:hover .card .front,
.card-wrapper.flip .card .front{
    transform: perspective(900px) rotateY( 180deg );
}

/* flip speed goes here */
.card {
   position: relative;
   border: none;
   display: -ms-grid;
   -ms-grid-rows: 1fr;
   -ms-grid-columns: 1fr;
   display: grid;
   grid-template: 1fr 1fr;
   grid-template-areas: "frontAndBack";
   background-color: transparent;
}

/* hide back of pane during swap */
.card .front, .card .back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: all .5s ease-out;
    grid-area: frontAndBack;
    display: block;
}

/* front pane, placed above back */
.front {
    // z-index is needed for OSX
    z-index: 2;
    transform: perspective(900px) rotateY( 0deg );
    background-color: #F0F0F0;
}

/* back, initially hidden pane */
.back {   
    transform: perspective(900px) rotateY( 180deg );
    background-color: darkgray;
}
    
@media screen and (min-width: 1000px){
    .card-img-top {
 //     margin-bottom: 15%;
    }
}

/* style for the solutions page */
.SolutionsGroup {
    width: 80%;
}

a.SolutionsPanel {
    border: none;
    min-width: 100px;

}

h5.mb-1.SolutionsList {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
}

.SolutionsPanel .mb-1 {
  text-align: left;
  width: 100%;
}

.tile_content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    border: 1px;
    border-radius: .25rem;
    border-style: solid;
    border-color: gray;
    background-color: #F0F0F0;
    padding: 10px;
}

.SolutionsSubtitle {
    margin-left: 15px;
    width: 80%;
}

.SolutionsHeading > h1 {
   margin-top: 1rem;
   margin-left: 1rem;;
}
    
.SolutionsHeading {
    overflow: auto;
}

.header_icon {
    float: left;
    vertical-align: middle;
    max-width: 14rem;
    margin-left: 10px;
}
