@media print {
  @page {
    size: auto;
    margin: 0mm;
  }

  #personalWrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    border-bottom: 1000px solid #ddd;
  }

  #personalWrapper {
    -webkit-print-color-adjust: exact !important;
    width: 80vw !important;
    height: 80vh !important;
    background-color: #ddd !important;
  }

  #personalWrapper .col-xs-12.col-sm-6 {
    width: 50% !important;
  }

  #searchBar {
    display: none;
  }

  a[href]:after {
    content: none;
  }

  #voteAreasTbody a img {
    width: 10%;
  }

  #presidentWrap .col-xs-12.col-sm-6 {
    width: 50% !important;
  }

  .col-xs-12.col-sm-4.candidateDetailBox {
    width: 33% !important;
  }

  #youtube_videos .youtube {
    width: 310px !important;
  }
}

#gs_tti50 input {
  background: none !important;
  text-indent: 0px !important;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
input,
select,
option {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  text-decoration: none;
  outline: 0px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: 微軟正黑體, "Microsoft JhengHei", Helvetica, Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

svg:not(:root) {
  overflow: visible !important;
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 3px grey;
  box-shadow: inset 0 0 3px grey;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

/* vote-search---start */

#main-searchbar-box {
  padding: 20px;
  background-color: #f9f9f9;
  display: none;
}

#mainSearchBoxColl {
  max-height: 1000px;
  overflow: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#whereCanIviteBox,
#comSearchBox {
  width: 100%;
  margin-left: 3px;
  padding: 0px 20px;
  background-color: #fff;
  font-size: 15px;
  opacity: 1;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#whereCanIviteBox {
  border-radius: 5px 10px 0px 0px;
}

#comSearchBox {
  margin-top: 2px;
}

#whereCanIviteBox .input-title,
#comSearchBox .input-title {
  display: inline-block;
  padding: 6px 10px 6px 20px;
  border-radius: 5px;
  margin-right: 10px;
  font-size: 18px;
}

#whereCanIviteBox img,
#comSearchBox img {
  display: inline-block;
  width: 16px;
  margin: -4px 5px 0px 0px;
}

#whereCanIviteBox .input-title a,
#comSearchBox .input-title a {
  text-align: center;
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: #e55933;
  border-radius: 50%;
  text-decoration: none;
  margin: 0px 10px;
  color: #fef7ed;
}

#whereCanIviteBox .input-title img,
#comSearchBox .input-title img {
  margin-right: 10px;
}

#comSearchBox .letterSpaceCom {
  letter-spacing: 11px;
  margin-right: -4px;
}

#whereCanIviteBox select,
#comSearchBox select,
#proofreaderKeyword {
  background-color: #f9f9f9;
  padding: 6px 10px;
  margin: 10px 10px 0px 0px;
  border-radius: 5px;
  cursor: pointer;
}

.input-group button {
  margin: 20px auto 20px 20px;
  border-radius: 5px;
  padding: 3px 12px;
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--primary);
  font-size: 15px;
  border: 3px solid var(--primary);
  font-weight: 900;
  outline: none;
}

.search-display-btn {
  width: 1100px;
  background-color: #e55933;
  color: #333;
  display: block;
  text-align: center;
  cursor: pointer;
  padding: 10px 0px;
  border-radius: 0px 0px 5px 5px;
  margin: 2px 0px 0px 3px;
  font-size: 16px;
}

.containerWidth {
  width: 1103px;
  margin: auto;
}

.arrow-bottom {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  display: inline-block;
}

#proofreaderKeyword {
  width: 185px;
}

/* vote-search---end */

/*navgation---start*/
ol,
ul {
  margin-bottom: 0px;
}
#top-nav {
  display: inline-block;
  width: 100%;
  box-shadow: 0 0 8px #00000036;
  padding-top: 10px;
}

#top-nav ul {
  display: inline-block;
  padding: 0px 0px 12px 0px;
  display: flex;
  flex-flow: row-reverse;
}

#top-nav ul li {
  display: inline-block;
  margin: 0px 4px;
  padding-left: 8px;
  border-left: 1px dotted #aaa;
  color: #70281a;
}

#top-nav ul li:hover {
  color: var(--primary);
}

.main-logoTop {
  display: inline-block;
  /* flex-grow: 2; */
}

.main-logoTop img {
  object-fit: cover;
  width: 100%;
  max-height: 80px;
}

#top-nav .container {
  display: flex;
  padding-right: 0px;
  padding-left: 0px;
}

#searchBar {
  float: right;
  flex-grow: 1;
  margin: 30px 20px 15px 35px;
}

#searchBar form {
  display: inline-block;
}

#searchBar input {
  border: 1px solid #f9f9f9;
  border-radius: 5px;
  padding: 3px 5px;
  margin-left: 5px;
}

#___gcse_0 {
  width: 300px;
  float: right;
  margin: -22px 0px;
}

.cse .gsc-search-button-v2,
.gsc-search-button-v2 {
  padding: 9px 15px !important;
  border: 1px solid #666666;
  border-color: #e55933 !important;
  background-color: #e55933 !important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e55933),
    to(#e55933)
  ) !important;
  background-image: linear-gradient(top, #e55933, #e55933) !important;
}

header {
  background-image: linear-gradient(37.6deg, #e55933 0%, #e55933 90%);
}

header a {
  color: #fff;
}

/*navgation---end*/

/*header-menu---satrt*/
.hamberger {
  display: none;
}

.main-logo {
  display: none;
  width: 300px;
  margin: 10px auto 0px;
}

.main-logo img {
  width: 100%;
}

.main-menu-wrap,
.main-menu-wrap a {
  font-size: 15px;
}

.main-menu-wrap {
  text-align: center;
  font-weight: 700;
  min-height: 50px;
}

.navbar-nav {
  float: none;
}

.navbar-nav > li {
  float: none;
  display: inline-block;
}

#menuUl li:hover ul {
  display: block;
}

.seconedUl li:hover ul {
  display: block !important;
}

.dropdown-menu > li > a {
  color: #337ab7;
  padding: 6px 20px;
}

.dropdown-menu > li > a:hover {
  color: #337ab7;
}

.dropdown-menu .dropdown-menu {
  left: 60%;
  display: none !important;
}

.dropdown-menu .dropdown-menu > li {
  color: #ff0 !important;
  display: block !important;
}

.thirdUl {
  top: 30px;
}

/*header-menu---end*/
/* banner */
.banner-area {
  width: 100%;
  height: 100px;
  background-color: #f9f9f9;
}
.banner {
  /* background: url(../img/banner_1.png) no-repeat center center; */
  background-size: contain;
  height: 100%;
}

#bannerImage {
  object-fit: cover;
  width: 100%;
  max-height: 110px;
}

/*link-slider---start*/
#sliderFooter {
  position: relative;
  margin: 0px auto;
  width: 1040px;
  height: 160px;
}

#sliderFooter button {
  outline: none;
}

.slider-container {
  width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

#sliderFooter .thumb {
  display: block;
  width: 160px;
  margin-top: 50px;
  padding: 5px;
  float: left;
}

#sliderFooter .thumb img {
  width: 100%;
  height: 50px;
}

#sliderFooter .thumb i {
  display: block;
  width: 150px;
  float: left;
  -webkit-box-shadow: inset 0 0 1px #000;
  box-shadow: inset 0 0 1px #000;
  padding: 2px 5px;
}

.btnPrev,
.btnNext {
  min-width: 40px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border: 0;
  border-radius: 50%;
  color: #fff;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -20px;
  display: none;
}

.btnPrev {
  left: 0;
}

.btnNext {
  right: 0;
}

/*link-slider---end*/

/*back to top---start*/
.backtotop {
  cursor: pointer;
  position: fixed;
  bottom: 50px;
  right: 20px;
  background-color: #aaa;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  line-height: 40px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  z-index: -1;
  opacity: 0;
  -webkit-transition: 1s;
  transition: 1s;
}

/*back to top---end*/

/*footer---start*/
footer {
  background-color: #e55933;
  color: #fff;
  text-align: center;
  padding: 30px;
  font-weight: 700;
}

.policy-box ul a {
  list-style: none;
  padding: 0px 13px;
  display: inline-block;
  color: #fff;
  border-right: 1px solid #fff;
  cursor: pointer;
  text-decoration: none;
}

.policy-box ul a:hover {
  color: #aaa;
}

.policy-box ul a:last-child {
  border-right: none;
}

.jump {
  display: none;
}

/*footer---end*/

/*pop alert*/
#bgShowAlert {
  -webkit-box-shadow: 0px 0px 15px #444;
  box-shadow: 0px 0px 15px #444;
  font-size: 30px;
  text-align: center;
  width: 350px;
  height: 200px;
  background-color: #fff;
  border-radius: 5px;
  position: fixed;
  z-index: -10;
  opacity: 0;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#bgShowAlert p {
  margin: 50px 0px 10px;
}

.clearfix {
  display: block;
  clear: both;
}

@media screen and (min-width: 1125px) and (max-width: 1224px) {
  .containerWidth,
  .search-display-btn {
    width: 100%;
  }

  #whereCanIviteBox,
  #comSearchBox {
    margin-left: 0px;
  }

  .search-display-btn {
    margin: 2px 0px 0px 0px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1124px) {
  /*search bar*/
  #whereCanIviteBox,
  #comSearchBox {
    font-size: 14px;
    padding: 10px 10px 10px;
  }

  #whereCanIviteBox .input-title,
  #comSearchBox .input-title {
    padding: 5px 10px;
  }

  .containerWidth {
    width: 100%;
  }

  .search-display-btn {
    width: 100%;
    padding: 5px 0px;
    font-size: 14px;
    margin: 2px 0px 0px 1px;
  }

  #whereCanIviteBox select,
  #comSearchBox select,
  #proofreaderKeyword {
    padding: 5px;
    margin: 10px 5px 0px 0px;
    border-radius: 5px;
    cursor: pointer;
  }

  #proofreaderKeyword {
    width: 155px;
  }

  .input-group button {
    margin: 10px 0px 10px 10px;
    padding: 3px 8px;
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  #searchBar form {
    display: block;
    text-align: right;
  }

  #sliderFooter {
    width: 860px;
  }

  .slider-container {
    width: 700px;
  }

  #___gcse_0 {
    width: 200px;
  }
}

@media screen and (min-width: 650px) and (max-width: 992px) {
  .cse .gsc-control-cse,
  .gsc-control-cse {
    background-color: #f9f9f9 !important;
    border: 1px solid #f9f9f9 !important;
  }

  #___gcse_0 {
    width: 100%;
    margin: 0px;
  }

  .jump2 {
    display: block;
  }

  #searchBar form {
    display: inline-block;
    text-align: right;
  }

  #sliderFooter {
    width: 82%;
  }

  .slider-container {
    width: 90%;
  }
}

@media screen and (max-width: 650px) {
  .cse .gsc-control-cse,
  .gsc-control-cse {
    background-color: #f9f9f9 !important;
    border: 1px solid #f9f9f9 !important;
  }

  #___gcse_0 {
    width: 100%;
    margin: 0px;
  }

  .jump1,
  .jump2,
  .jump3,
  .jump4 {
    display: block;
  }

  #footerSliderBg {
    width: 100vw;
    background-color: #c8c8c8;
  }

  #sliderFooter {
    width: 75%;
  }

  .slider-container {
    width: 70%;
  }
}

@media screen and (max-width: 1200px) {
  /*search bar*/
  #whereCanIviteBox,
  #comSearchBox {
    font-size: 14px;
    padding: 20px 10px 10px;
  }

  #whereCanIviteBox .input-title,
  #comSearchBox .input-title {
    padding: 5px 10px;
  }

  .containerWidth {
    width: 100%;
  }

  .search-display-btn {
    width: 100%;
    padding: 5px 0px;
    font-size: 14px;
    margin: 2px 0px 0px 1px;
  }

  #whereCanIviteBox select,
  #comSearchBox select,
  #proofreaderKeyword {
    padding: 5px;
    margin: 10px 5px 0px 0px;
    border-radius: 5px;
    cursor: pointer;
  }

  .input-group button {
    margin: 10px 0px 10px 10px;
    padding: 3px 8px;
    font-size: 14px;
  }

  #proofreaderKeyword {
    width: 153px;
  }

  .clearfixMo {
    clear: both;
    display: block;
  }

  header {
    background-image: linear-gradient(37.6deg, #fff 0%, #fff 90%);
  }

  header a {
    color: #337ab7;
  }

  #searchBar {
    margin: 30px 55px 15px 20px;
  }

  /* #top-nav {
        background-color: #f9f9f9;
    } */

  .container {
    width: 100%;
  }

  #searchBar {
    float: left;
  }

  #searchBar form {
    text-align: left;
  }

  /* #top-nav ul li {
        padding-right: 8px;
        border-right: 1px dotted #aaa;
        border-left: none;
        padding-left: none;
        width: 200px;
    } */

  header {
    position: relative;

    box-shadow: 0 2px 4px #00000020;
  }

  .hamberger {
    display: block;
    float: right;
    margin: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
  }

  .line {
    width: 38px;
    height: 4px;
    border-radius: 10px;
    background-color: #e55933;
    margin: 3px 0px;
  }

  /* .main-logoTop {
        display: none !important;

    }

    .main-logo {
        display: inline-block;
        width: 80%;
        max-width: 300px;
        margin: 0px 20px;
    } */

  .main-menu-wrap {
    position: absolute;
    width: 100%;
    margin: 0px auto;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    left: -1000px;
  }

  .navbar-nav {
    float: left;
    margin: 7.5px 5px;
  }

  .navbar-nav > li {
    float: left;
    display: block;
    clear: both;
  }

  .dropdown-menu {
    left: 60% !important;
  }

  /*header-menu---end*/
}
@media screen and (max-width: 760px) {
  #top-nav {
    background-color: #f9f9f9;
    box-shadow: none;
    display: block;
  }
  #top-nav ul {
    flex-flow: row;
  }
  #top-nav ul li {
    padding-right: 8px;
    border-right: 1px dotted #aaa;
    border-left: none;
    padding-left: none;
    width: 160px;
  }
  #searchBar {
    margin: 16px 20px 8px;
  }
  .main-logoTop {
    display: none !important;
  }

  .main-logo {
    display: inline-block;
    width: 80%;
    max-width: 300px;
    margin: 0px 20px;
  }
  .banner {
    /* background: url(../img/banner_2.png) no-repeat  center  center; */
    background-size: contain;
  }
}

@media screen and (min-width: 377px) and (max-width: 500px) {
  /*menu*/
  .dropdown-menu > li > a {
    max-width: 240px;
    overflow: auto;
  }

  .dropdown-menu {
    left: 40% !important;
  }

  /*topnav---s*/
  #searchBar {
    float: none;
  }

  /*topnav---e*/
  /* vote-search---start */
  /* vote-search---end */
}
@media screen and (max-width: 480px) {
  .banner-area {
    height: 110px;
  }
  .banner {
    /* background: url(../img/banner_3.png) no-repeat  left  center; */
    background-size: cover;
  }
}
@media screen and (max-width: 376px) {
  /*menu*/
  .dropdown-menu > li > a {
    max-width: 240px;
    overflow: auto;
  }

  .dropdown-menu {
    left: 40% !important;
  }

  /*topnav---s*/
  #searchBar {
    float: none;
    margin-bottom: 20px;
  }

  #top-nav ul {
    display: inline-block;
  }

  #top-nav ul li {
    margin-top: 15px;
  }

  /*topnav---e*/
}

.page_loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10050;
}

.page_loader #loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #b9a980;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.page_loader #loader:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: inherit;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}

.page_loader #loader::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: inherit;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
