/*
COLORS:

Light green: #7ed56f
Medium green: #55c57a
Dark green: #28b485
orange: 

*/

/* inheritance problem, don't know why, need to find out more */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #777;
	background-color: fff;
    padding: 0px;
}

.header {
    margin-top: 25px;
    /*height: 100vh;/*view port height */
    background: rgba(240, 240, 240, 0.5);
    background-size: cover;
    background-position: top;
    /*clip-path: polygon(0 0, 100% 0, 100% 100vh, 0 100%); */
	position: relative;
}

.logo-box {
    position: absolute;/*absolute reference from the parent element */
    top: 75px;
    left: 55px;
	z-index: 3333; 
}

.logo {
    height: 99px;
}

.logo:hover {
    animation: none;
}

.text-box{
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: none;
}

.heading-primary {
    color: orange;
    text-transform: uppercase;
/* remove the shaky of the animation may not need it now */
    backface-visibility: hidden;
    margin-bottom: 60px;
}

.heading-primary-main {
    display: block;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: 35px;

    animation-name: moveInLeft;
    animation-delay: 1s;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;

    /*
    https://develpoer.mozilla.org/en-us/docs/web/CSS/animation-timing-function
    animation-iteration-count: 3;
    animation-delay: 3s;
    */
}

.heading-primary-sub {
    display: block;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 18px;

    animation-name: moveInRight;
    animation-delay: 1s;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
}

@keyframes moveInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    80% {
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    80% {
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}


.form__group:not(:last-child){
	margin-bottom:0rem
	}
.form__input{
	font-family:inherit;
    color:inherit;
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #ccc;
	background-color: white;
	font-size:1rem;
	background-image: url('searchicon.png');
	background-position: 10px 10px;
	background-repeat: no-repeat;
	padding: 12px 20px 12px 40px;
    padding:0.5rem 0.5rem;
	border-radius:45px;
	background-color:rbga(rgb(121, 121, 121), 0.5);
    border-bottom:3px solid transparent;
    border: 1px solid lightgray;
	width:90%;display:block;-webkit-transition:all .3s;
	transition:all .3s;
	}

@media only screen and (max-width: 56.25em){
	.form__input{
		width:100%
		}

		}
.form__input:focus{
	outline:none;
	-webkit-box-shadow:0 1rem 2rem rgba(0,0,0,0.1);
	box-shadow:0 1rem 2rem rgba(0,0,0,0.1);
	border-bottom:3px solid #55c57a
	}
.form__input:focus:invalid{
	border-bottom:3px solid #ff7730
	}
.form__input::-webkit-input-placeholder{
	color:#999
	}
.form__label{
	font-size:1.2rem;
	font-weight:700;margin-left:2rem;
	margin-top:.7rem;
	display:block;
	-webkit-transition:all .3s;transition:all .3s
	}
.form__input:placeholder-shown+.form__label{
	opacity:0;visibility:hidden;
	-webkit-transform:translateY(-4rem);
	transform:translateY(-4rem)}
.form__radio-group{
	width:49%;display:inline-block
	}
	@media only screen and (max-width: 56.25em){
.form__radio-group{
	width:100%;margin-bottom:2rem}
	}
.form__radio-input{
	display:none
	}

.form__radio-label{
	font-size:1.6rem;
	cursor:pointer;
	position:relative;
	padding-left:4.5rem
	}
.form__radio-button{
	height:3rem;
	width:3rem;
	border:5px solid #55c57a;
	border-radius:50%;
	display:inline-block;
	position:absolute;
	left:0;
	top:-.4rem}
.form__radio-button::after{
	content:"";
	display:block;
	height:1.3rem;
	width:1.3rem;
	border-radius:50%;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	background-color:#55c57a;
	opacity:0;
	-webkit-transition:opacity .2s;
	transition:opacity .2s}
.form__radio-input:checked ~ .form__radio-label .form__radio-button::after{
	opacity:1
	}

.book__form {
    width: 50%;
    padding: 6rem;
}


.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 40px; /* 15px for top and bottom, 40px is for left and right */
    display: inline-block;
    border-radius: 50px;
    transition: all .2s;
    position: relative;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.btn-white {
    background-color: #fff;
    color: #777;
}

.btn::after {
    content: ""; /* have to specify it even is empty */
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute; /* the reference is the buttom (.btn:link)  */
    top: 0px;
    left: 0px;
    z-index: -1;
    transition: all .45s;
}

.btn-white::after {
    background-color: #fff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-animated {
    animation-name: moveInBottom;
    animation-delay: 1s;
    animation-duration: 3s;
    animation-timing-function: ease-out;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: lightgray;
    color: white;
    text-align: center;
 }


 /* not working yet */
.footer:link,
.footer:visited {
    text-decoration: none;
    padding: 5px;
}



/*
search box
*/

.RNNXgb {/*1 div*/
    background: #fff;
    display: flex;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    border-radius: 24px;
    z-index: 3;
    height: 44px;
    margin: 0 auto;
    width: 382px;/*482 or 580px */
}

.SDkEP {/*2 div*/
    flex: 1;
    display: flex;
    padding: 5px 8px 0 16px;
    padding-left: 14px;
}

.iblpc {/*3 div*/
    display: flex;
    align-items: center;
    padding-right: 13px;
    margin-top: -5px;
}

.hsuHs {/*4 div*/
    margin: auto;
}

.wFncld {/*5-1 span*/
    margin-top: 3px;
    color: #9AA0A6;
    height: 20px;
    width: 20px;
}

.z1asCe {/*5-2 span*/
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px;
}

.MZy1Rb{/*5-3 span*/
    /* can find any yet*/
}

.a4bIc {/*6 div*/
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

.pR49Ae {/*7 div*/
    color: transparent;
    flex: 100%;
    white-space: pre;
    height: 34px;
}

.gLFyf {/*8 input*/
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    color: rgba(0,0,0,.87);
    word-wrap: break-word;
    outline: none;
    display: flex;
    flex: 100%;
    -webkit-tap-highlight-color: transparent;
    margin-top: -37px;
    height: 34px;
    font-size: 16px;
}

.dRYYxd {/*9 div*/
    display: flex;
    flex: 0 0 auto;
    margin-top: -5px;
    align-items: stretch;
    flex-direction: row;
}

.hpuQDe {/*10 div*/
    flex: 1 0 auto;
    display: flex;
    cursor: pointer;
    align-items: center;
    border: 0;
    background: transparent;
    outline: none;
    padding: 0 8px;
    width: 24px;
    line-height: 44px;
}

.HPVvwb {/*11 div google mic*/
    background: url(//www.gstatic.com/images/branding/googlemic/2x/googlemic_color_24dp.png) 0 0 no-repeat;
    background-size: 24px;
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

.Tg7LZd { /*button button */
    flex: 0 0 auto;
    padding-right: 13px;
    height: 44px;
    width: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0;
}

.FAuhyb { /*button div */
    background: none;
    color: orange;
    height: 24px;
    width: 24px;
    margin: auto;
}

.z1asCe { /*button span */
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px;
}

/* table for list orders */

table {   
	border-collapse:collapse;
	border-bottom:1px solid gray;
	font-family: Tahoma,Verdana,Segoe,sans-serif;
	width:100%;
}
 
th {
	border-bottom:3px solid #ff8040;
	background:none repeat scroll 0 0 #09c332;
	padding:10px;
	text-align:left;
	color: #FFFFFF;
}

tr {
	border-top:10px solid gray;
	text-align:left;	
}
 
tr:nth-child(even) {
	background: #FFFFFF; 
	font-size: 18px;
	border: 5px solid #FFFFFF;
	padding:15px;
	}
tr:nth-child(odd) {
	background: #BBBBBB;
	font-size: 18px;
	border: 5px solid #BBBBBB;
	}	
 
#wrapper {width: 100%; margin-top: 0px; }
#header {width: 100%; background: #09c332; margin-top: 0px; padding:15px 0px 15px 15px;}
#header h2 {width: 100%; margin:auto; color: #FFFFFF;}
#container {width: 100%; margin:auto}
#container h3 {color: #000;}
#container #content {margin-top: 20px;}

.add-button {
	border: 1px solid #666; 
	border-radius: 5px; 
	padding: 4px; 
	font-size: 12px;
	font-weight: bold;
	width: 120px; 
	padding: 5px 10px; 
	
	margin-bottom: 15px;
	background: #cccccc;
}
/*end of table */


/* Orange css table format */


  table.t2 {
    width: 100%;
    border-collapse: collapse;
    font-family: Georgia;
  }
  .t2 caption {
    padding-bottom: 0.5em;
    font-weight: bold;
    font-size: 16px;
  }
  .t2 th, .t2 td {
    padding: 4px 8px;
    border: 2px solid #fff;
    background: #fbd7b4;
  }
  .t2 thead th {
    padding: 2px 8px;
    background: #f69546;
    text-align: left;
    font-weight: normal;
    font-size: 13px;
    color: #fff;
  }
  .t2 tbody tr:nth-child(odd) *:nth-child(even), .t2 tbody tr:nth-child(even) *:nth-child(odd) {
    background: #f3eddd;
  }
  .t2 tfoot th {
    padding: 2px 8px;
    background: #f69546;
    text-align: left;
    font-weight: normal;
    font-size: 10px;
    color: #fff;
  }
  .t2 tr *:nth-child(3), .t2 tr *:nth-child(4) {
    text-align: right;
  }


/* end of the orange table format */


/* collapsible address*/
/* because the inherte have to move to the list-order.jsp file
	.collapsible {
		background-color: inherit;
		color: inherit;
		cursor: pointer;
		padding: 0px;
		width: 100%;
		border: none;
		text-align: left;
		outline: none;
		font-size: inherit;
	}

	.active, .collapsible:hover {
		background-color: none;
	}

	.collapsible:after {
		content: '\002B';
		color: green;
		font-weight: bold;
		float: left;
		margin-left: 0px;
	}

	.active:after {
		content: "\2212";
		border: none;
	}

	.content {
		padding: 0px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.2s ease-out;
		background-color: inherit;
	}
	/* end of address collapse */
	
	/* footer */
	.footer {
	   position: fixed;
	   left: 0;
	   bottom: 0;
	   width: 100%;
	   background-color: lightgray;
	   color: white;
	   text-align: center;
	}

