/**
 * Content Builder module for Craft CMS
 *
 * Content Builder CSS
 *
 * @author    THIS GmbH
 * @copyright Copyright (c) 2020 THIS GmbH
 * @link      www.this.work
 * @package   ContentBuilderModule
 * @since     1.0.0
 */

.content-builder--hide-section #fields-contentBuilder > [data-neo="container.buttons"] [data-neo-bn-info="sectionModule"],
.content-builder--hide-section #fields-contentBuilder [data-neo="container.blocks"] > .ni_buttons [data-neo-bn="container.buttons"] [data-neo-bn-info="sectionModule"] {
   display: none;
}

.content-builder--hide-section #fields-contentBuilder > [data-neo="container.buttons"] [data-neo-bn-info="sectionModule"] + div,
.content-builder--hide-section #fields-contentBuilder [data-neo="container.blocks"] > .ni_buttons [data-neo-bn="container.buttons"] [data-neo-bn-info="sectionModule"] + div {
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
}

.content-builder--hide-modules #fields-contentBuilder > [data-neo="container.buttons"] [data-neo-bn="button.group"],
.content-builder--hide-modules #fields-contentBuilder > [data-neo="container.buttons"] [data-neo-bn-info="interactionModule"],
.content-builder--hide-modules #fields-contentBuilder [data-neo="container.blocks"] > .ni_buttons [data-neo-bn="container.buttons"] [data-neo-bn="button.group"] {
   display: none;
 }

.content-builder--hide-modules #fields-contentBuilder > [data-neo="container.buttons"] [data-neo-bn-info="sectionModule"],
.content-builder--hide-modules #fields-contentBuilder [data-neo="container.blocks"] > .ni_buttons [data-neo-bn="container.buttons"] [data-neo-bn-info="sectionModule"] {
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
}


.content-builder--hide-section [data-neo-bn-info="nextChapterModule"] {
   display: none !important;
}

.content-builder--hide-questions [data-neo-bn-info="interactionModule"] {
   display: none;
}

.content-builder--hide-next-chapter [data-neo-bn-info="nextChapterModule"] {
   display: none;
}

.content-builder--hide-training-relation #fields-contentBuilder > [data-neo="container.blocks"] [data-neo-bn-info="trainings"] {
   /* display: none; */
   outline: 3px solid red;
}

.content-builder--hide-course-relation #fields-contentBuilder > [data-neo="container.blocks"] [data-neo-bn-info="courses"] {
   /* display: none; */
   outline: 3px solid red;
}

.content-builder--hide-nugget-injector [data-neo-bn-info="nuggetInjector"] {
   display: none;
}

.buttonbox-buttons .btn.big img {
   vertical-align: middle;
}


.redactor-dropdown-format .redactor-dropdown-item-typo-h1 { font-size: 24px; font-weight: bold;  }
.redactor-dropdown-format .redactor-dropdown-item-typo-h2 { font-size: 22px; font-weight: bold;  }
.redactor-dropdown-format .redactor-dropdown-item-typo-h3 { font-size: 20px; font-weight: bold;  }
.redactor-dropdown-format .redactor-dropdown-item-typo-h4 { font-size: 18px; font-weight: bold;  }
.redactor-dropdown-format .redactor-dropdown-item-typo-h5 { font-size: 16px; font-weight: bold;  }
.redactor-dropdown-format .redactor-dropdown-item-typo-h6 { font-size: 14px; font-weight: bold;  }

.redactor-dropdown-format .redactor-dropdown-item-typo-copytext--big { font-size: 16px; }
.redactor-dropdown-format .redactor-dropdown-item-typo-copytext--small { font-size: 12px; }

.is-typo-h1 {
   display: block;
   font-size: 26px;
   font-weight: bold;
   margin-bottom: 16px;
}
.is-typo-h2 {
   display: block;
   font-size: 24px;
   font-weight: bold;
   margin-bottom: 16px;
}
.is-typo-h3 {
   display: block;
   font-size: 22px;
   font-weight: bold;
   margin-bottom: 16px;
}
.is-typo-h4 {
   display: block;
   font-size: 20px;
   font-weight: bold;
   margin-bottom: 16px;
}
.is-typo-h5 {
   display: block;
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 16px;
}
.is-typo-h6 {
   display: block;
   font-size: 16px;
   font-weight: bold;
   margin-bottom: 16px;
}

div[data-type*="TableMakerField"] div[data-attribute="table-rows"] .input {
   overflow: hidden;
   overflow-x: scroll;
}
