/**
  Setup for code demo only
*/

:root {
	--carousel-height: 400px;
}


/**
  Wrapper
*/

.carousel {
	position: relative;
}


/**
  Controls - pause/resume, previous, and next buttons
*/


/* Resets for all buttons */

.is-control {
	background: none;
	color: rgba(0, 0, 0, .7);
	border: 0;
	cursor: pointer;
	transition: all .2s linear;
	color: white;
}

.is-control:focus {
	outline: none;
	background-color: rgba(0, 0, 0, .8);
	color: rgba(255, 255, 255, 1);
}


/* Pause/resume button */

.rotation-button {
	position: absolute;
	bottom: 5px;
	left: 5px;
	padding: 10px 15px;
	z-index: 1;
	font-size: 20px;
	border-radius: 5px;
	color: #b3b8c5;
}

.rotation-button .pause-container,
.rotation-button .resume-container {
	display: none;
}

.rotation-button .pause-container.is-visible,
.rotation-button .resume-container.is-visible {
	display: block;
}


/* Previous slide button */

.previous-button {
	position: absolute;
	left: 0;
	top: calc(var(--carousel-height)/2 - 40px);
	padding: 5px 15px;
	z-index: 1;
	font-size: 40px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-left: 0;
	color: #b3b8c5;
}


/* Next slide button */

.next-button {
	position: absolute;
	right: 0;
	top: calc(var(--carousel-height)/2 - 40px);
	padding: 5px 15px;
	z-index: 1;
	font-size: 40px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border-right: 0;
	color: #b3b8c5;
}


/**
  Slides container
*/

.slides {
	/** By default Slick absolutely positions it's slide dots under the slides and adds a bottom margin to prevent overlap with content that follows. Since we're moving the slide dots into the carousel itself, this margin is no longer needed. */
	margin-bottom: 0 !important;
}


/**
  Single slide
*/

.slide {
	position: relative;
	height: var(--carousel-height);
}


/* Make absolutely sure non-visible slides are hidden from all users */

.slide.is-hidden {
	visibility: hidden;
}

.slide .background-image {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}


/**
  Slide 2 content
*/

.slide .content {
	position: absolute;
	top: 50px;
	left: 5%;
	max-width: 500px;
	width: 50%;
	max-height: 80%;
	padding: 15px;
	white-space: normal;
	color: white;
	/*background-color: ;*/
	background-color: rgba(0, 0, 0, 0.6);
	box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, .3);
}

.slide .contentads {
	position: absolute;
	top: 60px;
	right: 15%;
	width: 50%;
	max-height: 80%;
	padding: 15px;
	white-space: normal;
	color: white;
	/*background-color: ;*/
}

.slide .content h1 {
	font-weight: normal;
	font-size: 40px;
	margin-top: 10px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide .content h2 {
	margin: 0;
	font-size: 1.7rem;
}

.slide .content h3 {
	text-transform: uppercase;
	font-size: 25px;
	margin-bottom: 20px;
	letter-spacing: 1px;
	margin-top: 10px;
	font-weight: 300;
	max-width: 420px;
	padding: 0px;
}

.slide .content p {
	margin: 10px 0 20px 0;
}

.slide .content .cta-link {
	display: inline-block;
	padding: 5px 10px;
	background-color: white;
	color: rgba(0, 0, 0, .7);
	text-decoration: none;
	font-weight: 800;
	box-shadow: 3px 3px 0 0 rgba(0, 0, 0, .3);
}

.slide .content .cta-link:focus,
.slide .content .cta-link:hover {
	text-decoration: underline;
	color: black;
}

.slide .content .cta-link:focus {
	outline: 3px solid rgba(0, 0, 0, 1);
}

.spectrum-background {
	background: linear-gradient(to bottom right, #2b2a28, transparent), linear-gradient(to top left, #ff8a00, transparent), linear-gradient(to top right, #dc0b0b, transparent);
	background-blend-mode: screen;
}


/**
  Restyle the slide dots generated by Slick Slider
*/

.slick-dots {
	bottom: 10px;
}

.slick-dots li {
	margin: 0 2px;
}


/* Create a circle to serve as the slide dot */

.slick-dots li button {
	width: 5px;
	height: 10px;
	margin: 0;
	padding: 0;
	background-color: rgba(0, 0, 0, .3);
	border: 0;
	border-radius: 15px;
	cursor: pointer;
	opacity: .7;
	transition: transform .2s linear;
}


/* Get rid of the Unicode • character that Slick injects, which screen readers may attempt to read out as "bullet" */

.slick-dots li button:before {
	content: '';
}


/* Give the focused slide dot a nice visible focus indicator */

.slick-dots li button:focus {
	box-shadow: 0 0 0 1px white, 0 0 0 4px hsl(204, 86%, 53%);
	outline: none;
}


/* Fade in on hover */

.slick-dots li button:hover {
	opacity: 1;
	background-color: orange;
}


/* Leverage aria-current for styling to ensure we're using the attribute correctly */

.slick-dots li button[aria-current="true"] {
	/*        background-color: rgba(0,0,0,1);*/
	background-color: orangered;
	transform: scale(1.4);
}


/* Cards Styling*/


/*Flexbox Cards*/

* {
	box-sizing: border-box;
}

html {
	font-size: 100%;
}


/*
body {
	max-width: 75rem;
	margin: 0 auto; 
	font-size: 1rem;
	line-height: 1.3;
	background-color: #f5f5f5;
}


h1, h5 {
	padding: 0.5rem;
}
*/

.center {
	text-align: center;
}

.cards {
	display: flex;
	flex-flow: row wrap;
	/*margin-left: 2%;*/
}

.card-item {
	display: flex;
	width: 100%;
	padding: 2em;
}


/* ===== == = === 37.5em (600px) === = == ===== */

@media all and (min-width: 37.5em) {
	.card-item {
		width: calc(100% / 12 * 6);
	}
}


/* ===== == = === 56.25em (900px) === = == ===== */

@media all and (min-width: 56.25em) {
	.card-item {
		width: calc(100% / 12 * 6);
	}
}

.card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 100%;
	padding: 1em;
	background-color: #F8FFF8;
	/*	border-radius: 3px;*/
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.card-body p {
	flex: 1 0 auto;
	margin: 0;
}

.card-img {
	width: 100%;
	border-radius: 3px 3px 0 0;
}

.card-img:hover {
	opacity: 0.8;
}

.card-title,
.card-text,
.card-footer {
	padding: 1em 1em 0;
}

.card-footer {
	margin-bottom: 1em;
}


/*
.btn {
	display: inline-block;
	margin: 1rem;
	padding: .45rem 1.25rem;
	font: 700 1rem/1.2 Verdana, sans-serif;
	letter-spacing: .05rem;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(77,77,77,.5);
	background: #1E90FF;
	border-radius: .25rem;
	box-shadow: 0 0 1px 1px rgba(77,77,77,.5);
	color: floralwhite;
	cursor: pointer;
	transition: .5s;
}

.btn:hover {
	background: #ADD8E6;
	color: #333;
}*/

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none; 
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}


.shorthand { 
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.longhand { 
  -webkit-flex-flow: wrap row;
  flex-flow: wrap row;
  
}

.longhand li {
  background: deepskyblue;
}

.flex-item {
  background: tomato;
  padding: 5px;
  width: 100px;
  height: 100px;
  margin: 10px;
  
  line-height: 100px;
  color: white;
  font-weight: bold;
  font-size: 2em;
  text-align: center;
}
