@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700');


/*RESET*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: none;
    border: 0;
    border-radius: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    color: #111;
}
strong {
    font-weight: 700;
}
p,
li {
    font-size: 21px;
    margin-top: 21px;
}


/*OBJECTS*/
button {
    padding: 10px 20px;
    background: #cb0102;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #cb0102;
}
.volunteer button {
    border: 2px solid white;
}
button a {
    color: white;
}
button:hover,
button:focus,
button.large:hover,
button.large:focus {
    background: white;
    color: #cb0102;
    cursor: pointer;
}
button a:hover,
button a:focus {
    color: #cb0102;
}
button.large {
    font-size: 2vw;
    color: white;
    font-weight: 400;
}
button.large i {
    color: white;
    font-size: 1.5vw;
}

nav button {
    display: none;
    float: right;
    margin-right: 5%;
}

.logo-youth {
    max-width: 250px !important;
    width: 90% !important;
    box-shadow: none !important;
}

.facebook {
    border: 7px solid #111;
    border-top: 75px solid #111;
    border-bottom: 0;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 500px;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0px;
    display: block;
}

#map {
    width: 100%;
    height: 400px;
    margin: 0;
    /*-webkit-filter: grayscale(1);
    filter: grayscale(1);*/
}
#map div {
  pointer-events: none;
}

.google-map {
	width: calc(30% - 25px);
    height: 250px;
    display: inline-block;
    margin: 25px;
    vertical-align: top;
    position: relative;
}

.beard {
    width: 40px;
    margin: 25px auto;
    background: #cb0102;
    border-radius: 40px;
}
.beard:hover,:focus {
    background: #111;
}

.thumbnail {
	display: none;
    width: 100%;
    margin-bottom: 10px;
}
.thumb {
    width: 100%;
    display: block;
    box-shadow: none !important;
}

.poster {
    width: 50%;
    float: left;
    margin: 0 25px 25px 0;
}

.number {
    font-weight: 700;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: #cb0102;
    color: white;
    margin: 25px;
    text-align: center;
    display: inline-block;
}
.number-info {
    display: inline;
    font-size: 18px;
}

hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: #ddd;
    margin: 100px 0;
}

.banner-1000 {
	width: 100%;
    display: block;
}
.banner-500 {
	width: 100%;
    display: none;
}


/*CONTAINERS*/
section {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
section.narrow {
    max-width: 1024px;
}
section.background > div {
    width: 60%;
    background: white;
    padding-right: 25px;
}

.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.container-white,
.container-grey,
.container-black,
.container-social {
    padding: 100px 0;
}
.container-grey {
    background: #f9f9f9;
}
.container-black {
    background: #111;
}
.container-social {
	padding-bottom: 0;
    border-bottom: 1px solid #eee;
}
.container-social button {
    display: block;
}

.container-tabs {
    background: #ddd;
    position: relative;
    padding-bottom: 100px;
}
.container-tabs:before {
    content: '';
    width: 100%;
    height: 43px;
    display: block;
    background: #eee;
    position: absolute;
    top: 0;
    left: 0;
}

header {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

header button,
header i,
header .icon {
    float: right;
}
header .icon {
    width: 40px;
    margin: 5px 5px 0 0;
}

header i {
    padding: 10px;
    margin-right: 25px;
    color: #cb0102;
}
header i:hover,
header i:focus {
    color: #111;
}

nav {
    width: 100%;
    padding: 25px 0;
    margin-top: 25px;
    background: #eee;
    text-align: center;
}
nav ul {
    list-style: none;
}
nav ul li {
    display: inline;
    font-size: 18px;
    padding: 0 25px;
}
nav ul li a:hover,a:focus,.active {
    color: #cb0102;
    background-color: transparent;
}
nav ul li a {
    font-weight: 700;
}

.home {
    background: url(../images/banners/home-2000.jpg) no-repeat center fixed #cb0102;
    background-size: cover;
    text-align: center;
    padding: 200px 100px;
    display: none;
}
.home h1 {
    font-weight: 700;
    color: white;
    font-size: 6vw;
    text-shadow: 0 0 25px rgba(0,0,0,0.2);
}

.volunteer {
	background: url(../images/banners/cans-2000.jpg) no-repeat center fixed #cb0102;
    background-size: cover;
    background-blend-mode: darken;
    -webkit-background-blend-mode: darken;
    padding: 200px 0;
    text-align: center;
}
.volunteer h3 {
    font-size: 48px;
    color: white;
    margin-bottom: 50px;
    text-shadow: 0 0 25px rgba(0,0,0,0.2);
}

.contact {
    background: #111;
    text-align: center;
    padding: 100px 0;
}
.contact h4 {
    font-size: 48px;
    color: white;
}

.social {
    padding: 100px 0 0;
    background: #f9f9f9;
}
.social h5 {
    margin-top: 100px;
}

footer {
    background: #cb0102;
    padding: 100px 0;
    position: relative;
}
footer .cell {
    width: 33.33%;
    text-align: center;
}

footer a {
    color: white;
}
footer a:hover {
    text-decoration: underline;
}

footer button {
    border: 2px solid white;
}

footer i {
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    padding: 7px 10px 0;
}
footer i:hover,:focus {
    background: white;
    color: #cb0102;
}
footer .icon {
    width: 40px;
}
footer .salvation-army-logo,
footer .imagine-canada-logo {
    height: 80px;
    margin: 5px;
}

#history {
    background: url(../images/backgrounds/history-1000.jpg) no-repeat center right;
    background-size: auto 100%;
    position: relative;
}
#history:before {
    content: 'The Salvation Army Community church, St. Thomas, St. Catharine Street looking south towards Talbot Street, 1935.” Courtesy of Elgin County archives.';
    font-size: 10px;
    letter-spacing: normal;
    position: absolute;
    bottom: -40px;
    right: 0;
    width: calc(40% - 50px);
    z-index: 100;
    text-align: right;
}

#thrift {
    background: url(../images/backgrounds/thrift-1000.jpg) no-repeat center right;
    background-size: auto 100%;
}
#volunteer {
    background: url(../images/backgrounds/volunteer-1000.jpg) no-repeat center right;
    background-size: auto 100%;
}
#welcome {
	background: url(../images/banners/volunteers-500.jpg) no-repeat center right;
    background-size: auto 100%;
}


/*CELLS*/
.cell-logo {
	width: 50%;
    float: left;
}
.cell-logo .ftlt {
    width: 150px;
    text-align: center;
    margin-right: 25px;
}
.cell-logo .ftlt img {
    width: 100%;
}
.cell-logo .ftlt p {
    font-family: serif;
    font-size: 14px;
}
.cell-logo .salvation-army {
	font-family: 'Source Sans Pro', sans-serif;
    font-size: 36px;
    line-height: 80%;
    margin-top: 50px;
}
.cell-logo .salvation-army strong {
    color: #cb0102;
    font-size: 30px;
}

header .cell-contact,
header .cell-location {
    width: 25%;
	float: left;
    padding-top: 75px;
}
header .cell-contact .icon-small,
header .cell-location .icon-small {
    float: left;
    width: 40px;
    height: 40px;
    background: #cb0102;
    border-radius: 40px;
    color: white;
    text-align: center;
    padding: 5px;
    margin-right: 10px;
    border: 2px solid #cb0102;
}
header .cell-contact .icon-small:hover,:focus,
header .cell-location .icon-small:hover,:focus {
    background: white;
    color: #cb0102;
    cursor: pointer;
}

.cell-1-3 {
    width: calc(30% - 25px);
    display: inline-block;
    margin: 25px;
    vertical-align: top;
    position: relative;
}
.cell-2-3 {
    width: calc(64% - 25px);
    display: inline-block;
    margin: 25px;
    vertical-align: top;
    position: relative;
}

.cell-1-3 .cell-contact,
.cell-1-3 .cell-location,
.cell-1-3 .cell-time,
.cell-1-3 .cell-email {
    width: 100%;
	float: left;
    padding-top: 25px;
}
.cell-1-3 .cell-contact img,
.cell-1-3 .cell-location img,
.cell-1-3 .cell-time img,
.cell-1-3 .cell-email img {
    float: left;
    width: 40px;
    height: 40px;
    background: #cb0102;
    border-radius: 40px;
    color: white;
    text-align: center;
    font-size: 21px;
    padding: 8px;
    border: 2px solid #cb0102;
    margin-right: 10px;
}
.cell-1-3 .cell-contact img:hover,:focus,
.cell-1-3 .cell-location img:hover,:focus,
.cell-1-3 .cell-time img:hover,:focus,
.cell-1-3 .cell-email img:hover,:focus {
    background: white;
    color: #cb0102;
    cursor: pointer;
}

.cell-1-2 {
    width: calc(45% - 25px);
    display: inline-block;
    margin: 0 25px;
    vertical-align: top;
    position: relative;
}
.cell-1-2 img {
    width: 100%;
    height: auto;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
.cell-1-2 .icon-tiny {
    width: 25px !important;
    box-shadow: none;
    transform: translateY(5px);
}

.container-social .cell-1-2 {
    vertical-align: bottom;
}

.glance {
    background: white;
    position: relative;
    padding: 50px 25px 100px;
}
.glance:hover,:focus {
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
}
.glance:before {
    content: '';
    width: 100%;
    height: 100px;
    background: #cb0102;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.glance img {
    background: #111;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    padding: 10px;
    position: relative;
    z-index: 10;
}
.glance button {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: calc(100% - 50px);
}


/*FORM*/
form {
    max-width: 768px;
    margin: 0 auto;
}

label {
    display: none;
}
label.show {
    display: block;
}

input, select, textarea {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 21px;
    color: #111;
    padding: 10px;
    margin: 10px 0;
    border-left: 5px solid white;
    background: white;
}
input:hover,
input:focus,
select:hover,
select:focus,
textarea:hover,
textarea:focus {
    border-left: 5px solid #cb0102;
}
select {
    width: 100%;
    -webkit-appearance: none;
}
input {
    width: 50%;
    float: left;
}
input[type=checkbox] {
    width: auto;
    margin-top: 3px;
    margin-right: 5px;
    vertical-align: middle;
}
textarea {
    width: 100%;
    height: 200px;
}
.checkbox {
    width: 30px;
}


/*MODIFIERS*/
.ftlt {
	float: left;
}
.ftrt {
	float: right;
}
.clear {
    clear: both;
}

.left {
	text-align: left;
}
.right {
	text-align: right;
}
.justify {
	text-align: justify;
}
.center {
    text-align: center;
}

.heading {
    font-size: 48px;
    color: #cb0102;
}
.subheading {
    font-size: 36px;
    color: #111 !important;
    margin-top: 0;
    text-transform: uppercase;
}
.cellheading {
    font-size: 36px;
    color: #cb0102;
}

.elipsis {
    display: block;
    display: -webkit-box;
    height: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#about {
    text-align: center;
}
#about .cell-1-3 {
    text-align: left;
}

small {
    color: inherit;
    font-size: 12px;
}
.caption {
	letter-spacing: normal;
    font-size: 10px;
}

.red {
    color: #cb0102;
}
.white {
    color: white;
}
.bg-grey {
    background: #f9f9f9;
    padding: 10px;
}


/*MEDIA QUERIES*/
@media (max-width:1200px) {
    header .cell-contact span,
    header .cell-location span {
        display: none;
    }
    header .cell-contact,
    header .cell-location {
        width: auto;
        float: right;
    }
    header .cell-contact i,
    header .cell-location i {
        margin: 0 0 0 25px;
    }
    
    .cell-logo {
        width: 75%;
    }
    
    nav {
        padding: 0;
    }
    nav button {
        display: block;
        -webkit-transition: none;
        transition: none;
    }
    nav ul {
        display: none;
        -webkit-transition: none;
        transition: none;
        padding: 25px;
    }
    nav ul li {
        display: block;
        text-align: center;
        margin: 25px 0;
    }
    
    .container-tabs:before {
        content: '';
        display: none;
    }
    .container-tabs {
        padding: 100px 0;
    }
    .container-tabs .cell-1-2 {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

@media (max-width:1024px) {
    header {
        padding-bottom: 0;
    }
    
    .cell-logo .ftlt {
        width: 100px;
    }
    .cell-logo .salvation-army {
	   font-size: 24px;
        margin-top: 25px;
    }
    .cell-logo .salvation-army strong {
        font-size: 21px;
    }
    
    header .cell-contact,
    header .cell-location {
        padding-top: 40px;
    }
    
    .home {
        padding: 150px 0;
        background: url(../images/banners/home-1024.jpg) no-repeat center left #cb0102;
        background-size: cover;
    }
    
    .cell-1-3 {
        width: 40%;
        margin-left: 0;
    }
    
    .google-map {
        width: 100%;
        margin: 25px 0;
    }
    
    hr {
        margin: 50px 0;
    }
    
    .glance {
        width: 100%;
        margin: 10px 0;
        text-align: left;
        padding: 50px;
    }
    .glance:before {
        content: '';
        width: 10px;
        height: 100%;
        background: #cb0102;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    .glance i {
        position: absolute;
        text-align: center;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .glance button {
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        margin-top: 25px;
    }
    
    .volunteer {
        padding: 100px 0;
        background: url(../images/banners/cans-1024.jpg) no-repeat center #cb0102;
        background-size: cover;
    }
    
    #about .cell-1-3 {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #about {
        text-align: left;
    }
}

@media (max-width:768px) {
    .container-white,
    .container-grey,
    .container-black,
    .container-social,
    .volunteer,
    .contact,
    .container-tabs {
        padding: 50px 0;
    }
    .container-tabs > section {
        padding: 0;
        width: 90%;
    }
    
    .cell-logo .ftlt {
        width: 80px;
    }
    .cell-logo .ftlt p {
        display: none;
    }
    .cell-logo .salvation-army {
	   font-size: 21px;
        margin-top: 15px;
    }
    .cell-logo .salvation-army strong {
        font-size: 18px;
    }
    
    header .cell-contact,
    header .cell-location {
        padding-top: 25px;
    }
    header .cell-contact i,
    header .cell-location i {
        margin: 0 0 0 15px;
    }
    
    .home {
        padding: 100px 0;
        background: url(../images/banners/home-768.jpg) no-repeat center left #cb0102;
        background-size: cover;
    }
    
    .contact {
        text-align: left;
    }
    
    .heading {
        font-size: 36px;
    }
    .subheading,
    .cellheading {
        font-size: 24px;
    }
    
    .volunteer {
        padding: 100px 0;
        background: url(../images/banners/cans-768.jpg) no-repeat center #cb0102;
        background-size: cover;
    }
    .volunteer h3 {
        font-size: 36px;
    }
    
    .social {
        display: none;
    }
    
    #map {
	   height: 250px;
    }
    
    footer {
        padding: 50px 0;
        text-align: center;
    }

    footer .cell {
        width: 100%;
        margin: 25px 0;
    }
    
    .thumbnail {
        display: block;
    }
    #history,
    #thrift,
    #volunteer,
    #welcome {
        background: none;
    }
    
    .poster {
        width: 100%;
        margin: 0 0 25px;
    }
    
    #history:before {
        display: none;
    }
    
    section.background > div {
        width: 100%;
        padding: 0;
    }
    
    .cell-1-2,
    .container-white .cell-1-3 {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .container-social #facebook {
        display: none;
    }
    .container-social button {
        display: block;
    }
    
    button.large {
        font-size: 24px;
        margin: 25px 0;
    }
    button.large i {
        font-size: 24px;
    }
}

@media (max-width:532px) {
    header .cell-contact,
    header .cell-location,
    header i.fa {
        display: none;
    }
    
    .cell-logo {
        width: 100%;
    }
    .cell-logo .ftlt {
        margin-right: 10px;
    }
    .cell-logo .salvation-army {
	   font-size: 6vw;
    }
    .cell-logo .salvation-army strong {
        font-size: 4.5vw;
    }
    
    .home {
        background: url(../images/banners/home-500.jpg) no-repeat center left #cb0102;
        background-size: cover;
    }
    
    .volunteer {
        padding: 100px 0;
        background: url(../images/banners/cans-500.jpg) no-repeat center #cb0102;
        background-size: cover;
    }

    .glance {
        padding: 20px;
    }
    
    input,
    select,
    textarea {
        width: 100%;
        margin: 5px 0;
    }
    textarea {
        height: 150px;
    }
    
    .banner-1000 {
        display: none;
    }
    .banner-500 {
        display: block;
    }
}

@media (max-width:414px) {
    
}

@media (max-width:320px) {
    
}