@charset "UTF-8";

body {
    padding: 5px;
    font-family: "Arial", sans-serif;
    font-size: 15px;
}
.center{
	margin-left: auto;
	margin-right: auto;
}
.center-child-v{
    vertical-align: middle;
}
.center-text{
	text-align: center;
}
.spaced-v {
    margin-bottom: 0.5em;
}
.spaced-v-2 {
    margin-bottom: 1em;
}
.spaced-v-3 {
    margin-bottom: 2em;
}
.spaced-h {
    margin-right: 1em;
}
span.spaced-v{
    display: block;
    margin-bottom: 0.5em;
}
p {
    text-align: justify;
}
.justify {
    text-align: justify;
}
.paragraph{
    margin-top: 0.8em;
    text-indent: 1em;
}
.itemize{
    margin-left: 1em;
    text-indent: 0em;
}
.inline {
    display: inline-block;
}
.bordered {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #356AA0;
}
.bordered-black {
    padding: 10px;
    border-radius: 0px;
    border: 1px solid #000;
}
.no-border{
    border: 0px solid;
}
.red{
    color: red;
}
.blue{
    color: blue;
}
.dark-red {
    color: #FE2E2E; /*dark red*/
}
.dark-green {
    color: #04B431; /*dark green*/
}
.dark-yellow {
    color: #CC6600; /*dark yellow*/
}
.white-background{
    background-color: #ffffff;
}
.dark-gray-background{
    background-color: #505050;
}
.answer-bg {
    background-color: #fbf0cc; /*light-orange*/
    min-width: 301px;
}

.input-group .form-control:last-child:first-child {/*fix rounded border in input-group*/
    border-radius: 4px;
}

.bold{
    font-weight: bold;
}

label.radio{
	font-weight: normal;
}

.itemize{
    margin-left: 2em;
}

.fitcontent, .fitcontent-sm{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
}

.question-container .text{
    display: block;
    position: relative;
    top:-0.8em;
}

.form-group.question{
    width: 100%;
    max-width: 17em;
}

.legend .title{
    color: #777;
}

.legend .body{
    padding-right: 1em;
}

.division{
  display: inline-block;
  margin: 0.5em 1em;
}

#division td:not(:empty){
  text-align: center;
  padding: 2px 3px;
}

#division input{
  width: 3em;
  text-align: center;
  padding: 2px 5px;
  height: 30px;
}

#division td:last-child{
  padding-left: 1em;
  padding-right: 1em;
}

#division .glyphicon{
  padding-right: 0.2em;
}


#legend{
  width: 300px;
  background-color: white;
  font-size: 14px;
}

.primeDecomposition .lcm {
    font-weight: bold;
}

@media (max-width: 570px){
    .center-xs{
        margin-left: auto;
        margin-right: auto;
    }
    .text-center-xs{
        text-align: center;
    }
}
@media (max-width: 620px){
    .fitcontent-sm{
        width: auto;
        height: auto;
    }
}
