/* ---------------------------------------------------------------------------
 * Copyright (c) 2016 Ignacio Casinelli Esviza. Todos los derechos reservados.
 * Prohibido su uso, copia, reutilización, modificación y/o comercialización
 * sin la autorización expresa por escrito del autor.
 *
 * THIS IS NOT OPEN SOURCE - ESTO NO ES OPEN SOURCE
 */

body {
    font-family: 'Open Sans';
    padding-top: 112px;
    padding-bottom: 40px;
}

body.no-commands {
    padding-top: 60px;
}

.navbar-brand {
    font-size: 1rem;
}

.command-menu {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1029;
    min-height: 30px;
    font-weight: 500;
    height: 80px;
    top: 51px;
    padding: 7px 10px 7px 10px;
}

.command-menu .form-group {
    margin: 0;
}

.panel-side {
    border-radius: 5px;
    top: 142px;
    left: 10px;
    position:fixed;
    bottom: 46px;
    z-index: 1028;
    overflow: auto;
    width: 250px;
    padding: 10px 10px 7px 10px;
}

body.no-commands .panel-side {
    top: 51px;
}

.panel-side > .page-header {
    margin-top: 0;
}

.panel-side h1 {
    min-height: 43px;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 12px;
    margin-bottom: 0;
}

.panel-side .list-group {
    font-size: 14px;
}

.panel-content {
    padding-top: 15px;
    margin-left: 272px !important;
}

.panel-content.no-side {
    margin-left: 0 !important;
}

.panel-content > .page-header {
    margin-bottom: 20px;
}

.view-container {
    padding: 5px;
    margin-top: 15px;
    margin-right: 10px;
    border-radius: 5px;
}

.panel-content .form-control,
.panel-side .form-control {
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: none;
}

.panel-content .form-control:focus,
.panel-side .form-contro:focus {
    box-shadow: none;
}

/*
.panel-content .form-group label::after,
.panel-side .form-group label::after {
    content: ':';
}
*/

.panel-content .form-control .no-case {
    text-transform: none;
}
.table-click tr td {
    cursor: pointer;
}

.top-gap {
    margin-top: 15px;
}

td .form-group {
    margin-bottom: 0;
}

.ui-timepicker-table td a {
    width: auto;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }

.form-actions {
    padding-top: 15px;
    padding-bottom: 15px;
}

.form-actions:before,.form-actions:after{display:table;content:"";line-height:0;}
.form-actions:after{clear:both;}

.form-actions {
    margin-top: 20px;
    margin-bottom: 20px;
}

.widget-settings {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    bottom: 0;
}
.widget-settings-offscreen .widget-settings-list {
    display: none;
}
.widget-settings-pane {
    position: absolute;
    z-index: 1;
    left: -340px;
    width: 320px;
    height: 100%;
    background-color: white;
	transition-property: transform;
	box-shadow: 0 -1px 24px rgba(0,0,0,0.4);
}
.widget-settings-shim {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    opacity: 0;
    transition-property: opacity;
    background: black;
    width: 100%;
    height: 100%;
}
.widget-settings-pane,
.widget-settings-shim {
    transition-duration: 0.3s;
}
.widget-settings-offscreen .widget-settings-shim {
    width: 0;
    height: 0;
}
.widget-settings-open .widget-settings-pane {
    -webkit-transform: translateX(340px);
    transform: translateX(340px);
}
.widget-settings-open .widget-settings-shim {
    opacity: 0.3;
}
.widget-settings-open .widget-settings-content {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.widget-settings-header {
    cursor: pointer;
}

.widget-settings-header,
.widget-settings-list {
    padding: 5px 22px;
}
.widtget-settings-header h4 {
    margin: 0;
}
.widget-settings-icon-close {
    top: 3px;
    position: absolute;
    right: 24px;
    opacity: .8;
    padding: 0;
}
.widget-settings-list {
    border-top: 1px solid #d9d9d9;
    color: #777;
    font-size: 13px;
    margin: 0;
}
.widget-settings-list:last-child {
    margin-bottom: 40px;
}
.widget-settings-list-item {
    padding: 6px 0;
}
.widget-settings-button {
    color: inherit;
    width: 100%;
    height: 100%;
    display: inline-block;
    text-align: left;
    cursor: pointer;
    position: relative;
    line-height: 24px;
    padding: 0;
}
.widget-settings-button:hover {
    text-decoration: none;
}
.widget-settings-button-icon-default,
.widget-settings-button:hover:not(.widget-settings-intent-disabled) .widget-settings-button-icon-hover,
.widget-settings-intent-on > .widget-settings-button-icon-hover {
    display: inline-block;
}
.widget-settings-button-label,
.widget-settings-sub-button-label {
    cursor: inherit;
    margin-left: 48px;
    display: block;
    margin-bottom: 0;
    font-size: 15px;
}
.widget-settings-button-icon {
    height: 24px;
    width: 24px;
    float: left;
}

.full-width {
    width: 100%;
}

.well h1,
.well h2,
.well h3,
.well h4 {
    margin-bottom: 0;
    font-weight: bold;
}

.no-scroll {
    overflow: hidden;
}

.no-wrap,
.nowrap {
    white-space: nowrap !important;
}

.radio label {
    width: 100%;
}

label.radio {
    padding-left: 40px;
}

.full-width {
    width: 100%;
}

@media (min-width:1600px){
	.panel-side {
		width: 300px;
	}
	.panel-content {
        margin-left: 325px !important;
        margin-right: 15px;
	}
}

.list-group-item.title {
    padding: 5px;
}
.well-glass {
    border-width: 2px;
    padding: 15px;
}
.well-glass .logo {
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 14px;
}
.well-glass input[type="text"]:focus,
.well-glass input[type="password"]:focus,
.well-glass input[type="submit"]:focus {
    outline: medium none;
}
.well-glass input[type="text"],
.well-glass input[type="password"] {
    padding: 8px 4px 8px 10px;
    margin-bottom: 15px;
    border-radius: 2px;
    transition: all 0.3s ease-out 0s;
}
.well-glass .session-messages {
    margin: 0px;
    margin-top: 10px;
}
.well-glass .session-messages .alert-heading {
    display: none;
}
.well-glass .logo-wrapper {
    text-align: center;
    padding: 10px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    margin: -15px -15px 10px -15px;
}
.well-glass img {
    display: block;
    margin: 0 auto 10px auto;
}
.well h4 {
    margin-top: 0;
}

.porta-silueta {
    width: 128px;
    height: 128px;
    margin-bottom: 20px;
}

.separado-top {
    margin-top: 20px;
}

label.radio {
    padding-left: 40px;
}

.ui-timepicker-table td a {
    width: auto;
}

.hide {
    display: none !important;
}

.col-form-label {
    text-align: right;
}

.help-block {
    display: inline-block;
    font-style: italic;
    margin-bottom: 3px;
}

.session-messages ul {
    margin: 0;
}

.btn {
    cursor: pointer;
}

.panel-side-content {
    display: none;
}
.tab-pane-content {
    display: none;
}
.command-content {
    display: none;
}

.command-menu #command-buttons .btn-group,
.command-menu #command-buttons button,
.command-menu #command-buttons a {
    margin-right: 15px;
}

.command-menu #command-buttons .btn-group button,
.command-menu #command-buttons .btn-group a {
    margin-right: 0;
}

.bootstrap-switch {
    display:block;
    max-width:150px
}

.form-group.has-danger {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
}

.form-control-feedback {
    font-size: small;
    font-style: italic;
}

.side-menu-content {
    padding: 10px;
}

.command-menu.compact {
    height: 77px;
}

.command-menu.compact .form-check {
    margin-bottom: 0 !important;
}

.form-check-label {
    cursor: pointer;
    width: 100%;
}

#side-menu.widget-settings {
    position: fixed;
    z-index: 1028;
    top: 129px;
    bottom: 0;
    left: 0px;
}

#side-menu .widget-settings-pane {
    box-shadow: 0 14px 24px rgba(0,0,0,0.4);
    width: 270px;
    left: -240px;
}

#side-menu.widget-settings-open .widget-settings-pane {
    -webkit-transform: translateX(240px);
    transform: translateX(240px);
}

.main-menu-logos {
    padding-top: 30px;
}

.main-menu-logos img {
    max-width: 65%;
    display: block;
    margin: 0 auto 30px auto;
}

.app-header {
    font-size: 13px;
}

.card-3d {
    margin-bottom: 15px;
    box-shadow: rgba(120, 120, 120, .5) 1px 1px 2px;
}

.jumbo-header {
    background-color: darkviolet;
    color: white;
    min-height: 240px;
}

.jumbo-header h1 {
    font-size: 40px;
    text-shadow: rgba( 50, 50, 50, .75) 2px 2px 3px;
}

body.model .command-menu {
    height: 45px;
}

body.model.with-command-menu {
    padding-top: 100px;
}

footer {
    position: fixed;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
    bottom: 0px;
    left: 0px;
    color: silver;
    padding: 7px 8px 7px 8px;
    background-color: rgba( 0, 0, 0, .80);
    border-top-right-radius: 10px;
    border-top: 2px solid rgba(255, 255, 255, .6);
    border-right: 2px solid rgba(255, 255, 255, .6);
    font-size: 13px;
    z-index: 1029;
}

footer a {
    color: silver;
}

footer dt {
    font-weight: bold;
    color: white;
    float: left;
}

footer dd {
    float: left;
    margin-right: 10px;
    margin-bottom: 0;
}

legend {
    border-bottom: 1px solid #ddd;
    margin-top: 15px;
}

a[title=JavaScript\ charts] {
    color: transparent !important;
}

.fixed-right {
    transition: all .5s ease;
    position: absolute;
    top: 140px;
    right: 0px;
    bottom: 0px;
    overflow: scroll;
    padding: 5px;
    left: 50%;
}

.fixed-right.open {
    width: 100%;
    left: 0px;
}

#loading-wrapper {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 4000;
    width: 100%;
    height: 100%;
    cursor: progress;
}

#divCargando {
    height: 51px;
    top: 0px;
    display: block;
    width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    z-index: 9000;
    padding: 10px;
}

.card-header > * {
    margin: 0;
}

.ck-editor__editable {
    min-height: 300px;
}

.ui-datepicker{ z-index: 100 !important;}