.search-wrapper {
  position: relative;
  background-color: white;
  border-radius: 20px;
  border: 2px solid var(--light-gray);
  color: var(--gray);
  padding: 10px;
  min-height: 35px;
  min-width: 200px;
  display: flex;
  align-items: center;
}

.search-wrapper::before {
  content: "\26B2";
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
  font-size: 19px;
  top: 22%;
  width: 10px;
  height: 10px;
  position: absolute;
}

.search-wrapper input[type="text"] {
  background-color: transparent;
  outline: none;
  border: 0;
  margin-left: 20px;
}

.search-wrapper input::placeholder {
  font-weight: bolder;
}

.divider {
  border-bottom: 2px solid var(--light-gray);
  margin: 10px 0;
}
/* VARIABLES */
:root {
  --primary: #007ab9;
  --gray: #9c9c9c;
  --dark-gray: #404040;
  --gray-opacity: #57575790;
  --gray-overlay: #77787a;
  --light-gray: #e8e8e8;
  --light-gray-opacity: #ededed;
  --pink: rgb(201, 66, 183);
}
/* GENERAL CSS */
#mainc * {
  box-sizing: border-box;
}

a {
  text-decoration: underline;
  color: var(--primary);
}

hr {
  clear: both;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mainc h1,
#mainc h2,
#mainc h3,
#mainc h4,
#mainc h5,
#mainc h6 {
  margin: 5px 0;
}

#mainc p {
  margin: 0;
  margin-bottom: 10px;
}

.header {
  border-bottom: 2px solid var(--primary);
  margin: 10px 0;
}

.header > * {
  background: var(--primary);
  padding: 5px;
  min-width: 300px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: white;
  margin: 0 !important;
  display: inline-block;
}

.heading {
  border-bottom: 1px solid var(--gray);
  font-weight: 600;
  margin: 20px 0;
}

.heading > *:first-child {
  margin: 0 !important;
  position: relative;
  padding-bottom: 5px;
  max-width: max-content;
}

.heading > *:first-child::after {
  content: "";
  min-width: 200px;
  width: max(calc(100% + 10px), 200px);
  height: 3px;
  position: absolute;
  background: var(--gray);
  bottom: 0;
  left: 0;
}

.title {
  border-bottom: 1px solid var(--gray);
  margin-bottom: 5px;
  font-weight: 600;
  padding-bottom: 5px;
}

.page-title__sub {
  float: left;
  position: relative;
  top: 5px;
  left: 5px;
}

.light-gray--layout {
  background: var(--light-gray-opacity);
  padding: 15px;
}

.gray--layout {
  background: rgb(204, 204, 204);
  padding: 15px;
}

a.link {
  position: relative;
  display: flex !important;
  padding-right: 20px;
}

a.link::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("../images/chevron-left.svg") no-repeat center center;
  background-size: contain;
  right: 0;
  top: 2px;
}

/* LAYOUT */
.layout {
  width: 100%;
  display: flex !important;
  align-items: flex-start;
}

.col {
  flex: 1 1 100%;
}

.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: end;
}

.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}

.wrap {
  flex-wrap: wrap;
}

.px-1 {
  padding-left: 1.2em;
  padding-right: 1.2em;
}
.px-2 {
  padding-left: 1.5em;
  padding-right: 1.5em;
}
.px-3 {
  padding-left: 1.8em;
  padding-right: 1.8em;
}

.py-1 {
  padding-top: 1.2em;
  padding-bottom: 1.2em;
}
.py-2 {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}
.py-3 {
  padding-top: 1.8em;
  padding-bottom: 1.8em;
}

.primary--text {
  color: var(--primary);
}

.pink--text {
  color: var(--pink);
}

/* INPUTS  */

/* CHECKBOX */
#mainc input[type="checkbox"] {
  height: 20px !important;
  width: 20px !important;
  border: 1px solid !important;
  outline: unset !important;
  background: white !important;
  -webkit-appearance: unset !important;
  position: relative !important;
}

#mainc input[type="checkbox"]:checked {
  color: black !important;
  background: #007ab9 !important;
}

#mainc input[type="checkbox"]:checked::after {
  content: "✓" !important;
  color: white !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  font-size: 17px !important;
  text-align: center;
  position: absolute !important;
  top: -2px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* BUSINESS HOME */

.item-wrapper {
  display: flex;
}

.item-wrapper .item-description {
  background: var(--gray);
  color: white;
  padding: 30px 10px;
  flex: 1 0 35%;
  font-size: 20px;
  line-height: 1.2em;
}

.item-wrapper .item-description a {
  color: white;
  font-size: 14px;
  margin-top: 20px;
}

.wallpaper {
  position: relative;
}

.wallpaper .logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/* SERVICE CARD
    i)    Overlay
    ii)   a (link)
    iii)  h3
*/

.service-card {
  margin-right: 5px;
  position: relative;
}

.service-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  text-align: center;
  padding: 5px;
  font-size: 1.2em;
  color: white;
  background: linear-gradient(to top, var(--gray), var(--gray-opacity));
}

.service-card .overlay a {
  color: white;
  font-size: 15px;
  margin-top: 5px;
}

.service-card .overlay h3 {
  margin: 0;
}

.responsive-img {
  display: none;
}

.share-tool {
  margin-right: 10px;
}

@media only screen and (max-width: 900px) {
  #page,
  .main-cell {
    width: 100%;
  }

  #mainc {
    padding: 5px;
    box-sizing: border-box;
  }

  #page-shadow {
    box-sizing: border-box;
    background: white;
  }

  h1.channel {
    box-shadow: unset !important;
    height: 45px !important;
    margin-bottom: 10px !important;
  }

  #page-title {
    margin-bottom: 0 !important;
  }

  .page-title__sub {
    display: none;
  }

  #sidebar-right {
    float: unset;
  }



  .sidebar,
  .span-16 {
    width: 100%;
  }

  #page-title {
    background: transparent !important;
    padding: 0 6px !important;
  }
  .share-tool {
    display: none;
  }
  .channel {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .px-xs-0 {
    padding-left: 0;
    padding-right: 0;
  }

  .lg-img {
    display: none;
  }

  .responsive-img {
    display: block;
  }

  .responsive-col {
    flex: 1 1 49.9%;
    width: 49.9%;
    float: left;
    padding: 5px !important;
    box-sizing: border-box;
  }

  .responsive-col .layout {
    flex-direction: column !important;
  }

  .responsive-col .layout > div {
    width: 100%;
  }
  .wrap-reverse {
    flex-wrap: wrap-reverse;
  }

  .header h1 {
    padding: 2px;
    width: 50%;
  }

  .heading h3 {
    white-space: nowrap;
    font-size: 0.9em;
  }

  .heading::after {
    width: 100%;
  }

  /* BUSINESS */
  .item-wrapper {
    flex-wrap: wrap-reverse;
  }
  .item-wrapper > div {
    width: 100%;
    flex-basis: 100%;
  }

  .item-wrapper .item-description {
    padding: 10px 20px;
  }

  .item-description > div {
    text-align: center;
    margin: auto;
  }

  .service-card {
    margin-bottom: 10px;
  }

  .service-card .overlay {
    height: auto;
    max-height: 40%;
  }

  .service-card .overlay h3 {
    font-size: 0.9em;
    margin: 0 !important;
  }

  .service-card .overlay a {
    font-size: 0.7em;
  }

  .footer .responsive-col {
    float: unset;
    padding: 0;
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  #sidebar-right > div:not(#block-ilmeteo-11):not(.OUTBRAIN) {
    display: none !important;
  }
}
