/**
 * Layout
 */

.ActionDetails__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.ActionDetails__main {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.ActionDetails__sidebar {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-bottom: 2em;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    line-height: 1.2;
}

@media screen and (min-width: 768px) {
    .ActionDetails__content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .ActionDetails__main {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .ActionDetails__sidebar {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
}

/**
 * Main content
 */

.ActionDetails__campaigner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1.5em;
}

.ActionDetails__profilePicture {
    display: block;
    width: 50px;
    height: 50px;
    margin-right: .5em;
    border-radius: 100%;
    box-shadow: 0 0 1px #000;
}

.ActionDetails__campaignerName {
    display: block;
}

.ActionDetails__motivation {
    margin-top: 0.5em;
}

/**
 * Sidebar content
 */

.ActionDetails__footer {
    padding: 1em;
}

.ActionDetails__cover {
    display: block;
}

.ActionDetails__button {
    display: block;
    margin: 0 0 1em 0;
    padding: .5em;
    border: 1px solid;
    text-align: center;
    text-decoration: none;
}

.ActionDetails__button:hover {
    text-decoration: none;
}

.ActionDetails__thermometer {
    display: block;
    margin-top: .2rem;
    background: #e5e5e5;
}

.ActionDetails__thermometer,
.ActionDetails__thermometerFluid {
    border-radius: .5em;
}

.ActionDetails__thermometerFluid {
    display: block;
    border: solid .25em;
}

.ActionDetails__thermometerFluid[style*=' 0%'] {
    visibility:hidden;
}

.ActionDetails__thermometerText {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

