/*!
 * Navbar.css
 *
 *
 *
 *
 */

body {
    height: 100%;
}


/*.header-wrapper {*/
    /*height: 100%;*/
/*}*/

/*.rf-form-buttons  {*/
    /*font-size: 1em;*/
/*}*/

.navbar-static-top {
    margin-bottom: 0;
}
.navbar-header {
    position: relative;
}
.navbar-default .navbar-brand,
.navbar-default .navbar-text {
    color: #555;
}
.navbar-btn {
    margin-top: 10px;
    margin-bottom: 10px;
}
.navbar-fixed-top ~ #content {
    padding-top: 50px;
    height: 100%;
}
.navbar-fixed-top ~ .navbar-fixed-right {
    padding-top: 55px;
}
.navbar-fixed-right {
    padding: 5px;
    margin-bottom: 0;
    height: 100%;
    text-align: center;
    position: fixed;
    right: 0;
    border-width: 0 0 0 1px;
}
.navbar-fixed-bottom {
    padding: 5px;
    margin-bottom: 0;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #ddd;
}
.navbar-left + .navbar-left {
    padding-left: 10px;
}
.navbar-nav.nav-tabs {
    border-bottom: 0;
    margin-top: 10px;
}
.navbar-nav.nav-tabs > li > a {
    padding: 10px 15px 9px 15px;
}
.navbar-nav.nav-tabs > li.active > a,
.navbar-nav.nav-tabs > li.active > a:hover {
    background-color: #ffffff;
    border-bottom: 1px solid transparent;
}
.btn-group-vertical {
    height: 100%;
}
.btn-group-vertical  > .btn > .glyphicon {
    left: 0;
    top: 45%;
}
.glyphicon-spin {
    -animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}
@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
.btn-group-vertical > .btn.hide:first-child:not(:last-child) + .btn {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-group > .btn.hide:first-child:not(:last-child):not(.dropdown-toggle) + .btn {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.list-group-item .glyphicon,
.dropdown-menu li .glyphicon {
    margin-right: 5px;
}
.input-group {
    width: 100%;
}
label {
    outline: none;
}



.form-control.display-char-field {
    border:0px !important;
    border-image: none !important;
    border-image-width: 0 !important;
    box-shadow: none;
    overflow-y: hidden;
    line-height: 20px;
    background: transparent;
    /*height: auto !important;*/
}

.form-control[disabled],
.form-control[readonly] {
    /*background-color: #f1f1f1;*/
    color: black !important;

    /*color:#333;*/
    background: transparent;
    /*border: 1px solid #EAEAEA;*/
    border: none;
    box-shadow: none;
    opacity: 1;

}
.input-group .form-control[type="checkbox"] {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
    width:22px;
    margin: 0;
    margin-left: 8px;
}



.shell {
    float: left;
    width: 100%;
}
#the-dateMask {
    z-index: 0;
    top: 7px;
}
.panel-heading:only-child {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.panel-danger .modal-body {
    background-color: #f9f2f4;
    white-space: pre;
    overflow: auto;
}
.well {
    background-color: #e2e2e2;
}
.well > .form-group:last-child {
    margin-bottom: 0;
}
.table > thead > tr > th,
.table > tbody > tr > td {
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.table > tbody > tr.active > td,
.table > tbody > tr.active:hover > td {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}
.table > tbody > tr > td:focus {
    background-color: #f5f5f5;
    color: #333;
}
.table > tbody > tr > td.rs-col-long-text:focus {
    color: #fff;
    background-color: #337ab7;
}
.form-readonly .help-block {
    display: none;
}

.form-readonly {
    /*color: #555555;*/
}

.help-block {
    margin-top: 3px;
    margin-bottom: 5px;
    font-size: 0.9em;
}
.help-block ul {
    margin-bottom: 0;
}
.help-block2 {
    display: block;
    margin-top: 3px;
    margin-bottom: 5px;
    color: #737373;
    font-size: 0.9em;
}
.help-block:not(:last-child) {
    margin-bottom: 0;
}
.has-error .help-block,
.has-error .control-label,
.has-error2 .help-block,
.has-error2 .control-label {
    color: #bf3c37;
}
.has-error2 .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);
}

.has-error2 .form-control[disabled] {
    box-shadow: none;
}

.has-error2 .form-control:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.tooltip-inner {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.keyboardOn {
    margin-bottom: 205px !important;
}

::selection {
    background: #e3e3e3; /* WebKit/Blink Browsers */
}

.details-toggle.collapsed .glyphicon-zoom-out {
    display: none;
}

.details-toggle.collapsed .glyphicon-zoom-in {
    display: inline-block;
}

.details-toggle .glyphicon-zoom-in  {
    display: none;
}


.nav-pills>li>a {
    padding: 4px 8px;
    font-size: 1.16em;
}



.toolbar-logo {
    max-height:22px;
    margin-top: -7px;
}

.navbar-brand {
    font-weight: normal;
}

legend {
    border-bottom: 1px solid #999;
    font-size:18px;
    margin-bottom:10px;
}

@media (min-width: 768px) {
    #content > .container {
        padding-top: 15px;
    }

    .toolbar-logo {
        max-height:36px;
        margin-top: -7px;
    }

    .form-inline label {
        width: 40%;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-header {
        width: 100%;
    }
    .navbar-right {
        margin-right: 0;
    }
    .navbar > .container .navbar-brand,
    .navbar > .container-fluid .navbar-brand {
        margin-left: 0;
    }

    /**
     * Space between logo and button
     */
    .formath-buttons {
        margin-left: 20px;
    }

}

/*******************************************************************************
 *
 *
 ******************************************************************************/
@media (max-width: 767px) {
    .login-background {
        background-image: none;
    }


    .container {
        padding: 0;
    }
    .panel {
        margin: 0;
        border-width: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-fixed-top ~ #content {
        padding-top: 30px;
    }
    .navbar-fixed-top ~ .navbar-fixed-right {
        padding-top: 35px;
    }
    .navbar {
        min-height: 30px;
    }
    .container > .navbar-header,
    .container > .navbar-collapse {
        margin: 0;
        padding: 0 10px;
    }
    .navbar-brand {
        padding: 0;
        height: auto;
        margin: 5px 0;
        line-height: 22px;
        font-size: 1.16em;
        max-width: 75%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-text {
        line-height: 20px;
        margin: 5px 0;
    }
    .navbar-right {
        float: right;
    }
    .navbar-right + .navbar-right {
        padding-right: 5px;
    }
    .navbar-left {
        float: left;
    }
    .navbar-left + .navbar-left {
        padding-left: 5px;
    }
    .navbar-btn {
        margin: 5px 0;
    }
    .navbar-btn .btn-sm {
        padding: 1px 5px;
    }
    .navbar-nav {
        margin: 0;
    }
    .navbar-nav > li {
        float: left;
        line-height: 1;
    }
    .navbar-nav > li > a {
        padding: 9px 5px;
        height: auto;
        line-height: 1;
    }
    .navbar-nav.nav-tabs {
        margin-top: 5px;
    }
    .navbar-nav.nav-tabs > li > a {
        padding: 7px 5px;
    }
    .navbar-fixed-right {
        height: 100%;
    }
    .dropdown-menu {
        width: 100%;
    }
    .dropdown-menu li:not(:first-child) {
        border-top: 1px solid #ddd;
    }
    .dropdown-menu li a {
        width: 100%;
        padding: 5px 10px;
    }
    .list-group {
        margin-bottom: 0;
    }
    .list-group-item {
        padding-top: 5px;
        padding-bottom: 5px;
        border-left-width: 0;
        border-right-width: 0;
    }
    .list-group-item:first-child {
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
    .list-group-item:last-child {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    .panel-heading,
    .panel-body,
    .panel-footer,
    .modal-body,
    .well {
        padding: 5px;
    }
    .list-group-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .well {
        margin-bottom: 10px;
    }
    .form-group {
        margin-bottom: 5px;
    }
    .form-group.form-active {
        margin-bottom: 40px;
    }
    label {
        margin-bottom: 0;
    }
    legend {
        font-size: 1.16em;
        margin-bottom: 5px;
    }

    input.masked {
        font-size: 1.16em;
    }
    #the-dateMask {
        font-size: 1.16em;
        left: 5px;
        top:4px;
    }
    .alert {
        margin-bottom: 0;
        padding: 10px;
    }
    .brand-formath-buttons {
        max-width: 35%;
    }
}


/*******************************************************************************
 *
 *
 ******************************************************************************/
@media (min-width: 320px) {

    .form-group {
        margin-bottom: 2px;
    }
    .form-group.form-active {
        margin-bottom: 40px;
    }
    .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }
    .form-inline .input-group {
        display: inline-table;
        vertical-align: middle;
        width: 60%;
        margin-left: -4px;
    }
    .form-inline .input-group .form-control:not([type="checkbox"]) {
        width: 100%;
    }
    .form-inline .control-label {
        margin-bottom: 0;
        vertical-align: middle;
        width: 40%;
        text-align: right;
        padding-right: 8px;
    }
    .formath-buttons {
        margin-left: 5px;
    }

}
@media (max-width: 240px) {
    .brand-formath-buttons {
        max-width: 10%;
    }
}
@media (orientation: landscape) {
    .hidden-portrait {
        display: none;
    }
    .navbar-fixed-right ~ #content {
        padding-right: 50px;
    }
}
@media (orientation: portrait) {
    .hidden-landscape {
        display: none;
    }
    .navbar-fixed-bottom ~ #content {
        padding-bottom: 30px;
    }
}
/**
 * Intermec vertical device
 */
@media (min-height: 320px) {
    .navbar-btn .btn-sm {
        font-size: 1.16em;
    }

    .navbar-fixed-top ~ #content {
        padding-top: 38px;
    }
}

/**
 Buttons heights
 */

.height_100 {
    height: 100%;
}


.height_50 {
    height: 50%;
}

.height_33 {
    height: 33%;
}

.height_25 {
    height: 25%;
}


/**
    HIDE ALL BUTTONS BUT "accept" when screen height is less than 200px
    (ie: when keyboard is opened)
 */
@media (max-height: 200px) {

    .deleteGroup, .clear_value,  .remove_value {
        display: none !important;
    }

    .accept_value {
        height:100% !important;
    }
}


/**
 *
 */
div.input-group .media-canvas {
    width:240px;
    height:180px;
}

/**
 *
 */
div.input-group .media-canvas.signature  {
    width:240px;
    height:240px;
}



/**
 *
 */
.formath-button {
    border: 1px solid #888888;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}




.rf-keyboard-container {
    min-height:50px;
}
.ui-keyboard span {
    font-size: 2em !important;
}
.ui-keyboard-button {
    height: 3em !important;
    width: 5.5em !important;
    margin: .1em !important;
    cursor: pointer !important;
}


@media (max-width: 660px) {
    .filed-type-1 .ui-keyboard-button {
        height: 3em !important;
        width: 3.5em !important;
        margin: .1em !important;
        cursor: pointer !important;
    }

    .filed-type-1 .ui-keyboard span {
        font-size: 1.5em !important;
    }
}

.ui-keyboard {
    border-radius: 0 !important;
    border:0px !important;
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    /*position: fixed !important;*/
    position: unset !important;
    /*width: 50% !important;*/
    max-width: calc(100% - 64px);
}

