@charset "UTF-8";


#cpa-lang-switcher {
  text-align: right;
}

@media (max-width: 767px) {
  #cpa-lang-switcher {
    text-align: center;
	padding: 5px;
  }
}

.top_bar_left.language-switcher {
  text-align: right;
}

#cpa-lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  color: black;
  box-shadow: none;
  padding: 1px 20px;
  /*padding-top: 8px;*/
/*  padding-bottom: 8px;
 	min-width:90px; */
}

#cpa-lang-switcher button:focus {
    outline: none;
}
#cpa-lang-switcher button:hover {
    color:#0095eb;
}
 

.row-menus {
  position: relative;
  z-index: 130;
}

#side-main {
  width: 100%;
  /*max-width: 260px;*/
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  top: 0;
  right: -100%;
  box-sizing: border-box;
  z-index: 1020;
  transition: right 0.4s ease-in-out;
}

#side-main.active {
  right: 0;
}

#side-main #menus li a {
  color: #0066CC;

  font-size: 16px;
}

#side-main .side-main-header {
  padding: 10px 15px;
  background-color: #f08714;
}

#side-main .side-main-header .icon-menu-fine {
  color: white;
  border-width: 0;
  text-shadow: none;
}

#side-main .side-main-header .icon-cancel-fine {
  color: white;
  border-width: 0;
  text-shadow: none;
  float: right;
}

#side-main {
  background: white;
}

#menus {
  list-style: none;
  padding-left: 0;
  width: 100%;
  margin: 0;
  padding: 0 15px;
  box-sizing: border-box;
  z-index: 1020;
}

#menus ul {
  list-style: none;
  margin: 0 0 0 12px;
}

#menus li {
  margin: 0;
}

#menus a {
  font-size: 12px;
  font-weight: normal;
  color: white;
  line-height: 18px;
	padding:15px 10px;
  display: block;
}

#menus a:hover {
  color: white;
  opacity: 1;
	text-decoration:none; /*2001xx added*/
}

#mobile-menu-btn {
  display: none;
}

@media (max-width: 1024px) {
  #mobile-menu-btn {
	right: -20px; /* 	 2001xx added  */
    top: -3px; /* 	 2001xx added  */
    display: inline-block;
    position: absolute;
    width: 34px;
    height: 34px;
    font-size: 22px;
    text-align: center;
	z-index:5;
  }

  #menus li a.has-submenu .icon {
    font-family: "mfn-icons";
    position: absolute;
    right: 12px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  #mobile-menu-btn {
	  display:none;
  }
}

@media (max-width: 767px) {
  #mobile-menu-btn {
    right: 0;
  }
}


/** 電腦版選單 */

@media (min-width: 1025px) {
  ul#menus {
    max-width: 1220px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    width: 100%;
    background: black;
    z-index: 1020;
	  border-radius: 5px 5px 0 0;/* 2001xx added  */
  }

  ul#menus::after {
    content: "";
    display: block;
    clear: both;
  }

  ul#menus ul {
    width: auto;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    position: absolute;
    display: none;
    background-color: #ee9515;
  }

  ul#menus ul li {
    width: 100%;
    border-bottom: 1px solid #f4bf2b;
  }

  ul#menus ul a {
    padding: 4px 8px;
    white-space: nowrap;
  }

  ul#menus ul a:hover {
    background-color: #F8831A;
  }

  ul#menus li {
    position: relative;
  }

  ul#menus li:hover > ul {
    display: block;
  }

  ul#menus a {
    font-weight: bold;
  }

  ul#menus .icon {
    display: none;
  }

  ul#menus > li {
    float: left;
    border-radius: 8px 8px 0 0;
    flex: 1 1 auto;
    margin: 0 5px;
    text-align: center;
  }

  ul#menus > li > ul {
    top: 100%;
    left: 0;
    z-index: 10;
  }

  ul#menus > li > ul > li {
    text-align: left;
  }

  ul#menus > li > ul > li ul {
    top: 0;
/*     left: calc(100% - 120px); */
	  left:100%;
    z-index: 20;
  }

  ul#menus > li.current_page_item {
    background: red;
  }

  ul#menus > li:hover {
    background-color: red;
  }
}

body.page .the_content_wrapper {
  width: 70%;
  float: left;
}

body.page .sidebar-widget{
  width: calc(30% - 25px);
  float: right;
  list-style: none;
}


@media (max-width: 767px) {
  body.page .the_content_wrapper {
    width: 100%;
    float: unset;
  }

  .the_content_wrapper {
    width: 100%;
    float: unset;
  }
  
  body.page .sidebar-widget{
    width: 100%;
    float: unset;
    margin-top: 0 !important;
  }
}

/* 2001xx added */

#Top_bar .column {
    margin: 0;
    width: 100%;
}


/* body.page .the_content_wrapper {
    max-width: 94%;
    margin: 0 3%;
}
 */

.titles h2 {
    margin-top: 28px;
	letter-spacing: -.2px;
    line-height: 1.2em;
	padding-left: 30px;
	margin: 28px 0 14px 0;
	width:66%;
}

body.page .the_content_wrapper {
    width: 66%;
/* 	padding-left: 30px; */
}


/* .the_content_wrapper p {
    max-width: 760px;
}
 */

/* body.home .the_content_wrapper p {
    max-width: 1160px;
} */

.cpa-sidebar-page .box .body .right a{
	/*margin:10px 0 5px 0!important; */
	color:#333;
}

#menu-footer-menu a {
    color: #222!important;
	border:none;
}

#cpa-lang-switcher {
    text-align: right;
    top: 0px;
    position: relative;
}

#cpa-lang-switcher button:hover:after {
	display:none;
}

/* #cpa-lang-switcher button:last-of-type {
	padding: 5px 0 5px 20px;
} */

.sidebar-widget.widget_text .cpa-sidebar-page .box .header {
    font-size: 1.4rem;
	letter-spacing: -.2px;
    line-height: 1;	
}
.the_content_wrapper h1,.the_content_wrapper h2,.the_content_wrapper h3,.the_content_wrapper h4,.the_content_wrapper h5{
	padding: 0 0 0 30px;
}

	.the_content_wrapper p{
		max-width:calc(100% - 60px);
		padding: 0 0 0 30px;
	}
@media (max-width:1024px){
body.page .sidebar-widget{
    width: calc(32% - 25px);
	right: 20px;
}

	 .sidebar-widget.widget_text .cpa-sidebar-page .box .header{
		line-height:1.5rem;
	}
}
@media (max-width:1024px){
	.top_bar_left.clearfix.language-switcher{
		margin-top: 0;
	}
	.titles h2{
		padding: 0 40px;
	}
	.the_content_wrapper h1,.the_content_wrapper h2,.the_content_wrapper h3,.the_content_wrapper h4,.the_content_wrapper h5{
	padding-left:20px;
	padding-right:20px;
}
	.the_content_wrapper p{
		padding-left:20px;
		padding-right:20px;
	}
	#side-main #menus li:last-of-type {
    margin-bottom: 40px;
}
	#cpa-lang-switcher button{
		/*top: 8px;*/
		/*font-size: 15px;*/
		margin: 10px 2px!important;
}
}
@media (max-width:767px){
	
    #cpa-lang-switcher button {
    top: 7px;
	font-size: 14px;
    padding: 1px 20px;
}
	#cpa-lang-switcher button:last-of-type {
	padding-right: 15px;
}
	.the_content_wrapper h1,.the_content_wrapper h2,.the_content_wrapper h3,.the_content_wrapper h4,.the_content_wrapper h5{
	padding: 0;
}
	.the_content_wrapper p{
		padding:0;
		max-width:100%;
	}
	.titles h2{
		width:100%;
	}
	
}
@media (max-width:576px){
	.titles h2{
		padding: 0px;
		width:100%;
	}
}

.section_wrapper p a {
    word-break: break-all;
}

.cpa-sidebar-page .box .body .left{
	width:18%;
}
.cpa-sidebar-page .box .body .right{
	width:82%;
}

