/*Advent Calendar Style*/

.advent-screen-on{width: 100%; height: 100%; margin: 0px; background-color: #038600; visibility: visible; opacity: 1; display: block; position: fixed; z-index: 9998; transition: all 0.3s ease; overflow: auto; text-align: center;}
.advent-screen-off{width: 100%; height: 100%; margin: 0px; background-color: #038600; visibility: hidden; opacity: 0; display: block; position: fixed; z-index: -1; transition: all 0.3s ease;}

.advent-close-button{position: fixed; top: 10px; right: 20px; height: 30px; width: 30px; padding: 0px; text-align: center; line-height: 30px; font-size: 30pt; color: #FF0000; font-weight: bold; font-family: Arial; cursor: pointer;}

.advent-header{display: block; width: 90%; padding: 10px; font-family: alexbrush; text-align: center; font-size: 40pt; color: #FFFFFF; margin-left: auto; margin-right: auto;}

.rules-off{display: block; background-color: #D4D4D4; width: 60%; height: 0px; text-align: center; font-color: #FFFFFF; font-size: 16pt; font-family: junction; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 20px; overflow: hidden; transition: all 0.5s ease;}
.rules-on{display: block; background-color: #D4D4D4; width: 60%; height: 400px; text-align: center; font-color: #FFFFFF; font-size: 16pt; font-family: junction; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 20px; overflow: auto; transition: all 0.5s ease;}

.rules-header{display: block; height: 24px; width: 250px; margin: 0px; padding: 0px; font-size: 16pt; color: #FFFFFF; text-decoration: underline; text-align: center; line-height: 24px; cursor: pointer; font-family: junction; margin-left: auto; margin-right: auto;}

.rules-content{display: block; height: auto; width: 95%; margin: 0px; margin-top: 10px; font-size: 12pt; font-family: Arial; color: #000000; text-align: left; padding: 10px; overflow: auto; line-height: 24px;}

.door-container{display: inline-block; text-align: center; padding: 0px; margin: 60px; margin-top: 10px; margin-bottom: 10px; font-family: alexbrush; font-size: 20pt; color: #FFFFFF;}

.door-closed{display: inline-block; width: 100px; height: 250px; background-color: #864C00; color: #FFFFFF; margin: 60px; margin-top: 10px; margin-bottom: 10px; padding: 0px; position: relative; border: 1px #864C00 solid; cursor: pointer; text-align: center;}

.door-knob{display: block; border: 0px; border-radius: 10px; height: 10px; width: 10px; background-color: #FFEB61; position: absolute; top: 118px; right: 6px;}
.ul-panel{display: block; height: 100px; width: 34px; border: 2px #000000 solid; position: absolute; left: 6px; top: 10px;}
.ur-panel{display: block; height: 100px; width: 34px; border: 2px #000000 solid; position: absolute; right: 6px; top: 10px;}
.ll-panel{display: block; height: 100px; width: 34px; border: 2px #000000 solid; position: absolute; top: 134px; left: 6px;}
.lr-panel{display: block; height: 100px; width: 34px; border: 2px #000000 solid; position: absolute; top: 134px; right: 6px;}

.door-open{display: inline-block; width: 100px; height: 250px; background-color: #000000; color: #FFFFFF; margin: 60px; margin-top: 10px; margin-bottom: 10px; padding: 0px; position: relative; border: 1px #864C00 solid; text-align: center; font-family: Arial; font-size: 14pt;}

.open-door{display: block; height: 250px; width: 50px; position: absolute; left: -51px; top: 41px; background-color: #864C00; transform: skew(0deg,-60deg); margin: 0px; padding: 0px;}

.bottom-box-on{display: block; height: auto; overflow: auto; width: 90%; text-align: center; opacity: 1; visibility: visible; z-index: 9998; transition: all 0.3s ease; margin-top: 30px; margin-bottom: 20px; font-family: junction; color: #FFFFFF; font-size: 16pt; margin-left: auto; margin-right: auto;}
.bottom-box-off{display: block; height: 0px; overflow: hidden; width: 90%; text-align: center; opacity: 0; visibility: hidden; z-index: -1; transition: all 0.3s ease; margin-top: 0px; margin-bottom: 0px; font-family: junction; color: #FFFFFF; font-size: 16pt; margin-left: auto; margin-right: auto;}

.answer-box{display: block; width: 90%; height: auto; background-color: #E5E5E5; color: #000000; font-family: Arial; font-size: 12pt; font-weight: bold; padding: 10px; border-radius: 10px; text-align: left; overflow: auto; margin-left: auto; margin-right: auto; margin-top: 20px; margin-bottom: 20px; min-height: 24px;}

.advent-buttons{display: inline-block; text-align: center; background-color: #E5E5E5; color: #000000; border-radius: 10px; margin: 20px; padding: 10px; cursor: pointer; line-height: 24px; height: 20px;}

@media screen and (max-width: 700px)
{
.door-container{margin: 0px; margin-left: 0px; margin-right: 0px; margin-top: 10px; margin-bottom: 10px; width: 40%;}
.door-closed{margin: 0px;}
.door-open{margin: 0px;}
}