body {
    color: #666;
}

h1,h2,h3,h4,h5,h6 {
    color: white;
}

.l-box {
    padding: 2em;
}

.header .pure-menu {
    border-bottom-color: black;
    border-radius: 0;
}

.photo-box, .text-box {
    overflow: hidden;
    position: relative;
    height: 250px;
    text-align: center;
}

.photo-box-xtall {
	height: 420px;
}

.photo-box-xxtall {
	height: 500px;
}

.photo-box-tall {
	height: 350px;
}

.photo-box-med {
	height: 290px;
}

.photo-box-thin {
    height: 120px;
}

.photo-box-title {
    height: 95px;
}


    .photo-box img {
        max-width: 100%;
        height: auto;
        min-height: 250px;
    }
	
	.photo-box-med img {
        min-height: 290px;
    }
	
	.photo-box-tall img {
        min-height: 350px;
    }
	
	.photo-box-xtall img {
        min-height: 420px;
    }

    .photo-box aside {
        position: absolute;
        bottom: 0;
		width: -moz-calc(100% - 32px);
		width: -webkit-calc(100% - 32px);
		width: calc(100% - 32px);
        padding: 1em 0.5em;
        color: white;
        font-size: 80%;
        text-align: right;
        background: -moz-linear-gradient(top,  rgba(16,27,30,0) 0%, rgba(12,2,2,1) 90%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(16,27,30,0)), color-stop(90%,rgba(12,2,2,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00101b1e', endColorstr='#0c0202',GradientType=0 ); /* IE6-9 */

    }

    .photo-box aside span {
        color: #aaa;
    }

        .photo-box aside span a {
            color: #ccc;
            text-decoration: none;
        }

.text-box {
	background-color:rgba(0,0,0,0); /*This makes margin*/
    /*background: rgb(49, 49, 49);*/ /* bluish grey */
    color: rgb(255, 190, 94); /* steel blue */
}

.text-box-tall {
	height: 350px;
}

.text-box-xtall {
	height: 420px;
}

.text-box-xxtall {
	height: 500px;
}

    .text-box-head {
        color: #fff;
        padding-bottom: 0.2em;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 24px;
    }

    .text-box-subhead {
        font-weight: normal;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

.form-box {
    text-align: center;
    font-size: 120%;
    border-bottom: 1px solid #eee;
}

    .form-box .pure-button {
        background-color: #61B842;
        color: white;
        vertical-align: top;
        font-size: 85%;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-radius: 4px;
        margin: 0.3em;
    }
    .pure-form input[type] {
        margin: 0.3em auto;
        text-align: center;
    }

.footer {
    background: #111;
    color: #666;
    text-align: center;
    padding: 1em;
    font-size: 80%;
}

@media (min-width: 30em) {
    .photo-box, .text-box {
        text-align: left;
		padding-right:10px;
    }

    .photo-box-thin {
        height: 250px;
    }
}

/* add the padding*/
.photo-box {
		padding-top: 20px;
		padding-right:10px;
		padding-left:10px;
    }
	
.caption-box {
	position: absolute;
	padding: 15px;
	background: black; /*if no opacity*/
	background: rgba(0,0,0,0.5);
	border-bottom: -moz-linear-gradient(top,  rgba(16,27,30,0) 0%, rgba(12,2,2,1) 90%); /* FF3.6+ */
	border-bottom: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(16,27,30,0)), color-stop(90%,rgba(12,2,2,1))); /* Chrome,Safari4+ */
	border-bottom: -webkit-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* Chrome10+,Safari5.1+ */
	border-bottom: -o-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* Opera 11.10+ */
	border-bottom: -ms-linear-gradient(top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* IE10+ */
	border-bottom: linear-gradient(to top,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%); /* W3C */
	font-family: ubuntu, cursive, HELVETICA, Verdana;
	text-align:left;
	font-size:20px; 
	color: white;
}

.caption-box  a{
	color: #ccc;
	text-decoration: none;
}

.top-left {
	top: 20px;
	left: 10px;
	max-width:40%;
}

.top-full {
	top: 20px;
	left: 10px;
	width: -moz-calc(100% - 50px);
	width: -webkit-calc(100% - 50px);
	width: calc(100% - 50px);
	height: 100%;
}