
/* https://jsfiddle.net/sgymotns/7/ */

body, html          { height: 100% !important; margin: 0; }

.wrapper            { height: 100%; }

.kit-table          { display: table; width: 100%; }
.kit-row            { display: table-row; }
.kit-cell           { display: table-cell; }
.youtube			{ height: 100% }


/* YT */
.flex-container-row {
	display: flex;
	flex-direction: column;
	background-color: #c2f1a9;
}

.flex-container-row > div {
	background-color: #f1f1f1;
	margin: 10px;
	padding: 20px;
}

/* top settings */
div.settings {
   position: absolute;
   left: 30%;
   top; 10px;
   font-size: 7pt;
   z-index: 2;
}

a.settings, button.settings {
   /*background-color: #92c149;*/
   color: white;
   font-size: 18pt;
   text-align: center;
   padding: 10px 30px;
   border-radius: 3px;
}
/* end top settings */

/* unused
div.touch_box_center {
	background-color: #f1f1f1;
	margin: 10px;
	padding: 20px;
	width:10%;
	border: 1px solid black;
}*/


@media screen and (min-height: 1024px) {
	.player {width:100%;height:450px;}
	div.touch_box, div.touch_box_center { height: 428px; }
}


@media screen and (max-height: 1023px) {
	.player {width:100%;height:425px;}
	div.touch_box, div.touch_box_center { height: 300px; }
}

@media screen and (max-height: 600px) {
	.player {width:100%;height:250px;}
	div.touch_box, div.touch_box_center { height: 200px; }
}
/* end touch boxes */


/* video player */

/*
@media screen and (min-width: 1024px) {
	.player {width:100%;height:450px;}
	div.touch_box, div.touch_box_center { height: 428px; }
}


@media screen and (max-width: 768px) {
	.player {width:100%;height:425px;}
	div.touch_box, div.touch_box_center { height: 400px; }
}

@media screen and (max-width: 450px) {
	.player {width:100%;height:315px;}
	div.touch_box, div.touch_box_center { height: 200px; }
}

/* end video player responsive */

/* popup settings */
#overlay {
   position: fixed;
   height: 100%; 
   width: 100%;
   top: 0;
   right: 0;  
   bottom: 0;
   left: 0;
   background: rgba(0,0,0,0.8);
   display: none;
   z-index: 99;
}

#popup, #popup2 {
   max-width: 900px;
   width: 80%;
   max-height: 90%;
   height: 80%; 
   padding: 20px;
   position: relative;
   overflow-y: scroll;
   overflow-x: hidden;
   background: #fff;
   margin: 20px auto;
}

#close {
   position: absolute;
   top: 10px;
   right: 10px;
   cursor: pointer;
   color: #111;
   font-size: 2em;
   margin-right: 0.5em;
}
/* end popup settings */

/* override bootstrap and maximize visible space */
.container {
    padding-left: 1px !important;
    padding-right: 1px !important;
}


/*override bootstrap*/
#site-header {
    background-color: #92c149;
    z-index: 0 !important;
}


/* animated button */

@-o-keyframes fadeIt {
  0%   { background-color: #FFFFFF; }
  50%  { background-color: #AD301B; }
  100% { background-color: #FFFFFF; }
}
@keyframes fadeIt {
  0%   { background-color: #FFFFFF; }
  50%  { background-color: #AD301B; }
  100% { background-color: #FFFFFF; }
}

.backgroundAnimated{
    background-image:none !important;
         -o-animation: fadeIt 5s ease-in-out;
            animation: fadeIt 5s ease-in-out;
}

input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.number-input {
  border: 2px solid #ddd;
  display: inline-flex;
}

.number-input,
.number-input * {
  box-sizing: border-box;
}

.number-input button {
  outline:none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.number-input button:before,
.number-input button:after {
  display: inline-block;
  position: absolute;
  content: '';
  width: 1rem;
  height: 2px;
  background-color: #212121;
  transform: translate(-50%, -50%);
}
.number-input button.plus:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
  font-family: sans-serif;
  max-width: 5rem;
  padding: .5rem;
  border: solid #ddd;
  border-width: 0 2px;
  font-size: 2rem;
  height: 3rem;
  font-weight: bold;
  text-align: center;
}

/* end */
