﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    position:relative;
}

.body-watermark {
    background-image: url(~/Content/images/robot.png);
    background-repeat: no-repeat;
    background-position: top right;
    width:350px;
    height:350px;
    position:absolute;
    right:0;
    top:60px;
    opacity:0.3;
}

.form-control { font-size: 13px; height: auto; }
.selectize-input { min-height: unset; border-radius: 3px; border: 1px solid #e5e6e7; display: block; box-shadow: unset; -webkit-box-shadow: unset }
.selectize-input.focus { box-shadow: unset; -webkit-box-shadow: unset }
.selectize-dropdown-content p { padding: 5px 10px; margin: 0; }

.big-input {
    font-size: 24px;
    padding:30px;
}

.form-login .btn {
    margin-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.btn-action {
    padding-left: 50px;
    padding-right: 50px;
    min-width: 140px;
}

.btn-modal {
    min-width: 100px;
}

.btn-new {
    margin: 20px 0;
}

.btn-loading {
    background-image: url(~/Content/images/hourglass24w.svg);
    background-position: right 10px center;
    background-repeat: no-repeat;
}

.validation-summary-errors ul {
    margin-top: 0;
    margin-bottom: 0;
}

.file-size {
    margin:5px;
    padding:5px;
    display:inline-block;
    text-align:right;
}

.file-type {
    font-weight: bold;
    padding: 5px 20px;
    color: white;
    background-color: gray;
    text-transform: uppercase;
    border-radius: 5px;
    text-align:center;
    margin:5px;
    display:inline-block;
    min-width:80px;
}

.file-type-pdf {
    background-color: darkred;
}

.file-type-doc, .file-type-docx {
    background-color: darkblue;
}

.file-type-xls, .file-type-xlsx {
    background-color: darkgreen;
}

.file-type-jpg, .file-type-jpeg, .file-type-png, .file-type-gif, .file-type-bmp {
    background-color: purple;
}

.full-width {
    width: 100%;
}

.half-width {
    width: 50%;
}

.no-wrap {
    white-space: nowrap;
}

/*
.datagrid td, .datagrid th {
    vertical-align: middle !important;
}
*/

.index-page-search-box {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.inline-checkbox {
    margin: 9px 0;    
}

fieldset {
    margin-bottom:10px;
}

.option-group {
    font-weight : bold;
    background-color: #eee;
}

table td, table th {
    position: relative;
}

.table {
    margin-bottom:0;
}

.table-responsive {
    margin-bottom:20px;
}

legend a.btn {
    float: right;
    padding: 3px 10px;
    margin-top: 2px;
}

.tab-content { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }

.nav-tabs .del-button {
    display:none;
}

.nav-tabs .active .del-button {
    float: right;
    color: silver;
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.2;
}

.nav-tabs .active .del-button:hover {
    color: red;
    opacity:1;
}

/* bootstrap.css overrides */

th {
    font-weight: normal;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.tooltip,
.popover {
    /*font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;*/
    font-family: "Ubuntu", Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

label {
    font-weight: normal;
}

option[disabled] {
    background-color: #eee;
    font-weight: bold;
}

@media (min-width: 768px) {
    .col-form-label {
        text-align: left;
        white-space: nowrap;
        padding-bottom: 3px;
        border-bottom: dotted 1px #ccc;
        margin-left: 15px;
        margin-right: -15px;
        padding-left: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 30px;
    }
}

.form-horizontal span.form-control {
    background: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: dotted 1px #ccc;
    white-space:nowrap;
    overflow:hidden;
    height: 32px;
}

.form-horizontal span.form-control.multiline {
    white-space:normal;
    overflow:auto;
    height:auto;
}

i.fa.form-control-feedback {
    top: 11px;
}

.input-group-addon input[type="checkbox"] {
    margin-top: inherit;
}

.form-group {
    margin-bottom: 10px;
}

.form-control.selectize-control {
    margin-bottom: -5px;
}

.progress.ajax-progress {
    background-color: transparent;
    height: 5px;
    margin-bottom: 0;
}

.radio label,
.checkbox label {
    min-height: 16px;
}

.text-middle {
    vertical-align: middle !important;
}

.text-top {
    vertical-align: top !important;
}

.text-bottom {
    vertical-align: bottom !important;
}

.bold {
    font-weight: bold;
}

.simple-checkbox {
    display: inline-block;
    margin-right: 20px;
    padding-top: 0 !important;
}

.navbar-brand .logo {
    height: 50px;
    max-width: 230px;
}

.render-products {
    max-height: 60px;
    overflow: auto;
    white-space: normal;
    max-width: 300px
}

.render-products ul {
    margin: 0;
    padding-left: 0;
}

.render-products ul li, .render-products span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.product-details {
    color: #999;
    font-size: 13px;
    line-height: 13px;
    white-space: nowrap;
}

.text-red {
    color: red;
}

@media (max-width: 1199px) {
    .has-right-sidebar {
        margin-right: 0;
    }
    .right-sidebar {
        display: none;
    }
}

@media (min-width: 1200px) {
    .has-right-sidebar {
        margin-right: 180px;
    }
    .right-sidebar {
        display: unset;
    }
}

.right-sidebar {
    width: 180px;
    position: absolute;
    right: 0;
    border-left: 1px solid #e5e5e5;
    padding-left: 15px;
    padding-right: 15px
}

.action-buttons { padding-top: 10px; padding-bottom: 10px; }
.action-buttons .btn { margin-top: 2px; margin-bottom: 2px }
.action-buttons .btn-action { min-width: 130px; margin-top: 2px; margin-bottom: 2px }

.action-buttons form {
    display: inline-block;
}

.action-buttons form .action-button {
    width: 130px;
    margin-bottom: 5px;
}

.action-buttons form.col-xs-4 {
    padding-left: 5px;
    padding-right: 5px;
}

.action-buttons .row {
    margin-left: -5px;
    margin-right: -5px;
}

h2, .h2 {
    line-height: 35px;
    margin-top: 12px;
}

.guest-wrapper {
    padding: 15px;
    margin: auto;
    max-width: 1000px;
}

a.datagrid-action-link:hover {
    text-decoration: underline;
}

.sheet {
    max-width:1200px;
    background: #fff;
    box-shadow: gray 0px 0px 15px;
    margin: auto;
    margin-bottom: 15px;
    padding:30px 50px;
}

.sheet-width {
    max-width: 1200px;
    margin: auto;
}

.auto-margin {
    margin: auto;
}

.panel {
    background-color: #fefefe;
}

.datagrid tfoot th {
    font-weight: bold;
}

.form-control-padding {
    padding: 6px 12px;
}

.h3, .h4, .h5 {
    margin-top: 5px;
}

.pagination-wrapper { margin-top: -20px; padding-top: 5px; padding-bottom: 0px; margin-bottom: 10px; margin-left: 0; margin-right: 0; }
.pagination-wrapper p { line-height: 36px; vertical-align: middle; margin: 0; white-space:nowrap; }
.pagination-wrapper select { width: 80px; border-radius: 4px; height: 36px; margin-left: 10px; display: inline }
.pagination-wrapper div.col-md-3 { padding-left: 5px; padding-right: 5px; }
.pagination { margin: 0; height: 36px; }
.pagination > li > a, .pagination > li > span { padding: 7px 14px; }

.table-responsive.well { padding: 0; box-shadow: 0 0 2px #aaa; border: double 4px #eee }
.modal-title { text-align: left; }
.field-validation-error { color: red; padding-left: 5px }
.input-validation-error { border-color: red }
.table-cell { display: table-cell; vertical-align: middle; }
.ibox-content { padding: 10px; }
.ibox-content .table { margin-top: -10px; }
.ibox-content .table th { font-weight: bold; }
.section-items .data-row td small { color: #ccc; margin-left: 3px; margin-bottom: -13px; display: block; font-size: 70%; }
input[type="password"][readonly] { background-color: #fff; }
.breadcrumbs a, .breadcrumbs i.fa { color: #aaa; }
.breadcrumbs i.fa { padding-left: 7px; padding-right: 7px; }
.table > thead > tr > th.datagrid-filter { padding: 0; min-width: 70px; }
.table > thead > tr > th.datagrid-filter input { border: none }
.table > thead > tr > th.datagrid-filter select { border: none }
.table > thead > tr > th.datagrid-filter .form-control { padding: 8px; }
.datagrid th { min-width: 40px; }
.datagrid i.fa-square-o { font-size: 20px; color: #aaa; }
.datagrid i.fa-check-square-o { font-size: 20px; color: #337ab7; }
.data-row fieldset { margin-bottom: 0; }
.data-row fieldset legend { font-size: 14px; font-weight: normal; margin-bottom: 10px; padding: 3px 6px; background-color: #eee; border-radius: 2px; }
.data-row fieldset legend.level-1 { font-weight: bold; background-color:#ddd; border: dotted 1px #ccc }
.field-multiple-action { position: absolute; right: 0; top: 7px }
.form-multiple-action { position: absolute; right: 5px; top: -33px; }
.entry-error { float: left; color: red; vertical-align:middle; padding-top: 5px; margin-right:5px; }

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th { vertical-align: middle; }

.nav > li.active { border-left: unset; background: unset; }
.tabs-container .panel-body { background: #fafafa; }
.tabs-container .nav-tabs > li.active > a, .tabs-container .nav-tabs > li.active > a:hover, .tabs-container .nav-tabs > li.active > a:focus { background: #fafafa; }

.square-box { position: relative; width: 100%; overflow: hidden; background-position: center center; background-repeat: no-repeat; background-size: cover; }
.square-box:before { content: ""; display: block; padding-top: 100%; }
.square-content { position: absolute; top: 0; left: 0; bottom: 0; right: 0; }
.square-content div, .square-content a { display: table; width: 100%; height: 100%; text-shadow: 0px 0px 10px #333; color: white }
.square-content span, .square-content h3 { display: table-cell; text-align: center; vertical-align: middle; }
.square-content h3 { font-weight: bold; }
.img-cover { background-size: cover; }
.img-contain { background-size: contain; }
div.design-mode { border: dashed 1px #999; }
section.design-mode { position: relative; border: dashed 1px #ccc; padding: 5px; }
.section-tools { height: 24px; vertical-align: middle; display: inline-block; width: 100%; padding-left: 5px; padding-right: 5px; }
.section-tools h4 { margin: 2px; }
/*section.design-mode .section-title { margin: 0; position: absolute; left: 20px; top: 3px; }
section.design-mode .section-remove { position: absolute; left: 7px; top: -1px }*/

section.design-mode:hover { background-color: #f9f9f9 }
iframe { display: block; }
select.input-sm, input.input-sm { height: 20px !important; padding: 1px; }


.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ color: #999; opacity: 1; /* Firefox */ }
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #999; }
.form-control::-ms-input-placeholder { /* Microsoft Edge */ color: #999; }

.datagrid .fa-check-square-o, .datagrid .fa-square-o { margin-top: -3px; }
#page-wrapper { padding-bottom: 50px }
.pagination-wrapper nav { display : inline-block; }

legend small { font-size: 50%; display: block; font-weight: normal; opacity: 0.7 }
.tooltip-inner { max-width: 500px; text-align: left; }
.section-action { white-space: nowrap }

.input-group-text { border: 1px solid #e5e6e7; background-color: inherit; border-radius: 3px; }
.form-control, .single-line, .selectize-input { border-radius: 3px; }
.form-control:disabled, .form-control[readonly] { background-color: #f3f3f4; }

.pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.pace-inactive { display: none; }
.pace .pace-progress { background: #29d; position: fixed; z-index: 2000; top: 0; right: 100%; width: 100%; height: 5px; }

.metismenu li { width: 100% }

.items-grid-amount { overflow: hidden; text-overflow: ellipsis; max-width: 120px; }

.nav.navbar-right > li > form > button { color: #999c9e;}
.nav > li > form > button { color: #a7b1c2; font-weight: 600; padding: 14px 20px 14px 25px; display: block; }
.nav > li > form > button:hover {color: inherit; }
.nav.navbar-top-links button { font-size: 14px; }

.btn-link:hover,
.btn-link:focus,
.btn-link:active,
.btn-link.active,
.open .dropdown-toggle.btn-link { color: inherit; text-decoration: none; }

.accordion .card { background: inherit }
.accordion .card-body { padding: 1rem 2rem }
.accordion .card-header { padding: .375rem .625rem; }
.accordion .card-header h2 { font-size: 16px; }
legend { margin-bottom: 1rem; }

.edit-grid .datagrid th { min-width: unset }
.edit-grid .table > tbody > tr > th { padding: 5px; }
.edit-grid .table > tbody > tr > td { padding: 5px; }
.edit-grid .table > tbody > tr > td .form-group { margin-bottom: 0; }





.glow-rgb { border: none; outline: none; color: #fff; background: #111; position: relative; z-index: 0; border-radius: 10px; }
.glow-rgb:before { content: ''; background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); position: absolute; top: -2px; left: -2px; background-size: 400%; z-index: -1; filter: blur(5px); width: calc(100% + 4px); height: calc(100% + 4px); animation: glowing 20s linear infinite; opacity: 0; transition: opacity .3s ease-in-out; border-radius: 10px; }
.glow-rgb:active { color: #000 }
.glow-rgb:active:after { background: transparent; }
.glow-rgb:before { opacity: 1; }
.glow-rgb:after { z-index: -1; content: ''; position: absolute; width: 100%; height: 100%; background: #111; left: 0; top: 0; border-radius: 10px; }
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}