/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 @font-face {
    font-family: 'titan_oneregular';
    src: url('../fonts/titanone-regular-webfont.eot');
    src: url('../fonts/titanone-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/titanone-regular-webfont.woff2') format('woff2'),
         url('../fonts/titanone-regular-webfont.woff') format('woff'),
         url('../fonts/titanone-regular-webfont.ttf') format('truetype'),
         url('../fonts/titanone-regular-webfont.svg#titan_oneregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'league_spartanbold';
    src: url('../fonts/leaguespartan-bold-webfont.woff2') format('woff2'),
         url('../fonts/leaguespartan-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* calendar */
.deals-calendar__wrapper, .deals-calendar__wrapper * {
    box-sizing: border-box;
}

.deals-calendar__wrapper {
    line-height: 1.4;
    box-sizing: border-box;
}

.deals-calendar__wrapper--side-sticky {
	position: fixed;
	/*top: 0px;
	bottom: 0px;*/
	left: auto;
	right: 0px;
	max-width: 340px!important;
    margin: auto;
    padding: 10px;
    background-color: antiquewhite;
    border-radius: 8px;
    z-index: 9999;
    -webkit-transform: translateX(340px);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(340px);  /* IE 9 */
    transform: translateX(340px);  /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    padding-bottom: 5px;
}

.deals-calendar__wrapper--big {
    margin: 20px auto!important;
    padding: 1%;
    border-radius: 8px;
    line-height: 0;
}

.deals-calendar__wrapper--big .deals-calendar__wrapper-toggle {
    display: none;
}

.deals-calendar__wrapper--big .deals-calendar__day-wrapper {
    background-image: url(../images/deals-calendar-open-day-big.png);
    background-size: 89% 89%;
    background-repeat: no-repeat;
    background-position: 49% 49%;
}

.deals-calendar__wrapper--big .deals-calendar__day-background {
    width: 100%;
    height: 100%;
}

.deals-calendar__wrapper--big .deals-calendar__day {
    height: 120%!important;
    width: 120%!important;
    max-width: 120%!important;
    margin-left: -10%!important;
    margin-top: -10%!important;
}

.deals-calendar__wrapper--big .deals-calendar__day-text {
    position: absolute;
    top: 20px;
    left: 20px;
    /*width: 62%!important;
    height: 60%!important;*/
    /*font-size: 7vw!important;*/
    font-family: 'titan_oneregular';
    color: white;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

@media (min-width: 900px) {
    .deals-calendar__wrapper--big .deals-calendar__day-text {
        /*font-size: 74px!important;*/
    }
}

.deals-calendar__wrapper--shown {
    -webkit-transform: translateX(10px)!important;  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(10px)!important;  /* IE 9 */
    transform: translateX(10px)!important;  /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 500ms ease-out!important;
    -moz-transition: all 500ms ease-out!important;
    -o-transition: all 500ms ease-out!important;
    transition: all 500ms ease-out!important;
 }

.deals-calendar__wrapper-toggle {
    position: absolute;
    left: -62px;
    top: 20px;
    cursor: pointer;
    width: 56px;
}

.deals-calendar__wrapper-toggle img {
    width: auto;
    height: auto;
    margin: 0;
}

.deals-calendar__day {
 	/*height: 76px;
    width: 76px;
    max-width: 76px;
    margin-left: -6px;
    margin-top: -6px;*/
    height: 120%!important;
    width: 120%!important;
    max-width: 120%!important;
    margin-left: -10%!important;
    margin-top: -10%!important;
 }
 
 .deals-calendar__day-wrapper--allowed, .deals-calendar__day-background, .deals-calendar__day-wrapper--allowed {
    cursor: pointer;
    -webkit-transition: all 500ms ease-out!important;
    -moz-transition: all 500ms ease-out!important;
    -o-transition: all 500ms ease-out!important;
    transition: all 500ms ease-out!important;
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
 }

.deals-calendar__day-wrapper--opened {
    -webkit-transform: rotateY(85deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotateY(85deg);  /* IE 9 */
    transform: rotateY(85deg);
    -webkit-transform-origin: left;  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform-origin: left;  /* IE 9 */
    transform-origin: left;
    -webkit-transition: all 500ms ease-out!important;
    -moz-transition: all 500ms ease-out!important;
    -o-transition: all 500ms ease-out!important;
    transition: all 500ms ease-out!important;
}

.deals-calendar__day-wrapper {
    position: relative;
 	display: inline-block;
    background-image: url(../images/deals-calendar-open-day.png);
    min-width: 33.3333333%;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transform: translate3d(0,0,0)!important;
 }

.deals-calendar__wrapper--side-sticky .deals-calendar__day-wrapper {
    background-size: 85%;
    background-position: 30%;
}

 .deals-calendar__day-wrapper:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.deals-calendar__day-background {
    position: relative;
    position: absolute;
    top: 0px;
    left: 0px;
    /*width: 64px;
    height: 64px;*/
    width: 100%;
    height: 100%;
    display: inline-block;
}

.deals-calendar__day-text {
	position: absolute;
	top: 20px;
	left: 20px;
	/*width: 35px;
	height: 35px;*/
    font-size: 22px;
    font-family: 'titan_oneregular';
    color: white;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.16);
	text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    line-height: 1.4!important;
}

.deals-calendar__day-text span {
    width: 50%;
}

.deals-calendar__day-text--hidden {
    display: none!important;
}

.deals-calendar__day-text--top-left {
	top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: flex-start!important;
    justify-content: flex-start!important;
}

.deals-calendar__day-text--top-left span {
    text-align: left!important;
}

.deals-calendar__day-text--top-center {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: flex-start!important;
    justify-content: center!important;
}

.deals-calendar__day-text--top-center span {
    text-align: center!important;
}

.deals-calendar__day-text--top-right {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: flex-start!important;
    justify-content: flex-end!important;
}

.deals-calendar__day-text--top-right span {
    text-align: right!important;
}

.deals-calendar__day-text--center-left {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: center!important;
    justify-content: flex-start!important;
}

.deals-calendar__day-text--center-left span {
    text-align: left!important;
}

.deals-calendar__day-text--center {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.deals-calendar__day-text--center span {
    text-align: center!important;
}

.deals-calendar__day-text--center-right {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: center!important;
    justify-content: flex-end!important;
}

.deals-calendar__day-text--center-right span {
    text-align: right!important;
}

.deals-calendar__day-text--bottom-left {
    top: 5%!important;
    left: 10%!important;
    bottom: 5%!important;
    right: 10%!important;
    display: flex!important;
    align-items: flex-end!important;
    justify-content: flex-start!important;
}

.deals-calendar__day-text--bottom-left span {
    text-align: left!important;
}

.deals-calendar__day-text--bottom-center {
    top: 5px!important;
    left: 5px!important;
    bottom: 5px!important;
    right: 5px!important;
    display: flex!important;
    align-items: flex-end!important;
    justify-content: center!important;
}

.deals-calendar__day-text--bottom-center span {
    text-align: center!important;
}

.deals-calendar__day-text--bottom-right {
    top: 5px!important;
    left: 5px!important;
    bottom: 5px!important;
    right: 5px!important;
    display: flex!important;
    align-items: flex-end!important;
    justify-content: flex-end!important;
}

.deals-calendar__day-text--bottom-right span {
    text-align: right!important;
}

/* modal */
.deals-calendar__modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    opacity: 0.0;
	display: none;
    overflow-x: hidden;
    overflow-y: auto; 
}

.deals-calendar__modal__content {
	position: absolute;
	top: 165px;
	left: 0;
	bottom: 0;
	right: 0;
	width: 600px;
	height: 460px;
    max-width: 95%;
    max-height: 95%;
	margin: auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #c73336;
    -webkit-transform: translateY(-2000px);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-2000px);  /* IE 9 */
    transform: translateY(-2000px);  /* Firefox 16+, IE 10+, Opera */
}

.deals-calendar__modal__content--show {
    -webkit-transform: translateY(0px);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(0px);  /* IE 9 */
    transform: translateY(0px);  /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

body.modal-open {
    overflow: hidden;
}

.deals-calendar__modal .close-button {
    position: absolute;
    top: -15px;
    right: 5px;
    width: 30px;
    height: 30px;
    padding: 4px;
    border-radius: 50%;
    background: white;
    z-index: 10;
    cursor: pointer;
    text-align: center;
    z-index: 99999;
}

.deals-calendar__modal .close-button img {
    width: 10px;
    height: 10px;
    margin-bottom: 2px;
    cursor: pointer!important;
}

.deals-calendar__modal-header {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 110%;
    margin-left: -5%;
    display: none;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.deals-calendar__modal-header img {
    width: 100%;
    height: auto;
}

.deals-calendar__modal-code {
    position: absolute;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    display: none;
    overflow: auto;
    z-index: 20;
    max-height: -webkit-calc(100% - 65px);
    max-height: calc(100% - 85px);
    margin-top: 50px;
}

.deals-calendar-subtitle {
    font-family: 'league_spartanbold'!important;
    color: white!important;
    font-size: 15px;
}

.deals-calendar-title {
    text-align: center!important;
    color: white!important;
    font-family: 'league_spartanbold'!important;
    font-size: 40px!important;
}

.deals-calendar-call-to-action-wrapper {
  margin: 0!important;
  margin-top: 60px!important;
  min-height: 34px!important;
}

.deals-calendar-call-to-action {
    background: white;
    padding: 10px 20px;
    color: #c73336!important;
    border-radius: 25px;
    text-transform: uppercase;
}

iframe {
    height: 355px;
    width: 560px;
}

/* wrapper colors */
.color-input-wrapper-1 {
    background-color: antiquewhite!important;
}

.color-input-wrapper-2 {
    background-color: #f6c244!important;
}

.color-input-wrapper-3 {
    background-color: #82b362!important;
}

.color-input-wrapper-4 {
    background-color: #445260!important;
}

.color-input-wrapper-5 {
    background-color: #b24145!important;
}

.color-input-wrapper-6 {
    background-color: #c73336!important;
}

/* snow */
#snow {
    top: -100%;
    bottom: -50px;
    left: -100%;
    right: -100%;
    z-index: 1;
    background-image: url('../images/snow1.png'), url('../images/snow3.png'), url('../images/snow2.png');
    -webkit-animation: snow 20s linear infinite;
    -moz-animation: snow 20s linear infinite;
    -ms-animation: snow 20s linear infinite;
    animation: snow 20s linear infinite;
    position: absolute;
}

/* keyframes */
@keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
 
@-moz-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
 
@-webkit-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
 
@-ms-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
