/*  */

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

body {
    font: 400 16px/1.5em 'Roboto', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fafafc;
    /* overflow-y: auto; */
    color: #768697;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

*:before,
*:after,
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.clearfix {
    overflow: auto;
  }
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

h1,
h2,
h3,
h4,
h5 {
    color: #23282d;
    margin: 0 0 1em;
    font-weight: 500;
    /*  line-height: 1.75rem; */
}

h2 {
    font-size: 18px;
}
h3 {
    font-size: 16px;
    margin-bottom: .5em;
}

.btn {
    color: #252529;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    line-height: 1;
    padding: 0px 16px 0 0;
    font-weight: 700;
    /*    font-size: 16px;*/
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    border: 1px solid #666;
    border-radius: 4px;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /*    height: 64px;*/
    height: 56px;
    background-color: #fff;
    position: relative;
    -webkit-appearance: none;
    overflow: hidden;
    cursor: pointer;
}


.wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /*    min-width: 100vw;
        min-height: 100vh;*/
    width: 100%;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-flow: column wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column wrap;

}

.module {
    text-align: left;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin: 30px auto;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 480px;
}

.module-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 0px 15px 10px;
    display: block;
}

.org-logo .logo {
    background-color: #f0f2f5;
    background-image: url(./img/redbarnet-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    border-radius: 4px;
    margin-right: 0px;
    /* float: left; */ 
    height: 100%;
    margin-bottom:15px;
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
    width: auto;
    background-size: 50% auto;
}


.org-logo .logo:after {
    content: '';
    /* 16:9 ratio */
    /*    padding-top: -webkit-calc(56.25% + 20px);
        padding-top: calc(56.25% + 20px);*/
    padding-top: calc(22.25% + 20px);
    display: block;

}

.org-info {
    display: block;
    /* float: left; */

}

.org-info h2 {
    margin-top: 0;
    margin-bottom: .5em;
    width: auto;
    display: block;
}

.org-info .action {
    font-size: 14px;
    margin: 0 0 .5em;
    line-height: 1.25;
}

.org-info .name {
    color: #23282d;
    font-weight: 500;
    display: inline-block;
}

.org-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    left: -1px;
    margin-left: -10px;
    position: relative;
}

.org-info ul li.full-width {
    display: block;
}
.org-info ul li {
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
    padding-left: 10px;
    margin-bottom: 5px;
    border-left: 1px solid #e5e5e5;
}

.payment-info {
    overflow: hidden;
}

.org-info li p {
    /* color: #909090; */
    display: inline-block;
    width: auto;
    margin: 0;
}

.org-info li p span {
    display: inline-block;
    width: auto;
    margin-left: 5px;
    color: #23282d;
    font-weight: 500;
}

.org-info ul li:only-of-type,
.org-info ul li:first-of-type {
    margin-left: 0;
}

.module-body {
    padding: 30px 15px;
    position: relative;
    /*  float: left; */
    display: block;
    width: 100%;
}

.module-body p {
    color: #999;
}

.module-body ul {
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 -8px;
}
.module-body .steps {margin-bottom: 15px;}
.module-body .steps span  {
    color: #23282d;
    font-size: 13px;
    min-height:24px;
    font-weight: 500;
    line-height:24px;
    display:block;
}

.steps li i{
    content:"";
    background-color: #ae925f;
    width:8px;
    height:8px;
    border-radius: 50%;
    background-repeat:no-repeat;
    -webkit-background-size:contain;
    background-size:contain;
    background-position:center top;
    position:relative;
    display:block;
    float:left;
    margin-right:8px;
}

.form-group label {
    font-size:13px;
    line-height: 1;
    margin-bottom: 8px;
   /*  font-weight: 700;
    letter-spacing: .025em; */
    display: block;
   /*  text-transform: uppercase; */
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    display: block;
    width: 100%;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-radius: 3px;
    color: #2a2d2f;
    height: 38px;
    width: 100%;
    -webkit-appearance: none;
    padding: 0 10px;

}

.form-group input:focus {
    outline: none;
    border-color: #ae925f;
}

.button {
    background-color: #ae925f;
    border: none;
    color:#fff;
    cursor:pointer;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    height: 56px;
    line-height: 56px;
    padding:0 24px;
    width: 100%;
    opacity: .9;
    border-radius: 4px;
}

.button:hover {
    opacity: 1;
}


.tablink {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    float: left;
    height: 40px;
    line-height: 40px;
    padding:0 24px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    width: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    background-color: #fafafc;
    color: #768697;
    border: 1px solid #e5e5e5;
}
.tablink:focus {
    outline: none;
}
.tablink:last-of-type {
    border-left: 0;
}

.tablink.active {
    color:#ae925f;
    background-color: #fff;
    border-bottom: 0;
    border-top-color:#ae925f;
}

.tabs-content {
    padding:15px;
    float: left;
    border: 1px solid #e5e5e5;
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.form-error{
    width:100%;
    float:left;
    padding:10px 12px;
    border:1px solid #b50000;
    border-radius:3px;
    background:#f7eaea;
    margin-bottom: 15px; 
}

.form-error p{
    font-size:13px;
    margin:0;
    color:#b50000;
}

.timer-content-inner {
    padding: 15px;
    text-align: center;
}

.timer-time {
    font-size: 32px;
    font-weight: 700;
    color: #ae925f;
    padding: 0;
}

.phone {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

input[type=radio] {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    margin: 0;
    bottom: 0;
    right: 0;
    -webkit-appearance: none;
    visibility: hidden;
    height: 100%;   
    cursor: pointer;
}

[class*="icon-payment"] {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 14px;
    height: calc(100% - 30px);
    /*    width: 64px;
        min-width: 64px;*/
    width: 56px;
    min-width: 56px;
    left: 0;
    margin-right: 16px;
    position: relative;
    /* -webkit-background-size: contain; */
    background-size: contain;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;

}

[class*="icon-payment"]:after {
    content: '';
    width: 1px;
    height: 100%;
    top: auto;
    bottom: auto;
    background:#999;
    right: 0;
    position: absolute;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
        align-self: center;
    display: block;
}
.icon-payment-card {
    background-image: url(../img/card-icon.svg); 
}

.icon-payment-bs {
    background-image: url(../img/bs-short-logo.svg);
}

.icon-payment-mp {
    background-image: url(../img/mp-short-logo.svg);
}

.icon-arrow-right {
    content: '';
    background: transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #777;
    display: block;
    vertical-align: sub;
    margin-left: auto;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    position: relative;
    padding: 0;
    height: auto;
    width: auto;
    border-right: 0;

}

.module-body ul li button:hover .icon-arrow-right {
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    border-left-color: #666;
}

.module-body ul li {
    margin: 0 8px 10px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.module-body li:first-child:nth-last-child(2),
.module-body li:first-child:nth-last-child(2)~li,
.module-body li:first-child:nth-last-child(3),
.module-body li:first-child:nth-last-child(3)~li {
    width: calc(100% - 16px);
}

.module-footer {
    background: #f0f2f5;
    padding: 20px 15px 30px;
    display: block;
    position: relative;
    /* float: left; */
    border-top: 1px solid #e5e5e5;

}

.fb-footer {
    display: block;
    position: relative;
    width: 100%
}

.module-footer .info-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 -10px;
}

.module-footer p {
    /*  color: #a5a5a5; */
    margin: 0 0 .5em;
    font-size: 13px;
    line-height: 1.5;
}

/* Secure payment */
.module-footer .secure {
    margin: 0 0 8px;
}

.secure .icon-lock {
    background-image: url(../img/lock_full_round.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    line-height: 12px;
    margin-right: 6px;
    margin-top: 1px;
}

.module-footer .secure p {
    font-size: 12px;
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
}

.secure p:after {
    content: '';
    height: 1px;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    display: inline-block;
    background: #cad1d8;
    margin-left: 12px;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
        align-self: center;

}

/* Organisation contact information */
.module-footer ul li {
    line-height: 1.5;
}

.module-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.module .description {
    margin-bottom: 15px;
}

.module-footer .org span {
    font-weight: 700;

}

/* Fundraising footer */
.fb-footer {
    background: #252529;
    color: #fff;
    padding: 15px ;
}

.fb-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

}

.fb-logo img {
    max-width: 100%;
    height: auto;
    width: 186px;
    height: 28px;
}


@media screen and (min-width:992px) and (max-width:1199px) {
    .container {
        max-width: 960px;
    }
    .btn {
        font-size: 14px;
        padding: 0px 10px 0 0;
        height: 56px;
    }

    [class*="icon-payment"] {
        max-width: 56px;
        width: 56px;
        margin-right: 16px;
        left: 0;
        position: relative;
        background-size: contain; 
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
  
    }


}

@media only screen and (max-width:767px) {
  
    .org-logo .logo:after {
        padding-top: calc(22.25% + 20px);
    }



    .module-body li:first-child:nth-last-child(2),
    .module-body li:first-child:nth-last-child(2)~li,
    .module-body li:first-child:nth-last-child(3),
    .module-body li:first-child:nth-last-child(3)~li {
        width: calc(100% - 16px);
    }
    .module-body {
        padding: 30px 15px;
    }

    .module-body ul li {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width:480px) {

    .module {
        max-width: calc(100% - 30px);
        margin: 15px auto;
        position: relative;
        width: 100%;
    }

    .org-info .action {
        font-size: 14px;
        margin: 0 0 15px;
        line-height: 1.5;
    }

    .module-footer {
        padding: 15px 15px 30px;
    }
    .org-info ul {
        left: 0;
        margin: 0;
    }
    .org-info ul li:only-of-type,
    .org-info ul li:last-of-type {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .org-info ul li {
        display: block;
        border-left: none;
        margin: 0 0 8px;
        border-bottom: 1px solid #e5e5e5;
        padding: 0 0 8px 0;
    }

    .org-info li p {
        display: block;

    }

    .org-info li p span {
        display: block;
        float: right;
    }
    .btn {
        height:48px;
        font-size: 12px;
    }
    [class*="icon-payment"] {
        width:48px;
        min-width: 48px;
        height:24px;
    }
    .fb-footer {
        padding: 10px 15px;
    }

}