/* [START] FORM Improvements */
#map_q {
    height: 300px;
}

.bootstrap-wrapper .alert.non-translatable {
    padding: 7px 12px;
    margin-bottom: 0px;
}

.blueimp-gallery {
    z-index: 99999;
}

.quick-submission hr {
    margin:1.75em 0 1.75em 0;
}

.panel-body h4, .bootstrap-wrapper h4
{
    margin:1.5em 0 1.5em 0;
}

.bootstrap-wrapper .upload-files-widget .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;

    font-family: Montserrat, "Helvetica Neue", sans-serif;
    vertical-align: top;

}

.bootstrap-wrapper .upload-files-widget .btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
    text-transform: none;
    float:left;
}

.bootstrap-wrapper .upload-files-widget .btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.ci.sw_widget .bootstrap-wrapper .upload-files-widget .btn-xs, 
.ci.sw_widget .bootstrap-wrapper .upload-files-widget .btn-group-xs > .btn {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    height: auto;
}

.ci.sw_widget .bootstrap-wrapper .upload-files-widget .btn-xs i{
    font-size: 13px;
}

.sw_widget .fileupload-buttonbar *
{
    font-size: 14px;
}

.files-list .btn-info.iedit.visible-inline-lg
{
    display:none !important;
}

.ci.sw_widget.sw_wrap .upload-files-widget input[type="checkbox"] {
    float: left;
    width: auto;
    margin: 4px 4px 0px 4px;
}

.bootstrap-wrapper .upload-files-widget code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;

    display:inline-block;
    white-space: nowrap;
    overflow:hidden !important;
    text-overflow: ellipsis;
}

.bootstrap-wrapper .upload-files-widget span.delete
{
    display: inline-block;
}

ul.files-list
{
    list-style: none;
}

ul.files-list li
{
    overflow: hidden;
    height: 177px;
}

ul.files-list .filename
{
    line-height: 1;
}

div.options-container
{
    line-height: 1;
    outline-style: none;
    outline-width: 0px;
    font-size:13px;
}

.bar {
    background-color: #e8e8e8;
    border-right-color: #99d;
}

.progress-extended
{
    overflow: hidden;
}

.fileinput-button input
{
    transform:none;
}

.bootstrap-wrapper .progress {
    height: 20px;
    margin-bottom: 0px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fileupload-progress
{
    height: 40px;
    overflow: hidden;
}

.bootstrap-wrapper .has-error .help-block, .bootstrap-wrapper .has-error .control-label, .bootstrap-wrapper .has-error .radio, .bootstrap-wrapper .has-error .checkbox, .bootstrap-wrapper .has-error .radio-inline, .bootstrap-wrapper .has-error .checkbox-inline, .bootstrap-wrapper .has-error.radio label, .bootstrap-wrapper .has-error.checkbox label, .bootstrap-wrapper .has-error.radio-inline label, .bootstrap-wrapper .has-error.checkbox-inline label {
    color: #a94442;
}

.ci.sw_widget.sw_wrap .bootstrap-wrapper .has-error input.form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.files .preview *
{
    width:auto;
}

.box-container {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

.box-container .panel  {
    padding: 25px 25px;
    background: #fff;
    border: 0;
    border-radius: 0;
    margin-bottom: 35px;
}

.box-container .sw_widget  .panel  {
    padding: 25px 25px;
    padding-bottom: 10px;
}

.box-container .panel-heading  {
    background: transparent;
    padding: 0;
    border: 0;
    color: #000;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 40px;
    position: relative;
    text-overflow: ellipsis;
}

.box-container .panel-heading .title  {
    color: #092c61;
    font-size: 25px;
    font-weight: 700;
    margin: 0;
    height: initial;
    margin-bottom: 25px;
    position: relative;
    text-overflow: ellipsis;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative
}

.box-container hr  {
    display: none;
}

.ci.sw_widget.sw_wrap .upload-files-widget .fileupload-buttonbar input[type="checkbox"] {
    margin: 10px 4px 0px 10px;
}

.alert {
    border-radius: 0;
}

.widget .files.files-list {
    margin-left: -7px;
    margin-right: -7px;
}

.widget .files.files-list:after {
    content: '';
    display: table;
    clear: both;
}

.widget .files.files-list li {
    margin: 7px !important;
    padding-top: 0 !important;
}

.btn {
    border-radius: 0 !important;
}

.img-rounded {
    border-radius: 3px;
}

.widget:not(.widget-box) .upload-files-widget ul li:last-child,
.widget:not(.widget-box) .upload-files-widget ul li,
.widget:not(.widget-box) .upload-files-widget ul li:first-child {
    border: 1px solid #E5E5E5;
}

.box-container .panel .presuf {
    padding-top: 13px;
}

.box-container .panel .form-horizontal .form-group input[type=checkbox] {
    margin: 20px 0 0;
}

.page-title {
    background: #fff;
    padding-bottom: 0;
    margin: 0;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
}

.box-container-title .title {
    margin: 0;
}

.widget .nav.nav-tabs {
    margin-left: 0;
}

.table.table-striped strong {
    color: #092c61;
}

.quick-submission .winter_dropdown_tree > .btn-group ,
.quick-submission .winter_dropdown_tree {
    width: 100%;
    min-width: initial;
}

body .quick-submission .winter_dropdown_tree > .btn-group  button.btn.btn-default:first-child {
    width: calc(100% - 50px);
    min-width: initial;
}

@media (max-width: 991px) {
    .box-overflow-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* [/END] FORM Improvements */

@media (min-width: 768px){
    .col-sm-4 > .form-group .control-label {
        width: 50%;
    }

    .col-sm-4 > .form-group div {
        width: 40%;
    }

    .col-sm-4 > .form-group div.col-sm-3 {
        width: 10%;
    }

    .col-sm-6 > .form-group .control-label {
        width: 33.33333333%;
    }

    .col-sm-6 > .form-group div {
        width: 40%;
    }

    .col-sm-6 > .form-group div.col-sm-3 {
        width: 10%;
    }
}

.fileinput-button input {
    width: initial !important;
}