/*
Theme Name: dih4cat
Text Domain: dih4cat
Author: Abel Corchero Casanova - 6TEMS
Author URI: http://6tems.com
Requires at least: WordPress 5.5
Description: Versió 1 de maquetació.
Version: 20200521a
versió: 20200521a
*/

/* LOADER */
.loader {
  width: 50px;
  height: 50px;
  border: 10px solid #f3f3f3;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  margin-left: auto;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  margin: auto;
  margin-top: 40px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* end LOADER */

/* NOTIFICACIONS */
.notice {
  display: inline-block;
  line-height: 19px;
  padding: 11px 15px;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
  /*border: 1px solid #ffba00;*/
  border-left: 4px solid #ffba00;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  width: 99%;
  margin: 5px 0px 5px 2px;
  margin-bottom: 20px;
}

.notice p {
  padding: 0px 5px;
  font-size: 14px;
  margin: 0 !important;
  color: #000 !important;
}

.notice.notice-info {
  border-color: #00a0d2;
}

.notice.notice-warning {
  border-color: #ffb900;
}

.notice.notice-success {
  border-color: #46b450;
}

.notice.notice-error {
  border-color: #dc3232;
}

/* /NOTIFICACIONS */

/* YOUTUBE */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  /* 16/9 ratio */
  /*padding-top: 30px;*/
  /* IE6 workaround*/
  height: 0;
  overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-home pre {
  margin: 0;
  position: relative;
}

.video-responsive {
  /*position: initial;*/
  margin-top: -30px;
}

/* end YOUTUBE */

.form-response {
  padding-top: 40px;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

/* TOOLTIP 
 * <div class="tooltip">Hover over me
 *   <span class="tooltiptext">Tooltip text</span>
 * </div>
*/

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* end TOOLTIP */

/* PROGRESS BAR
 * https://css-tricks.com/examples/ProgressBars/
 * -------------------
 * ANIMATED
 * -------------------
 * <div class="meter animate">
 *     <span style="width: 50%"><span></span></span>
 * </div>
 *
 * -------------------
 * BASIC
 * -------------------
 * <div class="meter">
 *     <span style="width: 50%"></span>
 * </div>
*/
.meter {
  height: 20px;
  /* Can be anything */
  position: relative;
  margin: 60px 0 20px 0;
  /* Just for demo spacing */
  /*background: #555;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    padding: 10px;
    -webkit-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
    -moz-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);*/
  padding: 0;
  background-color: #f5f5f5;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.meter > span {
  display: block;
  height: 100%;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(43, 194, 83);
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(43, 194, 83)),
    color-stop(1, rgb(84, 240, 84))
  );
  background-image: -moz-linear-gradient(
    center bottom,
    rgb(43, 194, 83) 37%,
    rgb(84, 240, 84) 69%
  );
  -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.meter > span:after,
.meter.animate > span > span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: -webkit-gradient(
    linear,
    0 0,
    100% 100%,
    color-stop(0.25, rgba(255, 255, 255, 0.2)),
    color-stop(0.25, transparent),
    color-stop(0.5, transparent),
    color-stop(0.5, rgba(255, 255, 255, 0.2)),
    color-stop(0.75, rgba(255, 255, 255, 0.2)),
    color-stop(0.75, transparent),
    to(transparent)
  );
  background-image: -moz-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  z-index: 1;
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -webkit-animation: move 2s linear infinite;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  opacity: 1;
}

.animate > span:after {
  display: none;
}

@-webkit-keyframes move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 50px 50px;
  }
}

.meter.orange > span {
  background-color: #f1a165;
  background-image: -moz-linear-gradient(top, #f1a165, #f36d0a);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #f1a165),
    color-stop(1, #f36d0a)
  );
  background-image: -webkit-linear-gradient(#f1a165, #f36d0a);
}

.meter.red > span {
  background-color: #f0a3a3;
  background-image: -moz-linear-gradient(top, #f0a3a3, #f42323);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #f0a3a3),
    color-stop(1, #f42323)
  );
  background-image: -webkit-linear-gradient(#f0a3a3, #f42323);
}

.meter.blue > span {
  background-color: #a3c2f0;
  background-image: -moz-linear-gradient(top, #a3c2f0, #0071a1);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #a3c2f0),
    color-stop(1, #0071a1)
  );
  background-image: -webkit-linear-gradient(#a3c2f0, #0071a1);
}

.meter.nostripes > span > span,
.meter.nostripes > span:after {
  -webkit-animation: none;
  background-image: none;
}

/* end PROGRESS BAR */

.navigation-bar ul li.beta-menu-destacat > a {
  color: #7259ca;
}
