/**** Directives ****/
/* Tabs Directive */
div.tabs-directive {
    position: relative;
    box-sizing: border-box;
}
ol.tabs-directive {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #fafafa;
    box-sizing: border-box;
}
ol.tabs-directive li.tab {
    display: inline-block;
    margin: 5px 9px 0 1px;
    padding: 10px 15px;
    border: none;
    background-color: transparent;
    position: relative;
    box-sizing: border-box;
}

ol.tabs-directive li.tab.active {
    background-color: white;
    border: solid 1px #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    z-index: 1;
    top: 1px;
}

ol.tabs-directive li.tab.active a,
ol.tabs-directive li.tab.active a:hover {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    cursor: default;
}

ol.tabs-directive li.tab a {
    color: #006699;
    text-decoration: none;
    display: block;
}

ol.tabs-directive li.tab a:hover {
    color: #63a1c7;
}

div.tabs-body {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    padding: 10px;
    box-sizing: border-box;
    border-top: solid 1px #ccc;
}
div.tabs-body div.tab {
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    position: relative;
}

div.tabs-body div.tab:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

/* Sort Directive */
div.sort-directive {
    display: inline-block;
}
div.sort-directive span {
    cursor: pointer;
}
div.sort-directive span.active {
    color: grey;
    cursor: default;
}

/* List Select Directive */
ol.list-select {
    display: inline-block;
    margin: 0;
    padding: 0;
}
ol.list-select li {
    display: inline-block;
    padding: 5px;
    border: none;
}
ol.list-select li a {
    color: black;
    text-decoration: none;
}
ol.list-select li.active {
    background-color: #fafafa;
}
ol.list-select.vertical li {
    display: block;
}

/* Pagination Directive*/
.pagination-directive {
    margin-top: 10px;
}
.pagination-directive ol {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.pagination-directive ol li {
    display: table-cell;
    padding: 5px;
}
.pagination-directive .summary,
.pagination-directive .limit {
    padding: 5px;
    position: relative;
    bottom: 10px;
    font-size: 0.85em;
}
.pagination-directive ol li .active {
    color: grey;
}

/* Modal Directive */
.modal-directive {
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 2001;
    height: 100%;
    width: 100%;
    overflow-y: auto;
}
.modal-directive .modal-body-container {
    background-color: transparent;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    max-width: 400px;
}
.modal-directive .modal-body-container.wide {
    max-width: 100%;
}
.modal-directive .modal-body-container .modal-body {
    position: relative;
    border-radius: 5px;
    background-color: white;
    max-width: 80%;
    margin: auto;
    display: inline-block;
}
.modal-directive .modal-body-container .modal-body .pop-header {
    margin: -20px -20px 0 -20px;
    border-radius: 5px 5px 0 0;
}
.modal-directive .modal-body-container .modal-body .close {
    position: absolute;
    top: 15px;
    right: 7px;
    font-size: 32px;
    line-height: 16px;
    text-decoration: none;
}
.modal-directive .modal-body-container .modal-body .modal-body-container {
    padding: 20px; /**min-width: 320px**/
}
.noscroll {
    overflow: hidden;
}

/* DropDown Directive */
.drop-down-directive {
    position: relative;
}
.drop-down-directive > ul.drop-down {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    list-style: none;
}
.drop-down-directive > ul.drop-down > li {
    display: block;
    border: 1px solid #cacaca;
    padding: 10px !important;
    list-style: none;
    white-space: nowrap;
    text-align: left;
}
.drop-down-directive > ul.drop-down > li:hover {
    background-color: #e1f1ff;
}

/* Call Handling Directive */
.call-handling-directive {
    display: inline-block;
}
.top {
    vertical-align: text-top;
}
select.top,
input.top,
span.top {
    vertical-align: top;
}
.menu-directive .keys {
    padding: 10px 0;
    border-bottom: solid 1px #bdbdc0;
    position: relative;
}
.menu-directive .key {
    /*color: #000000;*/
    background-color: #dedede;
    font-size: 25px;
    height: 2em;
    width: 2em;
    display: table;
    float: left;
    margin-right: 10px;
}
.menu-directive .key-enabled {
    background-color: #84bd00;
    color: #fff;
}
.menu-directive .key span {
    display: table-cell;
    vertical-align: middle;
}
.menu-directive .press-action {
    float: left;
}
/* .menu-directive .press-action .press,
        .menu-directive .press-action .action {
            display: block;
            text-align: left;
            margin: 5px;
        }*/
.menu-directive .show {
    text-decoration: none;
    padding: 0 15px 20px 0;
    display: block;
}

/* User Select Directive */
ul.user-select-directive,
.group-select-directive ul {
    display: inline-block;
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
    vertical-align: top;
}

/* Dual Range Directive */
.dual-range-directive {
    position: relative;
    font-size: 6px;
    height: 5em;
    padding: 0.5em;
    margin-bottom: 5px;
    box-sizing: border-box;
}
/* fake slider bar */
.dual-range-directive:before {
    content: " ";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    display: block;
    height: 1em;
    width: 100%;
    border-radius: 0.5em;
    background-color: grey;
}
.dual-range-directive input[type="range"] {
    position: absolute;
    top: 0.75em;
    right: 0;
    left: 0; /* don't specify bottom or height unless you want trouble */
    width: 100%; /* Specific width is required for Firefox. */
    box-sizing: border-box;
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    background: transparent; /* Otherwise white in Chrome */
    pointer-events: none;
    outline: none;
    margin: 0;
    padding: 0;
}

/* Repeat because browsers has the stupid and you can't comma separate these */
.dual-range-directive input[type="range"]::-webkit-slider-thumb {
    position: relative;
    top: -0.5em;
    -webkit-appearance: none;
    background: #e1f1fa;
    border: 1px solid #818181;
    height: 2em;
    width: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    box-shadow: 1px 1px 1px #818181, 0 0 1px #0d0d0d; /* Add cool effects to your sliders! */
    pointer-events: auto;
    margin: 0;
}
.dual-range-directive input[type="range"]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #818181, 0 0 1px #0d0d0d;
    border: 1px solid #818181;
    height: 2em;
    width: 1em;
    border-radius: 0.5em;
    background: #e1f1fa;
    cursor: pointer;
    pointer-events: auto;
}
.dual-range-directive input[type="range"]::-ms-thumb {
    box-shadow: 1px 1px 1px #818181, 0 0 1px #0d0d0d;
    border: 1px solid #818181;
    height: 2em;
    width: 1em;
    border-radius: 0.5em;
    background: #e1f1fa;
    cursor: pointer;
    pointer-events: auto;
}
.dual-range-directive input[type="range"].min::-webkit-slider-thumb {
    position: relative;
    left: -0.5em;
}
.dual-range-directive input[type="range"].max::-webkit-slider-thumb {
    position: relative;
    left: 0.5em;
}
.dual-range-directive input[type="range"]:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

.dual-range-directive input[type="range"]:focus::-webkit-slider-runnable-track {
    width: 100%;
    height: 0;
    background: transparent;
}
.dual-range-directive input[type="range"]::-moz-range-track {
    width: 100%;
    height: 0;
    background: transparent;
}
.dual-range-directive input[type="range"]::-ms-track {
    width: 100%;
    height: 0;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/* Time Range Directive */
.time-range-directive {
    position: relative;
    display: table-cell;
    vertical-align: top;
    padding: 10px 0 10px;
    border-bottom: 1px solid #dedede;
}
.time-range-directive .hours {
    position: absolute;
    width: 100%;
    height: 4px;
}
.time-range-directive .hour {
    font-size: 4px;
    display: inline-block;
    width: 4%;
    height: 100%;
    box-sizing: border-box;
    border-right: 1px solid #999;
    border-left: 1px solid #999;
}
.time-range-directive input.minTime,
.time-range-directive input.maxTime {
    width: 75px;
}
.time-range-directive .slide-label.min {
    float: left;
    padding-bottom: 10px;
}
.time-range-directive .slide-label.max {
    float: right;
    padding-bottom: 10px;
}
.time-range-directive.disabled {
    display: none;
}
/*.time-range-directive.disabled:after {
            content: ' OFF ';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color:#fff;
            opacity: .90;

            display: flex;
            justify-content: center;
            align-items: center;
            color: #000;
        }*/

.slide-label {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.slide-label input,
.slide-label select {
    padding: 14px 6px 3px;
    background-color: white;
    font-size: 16px;
    height: 40px;
}
.slide-label label {
    position: absolute;
    top: 12px;
    left: 8px;
    color: gray;
}
.slide-label select.no-empty + label,
.slide-label select:not(.ng-empty) + label,
.slide-label input:not(.ng-empty) + label,
.slide-label input:focus + label {
    transform: scale(0.8) translateY(-1em) translateX(-0.75em);
    cursor: default;
}
.slide-label select:focus + label,
.slide-label input:focus + label {
    color: #144b6e;
}
.slide-label label {
    pointer-events: none;
}

/* .account-user-directive .setting-group > label,
        .account-user-directive > label
        {
            width: 175px;
            display: inline-block;
            font-weight: 600;
            font-size: 15px;
        }*/

/* Autocomplete Directive */

.autocomplete-directive {
    position: relative;
}

.autocomplete-directive input {
    box-sizing: border-box;
    width: 100%;
    padding: 0.5em;
    box-shadow: none !important;
    border: 1px solid #cfcfcf;
    cursor: pointer;
    font-size: inherit;
}

.autocomplete-directive > ol {
    display: none;
    position: absolute;
    top: 1.25em;
    left: 0;
    right: 0;
    list-style: none;
    padding: 5px;
    background-color: whitesmoke;
    height: 10em;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
    overflow-y: scroll;
    border-bottom: solid 1px #cfcfcf;
    border-left: solid 1px #cfcfcf;
    border-right: solid 1px #cfcfcf;
    box-shadow: 3px 5px 8px rgba(207, 207, 207, 0.75);
}

.autocomplete-directive.active > ol {
    display: block;
}

.autocomplete-directive > ol > li {
    list-style: none;
    padding: 5px 0;
}

.telephone-number-directive input.valid.complete {
    border: 1px solid green;
}
.telephone-number-directive input.invalid.complete {
    border: 2px solid red;
}

.telephone-number-directive input.invalid,
.telephone-number-directive input.incomplete {
    border: 1px solid orange;
}

/**** End Directives ****/

.ng-cloak {
    display: none;
}

.clear {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.loading {
    position: relative;
}

.loading:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/images/loading.gif) no-repeat;
    background-position: center center;
    background-color: #fff;
    opacity: 0.9;

    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

ol.items,
ul.items {
    display: inline-block;
    list-style-type: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ol.items > li,
ul.items > li {
    display: block;
    list-style-type: none;
    box-sizing: border-box;
}

ol.items.expanding > li {
    background: #fafafa;
    margin-bottom: 15px;
    padding: 15px;
    border: solid 1px #eeeeee;
}

ol.items.expanding > li h3 {
    font-weight: normal;
}

ol.items.expanding > li:hover {
    background: #f3f3f3;
}

ol.items.expanding > li .body {
    margin: -15px;
    margin-top: 0;

    background-color: white;
}

.expanding .indicatorArrow {
    display: inline-block;
    vertical-align: middle;

    font-size: 22px;
    line-height: 1.2em;
    font-family: "modernpics";
    font-weight: normal;

    margin-right: 1em;
    margin-left: 1em;
}

.buttons-right {
    box-sizing: border-box;
    width: 100%;
    text-align: right;
}

#nav-account ul.drop-down > li {
    width: 100%;
    box-sizing: border-box;
}

#nav-account ul.drop-down > li a {
    font-weight: normal;
    line-height: 1em;
    padding: 0;
    text-transform: none;
    text-decoration: none;
    text-shadow: none;
    text-align: left;
    color: #333333;
}
/** CP progress bar **/
.order-progress-bar {
    position: relative;
    text-align: center;
    margin: 0 auto;
    height: 64px;
    margin-top: 15px;
    margin-bottom: 10px;
}
.nuni-bar {
    width: 289px;
}
.lnp-bar {
    width: 214px;
}
.progress-icons {
    margin: 0 auto;
    text-align: center;
    width: 289px;
    z-index: 99;
    position: absolute;
    z-index: 99;
}
.lnp-icons {
    width: 214px;
}
.progress-icons > :last-child {
    margin-right: 0;
}
.progress-step {
    display: inline-block;
    vertical-align: middle;
    margin-right: 28px;
    position: relative;
}
.progress-back {
    background-color: #3c7497;
    height: 8px;
    margin: 0 auto;
    z-index: 4;
    top: 30px;
    position: absolute;
    margin-left: 2px;
}
.progress-solid-back {
    background-color: #eeeeee;
    height: 8px;
    margin: 0 auto;
    z-index: 3;
    top: 30px;
    position: absolute;
    width: 100%;
}
.step2-new {
    width: 100px;
}
.step3-new {
    width: 200px;
}
.step4-new {
    width: 250px;
}
.step2-lnp {
    width: 100px;
}
.step3-lnp {
    width: 200px;
}
.progress-step .done:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    color: #84bc00;
    content: "\2713";
    font-size: 30px;
    line-height: 30px;
}
@media screen and (max-width: 600px) {
    .pagination-directive {
        text-align: center;
    }
}
/* SEARCH */
.search-results-col {
    width: 45%;
    float: left;
    margin-right: 17%;
}
.suggestions-results-col {
    width: 38%;
    float: left;
    margin-top: 35px;
}
section.ndb-class {
    background-color: #f7f7f7;
    padding: 10px 0;
}
.ndb-class input {
    font-size: 14px;
    box-shadow: none !important;
    padding: 5px 3px;
    border-style: solid;
    border-width: 1px;
    border-color: #bcbcbc;
}

.ndb-class input:focus {
    border-color: #3399cc;
}
.ndb-search-arrow {
    background: url(/images/search-now-arrow.png) no-repeat center center;
    background-size: cover;
    position: absolute;
    left: 320px;
    top: -40px;
    width: 59px;
    height: 70px;
}
.search-filters {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.result-counter {
    font-size: 14px;
    padding: 15px 0 5px;
}

.search-result-wrap {
    border-bottom: 1px solid #ccc;
    padding: 17px 0;
    transition: all 0.4s ease-in-out 0s;
}
.featured-indicator {
    font-size: 0.75em;
    margin-left: 2%;
    margin-top: -5px;
    margin-bottom: 5px;
    color: #0c0;
}
.premium-indicator {
    font-size: 0.75em;
    margin-left: 2%;
    margin-top: -5px;
    margin-bottom: 5px;
    color: #929292;
}
.search-premium {
    /*border: 1px solid #f0f0f0;*/
}
.search-featured {
    border: 1px solid #0c0;
}
.search-result-item {
    float: left;
    width: 52%;
    margin-left: 2%;
}
.search-result-buy {
    float: left;
    width: 44%;
    text-align: right;
    margin-right: 2%;
    position: relative;
}
.search-result-wrap:hover {
    background-color: #f9f9f9;
    transition: all 0.3s ease-in-out 0s;
}
.search-result-wrap:hover .search-result-info,
.search-result-wrap:hover .search-result-city {
    color: #6e6e6e !important;
    transition: all 0.3s ease-in-out 0s;
}
.search-result-number {
    float: left;
    font-weight: 600;
    font-size: 22px;
}
.search-result-price {
    text-align: right;
    font-size: 18px;
    margin-bottom: 10px;
}
.search-result-info {
    margin-top: 10px;
    margin-bottom: 7px;
    font-size: 15px;
    color: #6e6e6e !important;
}
.search-result-city {
    margin-top: 10px;
    margin-left: 7px;
    font-size: 14px;
    color: #929292 !important;
}
.block-start {
    border-bottom: 3px solid #84bd00;
    padding-bottom: 7px;
}
.block-icon {
    display: inline-block;
}
.block-icon img {
    width: 18px;
}
.block-desc {
    float: right;
}
.suggestions-wrap {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    display: inline-block;
}
.suggestions-wrap-header {
    margin: 0;
    padding: 10px;
    background-color: #e1f1fa;
    text-align: center;
}
.suggestions-result-wrap {
    border-bottom: 1px solid #e1e1e1;
    padding: 15px 0;
    transition: all 0.4s ease-in-out 0s;
}
.suggestions-result-wrap:hover {
    background-color: #fafafa;
    transition: all 0.3s ease-in-out 0s;
}
.suggestions-result-number {
    width: 160px;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    padding-left: 10px;
}
.suggestions-result-price {
    display: inline-block;
    width: 90px;
}
.suggestions-result-button {
    display: inline-block;
    padding-right: 10px;
}
div.select-options {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
    display: none;
    margin-left: 2px;
    margin-top: -3px;
    max-height: 260px;
    min-height: 35px;
    overflow: auto;
    position: absolute;
    z-index: 1000;
}
.select-options div.option {
    padding: 10px 25px 10px 10px;
    font-size: 14px;
}
.select-options div.option:hover {
    background-color: #f7f7f7;
}
.search-tabs-wrap {
    background-color: #ccc;
}
.search-tabs li {
    display: inline-block;
    margin-bottom: -1px;
    font-size: 16px;
}
.search-tabs li a {
    color: #006699;
    text-decoration: none;
    padding: 12px 20px 7px;
    display: block;
}
.search-tabs li a:hover {
    color: #006699;
    text-decoration: underline;
}
.search-tabs li.active-tab {
    background-color: #f7f7f7;
}
.search-tabs li.active-tab > a {
    text-decoration: none;
    color: #474747;
    font-weight: 600;
    cursor: default;
}
.search-tabs li.active-tab > a:hover {
    text-decoration: none;
    color: #144b6e;
    font-weight: 600;
}

ul.search-tabs {
    margin: 0 -10px;
    padding: 0;
}

.required label:after {
    content: "*";
    font-weight: normal;
    vertical-align: text-top;
    color: #cc0000;
}

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

.bold {
    font-weight: bold !important;
}

.text-blur {
    color: transparent !important;
    text-shadow: 0 0 8px #000 !important;
    user-select: none;
}
.media-blur {
    filter: blur(2rem);
}

.trash {
    font-family: "modernpics";
}
.trash:before {
    content: "x";
}
button.trash {
    padding: 0;
    border: none;
    color: #f18f04;
    background-color: transparent;
    font-size: 1.5em;
    cursor: pointer;
}
button.trash:hover {
    color: #bf3001;
}

@media screen and (max-width: 1100px) {
    .search-results-col {
        margin-right: 15%;
    }
    .suggestions-results-col {
        width: 40%;
    }
}

@media screen and (max-width: 920px) {
    .search-results-col {
        margin-right: 12%;
    }
    .suggestions-results-col {
        width: 43%;
    }
    .suggestions-result-number {
        width: 140px;
    }
    .suggestions-result-price {
        width: 80px;
    }
}

@media screen and (max-width: 730px) {
    .search-results-col {
        width: 50%;
        margin-right: 10%;
    }
    .suggestions-results-col {
        width: 40%;
    }
    .suggestions-result-number {
        width: 100%;
        float: left;
        display: block;
    }
    .suggestions-result-price {
        width: auto;
        float: left;
        display: block;
        padding-left: 10px;
    }
    .suggestions-result-button {
        width: auto;
        float: right;
        display: block;
        margin-top: -12px;
    }
}

@media screen and (max-width: 600px) {
    .search-results-col {
        width: 100%;
        float: none;
    }
    .suggestions-results-col {
        width: 100%;
        float: none;
    }
    ol.tabs-directive li.tab {
        padding: 8px 8px;
    }
}
