@import url('http://fonts.googleapis.com/css?family=Lato:400,700');

/* CSS Document */

* { margin:0; padding:0}
 
body{ font-size: 100%; outline: 0 none; vertical-align: baseline; font-family: 'Lato', sans-serif; color:#444444}
img {width:100%; height:auto; border:none} 
.wrapper { width:1200px; margin:0 auto; }
a {outline: 0;}
header{ width:100%;}
section{ width:100%; padding:0 0 4% 0}
p { line-height:20px; font-size:14px}
h1{font-size:24px; color:#24acb4; padding-bottom:20px; text-transform:uppercase; letter-spacing:1px}
h2{font-size:20px; color:#000000; padding-bottom:10px; text-transform:uppercase; letter-spacing:1px}
h3{font-size:18px; color:#000000; padding-bottom:10px; text-transform:uppercase; letter-spacing:1px}
h4{font-size:60px; color:#FFFFFF; text-transform:uppercase; text-align:center; padding-top:5%; letter-spacing:1px}
h5{font-size:14px; color:#FFFFFF; text-transform:uppercase; text-align:center; padding-bottom:5%; letter-spacing:1px}
h6{font-size:16px; color:#000000; text-transform:uppercase; text-align:center; padding-bottom:5%; letter-spacing:1px}

.logo { width:20%; float:left; padding:1% 0 0 0}
.social_icon{ width:13%; float:right; padding:5% 0 0 0}

.caption_wrap{ width:100%; border-bottom:5px solid #24acb4}
.caption_h{ width:65%; margin:0 auto; border-radius: 15px 15px 0 0; background: #24acb4; font-size:16px; color:#FFF; text-align:center; padding:7px 0 5px 0; font-weight:bold}
.clear{ clear:both}

.center_wrapper{ width:100%; background:#e7e7e7; padding:30px 0;}
.box1{ width:25%; float:left; background:#FFF;}
.home{ width:25%; float:left; background:#a5cbb8}
.about{ width:25%; float:left; background:#a5cbb8}
.products{ width:25%; float:left; background:#a5cbb8}
.services{ width:25%; float:left; background:#a5cbb8}
.application{ width:25%; float:left; background:#a5cbb8}
.contact{ width:25%; float:left; background:#a5cbb8}

.home:hover { background: #4285f4;transition: 0.5s;}
.about:hover { background: #ea4335;transition: 0.5s; }
.products:hover { background: #fbbc05;transition: 0.5s; }
.services:hover { background: #4285f4; transition: 0.5s;}
.application:hover { background: #34a853; transition: 0.5s;}
.contact:hover { background: #ea4335;transition: 0.5s; }

.img_centre{ display:block; margin:auto; width:60%; padding: 19% 0 18% 0;}

 /* Add a black background color to the top navigation */
.topnav {overflow: hidden; padding:0 0 0 5%;}

/* Style the links inside the navigation bar */
.topnav a { float: left; display: block; color: #FFFFFF; text-align: center; padding: 5px 16px; text-decoration: none; font-size: 14px; text-transform:uppercase}

/* Change the color of links on hover */
.topnav a:hover {background-color: #ddd; color: black;}

/* Add an active class to highlight the current page */
.active {  color: white;}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon { display: none;} 

.vission{ width:48%; float:left; background:#CCCCCC;}
.mission{ width:48%; float:right; background:#CCCCCC;}
.vission h2{ padding:2% 5% 2% 5%}
.mission h2{ padding:2% 5% 2% 5%}
.vission p{ padding:2% 5% 3% 5%}
.mission p{ padding:2% 5% 7% 5%}
.vm {font-size:17px; font-style:italic;}


.kezine1{ width:25%; float:left; background:#593a5a;}
.kezine2{ width:25%; float:left; background:#e73728;}
.kezine3{ width:25%; float:left; background:#0094d0;}
.kezine4{ width:25%; float:left; background:#857264;}
.kezine5{ width:25%; float:left; background:#a11b4e;}
.kezine6{ width:25%; float:left; background:#03889b;}
.kezine7{ width:25%; float:left; background:#e7628f;}
.kezine8{ width:25%; float:left; background:#007f4e;}
.kezine {font-size:17px; font-style:italic; padding-bottom:30px}

.why_rockhip{ width:20%; float:left; background:#FFFFFF; padding:5% 2% 0 2%}
.why_rockhip img{ width:60%; display:block; margin:auto;}
.why_rockhip p{ text-align:center}

.we_offer{ width:30%; float:left; background:#FFFFFF; margin:0 3% 0 0; border:1px solid #999}
.offer_pd{ padding:3% 0 0 5%}
.we_offer p{ line-height:22px; padding:3% 0 3% 5%}

footer{ width:100%; background-color:#24acb4;}
.copy{ font-size:13px; text-align:center; color:#FFF; padding:5px 0 5px 0}


.contact_left{ width:30%; float:left;}
.contact_right{ width:68%; float:right;}


#contact {
	padding:0; margin-bottom:10%
}

fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	padding: 0;
	width: 90%;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea {
	width:100%;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:8px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}

#contact textarea {
	height:100px;
	max-width:100%;
  resize:none;
}

#contact button[type="submit"] {
	cursor:pointer;
	width:20%;
	border:none;
	background:#0CF;
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	font-size:15px;
}

#contact button[type="submit"]:hover {
	background:#09C;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}

/* slidder*/

#mixedSlider {
  position: relative;
}
#mixedSlider .MS-content {
  white-space: nowrap;
  overflow: hidden;
  margin: 0 5%;
}
#mixedSlider .MS-content .item {
  display: inline-block;
  width: 33.3333%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  padding: 0 10px;
}
@media (max-width: 991px) {
  #mixedSlider .MS-content .item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  #mixedSlider .MS-content .item {
    width: 100%;
  }
}
#mixedSlider .MS-content .item .imgTitle {
  position: relative;
}
#mixedSlider .MS-content .item .imgTitle .blogTitle {
  margin: 0;
  text-align: left;
  letter-spacing: 2px;
  color: #252525;
  font-style: italic;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  bottom: 0;
  font-weight: bold;
  padding: 0 0 2px 10px;
}
#mixedSlider .MS-content .item .imgTitle img {
  height: auto;
  width: 100%;
}
#mixedSlider .MS-content .item p {
  font-size: 16px;
  margin: 2px 10px 0 5px;
  text-indent: 15px;
}
#mixedSlider .MS-content .item a {
  float: right;
  margin: 0 20px 0 0;
  font-size: 16px;
  font-style: italic;
  color: rgba(173, 0, 0, 0.82);
  font-weight: bold;
  letter-spacing: 1px;
  transition: linear 0.1s;
}
#mixedSlider .MS-content .item a:hover {
  text-shadow: 0 0 1px grey;
}
#mixedSlider .MS-controls button {
  position: absolute;
  border: none;
  background-color: transparent;
  outline: 0;
  font-size: 50px;
  top: 95px;
  color: rgba(0, 0, 0, 0.4);
  transition: 0.15s linear;
}
#mixedSlider .MS-controls button:hover {
  color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 992px) {
  #mixedSlider .MS-controls button {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  #mixedSlider .MS-controls button {
    font-size: 20px;
  }
}
#mixedSlider .MS-controls .MS-left {
  left: 0px;
}
@media (max-width: 767px) {
  #mixedSlider .MS-controls .MS-left {
    left: -10px;
  }
}
#mixedSlider .MS-controls .MS-right {
  right: 0px;
}
@media (max-width: 767px) {
  #mixedSlider .MS-controls .MS-right {
    right: -10px;
  }
}
#basicSlider, #basicSlider2, #basicSlider3, #basicSlider4, #basicSlider5, #basicSlider6 { position: relative; }

#basicSlider, #basicSlider2, #basicSlider3, #basicSlider4, #basicSlider5, #basicSlider6 .MS-content {
  white-space: nowrap;
  overflow: hidden;

}

#basicSlider .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}
#basicSlider2 .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}
#basicSlider3 .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}
#basicSlider4 .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}
#basicSlider5 .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}
#basicSlider6 .MS-content .item {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  vertical-align: middle;
}



@media (max-width: 991px) {

#basicSlider .MS-content .item { width: 25%; }
}
@media (max-width: 767px) {

#basicSlider .MS-content .item { width: 35%; }
}
@media (max-width: 500px) {

#basicSlider .MS-content .item { width: 50%; }
}

#basicSlider .MS-content .item a {
  vertical-align: middle;
}

#basicSlider .MS-controls button { position: absolute; }

#basicSlider .MS-controls .MS-left {
  top: 35px;
  left: 10px;
}

#basicSlider .MS-controls .MS-right {
  top: 35px;
  right: 10px;
}

 /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} 