@import url('//s3-eu-west-1.amazonaws.com/kamen.prd.tonicapp.com/css/tonic-style.css');

/* make sure the padding is included in the div size */
* {
    box-sizing: border-box;
}

body
{
   font-family: mark;
   background-color: #FFFFFF;
   height: 100%;
}

/* property to align a line vertically */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

#logo_big {
  height:40px;
}

#logo_small {
  height:40px;
}

#easter_iframe {
  width: 100%;
  height: 550px;
}

/* ---------------------------------------------------------------------------*/
/* Responsive design styling */

/* This CSS is designer "Mobile First" - Meanining that the default values
   are for mobile. Afterwards, if the browser supports @media wrapper, the
   properties are set for bigger screen size.
   There are 3 screen sizes:
   - Mobile -> The results is full screen
   - Medium -> Position are a percentage
   - Big -> Positions are fixed */

/* Results page header */
.header {
  padding-left:0px;
  padding-right:0px;
  padding-top:10px;
  width:100%;
  position:relative;
  /*background-color: rgb(220,220,220);*/
  background: linear-gradient(rgb(248,248,248), rgb(240,240,240));
}

/* The search bar with the logo */
.bar {
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: flex;
}

.logo_big {
  display:none;
}

.logo_small {
  display: block;
  width:100%;
  text-align: center;
  padding-bottom: 10px;
}

.logo_top {
  display:none;
}

.search_form {
  width:100%;
}

.filters {
  padding-left:20px;
  padding-top:0px;
}

.results-wrapper {
  padding-top:20px;
  width:100%;
  padding-bottom:30px;
}

.results {
  width:100%;
  padding-right: 20px;
  padding-left: 20px;
  display: block;
}

.result {
  padding-top: 15px;
}

#big_filter {
  display: block;
}

#filter_tag {
  display: none;
}

#logo_main_page {
  width: 200px;
}

.btn-cat,
.btn-cat:active,
.btn-cat:focus,
.btn-cat.active,
.btn-cat.active:active,
.btn-cat.active:focus,
.btn-cat.focus,
.btn-cat.focus:active,
.btn-cat.focus:focus {
  font-size: 14px;
  margin-top: 10px;
  padding-left: 1vw;
  padding-right: 1vw;
}

.main_page_header {
  text-align:center;
  margin-top:50px;
}

.side_info {
  display: none;
}

@media only screen and (min-width: 750px) {
  .main_page_header {
    margin-top:100px;
  }

  #logo_main_page {
    width: 300px;
  }

  .header {
    width:100%;
    position:relative;
    padding-top: 20px;
  }

  .bar {
    padding-right: 100px;
    padding-left: 20px;
    width: 800px;
  }

  .logo_big {
    width:200px;
    padding-right: 20px;
    /*font-size:20px;*/
    vertical-align: middle;
    /*line-height: 90%;*/
    display:inline;
  }

  .filters {
    padding-left: 20px;
    max-width: 800px;
  }

  #filter_tag {
    display: inline-block;
    width:180px;
    text-align: right;
    padding-right: 20px;
    padding-bottom: 10px;
    vertical-align: bottom;
    color: #968388;
  }

  .logo_small{
    display:none;
  }

  .btn-cat,
  .btn-cat:active,
  .btn-cat:focus,
  .btn-cat.active,
  .btn-cat.active:active,
  .btn-cat.active:focus,
  .btn-cat.focus,
  .btn-cat.focus:active,
  .btn-cat.focus:focus {
    font-size: 15px;
    margin-top:20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .results-wrapper {
    width: 1100px;
  }

  .results {
    padding-right: 20px;
    padding-left: 200px;
    width:800px;
    display:inline-block;
    vertical-align: top;
  }

  .side_info {
    border-left-style: solid;
    padding-left: 10px;
    border-left-width: 1px;
    border-left-color: #ddd;
    width:250px;
    display: inline-block;
    /*color: #969EA9;*/
    color: #4D4D4D;
  }

  #big_filter {
    display: inline-block;
  }

}

/* ---------------------------------------------------------------------------*/
/* Results styiling */

.loading_img {
  width:30px;
}

.result_title > a {
    color: #50d2c2;
    font-size: 15px;
}

.result_title > a:hover {
    color: #4e4e4e;
}

.result_description {
    font-size:14px;
    padding-bottom: 10px;
    color:
}

.result_summary {
    font-size:14px;
}

/* ---------------------------------------------------------------------------*/
/* Footer with information */
.content {
  min-height: calc(100vh - 30px);
  display: block;
  width: 100%;
  padding-bottom: 40px;
}

.footer_mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 15px;
  background-color: #E4F8F5;
  border-top-width: 2px;
  border-top-style: solid;
  border-color: #50D2C2;
  padding-top:10px;
  padding-left:5px;
  padding-right:5px;
}

.footer_mobile_text {
  display: inline-block;
  color: #908788;
  width: 60%;
  vertical-align: middle;
  font-size: 12px;
}

.footer_mobile_button {
  display: inline-block;
  vertical-align: middle;
  text-align: right;
  width: 38%;
}

.footer_mobile_button > a > img {
  width:110px;
}

.footer {
  position:relative;
  bottom:60px;
  width:100%;
  height:30px;
  background:#EEEEEE;
  font-size: 9px;
  display: block;
  padding-right: 10px;
  padding-left: 10px;
}

.copyright {
  vertical-align: top;
  display: inline-block;
  padding-top: 10px;
  width: 28vw;
  color:#83858D;
}

.copyright > a {
  color:#83858D;
}

.terms {
  float: right;
  /*line-height: 40px;*/
  display: inline-block;
  width: 60vw;
  text-align: right;
  padding-top: 3px;
}

.terms > a {
  padding-left: 5px;
  color:#83858D;
  display: block;
}

@media only screen and (min-width: 355px) {
  .terms > a {
    display: inline;
  }

  .footer {
    width:100%;
    height:40px;
    font-size:10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 13px;
  }

  .copyright {
    width: 28vw;
    padding-top:0px;
  }

  .terms {
    padding-top:0px;
    width: 60vw;
    text-align: right;
  }

}

@media only screen and (min-width: 750px) {
  .content {
    min-height: calc(100vh - 50px);
    padding-bottom: 0px;
  }

  .footer_mobile_text {
    display: none;
  }

  .footer_mobile_button {
    display: none;
  }

  .footer_mobile {
    display: none;
  }

  .footer {
    position:relative;
    bottom:0px;
    width:100%;
    height:50px;
    background:#EEEEEE;
    font-size: 12px;
  }

  .copyright {
    padding-left: 20px;
    line-height: 30px;
    width: 45vw;
  }

  .terms {
    line-height: 30px;
    width: 49vw;
    text-align: right;
  }

  .terms > a {
    padding-left: 10px;
  }


  /*.footer_text {
    display: inline-block;
    color: white;
  }

  .footer_button {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    padding-left: 10px;
  }

  .footer_mobile {
    height: 50px;
    padding-top:10px;
    padding-left:10px;
    padding-right:10px;
    text-align: center;
  }*/

}

/* ---------------------------------------------------------------------------*/
/* Restyle the bootstrap buttons */

.btn {
  border-radius: 3px;
}

.form-control {
  border-radius: 3px;
}

.btn-primary{
  background-color:#50D2C2;
  border-color: #50D2C2;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color:#50D2C2;
  border-color:#50D2C2;
}

.btn-action {
  background-color:#f48886;
  border-color: #f48886;
  color: white;
}

.btn-action:hover, .btn-action:active, .btn-action:focus {
  background-color:#f05552;
  border-color:#f05552;
  color: white;
}

/* ---------------------------------------------------------------------------*/
/* Search form styling */
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.button-inside-input-group .input-group-addon{
    /*background: white !important;*/
    background: #50d2c2; !important;
    color: white !important;
    border-color: #50d2c2;
}

.button-inside-input-group .form-control{
	border-right:0;
	box-shadow:0 0 0;
	/*border-color:#ccc;*/
  border-color:#50d2c2;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.button-inside-input-group button{
    border:0;
    width:30px;
    background:transparent;
}

.ui-menu-item {
        max-width:100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 10px;
    }

/*ui-menu ui-widget ui-widget-content ui-autocomplete ui-front*/
.ui-widget-content {
    border     : 1px solid #50d2c2; !important;
    border-top : 0px !important;
    background : #ffffff;
    color      : #4e4e4e;
    font-weight: bold;
}

/* When selecting the entry...  */
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border     : 1px solid #50d2c2;
    background : #50d2c2;
    color      : #FFFFFF;
}

.ui-autocomplete-term { font-weight: normal; }

/* ---------------------------------------------------------------------------*/
/* Filter button styling */

.btn-cat,
.btn-cat:active,
.btn-cat:focus,
.btn-cat.active,
.btn-cat.active:active,
.btn-cat.active:focus,
.btn-cat.focus,
.btn-cat.focus:active,
.btn-cat.focus:focus {
  outline: 0;
  outline-offset: 0;
  outline:none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-style:solid;
  border-width: 0px 0px 3px;
  background-color: transparent;
  font-weight: bold;
  border-radius:0px;

}

.btn-cat.active,
.btn-cat.active.focus,
.btn-cat:active,
.btn-cat.active:active {
  outline:none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#filter_all_btn {
  color: #50d2c2 !important;
}

#filter_all_btn.active {
  border-color: #50d2c2;
}

#filter_red_btn {
  color: #C0392B;
}

#filter_red_btn.active {
  border-color: #C0392B;
}

#filter_green_btn {
  color: #1C7C54;
}

#filter_green_btn.active {
  border-color: #1C7C54;
}

#filter_yellow_btn {
  color: #F1C275;
}

#filter_yellow_btn.active {
  border-color: #F1C275;
}

#filter_orange_btn {
  color: #f46036;
}

#filter_orange_btn.active {
  border-color: #f46036;
}

#filter_rose_btn {
  color: #f48886;
}

#filter_rose_btn.active {
  border-color: #f48886;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
  color: white;
  text-decoration: none;
  background-color: #50D2C2;
  outline: 0;
}

/* ---------------------------------------------------------------------------*/
/* Pagionation styling. This is defined by pagination JS */


.paginationjs {
  padding-top: 10px;
}

.paginationjs .paginationjs-pages ul{
  margin:0px;
  padding:0px;
}

.paginationjs .paginationjs-pages li {
  display: inline-block;
  list-style:none;
  border: 0px;
  padding-right:5px;
  font-size: 15px;
}

.paginationjs-prev {
  padding-right: 5px;
}

.paginationjs .paginationjs-pages li>a {
  width: 100%;
  height: 100%;
  color: #50d2c2;
  text-decoration:none;
}

.paginationjs-page:hover {
  /*underline*/
}

.paginationjs .paginationjs-pages li.active {
  font-weight: bold;
}

.paginationjs .paginationjs-pages li.disabled>a { opacity:.3 }

/*.paginationjs-next li.disabled>a:hover { background-color: #aaa }*/

/*.paginationjs {
  padding-top: 10px;
  text-align: center;
}

.paginationjs .paginationjs-pages ul{
  margin:0px;
  padding:0px;
}

.paginationjs .paginationjs-pages li {
  display: inline-block;
  list-style:none;
  border: 0px;
  text-align: center;
  font-weight: bold;
}

.paginationjs-page {
  width: 40px;
  height: 40px;
  border-radius: 3px;
}

.paginationjs-prev {
  margin-left: 20px;
  width:40px;
  background-color: #eee;
  border-radius: 3px;
}

.paginationjs-next {
  margin-left: 10px;
  height: 40px;
  padding: 0px 30px 0px 30px;
  background-color: #aaa;
  border-radius: 3px;
}

.paginationjs .paginationjs-pages li>a {
  width: 100%;
  height: 100%;
  line-height:40px;
  color:#333;
  text-decoration:none;
}

.paginationjs-page:hover {
  background:#eee;
}

.paginationjs .paginationjs-pages li.active {
  border: solid 1px;
  background:#aaa;
  color:#fff
}

.paginationjs .paginationjs-pages li.disabled>a { opacity:.3 }
.paginationjs-next li.disabled>a:hover { background-color: #aaa }*/
