/*
Theme Name: Up 2 U
Theme URI: http://slickdesign.com.au
Description: A custom wordpress theme built by Slick Design
Text Domain: up-2-u
*/

header form {
    position: relative;
}
header form label.gfield_label, header form .header-hidden {
    display: none;
}

ul.gform_fields {
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.gform_fields .gform_validation_container {
    position: absolute;
    z-index: -99999999;
    left: -2000vw;
}

.header-utils .subscribe-form input[type="text"] {
    border: none;
    height: 32px;
}
.header-utils .subscribe-form button {
    min-width: 0;
}

.header .donate-button {
    padding: 0;
}
.header .donate-button a {
    position: absolute;
    text-align: center;
    background: #b7d432 !important;
    color: #FFFFFF;
    text-decoration: none;
    padding: 20px 20px;
    line-height: 1;
    font-size: 2rem;
    font-family: "Changa One", "Source Sans Pro", Helvetica, Arial, sans-serif;
    white-space: nowrap;
}
.header .donate-button a:hover, .header .donate-button a:focus {
    background: #9db726 !important;
}

main.main {
    overflow: hidden;
}

section.banner .bg {
     background-image: url('./images/banner-special.png');
}

div.gallery dl.gallery-item dt.gallery-icon img {
    border: 0 none transparent ! important;
}

.background-red {
    background-color: #ef5057 ! important;
}
.border-red {
    border-color: #ef5057 ! important;
}

.background-green {
    background-color: #b7d432 ! important;
}
.border-green {
    border-color: #b7d432 ! important;
}

.background-orange {
    background-color: #f5821f ! important;
}
.border-orange {
    border-color: #f5821f ! important;
}

.background-blue {
    background-color: #215eac ! important;
}
.border-blue {
    background-color: #215eac ! important;
}

.background-yellow {
    background-color: #fbd105 ! important;
}
.border-yellow {
    border-color: #fbd105 ! important;
}

.circles > img {
    border-radius: 50%;
    border-style: solid;
    border-width: 5px;
}

.featured-widget > .shortcode-content > p {
    color: #215eac;
    background-image: url(./images/watermark-hands.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    padding: 0 20px 50px 0;
}
@media screen and (min-width: 1081px) {
    .featured-widget > .shortcode-content > p {
        max-width: 455px;
        padding: 0 40px 40px;
    }
}

.gform_widget {
    background-color: #ef5057;
    padding: 30px;
}
.gform_widget .gform_heading {
    position: relative;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.gform_widget .gform_heading h3 {
    color: white;
    font-size: inherit;
    font-family: inherit;
    font-weight: 700;
}
.gform_widget .gform_heading:before {
    content: "";
    width: 64px;
    height: 74px;
    background-image: url(/up2you/wp-content/themes/up2you/images/icons/icn-news.svg);
    background-repeat: no-repeat;
    float: left;
    margin-right: 15px;
}
.gform_widget .gform_body {
    clear: left;
}
.gform_widget label.gfield_label {
    color: white;
}
.gform_widget .gform_footer .btn {
    width: 100%;
    display: block;
}

.field_description_above label {
    float: left;
    margin-right: 10px;
}
.field_description_above .gfield_description {
    font-size: small;
    line-height: 19px;
}
.field_description_above .ginput_container {
    clear: both;
}

ul.gfield_radio {
    display: block;
    padding: 0;
    list-style: none;
}
ul.gfield_radio:after {
    content: "";
    display: table;
    clear: both;
}

.no-top-label > label.gfield_label {
    display: none;
}

.no-street-label .has_street span:nth-child(1) label {
    display: none;
}
.no-street2-label .has_street2.has_street span:nth-child(2) label, .no-street2-label .has_street2:not(.has_street) span:nth-child(1) label {
    display: none;
}

.country-full-width .address_country {
    float: none;
    width: 100%;
    clear: both;
}

.label-side-by-side label.gfield_label {
    float: left;
}
.label-side-by-side .ginput_container {
    float: left;
}
.no-instructions .instruction {
    display: none;
}

.gsection {
    clear: both;
}

.gf_list_inline ul.gfield_radio > li {
    display: inline-block;
}

.name_prefix {
    float: left;
    width: 50%;
}
.name_first {
    float: left;
    clear: left;
    width: 50%;
}
.name_last   {
    float: right;
    width: 50%;
}

.gf_left_half {
    float: left;
    width: 50%;
    clear: left;
}
.gf_right_half {
    float: right;
    width: 50%;
}

.ginput_left {
    float: left;
    width: 50%;
    clear: left;
}
.ginput_right {
    float: right;
    width: 50%;
}

.gform_footer {
    clear: both;
}

.gfield_error input[type="text"], .gfield_error input[type="email"], .gfield_error input[type="tel"], .gfield_error textarea {
    border-color: #ef5057;
}
.gfield_error label.gfield_label {
    color: #ef5057;
}
.gfield_error .validation_message {
    color: #ef5057;
}
.subscribe-form .gform_validation_error .validation_error {
    display: none;
}
.subscribe-form .gfield_error .validation_message {
    display: none;
}
.gform_widget .gfield_error label.gfield_label {
    color: white;
}
.gform_widget .gfield_error .validation_message {
    color: white;
}

.cta-donation {
    border: 3px solid;
    display: block;
    text-align: center;
    font-size: 80px;
    text-decoration: none;
    font-family: Changa One;
    white-space: nowrap;
    line-height: 1.8;
}
.cta-donation sup {
    font-size: 50px;
}
.cta-donation + p {
    font-family: Changa One;
}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em, .h1 em, .h2 em, .h3 em, .h4 em, .h5 em, .h6 em {
    white-space: nowrap;
}

.gallery-item {
    margin: 0 0 10px ! important;
}

.thumbnail-image {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-bottom: 70%;
}
.thumbnail-image.border-img {
    border: 1px solid #215eac;
}
.thumbnail-image.thumbnail-square {
    padding-bottom: 100%;
}
.thumbnail-image.thumbnail-square.border-img {
    padding-bottom: calc(100% - 2px);
}

.article-resource img {
    margin: auto;
    display: block;
}
.article-resource img[src*="/wp-includes/images/media/"] {
    padding: 43px;
}

.inline-logos img {
    padding: 45px;
    width: auto;
    height: auto;
}
.inline-logos svg {
    width: 108px;
    height: 70px;
}
