html,
body {
    height: 100%;
}

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

.wrap > .container {
    padding: 70px 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 {
    font-family: 'Glyphicons Halflings';
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

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

a.desc:after {
    content: "\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 td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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;
}

.verification-button label, .sale-button label {
    display: block;
    width: 100%;
}

.verification-button button, .sale-button button {
    width: 100%;
    background-color: #d42e80;
    padding: 8px 12px;
    border-color: #999999;
}

.verification-button button:hover, .sale-button button:hover,
.verification-button button:focus, .sale-button button:focus {
    background-color: #0084b8;
}

.frb-group {
    margin: 15px 0;
}

.frb {
    margin-top: 5px;
}

.frb-info {
    padding: 0 5px;
}

.frb input[type="radio"]:empty,
.frb input[type="checkbox"]:empty {
    display: none;
}

.frb input[type="radio"] ~ label:before,
.frb input[type="checkbox"] ~ label:before {
    font-family: "Glyphicons Halflings";
    content:"\e157";
    position: absolute;
    top: 50%;
    margin-top: -10px;
    left: 4px;
    font-size: 10px;
    display: none;
}

.frb input[type="radio"]:checked ~ label:before,
.frb input[type="checkbox"]:checked ~ label:before {
    content:"\e013";
}

.frb input[type="radio"] ~ label,
.frb input[type="checkbox"] ~ label {
    position: relative;
    cursor: pointer;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 2px 2px;
}

.frb input[type="radio"] ~ label:focus,
.frb input[type="radio"] ~ label:hover,
.frb input[type="checkbox"] ~ label:focus,
.frb input[type="checkbox"] ~ label:hover {
    box-shadow: 0px 0px 3px #333;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    color: #fafafa;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    background-color: #f2f2f2;
}

.frb.frb-default input[type="radio"]:checked ~ label,
.frb.frb-default input[type="checkbox"]:checked ~ label {
    color: #333;
}

.frb.frb-primary input[type="radio"]:checked ~ label,
.frb.frb-primary input[type="checkbox"]:checked ~ label {
    background-color: #337ab7;
}

.frb.frb-success input[type="radio"]:checked ~ label,
.frb.frb-success input[type="checkbox"]:checked ~ label {
    background-color: #5cb85c;
}

.frb.frb-info input[type="radio"]:checked ~ label,
.frb.frb-info input[type="checkbox"]:checked ~ label {
    background-color: #5bc0de;
}

.frb.frb-warning input[type="radio"]:checked ~ label,
.frb.frb-warning input[type="checkbox"]:checked ~ label {
    background-color: #f0ad4e;
}

.frb.frb-danger input[type="radio"]:checked ~ label,
.frb.frb-danger input[type="checkbox"]:checked ~ label {
    background-color: #d9534f;
}

.frb input[type="radio"]:empty ~ label span,
.frb input[type="checkbox"]:empty ~ label span {
    display: inline-block;
}

.frb input[type="radio"]:empty ~ label span.frb-title,
.frb input[type="checkbox"]:empty ~ label span.frb-title {
    font-size: 12px;
    font-weight: 500;
    margin: 5px 0;
    width: 100%;
    text-align: center;
}

.frb input[type="radio"]:empty ~ label span.frb-description,
.frb input[type="checkbox"]:empty ~ label span.frb-description {
    font-weight: normal;
    font-style: italic;
    color: #999;
    margin: 5px 5px 5px 25px;
}

.frb input[type="radio"]:empty:checked ~ label span.frb-description,
.frb input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #fafafa;
}

.frb.frb-default input[type="radio"]:empty:checked ~ label span.frb-description,
.frb.frb-default input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #999;
}

.frb label span.frb-price {
    float: right;
    margin: 5px 20px;
    display: inline-block;
}

.globe {
    background-color: #ffffff;
    background-position: 1px 1px;
    background-repeat: no-repeat;
    background-image: url('../images/icon-globe.png');
    min-width: 40px;
    min-height: 40px;
    border: none;
}

.flags {
    height:28px;
    width: 28px;
    position: absolute;
    top:  5px;
    left: 5px;
}

.flag-country {
    background-repeat: no-repeat;
    background-size: auto 28px;
    background-position: center center;
    border-radius: 14px;
}


.country-select .bootstrap-select.form-control.input-group-btn {
    width: 60px;
    border: none;
    margin-left: 5px;
}

.country-select .bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child)>.btn {
    background: #0084b8;
    color: #ffffff;
    border: 1px solid #0084b8;
    border-right-color: #dddddd;
    border-radius: 4px 0 0 4px;
    height: 40px;
    width: 60px;
    padding-right: 10px;
}

.country-select .filter-option {
    text-align: right !important;
}

.country-select .phone-input {
    width: calc(100% - 65px);
    height: 40px;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #0084b8;
    border-left: none;
    border-radius: 0 4px 4px 0 !important;
}

#form-sale .country-select {
    width: 100%;
    margin: 0 auto;
}

#form-sale input[type="text"] {
    height: 40px;
    display: block;
}

#form-sale .help-block-error {
    display: none;
}

.sale-user-data .router {
    position: relative;
    padding-top: 50%;
    margin: 0 auto;
}

.sale-user-data .router::after {
    content: "";
    background-image: url(/images/wizerfi.png);
    background-size: cover;
    opacity: 0.8;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.sale-user-data .router img {
    position: absolute;
    width: 80%;
    left: 15%;
    top: 25%;
}

.site-sale #modal-message .modal-dialog {
    width: 70%;
    max-width: 600px;
    margin-top: 100px;
    border-radius: 10px;
}

.site-sale #modal-message .modal-dialog .modal-header{
    background-color: #d42e80;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
}

.site-sale #modal-message .modal-dialog .modal-content {
    border-radius: 15px;
}

.total {
    color: #ffffff;
    background-color: #0084b8;
    padding: 5px 0;
    border-radius: 5px;
}

.navbar {
    min-height: 60px;
}

.navbar-brand {
    padding: 5px 15px;
}

.navbar-brand > img {
    width: 100px;
    display: inline-block;
}

.navbar-brand > span {
    display: inline-block;
    margin: 0 0 7px 15px;
    vertical-align: bottom;
    font-size: 22px;
}

.navbar-inverse {
    background-color: #d42e80;
    border-color: #ffffff;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
}

.navbar-inverse .navbar-nav > li > a, .navbar-inverse .btn-link {
    color: #ffffff;
    line-height: 30px;
}

.navbar-inverse .navbar-nav > li.active > a, .navbar-inverse .navbar-nav > li.active > a:hover,
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .btn-link:hover {
    background-color: #0084b8;
}

h1 {
    color: #0084b8;
}

.sale-user-data .sale-button {
    background-color: #d42e80;
    border-color: #d42e80;
}

#form-sale label {
    color: #666666;
}

#form-sale .form-group input {
    border-color:  #0084b8;
}

.frb.frb-info input[type="radio"]:checked ~ label {
    background-color: #0084b8;
    color: #ffffff !important;
}

.sdr-view .sim-actions {
    width: 25%;
    display: block;
    float: right;
    margin: 5px 0 5px 0;
}

.sdr-view .sdr-package-wrapper {
    width: 33.33%;
    display: inline-block;
}

.sdr-view .sdr-package-wrapper:nth-of-type(3n+1) {
    padding: 0 0 30px 20px;
}

.sdr-view .sdr-package-wrapper:nth-of-type(3n+2) {
    padding: 0 20px 30px 0;
}

.sdr-view .sdr-package-wrapper:nth-of-type(3n+3) {
    padding: 0 10px 30px 10px;
}

.sdr-view .sdr-package {
    padding: 10px;
    border: 1px dotted #999999;
    border-radius: 10px;
}

.sdr-view .sdr-package h3 {
    margin-top: 5px;
    width: 70%;
    display: block;
    float: left;
}

.sdr-view .sdr-package a {
    display: block;
    float: right;
    margin-bottom: 10px;
}

.sdr-view .sdr-package .detail-view {
    margin-bottom: 0;
}

.filters {
    background-color: #f5f5f5;
    padding: 5px 15px 10px 15px;
    margin: 25px 0;
    border-radius: 5px;
    overflow: hidden;
}

.filters .available-days {
    display: block;
    background-color: #d42e80;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 11px;
}

.filters .request-more {
    display: block;
    background-color: #0084b8;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 11px;
    margin-right: 10px;
}

.filters .available-days span {
    font-weight: bold;
    margin: 0 5px;
}

.filters div {
    overflow: hidden;
}

.filters div form .form-group .help-block {
    display: none;
}

.filters div form .form-group {
    margin: 0 10px 0 0;
    width: 125px;
    float: left;
}

.filters div form .form-group.buttons {
    margin-top: 25px;
    width: 175px;
}

.grid-view td {
    vertical-align: middle !important;
}

.grid-view td .days {
    width: 50px;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    margin-right: 3px;
}

.grid-view td.actions, .grid-view th.action-column {
    text-align: center !important;
}

.grid-view .actions a {
    font-size: 14px;
    padding: 6px 7px 4px 7px;
    vertical-align: middle;
    display: inline-block;
    margin: 3px 0;
    border: 1px solid #99ccff;
    border-radius: 5px;
}

.grid-view .actions a:hover {
    background-color: #ffffff;
}

.grid-view .actions a span {
    margin-right: 2px;
}

.grid-view .actions a:hover, .grid-view .actions a:visited {
    text-decoration: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ffffff;
}

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

.modal-message .modal-content {
    border-radius: 0;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.modal-message .modal-dialog {
    margin-top: 30%;
}

.modal-message .modal-header {
    border-bottom: none;
}

.modal-message.success .modal-content {
    background-color: #00aa00;
}

.modal-message.error .modal-content {
    background-color: red;
}

.columns-2 {
    width: 47%;
}

.columns-2 table {
    margin-bottom: 0;
}

.business-user-device-tags .columns-2 {

}

.business-user-device-tags .assigned a {
    margin-right: 15px;
}

.business-user-device-tags .assign-tag {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.business-user-device-tags .delete-tag {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-right: 15px;
}

.business-user-device-tags .add-new-tag {

}

.business-user-device-tags .add-new-tag h4 {
    display: inline-block;
    vertical-align: middle;
}

.business-user-device-tags .add-new-tag input.new-tag {
    padding: 5px;
    margin-left: 15px;
    vertical-align: middle;
}

#modal-business-inventory-activate .form-group {
    width: 285px;
    margin: 5px 10px;
    display: inline-block;
}

#modal-business-inventory-activate .field-date_from,
#modal-business-inventory-activate .field-date_to  {
    width: 185px;
}

#modal-business-inventory-activate .field-days  {
    width: 55px;
    margin-right: 18px;
}
