/*========================================================
                      選單、基本不動的
=========================================================*/




/*========================================================
                         Basic
=========================================================*/
body{
    font-family: "Calibri", "Microsoft JhengHei", "Trebuchet MS", sans-serif;
    font-size: 16px;
    background: #ffffff;
    line-height: 100%;
    color: #3c2f2f;
}
input, button, select, textarea, option {
    font-family: "Calibri", "Microsoft JhengHei", "Trebuchet MS", sans-serif;
    font-size: 16px;
}

a:hover, a:focus {
    text-decoration: none;
}



/*========================================================
                     header
=========================================================*/
.navbar-header {
    background: transparent;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        width: 65%;
    }
}


/*LOGO*/
div.navbar-brand {
    display: none;
}
@media (min-width: 768px) {
    div.navbar-brand {
        display: block;
        height: auto;
        width: 100%;
        padding: 0; margin: 10px 0;
        line-height: normal;
    }
}
@media (max-width: 991px) {
    div.navbar-brand img { width: 100%;}
}


/*手機*/
div.rd-mobilepanel_title {
    left: 60px; top: 2px; right: auto;
    width: 70%;
    line-height: normal;
    padding: 0; margin: 0;
    background: url(../images/logo.png) left no-repeat;
    background-size: contain;
    height: 60px;
}
div.rd-mobilepanel_title img {
    width: 85%;
    display: none;
}
.search-form_toggle {
    right: 10px;
}


.rd-mobilemenu_ul li.active > a {
    background: #70101A;
}
.rd-mobilemenu_ul a {
    font-size: 18px;
    padding: 14px 25px 12px 25px;
    line-height: 130%;
    color: #B42175;
}
.rd-mobilemenu_ul a:hover {
    background: #EB61A9;
    color: #ffffff;
}
.rd-mobilemenu_ul ul a {
    padding: 14px 20px 12px 28px;
    border: none;
    font-size: 18px;
	text-indent: -10px;
}
.rd-mobilemenu_ul ul a:before {
    content: "\f0da";
    font: 400 12px 'FontAwesome';
    padding-right: 5px;
}
.rd-mobilemenu_ul ul ul {
    border-bottom: 1px #dddddd solid;    
}
.rd-mobilemenu_ul ul ul a {
    font-size: 18px;
    padding: 10px 20px 8px 50px;
}
.rd-mobilemenu_ul ul ul a.active {
    background: #f5f5f5;
}
.rd-mobilemenu_ul ul ul a:hover {
    background: #70101A;
}






/*選單*/
header .stuck_container {
    background: #ef2265;
}
.navbar-default {
    background: #ef2265;
    border: none;
    padding: 10px 0;
}

.navbar-default .navbar-nav>li { border-right: 1px #fff solid;}
.navbar-default .navbar-nav>li>a { color: #fff;}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #FFF100;
}

ul.nav li.mob { display: block;}
@media (min-width: 768px) {
    .nav>li>a {
        padding: 0 6.5px;
        font-size: 16px;
    }
    ul.nav li.mob { display: none;}
    .navbar-default .navbar-nav>li.lineNo { background: none; border-right: none;}
    .navbar-nav {
        /*float: left;*/
        margin: 5px auto 3px auto;
    }
}
@media (min-width: 992px) {
    .nav>li>a {
        padding: 0 13.5px;
        font-size: 18.5px;
    }
}
@media (min-width: 1200px) {
    .nav>li>a {
        padding: 0 21px;
        font-size: 20px;
    }
}




/*dropdown-menu*/
.dropdown-menu {
    font-size: 18px;
    top: 160%;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #D01846;
  background-color: #f3f2f2;
}
.dropdown-menu > .active > a,
.dropdown-menu > .sfHover > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .sfHover > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .sfHover > a:focus {
  color: #D01846;
}















/*========================================================
               seMenu      main_title
=========================================================*/
div.main_title {
    background: url("../images/bg_main_title.jpg") top;
    text-align: center;
    height: 140px;
/*    margin-top: -47px;*/
box-shadow: 0px 0px 10px 1px #9E9E9E;
-webkit-box-shadow: 0px 0px 10px 1px #9E9E9E;
-moz-box-shadow: 0px 0px 10px 1px #9E9E9E;
-o-box-shadow: 0px 0px 10px 1px #9E9E9E;
}
div.main_title h3 {
    font-size: 36px;
    font-weight: bold;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    color: #c74242;
    margin: 0; padding: 0;
    display: inline-block;
    vertical-align: middle;    
}
@media (max-width: 767px) {
    div.main_title { margin-top: -3px;}
    div.main_title h3 { letter-spacing: -3px;}
}
div.main_title::before{
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    background: #f00;
}
@media (min-width: 768px) {
    div.main_title { margin-top: 0; height: 185px;}
    div.main_title h3 {
        font-size: 42px;
        margin: 0; padding: 0;
        display: inline-block;
        vertical-align: middle;
        letter-spacing: 5px;
    }
    div.main_title::before{
        content: '';
        width: 0;
        height: 100%;
        display: inline-block;
        position: relative;
        vertical-align: middle;
        background: #f00;
    }
}















/*========================================================
                    breadcrumb
=========================================================*/
.breadcrumb {
    background: none;
    text-align: right;
    margin-top: 20px;
    margin-bottom: 15px;
}

.breadcrumb>.active {
    color: #c74242;
    font-weight: bold;
}










/*========================================================
                      MAIN 內頁
=========================================================*/
div.mainOut {}
div.mainOut .titleBox h1 {
    margin: 0; padding: 13px 20px 10px 20px;
    background: #db5959;
    font-size: 25px;
    font-weight: bold;
    color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
div.mainOut .contBox { margin-top: 10px; line-height: 180%; font-size: 17px; }
@media (min-width: 768px) {
    div.mainOut .contBox { font-size: 18px; }
}


div.mainOut .contBox img {
    display: block;
    max-width: 100%;
    height: auto;
}


div.mainOut .contBox div.ps { font-size: 14px; line-height: 150%;}





/*========================================================
                      footer
=========================================================*/
div.footer_logo {
    margin-top: 38px;
    margin-bottom: 35px;
}
div.footer_logo ul {
    margin: 30px 0 0 0; padding: 0;
    list-style: none;
    text-align: center;
}
div.footer_logo ul li {
    list-style: none;
    color: #DD1029;
    font-size: 17px;
    margin-bottom: 15px;
}
div.footer_logo ul li:last-child { margin-bottom: 0;}
@media (min-width: 768px) {
    div.footer_logo ul li {
        display: inline-block;
        font-size: 18px;
        font-weight: bold;
        padding-right: 20px;
        margin-bottom: 15px;
    }
    div.footer_logo ul li:last-child { padding-right: 0; margin-bottom: 0;}
}


footer {
    background: #ef2265;
    padding: 50px 0 40px 0;
    color: #fff;
    font-size: 17px;
    line-height: 170%;
}

/*========================================================
                      Back-to-top
=========================================================*/
#back-to-top {
    display:none;
    position:fixed;
    bottom:30px;
    right:30px;
    height:40px;
    width:40px;
    cursor:pointer;
    background:#000000;
    line-height:1em;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    background-image:url(../images/triangle.png);
    background-position: 12px 16px;
    background-repeat:no-repeat;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity:0.5;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    z-index: 99999;
}

#back-to-top:hover {

    background-color:#014d67;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity:0.8;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}




















/*========================================================
            discuss 活動專欄 2019/7 NEW
=========================================================*/
div.dis_fiv_list {}
div.dis_fiv_list ul { padding: 0; margin: 0; width: 100%;}
div.dis_fiv_list ul li { list-style: none;}
div.dis_fiv_list ul.td:hover { background: #fff9f0}

div.dis_fiv_list ul.th {
    margin-top: 7px;
    font-weight: bold;
    text-align: center;
    background: #FFECEC;
    color: #db5959;
}
div.dis_fiv_list ul.td {
    background: #FFFFF7;
}


@media (max-width: 767px) {
    div.dis_fiv_list ul { padding: 10px 0;}
    div.dis_fiv_list ul.th { display: none;}
    div.dis_fiv_list ul.td {
        border-top: 1px solid #FFD2D2;
        border-left: 1px solid #FFD2D2;
        border-right: 1px solid #FFD2D2;
        padding: 8px 5px;
    }
    div.dis_fiv_list ul.td:last-child {
        border-bottom: 1px solid #FFD2D2;
    }
}

@media (min-width: 768px) {
    div.dis_fiv_list ul {
        display: flex;
    }
    div.dis_fiv_list ul li{
        padding: 10px 5px;
        font-size: 15px;
        line-height: 150%;
    }
    div.dis_fiv_list ul li:nth-child(1) { width: 8%; text-align: center;}
    div.dis_fiv_list ul li:nth-child(2) { width: 52%;}
    div.dis_fiv_list ul li:nth-child(3) { width: 20%; text-align: center;}
    div.dis_fiv_list ul li:nth-child(4) { width: 10%; text-align: center;}
    div.dis_fiv_list ul li:nth-child(5) { width: 20%; text-align: center;}
    div.dis_fiv_list ul li span { display: none;}


    div.dis_fiv_list ul.th li:first-child {
        border-left: 1px solid #FFD2D2;
    }
    div.dis_fiv_list ul.th li {
        border-right: 1px solid #FFD2D2;
        border-top: 1px solid #FFD2D2;
    }
    div.dis_fiv_list ul.td li:first-child {
        border-left: 1px solid #FFD2D2;
    }
    div.dis_fiv_list ul.td li {
        border-right: 1px solid #FFD2D2;
        border-top: 1px solid #FFD2D2;
    }
    div.dis_fiv_list ul.td:last-child {
        border-bottom: 1px solid #FFD2D2;
    }
}
@media (min-width: 992px) {
    div.dis_fiv_list ul li{
        font-size: 18px;
        line-height: 180%;
    }
    div.dis_fiv_list ul li:nth-child(1) { width: 7%;}
    div.dis_fiv_list ul li:nth-child(2) { width: 45%;}
    div.dis_fiv_list ul li:nth-child(3) { width: 19%;}
    div.dis_fiv_list ul li:nth-child(4) { width: 10%;}
    div.dis_fiv_list ul li:nth-child(5) { width: 19%;}

    div.dis_fiv_list ul.td li:nth-child(3) {font-size: 15px;}
    div.dis_fiv_list ul.td li:nth-child(4) {font-size: 15px;}
    div.dis_fiv_list ul.td li:nth-child(5) {font-size: 15px;}
}


.discuss { padding: 55px;}












/*========================================================
                health 內膜異位手冊
=========================================================*/
div.mags .cont {
    padding-top: 15px;
    line-height: 190%;
}

div.mags .cont div.list ol { padding: 0; margin: 0 0 0 18px;}
div.mags .cont div.list li {
    background: url(../images/icon_mag_dot.png) left bottom repeat-x;
    clear: both;
}
div.mags .cont div.list span {
    padding-right: 5px;
    background: #F5F5F5;
}
div.mags .cont div.list div.name {
    color: #535353; float: right;
    padding-left: 5px;
    background: #F5F5F5;
}









/*========================================================
           news_paper 異位新知 異位可以不開刀
=========================================================*/
div.mnewsList ul.list {
	background: #FE549C;
/*	background: rgba(80,190,180,1);*/
	color: #fff;
	font-weight: bold;
	margin-bottom: 5px;
}
div.mnewsList ul.list li { padding: 8px;}


div.mnewsList a {
    font-size: 20px;
    display: block;
    position: relative;
}
div.mnewsList a:hover { background: #CEE8F2;}
div.mnewsList a::before {
    content: "\f101";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #20386F;
    font-size: 23px;
    text-align: center;
    position: absolute;
    top: 13px;
    right: 20px;
    transition: all 0.3s ease 0s;
}
div.mnewsList a:hover::before {
    content: "\f100";
}

div.mnewsList ul.list_td {
	border-bottom: 1px #bbb solid;
	margin-bottom: 5px;
    overflow: auto;
}
div.mnewsList ul.list_td li { padding: 8px;}
div.mnewsList ul.list_td:hover { background: #E8E8E8;}


@media (max-width: 991px) {
	div.mnewsList ul.list { display: none;}
	div.mnewsList ul.list_td { padding: 10px 0;}
	div.mnewsList ul.list_td li { padding: 0;}
	div.mnewsList ul.list_td li span i { width: 25px; text-align: center;}
}
@media (min-width: 992px) {
	div.mnewsList ul.list li { float: left;}
	div.mnewsList ul.list_td li { float: left;}
	div.mnewsList ul.list_td li:nth-child(1) { text-align: center;}
	div.mnewsList ul.list_td li:nth-child(2) { padding-right: 60px;}
	div.mnewsList ul.list_td li span { display: none;}
}



div.mnewsInfo span.Nkind {
    font-size: 0.8em;
    font-weight: 300;
    background: #fd6921;
}

div.mnewsInfo img {
    max-width: 100%;
    height: auto;
}

div.mnewsInfo div.ps { font-size: 14px; line-height: 150%; text-align: right;}