﻿.card {
    background-color: #f7f6f3;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    padding: 5px 15px 0 15px;
    margin: 10px 20px 10px 20px;
    display: inline-block;
    position: relative;
    min-height: 1px;
    -webkit-box-shadow: -1px 3px 5px 0px rgba(50, 50, 50, 0.4);
    -moz-box-shadow: -1px 3px 5px 0px rgba(50, 50, 50, 0.4);
    box-shadow: -1px 3px 5px 0px rgba(50,50,50,0.4);
    cursor: default;
    vertical-align: top;
    height: 200px;
    width: 200px;

    font-size: x-small;
}

.cardPressed {
    -webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.90);
    -moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.90);
    box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.90);
}

.clickableCard {
    cursor: pointer;
}

    /*
        partially based off of bootstrap's .form-control:focus
        wanted to differentiate between .selectedWizardCard
    */
    .clickableCard:hover {
        border-color: #66afe9;
        outline: 0;
    }

.card[disabled='disabled'] {
    background-color: lightgrey;
    box-shadow: none !important;
    opacity: .5;
    cursor: default;
    border: 1px solid gray !important;
}

.cardMenuBar {
    float: right;
    margin-top: -6px;
    margin-right: -10px;

    background-color: #dddddd;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

    .cardMenuBar:hover {
        cursor: pointer;
    }

.card:hover .cardMenuButton {
    color: black;
}

.card .cardButton {
    min-width: 25px;
    min-height: 27px;
    margin-bottom: -1px;
    margin-left: -1px;
    margin-right: -1px;
    float: right;
    padding: 4px 0px 4px 0px;
    z-index: 100;
}

    .card .cardButton:first-child {
        border-bottom-right-radius: 3px;
    }

    .card .cardButton:last-child {
        border-bottom-left-radius: 3px;
    }

    .card .cardButton:hover {
        background-color: #cccccc;
    }

.card .cardFlipButton {
    background-image: url(Images/flip.png);
    background-repeat: no-repeat;
    background-position-y: 3px;
    background-position-x: center;
    display: inline-block;
}

.card .cardMenuButton {
    text-align: center;
    font-size: small;
    float: right;
}

@media screen and (max-width:767px) {
    .card .cardButton {
        min-width: 33px;
        min-height: 33px;
        height: 33px;
        width: 33px;
        padding-top: 8px;
    }

    .card .cardFlipButton {
        background-position-y: 7px;
        background-position-x: center;
    }

    .dropStatementOwner {
        margin-top: -12px;
    }
}

.cardMenuButton .dropdown-toggle {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.cardList {
    margin-left: -15px !important;
    margin-right: 5px !important;
    padding-left: 0px;
    padding-bottom: 5px;
}

/*center cards when content mobile*/
@media screen and (max-width:767px) {
    .cardList {
        text-align: center;
        width: 100%;
    }
}

.card .cardHeader {
    z-index: 10;
}

.cardTitle {
    color: #002355;
}

.card .cardTitle {
    font-size: medium;
}

.cardTitle a {
    color: #002355 !important;
}

.cardBack {
    display: none;
    height: 100%;
}

.card-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #bbb;
    background-color: #eee;
    -webkit-box-shadow: -1px 1px 5px rgba(0,0,0,0.175);
    box-shadow: -1px 1px 5px rgba(0,0,0,0.175);
    padding: 5px 0px 5px 0px;
}

    .card-dropdown-menu li:hover {
        background-color: #ddd;
    }

    .card-dropdown-menu li a {
        padding: 5px 40px 5px 10px;
        display: block;
        text-decoration: none;
    }

.cardRed .titleRow {
    background-color: #c62828 !important;
}

.cardRed .cardTitle {
    color: white;
}

.cardYellow .titleRow {
    background-color: #ffd740 !important;
}

.cardYellow .cardTitle {
    color: rgb(62,62,66);
}

.cardGreen .titleRow {
    background-color: #277538 !important;
}

.cardGreen .cardTitle {
    color: #fcfcfc;
}

.cardGrey .titleRow {
    background-color: #c4c4c4 !important;
}

.cardGrey .cardTitle {
    color: black !important;
}

.cardDefault {
    background-color: #f7f6f3 !important;
}

/*copied styles of bootstrap's .form-control:focus*/
.selectedWizardCard, .selectedWizardCard:hover {
    background-color: white;
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(102,175,233,0.6);
}

    .selectedWizardCard:hover[disabled='disabled'] {
    }

.card .details {
    font-style: italic;
    color: #555555;
    font-weight: 500;
}

.card.federalWithholdingCard {
    font-size: 0.88em;
}

    .card.federalWithholdingCard .titleRow {
        margin-bottom: inherit;
    }

    .card.federalWithholdingCard .longLabel {
        white-space: nowrap;
    }

    .card.federalWithholdingCard .distributionPercent {
        margin-top: 5px;
        margin-bottom: -5px;
    }

.card.stateWithholdingCard .titleRow {
    margin-bottom: 3px;
}

.card.stateWithholdingCard label {
    display: initial;
}
