@import url('https://fonts.googleapis.com/css?family=Kanit:100,400,500');
@import "layout.css";

/*-------------------Global Styles----------------*/

body {
    background-color: #ebebeb;
    font-family: 'Kanit', 'Roboto', sans-serif;
    counter-reset: item;
}

.row {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.res-img {
    max-width: 100%;
    max-height: 100%;
}

.smaller {
    font-size: 90% !important;
}

.header.dark-bg {
    color: white;
}

.header {
    text-transform: capitalize;
    margin: 0px !important;
    padding: 23.36px 0 18.688px 0 !important;
    padding: 1.46rem 0 1.168rem 0 !important;
    font-weight: 400;
}

.header span {
    font-weight: 300;
}

.header span:after {
    content: "\A";
}

.header:after {
    width: 80px;
    content: ' ';
    display: block;
    border-bottom: 2px solid red;
    position: relative;
    padding-bottom: 23.36px;
    padding-bottom: 1.46rem;
}

.title {
    border-left: solid 4px #F44336;
    padding-left: 10px;
}

.title span {
    font-weight: 100;
}

.btn-flat {
    color: rgba(255, 255, 255, 0.8) !important;
}

.absolute-center {
    margin: auto;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.soft-center {
    display: block !important;
    margin: auto !important;
    float: none !important;
}

.soft-center:after {
    display: block !important;
    margin: auto !important;
    float: none !important;
}

.soft-center:before {
    display: block !important;
    margin: auto !important;
    float: none !important;
}

.vertical-center {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.zoom-hover-wrapper {
    overflow: hidden;
}

.zoom-hover {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.zoom-hover:hover {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    /* IE 9 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.1, M12=0, M21=0, M22=1.1, SizingMethod='auto expand')";
    /* IE8 */
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.1, M12=0, M21=0, M22=1.1, SizingMethod='auto expand');
    /* IE6 and 7 */
}

.light-font {
    font-weight: 100 !important;
}

.medium-font {
    font-weight: 500 !important;
}

.bold-font {
    font-weight: 700 !important;
}

.modal{
    max-height: 80%;
}
.modal-content{
    height: 80vh !important;
}
.slides{
    height:calc(100% - 40px) !important
}
.slider{
    height: 100% !important;
}
.slider .indicators .indicator-item.active{
    background-color: #ee6e73;
}

/*-------------------nav----------------*/

.logo-header .res-pic {
    margin-top: 15px;
    margin-bottom: 15px;
}

@media screen and (max-width: 992px) {
    .nav {
        width: 100%;
    }
    .flow-text.header{
        padding: 0px 0px 15px 0px !important;
    }
    #past-campaigns .card-title{
        padding-bottom: 0px;
        padding-right: 0px;
    }
}

.nav .res-pic {
    margin-top: 10px;
}

.nav {
    height: 65px;
}

nav {
    -webkit-transition: 500ms;
    transition: 500ms;
    background: none;
    height: 65px !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid gray;
}

nav a {
    color: black !important;
}

.nav .nav-donate {
    position: relative;
    height: 64px;
    color: white;
    line-height: 64px;
}

.nav-extended.pinned {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background-color: black;
}

.nav-extended.pinned a {
    color: white !important;
}

.nav-extended.pinned ul li.active {
    background-color: rgba(255, 255, 255, 0.2);
}
#mobile-menu res-pic{
    margin-top: 10px;
}

/*-------------------SPLASH----------------*/


/* Video Overlay */

#splash {
    background-color: rgba(0, 0, 0, .65);
    /*DARKEN OVERLAY*/
    height: calc(100vh - 128px);
    left: 0;
    position: relative;
    top: 0;
    -webkit-transition: background-color 300ms ease;
    transition: background-color 300ms ease;
    width: 100%;
}

#splash .fade {
    background-color: rgba(0, 0, 0, .85) !important;
}

#splash-title {
    width: 40%;
}


/* Hero Video + Fallback */

#hero-vid {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: no-repeat scroll 0 0 #000;
    background-size: cover;
    bottom: 0;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    -webkit-perspective: 1000;
    perspective: 1000;
    position: fixed;
    right: 0;
    width: auto;
    z-index: -2;
}

#hero-pic {
    display: block;
    height: auto;
    height: 100vh;
    background-position: center;
    background-size: cover;
}

#content {
    background-color: #ebebeb;
    position: relative;
    padding-bottom: 50px;
}

@media only screen and (max-width:768px) {
    #splash {
        height: auto;
    }
}


/* Visibility Helpers */

@media only screen and (min-width:769px) {
    .visible-mobile,
    .visible-tablet,
    .hidden-desktop {
        display: none !important;
    }
}

@media only screen and (min-width:480px) and (max-width:768px) {
    .visible-mobile,
    .hidden-tablet,
    .visible-desktop {
        display: none !important;
    }
}

@media only screen and (max-width:479px) {
    .hidden-mobile,
    .visible-tablet,
    .visible-desktop {
        display: none !important;
    }
}

#splash a {
    color: white;
    text-decoration: none;
}

#splash .arrow {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: block;
    margin: auto;
    width: 90px;
    height: 60px;
}

#splash .arrow a{
    width: 28px;
    display: block;
    margin: 0 auto;
    position: relative;
    bottom: -32px;
}

.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}


/*---------WHAT IS THE BEAUTY OF GIVING-----------------*/

.bog {
    height: auto;
    margin: 50px 0px 0px 0px !important;
    border-top: 1px solid lightgrey;
    border-bottom: 2px solid lightgrey;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.bog-flex {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.bog-pic {
    background-size: cover;
    overflow: auto;
    position: relative;
}

@media only screen and (max-width:700px) {
    .bog {
        display: block !important;
    }
    .bog-pic {
        height: 300px;
    }
}

.bog iframe {
    position: absolute;
    height: 100%;
    width: 100%;
}

.bog ol {
    list-style: none;
}

.bog li {
    counter-increment: item;
    font-size: 120%;
}

.bog li:before {
    content: counter(item) ".";
    color: #F44336;
    font-weight: 700;
    font-size: 150%;
    display: inline-block;
    width: 30px;
}

.bog-love {
    width: 320px;
    max-width: 100%;
    margin: auto;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}


/*-------------------FEATURED----------------*/

.feature {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: auto;
    padding-bottom: 50px;
}

#clockdiv {
    margin: 20px 0px 40px 0px;
}

#clockdiv .header {
    float: left;
    width: 100px;
    padding: 0px !important;
}

#clockdiv .header:after {
    padding-bottom: 16px;
    padding-bottom: 1rem;
    width: 0px;
}

#clockdiv div {
    border-right: 2px #F44336 solid;
    float: left;
    width: 72px;
    text-align: center;
    margin-top: 10px;
}

#clockdiv div:last-child {
    border-right: 0px;
}

@media only screen and (max-width:700px) {
    #progress {
        width: 150px;
        margin: 0 auto;
        max-width: 100%;
    }
    .feature .responsive-img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    .responsive-img#product {
        height: 300px;
    }
    #clockdiv .header {
        float: none;
        width: auto;
    }
    #clockdiv div {
        width: 25%;
    }
}


/*----------PROGRESS--------------*/

.progress-con:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
    overflow: hidden;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: skewY(2deg) translateZ(0);
    transform: skewY(2deg) translateZ(0);
}

.progress-con:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
    overflow: hidden;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: skewY(-2deg) translateZ(0);
    transform: skewY(-2deg) translateZ(0);
}

.progress-con {
    width: 100%;
    position: relative;
    background: -webkit-gradient(linear, left top, right top, from(rgb(225, 225, 225)), to(rgb(195, 195, 195)));
    background: linear-gradient(to right, rgb(225, 225, 225) 0%, rgb(195, 195, 195) 100%);
    margin-bottom: 50px;
    z-index: 0;
}

.progress-con .header {
    margin: -40px 0px -70px 0px !important;
}

.progress-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.progress-number {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    /* additionally, equal width */
    padding: 1em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.progress-number label {
    color: #8c2020;
}

.arrow-con {
    height: 60px;
}

#arrow-grow {
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

#arrow-grow:after {
    content: "";
    display: block;
    height: 50px;
    width: 2px;
    background-color: #5A5351;
    right: 50%;
    -webkit-transition: height 0.5s ease-out;
    transition: height 0.5s ease-out;
}

#arrow-grow:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #5A5351;
    border-right: 2px solid #5A5351;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: calc(100% - 30px);
    position: absolute;
    right: calc(50% - 10px);
}

#arrow-grow:hover {
    cursor: pointer;
}

#arrow-grow.grown:after {
    height: 100px;
}

@media only screen and (max-width:700px) {
    .progress-row {
        display: block;
    }
    .arrow-con {
        height: 80px;
    }
    .progress-con .header {
        margin: 0px !important;
    }
}


/*---------FEATURED CHARITY--------------*/

.btn-floating #prev,
.btn-floating #next {
    margin-top: 10px;
}

#prev,
#next {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    cursor: pointer;
}

#next {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#prev:before,
#next:before {
    content: "";
    display: block;
    height: 2px;
    width: 0px;
    background-color: white;
    right: 50%;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

#prev:after,
#next:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: calc(50% - 5px);
    position: absolute;
    right: calc(19% - 5px);
}

#next:before {
    margin-left: 20px;
}

#prev:before {
    margin-left: 20px;
}

.btn-floating #prev:before,
.btn-floating #next:before {
    margin: 0px;
}

#prev.grown:before {
    width: 20px;
    margin-left: 0px;
}

#next.grown:before {
    width: 20px;
    margin-left: 0px;
}

.carousel-arrow-left,
.carousel-arrow-right {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 2;
    width: 40px;
}

.carousel-arrow-left {
    left: 15px;
}

.carousel-arrow-right {
    right: 15px;
}

#charity-logo {
    max-height: 300px;
    max-width: 300px;
    padding: 25px 0px 25px 0px;
}

#gallery {
    max-width: 680px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.thumbnail-wrapper {
    background-color: #333;
    min-width: 192px;
    min-width: 12rem;
    min-height: 128px;
    min-height: 8rem;
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-preferred-size: 128px;
    flex-basis: 128px;
    -ms-flex-preferred-size: 8rem;
    flex-basis: 8rem;
    margin-right: 2px;
    margin-bottom: 2px;
    overflow: hidden;
}

.thumbnail-wrapper:nth-child(5n) {
    -ms-flex-preferred-size: 224px;
    flex-basis: 224px;
    -ms-flex-preferred-size: 14rem;
    flex-basis: 14rem;
}

.thumbnail-wrapper:nth-child(2n+1) {
    -ms-flex-preferred-size: 160px;
    flex-basis: 160px;
    -ms-flex-preferred-size: 10rem;
    flex-basis: 10rem;
}

.thumbnail-wrapper:nth-child(7n+4) {
    -ms-flex-preferred-size: 320px;
    flex-basis: 320px;
    -ms-flex-preferred-size: 20rem;
    flex-basis: 20rem;
    min-height: 192px;
    min-height: 12rem;
}

.thumbnail {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/*-------------------Past Campaigns----------------*/

.campaigns .bx-wrapper {
    margin-left: auto;
    margin-right: auto;
    background: none;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.campaigns .parallax-container {
    background-color: rgba(0, 0, 0, 0.60)
}

.campaigns .bx-wrapper .bx-pager.bx-default-pager a.active,
.campaigns .bx-wrapper .bx-pager.bx-default-pager a:focus,
.campaigns .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: white;
}

.campaigns .bx-wrapper .bx-pager.bx-default-pager a {
    background: rgba(255, 255, 255, 0.4);
}

.campaigns .slide a {
    width: 300px;
    height: 150px;
    max-width: 100%;
    display: block;
}

.campaigns .image-replaced {
    background-size: cover;
}


/*---------------Footer------------------*/

.scroll-top {
    width: 100%;
}

.scroll-top a {
    display: block;
    margin: 0 auto;
    text-align: center;
    line-height: 1px;
    margin-top: -40px
}

.page-footer {
    background-color: black;
}


/*campaign page*/

.yellow-tilt {
    width: 100%;
    position: relative;
    background: -webkit-gradient(linear, left top, right top, from(rgb(225, 225, 225)), to(rgb(195, 195, 195)));
    background: linear-gradient(to right, rgb(225, 225, 225) 0%, rgb(195, 195, 195) 100%);
    margin-bottom: 50px;
    z-index: 0;
    padding: 25px;
}

.yellow-tilt:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
    overflow: hidden;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: skewY(-2deg) translateZ(0);
    transform: skewY(-2deg) translateZ(0);
    margin-left: -25px;
}

.content-container {
    background-color: white;
    padding: 25px;
    margin: 50px auto;
    overflow: auto;
}


/*partners*/

.supporters-box {
    height: 200px;
    position: relative;
    padding-top: 15px !important;
    margin-bottom: 30px;
    background-color: white;
}

.supporters-box.small {
    height: 160px;
}

.supporters-img {
    height: 140px;
    width: 80%;
    display: block;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.supporters-img.small {
    height: 100px;
    width: 100%;
}

.supporters-btn {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: -100px;
}

.supporters-btn i {
    -webkit-transition: 300ms;
    transition: 300ms;
}

.supporters-btn:hover {
    background-position: center;
}

.supporters-btn:hover i {
    color: transparent !important;
}

.modal-content {
    padding: 0px 0px 15px 0px !important;
}
