
.card, .box {
    /* Add shadows to create the "card" effect */
    transition: 0.3s;
    /*background-color:white;*/
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* On mouse-over, add a deeper shadow */

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}


@media only screen and (min-width: 1px) {
    .card-container {
        background-color: #FBFBFB;
    }
}

.card-container {
    display: inline-block;
    width: 100%;
    /*background-color: #FBFBFB;*/
    /*background: #FBFBFB;*/
    zoom: 1; /* new block formatting context via hasLayout for IE 6/7 */
}

/* Should contain all floated and non-floated content, so it needs to
* establish a new block formatting context without using overflow: hidden.
*/

.card-container {
}

.card-header-3 {
    display: grid;
    grid-template-columns: 50% auto 30%;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    .card-header-3 {
        display: grid;
        grid-template-columns: 100%;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    .card-header-3 {
        display: grid;
        grid-template-columns: 100%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .card-header-3 {
        display: grid;
        grid-template-columns: 50% auto 30%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

.business-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    position: relative;
    /*width: 40%;*/
}

.business-card-logo {
    width: 100%;
}

.business-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.business-card-container {
    padding: 2px 16px;
}

.business-card-options {

    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding-left: 0.33rem;
    padding-right: 0.33rem;
    font-size: x-large;
}


.horizontal .business-card-options {

    top: 0.25rem;
    right: 0.25rem;
}

.horizontal .business-card-container {
    padding: 2px .5rem;
    margin-top: 4rem;
}

/*.horizontal .business-card-container {*/
/*}*/

.business-card.horizontal {
    display: grid;
    grid-template-columns: 50% 50%;
}

.business-card.horizontal h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: small;
}

.business-card.horizontal p {
    display: none;
}
