/**
 * FeedSync Application CSS
 */

@media (min-width: 768px) {
        .container {
                max-width: 1000px;
        }
}

.header {
        margin-bottom: 1em;
}
#feedsync-settings-navigation {
        margin-bottom: 1em;
}
.feedsync-overlay {
        background-color: #000000;
        border-top: 5px solid #008000;
        color: #ffffff;
        height: 100%;
        opacity: 0.6;
        padding: 0;
        position: absolute;
        text-align: center;
        top: 0;
        width: 100%;
}
.listings-list-panel {
        font-size: 0.9em;
}
.panel-imported {
}
.panel-imported .filename {
        white-space: pre-wrap;
        word-wrap: break-word;
        max-width: 300px;
}
.feedsync-image {
        opacity: 0.9;
        padding: 3px;
        transition: all 0.2s ease-in-out;
        width: 100%;
        height: auto;
}
.feedsync-image:hover {
        opacity: 1;
        transform: scale(1.1);
}
.ajax-loading {
        background-image: url('../images/loader.gif');
        background-position: 98% 50%;
        background-repeat: no-repeat;
        margin-bottom: 0;
}
.status.sold,
.status.leased {
        color: #ff0000;
}
.status.current {
        color: #00ab1b;
}
.form-feedsync-settings legend {
        border-bottom: 2px solid;
        color: #0064b9;
        font-weight: bold;
        text-align: center;
}
.form-feedsync-settings .form-group {
        margin-bottom: 15px;
        padding: 10px 0;
}
.feedsync-reset-wrap {
        margin: 10px 0;
        display: none;
}
.reset_confirm_pass {
        float: right;
        margin: 5px 0;
        width: 100%;
}
.feedsync-field-error {
        border: 2px solid #ff0000;
}
.feedsync-field-error-msg {
        background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
        border: medium none;
        color: #ff0000;
        display: block;
        margin: 5px 0;
        padding: 2px 0;
}
.plugin-item {
        background: #fefefe;
        border-radius: 4px;
        margin: 1em 0;
}
.feedsync-field-error-msg span {
        display: none;
}
.modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        background-color: #000000;
}
.modal-backdrop.fade {
        opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
        opacity: 0.8;
        filter: alpha(opacity=80);
}
.modal {
        height: 133px;
        margin: 0 auto;
        outline: medium none;
        overflow: hidden;
        top: 10%;
        width: 60%;
        min-width: 300px;
        z-index: 1050;
        background-color: #ffffff;
        border: 1px solid #999;
        border: 1px solid rgba(0, 0, 0, 0.3);
        *border: 1px solid #999;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        outline: none;
        -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding-box;
        background-clip: padding-box;
}
.modal.fade {
        top: -25%;
        -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
        -o-transition: opacity 0.3s linear, top 0.3s ease-out;
        transition: opacity 0.3s linear, top 0.3s ease-out;
}
.modal.fade.in {
        top: 10%;
}
.modal-header {
        padding: 9px 15px;
        border-bottom: 1px solid #eee;
}

.modal-header .close {
        margin-top: 2px;
}
.modal-header h3 {
        margin: 0;
        line-height: 30px;
}

.modal-body {
        position: relative;
        max-height: 400px;
        padding: 15px;
        overflow-y: auto;
}
.modal-form {
        margin-bottom: 0;
}
.modal-footer {
        padding: 14px 15px 15px;
        margin-bottom: 0;
        text-align: right;
        background-color: #f5f5f5;
        border-top: 1px solid #ddd;
        -webkit-border-radius: 0 0 6px 6px;
        -moz-border-radius: 0 0 6px 6px;
        border-radius: 0 0 6px 6px;
        *zoom: 1;
        -webkit-box-shadow: inset 0 1px 0 #ffffff;
        -moz-box-shadow: inset 0 1px 0 #ffffff;
        box-shadow: inset 0 1px 0 #ffffff;
}
.modal-footer:before,
.modal-footer:after {
        display: table;
        line-height: 0;
        content: '';
}
.modal-footer:after {
        clear: both;
}
.modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
        margin-left: 0;
}
.nav > li > a:hover.btn-warning,
.nav > li > a:focus.btn-warning {
        background-color: #ed9c28;
}
.rating {
        color: #808080;
        cursor: pointer;
        direction: ltr;
        font-size: 16px;
        unicode-bidi: bidi-override;
        margin-left: 1px;
}
.rating > span {
        display: inline-block;
        position: relative;
        width: 1.1em;
}
.fs-details-fav-icon .rating > span {
        font-size: 1.6em;
}
.rating > span:hover,
.rating > span:hover ~ span {
        color: transparent;
}
.rating > span:hover:before,
.rating > span:hover ~ span:before,
.rating > span.rated::before {
        content: '\2605';
        position: absolute;
        left: 0;
        color: gold;
}
tr:nth-child(2n) {
        background: #f6faff none repeat scroll 0 0;
}
.id {
        text-align: center;
        width: 5%;
}
.status {
        width: 9%;
}
.first-date {
        width: 11%;
}
.mod-date {
        width: 11%;
}
.unique-id {
        width: 6%;
        word-break: break-all;
}
.agent-id {
        width: 8%;
        word-break: break-all;
}
.geocode {
        width: 7%;
        text-align: center;
}
.details {
        width: 7%;
        text-align: center;
}

th {
        border-bottom: 2px solid !important;
        color: #0064b9;
}
th:hover .sort-by-asc,
.sort-by-asc.feedsync-sorted {
        left: 3px;
        display: inline-block;
        width: 0;
        height: 0;
        border: solid 5px transparent;
        margin: 4px 4px 0 3px;
        background: transparent;
        border-bottom: solid 7px #0064b9;
        border-top-width: 0;
}

th:hover .sort-by-desc,
.sort-by-desc.feedsync-sorted {
        left: 3px;
        display: inline-block;
        width: 0;
        height: 0;
        border: solid 5px transparent;
        margin: 4px 4px 0 3px;
        background: transparent;
        border-top: solid 7px #0064b9;
        border-bottom-width: 0;
}
th a {
        text-decoration: none !important;
}
.item-no-map > img,
.item-has-map > img {
        width: 25px;
}
.no-padding {
        padding: 0;
}
.label {
        display: inline-block;
        margin: 8px auto;
}
td.status.fs-status-cell {
        min-width: 100px;
}

.fs-details-status-text {
        pointer-events: none;
}
.fs-status-text,
.fs-details-status-text {
        text-transform: capitalize;
}
.fs-status-cell.fs-editing-allowed:hover .fs-status-dropdown {
        display: block !important;
}
.fs-status-cell.fs-editing-allowed:hover .fs-status-text {
        display: none;
}
a.view-listing-images img {
        width: 25px;
}
.fs-image-address,
.fs-details-title {
        font-weight: bold;
        line-height: 2.3;
        font-size: 1.3em;
}
.fs-details-title-block {
        display: flex;
        justify-content: space-between;
        padding: 0.5em 0;
        border-bottom: 1px solid #ccc;
        margin-bottom: 1em;
}
.fs-details-status.fs-editing-enabled .fs-details-status-dropdown {
        display: block !important;
        padding: 7.5px;
}
.fs-details-status.fs-editing-enabled .fs-details-status-text {
        display: none !important;
}
.fs-edit-listing-status {
        cursor: pointer;
        margin: 0 1em;
}
.fs-details-status {
        display: flex;
        align-items: center;
}
.fs-details-address > span {
        margin-right: 1em;
}
.fs-details-address {
        display: flex;
        align-items: center;
}
span.fs-image-size {
        display: block;
        text-align: center;
        font-weight: bold;
        padding: 5px 0;
}
.table.fs-images-table {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.fs-listing-map {
        height: 350px;
        margin: 0 0;
        border-radius: 0.5em;
}
.fs-edit-first-date {
        cursor: pointer;
}
.listing-counter-widget {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-gap: 1em;
        margin-bottom: 1em;
}
.listing-counter {
        display: flex;
        flex-direction: column;
        flex: 1;
        margin: 0;
        background: #fbfbfb;
        padding: 0.5em 0.7em;
        min-width: 120px;
        border-radius: 5px;
        border: 1px solid #e8e8e8;
}
.listing-counter a {
        text-decoration: none;
}
.listing-counter label {
        color: #0064b9;
}
.listing-counter > div {
        margin-left: 0;
}
span.fs-image-info {
        display: flex;
        justify-content: space-between;
        padding: 0 5px;
}
span.fs-image-info > span {
        padding: 5px;
        font-weight: normal;
        color: #aaa;
        font-size: 0.8em;
}
.feedsync-warning-map-key {
        padding: 1em;
}
.feedsync-setting-section .btn {
        width: auto;
        height: auto;
        padding: 10px;
        font-size: 1.3em;
}
.form-group .alert {
        margin: 10px 0;
}
fieldset.form-group.form-field-type-checkbox_single > label {
        display: none;
}
.form-field-options-wrap {
        display: flex;
        justify-content: flex-start;
        align-items: center;
}
.form-field-options-wrap input {
        display: inline-block;
        width: 20px;
        margin-right: 15px;
        margin-top: 0;
        box-shadow: unset;
}
.form-field-options-wrap label {
        padding: 0px;
        margin: 0px;
}
.plugins-list {
        border: 1px solid #eee;
        padding: 2em 0;
}
.plugin-actions > * {
        margin-right: 2em;
}

.plugin-actions {
        display: flex;
        justify-content: flex-start;
}
p.plugin-description {
        font-size: 0.9em;
        color: #666;
}
.status-counter-item {
        display: flex;
        justify-content: flex-start;
}
.status-counter-item > span {
        width: 50%;
}
.status-counter-count {
        font-size: 1.1em;
}

/** Slider **/
.switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
}

.switch input {
        opacity: 0;
        width: 0;
        height: 0;
}

.slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: 0.4s;
        border-radius: 34px;
}

.slider:before {
        position: absolute;
        content: '';
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
}

input:checked + .slider {
        background-color: #4caf50;
}

input:focus + .slider {
        box-shadow: 0 0 1px #4caf50;
}

input:checked + .slider:before {
        transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
        border-radius: 34px;
}

.slider.round:before {
        border-radius: 50%;
}
/* Small size */
.switch-small {
        width: 40px;
        height: 20px;
}

.switch-small .slider {
        border-radius: 20px;
}

.switch-small .slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
}

.switch-small input:checked + .slider:before {
        transform: translateX(20px);
}

/* Large size */
.switch-large {
        width: 80px;
        height: 44px;
}

.switch-large .slider {
        border-radius: 44px;
}

.switch-large .slider:before {
        height: 36px;
        width: 36px;
        left: 4px;
        bottom: 4px;
}

.switch-large input:checked + .slider:before {
        transform: translateX(36px);
}
.badge-success {
        color: #fff;
        background-color: #28a745;
}
.badge-danger {
        color: #fff;
        background-color: #dc3545;
}
/** Slider end **/
@media screen and (max-width: 1000px) {
        .geocode,
        .details {
                display: none;
        }
}
@media screen and (max-width: 991px) {
        .agent-id {
                display: none;
        }
}
@media screen and (max-width: 766px) {
        .unique-id {
                display: none;
        }
}
@media screen and (max-width: 640px) {
        .geocode,
        .first-date,
        .mod-date,
        .unique-id,
        .telephone,
        .details {
                display: none;
        }
}
@media screen and (max-width: 400px) {
        .status,
        .agent_id,
        .details {
                display: none;
        }
}

/** Print CSS **/
@media print {
        a[href]:after {
                display: none;
        }
}
