.clearfix {
  /*zoom: 1;*/
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  /*font: 0/0 a;*/
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.space{
margin-right:18px;
}
/*== 1200px and beyond ===================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1380px) {
  .sp3 {
    float: left;
    list-style: outside none none;
    margin-right: 20px;
}
.camera_target_content {
    bottom: 0;
    height: 380px;
    left: 500px;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: auto;
    z-index: 2;
}
.camera_target_content {
    width: 100%;
}
}
/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1280px) {
  #contact_map {
    height:350px;
  }
  ul.gallery {
    margin-left: -20px;
  }
  ul.gallery .gallery-item {
    padding-left: 20px;
  }
  .camera_target_content {
    width: 245px;
  }
  h1,
  h2 {
    font-size: 28px;
    line-height: 30px;
  }
  h3 {
    font-size: 22px;
    line-height: 25px;
  }
  #copyright-row .container:before {
    display: none;
  }
  #copyright-row h5 {
    font-size: 18px;
  }
  .sp3 {
    float: left;
    list-style: outside none none;
    margin-right: 20px;
}
.camera_target_content {
    bottom: 0;
    height: 380px;
    left: 366px;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: auto;
    z-index: 2;
}
.camera_target_content {
    width: 100%;
}
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
  ul.gallery {
    margin-left: -12px;
  }
  ul.gallery .gallery-item {
    padding-left: 12px;
  }
  .navigation ul.sf-menu {
    padding-right: 0;
  }
  .camera_target_content {
  /*  display: none !important;*/
  }
  .camera_wrap .camera_pag {
    left: 0 !important;
    width: 100% !important;
    bottom: -40px !important;
  }
  .camera_wrap .camera_pag ul {
    text-align: center !important;
  }
  .feature_blocks .mod-newsflash-adv {
    margin-left: 33px;
  }
  .body__home .page-category .item_header {
    clear: both;
  }
  #copyright-row h5 {
    font-size: 15px;
  }
  #copyright {
    font-size: 12px;
  }
  .body__team .img-intro {
    max-width: 45%;
  }
  #content-row .page-blog {
    padding-right: 0;
  }
  #content-row .page-blog .img-intro__left {
    float: none;
    margin-right: 0;
  }
  #content-row .page-item__blog,
  #content-row .page-archive {
    padding-right: 0;
  }
  .about1 {
    float: left;
    margin-right: 37px;
    width: 100%;
}
.sp4 {
    float: left;
    width: 100%;
}
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    /*for middle title near globe*/
h1, h2 {
    font-size: 22px;
    line-height: 24px;
}
h3 {
    font-size: 18px;
    line-height: 21px;
}
.feature_blocks .mod-newsflash-adv {
    margin-left: 0;
}
.space {
    margin-right: 28px;
}
.sp4 {
    float: left;
    width: 44%;
}
}
/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
.space {
    margin-right: 28px;
}
  .body__team .img-intro {
    max-width: 100%;
  }
  body {
    padding: 0;
  }
  body .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  html,
  body {
    height: auto;
  }
  #wrapper {
    margin: 0;
    min-height: 0px;
  }
  #footer-wrapper {
    height: auto;
  }
  #push {
    display: none;
  }
  #logo {
    text-align: center;
    padding: 10px 0;
  }
  #logo a {
    margin: 0;
  }
  .history {
    margin-bottom: 20px;
  }
  .team .item_img {
    float: left;
    margin-right: 20px;
  }
  .body__home .page-category .item_header {
    clear: none;
  }
  .moduletable.slider {
    display: none;
  }
  .feature_blocks .mod-newsflash-adv {
    margin-left: 0;
  }
  .nav.menu.pull-right.nav-pills {
    float: none;
    text-align: center;
  }
  .nav.menu.pull-right.nav-pills li {
    float: none;
    display: inline-block;
  }
  .top_blocks .item {
    float: left;
    width: 50%;
    margin-bottom: 15px;
  }
  .top_blocks .item.item_num2 .item_content:after {
    display: none;
  }
  .customer_support .item__module {
    max-width: 100%;
    padding-bottom: 20px;
  }
  .address p {
    padding-left: 0;
    max-width: 100%;
  }
  /*navigation*/
  .select-menu {
    display: block;
    width: 100%;
  }
  .sf-menu {
    display: none;
  }
  /*content*/
  .item-image.blog-image {
    float: none;
    margin: 0 0 20px 0;
  }
  .row-fluid [class*="itemSpan"] {
    display: block;
    float: none;
    margin-left: 0;
    width: auto;
  }
  /*gallery*/
  .page-gallery ul.gallery {
    margin-left: 0;
  }
  .page-gallery ul.gallery .gallery-item {
    padding-left: 0;
    float: none;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: left;
    margin: 0 22px 22px 0 !important;
  }
  .img-full__left.span5 {
    width: 50%;
  }
  /*contact*/
  .contact_details .contact_details_item {
    width: 30%;
    float: left;
  }
  /*Modules*/
  /*search*/
  .mod-search__aside .mod-search_searchword {
    width: 50%;
  }
  /*login*/
  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd {
    width: 50%;
  }
  #back-top {
    display: none !important;
  }

}
.validate{
float:left;
margin-right:7%;
}
@media (max-width :1680px){
.validate{
float:right;
display:inline;
margin-right:7%;
}
}
@media (max-width :1280px){
.top_blocks .item {
    background-color: rgba(45, 45, 45, 0.7);
    background-size: 100% 100% !important;
    border: 0.5px solid #afaeae;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 3%;
    height: 358px;
}
.space {
    margin-right: 28px;
}
.top_blocks .item {
float: left;
width: 22%;
margin-bottom: 15px;
height:372px;
}
.top-p{
    height: 21px;
    margin: 0;
    padding-bottom: 6px;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 45px;
    line-height: 45px;
    margin-top: 80px;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.validate{
float:right;
display:inline;
margin-right:5%;
}
}
@media (max-width : 1024px) {
.top_blocks .item {
float: left;
width: 22%;
margin-bottom: 15px;
height:372px;
}
.space {
    margin-right: 28px;
}
[class="span"] {
    margin-left: 0px;
}
.container {
    width: 90%;
}
h6 {
    color: #f8f9f9;
    font-family: "oswaldbold";
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 10px;
    text-transform: uppercase;
    height: 40px;
}
.span12 {
    width: 98%;
}

.top_blocks .item {
    color: #ffffff;
    font-size: 12px;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 45px;
    line-height: 45px;
    margin-top: 78px;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
.top_blocks .item .item_content p {
    padding-bottom: 0;
}
.top-p{
    height: 21px;
    margin: 0;
    padding-bottom: 6px;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
   	height: 140px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: none;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
    width: 50%;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
   	height: 200px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: none;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
    width: 25%;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.row {
    margin-left:0px;
}
.sp3 {
    float: left;
    list-style: outside none none;
   /* margin-right: 20px;*/
}
.validate{
float:right;
display:inline;
margin-right:2%;
}
}
@media (max-width : 980px) {
.space {
    margin-right: 8px;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.address p {
    line-height: 20px;
    max-width: 60%;
    padding: 17px 0 0 11px;
}
.validate{
float:right;
}
.sp5 {
    float: left;
    width: 36%;
}
#copyright-row h5 {
    color: #838383;
    font-family: "oswaldregular";
    font-weight: normal;
    margin: 0 8px 10px;
    text-transform: uppercase;
}
.address p {
    line-height: 20px;
    max-width: 100%;
}
.certy{
	border: 0 none;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
	width:70px;
}
.validate{
float:right;
margin-right:2%;
}
}
@media (max-width : 780px) {
.top_blocks .item {
float: left;
width: 45%;
margin-bottom: 15px;
}
.space {
    margin-right: 8px;
}
.top-p{
    height: 21px;
    margin: 4px;
    margin-bottom: 10%;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 39px;
    line-height: 40px;
    margin-top: 18%;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
.span8 {
    width: 64%;
}
.space {
    margin-right: 12px;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
   	height: 200px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: left;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
    width: 35%;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.spa4 {
    float: left;
    width: 100%;
}
.validate{
float:left;
margin-right:2%;
}
.sp5 {
    float: left;
    width: 100%;
}
.social.moduletable {
    padding: 15px 10px 0;
}
#copyright {
    font-size: 12px;
    margin: 0 10px 0;
}
.validate {
    float: left;
    margin: 0 10px 0;
}
.wi {
    float: left;
    width: 100%;
	margin-left:2%;
}
}
/*== Up to 640px ==================================================
====================================================================*/
@media (max-width: 640px) {
  /*contact*/
.contact_details {
    margin-bottom: 22px;
}
.contact_details .contact_details_item {
    width: 100%;
    float: none;
}
.top_blocks .item {
float: left;
width: 43%;
margin-bottom: 15px;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 39px;
    line-height: 40px;
     margin-top: 22%;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
.space {
    margin-right: 12px !important;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
   	height: 140px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: left;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
    width: 35%;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.spa4 {
    float: left;
    width: 100%;
}
.validate{
float:left
}
.sp5 {
    float: left;
    width: 100%;
}
.social.moduletable {
    padding: 15px 10px 0;
}
#copyright {
    font-size: 12px;
    margin: 0 10px 0;
}
.validate {
    float: left;
    margin: 0 10px 0;
}
.wi {
    float: left;
    width: 100%;
	margin-left:4%;
}
}

@media (max-width: 520px) {
.top_blocks .item {
    float: left;
    margin-bottom: 15px;
    width: 42%;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 39px;
    line-height: 40px;
    margin-top: 35%;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
   	height: 140px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: left;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
    width: 50%;
}
.space {
    margin-right: 12px;
}
.top-p {
    height: 21px;
    margin: 4px 4px 5%;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.top_blocks .item {
    float: left;
    margin-bottom: 15px;
    width: 44%;
}
.spa4 {
    float: left;
    width: 100%;
}
.sp5 {
    float: left;
    width: 100%;
}
.social.moduletable {
    padding: 15px 10px 0;
}
#copyright {
    font-size: 12px;
    margin: 0 10px 0;
}
.validate {
    float: left;
    margin: 0 10px 0;
}
.wi {
    float: left;
    width: 80%;
	margin-left:10px;
}
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {
.logop {
    color: #ffffff;
    float: left;
    font-family: verdana;
    font-size: 15px;
    letter-spacing: 2px;
    padding-left: 23px;
    padding-top: 4px;
    width: 94%;
}
  /*contact*/
  .contact_form {
    width: 100%;
  }
  /*registration*/
  .page-registration form input,
  .page-remind form input,
  .page-reset form input,
  .page-login form input,
  .page-login form input,
  .page-profile__edit form input,
  .page-registration form select,
  .page-remind form select,
  .page-reset form select,
  .page-login form select,
  .page-login form select,
  .page-profile__edit form select {
    width: 100%;
  }
  .page-registration form label,
  .page-remind form label,
  .page-reset form label,
  .page-login form label,
  .page-login form label,
  .page-profile__edit form label {
    display: inline-block;
  }
  .pagination ul li {
    display: none;
  }
  .pagination ul li.pagination-prev,
  .pagination ul li.pagination-next {
    display: inline-block;
    margin: 0 10px;
  }
  .item_img {
    margin-right: 0 !important;
    float: none !important;
  }
  /*gallery*/
  .page-gallery .item_img.img-intro {
    float: none;
    margin: 0 0 22px 0;
  }
  .page-gallery ul.gallery .gallery-item {
    text-align: center;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: none;
    margin: 0 0 22px 0 !important;
  }
  .page-gallery ul.gallery .gallery-item a.zoom {
    display: inline-block;
  }
  .img-full__left.span5 {
    width: 100%;
    margin-right: 0;
  }
  /*blog*/
  .page-blog .item_img.img-intro {
    float: none;
    margin: 0 0 22px 0;
  }
  /*archive*/
  .page-archive_filters select {
    display: block;
    width: 100%;
  }
  /*contact*/
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
  /*Modules*/
  /*search*/
  .mod-search__aside .mod-search_searchword {
    width: 100%;
  }
  /*login*/
  .mod-login__aside .mod-login_userdata {
    width: 100%;
    overflow: hidden;
  }
  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd {
    width: 100%;
  }
  div.modal {
    position: absolute;
  }
  .item_published {
    width: 60px;
    line-height: 60px;
    margin-right: 5px;
  }
  #content-row .page-blog .item_header h6.item_title,
  #content-row .page-item__blog .item_header h6.item_title,
  #content-row .page-archive .item_header h6.item_title {
    padding-top: 17px;
  }
    .container {
    width: 85%;
}
.top_blocks .item {
float: left;
width: 100%;
margin-bottom: 15px;
}
.top_blocks .item {
    color: #ffffff;
    font-size: 16px;
}
.top_blocks .item .item_content .btn-info {
    background: url("../images/button_tail1.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-radius: 11px;
    color: #1f603c;
    font-size: 14px;
    height: 39px;
    line-height: 40px;
    margin-top: 6%;
    padding: 0 18px;
    text-transform: uppercase;
    transition: none 0s ease 0s !important;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
     height: 120px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: left;
    margin: 0 auto;
    width: 100%;
}
.thaimnail1 img {
    float: left;
    height: 200px;
    padding: 6px 25px 0 0;
   width: 52%;
}
.top_blocks .item {
float: left;
width: 40%;
margin-bottom: 15px;
}
.space {
    margin-right: 12px;
}
.top-p{
    height: 21px;
    margin: 4px;
    margin-bottom: 10%;
}
ul, ol {
	margin: 0;
    padding: 0;
}
.top_blocks .item {
    float: left;
    margin-bottom: 15px;
    width: 94%;
}
.fItem {
    margin-left: 2%;
    margin-right: 4% !important;
}
.spa4 {
    float: left;
    width: 100%;
}
.certy{
	border: 0 none;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
	width:70px;
}
.sp5 {
    float: left;
    width: 100%;
}
.social.moduletable {
    padding: 15px 10px 0;
}
#copyright {
    font-size: 12px;
    margin: 0 10px 0;
}
.validate {
    float: left;
    margin: 0 10px 0;
}
.wi{
width:100%;
float:left;
margin-left:10px;
margin-bottom: 10px;
}
.rbiappform3 {
    float: left;
    margin-left: 0px;
    width: 88%;
}
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */

@media (max-width: 320px) {
  .container {
    width: 85%;
}
.top_blocks .item {
    float: left;
    margin-bottom: 15px;
    width: 96%;
}
.insideservice img {
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 0 5px #000000;
    float: left;
     height: 120px;
    width: 100%;
}
[class*="span"], .row-fluid [class*="span"] {
    float: left;
    margin: 0 auto;
    width: 100%;
}
.top-p{
    height: 21px;
    margin: 4px;
    margin-bottom: 30%;
}
/*for footer*/
.spa4 {
    float: left;
    width: 100%;
}
/*for menu*/
.sp4 {
    float: left;
    width: 100%;
}
.fItem{
margin-right:1% !important;
margin-left:2%;
}
.bItem{
margin-right:1% !important;
margin-left:1%;
}
.lItem{
margin-right:2% !important;
margin-left:1%;
}
.logop {
    color: #ffffff;
    float: left;
    font-family: verdana;
    font-size: 15px;
    letter-spacing: 2px;
    padding-left: 23px;
    padding-top: 4px;
    width: 90%;
}
.certy{
	border: 0 none;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
	width:70px;
}
.sp5 {
    float: left;
    width: 100%;
}
.social.moduletable {
    padding: 15px 10px 0;
}
#copyright {
    font-size: 12px;
    margin: 0 10px 0;
}
.validate {
    float: left;
    margin: 0 10px 0;
}
.wi{
width:100%;
float:left;
margin-left:10px;
}
.rbiappform3 {
    float: left;
    margin-left: 0px;
    width: 88%;
}
}
