﻿* img {
    border:0;
}

input::-ms-clear, input::-ms-reveal { display: none; }

.distributor-appoint-dialog .dist-select-info {
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.distributor-appoint-dialog .dist-select-info span {
    margin-left: 1em;
    color: #333;
}

.distributor-appoint-dialog form {
    text-align: center;
}

.distributor-appoint-dialog .field {
    margin-bottom: 10px;
    text-align: left;
    position: relative;
}

.distributor-appoint-dialog form .field.error .form-field {
    margin-bottom: 0;
}

.distributor-appoint-dialog .ui.prompt.label {
    margin-left: 165px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    line-height: 25px;
    border-radius: 0;
    font-weight: normal;
    color: #cc9900;
}

.distributor-appoint-dialog form .comment {
    height: 54px;
}

.distributor-appoint-dialog form input[type=submit] {
    margin-top: 30px;
    border: 0;
    background: #0091ff;
    color: white;
    height: 50px;
    width: 180px;
    font-size: 20px;
}

.distributor-appoint-dialog .dist-contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #333;
}

.distributor-appoint-dialog .dist-contact-info .dist-phone {
    font-size: 20px;
    color: #ff2828;
    margin-left: 16px;
}

.dist-banner-placeholder {
    height: 350px;
}

.dist-banner {
    height: 400px;
    background-color: #314864;
}

.dist-banner img {
    height: 400px;
    width: 100%;
}

.dist-banner-text {
    position: absolute;
    bottom: 146px;
    font-size: 32px;
    color: white;
    text-align: center;
    width: 100%;
}

.dist-banner-text span {
    font-size: 50px;
    margin: 0 10px;
}

.dist-district-line {
    height: 100px;
    padding-top: 50px;
}

.dist-district-line .title {
    display: inline-block;
    font-size: 16px;
    color: #333;
    margin-right: 1em;
}

.district-select {
    height: 26px;
    min-width: 80px;
    border-radius: 0 !important;
    padding: 0 1em !important;
    text-align: center !important;
    background: #e9edf3 !important;
}

.district-select .text {
    font-size: 14px;
    font-weight: normal;
    line-height: 26px;
}

.district-select .search {
    height: 26px;
    margin-left: 1em;
}

.district-select:hover {
    background: #0091ff !important;
}

.district-select:hover .text {
    color: white;
}

.select2-container--dist-select {
    height: 26px;
    min-width: 80px;
    border-radius: 0;
    text-align: center;
    background: #e9edf3;
    width: auto !important;
}

.select2-container--dist-select:hover {
    background: #0091ff;
    color: white;
}

.select2-container--dist-select .select2-selection__rendered {
    line-height: 26px;
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
}

.select2-container--dist-select .select2-dropdown--below, .select2-container--dist-select .select2-dropdown--above {
    color: #333;
    width: 200px !important;
}

.select2-container--dist-select .select2-results {
    max-height: 20em;
    overflow-y: scroll;
}

.select2-container--dist-select .select2-results__option {
    text-align: left;
}

.select2-container--dist-select .select2-results__option:hover {
    background: #e9edf3;
}

.dist-list-line {
    padding-top: 40px;
    padding-bottom: 70px;
    min-height: 50vh;
}

.dist-list-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 560px;
    height: 120px;
    background: white;
    margin-bottom: 30px;
    margin-right: 70px;
    cursor: pointer;
}

.dist-list-item:nth-child(2n) {
    margin-right: 0;
}

.dist-list-item-inner {
    display: table;
    width: 100%;
    height: 100%;
}

.dist-list-item .dist-logo {
    display: table-cell;
    width: 200px;
    height: 120px;
}

.dist-list-item .dist-info {
    display: table-cell;
    vertical-align: middle;
    border-left: 1px solid #f2f2f2;
    width: 360px;
    padding-left: 2em;
}

.dist-list-item .name {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 0.25em;
    padding-right: 2em;
}

.dist-list-item .name img {
    height: 20px;
    vertical-align: middle;
}

.dist-list-item .address {
    font-size: 14px;
    color: #999;
}

.dist-list-item .phone {
    font-size: 14px;
    color: #999;
}

.dist-list-item .shadow {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(12, 33, 65, 0.3);
    text-align: center;
}

.dist-list-item .shadow button {
    height: 40px;
    width: 100px;
    background: #0091ff;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
}

.dist-list-item .shadow button:hover {
    background: #007eff;
}

.dist-list-item:hover .shadow {
    display: table;
}

.dist-list-item .shadow-inner {
    display: table-cell;
    vertical-align: middle;
}

.no-dist-prompt {
    font-size: 22px;
    color: #c8ccac;
    text-align: center;
}

.shade {
    display:none;
    position:fixed;
    width:100%;
    height:100%;
    background:#000;
    z-index:2;
    top:0;
    left:0;
    opacity:0.7;
}

.success {
    width: 520px;
    text-align: center;
    position:absolute;
    top: 250px;
}

.success img {
    vertical-align: sub;
}