/**
 * ---------------------------------------------------------------------
 * Formcreator is a plugin which allows creation of custom forms of
 * easy access.
 * ---------------------------------------------------------------------
 * LICENSE
 *
 * This file is part of Formcreator.
 *
 * Formcreator is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Formcreator is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Formcreator. If not, see <http://www.gnu.org/licenses/>.
 * ---------------------------------------------------------------------
 * @copyright Copyright © 2011 - 2021 Teclib'
 * @license   http://www.gnu.org/licenses/gpl.txt GPLv3+
 * @link      https://github.com/pluginsGLPI/formcreator/
 * @link      https://pluginsglpi.github.io/formcreator/
 * @link      http://plugins.glpi-project.org/#/plugin/formcreator
 * ---------------------------------------------------------------------
 */
.print_button {
   display: none;
}

#page {
   text-align: left;
   margin: 10px;
}

.form_section {
   margin-left: 10px;
}

.form-group {
   margin:  20px 10px;
   break-inside: avoid-page;
}

.form_field {
   margin-top: 5px;
}

.select2-container,
input,
textarea,
.mce-edit-area {
   border: 1px solid #AAA;
   padding: 5px;
   min-height: 15px;
   width: 80%;
}

.select2-container a {
   display: none;
}

.mce-toolbar {
   display: none;
}

input[type=submit] {
   display: none;
}

label[for] {
   font-weight: bold;
}

/** FORM ANSWER */
.form_answer .headerRow,
.form_answer .help-block,
.form_answer .accepted_header {
   display: none;
}


/** GLPI COMPONENTS */
.tab_cadre_fixe,
.tab_cadre_fixe th {
   border: 0;
   margin: 0;
   font-size: 13px;
}

.form_content {
   display: none;
}

.ui-front-message-after-redirect {
   display: none;
}

.pq-select-popup-cont {
   display: none;
}

/** CHECKBOXES */
.form-group-checkbox {
   position:relative;
   width: 16px;
   height: 16px;
   margin: 0 auto;
   display: inline-block;
   margin: 5px;
}

.label-checkbox {
   cursor:pointer;
   width: 16px;
   height: 16px;
   display: block;
}

.label-checkbox span {
   display:block;
   position:absolute;
   left:0;
}

.label-checkbox .box {
   top: -2px;
   border: 1px solid #222;
   border-radius: 3px;
   height:16px;
   width:16px;
}
