/* 
 *    Fency Cakes
 *    Author: Grant Marang
 *    Date:   24 AUGUST 2015

 *    Filename: Style.css
 */


/*  Style for the website elements
*/

/*Making the semantic elements into block, so it will display on older browsers.*/
section, article, nav, aside, footer, header, div {
	display:block;
}

body {
	background-image: url(../img/background.gif);
	opacity: 0.90;
	background-size: 100%;
	background-attachment: fixed;
}
#wrapper {
	height: 100%;
	width: 75%;
	margin-top: 6%;
	margin-right: 14%;
	margin-bottom: 50px;
	margin-left: 13%;
	background: white;
	padding: 0px;
	border-radius: 3em 3em 0em 0em;
}
header {
	width: 100%;
	height: 140px;
	border-radius: 3em 3em 0em 0em;
	background: -webkit-linear-gradient(#CF0, white); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#CF0, white); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#CF0, white); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#CF0, white);
}
/*this would be the header image styling because the header image is within the imageStrip Id*/
#imageStrip img{
	width:100%;
	height: 120px;
	border: none;
	margin-bottom: 15px;
}
h3{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
p{
	margin-top: 5px;
	font-style: normal;
	font-size: 16px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #666;
}
/*this is to change the font style of the word Fency when its being used, mostly attached within the span elements*/
.fencySpan{
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-weight: bolder;
}
/*-----------------------------------------*/
/* The Link Rules...*/
a{
	text-decoration:none;
	color:#666;
}
a:hover{
	text-decoration: underline;
	color: #090;
}
/*-----------------------------------------*/
/*this is to style the navigation bar to hold links to the other pages*/
#wrapper nav {
	display: inline;
	height: auto;
	width: 100%;
	border: none;
	letter-spacing: 2px;
	height: auto;
	font-family: Georgia, "Times New Roman", Times, serif;
}
/*the active class is to make the user aware of which page is open in the browser*/
#active{
	background-color:#CC6633;
    color: #CF3;
}
/* properties for links for home div*/
.homeNav{
	text-align:right;
	font-size:18px;
	float: left;
	width: 24%;
	background-color:#CF3;
	min-width: 100px;
	margin-left: 1.5%;
	border-radius: 50px 0px 0px 50px;
	height: 20px;	
}
.homeNav:hover{
	background-color: #C59E62;
	text-decoration: underline;
}
/*end of properties for links for home div*/

/* properties for links for Products div*/
.prodcutNav{
	float: left;
	font-size:18px;
	width: 24%;
	text-align: center;
	background-color:#CF3;
	min-width: 140px;
	height: 20px;
}
.prodcutNav:hover{
	background: #6F0;
	text-decoration: underline;
	background-color: #C59C62;
}
/*end of properties for links for Products div*/

/* properties for links for contact Us div*/
.contactNav{
	float: left;
	width: 24%;
	font-size:18px;
	text-align: left;
	background-color:#CF3;
	min-width: 150px;
	border-radius: 0px 50px 50px 0px;
	height: 20px;
}
.contactNav:hover{
	background: #6F0;
	text-decoration: underline;
	background-color: #C59C62;
}
/*end of properties for links for contact Us div*/
/* properties for links for services div*/
.serviceNav {
    float: left;
	font-size:18px;
	width: 24%;
	text-align: center;
	background-color:#CF3;
	min-width: 140px;
	height: 20px;
}
}
.serviceNav:hover {
	background: #6F0;
	text-decoration: underline;
	background-color: #C59C62;
}
/*End of links style for services page*/
/*this is to define the style rules for the article section in each document*/
article {
	height: auto;
	width: 95%;
	padding-top: 5px;
	margin: 25px;
}
/*
*using the wrapper id, which is the container for all 
*elements in the document to set the aside bar in
*the article section of my document
*/
#wrapper article aside {
	clear: right;
	float: right;
	width: 20%;
	height: 100%;
	margin-right: 7%;
	text-align: left;
	margin-bottom: 20px;
}
/*this is for the unnordered list to remove all text decoration*/
#wrapper article aside ul{
	text-decoration: none;
	height: auto;
}
/*for images in my aside bar on the home page, using an element selector within the id of wrapper, article and aside element selectors*/
#wrapper article aside img{
	width: 120px;
	height: 120px;
	border: solid thin black;
}
#wrapper header h2 {
	margin-top: -40px;
	font-size: 3em;
	font-family: "Lucida Console", Monaco, monospace;
	letter-spacing: .3em;
	text-indent: 2em;
}
#wrapper header h1 {
	font-family: "MS Serif", "New York", serif;
	letter-spacing: 1em;
	text-indent: 10px;
	text-transform: uppercase;
	color: #333;
	font-style: italic;
	position: relative;
	font-size: 60%;
	font-weight: bold;
}
/*footer at the bottom, with a footSect class for different parts of the footer linked to div in the footer*/
footer{
	clear: left;
	text-align: center;
	height: 100%;
	width: 100%;
	margin-bottom: 25px;
	opacity: 0.85;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: x-small;
	padding-top: 20px;
	margin-top: 25px;
	background-color: #CC6633;
	background: -webkit-linear-gradient(#CC6633, white); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#CC6633, white); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#CC6633, white); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#CC6633, white);
}
#footerSectContainer{
	width: 60%;
	margin-left: 18%;
	height:auto;
	border-radius: 10px;
}
.footSect{
	width: 46%;
	height: 150px;;
	background-color: #CCCCCC;
	font-size: 14px;
	color: #C60;
	margin-right: 3px;
	padding: 0.5%;
	border-radius: 0px 0px 30px 0px;
	float: left;
}
.footSect1{
	width: 46%;
	height: 150px;;
	background-color: #CCCCCC;
	font-size: 14px;
	color: #C60;
	margin-right: 5px;
	padding: 0.5%;
	border-radius: 30px 0px 0px 0px;
	float: left;
}

.footSect p{
	font-size: 0.7em;
    margin: 2px auto;
    padding: 0px;
	
}
#footerProgrammerName {
	clear: left;
	margin-bottom: 20px;
	color: #333333;
	font-size: 12px;
	display: block;
	padding-top: 15px;
}
/*---------------end of footer styles rules, using class and id selectors as well as element selectors---------------------------*/
/* contact page styles*/
#contactus{
	border: thin solid #000;
	height: 100px;
	width: 20%;
	margin-top: 1%;
	margin-left: 10px;
	margin-right: 5px;
	margin-bottom: 1%;
	float: right;

}
#contactUSsInformation {
	margin-right: 20%;
	margin-left: 20%;
	float: left;
	border: thick outset #C63;
	margin-top: 2%;
	margin-bottom: 2%;
	border-radius: 2em 2em 0.2em 0.2em;
	background-color: #CC6;
}

/*this is to define the labels within my form on the contact us page. */
.lblContact {
    display: block;
    width: 30%;
    margin: 2% 5% 2% 3%;
    float: left;
}
.txtContact {
    display: block;
    width: 50%;
    margin: 2% 5% 2% 3%;
    float: left;
}
/*here I set the properties for the contact page form using an Id*/
#contactForm{
	padding-left:3%;
	padding-right:3%;
	text-align:center;
}
#btnSubmit{
	padding-left:3%;
	padding-right:3%;
	float: right;
}
#btnClear{
	padding-left:3%;
	padding-right:3%;
	float: left;
}
textarea{
	resize: none;
}
/*below i will give the button a style, using a class*/
.btn{
	font-size: 16px;
	padding: 5px 15px;
	background-color:#C90;
	border: outset thin black;
	border-radius:  15px 15px 15px 15px;
	margin-bottom: 15px;
	
}
.btn:hover{
	font-size: 18px;
	font-weight:500;
	background-color:#CC0;
}

/*------------------end of contact page styles--------------------*/
#menuSection {
	height: auto;
	width: 63%;
	float: left;
	display: inline;
	padding-right: 2%;
	padding-left: 1%;
}
#menuSection img{
	border-radius: 25px;
	float: left;
	width: 30%;
	min-width: 150px;
	height: 100px;
	margin: 10px 5px;
	border: groove thin black;
}
/*here i am using the wrapper id and the article within
* it contains a section with an Id of menuSection,
* and within it i give style rules to the paragragh element.*/
#wrapper article #menuSection p {
	text-align: left;
	font-size: 19px;
	float: none;
	text-indent: 15;
	display: block;
	position: relative;
	vertical-align: top;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	font-family: "Comic Sans MS", cursive;
}
/*--------------------------------------------------*/


/*this styles below is for the product page*/
.productSection1 {
	float: left;
	height: auto;
	width: 80%;
	text-align: left;
	margin-left: 8%;
	margin-top: 15px;
	border-bottom-width: thick;
	border-bottom-style: groove;
	border-bottom-color: #FC3;
	padding-bottom: 25px;
	margin-bottom: 15px;
}
.productDescriptionContainer h3{
	text-align: center;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #B06208;
	clear: left;
	margin-top: 20px;
	margin-bottom: 25px;
}
.productDescriptionContainer img{
	float: left;
	width: 350px;
	height: 230px;
	border-radius: 25px 25px 0px 0px;
	margin-bottom: 25px;
	margin-right: 20px;
	
}
.productDescription{
	height: auto;
	margin-top: 15px;
	padding-bottom: 25px;
	margin-bottom: 15px;
	margin-right: 25px;
	text-align: left;
}

/*this is for a section on the services page, to style the customized cakes section*/
.productSection2 {
	float: left	;
	height: auto;
	width: 80%;
	text-align: left;
	margin-left: 8%;
	margin-top: 15px;
	clear: left;
	border-bottom-width: thick;
	border-bottom-style: groove;
	border-bottom-color: #FC3;
	padding-bottom: 25px;
	margin-bottom: 10px;
}
/*this is to style the container for the images on the product page,
 *and services page, so that it holds the four images together
 */
.imageContainer {
	float: right;
	height: auto;
	width: 35%;
	min-width: 180px;
	margin-left: 15px;
}
.imageContainer2{
	float: left;
	height: auto;
	width: 35%;
	min-width: 180px;
	margin-right: 15px;
}
/*within the imageContainer and imageContainer2 class, I have 3 to 4 images
 *that gets styled within the container class.
 */
.imageContainer img{
	border: solid thin black;
	width: 48%;
	height: 100px;
	margin: 0px 0px 0px 0px  ;
}
.imageContainer2 img{
	border: solid thin black;
	width: 48%;
	height: 100px;
	margin: 0px 0px 0px 0px  ;
}
/*inner Navigation within the aside, i reference it with an Id selector*/
#innerNav{
	text-align:center;
	font-size:12px;
	text-decoration:none;
}
/*Headings I style below.*/
#RHeading {
	text-align: right;
	color: #AB630A;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	clear: right;
}
.LHeading {
	text-align: left;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #B06208;
	clear: left;
}
/*Change the order now text for EXAM*/
.LHeading2 {
	text-align: center;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #00CC00;
	clear: left;
	font-size:28px;
	border: outset thin;
}
.prodSpanHeading{
	text-align: right;
	color: #AB630A;
	font-family: "Comic Sans MS", cursive;
}

/*End of heading style rule declaration*/

/*within the aside element I have an unordered list, 
 *with list items and within that I have anchor links,
 *that I will be styling below using element selectors.
 */
 aside ul li a {
	color: #060;
}
/*end of styling for unnordered list items */

/*the productLinks class selector have headings and paragraph 
 *content that gets styled within the following blocks of code.
 */
.productLinks:hover{
	text-decoration: none;
	color:#666;
}
.productLinks p{
	font-size: 18px;
	font-family: "Comic Sans MS", cursive;
}
.productLinks h3{
	font-size: 24px;
}
/*the end of the productLink styling*/
/*I am styling the table and its smaller cells, as well as
 *the table header with the following style rules
 */
table{
	text-align: left;
	margin-top: 20px;
	margin-bottom: 30px;
}
table td{
	font-size:10px;
}
table th{
	font-size:8px;	
}
/*end of table section*/


#orderFormContainer {
	width: 80%;
	height: auto;
	display: block;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
#productForm label{

}
.productContainer {
	border: medium solid #C93;
	display: block;
	float: left;
	width: 30%;
	margin: 15px 5px 20px 5px;
	height: 200px;
	
}
.productContainer img {
	width: 100%;
	height: 100px;
	clear: left;
}
.numberProduct{
	width: 30px;
	height: 15px;
}
/*.productContainer:hover{
	border: medium solid #000;
	margin: 4px;
}*/
#wrapper article #orderFormContainer #productForm h2 {
	letter-spacing: 1em;
	display: block;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #B06208;
	clear: left;
	font-size: 24px;
	text-align: center;
	border-bottom: thin double #CC9900;
}

/*below is the styling for the  web security web page*/
#webSecurityMain{
	display: block;
	width: 80%;
	margin: 20px 10px 30px 70px;
	border: solid thin black;
	text-align: left;
	height: auto;
	padding: 0px 5%;
}
#webSecurityMain h2, h3{
	color: #AB630A;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
#webSecurityMain a{
	color: #0000FF;
}
#securityYourDevice{
	border-bottom: outset medium #9C0;
	margin: 10px 20px 15px 20px;
	
}
#securityYourDevice p{
	margin:0% 15% 0% 15%;
	font-size:15px;
	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	color:#000;
}
/*end of style for web security page*/
.errorMessages{
	text-align: center;
	color:#F00;
	font-size:20px;
}
.productName{
	display: block;
	background-color:#CC3;
	text-align: center;
	
}
.errorValidationStyle{
	text-align: center;
	color:#F00;
	font-size:20px;
}
#reciept{
	width: 80%;
	height: auto;
	border: thin dashed black;
	margin: 10px auto 15px auto;
	padding: 10px;
	font-size:18px;
}
#reciept h3{
	text-align: center;
	text-decoration: underline;
	margin-bottom: 15px;
}

.showAmountSelected{
	color: red;
	float: right;
	font-weight: bold;
}

.printDate{
	color: black;
	padding: 5px;
	text-align: center;
	border: inset thin white;
	width: 150px;
	margin-left: auto;
	margin-right: auto;
	background-color:#F60;
}

/*style for customPop Up Reciept*/
 .popup-position{
	 /*this hides the pop up*/
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.7);
	width: 100%;
	height: 100%;
 }
 #popup-wrapper{
	 width: 500px;
	 margin: 70px auto;
	 text-align: left;
 }
 #popup-container{
	 background-color: #FFF;
	 padding: 20px;
	 border-radius: 6px;
 }
 #popupButton{
	margin: 30px 20px;
	opacity: 0.6;
	float: right;
	height: 25px;
	width: 100px;
	border-radius: 6px;
	!text-decoration: none;
	color: black;
 }
 #popupButtonExit{
	color: red;
	float: right;
	clear; right;
	margin: 30px 20px;
	font:"Lucida Console", Monaco, monospace;
	
 }
  #btnSignUp{
	width: 40%;
	float: right;
	height: 150px;
 }
  #containerDetail{
 	width: 45%;
	float: left;
	height: auto;
 }
  #btnSign{
	width: 60%;
	height: 60%;
 }
 .printErrorDesign{
 	color: red;
	font-size:18px;
 }
  #newsLetterContainer{
	float: left;
	border: thick outset #C63;
	margin-bottom: 2%;
	height: auto;
	margin-right: 20%;
	margin-left: 20%;
	background-color: #CC6;
	width: 59%;
	
 }
  #newsLetterForm{
	width: 90%;
	background-color:#CC6;
	float: left;
	margin: 30px 20px;
	font:"Lucida Console", Monaco, monospace;
	
 }
  
 

