/*
    Donation style
*/

section.header {
    margin-top: 75px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: calc(100vw * (346/1930));
    padding: 100px calc((100% - 1200px)/ 2);
    border-bottom: 2px solid rgb(50, 180, 166);
    color: white;
    position: relative;
}

section.header div.title {
    position: absolute;
    top: 35%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 40%;
}

section.header div.title h2 {
    font-size: 35px;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(50, 180, 166);
}

section.header div.title h2 strong {
    color: rgb(243, 64, 35);
}

section.header div.title p  {
    font-size: 30px;
    line-height: 1.3;
    margin: 0.2em 0em;
    color: rgb(50, 180, 166);
    font-weight: 400;
}

section.header div.note {
    position: absolute;
    bottom: 0em;
    left: calc(50% - 600);
    color: rgb(135, 161, 174);
}

section.header div.note span {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-left: 60px;
}

section.header div.note span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url(/wp-content/themes/angelsense/images/promotions/aam/heart_icon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 85% auto;
    width: 61px;
    height: 53px;
}

section.about {
    padding: 2em calc((100% - 1200px)/ 2);
}

section.about h2 span {
    color: rgb(50, 180, 166);
    font-size: 2rem;
    display: inline-block;
    vertical-align: top;
}

section.about h2 img {
    display: inline-block;
    vertical-align: bottom;
    margin: 0.3em 0.5em;
}

section.about div.content {
    display: inline-block;
    vertical-align: middle;
    width: 55%;
}

section.about div.content div {
    margin: 1em 0em;
    color: #292929;
}

section.about div.content div:last-of-type {
    margin-bottom: 0;
}

section.about div.content div a {
    text-decoration: underline;
    color: rgb(50, 180, 166);
}

section.about div.article {
    margin-bottom: 2em;
    border-bottom: 2px solid rgba(128, 128, 128, 0.1);
    padding-bottom: 2em;
}

section.about div.article:last-of-type {
    border-bottom: none;
}

section.about div.article div.content p,
section.about div.content div p {
    font-size: 18px;
    font-weight: 300;
    color: #292929;
}

section.about div.article div.content p strong,
section.about div.content div p strong {
    color: #292929;
}

section.about div.content div.green p {
    color: rgb(50, 180, 166);
}

section.about div.content div.orange p strong,
section.about div.content div.orange p {
    color: rgb(243, 64, 35);
}

section.about div.image {
    display: inline-block;
    vertical-align: middle;
    width: 44%;
}

section.about div.image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div#contact {
    padding: 0.2em calc((100% - 1200px)/ 2);
    position: relative;
}

div#contact p {
    font-size: 20px;
    color: #292929;
}

#sign {
    display: block;
    margin-top: 1em;
    width: 75%;
    position: relative;
}

#sign div.divider {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    width: 49%;
}

#sign label {
    display: block;
    vertical-align: top;
    margin: 0.5em;
    width: 400px;
}

#sign label span {
    display: block;
    color: rgb(116, 116, 116);
    margin-bottom: 0.2em;
    color: #292929;
}

#sign label textarea,
#sign label select,
#sign label input {
    border: 1px solid rgb(207, 208, 210);
    border-radius: 3px;
    padding: 8px 3px;
    background-color: rgb(250, 250, 250);
    width: 100%;
    resize: none;
}

#sign label textarea {
    height: 105px;
}

#sign label input[type="submit"] {
    background-color: rgb(243, 64, 35);
    color: rgb(255, 255, 255);
    font-weight: 700;
    padding: 12px 5px;
    -webkit-appearance: none;
}

.success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    text-align: center;
}

.success.fail,
.success.show {
    visibility: visible;
    opacity: 1;
}

.success .message {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: rgb(50, 180, 166);
    font-size: 1.3rem;
}

.success .message h3 {
    font-size: 26px;
    color: rgb(41, 41, 41);
}

.success.fail .message h3 {
    color: red;
}

@media only screen and (max-width: 1700px) {
    section.header div.title h2 {
        font-size: 28px;
    }
    section.header div.title p {
        font-size: 22px;
    }
}

@media only screen and (max-width: 1280px) {
    section.header div.title h2 {
        font-size: 22px;
    }
    section.header div.title p {
        font-size: 20px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
    section.header {
        margin-top: 55px;
        padding: 100px calc((100% - 950px)/ 2);
        background-position: center bottom;
    }

    section.header div.title {
        width: 50%;
    }

    section.header div.note {
        display: none;
    }

    div#contact,
    section.about {
        padding: 2em calc((100% - 950px)/ 2);
    }

    #sign {
        width: 100%;
    }
}
