/* 
    Document   : faqstyles
    Created on : Oct 10, 2011, 8:12:01 AM
    Author     : Yousuf Tafhim 
    Description:
        This file is for styling FAQ pages
*/ /* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/


/* General styles for all FAQ pages */

* {
	margin : 0;
}

h1 {
	text-align: center;
	margin: 10px 10px 10px 10px;
	padding: 10px 10px 10px 10px;
}

h2 {
	font-size: 30pt;
	margin: 10px 10px 10px 10px;
	padding-top: 1em;
	padding-left: 40%;
	padding-bottom: 7px;
}

h3 {
	display: block;
	width: 100%;
}

img+form
{
	margin-top: 30px;
}
center {
	margin-bottom: 40px;
}

em{
	font-weight: bold;
	font-style: normal;
}

.question {
	padding: 30px 10px 30px 20px;
}

.answer {
	padding: 10px 0px 10px 55px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	text-align: left;
	line-height: 1.5em;
	width: 95%;
	background: rgb(254, 255, 255); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background:
		url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjcwJSIgc3RvcC1jb2xvcj0iI2VhZjNmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk3JSIgc3RvcC1jb2xvcj0iI2QyZWJmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5ZWI3ZWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, rgba(254, 255, 255, 1) 0%,
		rgba(234, 243, 247, 1) 70%, rgba(210, 235, 249, 1) 97%,
		rgba(158, 183, 237, 1) 100% ); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(254,
		255, 255, 1) ), color-stop(70%, rgba(234, 243, 247, 1) ),
		color-stop(97%, rgba(210, 235, 249, 1) ),
		color-stop(100%, rgba(158, 183, 237, 1) ) ); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(254, 255, 255, 1) 0%,
		rgba(234, 243, 247, 1) 70%, rgba(210, 235, 249, 1) 97%,
		rgba(158, 183, 237, 1) 100% ); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(254, 255, 255, 1) 0%,
		rgba(234, 243, 247, 1) 70%, rgba(210, 235, 249, 1) 97%,
		rgba(158, 183, 237, 1) 100% ); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(254, 255, 255, 1) 0%,
		rgba(234, 243, 247, 1) 70%, rgba(210, 235, 249, 1) 97%,
		rgba(158, 183, 237, 1) 100% ); /* IE10+ */
	background: linear-gradient(top, rgba(254, 255, 255, 1) 0%,
		rgba(234, 243, 247, 1) 70%, rgba(210, 235, 249, 1) 97%,
		rgba(158, 183, 237, 1) 100% ); /* W3C */
	filter: progid :     DXImageTransform.Microsoft.gradient (     
		 startColorstr =  
		  '#feffff', endColorstr =     '#9eb7ed', GradientType =     0 );
	/* IE6-8 */
}


/* For main BAIS, BAIS, main site FAQS */
 
h3 a {
	display: block;
	font-size: 0.9em;
	font-family: Verdana, serif;
	text-decoration: none;
	color: #06F;
	width: 95%;
	padding: 6px 0px 5px 50px;
	border-bottom-style: solid;
	border-width: 1px;
	border-color: #DCE7FD;
	background: url("../images/expand.png") no-repeat;
	background-position: left;
	
}

h3 a:hover {
	background-color: #608BEF;
	color: #FFFFFF;
	width: 95%;
	padding: 6px 0px 5px 50px;
	background-image: url("../images/expandhover.png");
	background-position: left;
}

h3.active a {
	background-image: url("../images/up.png");
}

h3.active a:hover {
	background-image: url("../images/uphover.png");
}


/* Diploma FAQ */

.diploma a:link{
	color: #008000;	
	background: url("../images/expandgreen.png") no-repeat;
	background-position: left;
}

.diploma h3.active a{
	background: url("../images/upgreen.png") no-repeat;
	background-position: left;
}

.diploma a:hover {
	color: #FFFFFF;
	background: #008000 url("../images/expandgreenhover.png") no-repeat;
	background-position: left;
	
}

.diploma h3.active a:hover {
	background: #008000 url("../images/upgreenhover.png") no-repeat;
	background-position: left;
}


/* For registered BAIS students FAQ */ 

.faqcategory li {
	display: inline-block;
	width: 12em;
	list-style-type: none;
	text-align: center;
	margin-bottom: 15px;
	/*border-color: #608BEF;
	border-width: 1px;
	border-style: solid;
	border-left: none;*/
}

.faqcategory li:nth-child(5n+1)
{
	/*border-left: 1px solid #608BEF;*/
}
.catlist {
	width: 85%;
	margin-top: 30px;
	margin-bottom: 60px;
	
	padding: 0 0 0 10em;
}

.faqcategory li a {
	display: block;
	padding: 15px 5px 10px 5px;
	background-color: transparent;
	color: #000;
	text-align: center;
	text-decoration: none;
	font-size: 1.2em;
	/*border-color: #608BEF;
	border-width: 2px;
	border-style: solid;*/
}

.faqcategory li a>img{
	display: block;
	padding : 0 0 0 4px;
	border-style: none;
	width: 150px;
	height: 150px;
	
}

/* Float Shadow */
.float-shadow {
  display: inline-block;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.float-shadow:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
  /* W3C */
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform, opacity;
  transition-property: transform, opacity;
}
.float-shadow:hover, .float-shadow:focus, .float-shadow:active {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  /* move the element up by 5px */
}
.float-shadow:hover:before, .float-shadow:focus:before, .float-shadow:active:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
  /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}










input[type=text] {
	margin: 0 0 1em 0;
	width: 280px;
	padding: 1em;
	font-size: 13px;
}

input[type=submit] {
	border: none;
	margin-left: 0.5em;
	padding: 12px;
	font-size: 16px;
	background: #608BEF;
	color: #FFF;
}

input[type=submit]:HOVER {
	color: #fff;
	background-color: #369;
	text-decoration: none;
}