/*

Theme Name:Capital

Author:Zou

Version:1.0

*/

li.menu-item-has-children {

    position: relative;

}

.tab-item li {

    float: none !important;

}

#mNav li.current-menu-item {

    background: rgb(198, 161, 21);

}

#qtranslate-chooser li {

    float: left;

    width: 24px;

    height: 24px;

    margin-top: 3px;

    border-radius: 50%;

    border: 1px solid #fbfafa;

    margin-left: 15px;

    text-align: center;

}

#qtranslate-chooser li:nth-of-type(1) {

    margin-left: 0;

}

#qtranslate-chooser span {

    color: #ffffff;

    font-size: 12px;

    background: transparent;

}

.header .title .line {

    width: 6%;

    height: 4px;

    margin-bottom: 1.5%;

    background: #ffffff;

}

.header .title {

    position: absolute;

    bottom: 16%;

    width: 100%;

    color: #ffffff;

}

.sub-menu {

    display: none;

}



/*------------------

    分页部分的CSS

    ------------------*/

.fenye {

    _background: #F9F9F9;

    padding: 2px 5px;

    margin: 20px 4px;

    _border: solid 1px #ccc;

    _text-align: center;

    text-align: center;

}



.fenye a {

    background-color: #dbdbe1;

    text-decoration: none;

    color: #2f3032;

    line-height: 1em;

    padding: 12px 16px;

    display: inline-block;

    text-align: center;

    margin-right: 16px;

    margin-bottom: 10px;

}





.fenye a.current {

    background: #c6a115;

    color: #fff;

}



.fenye a:hover {

    background: #c6a115;

    color: #fff;

}



/*-- footer --*/

.footer {

    width: 100%;

    height: 64px;

    background: #E6E9ED;

    border-top: 1px solid #e2e2e3;

}





/*-- post --*/

.post {

    background: none;

}



.post .entry-cnt {

    height: auto;

    line-height: 2;

    font-size: 14px;

    border-top-width: 1px;

    border-top-style: dotted;

    border-top-color: #eee;

    padding: 15px 0 0;

}



.post .entry-cnt p {

    line-height: 2;

    font-size: 14px;

}



.related {

    padding: 10px 5px 10px 5px;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    margin: 20px auto 10px auto;

}



.r-left {

    float: left;

}



.r-right {

    float: right;

}



/*-- discuss --*/

.discuss {

    padding: 25px;

}



/*最新資訊Tags*/

.current-cat {

    background-color: rgb(198, 161, 21) !important;

}



/*Footer*/

.bfooter {

    margin-bottom: -6.5%;

}

.bfooter .map {

    padding-bottom: 0 !important;

}

/*彈窗*/
.modal-content img {
    max-width: 100%;
    height: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    z-index: 9999999;
}

.pop-bg {
    position: fixed;
    z-index: 998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
}

.modal-dialog {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%) !important;
    top: 50%;
    left: 50%;
    margin: 0 !important;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);

}

.modal-header {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.btn.cancel {
    background: #4e91c6;
    display: inline-block;
    padding: 3px 30px;
    font-size: 16px;
    color: #fff;
    border-radius: 50px;
    margin-right: 10px;
    padding: 8px 40px !important;
    transition: all ease .3s
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.fade.in {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

#alert_all {
    overflow-y: scroll;
}

@media (max-width: 630px) {

    .fenye a {
        padding: 8px 10px;
        font-size: 12px;
        margin-right: 8px;
    }

    .modal-dialog {
        max-width: 95%;
    }
}
.broken_link, a.broken_link{text-decoration: unset !important;}