

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
body, a .panel-heading, .panel-body, .form-control {
    color: #353535;
}

.navbar-default .navbar-brand {
    color: #555555;
}

p,ul li {
   font-weight:500;
   font-size: 14px;
}

.jumbotron p {
	font-size: 16px;
}

.selections {
	min-height: 170px;
}

input.form-control.input-sm {
	box-shadow: none;
}

pre#convertedTextPre, .panel.panel-default {
    margin-top: 20px;
}

.jumbotron h1, .jumbotron .h1 {
	font-size: 40px;
}

#errorWell {
	display: none;
}

footer p {
	text-align: center;
}

/* Juhised MODAL fix */

#scroll-wrap {
    max-height: 50vh;
    overflow-y: auto;
    padding-top: 10px;
}

.modal-backdrop {
  z-index: -1;
}

.modal-body {
    padding-top: 0;
}

/* fix size in modal */
#scroll-wrap pre {
    max-width: 100%;
    width: 100%;
    white-space: pre-wrap;
    word-break: normal;
}

#scroll-wrap p {
    font-size: 15px;
}

span.helpIcon {
    padding: 5px 9px;
    color: white;
    background: #4e5d6c;
    border-radius: 4px;
    font-size: 8px;
    margin-left: 6px;
    cursor: pointer;
    opacity:0.5;
    transition: opacity 1s;
}

span.helpIcon:hover {
    opacity: 0.8;
}

.popover {
    min-width:285px;
    z-index:1029;
}

.popover-title {
    background-color: white;
}

/* .btncopy */
button.btncopy:before {
    content: "\e205";
    font-family: 'Glyphicons Halflings';
}

.btncopy {
    position: relative;
    top: -4px;
    float: right;
}

.col-md-6 .btncopy {
    left: 0%;
}

/* END */

span.etTitle {
    color: #6b6b6b;
    font-size: 15px;
}

span.glyphicon.glyphicon-question-sign {
    float: left;
    margin-right: 3px;
    margin-top: 2px;
    cursor: pointer;
}

span.settingsDesc {
    color: #585858;
    font-size: 10px;
}

 .formulation, .outcome, .comment {
    padding: 8px 14px 8px 14px;
    margin-bottom: 20px;
    color: #c09853;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.formulation {
    color: #3a87ad;
    color: #333;
    background-color: #d9edf7;
    border-color: #bce8f1;

    background-color: #fff;
    border-color: #cad0d7;
    border-width: 1px;
    width: calc(100% - 105px);
    margin-left: 10px;
}

.formulation input {
    width: 60%;
    margin-left: 10px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid;
    color: #468847;
    background-color: #dff0d8;
    border-color: #468847;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

.answer label {
    display: table; 
}

.answer input[type="checkbox"],
.answer input[type="radio"] {
    float: left;
    width: 14px;
    margin-right: 4px;
    margin-top: 3px;
    box-shadow: none;
}

.answer input[value] {
    margin-top: 9px;
}

.answer span.choice-feedback {
    display: block;
    margin-left: 24px;
    padding: 2px 4px;
    border-radius: 4px;
    width: fit-content;
    padding: 0.25em 0.5rem;
    background: #fff3bf;
    color: #333;
}

.qtext {
    margin-bottom: 10px;
    white-space: pre-line;
}

.whitebox {
    height: 60px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
}

span.choice-points {
    color: #aaa;
    padding-left: 10px;
    font-size: 10px;
}

.qbox {
    padding: .5em;
    margin-bottom: 6px;
    background-color: #eee;
    border: 1px solid #dcdcdc;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #cad0d7;
}

span.catname {
    display: block;
    color: #555555;
    font-size: 10px;
}

.generalfeedback {
    margin-bottom: -10px;
    margin-top: -15px;
    background-color: #ffe3d1;
    border-color: #ffd6ba;
    color:#333;
    position: relative;
    left: 95px;
    width: calc(100% - 105px);
    margin-left: 10px;
}

/* Fix top menu */
.navbar-brand {
    width: 80%;
}

ul.nav.nav-pills.navbar-right, button.navbar-toggle {
    margin-top: 10px;
    margin-bottom:10px;
}

a {
    font-style: italic;
}

li a {
    font-style: normal;
}

/* Remove underline from collapse */
a[data-toggle]:hover, a[data-toggle] {
    text-decoration: none!important;
    color: #333;
}

/* Added arrow to Teated */
.panel-heading:before {
    font-family: 'Glyphicons Halflings'; 
    padding-right:4px;
    position:relative;
    top:2px;
}

a[aria-expanded="false"] .panel-heading:before, a[href="#errorWellContainer"] .panel-heading:before {
    content:"\e133";
}

a[aria-expanded="true"] .panel-heading:before {
    content:"\e134";
}

a .panel-heading, .panel-body {
    font-style: normal;
    /*color:rgb(119, 119, 119)!important;*/
}

/* END */

/* Custom selected text coloring */
::selection {
    color: whitesmoke;
    background:#0298cd;
}

::-moz-selection {
    color: whitesmoke;
    background:#0298cd;
}

div#errorWell, pre#convertedTextPre {
    max-height: 200px;
    overflow: auto;
}

.hljs {
    background: #fff;
}

table.matching td {
    padding: 8px 10px 8px 10px;
}
/* END */

.extraoptions input.form-control.input-sm {
    box-shadow: none;
    display: inline-block;
    width: 20px;
    position: absolute;
    right: 15px;
    margin-top: -4px;
}

.extraoptions legend {
    font-size: inherit;
    padding: 0;
    padding-bottom: 6px;
    margin-bottom: 8px;
    color: inherit;
}
.extraoptions label {
    margin-bottom: 15px;
    width: calc(100% - 50px);
}

.panel-body .col-lg-4.col-md-4 {
    margin-bottom: 20px;
}
.panel-body .col-lg-4.col-md-4.extraoptions {
    margin-bottom: 0px;
}

h4, h5, h6 {
    font-weight:  bold;
}
h5 {
    font-size: 16px;
}

a {
    font-style: normal;
}

:target {
    scroll-margin-top: 10px;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .generalfeedback {
        margin-left: -6px;
    }
}

@media (max-width: 992px) {
    .generalfeedback, .formulation {
        margin-left: 0px;
        left: 0;
        width: 100%;
    }
    .qbox {
        padding: 8px 14px;
    }
}