﻿div.polaroid {
    /*width: 80%;*/
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
}

    div.polaroid img {
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    div.polaroid div.polaroid-container {
        text-align: center;
        padding: 10px 20px;
    }

div.polaroid-button-container {
    position: absolute;
    top: -10px;
    right: -25px;
}

    div.polaroid-button-container a {
        height: 20px;
        width: 20px;
        display: inline-block;
        padding-top: 5px;
    }

.fs-12px {
    font-size: 12px;
}

table tr th,
table tr td {
    border: 1px solid #ededed;
    padding: 15px;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #ccc;
    background-color: #7da1c4;
}

/* Donate */
.campaign-price button {
    cursor: pointer;
}

.currencyinput {
    width: 35%;
    position: relative;
    display: inline-block;
}
.currencyinput .sign {
    position: absolute;
    z-index: 1;
    padding: 0 8px 0 8px;
    line-height: 46px;
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}
.currencyinput input {
    padding-left: 20px !important;
}

.campaign-detail .campaign-price input {
    width: 100%;
    border: 0;
    line-height: normal;
    height: 100%;
    padding: 0 8px 0 15px;
    padding-left: 15px;
    height: 46px;
    line-height: 42px;
    border: 2px solid #ededed;
    border-top-color: rgb(237, 237, 237);
    border-right-color: rgb(237, 237, 237);
    border-bottom-color: rgb(237, 237, 237);
    border-left-color: rgb(237, 237, 237);
    margin-right: 5px;
}
.campaign-detail .campaign-price .field-select:after {
    top: 4px;
    right: 4px;
}
.campaign-detail .campaign-price select {
    width: 165px;
    border: 0;
    line-height: normal;
    height: 100%;
    padding: 0 8px 0 8px;
    height: 46px;
    line-height: 42px;
    border: 2px solid #ededed;
    border-top-color: rgb(237, 237, 237);
    border-right-color: rgb(237, 237, 237);
    border-bottom-color: rgb(237, 237, 237);
    border-left-color: rgb(237, 237, 237);
    margin-right: 5px;
}

.campaign-content .latest img {
    margin-bottom: 0;
}
.campaign-detail .latest .campaign-box {
    float: none;
    width: 100%;
    padding: 16px 25px 21px;
    margin-top: 0;
}
.campaign-detail .latest .campaign-item {
    background-color: #f5f6f6;
}
.campaign-detail .latest .campaign-box a.category {
    /*font-size: 12px;*/
    color: #555;
    margin-bottom: 8px;
    display: inline-block;
}
.campaign-detail .latest .campaign-box h3 {
    margin-bottom: 10px;
    height: 20px;
    overflow: hidden;
    font-size: 18px;
}
.current-projects .support-campaign h3 {
    border-bottom: 0;
    margin-bottom: 5px !important;
    padding-bottom: 0;
}
.current-projects .support-campaign h3:after {
    height: 0;
}
.current-projects div.campaign-info-wrapper span {
    display: block;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
}
.current-projects .latest {
    margin-bottom: 0;
}
.current-projects-container {
    padding-top: 35px;
}
h3.support-campaign-title {
    border-bottom: 1px solid #ededed;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 15px !important;
    position: relative;
    margin-bottom: 30px !important;
}
h3.support-campaign-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #538bc0 !important;
    width: 100%;
    display: block;
    height: 1px !important;
}
.campaign-content img[style*="left"] {
    margin-right: 20px;
}

.campaign-content img[style*="right"] {
    margin-left: 20px;
}
@media screen and (max-width: 1200px) {
    .campaign-detail .campaign-price input {
        width: 100%;
    }
}
/* specific to this page */
@media screen and (max-width: 992px) {
    .page-title {
        margin-bottom: -30px;
    }
}
@media screen and (max-width: 577px) {
    .page-title {
        margin-bottom: -30px;
    }
}
@media screen and (max-width: 374px) {
    .campaign-detail .campaign-price input {
        width: 165px;
    }
}
/* sticky donations */
@media (min-width: 992px) {
    #sticky-float.fixed {
        position: fixed;
        top: 0px;
    }

    #sticky-float.absolute {
        position: absolute;
        bottom: 0;
    }
}

@media (min-width: 992px) {
    #sticky-float.fixed,
    #sticky-float.absolute {
        min-width: 290px;
        max-width: 290px;
    }
}

@media (min-width: 1200px) {
    #sticky-float.fixed,
    #sticky-float.absolute {
        min-width: 350px;
        max-width: 350px;
    }
}

.thumbnail-homepage {
    width: 100%;
    height: auto;
}
#donationForm {
    display: table;
}
.default-line-height {
    line-height: 1.15;
}
@media (max-width: 992px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center;
    }
    #donor-list-table_info {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .currency-seperate-line {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
        width: 100%;
    }

    #Donation_Amount {
        width: 165px;
    }
}

@media (max-width: 576px) {
    #Donation_Amount {
        width: 165px;
    }
    li.paginate_button.previous {
        display: inline;
    }

    li.paginate_button.next {
        display: inline;
    }

    li.paginate_button {
        display: none;
    }
}