/* www.HawkinsRails.net 

All CSS by RWH except Bootstrap code 

Collections CSS
top level collection pages
Steam, Shortlines, Mainlines, etc.

*/

#top_bar {
	margin-bottom: 15px;
}

#top_switch {
	margin-top: -20px;
}

.bar {
	text-align: center;
	word-spacing: 20px;
	background-color: #ffcb95;
	font: 1.3rem "Lucida Grande", Lucida, Verdana, sans-serif;
	font-variant: small-caps;
	height: 40px;
	border-radius: var(--corners-element);
	padding-top: 7px;
	margin-bottom: 0;
}

.collection_banner {	
	border: 10px solid white;
	border-bottom: 20px solid white;
	border-radius: var(--corners);
	width: 100%;
}

.collection_logo {
	width: 100%;
	border-radius: var(--corners);
	margin-top: 15px;
	margin-bottom: 15px;
}

.banner_bar_tall {
	position: absolute;
	background-color: white;
	width: 15px;
	height: 530px;
	top: 0;
	left: 0;
	border-radius: calc(var(--corners-md) - 1px);
}

.banner_bar_wide {
	width: 100%;
	height: 15px;
	background-color: white;
	margin-bottom: 15px;
	border-radius: calc(var(--corners-sm) - 1px);
}

.below_tile {
	margin-top: 0;
}

.overview {
	font: 1.3rem Georgia, "Times New Roman", Times, serif;
}

.overview .drop {
	float: left;
	padding: 2px;
	margin-top: 3px;
	height: 125px;
}

.quotation .drop {
	width: 25%;
	padding: 0;
	margin-top: 1px;
}

h5 {
	text-transform: uppercase;
}

.rebel_type {
	background-color: #8d2e20;
	color: #f0ecdb;
	font-weight: bold;
	font-size: 1.3rem;
	padding: 3px 10px;
	border-radius: 3px;
	position: absolute;
}

/* Button groupings */

.buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 15px;
	box-sizing: border-box;
	background: white;
	width: 100%;
	padding: 5px;
	border-radius: var(--corners);
}

.buttons a {
  text-decoration: none;
  display: block;
  box-sizing: border-box;
}

.buttons a img {
  display: block;
  border-radius: var(--corners-button);
  width: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.buttons a:hover img {
  transform: scale(1.02);
  box-shadow: inset 0 0 10px rgba(255, 203, 149, 0.3);
}

.buttons.LG a:hover img {
  transform: scale(1.01);
}

.buttons.XL a:hover img {
  transform: scale(1.01);
}

.buttons.FULL a:hover img {
  transform: scale(1.0075);
}

.buttons.SM a {
	margin: 5px;
	width: calc(50% - 10px);
	border-radius: var(--corners-button);
}

.buttons.MD a {
	margin: 5px 5px 10px;
	width: calc(100% - 10px);
	border-radius: calc(var(--corners-button) + 1px);
}

.buttons.XL a {
	margin: 5px;
	width: calc(100% - 10px);
	max-width: 900px;
	border-radius: calc(var(--corners-button) + 1px);
}

.buttons.FULL a {
	margin: 5px;
	width: calc(100% - 10px);
	max-width: 1200px;
	border-radius: calc(var(--corners-button) + 1px);
}

.buttons.SM .placeholder {
	margin: 5px;
	width: calc(50% - 10px);
}

/* Family Trees */

.tree {
	margin: 25px -5px;
}

.tree img {
	width: 90%;
	margin: 5px;
}

.tree .small {
	width: 65%;
	margin-left: 15%;
}

.type {
	text-transform: uppercase;
}

.type img {
	border: 2.5px solid silver;
	width: 33%;
	float: right;
	margin-left: 10px;
	border-radius: var(--corners);
}

.types ul {
	padding-bottom: 20px;
}

.all ul {
	margin-bottom: 0;
}

.all li {
	font-size: 1.4rem;
	margin-bottom: 5px;
	list-style-type: circle;
	list-style-position: outside;
	margin-left: -15px;
}

.inline_flag {
	width: 25px;
	margin-left: 5px;
	margin-bottom: 2.5px;
	transform: rotate(5deg);
}

/*SCREEN ADJUSTMENTS*/ 

@media (min-width: 768px) {
	
#top_bar {
	width: 575px;
	height: 35px;
	border-radius: var(--corners-sm);
}

#top_switch {
	margin-top: -15px;
}

.collection_banner {
	border-width: 15px;
	border-bottom-width: 20px;
}

.collection_logo {
	border-radius: var(--corners-sm);
	margin-top: 15px;
}

.below_stack {
	margin-bottom: 20px;
	margin-top: 10px;
}

.below_stack img {
	width: 152px;
	transform: rotate(-3deg);
	margin-right: -15px;
	margin-top: -20px;
	border-radius: 4px;
	height: 101px;
}

.below_stack .opposite {
	transform: rotate(3deg);
	margin-top: 20px;
}

.quotation .drop {
	width: 110px;
}

.buttons {
	background-color: transparent;
	padding: 0;
	justify-content: left;
	margin: 0 0 10px;
	gap: 10px
}
	
.buttons.SM a {
	border: 7px solid white;
	width: 233px;
	margin: 0;
}

.buttons.MD a {
	border: 10px solid white;
	width: 315px;
	margin: 0;
}

.buttons.LG a {
	border: 10px solid white;
	margin: 0;
}

.buttons.XL a {
	border: 10px solid white;
}

.buttons.FULL a {
	border: 10px solid white;
}

.buttons a:hover {
	border-color: var(--borange);
}

.buttons.SM .placeholder {
	display: none;
}

.button_spacer {
	border: none;
	width: 233px;
	margin: 0;
	height: 123px;
}

.tree {
	margin-right: 5px;
}

.tree img {
	width: 100%;
	margin: 5px;
}

.tree .small {
	width: 75%;
	margin-left: 17.5%;
}

.tree .pair {
	width: 42%;
	margin: 1px 1px 1px 4px;
}

.all li {
	margin-left: 0;
}

.inline_flag {
	width: 25px;
	margin-bottom: 5px;
	margin-left: 2.5px;
}

.comment {
	max-width: 620px;
}
}

@media (min-width: 992px) {
	
#top_bar {
	width: 100%;
	height: 40px;
}	

.collection_logo {
	margin-top: 12px;
}

.side_stack {
	margin-left: -5px;
}

.side_stack img {
	width: 138px;
	margin-left: -5px;
	transform: rotate(3deg);
	margin-bottom: -5px;
	border-radius: 3px;
	height: 92px;
}

.side_stack .opposite {
	transform: rotate(-3deg);
	margin-left: 5px;
}

.list-group {
	padding-top: 5px;
}

img.list-group-item {
	border: none;
}

.list-group-item {
	text-align: center;
	font-size: 1rem;
	letter-spacing: -.33px;
	border-left-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-radius: 0px;
	padding: 10px;
}

.sidebar_background {
	background-color: white;
	height: 530px;
	border-radius: var(--corners-md);
}

.collections_background {
	background-color: #cccccc;
	border-radius: var(--corners-md);
}

.collections_background .list-group-item {
	background-color: #cccccc;
}

.buttons.SM a {
	width: 227px;
}

.buttons.MD a {
	width: 300px;
}

.buttons.LG a {
	width: 700px;
}

.button_spacer {
	width: 228px;
	height: 123px;
}

.tree .small {
	margin-left: 16%;
}

.comment {
	margin-top: 15px;
	padding: 5%;
}
}

@media (min-width: 1200px) {
	
.banner_bar_tall {
	height: 640px;
}

.side_rotate {
	height: 640px;
	width: 162px;
	left: 15px;
}

.side_stack {
	margin: 0px;
}

.side_stack img {
	width: 165px;
	margin-left: -7px;
	height: 110px;
}

.side_stack .oppositeX {
	margin-left: 7px;
}

.list-group-item {
	font-size: 1.1rem;
}

p.list_top {
	font-size: 1.1rem;
}

.sidebar_background {
	height: 640px;
}

.buttons.SM a {
	width: 220px;
}

.buttons.LG a {
	width: 680px;
}

.button_spacer {
	width: 220px;
	height: 117px;
}

.tree .small {
	margin-left: 15%;
}

.tree .pair {
	width: 42%;
	margin: 1px 1px 1px 9px;
}
}
