/*
Theme Name: LTH Machinery Pte Ltd Theme
Theme URI: http://thebitesizeconcepts.com
Description: A customised theme for LTH Machinery Pte Ltd
Author: Benjie Cruz Maglalang
Author URI: http://thebitesizeconcepts.com
Version: 1.0
*/

/**RESET**/
#main-menu-social-media-wrapper ul{padding:0}
#main-menu-social-media-wrapper ul{margin:0;}
img{border:none;}

/**FONTS**/
#menu-wrapper li a{font-family: 'robotolight',arial,sans serif;}

/*** Structure ***/
body{ overflow-x:hidden;width:100% }
#main-menu-social-media-wrapper ul li,#main-menu-social-media-wrapper,#logo,.home_side,.main_content_page.home,.cont_left,.cont_right,.head-wrapper .logo,.head-wrapper .title,.head-wrapper .download,.contact_form,#right-sidebar{ display:inline-block;vertical-align:top; }
#content,#header-wrapper,#footer,#lowercontent{ width:960px;margin:auto;position: relative;overflow: hidden; }
#header-wrapper{padding:25px 0}
#main-menu-social-media-wrapper{ float:right;margin-top: 10px;}
#menu-wrapper li a{color: #666666;font-size: 14px;padding: 0 10px;border-right: 1px solid #666;display: block;line-height: 12px;}
#menu-wrapper li:last-child a{ border:none}
#logo a img{max-width: 240px;}
.sub_title{margin:0;font-weight:normal;}
.twocol{width: 49.5%;}
.main_content_page.inner-content{margin-top:20px;}
#header{overflow:visible}
#menu-wrapper ul li ul.sub-menu a{font-size:17px !important}
#menu-wrapper ul li ul.sub-menu {top: 56px;width: 260px;padding-left: 0;}
#menu-wrapper ul li ul.sub-menu,#header #menu-wrapper ul li ul.sub-menu li ul.sub-menu  { display:none; position:absolute;}
#menu-wrapper ul li ul.sub-menu li ul.sub-menu  {top:0px;left:260px;}
#menu-wrapper ul li ul.sub-menu  a{color:#fff !important;}
#menu-wrapper ul li ul.sub-menu li,#header #menu-wrapper ul li ul.sub-menu li ul.sub-menu li{ display:block; position: relative;width: 100%;background: rgba(197, 16, 23,.8);padding: 10px 0;}
#menu-wrapper ul li:hover ul.sub-menu,#header #menu-wrapper ul li ul.sub-menu li:hover ul.sub-menu {  display:block; margin-left: 0; }

/*** banner ***/
.flexslider .slides img{width:100%;}
.responsive-slider.flexslider .slide .slide-title{position:relative;}
.responsive-slider.flexslider .slide-title a{bottom: 0;top: auto !important;pointer-events:none;font-size: 32px !important;background: #f57d02 !important;background: rgba(245, 125, 2,.7) !important;}
.innerbanner{height: 270px;background-size:cover !important;position: relative;}
#banner-caption{bottom: 0;top: auto;pointer-events: none;font-size: 32px;background: #f57d02 !important;background: rgba(245, 125, 2,.8) !important;font-family: 'bebas_neueregular',arial;color: #fff;line-height: 1.3emwidth: auto;right: 0;position: absolute;padding: 10px 20px;}


/*** HOMEPAGE ***/
.main_content_page.home{width: 590px;padding-left: 30px;line-height: 34px;}
.main_content_page.home p{line-height: 30px;}
.home_side{width: 300px;text-align: right;padding-top: 7px;}
.home_side h1{margin: 0 0 20px 0;font-weight: normal;font-size: 40px;line-height: 42px;}
#hsrsp-rightarrow,#hsrsp-leftarrow{display:none !important}


/*** ABOUT US AND EQUIPMENT***/
.cont_left .sub_title{text-align: right;padding: 45px 40px;}
.cont_inner_content{line-height: 35px;padding: 20px 40px;border-left: 2px solid #ccc;}
#lowercontent-wrapper{background:#f9f9f9;padding:30px 0;margin-top:30px;}
#lowercontent{}
.twocol .details{padding: 40px;line-height: 30px;}
.twocol .details.sidecont{padding: 40px 40px 40px 0px;line-height: 30px;}
.iconabt{text-align:center;padding:20px 0 50px 0;}
#lowercontent .cont_right .details{border-left: 2px solid #ccc;}
.img_holder img{margin:5px;width: 170px;height: 170px;border: 5px solid;}
.head-wrapper{margin-bottom:20px;}
.head-wrapper .title,.head-wrapper .download{vertical-align: middle;line-height: 90px;margin-left: 20px;font-weight: bold;}
.head-wrapper .download{float: right;}
.head-wrapper .download::after{content:url("images/downloadicon.png");}
.head-wrapper .download a{padding-right: 10px;}
#equipment_list .row{clear:both;margin-bottom:20px;}
.head-wrapper .logo img{width:220px;height:auto;}
.head-wrapper .logo{vertical-align: middle;line-height: 90px;}


/*** Search Result Page Layout ***/
.searchresult .row{ margin-bottom: 30px;padding-bottom: 20px;border-bottom: 1px solid #ccc; }
.searchresult .row:last-child{ border:none; }
.searchresult .row .body p{ display:inherit; }
.searchresult .row .title {  }

/*** Footer ***/
#footer{text-align:center}
.copyright{padding: 20px;}



/*** Page 404 ***/
span.page404-head{ font-size: 50px;font-weight: bold;color: #f57b00;margin-right: 20px; }
.page404-header{ font-size: 30px;font-weight: bold;color: #F57E05;border-bottom: 1px solid; }
.page404-body .block{ width: 49%;display: inline-block;border: none;vertical-align: top; }
.page404-body .block .head{ font-weight: bold;font-size: 16px;margin-bottom: 15px;margin-top:10px; }
.page404-body .block  .sub-head{ font-weight: normal; }


/*** Contact Form 7 ***/
.contact_form{width: 70%;}
#right-sidebar{width: 29%;margin-top: 20px;}
.input_error{ background: rgb(245, 152, 152) !important;border: 1px dashed rgb(189, 49, 49) !important; }
#validation_error{ display:none; }
#validation_error,div.wpcf7-validation-errors{ background: rgb(148, 47, 47);color: #fff;padding: 0px 20px 20px 20px;border-radius: 5px;-moz-border-radius: 5px;    -webkit-border-radius: 5px;    border-radius: 5px;margin: 20px 0;border: 3px solid #B93838;width: 595px; }
div.wpcf7-validation-errors,div.wpcf7-validation-errors{ padding:20px;width:auto;border: 3px solid #B93838 !important; }
input[type="submit"]{ -webkit-appearance: none;background:#c51017;font-weight: bold;color: white;border: 0px none;border-image-source: initial;border-image-slice: initial;border-image-width: initial;border-image-outset: initial;border-image-repeat: initial;cursor: pointer;padding: 10px 20px;margin: 10px 5px;border-radius: 5px; }
div.wpcf7-validation-errors{ border: 2px solid #fff !important; }
div.wpcf7-response-output{ width:87% }
.wpcf7 .input{  }
div.wpcf7-mail-sent-ok{ border:none !important }
.wpcf7 textarea{ padding:2px; }
select,.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 input[type="file"]{ font-family: 'segoeui',arial;width: 90%;border: 1px solid #ccc;margin-top: 5px;border-radius: 5px;-moz-border-radius: 5px;    -webkit-border-radius: 5px;    -ms-border-radius: 5px;padding: 5px; }
.wpcf7 textarea{ width:91%;border: 1px solid #ccc;margin-top: 5px;border-radius: 5px;-moz-border-radius: 5px;    -webkit-border-radius: 5px;    -ms-border-radius: 5px;height: 100px; }
select{ width:92%;font-family: 'segoeui',arial; }
span.required-field{ color:red; }
span.wpcf7-not-valid-tip{ text-align:left; }
#contact_form span.wpcf7-not-valid-tip{ text-align:left; }
.wpcf7-not-valid{ border:1px solid red;background: #f0e3e3; }
.contact-form{ padding-right: 25px; }
span.wpcf7-not-valid-tip{ font-size: .75em; }
.wpcf7-validation-errors{ display:none; }
div.wpcf7-mail-sent-ok{ margin: 0;border-radius: 5px;-moz-border-radius: 5px;    -webkit-border-radius: 5px;    -ms-border-radius: 5px; }
.map{margin-bottom:20px}
/*** Excess ***/
.pagination{clear:both;text-align:center;margin:10px 0;font-size: 16px;}
/*.cd-top { display: inline-block;height: 64px;width: 64px;position: fixed;bottom: 100px;right: 10px;z-index: 10;overflow: hidden;text-indent: 100%;white-space: nowrap;background:url(/iFly/wp-content/themes/iFly/images/back-to-top.png)  no-repeat ;background-size:100%;visibility: hidden; }
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { -webkit-transition: opacity .3s 0s, visibility 0s 0s;-moz-transition: opacity .3s 0s, visibility 0s 0s;transition: opacity .3s 0s, visibility 0s 0s; }
.cd-top.cd-is-visible { visibility: visible;opacity: 1;z-index: 999; }
.no-touch .cd-top:hover { background-color: #e86256;opacity: 1; }*/




		
/*** Responsive ***/

/* Big Screens*/
@media only screen and (min-width: 960px) { 
#content{min-height:250px;}
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) { 
#content,#header-wrapper,#footer,#lowercontent{ width:96%;padding:0 2%; }
.head-wrapper .logo,.home_side,.twocol,.head-wrapper .download,.contact_form,#right-sidebar{width:100%;}
.home_side{margin-bottom: 20px;}
#logo{display: block;margin: 20px 0;}
.main_content_page.home{width: 96%;padding: 0 2%;}
.main_content_page.home,.twocol,.home_side,#logo,.cont_left .sub_title,.head-wrapper .logo,.head-wrapper .download,#equipment_list .row,#page-title,.contact_form{text-align:center;}
.cont_inner_content,#lowercontent .cont_right .details{border:none;padding: 10px;}
.twocol .details{padding:10px;}
.head-wrapper .download{margin: 0;line-height: initial;margin-bottom: 10px;}
.twocol .details.sidecont{padding: 20px 0 0 0;}
#equipment_list .row{padding: 10px;border-bottom: 2px solid #ccc;}
.head-wrapper .title{line-height: inherit;padding: 20px 0;margin: 0;}
h2.slide-title{padding: 0 10px;text-align: center;}
.responsive-slider.flexslider .slide-title a{position: relative !important;background: none !important;color: #f57d02 !important;width: 100% !important;padding: 0 !important;}
.cont_left .sub_title{padding:20px;}
#main-menu-social-media-wrapper{float: none;display: block;text-align: center;margin: 30px 0 15px 0;}
/**reset***/
.twocol,.head-wrapper .download{float: none;}
}
 
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) { 
#content,#header-wrapper,#footer,#lowercontent{ width:96%;padding:0 2%; }
.head-wrapper .logo,.home_side,.twocol,.head-wrapper .download,.contact_form,#right-sidebar{width:100%;}
.home_side{margin-bottom: 20px;}
#logo{display: block;margin: 20px 0;}
.main_content_page.home{width: 96%;padding: 0 2%;}
.main_content_page.home,.twocol,.home_side,#logo,.cont_left .sub_title,.head-wrapper .logo,.head-wrapper .download,#equipment_list .row,#page-title,.contact_form{text-align:center;}
.cont_inner_content,#lowercontent .cont_right .details{border:none;padding: 10px;}
.twocol .details{padding:10px;}
.head-wrapper .download{margin: 0;line-height: initial;margin-bottom: 10px;}
.twocol .details.sidecont{padding: 20px 0 0 0;}
#equipment_list .row{padding: 10px;border-bottom: 2px solid #ccc;}
.head-wrapper .title{line-height: inherit;padding: 20px 0;margin: 0;}
h2.slide-title{padding: 0 10px;text-align: center;}
.responsive-slider.flexslider .slide-title a{position: relative !important;background: none !important;color: #f57d02 !important;width: 100% !important;padding: 0 !important;}
.cont_left .sub_title{padding:20px;}
/**reset***/
.twocol,.head-wrapper .download{float: none;}
}
 
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) { 
#content,#header-wrapper,#footer,#lowercontent{ width:96%;padding:0 2%; }
.head-wrapper .logo,.home_side,.twocol,.head-wrapper .download,.contact_form,#right-sidebar{width:100%;}
.home_side{margin-bottom: 20px;}
#logo{display: block;margin: 20px 0;}
.main_content_page.home{width: 96%;padding: 0 2%;}
.main_content_page.home,.twocol,.home_side,#logo,.cont_left .sub_title,.head-wrapper .logo,.head-wrapper .download,#equipment_list .row,#page-title,.contact_form{text-align:center;}
.cont_inner_content,#lowercontent .cont_right .details{border:none;padding: 10px;}
.twocol .details{padding:10px;}
.head-wrapper .download{margin: 0;line-height: initial;margin-bottom: 10px;}
.twocol .details.sidecont{padding: 20px 0 0 0;}
#equipment_list .row{padding: 10px;border-bottom: 2px solid #ccc;}
.head-wrapper .title{line-height: inherit;padding: 20px 0;margin: 0;}
h2.slide-title{padding: 0 10px;text-align: center;}
.responsive-slider.flexslider .slide-title a{position: relative !important;background: none !important;color: #f57d02 !important;width: 100% !important;padding: 0 !important;}
.cont_left .sub_title{padding:20px;}
/**reset***/
.twocol,.head-wrapper .download{float: none;}
a.hs-rsp-popup{pointer-events:none;}
}
