/*** Bootstrap 4 Cards - Cansu's code for bootstrap cards ***/

.card {
    position: relative;
    display: block;
    margin-bottom: 25px;
    background-color: #fff;
}

.card-image {
    height: 175px;
    overflow: hidden;
    text-align: center;
    padding: 7.5px 0;
    border: 2px solid rgba(91, 185, 71, .33);
}

.card-image img {
    width: auto;
    height: 100%;
}

.card-block {
    padding: 0.4rem
}

.card-block::after {
    content: "";
    display: table;
    clear: both
}

.card-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.card-link {
    border: 1px solid #5AB946;
    color: #5AB946;
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    transition: all 0.3s;
}

.card-link:hover {
    background: #5AB946;
    color: #fff;
}

.card-title {
    margin-bottom: .75rem;
    min-height: 34px;
}

.card-subtitle {
    margin-top: -.375rem;
    margin-bottom: 0
}

.card-text:last-child {
    margin-bottom: 0
}

.card-link:hover {
    text-decoration: none
}

.card-link + .card-link {
    margin-left: 1.25rem
}

.card > .list-group:first-child .list-group-item:first-child {
    border-top-right-radius: .25rem;
    border-top-left-radius: .25rem
}

.card > .list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid rgba(0, 0, 0, .125)
}

.card-header::after {
    content: "";
    display: table;
    clear: both
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: #f5f5f5;
    border-top: 1px solid rgba(0, 0, 0, .125)
}

.card-footer::after {
    content: "";
    display: table;
    clear: both
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
}

.card-header-tabs {
    margin-right: -.625rem;
    margin-bottom: -.75rem;
    margin-left: -.625rem;
    border-bottom: 0
}

.card-header-pills {
    margin-right: -.625rem;
    margin-left: -.625rem
}

.card-primary {
    background-color: #0275d8;
    border-color: #0275d8
}

.card-primary .card-footer,
.card-primary .card-header {
    background-color: transparent
}

.card-success {
    background-color: #5cb85c;
    border-color: #5cb85c
}

.card-success .card-footer,
.card-success .card-header {
    background-color: transparent
}

.card-info {
    background-color: #5bc0de;
    border-color: #5bc0de
}

.card-info .card-footer,
.card-info .card-header {
    background-color: transparent
}

.card-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e
}

.card-warning .card-footer,
.card-warning .card-header {
    background-color: transparent
}

.card-danger {
    background-color: #d9534f;
    border-color: #d9534f
}

.card-danger .card-footer,
.card-danger .card-header {
    background-color: transparent
}

.card-outline-primary {
    background-color: transparent;
    border-color: #0275d8
}

.card-outline-secondary {
    background-color: transparent;
    border-color: #ccc
}

.card-outline-info {
    background-color: transparent;
    border-color: #5bc0de
}

.card-outline-success {
    background-color: transparent;
    border-color: #5cb85c
}

.card-outline-warning {
    background-color: transparent;
    border-color: #f0ad4e
}

.card-outline-danger {
    background-color: transparent;
    border-color: #d9534f
}

.card-inverse .card-footer,
.card-inverse .card-header {
    border-color: rgba(255, 255, 255, .2)
}

.card-inverse .card-blockquote,
.card-inverse .card-footer,
.card-inverse .card-header,
.card-inverse .card-title {
    color: #fff
}

.card-inverse .card-blockquote .blockquote-footer,
.card-inverse .card-link,
.card-inverse .card-subtitle,
.card-inverse .card-text {
    color: rgba(255, 255, 255, .65)
}

.card-inverse .card-link:focus,
.card-inverse .card-link:hover {
    color: #fff
}

.card-blockquote {
    padding: 0;
    margin-bottom: 0;
    border-left: 0
}

.card-img {
    border-radius: calc(.25rem - 1px)
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem
}

.card-img-top {
    width: 100%;
}

.card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

@media (min-width: 576px) {
    .card-deck {
        display: table;
        width: 100%;
        margin-bottom: .75rem;
        table-layout: fixed;
        border-spacing: 1.25rem 0
    }

    .card-deck .card {
        display: table-cell;
        margin-bottom: 0;
        vertical-align: top
    }

    .card-deck-wrapper {
        margin-right: -1.25rem;
        margin-left: -1.25rem
    }

    .card-group {
        display: table;
        width: 100%;
        table-layout: fixed
    }

    .card-group .card {
        display: table-cell;
        vertical-align: top
    }

    .card-group .card + .card {
        margin-left: 0;
        border-left: 0
    }

    .card-group .card:first-child {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0
    }

    .card-group .card:first-child .card-img-top {
        border-top-right-radius: 0
    }

    .card-group .card:first-child .card-img-bottom {
        border-bottom-right-radius: 0
    }

    .card-group .card:last-child {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0
    }

    .card-group .card:last-child .card-img-top {
        border-top-left-radius: 0
    }

    .card-group .card:last-child .card-img-bottom {
        border-bottom-left-radius: 0
    }

    .card-group .card:not(:first-child):not(:last-child) {
        border-radius: 0
    }

    .card-group .card:not(:first-child):not(:last-child) .card-img-bottom,
    .card-group .card:not(:first-child):not(:last-child) .card-img-top {
        border-radius: 0
    }

    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem
    }

    .card-columns .card {
        display: inline-block;
        width: 100%
    }
}

/*  cards end */

.selected {
    border: 3px solid #CF191F !important;;
    display: inline-block;
}

.selected .card a {
    border: 3px solid #CF191F;
}

.selected .card-block {
    background: #CF191F !important;
}

.card-block:hover {
    background: #CF191F !important;
    text-decoration: none;
}

.card-block {
    background: #000 !important;
    color: #FFF !important;
}

.card a:hover .card-block {
    background: #CF191F !important;
}

.card-block h4 { font-size:15px; }

.card a {
    color: #FFF;
    border: 3px solid #000;
    text-decoration: none;
}

.card a:hover {
    border: 3px solid #CF191F;
    background: #CF191F !important;
}


.card > a {
    display: block;
}
.info-button .glyphicon { top:0 !important; }
@media (max-width: 991px) {
    #vote .row { margin-right:-10px; margin-left:-10px; }
    #vote .col-xs-6, #vote .col-md-3{ padding-right: 10px; padding-left: 10px; }
}

#submit-vote {
    color: #fff;
    margin-top: 30px;
    text-decoration: none;
    background-color: #ad191e;
    background-position: 0 -15px;
}

#submit-vote:hover {
    background-color: #000;
}

.make-choice{
    margin-bottom: 30px;
}

#vote .cat-title {
    font-weight: 400;
    border-bottom: 0;
    padding-bottom: 20px;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
    font-size: 60px;
    text-align: center;
    line-height: 60px;
    color: #0d0d0d;
    box-shadow: none;
}

.step {
    color: #000;
    font-weight: 600;
    margin: 10px;
}

.section-date {
    font-weight: 400;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    font-size: 25px;
    text-align: center;
    line-height: 30px;
    color: #CF191F;
}

[v-cloak] {
    display: none;
}


/*
vuejs transtion
*/
.color-panel-anim-enter-active, .color-panel-anim-leave-active {
    transition: opacity .3s ease;
}

.color-panel-anim-enter, .color-panel-anim-leave-active {
    opacity: 0;
}

.image-anim-enter-active, .image-anim-leave-active {
    transition: all 1.5s .5s;
}

.image-anim-enter, .image-anim-leave-active {
    opacity: 0;
}

.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: table;
    transition: opacity .3s ease;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modal-container {
    width: 300px;
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
    font-family: Helvetica, Arial, sans-serif;
}

.modal-header h3 {
    margin-top: 0;
    color: #ad191e;
}

.modal-body {
    margin: 20px 0;
}

.modal-default-button {
    float: right;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter {
    opacity: 0;
}

.modal-leave-active {
    opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.info-button {
    background: #000; border-radius: 50%; bottom: 85px; color:#fff; font-size: 18px; padding: 2px;position: absolute; right: 25px; z-index: 100;
}