﻿:root {
    --form-control-height: 40px;
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 16px;
}

body {
    background: url('/images/login/title.png') no-repeat;
    background-position: top 40px left 80px;
}

.h-100 {
    height: 100%;
}

.login-form {
    background: url('/images/login/login-bc.png') no-repeat;
    background-position: bottom 0 right 0;
    background-size: cover;
    padding: 4.5rem;
    color: #fff;
    height: 100%;
}

.carousel {
    margin-top: 100px !important;
    height: 80%;
}

    .carousel .carousel-inner {
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }

    .carousel .carousel-indicators {
        bottom: 0 !important;
    }

    .carousel .carousel-inner .item {
        height: 100%;
    }

.carousel-indicators li {
    background: #DDDDDD;
    width: 15px;
    height: 15px;
    margin: 0 auto;
}

    .carousel-indicators li.active {
        background: #0052D9;
        width: 30px;
        height: 15px;
        border-radius: 25px;
    }

    .carousel-indicators li:hover {
        border: 1px solid #0052D9 !important;
    }

.carousel-caption {
    display: none;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    max-height: 100% !important;
    max-width: auto;
    margin: 0 auto;
}

.copy {
    font-size:10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* 使用transform来实现水平居中 */
}

.login-form form {
    margin: 0 auto;
}

    .login-form form .form-group {
        margin-bottom: 30px !important;
    }


        .login-form form .form-group .form-control {
            height: var(--form-control-height);
            font-size: 16px;
        }

.login-form .title {
    font-size: 48px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 60px;
}

    .login-form .title .version {
        font-size: 16px;
        opacity: 0.5;
    }

    .login-form .title .description {
        font-size:18px;
        font-weight:normal;
        margin-top:10px;
    }

.form-group label {
    font-size: 16px;
}

    .form-group label span {
        font-size: 12px;
        opacity: 0.5;
        padding: 0 6px;
    }

.form-group .btn {
    border-radius: 25px;
}

.service {
    display: flex;
    flex-direction: row-reverse;
}

    .service > a {
        flex: 0 0 auto;
        margin: 8px 0;
    }

        .service > a:not(:first-child)::after {
            content: '|';
            opacity: 0.5;
            margin: 0 5px;
        }

    .service a, .service a:active {
        color: #fff;
    }

.remember {
    display: flex;
    align-items: center;
    font-size: 14px !important;
}

    .remember input[type=checkbox] {
        width: 16px;
        height: 16px;
        margin: 0 5px 0 0 !important;
    }

.form-control {
    border-radius: 15px;
}

.input-group-addon:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.valid-code .input-group-addon {
    border: 0;
    box-sizing: border-box;
    padding: 0 !important;
    overflow: hidden;
    background-color: #0093FF;
}
/*覆盖select2样式*/
.select2-container {
    font-family: Arial !important;
    border-radius: 15px;
}

    .select2-container--default .select2-selection--single, .select2-container .select2-selection--single {
        height: var(--form-control-height) !important;
        border-radius: 15px !important;
    }

.select2-selection__arrow {
    right: 10px !important;
}

.select2-container--open .select2-selection--single {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--open .select2-dropdown--below {
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 34px !important;
    border-radius: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: var(--form-control-height) !important;
    border-radius: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: var(--form-control-height) !important;
    border-radius: 15px;
}

.select2-results__option > div {
    font-weight: 600;
}

.select2-container--default .select2-results__option--highlighted > div > span {
    color: white;
}

.select2-results__option > div > span {
    font-weight: normal;
    color: #888;
    display: block;
}

.select2-container--open {
    z-index: 9999;
}

@media(max-height:900px) {
    :root {
        --form-control-height: 36px;
    }

    .login-form form .form-group {
        margin-bottom: 16px !important;
    }

    .login-form .title {
        font-size: 38px;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 32px;
    }

        .login-form .title .version {
            display: none;
        }

    .btn-group-lg > .btn, .btn-lg {
        padding: 5px 8px !important;
    }
}

@media(max-height:650px) {
    :root {
        --form-control-height: 32px;
    }

    .login-form form .form-group {
        margin-bottom: 12px !important;
    }
    .login-form .title {
        font-size: 36px;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 30px;
    }

        .login-form .title .version {
            display:none;
        }
    .btn-group-lg > .btn, .btn-lg{
        padding:5px 8px!important;
    }
}