/* Reusable components

NOTE: This is an attempt to start refactoring this CSS,
so it is written min-width instead of max-width like the rest of the CSS.
This is to match the min-width of Bootstrap and make it less confusing.
*/

/* Buttons */

.btn,
.btn-primary,
/* Also including all this specific styling so we don't have to duplicate this styling elsewhere. */
.comment-reply-link, .comment-respond #submit, #wp-calendar #prev a, #wp-calendar #next a, #searchform #searchsubmit, .form-button {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d56223+0,bd4039+100 */
    background: #d56223; /* Old browsers */
    background: -moz-linear-gradient(top, #d56223 0%, #bd4039 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #d56223 0%,#bd4039 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #d56223 0%,#bd4039 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d56223', endColorstr='#bd4039',GradientType=0 ); /* IE6-9 */

    height: 38px;
    padding: 4px 40px;
    border-radius: 26px;
    border: none;
    color: #FFFFFF;
    font-size: 17px;
    font-family: 'Kreon', serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 31px;
    text-align: center;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#bc433e+0,99332c+100 */
    background: #bc433e; /* Old browsers */
    background: -moz-linear-gradient(top, #bc433e 0%, #99332c 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #bc433e 0%,#99332c 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #bc433e 0%,#99332c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc433e', endColorstr='#99332c',GradientType=0 ); /* IE6-9 */

    color: #FFFFFF;
}

btn:active,
btn.active,
.btn-primary:active,
.btn-primary.active {
    color: #ffffff;
    background-color: #832B27;
}


/* White box component */

.white-box {
    margin-top: 40px;
    margin-bottom: 40px;
}

.white-box > *:first-child {
    margin-top: 0;
}

.white-box > *:last-child {
    margin-bottom: 0;
}


/* Orange background component */

.background--orange {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d56223+0,bd4039+100 */
    background: #d56223; /* Old browsers */
    background: -moz-linear-gradient(top, #d56223 0%, #bd4039 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #d56223 0%,#bd4039 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #d56223 0%,#bd4039 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d56223', endColorstr='#bd4039',GradientType=0 ); /* IE6-9 */

    color: #FFFFFF;
}

.background--orange > *:last-child {
    margin-bottom: 0;
}

.background--orange a {
    color: #F1D298;
    text-decoration: none;
    font-family: 'Kreon', serif;
    font-weight: 500;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: 0.4px;
}

.background--orange a:hover {
    color: #FFFFFF;
}

.background--orange h1,
.background--orange h2,
.background--orange h3 {
    color: #FFFFFF;
}

.background--orange strong {
    color: #FFFFFF;
}

.background--orange ul {
    margin: 0;
}

.background--orange li:before {
    content: "•";
    padding-right: 5px;
    color: #F1D298;
}

.background--orange .quoted {
    border-left: 5px solid #F0D29B;
    color: #FFFFFF;
    padding-left: 35px;
    font-weight: 300;
}

.background--orange .quoted > span.quoted-person {
    color: #F1D298;
}


/* Quote component */

.quoted {
    font-size: 20px;
    font-family: 'Kreon', serif;
    font-weight: 500;
    color: #AD3E3A;
    border-left: 7px solid #F1D298;
    padding-left: 35px;
    padding-right: 0px;
    line-height: 32px;
}

span.quoted-person {
    display: inline-block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Kreon', serif;
    line-height: 20px;
    text-transform: uppercase;
    color: #3C3B3C;
}

@media (min-width: 780px) {
    .quoted {
        font-size: 22px;
        padding-left: 50px;
    }
}

@media (min-width: 992px) {
    .quoted {
        border-left-width: 5px;
    }
}


/* Collapseomatic plugin */

.collapseomatic {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0 0 2px 21px;
    font-family: 'Kreon', serif;
    font-size: 20px;
    font-weight: 500;
    color: #AD3E3A;
    background-image: url('../img/arrow-down--red.svg');
    background-size: 13px;
    background-position: left center;
}

.collapseomatic_content {
    margin-left: 45px;
}
