.bootstrap-tagsinput{
    width: 100% !important;
}

#avatar {
    background-size:cover !important;
}

.top-link-dropdown:hover>.nav-head-color-dropdown{
    color: black !important;
    background-color: white !important;
    border-color: white !important;
}

.top-link-dropdown>.dropdown-toggle:active{
    pointer-events: none;
}

.nav-head-color-dropdown{
    color: white;
    font-weight: bold;
}

.nav-head-color-dropdown.active{
    background: #E6E6F2 !important;
    border-color: #E6E6F2 !important;
    color: black !important;
}

.top-link-dropdown:hover>.dropdown-menu{
    display: block;
}

.tick-color {
    height: 18px;
    width: 30px;
}

.class_outer {
    display: block;
    border-radius: 40px;
    width:80px;
    height:80px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.class_cover {
    width: 100%;
    height: 15px;
    line-height: normal;
    text-align: center;
    background-color: rgba(0, 0, 0, .50);
    color: #FFFFFF;
    font-size: 11px;
    position: absolute;
    left: 0;
    bottom: 0;
    cursor: pointer;
}

/*card body大小*/
@media (min-width: 576px) {
    .main-card {
        width: 428px;
    }

    .main-card-pc {
        margin-left: 3rem;
        margin-right: 3rem;
    }
}
@media (max-width: 576px) {
    .main-card {
        width: 100%;
    }
}

/*標題列縮排*/
@media (min-width: 482px) {
    .menu-text {
        display: inline;
    }
    .nav-link{
        padding: 0.5rem 0.2rem !important;
    }
}

@media (max-width: 482px) {
    .menu-text {
        display: none;
    }

    .nav-head-color.active > .menu-text {
        display: inline;
    }

    .nav-link{
        padding: 0.5rem 1rem !important;
    }

    .nav-link.active{
        padding: 0.5rem 0.2rem !important;
    }
}

.main-card, .main-card-pc{
    border: 2px solid #CF2030 !important;
}

.card-header-color, .footer-color{
    background: #CF2030 !important;
    color: white;
}

.login-box, .card {
    border-radius: 10px;
}

.login-box, .card-header {
    padding-bottom: 0.15rem;
}

.login-page, .register-page, .background-color {
    background: #E6E6F2;
}

.login-input{
    background: #eeeeee;
}

.login-input-text, .register-input-text {
    position: absolute;
    right: 20px;
    top: 10px;
}

.lock-input-text{
    position: absolute;
    right: 20px;
    top: 7px;
}

.btn-login, .btn-update-member ,.btn-upgrade{
    background: #CF2030;
    font-size: 1.2rem;
    color: #FFF;
    width: 80%;
    font-weight: bold;
    border-radius: 30px;
    border-width: medium;
    border-color: #CF2030;
}

.btn-login:hover, .btn-update-member:hover, .btn-upgrade:hover, .btn-year-type:hover, .btn-year-type.active ,.btn-full-width:hover {
    background: white;
    color: #CF2030;
    border-width: medium;
    border-color: #CF2030;
}
.btn-customer-add:hover, .btn-analyze-edit:hover{
	background: black;
	 color: #CF2030;
    border-width: medium;
    border-color: #030001;
}

.btn-customer-add, .btn-analyze-edit, .btn-year-type, .btn-full-width{
    background: #CF2030;
    /*background: radial-gradient(circle farthest-corner at left, #FF7575, #FF5151);*/
    color: white;
    font-weight: bold;
    border-radius: 30px;
    border-width: medium;
    border-color: #CF2030;
}

.btn-full-width{
    background: #CF2030;
    font-size: 1.2rem;
    color: #FFF;
    width: 90%;
    font-weight: bold;
    border-radius: 30px;
    border-width: medium;
    border-color: #CF2030;
}

.btn-update{
   
    border-color: white;
    color: black;
}

.bg-color{
    background: #CF2030 !important;
}
.nav-link {
  padding-left: 2rem; /* 加大左邊內距 */
  padding-right: 1rem; /* 右邊維持 */
}
.nav-head-color{
    color: white;
    font-weight: bold;
}

.nav-head-color:hover {
    color: black;
    background: #E6E6F2;
    border-color: #E6E6F2;
}

.nav-head-color.active {
    background: #E6E6F2 !important;
    border-color: #E6E6F2 !important;
    color: black !important;
}

.hope-text {
    font-size: 1rem;
    margin: 2px;
}

.card-header-tabs-position{
    margin-bottom: -0.2rem;
}

.tab-header{
    font-weight: bold;
    color: white;
}

.tab-header:hover{
    color: black;
    background-color: white;
}

html, body{
    height: 100%;
}

.content-body-head {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding-bottom: 170px;
    box-sizing: border-box;
}

.content-body {
    padding-top: 58px;
    position: relative;
    width: 100%;
    min-height: 100%;
    padding-bottom: 170px;
    box-sizing: border-box;
}

footer{
    width: 100%;
    height: 112px;
    position: absolute;
    bottom: 0;
    background: #CF2030;
}

#message {
    display: none;
    background: #f1f1f1;
    color: #000;
    position: relative;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#message p {
    padding: 2px 35px;
    font-size: 18px;
}

.valid {
    color: green;
}

.valid:before {
    position: relative;
    left: -35px;
    content: "\2713";
}

.invalid {
    color: red;
}

.invalid:before {
    position: relative;
    left: -35px;
    content: "\2715";
}

.confirm-valid {
    color: green;
}

.confirm-valid:before {
    position: relative;
    content: "\2713";
}

.confirm-invalid {
    color: red;
}

.confirm-invalid:before {
    position: relative;
    content: "\2715";
}

/* tagsinput for input group */

.bootstrap-tagsinput {
    flex: 1 1 auto;
    width: 1% !important;
}
