@font-face {
    font-family: "PWChristmas";
	src: url("/media/PWChristmasfont.ttf");
	
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    color: white;
}

small {
    font-size: 0.95em;
}

body {
    background: darkblue url(/media/forest.jpg) no-repeat;
	background-size: cover;
    background-position: 50% 50%;
    overflow: hidden;
	position: fixed;
}

div.center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

div.flex-1-1 {
    flex: 1 1 0px;
}

header {
	width: 100vw;
	display: flex;
    justify-content: center;
    align-items: center;
	padding-top: 20px;
}

header div {
    background: whitesmoke;
    color: black;
    font-size: x-large;
    font-weight: bold;
    height: 50px;
    width: 50vw;
	min-width: 15em;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 24px #999;
    border-radius: 10px;
}

input[type="range"] {
    padding: 0 !important;
}

/* 
========================================================
DOORS
========================================================
*/
div.door {
    position: absolute;
    height: 100px;
    width: 100px;
    border: 3px white solid;
    border-style: dashed dashed dashed solid;
    cursor: pointer;
}
div.door.open {
    cursor: unset;
}

div.door.open div.cover,
div.door.open div.back_cover {
    transform: rotateY(-123deg);
}

div.content {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: antiquewhite;
    color: black;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.door button {
    padding: 6px 8px;
    font-size: .7em;
    margin: 31px 0px;
}

div.cover,
div.back_cover {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform-origin: left center;
    transition: transform 2.5s ease-in-out;
}

div.cover {
    background: #a3a7c1;
    display: flex;
    justify-content: center;
    align-items: center;
	font-family: "PWChristmas";
	
    font-size: xx-large;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    backface-visibility: hidden;
    z-index: 5;
}

div.back_cover {
    background: antiquewhite;
}

/*
========================================================
MODAL
========================================================
*/
div.md-content img {
    max-width: 100%;
    max-height: 250px;
    margin-bottom: 10px;
}

div.md-content ol {
  list-style-position: outside;
  padding-left: 40px;
}

div.md-content ol li {
  margin-left: 20px;
}

div.md-content div.images {
    overflow: hidden;
}

div.md-content div.center * {
    max-height: 300px;
    margin: 0 10px;
}

#modal-07 div.center img {
    max-width: 275px;
}

#modal-07 div.center video {
    max-height: 250px;
}

button {
	border: none;
	padding: 0.6em 1.2em;
	background: #fff;
	color: #222;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 2px;
	border-radius: 2px;
}

button:hover {
	background: #ddd;
}

button.md-close {
    margin-top: 20px;
}

div.md-alert .md-content {
    background-color: tomato;
}

div.md-alert .md-content img.icon {
    position: absolute;
    height: 80px;
    top: 3px;
}

img.pulse {
    transform: scale(1);
    animation: pulse 2s infinite;
}

div.md-alert button.md-close {
    margin-top: 20px;
}

div.md-alert input {
    width: 85%;
    color: #222;
    border: 0;
    border-radius: 10px;
    padding: 7px 5px;
    text-align: center;
    margin-top: 10px;
    box-shadow: inset 0 0 10px #bbb;
}

div.md-alert .md-content img.santa {
    display: none;
    position: absolute;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

/* Chrome, Safari, Edge, Opera */
div.md-alert input::-webkit-outer-spin-button,
div.md-alert input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
div.md-alert input[type=number] {
  -moz-appearance: textfield;
}

div.md-alert button.md-close.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    
    20% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/*
========================================================
SPECIAL MODALS
========================================================
*/
#modal-04-protection table {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#modal-04-protection table td {
    padding: 20px 0;
    font-size: medium;
}

#modal-07-protection .center span {
    color: #000;
    font-size: 50px;
    font-weight: bold;
}

#modal-07-protection .center img {
    height: 100px;
    margin: 0 30px;
}

#modal-13-protection .center img {
    height: 100px;
}

img.podcaster {
    transition: .1s;
}

img.podcaster.selected {
    border: 4px #4a79fd solid;
    border-radius: 3px;
}

#modal-18-protection input.input-inline {
    display: inline;
    font-size: 1em;
    width: 4em;
    margin: 0;
    padding: 3px;
}

/* 
========================================================
OTHER
========================================================
*/
#santa {
    position: fixed;
    top: 30%;
    left: 100vw;
    width: 150px;
    height: auto;
    z-index: 10;
    transition-timing-function: linear;
}

/* 
========================================================
TOASTR OVERRIDES
========================================================
*/
#toast-container > div {
    width: 600px !important;
    margin-bottom: 20px;
}

