html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    position: relative;
    min-height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    font-family: "Open Sans", sans-serif;
    line-height: 1;
    color: #525252;
    margin-bottom: 365px; /* Footer height + margin */
}

ol, ul {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    font-weight: bold;
    text-align: left;
    padding: 5px;
    vertical-align: top;
}

td {
    text-align: left;
    padding: 5px;
    vertical-align: middle;
}

table.table-striped tbody tr td {
    background-color: #eeeeee;
}

table.table-striped tbody tr:nth-child(even) td {
    background-color: #e5e5e5;
}

img {
    max-width: 100%;
    height: auto;
}

a:link,
a:visited {
    color: #3399ff;
}

a:hover,
a:focus {
    color: #55ccff;
}

@font-face {
    font-family: "OSCB";
    src: url("../fonts/OpenSans-CondBold.eot") format("eot");
    src: url("../fonts/OpenSans-CondBold.woff") format("woff");
    src: url("../fonts/OpenSans-CondBold.ttf") format("truetype");
}

h1 {
    font-weight: bold;
    font-size: 2em;
    margin: 25px 0;
}

h2 {
    font-weight: bold;
    font-size: 22px;
    margin: 22px 0;
}

h3 {
    font-weight: bold;
    font-size: 20px;
    margin: 20px 0;
}

h4 {
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
}

#main {
    position: relative;
    min-height: 200px;
}

.form .inline {
    margin-right: 10px;
}

.form .inline:last-child {
    margin-right: 0;
}

.label-inline {
    vertical-align: 10px;
    line-height: 32px;
}

.activeMenuLink {
    color: #fff !important
}

.currentPage {
    color: #fff !important
}

.section-row {
    min-height: 32px;
    display: flex;
    align-items: center;
}


/* Header */

#header {
    background: #272727;
    border-bottom: 2px solid #ebebeb;
    min-height: 90px;
    width: 100%;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

#header #logo {
    margin-top: 15px;
    margin-bottom: 15px;
}

#header #logo .logo-container {
    display: inline-block;
    position: relative;
}

#header #logo a {
    display: inline-block;
}

#header #logo img {
    height: 30px;
    margin: 16px 0;
    display: block;
}

#header .navbar {
    background: none;
    border: none;
    margin: 0;
}

.authenticated #header .navbar-collapse {
    margin-right: 70px;
}

.authenticated #header .navbar-collapse.more-margin {
    margin-right: 115px;
}

#header .navbar-toggle {
    border: none;
    color: #bcbcbc;
    font-size: 32px;
    cursor: pointer;
    text-align: center;
}

#header .navbar-toggle:first-of-type {
    margin-right: 0;
}

#header .navbar-toggle.with-label {
    margin-bottom: 0;
}

#header .navbar-toggle.with-label p {
    font-size: 8px;
}

#header .navbar-collapse li {
    font-family: "OSCB", arial, sans-serif;
    height: 96px;
}

#header .navbar-collapse li:hover {
    background: #078ece;
}

#header .navbar-collapse li a {
    color: #078ece;
    font-size: 22px;
    top: 36px;
}

#header .navbar-collapse li:hover a {
    color: #ffffff;
}


/* Settings menu */

#header #toggle-viewmode {
    height: 90px;
    width: 50px;
    padding-top: 44px;
    text-align: center;
    margin-right: 15px;
}

#header #toggle-viewmode span {
    cursor: pointer;
    font-size: 32px;
    color: #bcbcbc;
}

#header #toggle-viewmode span p {
    font-size: 8px;
}


/* Settings menu */

#header #settings {
    height: 90px;
    width: 50px;
    padding-top: 44px;
}

#header #settings .fa-gear {
    cursor: pointer;
    font-size: 32px;
    color: #bcbcbc;
}

#header #settings .fa-gear:hover {
    color: #ffffff;
    cursor: pointer
}

#header #settings .fa-caret-down {
    font-size: 18px;
    line-height: 32px;
    vertical-align: top;
    margin-left: 3px;
}

#header #settings.dropdown .dropdown-menu {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 10px 0;
}

#header #settings.dropdown .dropdown-menu:before {
    position: absolute;
    top: -7px;
    right: 29px;
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ffffff;
    content: '';
}

#header #settings.dropdown .dropdown-menu > li >a {
    font-size: 16px;
    line-height: 32px;
    padding: 2px 10px;
}


/* Sub menu */

#subMenu {
    background: #eff0f1;
    width: 100%;
}

#subMenu > div > div {
    position: relative;
}

#subMenu i {
    background: #eff0f1;
    line-height: 38px;
    height: 38px;
    margin: 5px;
    width: 38px;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    border-radius: 19px;
}

#subMenu i:hover {
    background: #ffffff;
    cursor: pointer;
}

#subMenu i.fa-chevron-left {
    display: none;
    left: -48px;
    -webkit-box-shadow: 5px 0 5px #eff0f1;
       -moz-box-shadow: 5px 0 5px #eff0f1;
            box-shadow: 5px 0 5px #eff0f1;
}

#subMenu i.fa-chevron-right {
    display: none;
    right: -48px;
    -webkit-box-shadow: -5px 0 5px #eff0f1;
       -moz-box-shadow: -5px 0 5px #eff0f1;
            box-shadow: -5px 0 5px #eff0f1;
}

#subMenu ul {
    height: 48px;
    white-space: nowrap;
    overflow: hidden;
}

#subMenu ul li {
    display: inline-block;
}

#subMenu ul.processed li {
    -webkit-transition: margin 0.25s;
    -moz-transition: margin 0.25s;
    -ms-transition: margin 0.25s;
    -o-transition: margin 0.25s;
    transition: margin 0.25s;
}

#subMenu ul li a {
    border-bottom: 2px solid #ebebeb;
    color: #525252;
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none
}

#subMenu ul li a:hover {
    background: #fff;
    border-bottom: 2px solid #fff !important;
    border-left: 2px solid #ebebeb;
    border-right: 2px solid #ebebeb;
    padding: 15px 23px !important
}

#subMenu ul li.active a {
    background: #fff !important;
    border-bottom: 2px solid #fff !important;
    border-left: 2px solid #ebebeb !important;
    border-right: 2px solid #ebebeb !important;
    padding: 15px 23px !important;
}


/* Content heading */

.heading {
    border-bottom: 2px solid #ebebeb;
    margin-bottom: 15px;
    position: relative
}

.heading .add-item {
    position: absolute;
    right: 10px;
    bottom: 10px
}

.heading .add-item a {
    color: #39f;
    font-weight: 600;
    text-decoration: none
}

.heading .add-item a:hover {
    text-decoration: underline
}


/* Footer */

#footer {
    margin-top: 100px;
    margin-bottom: 65px;
    background: #2c2c2c;
    color: #fff;
    height: 200px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

#footer:after {
    content: '.';
    display: block;
    height: 65px;
    background: #090909;
    color: #090909;
    clear: both;
}

#footer .container {
    height: 100%;
}

#footer .col {
    border-right: #525252 1px solid;
    height: 92px;
    margin: 60px 0 40px;
}

#footer .col * {
    color: #fff;
}

#footer .col h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 12px;
}

#footer .col p {
    font-size: 13px;
    margin-bottom: 10px;
}

#footer .col ul {
    padding-top: 12px;
}

#footer .col li {
    margin-bottom: 7px;
}

#footer .col a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

#footer .col a:hover {
    color: #078ece;
}


/* Login */

#login {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    margin: 25px auto;
    padding: 25px;
    width: 350px;
}

#login h1 {
    font-size: 24px;
    margin: 0 0 15px;
}

#login h1 small {
    color: inherit;
}

#login label {
    font-size: 14px;
    display: inline-block;
    margin: 10px 0;
}

#login input {
    font-size: 18px;
    width: 100%;
    padding: 10px 8px;
    border: 1px solid #cacaca;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

#login input.error,
#login input.ng-invalid.ng-touched {
    border-color: #cc3300;
}

#login .alert {
    font-size: 14px;
}


/* Tables */

.table {
    width: 100%;
    border: #ebebeb 1px solid;
    font-size: 14px;
    color: #525252;
}

.table thead {
    background: #f7f7f7;
    border-bottom: #ebebeb 1px solid
}

.table thead tr th {
    border-right: #ebebeb 1px solid;
    height: 20px;
    padding: 10px;
    position: relative;
    vertical-align: top;
}

.table thead tr th .arrowWindow {
    background: url("../img/bothArrows.png") center right no-repeat;
    height: 16px;
    width: 100%;
    cursor: pointer;
}

.table thead tr th .arrowWindow.arrow-hide {
    background: none;
    padding-right: 0;
    margin-right: 10px;
}

.table thead tr th .arrow-icon {
    background: url("../img/bothArrows.png") center right no-repeat;
    height: 16px;
    width: 10px;
    margin-left: -10px;
    margin-top: -20px;
    float: right;
    position: relative;
}

.table thead tr th:hover {
    background: #ddd;
}

.table tbody tr.ui-sortable-helper-stacked {
    border-top: #ebebeb 1px solid;
    border-left: #ebebeb 1px solid;
}

.table tbody tr td {
    padding: 10px;
    border-top: none;
    border-right: #ebebeb 1px solid;
    border-bottom: #ebebeb 1px solid;
    vertical-align: middle;
    position: relative;
}

.table tbody tr:hover td {
    background: #ffd;
}

.table tbody tr td:hover {
    background: #ffc;
}

.table tbody tr.danger td {
    background: #fee;
}

.table tbody tr.danger:hover td {
    background: #fdd;
}

.table tbody tr.danger td:hover {
    background: #fcc;
}

.table tbody tr td[data-title="Actions"] input[type="button"],
.table tbody tr td[data-title="Actions"] button,
.table tbody tr td[data-title="Actions"] a {
    display: inline-block;
    padding: 1px 4px;
    vertical-align: middle;
}

.tablesorter-headerAsc .arrowWindow:not(.arrow-hide), .tablesorter-headerAsc .arrow-icon {
    background: url("../img/arrowUp.png") center right no-repeat !important
}

.tablesorter-headerDesc .arrowWindow:not(.arrow-hide), .tablesorter-headerDesc .arrow-icon {
    background: url("../img/arrowDown.png") center right no-repeat !important
}

.tablesorter-filter-row td {
    border-right: #ebebeb 1px solid;
    height: 25px;
    padding: 5px 0;
    text-align: center
}

.tablesorter-filter-row input {
    border: 1px solid #ccc;
    border-radius: 0;
    margin-top: 10px;
    width: 100%;
    font-weight: normal;
}

.pagination {
    float: right;
    height: 25px;
    margin-bottom: 10px;
}

.pagination .page {
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    width: 25px;
    padding: 4px;
}

.pagination .page.first {
    background: url("../img/first.png") center center no-repeat transparent;
}

.pagination .page.prev {
    background: url("../img/back.png") center center no-repeat transparent;
}

.pagination .page.next {
    background: url("../img/forward.png") center center no-repeat transparent;
}

.pagination .page.last {
    background: url("../img/last.png") center center no-repeat transparent;
}

.pagination .page:hover {
    background-color: #eee;
}

.pagination .page-label {
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #525252;
    font-size: 15px;
    height: 25px;
    outline: 0;
    position: relative;
    text-align: center;
    top: -7px;
    width: 125px;
}

.pagination .pagesize {
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #525252;
    font-size: 15px;
    height: 25px;
    position: relative;
    top: -7px;
    width: 55px;
}


/* Sections */

.section {
    border: 2px solid #ebebeb;
    color: #525252;
    margin: 25px 0;
    padding-bottom: 10px;
    position: relative;
    vertical-align: top;
}

.subSection {
    border: 2px solid #ebebeb;
    color: #525252;
    margin: 25px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    vertical-align: top;
}

.graySectionTitle {
    background: #f3f3f3;
    border-bottom: 2px solid #ebebeb;
    color: #525252;
    display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    margin-bottom: 15px;
    padding: 10px;
}

.subSectionTitle {
    background: #fff;
    color: #525252;
    display: inline;
    font-size: 17.5px;
    font-weight: bold;
    left: 10px;
    padding: 0 8px;
    position: relative;
    top: -20px
}

.subSection .items-container {
    margin: 0 20px;
}


/* Dropzone */

.dz-container {
    background: #f3f3f3;
    border: 2px dashed #ccc;
    width: auto;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    margin: 15px 20px 5px;
}

.dz-container:hover {
    background-color: #f6f6f6;
}

.dz-message {
    color: #777;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
    -webkit-transition: opacity .25s;
       -moz-transition: opacity .25s;
        -ms-transition: opacity .25s;
         -o-transition: opacity .25s;
            transition: opacity .25s;
    z-index: -1;
}

.dz-container.uploading .dz-message {
    opacity: 0;
}

.dz-loading {
    line-height: 32px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
}

.dz-preview {
    background: #f9f9f9;
    border: 2px solid #ebebeb;
    border-radius: 5px;
    display: inline-block;
    margin: 15px;
    min-width: 175px;
    padding: 12px;
    text-align: center;
    vertical-align: top;
}

.no-preview .dz-preview {
    display: none;
}

.dz-image-container {
    min-height: 120px;
}

.dz-image-other:before {
    display:inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1em;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f016';
    font-size: 100px;
    margin: 10px 0;
}

.dz-image {
    line-height: 120px;
    background-color: #fff;
}

.dz-image img {
    vertical-align: middle;
    max-height: 120px;
    width: auto;
}

.dz-filename, .dz-size {
    font-size: 15px;
    line-height: 20px;
}

.dz-error-message {
    margin: 10px 0;
}

.dz-remove {
    display: inline-block;
    color: #525252 !important;
    padding: 10px;
    text-decoration: none;
    background: #fff;
    border: 2px solid #ebebeb;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.dz-remove:hover {
    background: #ebebeb;
}

.dz-progress {
    background: #ebebeb;
    width: 120px;
    height: 15px;
    margin: 5px auto 0;
    text-align: left;
}

.dz-upload {
    display: inline-block;
    background: #39f;
    height: 15px;
    -webkit-transition: width .25s;
    -moz-transition: width .25s;
    -ms-transition: width .25s;
    -o-transition: width .25s;
    transition: width .25s;
}

.dz-success-mark, .dz-error-mark {
    display: none;
}

.moxie-shim {
    max-width: 100%;
    max-width: calc(100% - 40px);
}

/* Files */

.file {
    position: relative;
    margin: 10px auto;
    width: auto;
    background: #f3f3f3;
    border-radius: 5px;
    text-align: center;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.file:hover {
    background: silver;
}

.file > a {
    color: #525252;
    display: block;
    min-height: 36px;
    line-height: 36px;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.file:hover > a {
    color: #fff
}

.file-empty b {
    font-weight: bold;
}

.photo {
    position: relative;
    vertical-align: top;
    text-align: center;
    float: left;
    width: 25%;
    margin-bottom: 10px;
}

.file-actions {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 5px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    opacity: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 24px;
    -webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}

.file:hover .file-actions,
.photo:hover .file-actions,
.thumbnail:hover .file-actions {
    opacity: 0.8;
}

.file-status {
    opacity: 0;
    color: #ff0000;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    font-size: 24px;
    margin: 0;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}

.file-status:hover {
    color: #efcb13;
}

.file-status-checked {
    opacity: 1;
}

.file-status-checked .fa-check {
    cursor: pointer;
}

.file .file-actions {
    top: 0;
    right: 0;
    padding: 5px 10px;
    background-color: transparent;
    text-align: right;
    pointer-events: none;
}

.thumbnail .file-actions {
    width: calc(100% - 8px);
    bottom: 4px;
}

.file-actions .title {
    font-size: 14px;
    margin: 0 0 5px;
}

.file-actions a {
    pointer-events: all;
    color: #525252;
    display: inline-block;
    min-width: 24px;
    min-height: 26px;
    text-align: center;
    -webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
    outline: none;
}

.file-actions a.active,
.file-actions a:hover {
    opacity: 0.3;
}

.file-actions a > i {
    vertical-align: middle;
}

.photo-thumbnail {
    width: 90%;
    height: auto;
    display: inline-block;
    text-align: center;
    line-height: 0;
}

.photo-thumbnail-empty {
    background-color: silver;
    line-height: 110px;
}

.photo-thumbnail img {
    vertical-align: middle;
}

.thumbnail-bordered {
    border: 2px solid #ebebeb;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.thumbnail .caption-mini {
    padding: 4px 0 0 0;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    /*-ms-text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
    font-size: 16px;
}

.thumbnail .thumbnail-check {
    position: relative;
    display: inline-block;
    float: left;
    width: 0;
    cursor: pointer;
    font-size: 1.5em;
    color: #efcb13;
    opacity: 0.75;
    -webkit-transition: opacity 0.25s;
    -moz-transition: opacity 0.25s;
    -ms-transition: opacity 0.25s;
    -o-transition: opacity 0.25s;
    transition: opacity 0.25s;
}

.thumbnail:hover .thumbnail-check {
    opacity: 1;
}

.thumbnail .thumbnail-check.checked {
    opacity: 1;
    color: #ff0000;
}

#on-site-view .thumbnail .thumbnail-check {
    background: #fff;
    margin: -4px 0 -24px -4px;
    font-size: 24px;
    width: 24px;
    height: 24px;
    opacity: 0.75;
}

#on-site-view .thumbnail:hover .thumbnail-check {
    opacity: 1;
}

#on-site-view .thumbnail .thumbnail-check.checked {
    opacity: 1;
    color: #ff0000;
}

.actions {
    border: none;
    margin: 0 10px;
}

.actions .link-url-container {
    margin-top: 10px;
}

.actions .link-url-container .input-xlarge {
    width: 90%;
    width: calc(100% - 35px);
}

.actions .link-url-container .fa-copy {
    padding: 5px;
    outline: none;
    vertical-align: middle;
    -webkit-transition: all 0.1s ease-in-out;
       -moz-transition: all 0.1s ease-in-out;
            transition: all 0.1s ease-in-out;
}

.actions .link-url-container .fa-copy:focus {
    font-size: 26px;
    padding: 0;
}


/* Utility classes */

.inline {
    display: inline-block;
    vertical-align: top;
}

.d-flex {
    display: flex;
}

.d-flex-column {
    flex-direction: column;
}

.d-flex-a-center {
    align-items: center;
}

.d-flex-j-between {
    justify-content: space-between;
}

.d-flex-j-center {
    justify-content: center;
}

.list-styled {
    padding-left: 15px;
    list-style: inherit;
}

.preloader {
    display: block;
    text-align: center;
}

.preloader-inline {
    display: inline-block;
}

.preloader-input {
    margin-left: -25px;
}

.preloader-typehead {
    text-align: right;
    height: 0;
    position: relative;
    top: -28px;
    right: 6px;
    color: #dbdbdb;
}

.preloader-fixed {
    text-align: inherit;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
}

.preloader-overlay {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.preloader:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 24px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);

    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;

    content: "\f021";
}

.preloader-inline:before {
    font-size: 20px;
    margin-right: 5px;
}

.preloader-special:before {
    font-size: 16px;
    margin-right: 5px;
}

.preloader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.remodal .preloader-container {
    height: calc(100% - 47px);
}

.items-container {
    position: relative;
}

.items-container .preloader {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.75);
}

.items-container .preloader {
    position: static;
}

.items-container .preloader:before {
    position: absolute;
    top: 50%;
    margin-top: -12px;
}

.pdf-preview-container {
    max-height: 425px;
    overflow-y: auto;
    overflow-x: hidden;
}

.pdf-preview {
    margin-left: -15px;
    margin-right: -15px;
    width: 100%;
    width: calc(100% + 30px);
}

.clickable:hover {
    cursor: pointer;
}

.non-clickable:hover {
    cursor: default;
}

.draggable:hover {
    cursor: move;
}

.text-error {
    color: #cc3300;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left !important;
}

.text-narrow {
    font-weight: normal;
}

.text-center, .center {
    text-align: center;
}

.text-xsmall {
    font-size: 0.5em;
}

.text-small {
    font-size: 0.8em;
}

.text-large {
    font-size: 1.5em;
}

.text-xlarge {
    font-size: 2em;
}

.hide {
    display: none;
}

.fade {
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
    opacity: 1;
}

.hide.fade {
    display: inherit;
    opacity: 0;
}

.add-remove-button {
    font-size: 24px;
    color: #3399ff;
}

.add-remove-button:hover {
    cursor: pointer;
    color: #66b2ff;
}

[ng-cloak] {
    display: none;
}

.badge-primary {
    background-color: #3399ff;
}

.no-wrap {
    white-space: nowrap;
}

.no-break {
    page-break-inside: avoid;
}

.break-after {
    page-break-after: always;
}

.break-before {
    page-break-before: always;
}

.highlight {
    color: #3399ff;
}

.highlight-hover:hover {
    color: #3399ff;
}

.no-highlight, a.no-highlight {
    color: inherit;
}

.no-underline, a.no-underline {
    text-decoration: none;
}

.no-resize {
    resize: none;
}

.fa:hover, .fa:focus {
    text-decoration: none;
}

.clear-both {
    clear: both;
}

.clear-after-3:nth-child(3n+1) {
    clear: both;
}

.clear-after-4:nth-child(4n+1) {
    clear: both;
}

.clear-after-6:nth-child(6n+1) {
    clear: both;
}

.relative {
    position: relative;
}

.action-icon + .action-icon {
    margin-left: .5em;
}

.no-margin {
    margin: 0 !important;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-7 {
    margin-top: 7px;
}

.mr-5 {
    margin-right: 5px;
}

.pr-15 {
    padding-right: 15px;
}

.h-auto {
    height: auto !important;
}

.h-40 {
    height: 40px;
}

.w-auto {
    width: auto !important;
}

.bg-white {
    background-color: #fff;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fw-normal, .fw-normal * {
    font-weight: normal;
}

.valign-top {
    vertical-align: top !important;
}

/* Forms */

.form-container {
    position: relative
}

.form-container .button-float {
    position: absolute;
    right: 0;
    top: 4px;
}

.form-container .cancel-float {
    font-size: 16px;
    position: absolute;
    right: 90px;
    top: 12px
}

.form-container .cancel-float.with-preloader {
    right: 117px;
}

.form-container .cancel a {
    color: #525252;
    text-decoration: none
}

.form-container .cancel a:hover {
    text-decoration: underline
}

.control-group {
    margin-bottom: 10px;
}

.form-horizontal .control-group label {
    display: inline-block;
    width: 100px;
    vertical-align: top;
    line-height: 32px;
}

.form-horizontal .control-group .controls {
    display: inline-block;
}

.form .input,
.form select,
.form textarea,
.form input[type=tel],
.form input[type=text],
.form input[type=email],
.form input[type=number],
.form input[type=password],
.form input[type=file],
.form input[type=date] {
    border: 2px solid #dbdbdb;
    margin: 0;
    color: #525252;
    font-size: 16px;
    height: 32px;
    line-height: 32px;
    outline: 0;
    padding: 5px;
}

.form .table .input,
.form .table select,
.form .table textarea,
.form .table input[type=tel],
.form .table input[type=text],
.form .table input[type=email],
.form .table input[type=number],
.form .table input[type=password],
.form .table input[type=file],
.form .table input[type=date] {
    font-size: 14px;
}

.form textarea {
    height: auto;
    line-height: 24px;
}

.form div.input {
    line-height: 18px;
    min-height: 32px;
    overflow: hidden;
}

.form input[type=number] {
    text-align: right;
}

.form input[type=file] {
    height: auto;
    padding: 2px;
    display: inline-block;
}

.form input[type=date] {
    padding: 3px 2px 2px;
}

.form input[type=checkbox] {
    margin: 0;
    vertical-align: middle;
}

.form input[type=checkbox]:not([disabled]),
.form input[type=checkbox]:not([readonly]) {
    cursor: pointer;
}

.form input[readonly] {
    border: 2px solid #ebebeb;
    background-color: #ebebeb;
}

.form select {
    padding: 4px;
}

.form .input:focus,
.form select:focus,
.form textarea:focus,
.form input[type=tel]:focus,
.form input[type=text]:focus,
.form input[type=email]:focus,
.form input[type=number]:focus,
.form input[type=password]:focus,
.form input[type=file]:focus,
.form input[type=date]:focus {
    -webkit-box-shadow: 0 0 5px #51cbee;
       -moz-box-shadow: 0 0 5px #51cbee;
            box-shadow: 0 0 5px #51cbee;
    border: 2px solid #51cbee;
}

.label-medium, .form-horizontal .control-group .label-medium {
    width: 150px;
}

.input-medium {
    width: 300px;
}

.input-large {
    width: 430px;
}

.input-xlarge {
    width: 550px;
}

.input-small {
    width: 110px;
}

.input-xsmall {
    width: 50px;
}

.input-block {
    display: block;
    width: 100%;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    height: 26px;
    width: 26px;
    margin-top: -28px;
    margin-right: 2px;
}

.input-icon.input-icon-top {
    margin-bottom: -30px;
    margin-top: 4px;
    z-index: 10;
}

.input-icon .bg-white {
    -webkit-box-shadow: 0 0 3px 3px #fff;
       -moz-box-shadow: 0 0 3px 3px #fff;
            box-shadow: 0 0 3px 3px #fff;
}

.button, a.button {
    background: #999999;
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    line-height: 100%;
    outline: 0;
    padding: 5px 15px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.button:hover, a.button:hover {
    background: #cccccc;
}

.button[disabled]:hover, .button[disabled]:focus,
a.button.disabled:hover, a.button.disabled:focus {
    background: #999999;
    color: #ffffff;
    border-color: #888888;
    cursor: default;
}

.button-green, a.button-green {
    background: #2cae5c;
}

.button-green.disabled:hover, .button-green.disabled:focus,
.button-green[disabled]:hover, .button-green[disabled]:focus,
a.button-green.disabled:hover, a.button-green.disabled:focus {
    background: #2cae5c;
}

.button-green:hover, a.button-green:hover {
    background: #67d991;
}

.button-red, a.button-red {
    background: #cc3300;
}

.button-red[disabled]:hover, .button-red[disabled]:focus,
a.button-red.disabled:hover, a.button-red.disabled:focus {
    background: #cc3300;
}

.button-red:hover, a.button-red:hover {
    background: #ff6633;
}

.button-blue, a.button-blue {
    background: #3399ff;
}

.button-blue[disabled]:hover, .button-blue[disabled]:focus,
a.button-blue.disabled:hover, a.button-blue.disabled:focus {
    background: #3399ff;
}

.button-blue:hover, a.button-blue:hover {
    background: #66b2ff;
}

.button-special, a.button-special {
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    text-shadow: 0 1px 2px #2e7044;
    font-family: helvetica, arial, sans-serif;
    text-align: center;
    margin-top: 20px;
    padding: 10px 8px;
    cursor: pointer;
    border: 1px solid #0584c1;
    background-color: #078ece;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#109adb), to(#078ece));
    background-image: -webkit-linear-gradient(top, #109adb, #078ece);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#109adb), to(#078ece));
    background-image: linear-gradient(top, #109adb, #078ece);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6fb536', endColorstr='#ff5fa229', GradientType=0);
    border-radius: 2px;
    -webkit-box-shadow: 0 0 0 #000000;
            box-shadow: 0 0 0 #000;
    -webkit-transition: all 0.2s ease 0s;
            transition: all 0.2s ease 0s;
}

.button-special:hover:not([disabled]),
.button-special:hover:not([disabled]),
.button-special:focus:not([disabled]) {
    background-color: #006699;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#078ece), to(#069));
    background-image: -webkit-linear-gradient(top, #078ece, #069);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#078ece), to(#069));
    background-image: linear-gradient(top, #078ece, #069);
    text-decoration: none;
}

.button-large, a.button-large {
    width: 300px;
}

.button-medium, a.button-medium {
    width: 150px;
}

.button-small, a.button-small {
    width: 100px;
}

.button-smaller-font, a.button-smaller-font {
    font-size: 16px;
}

.button-link {
    background: none;
    border: 0;
    color: #3399ff;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    -webkit-appearance: none;
    outline: 0;
}

.button-link:hover {
    text-decoration: underline;
    color: #55ccff;
}

.button.button-hidden {
    width: 0;
    padding-left: 0;
    padding-right: 0;
}

.button .fa-spinner {
    display: none;
    opacity: 0;
}

.button.loading {
   opacity: .5;
}

.button.loading .fa-spinner {
    display: inherit;
    opacity: 1;
}

.form .input.ng-invalid.ng-touched,
.form select.ng-invalid.ng-touched,
.form oi-select.ng-invalid.ng-touched .select-search,
.form textarea.ng-invalid.ng-touched,
.form input[type=tel].ng-invalid.ng-touched,
.form input[type=text].ng-invalid.ng-touched,
.form input[type=email].ng-invalid.ng-touched,
.form input[type=number].ng-invalid.ng-touched,
.form input[type=checkbox].ng-invalid.ng-touched,
.form input[type=password].ng-invalid.ng-touched,
.form input[type=file].ng-invalid.ng-touched,
.form input[type=date].ng-invalid.ng-touched,
.form .input.ng-invalid:not(.ng-pristine),
.form select.ng-invalid:not(.ng-pristine),
.form oi-select.ng-invalid:not(.ng-pristine) .select-search,
.form textarea.ng-invalid:not(.ng-pristine),
.form input[type=tel].ng-invalid:not(.ng-pristine),
.form input[type=text].ng-invalid:not(.ng-pristine),
.form input[type=email].ng-invalid:not(.ng-pristine),
.form input[type=number].ng-invalid:not(.ng-pristine),
.form input[type=checkbox].ng-invalid:not(.ng-pristine),
.form input[type=password].ng-invalid:not(.ng-pristine),
.form input[type=file].ng-invalid:not(.ng-pristine),
.form input[type=date].ng-invalid:not(.ng-pristine),
.form .input.error,
.form select.error,
.form textarea.error,
.form input[type=tel].error,
.form input[type=text].error,
.form input[type=email].error,
.form input[type=number].error,
.form input[type=checkbox].error,
.form input[type=password].error,
.form input[type=file].error,
.form input[type=date].error {
    border-color: #cc3300;
}


.form .input.ng-invalid.ng-touched:focus,
.form select.ng-invalid.ng-touched:focus,
.form oi-select.ng-invalid.ng-touched:focus .select-search,
.form textarea.ng-invalid.ng-touched:focus,
.form input[type=tel].ng-invalid.ng-touched:focus,
.form input[type=text].ng-invalid.ng-touched:focus,
.form input[type=email].ng-invalid.ng-touched:focus,
.form input[type=number].ng-invalid.ng-touched:focus,
.form input[type=checkbox].ng-invalid.ng-touched:focus,
.form input[type=password].ng-invalid.ng-touched:focus,
.form input[type=file].ng-invalid.ng-touched:focus,
.form input[type=date].ng-invalid.ng-touched:focus,
.form .input.ng-invalid:not(.ng-pristine):focus,
.form select.ng-invalid:not(.ng-pristine):focus,
.form oi-select.ng-invalid:not(.ng-pristine):focus .select-search,
.form textarea.ng-invalid:not(.ng-pristine):focus,
.form input[type=tel].ng-invalid:not(.ng-pristine):focus,
.form input[type=text].ng-invalid:not(.ng-pristine):focus,
.form input[type=email].ng-invalid:not(.ng-pristine):focus,
.form input[type=number].ng-invalid:not(.ng-pristine):focus,
.form input[type=checkbox].ng-invalid:not(.ng-pristine):focus,
.form input[type=password].ng-invalid:not(.ng-pristine):focus,
.form input[type=file].ng-invalid:not(.ng-pristine):focus,
.form input[type=date].ng-invalid:not(.ng-pristine):focus,
.form .input.error:focus,
.form select.error:focus,
.form textarea.error:focus,
.form input[type=tel].error:focus,
.form input[type=text].error:focus,
.form input[type=email].error:focus,
.form input[type=number].error:focus,
.form input[type=checkbox].error:focus,
.form input[type=password].error:focus,
.form input[type=file].error:focus,
.form input[type=date].error:focus {
    -webkit-box-shadow: 0 0 5px #cc3300;
       -moz-box-shadow: 0 0 5px #cc3300;
            box-shadow: 0 0 5px #cc3300;
}

.error-messages {
    padding: 5px;
    color: #cc3300;
    font-size: 12px;
}

.non-field-error-messages {
    color: #cc3300;
}

.send-email-error-messages {
    margin: 20px 0 0;
}

[disabled], .disabled {
    opacity: .5;
    cursor: default !important;
}

a.disabled:hover,
a.disabled:focus {
    color: #3399ff;
    text-decoration: none;
}


/* Photo Annotation Modal */

#annotate-photo-modal {
    width: 970px;
    height: 1100px;
    max-width: 1000px;
    max-height: 1200px;
}

#annotate-photo-canvas {
    width: 900px;
    height: 900px;
    margin-top: 10px;
}

#annotate-photo-canvas > div {
    display: none !important;
}


/* Employee Stats Control */

#employee-stats-button {
    vertical-align: top;
}

#employee-stats-modal label {
    margin-bottom: 3px;
}

#employee-stats-modal .preloader-special:before {
    margin: 0;
}

#employee-stats-modal td:first-child {
    min-width: 35%;
}

#employee-stats-modal oi-select .select-search-list-item_selection:active,
#employee-stats-modal oi-select .select-search-list-item_selection.focused {
    border-color: transparent;
    background-color: transparent;
}

#employee-stats-modal oi-select.focused .select-search {
    -webkit-box-shadow: 0 0 5px #51cbee;
       -moz-box-shadow: 0 0 5px #51cbee;
            box-shadow: 0 0 5px #51cbee;
    border: 2px solid #51cbee;
}

#employee-stats-modal oi-select .select-search-list-item_selection {
    cursor: default;
    color: #525252;
}

#employee-stats-modal oi-select:not(.multiple):not(.cleanMode) .select-search::after {
    border-color: #525252 transparent transparent transparent
}

#employee-stats-modal oi-select .select-dropdown {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    font-size: 1em;
    -webkit-box-shadow: 0 0 3px #dbdbdb;
       -moz-box-shadow: 0 0 3px #dbdbdb;
            box-shadow: 0 0 3px #dbdbdb;
}

#employee-stats-modal oi-select .select-dropdown-optgroup-option.active:not(.disabled) {
    background-color: #3399ff;
    color: #fff;
    cursor: default;
}


/* Multiselect */

multiselect .btn-default {
    border-radius: 0;
    border: 2px solid #dbdbdb;
    font-size: 16px;
    padding: 5px;
    height: 32px;
    line-height: 100%;
}

multiselect .btn-default:hover,
multiselect .btn-default:focus,
multiselect .btn-default:active,
multiselect .btn-default:active:hover,
multiselect .btn-default:active:focus,
multiselect .btn-group.open .btn-default.dropdown-toggle,
multiselect .btn-group.open .btn-default.dropdown-toggle:hover,
multiselect .btn-group.open .btn-default.dropdown-toggle:focus {
    box-shadow: none;
    color: inherit;
    border-color: #dbdbdb;
    background-color: inherit;
}

multiselect .btn-default:focus,
multiselect .btn-group.open .btn-default.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 5px #51cbee;
       -moz-box-shadow: 0 0 5px #51cbee;
            box-shadow: 0 0 5px #51cbee;
    border: 2px solid #51cbee;
}

multiselect .btn-default .caret {
    margin-top: -2px;
}

multiselect.input-block .btn-group,
multiselect.input-block .btn-group .btn,
multiselect.input-block .btn-group .dropdown-menu {
    width: 100%;
}

multiselect.text-left .btn-group .btn {
    text-align: left;
}


/* Flash messages */

.message {
    border-radius: 5px;
    margin: 15px 0;
    padding: 15px 0;
    position: relative;
}

.message.success {
    background-color: #b3ffca;
}

.message.error {
    background-color: #ffbdac;
}

.message .message-text {
    font-size: 18px;
    text-align: center;
}

.message.success .message-text {
    color: #439a63;
}

.message.error .message-text {
    color: #9a5e3d;
}

.remove-message {
    border-radius: 5px;
    color: #439a63;
    cursor: pointer;
    font-weight: bold;
    padding: 3px 5px;
    position: absolute;
    right: 2px;
    top: 2px
}

.remove-message:hover {
    background: #7dc69e;
    color: #fff
}


/* Tabs */
.nav-tabs.nav-tabs-lg > li > a {
    font-size: 1.2em;
    padding: 15px 20px;
}

.nav-tabs > li > a {
    color: #555;
    border-radius: 0;
    padding: 10px 20px;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border-color: #f7f7f7;
    background-color: #f7f7f7;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #3399ff;
    border-bottom: 3px solid #3399ff;
}


/* On Site */

#header #logo .logo-container-onsite .fa-wifi {
    display: block;
    position: absolute;
    width: 100%;
    margin-top: -15px;
    height: 16px;
    color: #cc3300;
}

#header #logo .logo-container-onsite .fa-wifi.flashing {
    -webkit-animation: flasher 1.4s linear infinite;
    -moz-animation: flasher 1.4s linear infinite;
    -o-animation: flasher 1.4s linear infinite;
    animation: flasher 1.4s linear infinite;
}

@keyframes flasher {
  0% { opacity: 1; }
  20% { opacity: 1; }
  40% { opacity: 0.5; }
  50% { opacity: 0; }
  60% { opacity: 0.5; }
  80% { opacity: 1; }
  100% { opacity: 1; }
}

#header #logo .logo-container-onsite .fa-wifi > span {
    color: #bcbcbc;
    font-size: 8px;
    line-height: 14px;
    font-family: 'Open Sans', sans-serif;
    vertical-align: bottom;
    display: inline-block;
}

#main.loading {
    opacity: 0.25;
}

#camera-control {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-color: #000000;
}

#camera-control header {
    height: 40px;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10001;
    background-color: #000000;
}

#camera-control header .fa-close {
    height: 22px;
    width: 22px;
    font-size: 22px;
    line-height: 22px;
    float: right;
    margin: 9px;
    color: #ffffff;
}

@keyframes flicker {
    from { opacity: 1; }
    to { opacity: 0; }
}

#camera-control video.clack {
    animation-name: flicker;
    animation-duration: .1s;
}

#camera-control footer {
    height: 75px;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    background-color: #000000;
}

#camera-control footer .preview {
    width: 47px;
    height: 47px;
    border-radius: 3px;
    box-sizing: border-box;
    float: left;
    margin: 14px -77px 14px 15px;
    background-color: #333333;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#camera-control footer button {
    display: block;
    width: 66px;
    height: 66px;
    margin: 5px auto 4px;
    border-radius: 33px;
    box-sizing: border-box;
    border: 6px solid #ffffff;
    background-color: #000000;
    position: relative;
}

#camera-control footer button:after {
    content: " ";
    display: block;
    width: 50px;
    height: 50px;
    margin: 2px;
    background-color: #ffffff;
    border-radius: 25px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

#camera-control footer .zoom {
    width: 90px;
    height: 20px;
    margin-top: -45px;
    margin-right: 15px;
    float: right;
}

#camera-control footer .zoom i {
    width: 10px;
    height: 20px;
    line-height: 20px;
    vertical-align: top;
    color: #ffffff;
    font-size: 10px;
}

#camera-control footer .slider {
    width: 40px;
    margin: 0 10px;
    vertical-align: top;
}

#camera-control footer .slider-handle {
    background-color: #c9c9c9;
    background-image: -webkit-linear-gradient(top, #c9c9c9 0%, #c5c5c5 100%);
    background-image: -o-linear-gradient(top, #c9c9c9 0%, #c5c5c5 100%);
    background-image: linear-gradient(to bottom, #c9c9c9 0%, #c5c5c5 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc9c9c9', endColorstr='#ffc5c5c5', GradientType=0);
}


/* oi.select */

oi-select .select-search {
    border: 2px solid #dbdbdb;
    border-radius: 0;
}

oi-select.open .select-search {
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

oi-select[disabled="disabled"] .select-search {
  border: 2px solid #bdbdbd;
}

oi-select .select-dropdown {
    border-width: 2px;
    border-radius: 0;
}

oi-select .select-search-list {
    padding: 2px;
}

oi-select .select-search-list-item {
    margin: 2px;
}

oi-select .select-search-list-item_input {
    margin: 4px 2px;
    padding: 2px 0;
}

oi-select .select-search-list-item_selection {
    padding-top: 0;
    padding-bottom: 0;
}

oi-select .select-search-list-item_selection:active,
oi-select .select-search-list-item_selection.focused {
    border: 1px solid #8c8c8c;
    border-radius: 3px;
    box-shadow: none;
}

oi-select .select-dropdown-optgroup-option {
    padding: 3px 6px;
}


/* Offline.js */

.offline-ui {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
        -ms-border-radius: 0;
         -o-border-radius: 0;
            border-radius: 0;
    padding: .2em .3em;
    font-size: .8em;
    width: 100%;
}

.offline-ui.offline-ui-down .offline-ui-content:before {
    content: "Your device isn't connected. You can continue to add prospects, if you do not refresh your browser.";
}


/* Bootstrap */

.dropdown-menu.fixed-height {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-menu.fixed-width {
    max-width: 400px;
    overflow-x: hidden;
}

.dropdown-menu.fixed-width > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.input-sm {
    border-radius: 0;
}

.label + .label {
    margin-left: 2px;
}


/* Bootstrap select */
.bootstrap-select > .dropdown-toggle {
    border: 2px solid #dbdbdb;
    border-radius: 0;
    padding: 4px 8px;
}


/* Summernote WYSIWYG */
.note-editor {
    font-size: 14px;
}

/* Responsive */

@media screen and (max-width: 991px) {
    /* Navbar collapse */
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: inline-block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    .navbar-collapse.collapse.in:not(.ng-hide) {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }

    /* Header */
    #header .navbar-collapse {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }

    #header .navbar-collapse li {
        height: auto;
    }

    #header .navbar-collapse li a {
        top: auto;
    }

    /* Footer */
    #footer .col:last-child {
        border-right: none;
    }

    /* Login */
    #login {
        width: auto;
    }

    /* Tables */
    .table-stacked,
    .table-stacked thead,
    .table-stacked tbody,
    .table-stacked tfoot,
    .table-stacked th,
    .table-stacked > tr > td:not(.hide),
    .table-stacked > tbody > tr > td:not(.hide),
    .table-stacked tr,
    tr.ui-sortable-helper-stacked {
        display: block !important;
    }

    .table-stacked {
        border: none;
    }

    .table-stacked thead {
        border: none;
    }

    .table-stacked thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-stacked:not(.table-clean) tbody tr {
        border: 2px solid #ebebeb;
    }

    .table-stacked tbody tr + tr {
        border-top: none !important;
    }

    .table-stacked tbody tr:nth-child(2n) {
        background-color: #f6f6f6;
    }

    .table-stacked > tbody > tr > td:not(.hide),
    .ui-sortable-helper-stacked td:not(.hide) {
        border: none;
        position: relative;
        padding-left: 50% !important;
        white-space: normal;
        text-align: left;
        min-height: 42px;
    }

    .table-stacked tfoot tr td {
        border: none;
    }

    .table-stacked:not(.table-clean) tbody tr td + td {
        border-top: 1px solid #ebebeb;
    }

    .table-stacked tbody tr td:first-child.ng-hide + td {
        border-top: none;
    }

    .table-stacked td > * {
        display: inline-block;
    }

    .table-stacked > tr > td:not(.hide):before,
    .table-stacked > tbody > tr > td:not(.hide):before,
    .ui-sortable-helper-stacked td:not(.hide):before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
        line-height: 28px;
        content: attr(data-title);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pagination {
        float: none;
        margin: 0 0 10px 0;
    }

    /* Forms */
    .form .inline {
        display: block;
        margin: 0;
    }

    .control-group {
        margin: 0;
    }

    .form .button:not(.button-float),
    .form .input:not(.button-float),
    .form select,
    .form textarea,
    .form input[type=tel],
    .form input[type=text],
    .form input[type=email],
    .form input[type=number],
    .form input[type=password],
    .form input[type=file],
    .form input[type=date],
    .form input[type=submit]:not(.button-float) {
        width: 100%;
    }

    .form .button {
        margin-top: 10px;
    }

    .form input[type=number] {
        text-align: left;
    }

    /* Dropzone */
    .dz-preview {
        display: none;
    }

    .dz-container {
        min-height: 0;
        border: none;
        height: auto;
        font-size: 20px;
        background: #2cae5c;
        border-radius: 5px;
        margin: 5px 15px;
        padding: 5px 15px;
        text-align: center;
    }

    .desktop .dz-container:hover {
        background: #67d991;
    }

    .mobile .dz-container:hover {
        background: #2cae5c;
    }

    .dz-container span {
        display: none !important;
    }

    .dz-container:after {
        content: 'Click to upload';
        color: #ffffff;
    }

    .dz-container.uploading:before {
        display:inline-block;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        line-height: 1em;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: '\f021';
        color: #ffffff;
        -webkit-animation: fa-spin 2s infinite linear;
           -moz-animation: fa-spin 2s infinite linear;
             -o-animation: fa-spin 2s infinite linear;
                animation: fa-spin 2s infinite linear;
    }

    /* Files */
    .file-empty {
        font-size: 15px;
        line-height: 1.4em;
        text-align: center;
    }

    .subSection .items-container {
        margin: 0 10px;
    }

    .subSection .items-container .photo {
        width: 33%;
    }

    .bottom-sm {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    /* Header */
    #header #logo img {
        height: 20px;
        margin: 21px 0;
    }

    #header .navbar-toggle {
        margin-right: 5px;
    }

    #header #logo .logo-container-onsite .fa-wifi {
        margin-top: -20px;
    }

    body {
        margin-bottom: 200px;
    }

    /* Footer */
    #footer {
        height: 155px;
        margin-top: 45px;
        margin-bottom: 0;
    }

    #footer:after {
        display: none;
    }

    #footer .col {
        margin: 15px 0;
        border: none;
    }

    #footer .col:nth-child(2n) {
        text-align: right;
    }

    #footer .col:last-child {
        border-right: none;
    }

    /* Pagination */
    .pagination .page-label {
        width: 100px;
    }

    /* Files */
    .subSection .items-container .photo {
        width: 50%;
    }

    .thumbnail .caption-mini {
        font-size: 14px;
    }

    /* On Site*/
    #on-site-view .thumbnail .thumbnail-check {
        margin: -4px -4px -24px -4px;
    }
}

@media screen and (max-width: 480px) {
    #header #logo img {
        height: 15px;
        margin: 24px 0;
    }

    .thumbnail .caption-mini {
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    /* Header */
    #header #logo img {
        height: 14px;
        margin: 24px 0;
    }

    /* Modal */
    .remodal-wrapper {
        padding: 0 !important;
    }

    .remodal {
        min-height: 100%;
        margin-bottom: 0 !important;
    }

    /* On Site*/
    #on-site-view .thumbnail .thumbnail-check {
        margin: -4px 0 -20px -4px;
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
}
