/**
* Background
*/
#full-screen-search {
    visibility: hidden;
    opacity: 0;
	position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
	right: 0;
	bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);

    /**
    * Add some CSS3 transitions for showing the Full Screen Search
    */
    transition: opacity 0.5s linear;
}

/**
* Display Full Screen Search when Open
*/
#full-screen-search.open {
    /**
    * Because we're using visibility and opacity for CSS transition support,
    * we define position: fixed; here so that the Full Screen Search doesn't block
    * the underlying HTML elements when not open
    */
    visibility: visible;
    opacity: 1;
	z-index: 999998;
}

/**
* Search Form
*/
#full-screen-search form {
    position: relative;
    width: 100%;
    height: 100%;
}

/**
* Close Button
*/
#full-screen-search button.close {
    position: absolute;
    z-index: 999999;
    top: 20px;
    right: 20px;
    font-size: 30px;
    font-weight: 300;
    color: #FFFFFF;
    cursor: pointer;
	background: transparent;
}

/**
* Search Form Div
*/
#full-screen-search form div#full-screen-search-container {
    position: absolute;
    width: 50%;
    height: 100px;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -25%;
}

/**
* Search Form Input
*/
#full-screen-search form div input[type="text"] {
    width: 100%;
    height: 100px;
    background: #333333 !important;
    padding: 20px;
    font-size: 40px;
    line-height: 60px;
	border: 0;
	outline: none;
	font-style: italic;
}

/**
* Search Form Input Placeholder Color
*/
#full-screen-search form div input[type="text"]::-webkit-input-placeholder,
#full-screen-search form div input[type="text"]:-moz-placeholder,
#full-screen-search form div input[type="text"]::-moz-placeholder,
#full-screen-search form div input[type="text"]:-ms-input-placeholder { 
    color: #ccc;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
.formats > label {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 1rem;
  margin-top: 1rem;
}
.formats > label > input[type="checkbox"] {
  position: relative !important;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin: 0 .5rem 0 0;
  box-sizing: content-box;
  overflow: hidden;
  outline: none;
}
.formats > label > input[type="checkbox"]:before {
  content: '';
  display: block;
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  transition: 0.2s border-color ease;
}
.formats > label > input[type="checkbox"]:checked:before {
  border-color: #6895CE;
  transition: 0.5s border-color ease;
}
.formats > label > input[type="checkbox"]:disabled:before {
  border-color: #ccc;
  background-color: #ccc;
}
.formats > label > input[type="checkbox"]:before {
  border-radius: 4px;
}
.formats > label > input[type="checkbox"]:after {
  content: '';
  display: block;
  position: absolute;
  box-sizing: content-box;
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
  width: 9.6px;
  height: 16px;
  border-radius: 0;
  transform: translate(-50%, -85%) scale(0) rotate(45deg);
  background-color: transparent;
  box-shadow: 4px 4px 0px 0px #6895CE;
}
.formats > label > input[type="checkbox"]:checked:after {
  -webkit-animation: toggleOnCheckbox 0.2s ease forwards;
          animation: toggleOnCheckbox 0.2s ease forwards;
}
.formats > label > input[type="checkbox"].filled:before {
  border-radius: 4px;
  transition: 0.2s border-color ease, 0.2s background-color ease;
}
.formats > label > input[type="checkbox"].filled:checked:not(:disabled):before {
  background-color: #6895CE;
}
.formats > label > input[type="checkbox"].filled:not(:disabled):after {
  box-shadow: 4px 4px 0px 0px white;
}
.formats > label > span.label-text {
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -.5px;
    font-size: 1rem;
    font-weight: 500;
}
@-webkit-keyframes toggleOnCheckbox {
  0% {
    opacity: 0;
    transform: translate(-50%, -85%) scale(0) rotate(45deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
  }
  100% {
    transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
  }
}
@keyframes toggleOnCheckbox {
  0% {
    opacity: 0;
    transform: translate(-50%, -85%) scale(0) rotate(45deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
  }
  100% {
    transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
  }
}
