
/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #4d4d4d;
    font-size: 100%;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: arial;
    
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*Page*/
* {
	margin: 0;
	padding: 0;
	transition: all 0.3s ease;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	background-color: #e8e8e8;
}

img {
	width: 100%;
}

.page-wrap {
	width: 100%;
	height: 100%;
}

.header {
	width:100%;
	background: #f6f7f7;
	border-bottom: 5px solid #7c0000;
	box-shadow: 0 1px 15px rgba(0, 0, 0, 0.5);
}

.company-name-details {
	float: left;
}

.company-name-details span {
	color: #7d0101;
	font-size: 0.75em;
}

.main-content {
	box-shadow: 0 3px 6px rgba(0, 0, 0, 1);
}

.content-details {
	margin: auto;
	background: linear-gradient(
      rgba(255, 255, 255, 0.4), 
      rgba(255, 255, 255, 0.4)
    ),url('../img/about-us-bg.png') no-repeat 65%;
    background: -moz-linear-gradient(
      rgba(255, 255, 255, 0.4), 
      rgba(255, 255, 255, 0.4)
    ),url('../img/about-us-bg.png') no-repeat 65%;
    background: -webkit-linear-gradient(
      rgba(255, 255, 255, 0.4), 
      rgba(255, 255, 255, 0.4)
    ),url('../img/about-us-bg.png') no-repeat 65%;
    background: -o-linear-gradient(
      rgba(255, 255, 255, 0.4), 
      rgba(255, 255, 255, 0.4)
    ),url('../img/about-us-bg.png') no-repeat 65%;
}

.footer {
	box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
	background-color: #290b0b;
	color: #ffffff;
}

.copyrights {
	margin: auto;
	text-align: center;
	font-size: 0.75em;
	color: #ae8760;
}

.copyrights a {
	color: #fff;
}

.infor-details.device
.contact-details a,
.social {
	width: 100%;
	display: inline-block;
}

.banner01,
.banner02,
.banner03,
.banner04 {
	width: 100%;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center center !important;
	background-size: cover !important;
}


/*Index*/
.banner01 {
	background: url('../img/banner01.jpg');
}

.banner02 {
	background: url('../img/banner02.jpg');
}

.banner03 {
	background: url('../img/banner03.jpg');
}
.banner04 {
	background: url('../img/banner04.jpg');
}

.swiper-container {
	width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    background: transparent;
    
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide a {
	width: 100%;
	height: 100%;
	display: block;
}

.infor-details.device {
	display: block;
}

.contact-details {
	background: #e9e9e9;
	text-shadow: none;
}

.infor-details.device a {
	text-shadow: none;
}

.infor-details.device
.contact-details:nth-last-of-type(1) {
	border-top: 1px solid #b0b0b0;
}

.infor-details.device
.contact-details a {
	width: 100%;
	display: inline-block;
}

.infor 
.color-1,
.infor 
.color-2,
.about-us {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.infor 
.color-1 {
	background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 1)
    ), url('../img/infor-bg.png') no-repeat 80% 50%;
    background: -moz-linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 1)
    ), url('../img/infor-bg.png') no-repeat 80% 50%;
    background: -webkit-linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 1)
    ), url('../img/infor-bg.png') no-repeat 80% 50%;
    background: -o-linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 1)
    ), url('../img/infor-bg.png') no-repeat 80% 50%;
}

.infor 
.color-2 {
	background: linear-gradient(
      rgba(255, 255, 255, 0.6), 
      rgba(255, 255, 255, 1)
    ), url('../img/contact-us.jpg') no-repeat 50% 50%;
    background: -moz-linear-gradient(
      rgba(255, 255, 255, 0.6), 
      rgba(255, 255, 255, 1)
    ), url('../img/contact-us.jpg') no-repeat 50% 50%;
    background: -webkit-linear-gradient(
      rgba(255, 255, 255, 0.6), 
      rgba(255, 255, 255, 1)
    ), url('../img/contact-us.jpg') no-repeat 50% 50%;
    background: -o-linear-gradient(
      rgba(255, 255, 255, 0.6), 
      rgba(255, 255, 255, 1)
    ), url('../img/contact-us.jpg') no-repeat 50% 50%;
}

.infor-details 
.title {
	color: #46750a;
	text-shadow: none;
}

.infor-details.device 
.fax {
	float: left;
	width: 100%;
	height: 100%;
	display: block;
}

.fax {
	padding: 5% !important;
}

.fax object {
	margin-left: 0 !important;
}

.infor-details.desktop {
	display: none;
}

.infor-details {
	text-shadow: 0 1px #fff;
}

.infor-details 
.title {
	font-weight: bold;
	font-size: 1.5em;
}

.infor-details {
	font-size: 0.90em;
}

.contact-details a,
.contact-details a:hover {
	color:#7D0101;
}

.about-us {
	text-shadow:none;
	color: white;
	font-family: georgia;
	background: linear-gradient(
      rgba(255, 108, 0, 0.6), 
      rgba(255, 108, 0, 1)
    ), url('../img/about-us.jpg') no-repeat 90% 50%;
    background: -moz-linear-gradient(
      rgba(255, 108, 0, 0.6), 
      rgba(255, 108, 0, 1)
    ), url('../img/about-us.jpg') no-repeat 90% 50%;
    background: -webkit-linear-gradient(
      rgba(255, 108, 0, 0.6), 
      rgba(255, 108, 0, 1)
    ), url('../img/about-us.jpg') no-repeat 90% 50%;
    background: -o-linear-gradient(
      rgba(255, 108, 0, 0.6), 
      rgba(255, 108, 0, 1)
    ), url('../img/about-us.jpg') no-repeat 90% 50%;
}

.about-us 
.btnnormal {
	font-family: arial;
	text-align: center;
	text-shadow: none;
	display: block;
}

.social {
	width: 100%;
	padding: 10px 20px;
	background-color: #336699;
	display: block;
}

.social img {
	display: none;
}

.social object,
.social p {
	display: block;
}

.social p {
	color: white;
}


/*About*/
.about-us-img {
	background: url('../img/about-us.jpg') no-repeat;
}

.contact-us-img {
	background: url('../img/contact-us.jpg') no-repeat;
}

.about-us-img,
.contact-us-img {
	display: none;
	background-position: center;
	background-size: cover;
}

.about-us-img.device,
.contact-us-img.device {
	display: block;
	width:100%;
	border-bottom: 5px solid #575757;
}

.content-details p.about-us-text {
	text-indent: 50px;
	text-align: justify;
}


/*Projects*/
.content-details.wide {
	padding: 10% 0;
}

h3.project-title {
	padding-bottom: 10px;
	border-bottom: 2px solid #392817;
	margin: 0 0 20px 0;
}

.project-nav {
	margin-bottom: 30px;
}

.project-thumbnail {
	list-style: none;
}

.project-thumbnail li {
	display: inline-block;
	text-align: center;
}

.project-thumbnail li a {
	display: block;
	overflow: hidden;
}

.project-title {
	margin-top: 3%;
	font-weight: bold;
}

.projects-transition {
  	vertical-align: middle;
	-webkit-transform: translateZ(0);
  	transform: translateZ(0);
  	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.projects-transition:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(124, 0, 0, 0.7);
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.projects-transition:hover:before {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

.projects-transition:after {
	content: "";
	color: #fff;
	font-weight: bold;
	font-size: 1.75em;
}

.projects-transition:hover:after {
	content: "View more";
}

.projects-transition-zoom {
  	vertical-align: middle;
	-webkit-transform: translateZ(0);
  	transform: translateZ(0);
  	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.projects-transition-zoom:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(124, 0, 0, 0.7);
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.projects-transition-zoom:hover:before {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

.projects-transition-zoom:after {
	content: url('../img/magnifiing-glass.png');
	opacity: 0;
	position: relative;
	vertical-align: middle;
	transition: 0.3s all ease;
	transform: translate(0,10px);
	top: 35%;	
}

.projects-transition-zoom:hover:after {
	content: url('../img/magnifiing-glass.png');
}

.projects-transition:after,
.projects-transition-zoom:after {
	opacity: 0;
	position: relative;
	vertical-align: middle;
	top: 35%;
	transition: 0.3s all ease;
	transform: translate(0,10px);
}

.projects-transition:hover:after,
.projects-transition-zoom:hover:after {
	opacity: 1;
	transform: translate(0,0);
}

.imgLiquid img {
    visibility:hidden;
}


/*Navigation*/
ul.nav-link {
	font-weight: bold;
	text-transform: uppercase;
}

ul.nav-link li a {
	color: #8a8a8a;
}

ul.nav-link li a.active {
	color: #b71313;
}

ul.sitemap {
	text-transform: capitalize;
	list-style: none;
}

ul.sitemap li a {
	display: block;
	width: 100%;
}


/*Links*/
a:link {
    text-decoration: none;
}

a:hover {

}

a:visited {

}

a:active {

}


/*Button*/
.btnnormal {
	background-color: #7d0101;
	color: #fff;
	font-weight: bold;
}

/* Sweep To Right */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #575757;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
  color: #fff;
}

.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/*back to top*/
.cd-top {
	border: 1px solid white;
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(124, 0, 0, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	transform: translate(0,30px);
	transition: 0.3s all ease;
	/*-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;*/
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	transform: translate(0,-30px);
	transition: 0.3s all ease;
	/*-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 {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
	transform: translate(0,0);
}

.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5;
}

.no-touch .cd-top:hover {
	background-color: #e86256;
	opacity: 1;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */
.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */
.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */
.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   #Media Queries
   ========================================================================== */
/* Bigger than standard 960 (devices and browsers) */
@media only screen and (min-width: 1025px) {
	/*Page*/
	.header {
		background: #f6f7f7;
	}

	.header 
	.content {
		padding: 20px 0; 
	}

	.main-content {
		min-height: 600px;
	}

	.other {
		background: url('../img/other-bg.jpg');
		box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
	}

	.content {
		margin: 0 auto;
		width: 1024px;
	}

	.logo {
		background: url('../img/rr-logo.png') no-repeat;
		width: 55px;
		height: 66px;
		float: left;
		display: block;
	}

	.company-name-details {
		display: block;
		margin: 1% 0 0 2%;
	}

	.sitemap {
		margin-bottom: 30px;
	}

	.copyrights {
		padding: 30px 0 25px 0;
	}

	.content-details {
		margin: auto;
		min-height: 600px;
		padding: 5% 0 !important;
	    background: url('../img/about-us-bg.png') no-repeat 50%;
	}

	.content-details.wide {
		/*padding: 0 !important;*/
	}

	.content-text {
		width: 100%;
		padding: 0 0 5% 0;
		line-height: 24px;
	}
	
	.about-us {
		color: black;
		box-shadow: none;
		text-shadow: 0 1px rgba(255, 255, 255, 0.4);
	}

	.about-us-img, 
	.contact-us-img {
		width: 50%;
		height: 324px;
		display: block;
		float: right;
		border: 15px solid #575757;
		margin: 0 0 5% 5%;
	}

	.about-us-img, 
	.contact-us-img {
		display: block;
	}

	.about-us-img.device, 
	.contact-us-img.device {
		display: none;
	}

	.swiper-container,
	.banner01,
	.banner02,
	.banner03,
	.banner04 {
		height: 400px;
	}


	/*Index*/
	.featured {
		background: url('../img/featured-bg.jpg') repeat-x;
		padding: :20px 0;
	}

	.featured
	.featured-light-bg {
		margin: 0 auto;
		background: url('../img/featured-light-bg.png') no-repeat;
		max-width: 100%;
		width: 1020px;
		height: 100%;
		padding: 3% 0;
	}

	.swiper-container {
		box-sizing: content-box;
		width: 1024px;
		border: 10px solid white;
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
	}

	.other {
		padding: 30px 0;
	}

	.infor {
		float: left;
		background: url('../img/infor-bg.png') no-repeat;
		width: 653px;
		height: 400px;
		padding: 95px 0 0 70px;
	}

	.infor-details.device {
		display: none;
	}

	.infor 
	.color-1,
	.infor 
	.color-2 {
		background: transparent;
		box-shadow: none;
	}

	.infor-details.desktop {
		display: block;
	}

	.infor-details {
		margin-bottom: 20px;
	}

	.infor-details object {
		width: 3%;
		float: left;
		margin-right: 10px;
	}

	.other
	.holder {
		float: right;
		width: 30%;
	}

	.contact-details {
		background: transparent;
	}

	.holder
	.btnnormal {
		padding: 4% 6%;
	}

	.about-us {
		background: transparent;
	}

	.about-us
	.btnnormal {
		float: right;
		font-size: 0.5em;
		margin-top: 25px;
	}

	.social {
		width: 60%;
		margin-top: 70px;
		padding: 10px 20px;
		background-color: #c2c8a8;
		float: right;
		display: inline-block;
	}

	.social img {
		display: block;
	}

	.social object,
	.social p {
		display: none;
	}


	/*About*/
	.about-us {
		font-size: 2em;
		text-align: right;
	}


	/*Contact*/
	.content-text object {
		width: 2%;
	}

	.content-text
	.title {
		color: #000;
	}

	.infor-details a,
	.infor-details a:hover,
	.contact-details a,
	.contact-details a:hover {
		color:#575757;
	}


	/*Projects*/
	.project-thumbnail li:first-child,
	.project-thumbnail li:nth-child(2) {
	  border-top: 0;
	}

	.project-thumbnail li:nth-child(odd) {
		border-left: 0;
		border-bottom: 0;
	}

	.project-thumbnail li:nth-child(even) {
	  border-bottom: 0;
	}

	.project-thumbnail li:last-child {
	  border-bottom: 0;
	}

	.project-thumbnail li {
		padding: 0 10px 20px 10px;
	}

	.project-thumbnail li {
		border: 0;
	}

	.project-thumbnail li a {
		border: 5px solid #575757 !important;
	}

	.project-title {
		font-size: 1.05em;
	}

	.imgLiquid {
		width: 220px;
		height: 150px;
	}

	h3.project-title {
		padding-bottom: 10px;
		border-bottom: 2px solid #392817;
		margin-bottom: 20px;
	}


	/*Navigation*/
	.navigation {
		text-align: right;
	}

	ul.nav-link {
		margin-top: 18px;
	}

	ul.nav-link li {
		margin-top: 13px;
		height: 35px;
	}

	ul.nav-link li:hover {
		border-bottom: 4px solid #b71313;
	}

	ul.nav-link li a {
		font-size: 1.15em;
	}

	ul.nav-link li,
	ul.sitemap li {
		display: inline-block;
		margin-left: 50px;
	}

	ul.nav-link li:first-child,
	ul.sitemap li:first-child {
		margin-left: 0px;
	}


	/*Button*/
	.btnnormal {
		padding: 1% 2%;
	}

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	/*Pages*/
	.swiper-container,
	.banner01,
	.banner02,
	.banner03,
	.banner04 {
		height: 500px;
	}

	.swiper-pagination,
	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}

	.infor 
	.color-1,
	.infor 
	.color-2,
	.content-details,
	.about-us {
		padding: 5%;
	}

	.company-name-details {
		width: 25%;
		padding: 2% 0 1% 0	;
	}

	.infor-details.device object,
	.social object {
		float: left;
		width: 3%;
		margin: 0.4% 2% 0 38%;
	}

	.infor-details.device
	.contact-details a,
	.social {
		padding: 3%;
	}

	.infor-details.device p,
	.social p {
		margin-top: 3px;
		font-size: 1.25em;
	}

	.copyrights {
		padding: 0 0 25px 0;
	}

	ul.sitemap {
		margin-bottom: 20px;
	}

	ul.sitemap li {
		border-bottom: 1px solid #553a20;
	}

	ul.sitemap li a {
		padding: 3%;
	}

	.content-text {
		width: 100%;
		padding: 0 0 5% 0;
		line-height: 24px;
	}

	.about-us-img,
	.contact-us-img {
		width: 50%;
		height: 324px;
		display: block;
		float: right;
		border: 10px solid #575757;
		margin: 0 0 5% 5%;
	}

	.about-us-img.device,
	.contact-us-img.device {
		display: none;
	}


	/*Index*/
	.logo {
		background: url('../img/rr-logo.png');
		background-repeat: no-repeat;
		background-size: contain;
		width: 4.5%;
		height: 50px;
		margin: 2% 1% 0 5%;
		float: left;
		display: block;
	}

	.banner01 {
		background: url('../img/banner01l.jpg');
	}

	.banner02 {
		background: url('../img/banner02l.jpg');
	}

	.banner03 {
		background: url('../img/banner03l.jpg');
	}

	.banner04 {
		background: url('../img/banner04l.jpg');
	}

	.infor-details 
	.title {
		display: block;
		text-align: center;
	}

	.color-2
	p {
		font-size: 1.25em;
		text-align: center;
	}

	.infor 
	.color-1 {
		border-right: 3px solid white;
	}

	.about-us em {
		text-align: center;
		display: block;
		font-size: 2em;
		width: 55%;
		margin: 0 auto;
	}

	.about-us em:before {
		margin-left: -6%;
	}

	.about-us em:after {
		margin-left: 1%;
	}

	.about-us em:before,
	.about-us em:after {
		content: '"';
		font-size: 2.5em;
		position: absolute;
		margin-top: -20px;
	}

	.infor-details.device {
		float: none;
		width: 100%;
	}

	.about-us a {
		margin: 10% auto 0 auto;
		display: block;
		width: 26%;
	}

	.about-us
	.btnnormal {
		padding: 8% 4%;
	}


	/*Projects*/
	.content-details.wide {
		padding: 4% 0;
	}

	.imgLiquid {
		width: 100%;
		height: 185px;
	}

	.project-nav {
		text-align: center;
	}

	ul.project-thumbnail {
		display: table;
		font-size: 0px;
		width: 100%;
		margin: 0 auto;
	}

	.project-thumbnail li {
		position: relative;
		font-size: 16px;
		text-align: center;
		display: inline-block;
		margin-right: -4px;
		margin: 0 auto;
		width: 25%;
		vertical-align: top;
	}
	
	span.project-title {
		display: block;
		margin-bottom: 20%;
	}

	.project-thumbnail.title-page li,
	.project-thumbnail.title-page li:first-child,
	.project-thumbnail.title-page li:nth-child(2),
	.project-thumbnail.title-page li:nth-child(odd),
	.project-thumbnail.title-page li:nth-child(even),
	.project-thumbnail.title-page li:last-child {
		border: 0;
	}

	.project-thumbnail.title-page li a {
	  border-top: 0;
	  border-right: 2px;
	  border-bottom: 0;
	  border-left: 0;
	  border-style: solid;
	  border-color: #1a0c00;
	}

	.project-thumbnail.title-page li a {
		border: 2px solid #1a0c00;
	}

	.project-thumbnail.title-page li a,
	.project-thumbnail.title-page li:first-child a {
		border-left: none;
	}

	.project-thumbnail.title-page li:nth-child(4n+1) a  {
		border-left: 2px solid #1a0c00;
	}

	.project-thumbnail li,
	.project-thumbnail li:nth-child(4n+1) {
		border: 2px solid #1a0c00;
		border-top: none;
	}

	.project-thumbnail li:nth-child(-n+4) {
		border-top: 2px solid #1a0c00;
	}

	.project-thumbnail li {
		border-left: none;
	}


	/*Navigation*/
	/*Responsive navigation*/
	@-webkit-viewport { width: device-width; }
	@-moz-viewport { width: device-width; }
	@-ms-viewport { width: device-width; }
	@-o-viewport { width: device-width; }
	@viewport { width: device-width; }

	.nav-collapse {
		float: left;
		width: 100%;
	}

	.nav-collapse li:first-child {
		box-shadow: inset 0 5px 4px rgba(0, 0, 0, 0.3);
	}

	.nav-collapse li {
		display: block;
		width: 100%;
		*width: 100%; /* IE7 Hack */
		_width: 100%; /* IE6 Hack */
		border-bottom: 2px solid #cacaca;
		background: #f5f5f5;
		text-align: center;
	}

	.nav-collapse a {
		padding: 1.5em;
		width: 100%;
		display: block;
		margin: 0;
	}

	.nav-collapse li:last-child {
		border: none;
	}

	.nav-collapse.opened {
		max-height: 9999px;
	}

	.nav-toggle {
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		width: 12%;
		margin-top: 18px;
		padding-top: 4%;
		height: 0;
		float: right;
		display: block;
		text-indent: -9999px;
		overflow: hidden;
		background: url("../img/menu.svg") no-repeat 50% 50%;
	}

	/*Button*/
	.btnnormal {
		padding: 2% 3%;
	}

}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	/*Pages*/
	.swiper-container,
	.banner01,
	.banner02,
	.banner03,
	.banner04 {
		height: 350px;
	}

	.swiper-pagination,
	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}

	.infor 
	.color-1,
	.infor 
	.color-2,
	.content-details,
	.about-us {
		padding: 5%;
	}

	.company-name-details {
		width: 40%;
		padding: 2% 0 1% 0	;
	}

	.infor-details.device object,
	.social object {
		float: left;
		width: 4%;
		margin-top: 1%;
		margin-left: 35%;
		margin-right: 3%;
	}

	.infor-details.device
	.contact-details a,
	.social {
		padding: 3%;
	}

	.infor-details.device p,
	.social p {
		margin-top: 3px;
		font-size: 1.25em;
	}

	.copyrights {
		padding: 0 0 25px 0;
	}

	ul.sitemap {
		margin-bottom: 20px;
	}

	ul.sitemap li {
		border-bottom: 1px solid #553a20;
	}

	ul.sitemap li a {
		padding: 3%;
	}


	/*Index*/
	.logo {
		background: url('../img/rr-logo.png');
		background-repeat: no-repeat;
		background-size: contain;
		width: 6%;
		height: 50px;
		margin: 2% 2% 0 5%;
		float: left;
		display: block;
	}

	.banner01 {
		background: url('../img/banner01m.jpg');
	}

	.banner02 {
		background: url('../img/banner02m.jpg');
	}

	.banner03 {
		background: url('../img/banner03m.jpg');
	}

	.banner04 {
		background: url('../img/banner04m.jpg');
	}

	.infor 
	.color-1 {
		border-right: 3px solid white;
	}

	.infor-details 
	.title {
		display: block;
		text-align: center;
	}

	.color-2
	p {
		font-size: 1.25em;
		text-align: center;
	}

	.about-us em {
		text-align: center;
		display: block;
		font-size: 2em;
		width: 70%;
		margin: 0 auto;
	}

	.about-us em:before {
		margin-left: -10%;
	}

	.about-us em:after {
		margin-left: 3%;
	}

	.about-us em:before,
	.about-us em:after {
		content: '"';
		font-size: 2.5em;
		position: absolute;
		margin-top: -20px;
	}

	.infor-details.device {
		float: none;
		width: 100%;
	}

	.about-us a {
		margin: 10% auto 0 auto;
		display: block;
		width: 33%;
	}

	.about-us
	.btnnormal {
		padding: 10%;
	}


	/*Projects*/
	.content-details.wide {
		padding: 5% 0;
	}

	.imgLiquid {
		width: 100%;
		height: 155px;
	}

	.project-nav {
		text-align: center;
	}

	ul.project-thumbnail {
		display: table;
		font-size: 0px;
		width: 100%;
		margin: 0 auto;
	}

	.project-thumbnail li {
		position: relative;
		left: 2.2px;
		font-size: 16px;
		text-align: center;
		display: inline-block;
		margin-right: -4px;
		margin: 0 auto;
		width: 33.1%;
		vertical-align: top;
	}
	
	span.project-title {
		display: block;
		margin-bottom: 20%;
	}

	.project-thumbnail.title-page li,
	.project-thumbnail.title-page li:first-child,
	.project-thumbnail.title-page li:nth-child(2),
	.project-thumbnail.title-page li:nth-child(odd),
	.project-thumbnail.title-page li:nth-child(even),
	.project-thumbnail.title-page li:last-child {
		border: 0;
	}

	.project-thumbnail.title-page li a {
	  border-top: 0;
	  border-right: 2px;
	  border-bottom: 0;
	  border-left: 0;
	  border-style: solid;
	  border-color: #1a0c00;
	}

	.project-thumbnail.title-page li a {
		border: 2px solid #1a0c00;
	}

	.project-thumbnail.title-page li a,
	.project-thumbnail.title-page li:first-child a {
		border-left: none;
	}

	.project-thumbnail.title-page li:nth-child(3n+1) a  {
		border-left: 2px solid #1a0c00;
	}

	.project-thumbnail li,
	.project-thumbnail li:nth-child(3n+1) {
		border: 2px solid #1a0c00;
		border-top: none;
	}

	.project-thumbnail li:nth-child(-n+3) {
		border-top: 2px solid #1a0c00;
	}

	.project-thumbnail li {
		border-left: none;
	}


	/*About*/
	.about-us-img.device,
	.contact-us-img.device {
		position: relative;
		top: 0;
		height: 200px;
	}


	/*Navigation*/
	/*Responsive navigation*/
	@-webkit-viewport { width: device-width; }
	@-moz-viewport { width: device-width; }
	@-ms-viewport { width: device-width; }
	@-o-viewport { width: device-width; }
	@viewport { width: device-width; }

	.nav-collapse {
		float: left;
		width: 100%;
	}

	.nav-collapse li:first-child {
		box-shadow: inset 0 5px 4px rgba(0, 0, 0, 0.3);
	}

	.nav-collapse li {
		display: block;
		width: 100%;
		*width: 100%; /* IE7 Hack */
		_width: 100%; /* IE6 Hack */
		border-bottom: 2px solid #cacaca;
		background: #f5f5f5;
		text-align: center;
	}

	.nav-collapse a {
		padding: 1.5em;
		width: 100%;
		display: block;
		margin: 0;
	}

	.nav-collapse li:last-child {
		border: none;
	}

	.nav-collapse.opened {
		max-height: 9999px;
	}

	.nav-toggle {
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		width: 15%;
		margin-top: 18px;
		padding-top: 5%;
		height: 0;
		float: right;
		display: block;
		text-indent: -9999px;
		overflow: hidden;
		background: url("../img/menu.svg") no-repeat 50% 50%;
	}

	/*Button*/
	.btnnormal {
		padding: 3% 4%;
	}
}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	/*Pages*/
	.swiper-container,
	.banner01,
	.banner02,
	.banner03,
	.banner04 {
		height: 300px;
	}

	.infor-details.device object,
	.social object {
		float: left;
		width: 7%;
		margin: 0.8% 4% 0 25%;
	}

	.infor-details.device
	.contact-details a,
	.social {
		padding: 5%;
	}

	.infor-details.device p,
	.social p {
		margin-top: 3px;
		font-size: 1.25em;
	}

	.copyrights {
		padding: 0 0 25px 0;
	}

	ul.sitemap {
		margin-bottom: 20px;
	}

	ul.sitemap li {
		border-bottom: 1px solid #553a20;
	}

	ul.sitemap li a {
		padding: 5%;
	}

	/*index*/
	.banner01 {
		background: url('../img/banner01s.jpg');
	}

	.banner02 {
		background: url('../img/banner02s.jpg');
	}

	.banner03 {
		background: url('../img/banner03s.jpg');
	}

	.banner04 {
		background: url('../img/banner04s.jpg');
	}

	.company-name-details {
		width: 60%;
		padding: 4% 0 3% 3%;
	}

	.company-name-details span {
		display: none;
	}

	.swiper-pagination,
	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}

	.infor {
		background: url('../img/other-bg.jpg');
	}

	.infor 
	.color-1,
	.infor 
	.color-2,
	.content-details,
	.about-us {
		padding: 10%;
	}

	.infor-details 
	.title {
		display: block;
		text-align: center;
	}

	.color-2 
	p {
		font-size: 1.25em;
		text-align: center;
	}


	/*About*/
	.about-us {
		margin: auto;
		display: block;
	}

	.about-us em {
		text-align: center;
		display: block;
		width: 250px;
		font-size: 1.5em;
		margin: 0 auto;
	}

	.about-us em:before {
		margin-left: -8%;
	}

	.about-us em:after {
		margin-left: 3%;
	}

	.about-us em:before,
	.about-us em:after {
		content: '"';
		font-size: 1.75em;
		position: absolute;
		margin-top: -15px;
	}

	.about-us
	.btnnormal {
		margin-top: 15%;
		float: right;
		width: 50%;
		padding: 5% 3%;
	}

	.about-us-img.device,
	.contact-us-img.device {
		position: relative;
		top: 0;
		height: 200px;
	}


	/*Projects*/
	.imgLiquid {
		width: 100%;
		height: 150px;
	}

	.project-nav {
		text-align: center;
	}

	ul.project-thumbnail {
		display: table;
		font-size: 0px;
		margin: auto;
	}

	.project-thumbnail li {
		font-size: 16px;
		text-align: center;
		display: inline-block;
		margin-right: -4px;
		margin: auto;
		width: 50%;
		vertical-align: top;
	}
	
	span.project-title {
		display: block;
		margin-bottom: 20%;
	}

	.project-thumbnail.title-page li,
	.project-thumbnail.title-page li:first-child,
	.project-thumbnail.title-page li:nth-child(2),
	.project-thumbnail.title-page li:nth-child(odd),
	.project-thumbnail.title-page li:nth-child(even),
	.project-thumbnail.title-page li:last-child {
		border: none;
	}

	.project-thumbnail.title-page li a,
	.project-thumbnail.title-page li:nth-child(2n+1) a {
		border: 2px solid #1a0c00;
	}

	.project-thumbnail.title-page li a {
		border-left: none;
	}

	.project-thumbnail li,
	.project-thumbnail li:nth-child(2n+1) {
		border: 2px solid #1a0c00;
		border-top: none;
	}

	.project-thumbnail li:nth-of-type(2),
	.project-thumbnail li:first-child {
		border-top: 2px solid #1a0c00;
	}

	.project-thumbnail li {
		border-left: none;
	}


	/*Navigation*/
	/*Responsive navigation*/
	@-webkit-viewport { width: device-width; }
	@-moz-viewport { width: device-width; }
	@-ms-viewport { width: device-width; }
	@-o-viewport { width: device-width; }
	@viewport { width: device-width; }

	.nav-collapse {
		float: left;
		width: 100%;
	}

	.nav-collapse li:first-child {
		box-shadow: inset 0 5px 4px rgba(0, 0, 0, 0.3);
	}

	.nav-collapse li {
		display: block;
		width: 100%;
		*width: 100%; /* IE7 Hack */
		_width: 100%; /* IE6 Hack */
		border-bottom: 2px solid #cacaca;
		background: #f5f5f5;
		text-align: center;
	}

	.nav-collapse a {
		padding: 1em;
		width: 100%;
		display: block;
		margin: 0;
	}

	.nav-collapse li:last-child {
		border: none;
	}

	.nav-collapse.opened {
		max-height: 9999px;
	}

	.nav-toggle {
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		width: 20%;
		margin-top: 11px;
		padding-top: 8%;
		height: 0;
		float: right;
		display: block;
		text-indent: -9999px;
		overflow: hidden;
		background: url("../img/menu.svg") no-repeat 50% 50%;
	}

	/*Button*/
	.btnnormal {
		padding: 5% 6%;
	}
}
