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

@import "__spacing.css"; /* Using Tachyons spacing */

html,
body {
  color: #222;
  font-size: 1em;
  font-family: "Roboto", sans-serif;
  line-height: 1.4;
  margin: 0;
  height: 100%;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * 
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

#container {
  display: flex;
  flex-direction: column;
  /*  height: 100%;  */
  /* max-width: 1000px;   prev-1440  */
  margin: 0 auto;
  padding: 0 25px;
  
}

main {
  flex: 1;
  overflow: auto;
  max-width: 1024px;
  margin: auto;
}

/* The hero image */
.hero-image {
  margin: 0 0;
  background-image: url("../img/image102.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  max-width: 1300px;
}

.header__logo {
  height: 32px;
  padding-left:0px;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.footer__items a {
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

/* ==========================================================================
  Add your CSS here 
   ========================================================================== */
/* fixed header on top */
header {
	height: 50px;
	padding-top: 15px;
	position: fixed;
	background-color: white;
	width: 100%;
	z-index: 1;
}


section {
  overflow: auto;
  border-bottom: 2px solid;
  background: white;
  padding-bottom: 70px;
}

/* position content at center */
.center_content {
	max-width: 1024px;
	margin: auto;
	display: flex;
	justify-content: space-between;
}

/* banner div and text */
.banner{
	/* width: 100%; */
	display: flex;
	justify-content:center;
	margin-top:65px;
}
.banner_middle{
	min-height: 500px;
	align-items: center;
}

.banner_div{
	max-width: 500px; 
	padding-left:10px;
}
.hero_text {
	background-color: white;
	max-width: 500px;
	/* box-shadow: 10px 0 0 #fff, -10px 0 0 #fff;    */
	padding:0px 10px;
	line-height: 120%;
	box-decoration-break: clone;
	-webkit-box-decoration-break:clone;
}


/* text styles */
h1 {
	font-weight: bold;
	font-size: 3.5rem;
	line-height: 100%;
}

h2 {
	font-weight: bold;
	font-size: 2.25rem;
	text-transform: uppercase;
	padding-top: 15px;
}

h3 {
	font-weight: bold;
	font-size: 1.5rem;
	padding: 10px;
	margin: 0px;
}
p {
	font-weight: regular;
	font-size: 1.25rem;
	line-height: 1.25;
}
.caption {
	font-size: 1rem;
	text-transform: uppercase;
	color: #666;
	padding: 20px 10px 15px 10px;
	margin:0px;
}


/* defining flex inside of section */
.section_box {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.sub_section{
	margin-top:10px;
	justify-content: center;
	max-height: 480px;
	overflow: hidden;
}
.col3 {
	width: 29%; /* for 3 columns */
}
.col2 {
	width: 49%;  /* for two columns */
}

.subsection_heading{
	min-height: 120px;
}

.sub_section img{
	width:100%;
}


/* define fixed width for text in p */
.width_500{
	max-width: 500px;
	padding-bottom: 30px;
}

/* for spacing on top and on right */
.space_ontop{
	padding-top:70px;
}
.space_ontop1{
	padding-top:55px;
}
.space_onright{
	margin-right:5%;
}



/* block design styles */
.brand-01{
	background-color: #83AFED;
	min-height: 80px;
}
.brand-02{
	background-color: #F2C94C;
	min-height: 80px;
}
.brand-03{
	background-color: #83e6ed;
	min-height: 80px;
}
.brand-04{
	background-color: #e96fb4;
	min-height: 80px;
}

/* texts with high top space */
.brand_text {
	padding-top: 100px;
	padding-left: 10px;
	margin-bottom: 0px;
	text-transform: uppercase;
}

/* click button style */
.button_01{
	background-color: #000000;
	min-height: 40px;
	color: #FFFFFF;
	margin-left: 0;
	padding: 10px;
	box-sizing: border-box;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.5rem;
}
.button_block{
	width:100%;
	display:block;
}


/* dropdown menu button with click */
.menu_div{
	padding-right: 40px;
	font-size: 1.7em;
    line-height: 1;
	display: inline-block;
    position: relative;
}
.menu_div:hover{
	cursor:pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 240px;
  z-index: 1;
  right: 0;
}

.dropdown-content a {
	color: black;
	font-weight: bold;
	font-size: 24px;
	padding: 25px;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
}

.dropdown-content a:hover {background-color: #ddd;}

/* display on click, control from js */
.show{
	display:block;
}


/* for links with proper top spacing */
a.anchor {
    display: block;
    position: relative;
    top: -67px;
    visibility: hidden;
}



/* make responsive by changing flex wrap */
@media screen and  (max-width: 700px){
	.section_box {
		flex-direction: column;
	}
	.sub_section{
		margin-top:20px;
	}
	.col2, .col3{
		width: 100%;
	}
}




/* ========================================================================== ========================================================================== */



   /*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ========================================================================== ========================================================================== */
   /*
For image zoom in
 */

.zoom {
	transition: transform .2s;
	margin: 0 auto;
}
  
.zoom:hover {
	-ms-transform: scale(1.2); /* IE 9 */
	-webkit-transform: scale(1.2); /* Safari 3-8 */
	transform: scale(1.2);
}
