/*same font size 14px on mobile*/
/*Theme Setting*/
/* Body */
html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}
body {
  color: #000;
  font-size: 12px;
  line-height: 1.5;
  position: relative;
  /*overflow: hidden;*/
  -webkit-text-size-adjust: none;
  background-color: #fff;
  background-repeat: repeat-x;
  background-position: 0px 20px;
  min-width: 320px;
  background-image: url(/wp-content/themes/wp-racingnews-theme-chi/images/bg.gif);
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body h7 {
  line-height: 1;
  font-weight: bold;
  margin: 20px 0 10px 0;
}
body h4 {
  padding: 0 0 4px 0;
  line-height: 1.5;
}
body h5 {
  margin-top: 10px;
  padding: 0 0 2px 0;
  line-height: 1.5;
  color: #244FA1;
}
body h6 {
  color: #244FA1;
}
body h7 {
  font-size: 1em;
  /*12px with 12px = 1em*/
  color: #244FA1;
  margin: 0px;
  padding: 0px;
}
body .en {
  font-family: "微軟正黑體", arial;
  font-size: 13px;
}
body .en h4 {
  /*font-size: 1.333em; Original */
  font-size: 1.5em;
  /*16px with 12px = 1em*/
}
body .en h5 {
  font-size: 1.25em;
  /*15px with 12px = 1em*/
}
body .en h6 {
  font-size: 1.17em;
  /*14px with 12px = 1em*/
}
body .en h7 {
  font-size: 1em;
  /*12px with 12px = 1em*/
}
body .zh {
  font-family: "微軟正黑體", arial;
  font-size: 13px;
}
body .zh h4 {
  font-size: 1.308em;
  /*17px with 13px = 1em*/
}
body .zh h5 {
  font-size: 1.23em;
  /*16px with 13px = 1em*/
}
body .zh h6 {
  font-size: 1.154em;
  /*15px with 13px = 1em*/
}
body .zh h7 {
  font-size: 1em;
  /*13px with 13px = 1em*/
}
body p {
  margin: 0 0 10px 0;
}
body a,
body a:link,
body a:active,
body a:visited,
body a:hover {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  outline:0;
}
body ul,
body li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
body table,
body tr,
body th,
body td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: top;
}
body img {
  outline: 0;
}
table{
	font-size: 1em;
}
/*Container*/
.container {
  min-width: 320px;
  padding: 5px 20px;
}

#section-social-icon .container {
    padding: 5px 20px;
    padding-bottom:20px;
}

/* Row */
.row {
  padding-bottom: 5px;
}
.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.row.no-gutter [class*="col-"]:not(:first-child), .row.no-gutter [class*="col-"]:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
}

.row.no-gutter #horses-racing-news-archive-id [class*="col-"]:not(:first-child), .row.no-gutter #horses-racing-news-archive-id [class*="col-"]:not(:last-child) {
    padding-right: 10px !important;
    padding-left: 10px !important;
}



.row.no-gutter #horses-racing-news-content-id [class*="col-"]:not(:first-child), .row.no-gutter #horses-racing-news-content-id [class*="col-"]:not(:last-child) {
    padding-right: 10px !important;
    padding-left: 10px !important;
}



/* Preloader */
#preload-bg {
  width: 100%;
  height: 100%;
  min-height: 1500px;
  background-color: #fff;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
  text-align: center;
}
#preload-bg div {
  margin-top: 10%;
}
/* Main */
#main {
  /* FontSizeContainer */
}
#main .shadowL,
#main .shadowR {
  width: 0.5% !important;
  height: 124px;
  float: left;
}
#main .shadowL {
  background: url(/wp-content/themes/wp-racingnews-theme-chi/images/content_shadow_L.png) no-repeat right;
}
#main .shadowR {
  background: url(/wp-content/themes/wp-racingnews-theme-chi/images/content_shadow_R.png) no-repeat;
}
#main #racing-news-container {
  font-size: 1em;
  float: left;
  width: 99%;
  background-color: #fff;
}
#main #racing-news-container img {
	width:100%;
}
#main #racing-news-container .racing-news-header h4 {
  color: #244FA1;
}
#main #racing-news-container .racing-news-content-container a {
  color: #244FA1;
  word-wrap: break-word;
  line-height:normal;
}

#main #racing-news-container .racing-news-content-container a:hover {
  text-decoration:underline;
}

#main #fontSizeContainer {
  line-height: 150%;
  text-align: right;
  height: 20px;
  font-size: 0.75em;
  display: block;
}
#main #fontSizeContainer div {
  float: right;
}
#main #fontSizeContainer div span {
  float: left;
  margin-right: 10px;
  color: #999;
}
#main #fontSizeContainer a {
  width: 14px;
  height: 14px;
  display: block;
  text-indent: -2000px;
  float: left;
  border: 1px solid #FFF;
}
#main #fontSizeContainer a.small {
  background: url(/wp-content/themes/wp-racingnews-theme-chi/images/icon_fontsize_S.gif) no-repeat;
}
#main #fontSizeContainer a.medium {
  background: url(/wp-content/themes/wp-racingnews-theme-chi/images/icon_fontsize_M.gif) no-repeat;
}
#main #fontSizeContainer a.large {
  background: url(/wp-content/themes/wp-racingnews-theme-chi/images/icon_fontsize_L.gif) no-repeat;
}
#main #fontSizeContainer a.active {
  border: 1px solid #0A2773;
}
@media screen and (max-width: 1024px) and (min-width: 992px) {
  body .en {
    font-size: 12px;
  }
  body .zh {
    font-size: 13px;
  }
  body h4 {
    font-size: 1.286em;
  }
  body h5 {
    font-size: 1.22em;
  }
}
@media screen and (max-width: 991px) and (min-width: 768px) {
  body .en {
    font-size: 12px;
  }
  body .zh {
    font-size: 13px;
  }
  body h4 {
    font-size: 1.286em !important;
  }
  body h5 {
    font-size: 1.22em;
  }
}
/* Mobile Horizontal */
@media screen and (max-width: 767px) and (min-width: 480px) {
  /**/
  body {
    background-color: #fff !important;
    font-size: 14px;
  }
  body .en {
    font-size: 14px;
  }
  body .en h4 {
    font-size: 1.286em;
  }
  body .en h5 {
    font-size: 1.22em;
  }
  body .zh {
    font-size: 14px;
  }
  body .zh h4 {
    font-size: 1.286em;
  }
  body .zh h5 {
    font-size: 1.22em;
  }
/*  body .col-sm-6 {
    width: 50%;
    float: left;
  }*/
  #main {
    background-image: url(/wp-content/themes/wp-racingnews-theme-chi/images/bg_mobile.gif);
    background-repeat: repeat-x;
    padding: 15px 10px;
    overflow: hidden;
  }
  #main #fontSizeContainer {
    display: none;
  }
}
/* Mobile Vertical */
@media screen and (max-width: 479px) and (min-width: 320px) {
  /**/
  body {
    background-color: #fff !important;
    font-size: 14px;
  }
  body .en {
    font-size: 14px;
  }
  body .en h4 {
    font-size: 1.286em;
  }
  body .en h5 {
    font-size: 1.22em;
  }
  body .zh {
    font-size: 14px;
  }
  body .zh h4 {
    font-size: 1.286em;
  }
  body .zh h5 {
    font-size: 1.22em;
  }
/*  body .col-sm-6 {
    width: 100%;
    float: none;
  }*/
  #main {
    background-image: url(/wp-content/themes/wp-racingnews-theme-chi/images/bg_mobile.gif);
    background-repeat: repeat-x;
    padding: 15px 10px;
    overflow: hidden;
  }
  #main #fontSizeContainer {
    display: none;
  }
}

#mainDeskUL{
  background:#e9eef4;
  height: 300px;
  overflow: scroll;
}