/**
 * Style catalog pages
 */

h1.catalog-home-title {
  background-color: #fbfbfb;
  text-align: center !important;
  padding: 0.5em;
  margin: 0 0 3rem;

  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;

  -moz-box-shadow: 0 3px 20px 0 rgba(0,0,0,0.04);
  -webkit-box-shadow: 0 3px 20px 0 rgba(0,0,0,0.04);
  -o-box-shadow: 0 3px 20px 0 rgba(0,0,0,0.04);
  box-shadow: 0 3px 20px 0 rgba(0,0,0,0.04);
}

/* hide term title which is added when the term is rendered. */
.catalog-term-wrapper > div> h2,
.catalog-term-wrapper > h2 {
  display: none;
}

.block-arjang-catalog-term-view {
  margin-bottom: 3rem;
}

/**
 * style banner image
 */
.catalog-banner {
  margin-bottom: 1rem;
}
.catalog-banner img {
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  -khtml-border-radius: 15px;
  border-radius: 15px;
}

/* iframe should not go out of boundaries */
.catalog-video-wrapper {
  text-align: center;
}
.catalog-video-wrapper iframe {
  max-width: 100%;
  width: 100%;
  height: 18rem;

  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

/**
 * style optional links, beside calendar link
 */
.catalog-title-buttons a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
/* duplicate the button style on them */
.catalog-title-buttons a {
  display: inline-block;
  padding: 0.7em 1.5em;
  border: 2px solid;

  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;

  cursor: pointer;
  font-weight: bold;

  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

  /* remove styles from bootstrap's .btn etc...*/
  background-image: none;

  -moz-text-shadow: none;
  -webkit-text-shadow: none;
  -o-text-shadow: none;
  text-shadow: none;

  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;

  background-color: transparent;
  text-align: center;

  color: #555;
  border-color: #bbb;
}
.catalog-title-buttons a, .catalog-title-buttons a:hover, .catalog-title-buttons a:focus {
  text-decoration: none;
  outline: none !important;
  background-color: #bbb
}

/**
 * various
 */
.catalog-title-wrapper {
  margin: 3rem 1rem 0;
  text-align: center;
}
.catalog-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #fff;
  margin: 10rem 1rem 15rem;
  line-height: 7rem;

  text-shadow: 1px 1px #000;
}
.catalog-title-buttons {
  margin-top: 1rem;
}

.catalog-current-search-desc {
  font-size: 1.3em;
  padding: 0.5em 1em;
  margin-top: 0;
  text-align: center;
  background-color: #e9e9e9;
  font-weight: bold;

  -moz-border-top-left-radius: 13px;
  -webkit-border-top-left-radius: 13px;
  -o-border-top-left-radius: 13px;
  border-top-left-radius: 13px;

  -moz-border-top-right-radius: 13px;
  -webkit-border-top-right-radius: 13px;
  -o-border-top-right-radius: 13px;
  border-top-right-radius: 13px;
}

.view-arjang-catalog .view-header {
  font-size: 0.9em;
  margin-bottom: 1em;
}

/**
 * Style catalog items
 */
.catalog-item-wrapper {
  border-radius: 6px !important;
  overflow: hidden;
}
.catalog-item-wrapper img {
  width: 100%;
  margin: 0;
}
.catalog-item-wrapper .card-title h3 {
  color: #093875;
  font-size: 1.7rem;
  font-weight: bold;
}
.catalog-item-wrapper .card-text {
  text-align: justify;
  color: #808080;
  font-weight: bold;
}
.catalog-item-wrapper .card-footer {
  border: 0 none;
  background-color: inherit;
  text-align: center;
}
.catalog-item-buttons {
  text-align: center;
  margin: 1.5rem 0 1rem;
}
.catalog-item-buttons a {
  font-size: 1.35rem;
  padding: 0.4rem 0.7rem;
  margin: 0.45rem 0;
}
