/*************************************************
 CL MIXINS COLLECTION
**************************************************/
/*** Global Options ************/
/*
  PALM                 NOTPALM
------540-|...........................................

            TABLET             NOTPORTABLE
..........|-----750-|.................................

       PORTABLE       LAPTOP
....................|-----950-|.......................

               TABLETLAPTOP
..........|-540-----------950-|.......................

            NOTDESKTOP              DESKTOP
..............................|-950-------------------

                                         BIGDESKTOP
.......................................|-1350---------

*/
#search-background {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  pointer-events: none;
  z-index: 1099;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#search-background.open {
  opacity: 0.4;
  pointer-events: all;
}

.search-outer {
  display: none;
  position: relative;
  top: 0px;
  left: 0px;
  z-index: 1100;
  padding-top: 27px;
  padding-bottom: 27px;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (max-width: 949px) {
  .search-outer {
    position: fixed;
    top: 80px; /* size of the sticky mobile header */
  }
}
.search-outer .search-inner {
  display: flex;
  flex-direction: row;
  position: relative;
  padding-top: 10px;
  padding-bottom: 1rem;
}
.search-outer .search-inner .search-container {
  position: relative;
  width: 100%;
}
@media only screen and (max-width: 750px) {
  .search-outer .search-inner .search-container {
    width: 100%;
  }
}
.search-outer .search-inner .search-container input[type=text] {
  width: 100%;
  height: 60px;
  border: 0;
  border-bottom: 2px solid black;
  font-size: 23px;
  color: rgba(0, 0, 0, 0.8);
  outline: none;
  box-sizing: border-box;
}
.search-outer .search-inner .search-container .send-search-button {
  position: absolute;
  top: 12px;
  right: 36px;
  margin: 0px;
  padding: 0px;
}
@media only screen and (max-width: 750px) {
  .search-outer .search-inner .search-container .send-search-button {
    display: none;
  }
}
.search-outer .search-inner .search-container .send-search-button#send-search-button-active {
  cursor: pointer;
}
.search-outer .search-inner .search-container .send-search-button img {
  width: 30px;
  height: auto;
}
.search-outer .search-inner .search-container .search-close {
  position: absolute;
  top: 24px;
  right: 0px;
  width: 2rem;
  height: auto;
  font-size: 60px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-transform: translate(0, -50%) scale(1);
  -moz-transform: translate(0, -50%) scale(1);
  -ms-transform: translate(0, -50%) scale(1);
  -o-transform: translate(0, -50%) scale(1);
  transform: translate(0, -50%) scale(1);
}
.search-outer .search-inner .search-container .search-close:hover {
  -webkit-transform: translate(0, -50%) scale(1.2);
  -moz-transform: translate(0, -50%) scale(1.2);
  -ms-transform: translate(0, -50%) scale(1.2);
  -o-transform: translate(0, -50%) scale(1.2);
  transform: translate(0, -50%) scale(1.2);
}
.search-outer .search-inner .search-container #search-results {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  top: 100%;
  padding: 0px;
  width: calc(100% - 255px);
  max-height: 400px;
  border: 1px solid #dddddd;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}
@media only screen and (max-width: 750px) {
  .search-outer .search-inner .search-container #search-results {
    width: 100%;
  }
}
.search-outer .search-inner .search-container #search-results div.error {
  margin: 0px;
  padding: 0px;
  padding-top: 2%;
  padding-left: 2%;
  padding-bottom: 1%;
}
.search-outer .search-inner .search-container #search-results .search-result {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 25%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (max-width: 750px) {
  .search-outer .search-inner .search-container #search-results .search-result {
    width: 50%;
  }
}
.search-outer .search-inner .search-container #search-results .search-result a {
  width: 100%;
  height: 100%;
  padding: 10px 10px 20px 10px;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.search-outer .search-inner .search-container #search-results .search-result a:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.05);
}
.search-outer .search-inner .search-container #search-results .search-result a .thumb {
  width: 100%;
  height: 81px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.search-outer .search-inner .search-container #search-results .search-result a h4 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
}
.search-outer .search-inner .search-container #search-results .search-result a p {
  font-size: 15px;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
}
