﻿body {
    padding-top: 65px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

.font-style {
    font-family: Arial, 微軟正黑體, Helvetica, sans-serif, 新細明體;
}

.bg-lightgrey {
    background-color: #d9d9d9 !important;
}

.text-note{
    color:#004098;
    font-size:0.8rem;
    margin-bottom:0.25rem;
}

.text-blue {
    color: #004098;
}

.text-required{
    color: red;
    font-weight: bold;
}

label.required:before{
    content:"*";
    color: red;
}

/*Set Breadcrumbs Arrows*/
#crumbs {
   background-color: #edeff0;
   padding: 0.5em 1em;
   margin: 1em auto;
   border-radius: .25em;
}

    #crumbs ul:after {
        clear: both;
        content: "";
        display: table;
    }
    #crumbs ul {
        list-style: none;
        display: inline-table;
        padding: 0;
        margin:0;
    }

        #crumbs ul li {
            display: inline-block;
            /*float:left;*/
        }

        #crumbs ul li:after {
            display: inline-block;
            content: "\00bb";
            margin:0 .3em;
            color: #959fa5;
        }

        #crumbs ul li:last-of-type:after{
            display:none;
        }

            #crumbs ul li a {
                color: #004098;
            }

            #crumbs ul li a.active {
                color: #595959;
            }

@media only screen and (min-width: 768px){
    .dataContent > div.row > div[class^="col-"]:nth-child(odd) {
        text-align: right;
    }

    #crumbs {
        background-color: transparent;
        text-align: center;
        padding: 0;
    }

        #crumbs ul {
            list-style: none;
            display: inline-table;
            padding: 0;
        }

            #crumbs ul li {
                display: inline;
            }
                #crumbs ul li:after {
                    content: "";
                    margin: 0;
                }

                #crumbs ul li a {
                    display: block;
                    float: left;
                    height: 40px;
                    background: #004098;
                    text-align: center;
                    padding: 8px 15px 0 35px;
                    position: relative;
                    margin: 5px 5px 0 0;
                    font-size: 12pt;
                    text-decoration: none;
                    color: #fff;
                    min-width: 100px;
                }

                    #crumbs ul li a.active {
                        background: #bdd7ee;
                        color: #595959;
                    }

                        #crumbs ul li a.active:after {
                            border-left-color: #bdd7ee;
                        }

                    #crumbs ul li a:after {
                        content: "";
                        border-top: 20px solid transparent;
                        border-bottom: 20px solid transparent;
                        border-left: 20px solid #004098;
                        position: absolute;
                        right: -20px;
                        top: 0;
                        z-index: 1;
                    }

                    #crumbs ul li a:before {
                        content: "";
                        border-top: 20px solid transparent;
                        border-bottom: 20px solid transparent;
                        border-left: 20px solid #fff;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }

                #crumbs ul li:first-child a {
                    border-top-left-radius: 5px;
                    border-bottom-left-radius: 5px;
                    padding-left: 25px;
                    min-width:50px!important;
                }

                    #crumbs ul li:first-child a:before {
                        display: none;
                    }

                #crumbs ul li:last-child a {
                    padding-right: 25px;
                    border-top-right-radius: 5px;
                    border-bottom-right-radius: 5px;
                }

                    #crumbs ul li:last-child a:after {
                        display: none;
                    }

                #crumbs ul li a[href]:hover {
                    background: #d1b076;
                }

                    #crumbs ul li a[href]:hover:after {
                        border-left-color: #d1b076;
                    }
}


.bg-lightblue{
    background-color:#a3caef!important;
}

div#personal_nt, div#health_nt {
    max-width: 85%;
    margin: 0 auto;
    padding-left: 2em;
    margin-bottom:2.5rem;
}

div#personal_nt h5, div#health_nt h5{
    margin-left:-2em;
}

div#personal_nt > p, div#health_nt > p {
    text-indent: -2em;
}
    
.info {
    border: 1px solid #808080;
    border-radius: 5px;
}

.infoTitle{
    padding:0.8rem;
    background-color:#4490d1;
    color:#fff;
}

.infoContent{
    padding:.6rem 1rem;
}

#self_check .row > div {
    background: white;
    border: 1px solid grey;
    margin-top: -1px;
    margin-left: -1px;
    padding:5px 7px;
}

#self_check .row > div > .row , #self_check .row > div > .row > div {
    border: 0;
    margin: 0;
    padding: 0;
}

.itemTitle {
    border: 1px solid #cce2ff;
    border-radius: 5px;
    background-color: #0546a5;
    color: #fff;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    padding: 5px 20px;
}

.itemTitle2 {
    border: 1px solid #cce2ff;
    border-radius: 5px;
    background-color: #c95a4d;
    color: #fff;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    padding: 5px 20px;
}

.parentTitle {
    /*border: 1px solid #b8934f;*/
    /*border-radius: 5px;*/
    background-color: #bdd7ee;
    color: #000;
    /*display: inline-block;*/
    width:100%;
    /*min-width: 200px;*/
    text-align: center;
    margin-bottom:12px;
    /*padding: 5px 20px;*/
}

.dataContent {
    background-color: #e0dbcf;
}

#CompetitionsList div.row, #SilblingsList div.row, #CertificatesList div.row {
    border-bottom: 1px solid #bbb;
    padding:10px 15px;
}
    #CompetitionsList div.row:last-child, #SilblingsList div.row:last-child, #CertificatesList div.row:last-child {
        border-bottom: 0!important;
    }

.nobg[readonly] {
    background-color: #fff !important;
}

.nth:nth-of-type(2n){
    background:#eee;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px)!important;
    padding: .275rem .75rem!important;
    border: 1px solid #ced4da!important;
    color: #495057!important;
}

.select2-results__option {
    color: #495057!important;
}





