html{
    min-width: fit-content;
}

html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 20px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.table input[type=checkbox],
.table .label {
    position: relative;
    top: -2px;
}

span.strong {
    font-weight: bold;
}

span.red {
    color: #ff0000;
}

span.required {
    font-weight: bold;
    color: #b94a48;
}

span.lbl {
    line-height: 28px;
}

.no-border .navbar-inner {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.create-button {
    padding-top: 4px;
    float: right;
}

.a-left {
    text-align: left;
}

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

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

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.cc {
    float: none;
    clear: both;
}

.m-l-5 {
    margin-left: 5px;
}

.m-r-5 {
    margin-right: 5px;
}

.m-t-5 {
    margin-top: 5px;
}

.m-b-5 {
    margin-bottom: 5px;
}

.m-5 {
    margin: 5px;
}

.m-up-20 {
    margin-top: -20px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-t-20 {
    margin-top: 20px;
}

.b-t-1-ddd {
    border-top: 1px solid #ddd;
}

.well.head {
    font-size: 19.5px;
    line-height: 36px;
}

.action-button a.btn:first-child {
    width: 110px;
}

/*.btn-group {
    min-width: 100px;
}*/
.pagination {
    float: right;
    margin: 0;
}

a.move-up i {
    position: relative;
    top: -3px;
}

a.move-down i {
    position: relative;
    top: 3px;
}

.bs2-form-actions {
    background-color: #F5F5F5;
    border-top: 1px solid #E5E5E5;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 19px 20px 20px;
}

.control-group.b-t-1-ddd .control-label {
    font-weight: bold;
}

.select2-container-multi ul.error,
.select2-container-multi .select2-choices li.error {
    border-color: #B94A48;
    color: #B94A48;
}

/* Styling for Select2 with error */
div.has-error ul.select2-choices {
    border-color: #b94a48 !important;
}

.ms-ctn.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    /*height: 34px;*/
    line-height: 20px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

.ms-ctn.form-control:focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}

.ms-ctn-focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}

.ms-ctn.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.ms-ctn.form-control div.ms-sel-ctn input {
    border: 0 none;
    box-shadow: none;
    display: block;
    line-height: 1.42857;
    margin: 1px 0;
    outline: medium none;
    padding: 0;
    width: 100%;
}

.ms-ctn.form-control.ms-inv {
    border: 1px solid #c00;
}

.inline_block {
    /*width: 200px;*/
    min-height: 20px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    /*margin: 5px;*/
    zoom: 1;
    *display: inline;
    _height: 250px;
}

.modal .vc_widget {
    color: #000;
}

.dropdown-menu li {
    list-style-type: none;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.datepicker {
    z-index: 10000 !important;
}

div.grid-view.grid-view-loading {
    background: url(../img/loading.gif) no-repeat 100% 10px;
}

#app-time {
    font-size: 14px;
    display: inline-block;
}

.publish_start-preview, .publish_end-preview {
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

@media (min-width: 1000px) {
    .publish_start-preview, .publish_end-preview {
        margin-top: 32px;
        padding: 0;
    }
}

.publish_start-preview span, .publish_end-preview span {
    font-weight: 100;
    font-style: italic;
}

/*------------------------------------*\
    Login page
\*------------------------------------*/

.page-login {
    max-width: 320px;
    margin: 50px auto 0 auto;
}

.page-login .help-block {
    display: none;
}

@media (min-width: 768px) {
    .page-login {
        margin: 200px auto 50px auto;
    }
}

.page-login__login-form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px 15px;
}

.page-login__logo {
    margin-bottom: 30px;
    text-align: center;
}

.page-login__logo img {
    width: 175px;
    height: auto;
}

.login-form label {
    color: #484848;
    font-size: 14px;
    font-weight: normal;
}

.login-form .form-control {
    height: 40px;
}

.login-form .btn-primary {
    display: block;
    text-transform: uppercase;
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    height: 45px;
}

.login-form__captcha {
    margin-bottom: 20px;
    margin-left: -6px;
}

.login-form .btn-default {
    display: block;
    text-transform: uppercase;
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    height: 45px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form__pwd-wrapper {
    position: relative;
    margin-top: 30px;
}

.login-form__remember {
    position: absolute;
    top: 0;
    right: 0;
}

.login-form__remember a {
    color: #484848;
    font-size: 14px;
    font-style: italic;
    text-decoration: none;
}

.login-form__header {
    text-align: center;
    padding: 0 10px;
    color: #484848;
}

.login-form__header h2 {
    font-size: 18px;
    font-weight: normal;
}

/*------------------------------------*\
#checkbox
\*------------------------------------*/

.page-login .checkbox {
    padding-left: 20px;
}

.level-3 {
    margin-left: 26px;
}

.page-login .checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
}

.page-login .checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 2px;
    margin-left: -20px;
    border-radius: 0px;
    border: none;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.page-login .checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 2px;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #36373C;
}

.page-login .checkbox input[type="checkbox"],
.page-login .checkbox input[type="radio"] {
    opacity: 0;
    z-index: 1;
}

.page-login .checkbox input[type="checkbox"]:focus + label::before,
.page-login .checkbox input[type="radio"]:focus + label::before {
    outline: none;
}

.page-login .checkbox input[type="checkbox"]:checked + label::after,
.page-login .checkbox input[type="radio"]:checked + label::after {
    font-family: "Glyphicons Halflings";
    content: "\e013";
}

.page-login .checkbox input[type="checkbox"]:indeterminate + label::after,
.page-login .checkbox input[type="radio"]:indeterminate + label::after {
    display: block;
    content: "";
    width: 10px;
    height: 3px;
    background-color: #555555;
    border-radius: 2px;
    margin-left: -16.5px;
    margin-top: 7px;
}

.page-login .checkbox input[type="checkbox"]:disabled + label,
.page-login .checkbox input[type="radio"]:disabled + label {
    opacity: 0.65;
}

.page-login .checkbox input[type="checkbox"]:disabled + label::before,
.page-login .checkbox input[type="radio"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}

.login-form__content .checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    left: 0;
    top: 0px;
    margin-left: -20px;
    border-radius: 0px;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.login-form__content .checkbox label {
    padding-left: 22px;
    line-height: 25px;
}

.login-form__content .checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: -2px;
    margin-left: -19px;
    padding-left: 3px;
    padding-top: 3px;
    font-size: 17px;
    color: #484848;
}

.login-form__content .checkbox {
    margin-bottom: 20px;
}

.login-form__content .help {
    color: #767676;
    font-size: 12px;
    font-style: italic;
}

.login-form__content .help a {
    color: #767676;

}

.login-form__content .btn-primary {
    background-color: #00A4E4;
    border-color: #00A4E4;
}

.login-form__content .btn-default {
    background-color: #ACACAC;
    border-color: #ACACAC;
    color: #fff;
}

.login-form__content .alert-danger {
    border-color: #a94442;
}

.login-form__content .alert-danger ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

li.user_menu .fa-user-circle {
    color: #2965A8;
}

td.account-subscription-default {
    vertical-align: middle !important;
    background-color: #BDC9D3;
    width: 30%
}

td.account-subscription-custom {
    vertical-align: middle !important;
    width: 30%;
    background-color: #337ab7;
}

.compare-view th {
    text-align: left;
    vertical-align: middle !important;
}

.bg-usage-light-green {
    color: #282828;
    background-color: #2dc937;
}

.bg-usage-yellow {
    color: #282828;
    background-color: #e7b416;
}

.bg-usage-dark-orange {
    color: #fff;
    background-color: #db7b2b;
}

.bg-usage-red {
    color: #fff;
    background-color: #cc3232;
}