/**
 * ccg module for Craft CMS
 *
 * ccg CSS
 *
 * @author    Fork
 * @copyright Copyright (c) 2019 Fork
 * @link      https://www.fork.de
 * @package   ccg
 * @since     1.0.0
 */

/* hide user cases field (gets propagated on cases save hook) */
form#userform #profile-tab-settings #fields-cases-field {
  display: none;
}

.info-paragraph {
  font-weight: italic;
  font-size: 12px;
  line-height: 14px;
}

/* hide twitter seo tab as we only use facebook for opengraph (and next-seo also only uses one source, see https://github.com/garmeeh/next-seo) */
#fields div[data-seo-tab='social'] > div:first-child {
  display: none;
}
#fields div[data-seo-tab='social'] > div.seo--label:not(:first-child) {
  margin-top: 0;
}
#fields div[data-seo-tab='social'] .seo--social.twitter {
  display: none;
}

/* TODO: move this to css hide utility? */
/* hide site specific fields which are not used */
/* NOT PUK */
body:not([class*='site--puk']) #fields-colorTheme-field,
body:not([class*='site--puk']) #fields-background-field
{
  display: none;
}
/* ONLY PUK */
body[class*='site--puk'] #fields-coreTeam-field,
body[class*='site--puk'] #fields-extendedTeam-field,
body[class*='site--puk'] #fields-from-field,
body[class*='site--puk'] #fields-until-field
{
  display: none;
}
