.bx-window {
  margin-bottom: 20px;
}

.bx-wrapper {
  margin-bottom: 0px;
}

/*next button*/
.bx-next {
  display: none;
  position: absolute;
  top: 40%;
  right: -50px;
  z-index: 999;
  width: 30px;
  height: 30px;
  text-indent: -999999px;
}

/*previous button*/
.bx-prev {
  display: none;
  position: absolute;
  top: 40%;
  left: -50px;
  z-index: 999;
  width: 30px;
  height: 30px;
  text-indent: -999999px;
}

/*pager links*/
.bx-pager {
  position: absolute;
  bottom: 20px;
  bottom: 40px;
  /* hack ie7 */
  padding-top: 7px;
  font-size: 11px;
  color: #666;
  text-align: center;
}

.bx-pager a {
  display: inline-block;
  zoom: 1;
  margin-right: 5px;
  padding: 4px 0 0 1px;
  height: 16px;
  /* 19 */
  width: 18px;
  /* 19 */
  font-weight: bold;
  font-size: 11px;
  color: #000;
  text-decoration: none;
  background: url(../images/gray_pager.png) no-repeat 0 -20px;
}

/*
 * End color scheme styles
 */
/*next/prev button hover state*/
.bx-next:hover,
.bx-prev:hover {
  background-position: 0 0;
}

/*pager links hover and active states*/
.bx-pager .pager-active,
.bx-pager a:hover {
  color: #fff;
  text-decoration: none;
  background-position: 0 0;
}

/*captions*/
.bx-captions {
  text-align: center;
  font-size: 12px;
  padding: 7px 0;
  color: #666;
}

/*auto controls*/
.bx-auto {
  text-align: center;
  padding-top: 15px;
}

.bx-auto a {
  color: #666;
  font-size: 12px;
}

/******************************************************************************
						Home Page Slider
*******************************************************************************/
#tmhomepage-slider {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 15px;
  width: 100%;
  clear: both;
  max-width: 750px;
  max-height: 340px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  float: none;
  margin: 0 auto;
}
#tmhomepage-slider #slide_2 .main {
  right: auto;
  left: 40px;
  text-align: left;
  top: 45px;
}
@media (max-width: 1200px) {
  #tmhomepage-slider #slide_2 .main {
    top: 33px;
  }
}
#tmhomepage-slider #slide_2 .contentprice {
  left: 290px;
  bottom: -160px;
}
@media (max-width: 1200px) {
  #tmhomepage-slider #slide_2 .contentprice {
    left: 267px;
    bottom: -150px;
  }
}
@media (max-width: 991px) {
  #tmhomepage-slider #slide_2 .contentprice {
    bottom: -110px;
    left: 195px;
  }
}
#tmhomepage-slider #slide_2 .content {
  margin-top: 5px;
}
#tmhomepage-slider #slide_2 .text {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  right: auto;
  left: -46px;
  bottom: -143px;
}
@media (max-width: 991px) {
  #tmhomepage-slider #slide_2 .text {
    bottom: -110px;
    left: -59px;
  }
}
#tmhomepage-slider #slide_3 .contentprice {
  left: -10px;
}
@media (max-width: 1200px) {
  #tmhomepage-slider #slide_3 .contentprice {
    left: 10px;
  }
}
#tmhomepage-slider .contentprice {
  background: none repeat scroll 0 0 #FEC826;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  font-size: 18px;
  -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  -ms-transform: rotate(-20deg);
  -o-transform: rotate(-20deg);
  transform: rotate(-20deg);
  overflow: hidden;
  font-family: Merienda One;
  padding: 10px;
  color: #35668A;
  left: -90px;
  bottom: -110px;
  line-height: 24px;
  position: absolute;
  text-shadow: 1px 0 0 white, 1px 1px 0 white, 0px 1px 0 white, 1px 1px 0 white, 1px 1px 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 1px 0 white, -1px 1px 0 white, -1px 1px 0 white, -1px 1px 0 white, -1px 1px 0 white, -1px 0 0 white, -1px -1px 0 white, -1px -1px 0 white, -1px -1px 0 white, -1px -1px 0 white, -1px -1px 0 white, 0 -1px 0 white, 1px -1px 0 white, 1px -1px 0 white, 1px -1px 0 white, 1px -1px 0 white, 1px -1px 0 white;
}
@media (max-width: 1200px) {
  #tmhomepage-slider .contentprice {
    left: -67px;
  }
}
@media (max-width: 991px) {
  #tmhomepage-slider .contentprice {
    bottom: -80px;
    font-size: 16px;
    line-height: 16px;
    left: -55px;
  }
}
#tmhomepage-slider .main {
  position: absolute;
  top: 51px;
  right: 30px;
  text-align: right;
}
@media (max-width: 1200px) {
  #tmhomepage-slider .main {
    top: 35px;
  }
}
#tmhomepage-slider .maintitle {
  font-family: Merienda One;
  font-size: 40px;
  color: #5a8cb3;
  line-height: 40px;
}
@media (max-width: 991px) {
  #tmhomepage-slider .maintitle {
    font-size: 30px;
    line-height: 30px;
  }
}
#tmhomepage-slider .subtitle {
  font-family: Lucida Fax;
  font-size: 35px;
  color: #a6a6a6;
  line-height: 35px;
  margin-top: 10px;
}
@media (max-width: 991px) {
  #tmhomepage-slider .subtitle {
    font-size: 25px;
    line-height: 25px;
  }
}
#tmhomepage-slider .content {
  font-family: droid sans;
  font-size: 20px;
  color: #184f79;
  line-height: 20px;
  margin-top: 10px;
}
@media (max-width: 991px) {
  #tmhomepage-slider .content {
    font-size: 14px;
    line-height: 14px;
  }
}
#tmhomepage-slider .text {
  font-family: Ubuntu;
  font-size: 20px;
  color: #35668a;
  font-weight: 700;
  line-height: 20px;
  width: 110px;
  text-align: center;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  bottom: -133px;
  right: -38px;
}
@media (max-width: 991px) {
  #tmhomepage-slider .text {
    font-size: 17px;
    line-height: 14px;
    bottom: -92px;
    right: -48px;
  }
}
#tmhomepage-slider #homeslider {
  margin: 0 auto;
  padding: 0;
}

/*****************************************************************************
						BXSlider Styles
********************************************************************************/
#tmhomepage-slider .homeslider-container {
  position: relative;
}

#tmhomepage-slider .homeslider-image {
  position: absolute;
  left: 0;
  top: 0;
}

#tmhomepage-slider .bx-wrapper {
  position: relative;
  padding: 0;
  *zoom: 1;
}

#tmhomepage-slider .bx-wrapper a {
  display: block;
}

#tmhomepage-slider .bx-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

#tmhomepage-slider .bx-wrapper .bx-viewport {
  width: 100%;
  border: 1px solid #f5f5f5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

#tmhomepage-slider .bx-wrapper .bx-pager,
#tmhomepage-slider .bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 0px;
}

#tmhomepage-slider .bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(images/bx_loader.gif) center center no-repeat white;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

#tmhomepage-slider .bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  display: inline-block;
  font-weight: bold;
  color: #666;
  right: 10px;
}

#tmhomepage-slider .bx-wrapper .bx-pager .bx-pager-item,
#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

#tmhomepage-slider .bx-wrapper .bx-pager.bx-default-pager a {
  background: none repeat scroll 0 0 #fff;
  border: 4px solid #588FB8;
  display: block;
  height: 16px;
  margin: 3px 3px;
  outline: 0 none;
  text-indent: -9999px;
  width: 16px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
}

.bx-controls.bx-has-pager.bx-has-controls-direction {
  text-align: center;
}

#tmhomepage-slider .bx-wrapper .bx-pager.bx-default-pager a:hover,
#tmhomepage-slider .bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #F5CD52;
  color: #fff;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction .bx-prev {
  left: 0px;
  border-left: none;
  -webkit-border-radius: 0 35px 35px 0;
  -moz-border-radius: 0 35px 35px 0;
  -ms-border-radius: 0 35px 35px 0;
  -o-border-radius: 0 35px 35px 0;
  border-radius: 0 35px 35px 0;
}

#tmhomepage-slider .bx-wrapper .bx-prev:after {
  content: "\f053";
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction .bx-next:after {
  content: "\f054";
  left: auto;
  right: -2px;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction .bx-next {
  right: 0px;
  border-right: none;
  -webkit-border-radius: 35px 0 0 35px;
  -moz-border-radius: 35px 0 0 35px;
  -ms-border-radius: 35px 0 0 35px;
  -o-border-radius: 35px 0 0 35px;
  border-radius: 35px 0 0 35px;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction a {
  position: absolute;
  bottom: 10px;
  outline: 0;
  width: 30px;
  height: 57px;
  text-indent: -9999px;
  z-index: 9999;
  border: none;
  background: #fff;
  border: 3px solid #964A2A;
  color: #964A2A;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction a:before {
  display: block;
  text-indent: -9999px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction a:after {
  display: block;
  width: 25px;
  text-indent: 0;
  text-align: center;
  font-size: 20px;
  font-family: "FontAwesome";
  position: absolute;
  top: 0px;
  left: -2px;
  z-index: 2;
  padding: 16px 0 0 0;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction a:hover {
  background: #DC602C;
  color: #fff;
}

#tmhomepage-slider .bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

#tmhomepage-slider .bx-wrapper .bx-controls-auto {
  text-align: center;
}

#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -11px no-repeat;
  margin: 0 3px;
}

.bx-controls-direction {
  display: none;
}

#tmhomepage-slider:hover .bx-controls-direction {
  display: none;
}
@media (max-width: 480px) {
  #tmhomepage-slider:hover .bx-controls-direction {
    display: none;
  }
}

#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-start:hover,
#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-start.active {
  background-position: -86px 0;
}

#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -44px no-repeat;
  margin: 0 3px;
}

#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-stop:hover,
#tmhomepage-slider .bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}

#tmhomepage-slider .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}

#tmhomepage-slider .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

#tmhomepage-slider .bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666\9;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}

#tmhomepage-slider .bx-wrapper .bx-caption span {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  font-size: .85em;
  padding: 10px;
}
