/* ==========================================================================
   Breitlink Engineering Services Sdn Bhd
   Static rebuild of the original site (previously hosted on Weebly).
   Self-contained: no Weebly scripts or stylesheets required.
   ========================================================================== */

/* ---------- Reset ---------- */
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, div.paragraph,
blockquote, fieldset, input { margin: 0; padding: 0; }
a img { border: 0; }
table { border-collapse: collapse; border-spacing: 0; }

/* ---------- Base ---------- */
a       { color: #77c3e7; text-decoration: none; }
a:hover { color: #3093c1; }

body {
  background: #2a2c2e url(../images/theme/blue-bg.jpg) center top;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #7b7b7b;
  margin: 0;
  padding: 0 0 50px;
}

/* Custom site background (the photo behind the white page) */
body.wsite-background {
  background-image: url(../images/page-background.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  background-color: #2a2c2e;
}

#wrap { margin: 0 auto; width: 977px; }

/* ---------- Header ---------- */
#header { width: 100%; height: 100px; padding: 0 0 0 22px; }
#header td { vertical-align: middle; text-align: left; }
#logo { padding: 25px 0; }
#logo img { display: block; }

#header-right { padding: 0 0 0 10px; }
#header-right table { float: right; width: 1px; }
#header-right td { padding: 0; }
#header-right a { color: #77c3e7; }
#header-right a:hover { color: #3093c1; }

#header-right .phone-number .wsite-text {
  color: #feffff;
  font-size: 13px;
  font-weight: 400;
  font-family: "Lato", "Myriad Pro", Arial, Helvetica, sans-serif;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  margin: 2px 0 0 15px;
}

/* Social icon sprite */
#header-right .wsite-social { vertical-align: middle; margin: 2px 0 0 12px; }
.wsite-social { display: inline-block; }
.wsite-social-item {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin: 0 0 0 3px;
  background-image: url(../images/theme/social-black.png);
}
.wsite-social-item-inner { display: block; width: 23px; height: 23px; }
.wsite-social-mail          { background-position: -92px 0; }
.wsite-social-mail:hover    { background-position: -92px -23px; }
.wsite-social-mail:active   { background-position: -92px -46px; }

/* ---------- Navigation ---------- */
#topnav {
  clear: both;
  background: url(../images/theme/nav-left.png) no-repeat;
  padding-left: 8px;
  margin-left: -1px;
  width: 971px;
}
#nav-right { background: url(../images/theme/nav-right.png) right top no-repeat; padding-right: 10px; }
#nav-inner { background: url(../images/theme/nav-inner.png) repeat-x; padding: 2px 5px 3px; }

#topnav ul {
  list-style: none;
  float: left;
  background: url(../images/theme/nav-sep.jpg) no-repeat left center;
  padding-left: 2px;
}
#topnav ul li {
  list-style: none;
  float: left;
  background: url(../images/theme/nav-sep.jpg) no-repeat right center;
  padding-right: 2px;
}
#topnav a {
  float: left;
  display: block;
  color: #989899;
  text-decoration: none;
  padding: 19px 38px;
  border: 0;
  outline: 0;
  list-style-type: none;
  font-size: .9em;
}
#topnav li.active a,
#topnav a:hover {
  color: #fff;
  background: #090909 url(../images/theme/nav-active.png);
  border: 0;
}

/* ---------- Main / banner ---------- */
#main { border-top: 8px solid #2b9aaa; overflow: hidden; }

#banner { position: relative; }
.short-header-page .wsite-header {
  width: 977px;
  height: 121px;
  background: url(../images/inner-banner.jpg) no-repeat 0 0;
}
.no-header-page .wsite-header { display: none; }

/* ---------- Slideshow ---------- */
#slider { background: #fff; position: relative; z-index: 0; }
.wslide-content { position: relative; width: 977px; height: 255px; overflow: hidden; }
.wslide-slide {
  position: absolute;
  top: 0; left: 0;
  width: 977px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.wslide-slide.is-active { opacity: 1; }
.wslide-slide img { display: block; width: 977px; height: auto; }

/* ---------- Content ---------- */
#content {
  min-height: 400px;
  padding: 15px 30px 20px;
  background: #fff;
}

h2 {
  font-size: 1.9em;
  margin: 0;
  padding: .4em 0;
  line-height: 1.2;
  font-family: "Telex", "Myriad Pro", Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-text-stroke-width: 0.3px;
}
#content h2 { color: #77c3e7; }

div.paragraph, p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
  padding: .5em 0;
}
#content div.paragraph, #content p { color: #7b7b7b; }

blockquote {
  font-style: italic;
  border-left: 4px solid #ddd;
  margin: 10px 0;
  padding-left: 20px;
  line-height: 1.5;
  color: #999;
}

div.paragraph ul, div.paragraph ol { padding-left: 3em; margin: 5px 0; }
div.paragraph li { padding-left: 5px; margin: 3px 0 0; }
div.paragraph ul, div.paragraph ul li { list-style: disc outside; }
div.paragraph ol, div.paragraph ol li { list-style: decimal outside; }

/* Horizontal rules */
hr.styled-hr {
  border: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.13);
  margin: 0;
}
hr.spacer-hr { width: 100%; clear: both; visibility: hidden; border: 0; height: 0; margin: 0; }
.block-spacer { height: 20px; overflow: hidden; width: 100%; }
.wsite-spacer { display: block; }

/* Multi-column layout blocks */
.wsite-multicol-table { width: 100%; }
.wsite-multicol-col { vertical-align: top; }

/* Images */
.wsite-image { padding: 0 2px; }
.wsite-image img { max-width: 100%; height: auto; }
.wsite-image-border-thin img,
img.galleryImageBorder {
  border: 1px solid rgba(0, 0, 0, 0.13);
  padding: 1px;
}
.wsite-caption { font-size: 90%; }

/* Floated image (Managing Director photo, director portraits) */
.img-float-left {
  display: table;
  width: auto;
  position: relative;
  float: left;
  max-width: 100%;
  clear: left;
  margin: 0;
}
.img-float-left img {
  margin: 5px 10px 10px 0;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  max-width: 100%;
}

/* ---------- Forms ---------- */
.wsite-form-container { margin-top: 0 !important; text-align: left; color: #666; }
.formlist { list-style: none; }

.wsite-form-label {
  display: inline-block;
  color: #444;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 1em;
  padding: 12px 0 5px;
}
.wsite-form-fields-required-label { font-size: .9em; color: #777; }
.form-required { color: #cc0000; }

.wsite-form-field { margin: 5px 0; }
.wsite-form-input {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: .9em;
  color: #444;
  background: #fff url(../images/theme/field.png) repeat-x;
  border: 1px solid #c6c6c6;
  padding: 8px 4px 5px;
  line-height: 1;
  box-sizing: border-box;
}
.wsite-input-width-370px { width: 370px; }
textarea.wsite-form-input { height: 200px; line-height: 1.4; }

.wsite-form-input-container { display: block; }
.wsite-form-left, .wsite-form-right { float: left; margin-right: 10px; }
.wsite-form-left .wsite-form-input,
.wsite-form-right .wsite-form-input { width: 180px; }
.wsite-form-sublabel {
  display: block;
  font-size: 85%;
  color: #888;
  padding-top: 3px;
  font-family: Tahoma, Geneva, sans-serif;
}
.clearfix { clear: both; }

/* Submit button (original Weebly button sprite) */
.wsite-button {
  display: inline-block;
  color: #fff !important;
  height: 34px;
  font-size: 14px;
  border: none;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 37px 0 0;
  cursor: pointer;
  background: url(../images/theme/button.png) no-repeat 100% -105px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
}
.wsite-button:hover  { background-position: 100% -140px; }
.wsite-button:active { background-position: 100% -175px; }
.wsite-button-inner {
  color: #fff !important;
  height: 34px;
  line-height: 34px;
  display: block;
  font-size: 14px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  padding: 0 10px 0 20px;
  background: url(../images/theme/button.png) no-repeat 0 0;
}
.wsite-button:hover  .wsite-button-inner { background-position: 0 -35px; }
.wsite-button:active .wsite-button-inner { background-position: 0 -70px; }

.form-error {
  background: #fdf1f1;
  border: 1px solid #e0b4b4;
  color: #9f3a38;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 13px;
}

/* ---------- Footer ---------- */
#footer {
  background: #ffffff;
  padding: 30px 40px 33px;
  font-size: 0;
  color: #6f6f6f;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 0 0 10px 10px;
  text-align: right;
}
#footer div.paragraph, #footer p { color: #6f6f6f; font-size: 12px; }
#footer a       { color: #9f9f9f; }
#footer a:hover { color: #333; }
