body {
    padding-top: 51px;
    background-color: #201020;
}

footer {
    padding: 30px 0px;
}

a {
	color: #428bca;
}

a, a:active, a:focus, 
button, button:focus, button:active, 
.btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
	outline: none;
	outline: 0;
}

input::-moz-focus-inner {
	border: 0;
}

/* iOS stuff */
input[type="text"] {
	-webkit-appearance: none;
}

.navbar-fixed-top .nav {
    padding: 15px 0px;
}

.container-main {
	min-height: calc(100vh - 51px);
	padding-top: 20px;
	background-color: #f4f4f4;
}

.text-on-light {
	text-shadow: 1px 1px 1px #d0d0d0, 1px -1px 1px #d0d0d0, -1px -1px 1px #d0d0d0, -1px 1px 1px #d0d0d0;
}

.text-on-dark {
	text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px -1px 1px black, -1px 1px 1px black;
}

.text-on-tan {
	text-shadow: 1px 1px 1px #e4dfcc, 1px -1px 1px #e4dfcc, -1px -1px 1px #e4dfcc, -1px 1px 1px #e4dfcc;
}

.shadow-sm {
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.33);
}
.shadow-md {
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.shadow-lg {
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.33);
}

.hover-shadow-md {
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.hover-shadow-md:hover {
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.67);
}

.quotesection {
	margin: 18px 19px 23px 19px;
	font-family: serif;
	font-size: large;
	font-style: italic;
}

@media only screen and (min-width: 481px) {
	.quotesection {
		font-size: x-large;
	}
}

@media only screen and (min-width: 992px) {
	.quotesection {
		margin: 36px 38px 46px 38px;
	}
}

.quoteattribution {
	white-space: nowrap;
	padding-left: 12px;
	font-family: Roboto, sans-serif;
	font-size: small;
	font-style: normal;
}

.bullet-after {
}
.bullet-after ul {
	display: inline-block;
	margin: 0;
	padding: 0;
}
.bullet-after li {
	display: inline;
	margin: 0;
}
.bullet-after li:after {
	content: " ";
	letter-spacing: 0.5em;
	background: center center no-repeat url(bullet.png?v=4);
	background-size: 1em 1em;
}

.links-section {
	padding: 10px 40px 10px 40px;
	text-align: center;
	background-color: rgba(224, 224, 224, 0.7);
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.33);
}
.links-section a {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 0px;
	padding: 6px 10px 6px 10px;
	border: 1px solid transparent;
    outline: none;
	text-decoration: none;
	white-space: nowrap;
	color: black;
	text-align: center;
	font-family: Quicksand, sans-serif;
	font-size: 18px;
	line-height: 39px;
/*	font-weight: bold;*/
}
.links-section a:hover,
.links-section a:focus,
.links-section a:active {
    background-color: #c0c0c0;
/*    border: 1px solid #c0c0c0;*/
	color: black;
}

.search-item {
}

.search-form {
	display: inline-block;
}

.search-results-form {
	display: inline-block;
	width: 100%;
}

.search-field-container {
	margin-right: 26px;
	width: 106px;
}

.search-results-field-container {
	margin-right: 26px;
	width: 100%;
}

.search-field {
	-webkit-border-top-left-radius: 5px;
	-moz-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 0;
	-moz-border-top-right-radius: 0;
	border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-bottom-right-radius: 0;
	border-bottom-right-radius: 0;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-bottom-left-radius: 5px;
	border-bottom-left-radius: 5px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    outline: none;
	background-color: white;
	height: 33px;
	width: calc(100% - 26px);
	font-family: Quicksand, sans-serif;
	font-size: 18px;
	padding: 0px 5px 0px 5px;
}

.search-button {
	position: absolute;
	-webkit-border-top-right-radius: 5px;
	-moz-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
    border: 1px solid #ccc;
	background-color: #e6e6e6;
	height: 33px;
	padding: 0px 5px 3.5px 5px;
	margin-left: -2px;
}
.search-button:hover,
.search-button:focus {
    background-color: #c6c6c6;
}
.search-button:active {
	background-color: #e6e6e6;
}

.search-icon {
	width: 16px;
	height: 16px;
/*	margin-bottom: 4px;*/
}

.search-result {
	margin-left: 20px;
	text-indent: -20px;
	font-size: small;
}
.search-result-title {
	font-family: Quicksand, sans-serif;
	font-size: large;
	font-weight: bold;
}

@media only screen and (min-width: 321px) {
	.search-field-container {
		width: 126px;
	}
}

@media only screen and (min-width: 481px) {
	.search-result {
		font-size: medium;
	}

	.search-field-container {
		width: 146px;
	}

	.search-results-field-container {
		width: 326px;
	}
}

.navbar-fixed-top .navbar-brand {
    padding: 0px 15px;
}

.navbar {
	background-color: rgba(224, 224, 224, 0.8);
	border-bottom: 1px solid rgba(64, 64, 64, 0.5);
	margin-bottom: 0px;
}

.navbar-brand {
	margin-top: 0px;
	margin-right: 20px;
}
@media only screen and (min-width: 768px) {
	.navbar-brand {
		margin-top: 3px;
	}
}

.nav-pills > li {
	padding: 0px;
	margin: 0px;
}

.nav-pills > li > a {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 1px 4px 1px 4px;
	padding: 6px 15px 6px 15px;
	border: 1px solid transparent;
    outline: none;
	color: black;
	text-align: center;
	font-family: Quicksand, sans-serif;
	font-size: 18px;
	font-weight: bold;
	line-height: 20px;
}
.nav-pills > li > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li > a:active {
    background-color: #f0f0f0;
/*    border: 1px solid #f0f0f0;*/
	color: black;
	text-shadow: none;
}

.center-vertical {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.mobile-menu-handle {
	float: left;
	width: 1px;
	height: 100%;
	margin-left: -1px;
	background-color: rgba(64, 64, 64, 0.5);
	cursor: pointer;
}

.mobile-menu-handle-arrow {
	-webkit-border-top-left-radius: 13px;
	-moz-border-top-left-radius: 13px;
	border-top-left-radius: 13px;
	-webkit-border-bottom-left-radius: 13px;
	-moz-border-bottom-left-radius: 13px;
	border-bottom-left-radius: 13px;
	margin-left: -12px;
	width: 12px;
	height: 25px;
	padding-top: 1px;
	padding-left: 4px;
	color: #ddd;
    background-color: rgba(64, 64, 64, 0.5);
	font-size: 16px;
/*	box-shadow: -1px 0px 1px rgba(0, 0, 0, 0.33);*/
}

.login-link {
	font-size: small;
	color: #ddd;
}

@media (min-width: 768px) {
    body {
        padding-top: 86px;
		background-position: center 86px;
    }

	.container-main {
		min-height: calc(100vh - 86px);
	}

    .navbar-fixed-top .navbar-brand {
        padding: 15px 0px 15px 10px;
    }
    
    .mobile-menu-handle {
		display: none;
	}
}

.navbar-toggle {
	color: black;
}
.navbar-toggle-open,
.navbar-toggle-open:hover,
.navbar-toggle-open:focus,
.navbar-toggle-open:active {
	background-color: #d0d0d0;
	border: 1px solid #d0d0d0;
}
.navbar-toggle-close,
.navbar-toggle-close:hover,
.navbar-toggle-close:focus,
.navbar-toggle-close:active {
	background-color: #f0f0f0;
	border: 1px solid #f0f0f0;
}

.icon-bar {
	background-color: black;
	border-color: black;
}

.side-menu {
	background-color: #d0d0d0;
    position: fixed;
    width: 180px;
    height: 100%;
    top: 51px;
    padding-bottom: 50px;
    right: -180px;
    z-index: 1000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
 
.side-menu a {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
    display: block;
    margin: 10px;
	padding: 6px 15px 6px 15px;
	border: 1px solid transparent;
	outline: none;
    text-decoration: none;
	color: black;
	text-align: center;
	font-family: Quicksand, sans-serif;
	font-size: 18px;
	font-weight: bold;
	line-height: 20px;
}
.side-menu a:hover,
.side-menu a:focus,
.side-menu a:active {
	background-color: #f0f0f0;
/*    border: 1px solid #f0f0f0;*/
	color: black;
}

.side-menu.side-menu-open {
    right: 0px;
}

@media screen and (max-width: 767px) {
	.polaroids li:nth-child(n+5) {
		display: none;
	}
}

ul.polaroids {
	text-align: center;
	padding: 0px;
	margin: 20px 0px 20px 0px;
}

ul.polaroids li {
	display: inline-block;
	margin: 0px;
}

ul.polaroids a {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-background-clip: border-box;
	background: #fff;
	display: inline;
	float: left;
	margin: 15px;
	width: auto;
	padding: 10px 10px 15px;
	text-align: center;
	text-decoration: none;
	outline: none;
	font-family: "Rock Salt", sans-serif;
	color: #404040;
	font-size: 18px;
	-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.33);
	-moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.33);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.33);
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
	transform: rotate(-2deg);
	-webkit-transition: -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
	-moz-transition: -moz-transform 0.1s ease, -moz-box-shadow 0.1s ease;
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

ul.polaroids li {
	padding: 0px;
}

@media screen and (max-width: 768px) {
	ul.polaroids li a {
		margin: 10px;
	}
}

ul.polaroids img {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-background-clip: padding-box;
	display: block;
	width: 200px;
	margin-bottom: 12px;
}

ul.polaroids a:after {
	content: attr(alt);
}

ul.polaroids li:nth-child(even) a {
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	transform: rotate(2deg);
}
ul.polaroids li:nth-child(3n) a {
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
	position: relative;
	top: -5px;
}
ul.polaroids li:nth-child(5n) a {
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	transform: rotate(5deg);
	position: relative;
	right: 5px;
}
ul.polaroids li:nth-child(8n) a {
	position: relative;
	right: 5px;
	top: 8px;
}
ul.polaroids li:nth-child(11n) a {
	position: relative;
	left: -5px;
	top: 3px;
}

@media only screen and (min-width: 481px) {
	ul.polaroids li a:hover {
		-webkit-transform: scale(1.33);
		-moz-transform: scale(1.33);
		transform: scale(1.33);
		position: relative;
		-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
		-moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
		z-index: 3;
	}
}
