/* BEGIN COMMUNITYRULE-SPECIFIC CSS */

/* CLASSES */
.button {
  position: relative;
  display: inline;
  float: right;
  border: 0px solid gray;
  color: gray;
  background-color: white;
  text-align: center;
  border-radius: 6px;
  padding: 0;
}
.callout-text {
    font-family: serif;
    font-size:2em;
    margin:1.5em 0 1em 0;
}
.callout-icon {
    font-size:2em;
    margin:1.5em 0 1em 0;
}

.editable, input.editable { /* All editable fields */
    padding: 10px 10px 10px 10px;
    min-height: 1.5em;
    font-family: serif;
    border-bottom: 1px dashed gray;
}
.question {
    color: gray;
}
.metaheader {
    color: gray;
    margin-top: 30px;
    border-bottom: 1px solid lightgray;
}

/* Modules */

#module-toggle {
    float: right;
    position: relative;
    margin-left: 10px;
    padding: 5px;
}
#module-menu {
    display: none;
    max-height: 200px;
    overflow-y: scroll;
    margin: 0 0 10px 0;
    border: 1px solid lightgray;
}
.button:hover {
    background-color: lightgray;
}

#module-input {
    overflow: hidden;
    border: 1px solid lightgray;
    border-radius: 6px;
    padding: 10px 10px 10px 10px;
    margin: 0 0 15px 0;
    text-align: left;
    min-height: 100px;
}
  
.module {
    display: block;
    border: 1px solid gray;
    color: black;
    background-color: lightgray;
    text-align: center;
    border-radius: 10px;
    padding: 8px;
    margin: 5px;
    display: inline-block;
    font-size: .8em;
    cursor: pointer;
}

.module:hover {
    border-color: gray;
}
.module a:hover {
}
.delete-module {
    cursor: pointer;
    display: none;
}

.field-controls {
    float: right;
    font-size: .7em;
}
.field-controls a {
    cursor: pointer;
}

/* pushButton
These are the major functional buttons*/
.pushButton {
    border: 1px solid gray;
    color: gray;
    background-color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    margin: 0 5px 0 5px;
    font-size: 1.2em;
}
.pushButton:hover {
    background-color: lightgray;
}
.chevrons { /* The maximize/minimize button */
    font-size: 1em;
}
.icons {
    /* icons are from https://github.com/tabler/tabler-icons */
    margin: 0 5px 0 0;
}
/* link fields
Enabling users to add links*/
.linkbox {
  position: relative;
  display: block;
  border: 1px solid lightgray;
  background-color: white;
  border-radius: 6px;
  padding: 10px 0px 10px 0px;
  margin-bottom: 15px;
  text-align: center;
}
.link-text {
    width: 40%;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    font-size: 1em;
}
.link-divider {
    margin: 0 20px 0 20px;
    display: inline;
}
.link-url {
    border-top: 0px;
    border-right: 0px;
    border-left: 1px;
    width: 40%;
    font-size: 1em;
}
#authorship {
    margin: 40px 0 0 0;
}
#authorship-words {
    display: none;
}
#authorship-result {
    display: none;
}

/* VARIOUS IDs */
#rulebox {
    border: 1px solid lightgray;
    padding: 20px;
    margin: 20px 0 30px 0;
}
#rulebox h2 {
    font-family: serif;
}
#communityname {
    font-weight: bold;
}
#editToggle {
  float: right;
  clear: both;
}
#toggleDisplayMode {
    margin: 0 0 10px 0;
    display: none;
}
#publishRule {
  margin: 0 0 10px 0;
}
#structure {
  font-size: 1.3em;
}
#attribution {
    font-family: serif;
    font-size: .8em;
    text-align: right;
}
#trash {
    display: none;
}