/* ===============================================
   My Page
=============================================== */
/* =====================================
   Common styles
===================================== */
a {}
a:hover {
    text-decoration: underline;
}

ol {
    margin-left: 20px;
}

/* ===========================
   Form styles
=========================== */
input,
select,
textarea {
    position: relative;
    padding: 6px;
    border: 1px solid #c8c8c8;
    border-radius: 2px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
input:hover,
select:hover,
textarea:hover {
    box-shadow: 0 0 5px #c8c8c8;
}

/* Text */
input[type=text] {
    width: initial;
}

/* Checkbox */
label {
    line-height: 34px;
    font-weight: normal;
}
input[type=checkbox] {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-bottom: -2px;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input[type=checkbox]:checked {
    background: #164199;
}
input[type=checkbox]:checked::after {
    display: block;
    position: absolute;
    top: 40%;
    left: 4px;
    z-index: 1;
    width: 6px;
    height: 10px;
    margin-top: -5px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    content: '';
}

/* ===========================
   Page header
=========================== */
/* Page header */
.page-head {
    padding: 10px 30px;
    background: #164199;
}

/* Title */
.page-head-title {
    float: left;
    line-height: 32px;
    margin: 0;
    color: #fff;
    font-size: 18px;
}

/* Search button */
.page-head-search {
    float: left;
    margin-left: 30px;
}
.page-head-search button {
    padding: 5px 30px;
    background: #000;
    border: none;
    border-radius: 20px;
    color: #fff;
    outline: 0;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.page-head-search button:hover {
    background: #f0f0f0;
    color: #000;
}

/* ===========================
   Side menu
=========================== */
.side-menu {}

/* Menu title */
.side-menu .side-menu-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}

/* Menu list */
.side-menu-ul {
    list-style: none;
    margin-bottom: 20px;
}
.side-menu-ul li {
    padding: 5px;
    padding-left: 15px;
    background: url('../../../img/sp/front/common/arrow-right.png') no-repeat 0 12px;
}
.side-menu-ul li a {
    color: #787878;
}

/* Side banners */
.side-menu .banner img {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #c8c8c8;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.side-menu .banner:hover img {
    background-color: #f0f0f0;
    box-shadow: 0 0 5px #c8c8c8;
}

/* ===========================
   Main columns
=========================== */
.main {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .main {
        padding: 0 20px;
    }
}

/* Search box */
.search-modal {}
.search-modal dl {}
.search-modal dl dt {
    float: left;
    width: 100px;
    min-height: 34px;
    line-height: 34px;
    margin-bottom: 15px;
}
.search-modal dl dd {
    min-height: 34px;
    margin-bottom: 15px;
    padding-left: 80px;
}

/* ===========================
   Title
=========================== */
/* Page title */
.pg-title {
    line-height: 1;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #164199;
    color: #164199;
    font-weight: bold;
    font-size: 40px;
}

/* Section title */
.sec-title {
    line-height: 1;
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 1px solid #c8c8c8;
    font-weight: bold;
    font-size: 16px;
}

/* Default title */
.title {
    margin-bottom: 15px;
    padding: 7px 15px;
    border-radius: 5px;
    color: #000;
    font-size: 18px;
}
.title.border {
    padding-bottom: 5px;
    padding-left: 0;
    border-bottom: 2px solid #c8c8c8;
    border-radius: 0;
}

/* ===========================
   Table styles
=========================== */
/* Table toolbar */
.table-wrapper .btn-toolbar .btn {
    margin-right: 2px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 20px;
    color: #333;
}
.table-wrapper .btn-toolbar .btn.btn-primary {
    background-color: #000;
    color: #fff;
}
.table-wrapper .btn-toolbar .btn.dropdown-toggle { border-radius: 0 20px 20px 0;}

/* Responsive data table */
.table-responsive {
    border: none !important;
}
.list-table th,
.list-table td {
    vertical-align: middle !important;
    border: 1px solid #fff !important;
    color: #333;
    font-weight: normal;
    text-align: center;
}
.list-table th {
    vertical-align: middle !important;
    background-color: #f0f0f0;
}
.list-table > tbody > tr:nth-of-type(odd)  { background-color: #f8f6ec; }
.list-table > tbody > tr:nth-of-type(even) { background-color: #fff; }

/* ===========================
   Parts
=========================== */
/* App download */
.app {
    width: 100%;
    height: auto;
    text-align: center;
}
.app .ios {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px 0 8px;
    border: 1px dotted #c8c8c8;
    border-right: none;
    border-left: none;
}
.app .ios img {
    width: 100%;
    max-width: 317px;
}
.app .download img {
    width: 100%;
    max-width: 440px;
}
.app p {
    text-align: left;
}
.app a {
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.app a:hover {
    opacity: 0.7;
}
.sp-foot .app .ios img, .sp-foot .app .download img, .sp-foot .app p {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

/* Bordered Box */
.box-bordered {
    border: 2px solid #e9e9e9;
    padding: 15px;
}
.box-bordered ul li span { padding: 3px 0; }
.box-bordered ul li span:nth-child(n+2)::after {
    padding: 0 5px;
    color: #787878;
    content: "/";
}
.box-bordered ul li  span:last-child::after {
    content: "" !important;
}

/* Pagination */
.pagination {
    margin: 0;
}
.pagination > li > a {
    margin: 0 2px;
    border: none;
    border-radius: 4px;
    background-color: #164199;
    color: #fff;
    font-weight: normal;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover {
    background-color: #3e3a39;
}
.page-item.active .page-link {
    background-color: #f3dd23;
    color: #164199;
}

.pagination > li > a:hover {
    background-color: #f0f0f0;
}

/* Orderd */
.order {
    height: 36px;
    margin-bottom: 20px;
}
.order .btn-order {
    margin-top: 2.5px;
    padding: 0;
    background: none;
    border: none;
    outline: none;
}
.order .order-thumb,
.order .order-list {
    float: left;
    width: 30px;
    height: 31px;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.order .order-thumb { background-color: #f3dd23; }
.order .order-list { background-color: #164199; }
.order .order-thumb::after,
.order .order-list::after {
    display: block;
    position: absolute;
    content: "";
}
.order .order-thumb::after {
    width: 5px;
    height: 5px;
    box-shadow:
        6px 6px #164199,
        13px 6px #164199,
        20px 6px #164199,
        6px 13px #164199,
        13px 13px #164199,
        20px 13px #164199,
        6px 20px #164199,
        13px 20px #164199,
        20px 20px #164199;
}
.order .order-list::after {
    width: 20px;
    height: 3px;
    box-shadow:
        5px 7px #f3dd23,
        5px 14px #f3dd23,
        5px 21px #f3dd23;
}
.order .order-thumb:hover,
.order .order-list:hover { background-color: #f0f0f0; }
.order .order-thumb:hover::after {
    box-shadow:
        6px 6px #000,
        13px 6px #000,
        20px 6px #000,
        6px 13px #000,
        13px 13px #000,
        20px 13px #000,
        6px 20px #000,
        13px 20px #000,
        20px 20px #000;
}
.order .order-list:hover::after {
    box-shadow:
        5px 7px #000,
        5px 14px #000,
        5px 21px #000;
}
.order .order-thumb.active::after {
    box-shadow:
        6px 6px #f0f0f0,
        13px 6px #f0f0f0,
        20px 6px #f0f0f0,
        6px 13px #f0f0f0,
        13px 13px #f0f0f0,
        20px 13px #f0f0f0,
        6px 20px #f0f0f0,
        13px 20px #f0f0f0,
        20px 20px #f0f0f0;
}
.order .order-list.active::after {
    box-shadow:
        5px 7px #f0f0f0,
        5px 14px #f0f0f0,
        5px 21px #f0f0f0;
}
.order .order-thumb.active,
.order .order-list.active { background-color: #000; }

/* Responsive */
@media (max-width: 640px) {
    .order .fl { float: left !important; }
    .order .fr { float: right !important; }
}

/* ===========================
   Other
=========================== */
.date {
    color: #787878;
    padding-right: 10px;
}
.require { background-color: #dee6f7 !important; }

@media (max-width: 768px) {
    .date {
        display: block;
    }
}

.label-challenge {
    color: #164199 !important;
    background-color: #F3DD23 !important;
}
.label-stock {
    color: #fff !important;
    background-color: #5cb85c !important;
}
.label-clearance {
    color: #fff !important;
    background-color: #ff69b4 !important;
}
.label-bidding {
    color: #fff !important;
    background-color: #ffa500 !important;
}

/* =====================================
   My page top
===================================== */
/* ===========================
   Menu buttons
=========================== */
.menu-btn-wrap {}
.menu-btn {
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e4e4e4;
    background: #eeede3;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.menu-btn:last-child {
    margin-bottom: 0;
}
.menu-btn:hover {
    background: #fafafa;
}
.menu-btn a {
    display: table;
    width: 100%;
    min-height: 135px;
    padding: 10px;
    padding-left: 0;
    color: #000;
    text-decoration: none;
}
.menu-btn .menu-icon {
    display: table-cell;
    min-width: 81px;
    padding-top: 5px;
}
.menu-btn .menu-text {
    display: table-cell;
    vertical-align: middle;
    width: 71%;
}
.menu-btn.full .menu-text {
    width: 86%;
}
.menu-btn.no-icon.no-icon a {
    text-align: center;
}
.menu-btn.no-icon a img {
    display: inline-block;
    width: 100%;
    max-width: 333px;
    padding: 40px 20px;
}

/* Responsive */
@media (max-width: 1200px) {
}
@media (max-width: 991px) {
    .menu-btn .menu-text,
    .menu-btn.full .menu-text {
        width: 83%;
    }
    .menu-btn.no-icon a {
        min-height: 86px;
    }
    .menu-btn.last {
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .menu-btn a {
        min-height: 88px;
    }
    .menu-btn.no-icon a img {
        max-width: 250px;
        padding: 24.5px 20px;
    }
}
@media (max-width: 420px) {
    .menu-btn {
        font-size: 16px;
    }
}

/* ===========================
   Project list & thumbnails
=========================== */
/* Common styles */
.prj-wrap {
    margin-bottom: 20px;
    border: 1px solid #c8c8c8;
}

.prj-head {
    position: relative;
    margin: 0;
}
.prj-head .prj-name {
    padding-left: 15px;
    color: #164199;
    font-weight: bold;
    font-size: 18px;
}
.prj-head .prj-type {
    display: table-cell;
    min-width: 100px;
}
.prj-label {
    color: #fff;
    font-size: 11px;
}
.prj-label2 {
    color: #fff;
    font-size: 11px;
}
.prj-head .prj-buttons {
    position: absolute;
    top: 0px !important;
    right: 15px;
}
.prj-name-sp {
    display: none;
    padding: 10px 20px;
    border-bottom: 1px dashed #c8c8c8;
    background: url('../../../img/sp/front/common/arrow-right_l.png') no-repeat center right 20px;
    background-size: 8px;
    color: #164199;
    font-weight: bold;
    font-size: 18px;
}
.prj-thumb img {
    width: 100%;
    height: auto;
}
.prj-info ul.ul-style-2 li {
    display: inline-block;
    float: none;
    margin: 0;
}
.prj-head span {
    display: table-cell;
    line-height: 35px;
    vertical-align: middle;
    margin-left: 15px;
}
@media (max-width: 992px) {
    .prj-wrap .prj-head {
        margin: 0;
    }
    .prj-head .prj-type-label {
        display: inline-grid;
        width: 100%;
    }
    .prj-head span {
        margin-left: 0px;
    }
    .prj-head {
        margin-top: 70px;
    }
}
.prj-label {
    padding: 0 10px;
}
.prj-label2 {
    padding: 0 10px;
}
.prj-summary { padding: 15px; }

/* List type 1 */
.list-type-1 .prj-wrap {
    background: url('../../../img/sp/front/common/arrow-right_l.png') no-repeat center right 20px;
}
.list-type-1 .prj-thumb {
    float: left;
    width: 220px;
}
.list-type-1 .prj-info {
    float: left;
    margin-left: 20px;
}

/* List type 2 (thumbnails) */
.list-type-2 .prj-wrap {
    position: relative;
    width: 32%;
    margin-bottom: 2%;
    margin-left: 2%;
    padding: 0;
}
.list-type-2 .prj-wrap:nth-child(3n+1) {
    margin-left: 0;
}
.list-type-2 .prj-thumb {
    position: relative;
}
.list-type-2 .prj-label {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 10 20px;
    border-radius: 5px;
}
.list-type-2 .prj-label2 {
    position: absolute;
    top: 25px;
    left: 5px;
    padding: 10 20px;
    border-radius: 5px;
}
.list-type-2 .prj-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
}
.list-type-2 .prj-head {
    padding: 15px;
}
.list-type-2 .prj-head .prj-name {
    line-height: 1.4;
    padding-left: 0;
}
.list-type-2 .prj-summary .ul-style-2:last-child {
    margin-bottom: 0;
}
.list-type-2 .prj-bit {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #f0f0f0;
}
.list-type-2 .btn-1 {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .list-type-1 .prj-wrap {
        background: none;
    }
    .list-type-1 .prj-thumb {
        width: 100%;
    }
    .list-type-1 .prj-info {
        margin-top: 20px;
        margin-left: 0;
    }
    .list-type-1 .prj-info ul.ul-style-2 li:last-child {
        margin-top: 10px;
    }
    .list-type-2 .prj-wrap {
        float: left;
        width: 49%;
        margin-left: 0;
    }
    .list-type-2 .prj-wrap:nth-child(even) {
        margin-left: 2%;
    }
}
@media (max-width: 991px) {
    .prj-head .prj-name {
        display: none;
    }
    .prj-name-sp {
        display: block;
    }
}
@media (max-width: 480px) {
    .prj-head span:last-child {
        top: 12px;
    }
    .list-type-1 .prj-name-sp {
        background: none;
    }
    .list-type-2 .prj-wrap {
        float: none;
        width: 100%;
        margin-left: 0 !important;
    }
}

/* ===========================
   Project deteils
=========================== */
/* Car Image */
.prj-photos { margin-bottom: 20px; }

.prj-photo .prj-label2{
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 10 20px;
    border-radius: 5px;
}

/* Owl carousel */
.owl-buttons { display: table; }
.owl-carousel { width: 100%; }
.owl-carousel .owl-item {
    position: relative;
    cursor: pointer;
}
.owl-carousel .owl-title {
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 10;
    padding: 3px 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
}
.owl-carousel .owl-prev,
.owl-carousel .owl-next {
    position: absolute;
    top: 40%;
    z-index: 10;
    width: 32px;
    line-height: 32px;
    vertical-align: middle;
    padding: 6px 0;
    background: rgba(22, 65, 153, 0.7);
    color: #fff;
    text-align: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
}
.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover { opacity: 1; }
.owl-prev { left: 0; }
.owl-next { right: 0; }
.owl-carousel .owl-item img {
    width: 100%;
    height: auto;
}
.owl-carousel .owl-item img:hover { opacity: 1; }

/* Car image Thumbnails */
.thumb-wrap {
    overflow: scroll;
    height: 400px;
}
.thumb-wrap .thumb {
    float: left;
    width: 20% !important;
    padding: 3px; !important;
}

/* Car information table */
.car-information .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8f6ec;
}
.car-information .table > tbody > tr > td,
.car-information .table > tbody > tr > th,
.car-information .table > tfoot > tr > td,
.car-information .table > tfoot > tr > th,
.car-information .table > thead > tr > td,
.car-information .table > thead > tr > th {
    border-top: none !important;
}

/* valuation table */
table.car_part_damage_level td {
    white-space: nowrap;
}

#price_view {
    width: 65%;
}
@media (max-width: 991px) {
    #price_view {
        width: 80%;
    }

    .price-submit {
        width: 100%;
        text-align: center;
    }
    .price-submit img {
        width: 80%;
        height: auto;
        margin-top: 10px;
    }
}

/* ===========================
   Announcement
=========================== */
.news-wrap {
    border: 1px solid #c8c8c8;
}
.news-head {
    position: relative;
    margin: 0;
}
.news-head span {
    display: table-cell;
    line-height: 50px;
    vertical-align: middle;
    margin-left: 15px;
}
.news-head .news-title {
    padding-left: 15px;
    color: #164199;
    font-weight: bold;
    font-size: 18px;
}
.news-date {
    padding: 0 10px;
    background-color: #f3dd23;
    color: #fff;
    font-size: 11px;
}

/* ===========================
   Terms
=========================== */
.rules {}
.rules ol li {
    margin-top: 10px;
}
.rules ul li {
    margin-top: 10px;
}
.rules ul > ol {
    margin-top: 20px;
}

.modal {
    z-index: 16000002!important;
}

/* Vehicle in exhibition */
.carview {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-flow: row wrap;
}
.carview-item {
    padding: 0;
    border: 1px solid #f3dd23;
}
.carview-item a {
    text-decoration: none;
}
.carview-item img {
    width: 100%;
    height: auto;
}
.carview-info {
    padding: 20px;
    background: #fff;
}
.carview-maker {
    font-size: 11px;
}
.carview-car-type {
    font-weight: bold;
    font-size: 12px;
}
.carview-model-year {
    color: #787878;
    font-size: 13px;
}
.carview-all {
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: bold;
    background-color: #f3dd23;
    text-align: center;
}

@media (max-width: 991px) {
    .carview {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-flow: row wrap;
    }
    .carview-item {
        padding: 0;
        border: 1px solid #f3dd23;
        position: static;
        height: 100%;
        float: left;
        width: 50%;
    }
    .carview-item img {
        width: 100%;
        height: auto;
    }
    .carview-info {
        padding: 20px;
        background: #fff;
        position: static;
    }
    .carview-maker      { font-size: 14px; }
    .carview-car-type   { font-weight: bold; font-size: 18px; }
    .carview-model-year { font-size: 14px; }
    .carview-all {
        width: 100%;
        min-height: 200px;
        font-size: 18px;
        font-weight: bold;
        background-color: #f3dd23;
    }
}

.price-plus, .price-minus {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 576px) {
    .project-responsive th, .project-responsive td {
        display: inline-block;
        width: 100%;
        float: left;
    }
}
