@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/* ---------- standard ---------- */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	color: #878787;
	font-family: 'Open Sans', sans-serif;
}

p {
	font-size: 16px;
	color: #878787;
	margin: 0;
}

a {
	text-decoration: none;
}

input:focus {
	outline: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans Condensed', sans-serif;
	color: #ff7602;
	margin: 0;
}

ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.left {
	float: left;
}

.right {
	float: right;
}

.padding {
	box-sizing: border-box;
	padding: 0px 15px;
}

.center {
	text-align: center;
}

.colorgreen {
	color: #78bc40;
}

.colorblue {
	color: #29166f;
}

.colororange {
	color: #f6821e;
}

.authorColor {
	color: #000;
	font-style: italic;
}
.authorInfoColor p {
	color: #b5b5b5;
}

.bggreen {
	background-color: #78bc40;
}

.bgblue {
	background-color: #29166f;
}

.bgorange {
	background-color: #f6821e;
}

.col1 {
	width: 100%;
	float: left;
}

.col2 {
	width: 50%;
	float: left;
}

.col3 {
	width: 33.33%;
	float: left;
}

.col4 {
	width: 25%;
	float: left;
}

#main{
	width: 75%;
	margin: 0 auto;
}

::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}
/* optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

/* ---------- Header ---------- */

header {
	width: 100%;
	height: 120px;
	float: left;
	border-bottom: 3px solid #f2f2f2;
}

#header {
	width: 80%;
	margin: auto;
}

#header>a>h2 {
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0;
	line-height: 100px;
}

#header .right img {
	margin-top: 17px;
}

/* search */
.search .searchInput {
    display: inline-block;
    border: 1px solid #d8dbde;
    padding: 5px 0 5px 12px;
    font-style: italic;
}

.search .searchSubmit {
	border: 0;
    margin-left: -36px;
    padding: 5px 0px 6px 28px;
    background: #29166f url(../images/search_white.png) no-repeat 7px 4px;  /*#c0c3c7*/
	cursor: pointer;
}



.ajaxSearch_resultLink {
    font-weight: bold;
    font-size: 18px;
	color: #29166f;
}

.button {
	cursor: pointer;
	display: none; /*display: inline-block; */
	line-height: 100px;
	margin: 25px 0;
}

.bar {
	display: block;
	height: 4px;
	width: 50px;
	background-color: #cfcfcf;
	margin: 10px auto;
}

.mobilemenu {
	display: none;
}

/* ---------- Main content ---------- */

#content {
	padding-top: 8%;
	margin: auto;
	width: 80%;
}

#content > h3 {
	font-weight: 500;
	font-size: 30px;
}

#content p {
	padding: 10px 0;
	text-align: justify;
}

#content p a, #content strong a, #content ol li a {
	color: #f6821e;
	transition: color 0.3s ease;
}

#content p a:hover, #content strong a:hover, #content ol li a:hover{
	color: #78bc40;
}

#content ul li {
	list-style-type: disc;
	list-style-position: inside;
}

#content ul li span strong{
	color: #29166f;
}

#content ol li a {
	color:;
}

#content .textbox p{
	color: white;
	padding: 10px;
}

#content .textbox strong{
	color: white;
}

#content .textbox p a {
	color: #29166f;
}

#content .textbox p a:hover{
	color: #78bc40;
}

#content strong {
	color: #78bc40;
}

#content p img {
	padding: 5px;
}

#content table {
	text-align: left;
    font-size: 13px;
    width: 100% !important;
    border-color: #222 !important;
}

#content table thead tr td p strong{
	color: white;
}

#content table tr td {
	padding: 15px;
    vertical-align: top;
}


/* ---------- Cards ---------- */

#cards {
	margin: 2% 0;
}

#cards p {
	color: white;
	padding: 5px;
	font-size: 12px;
}

.card1, .card2, .card3, .card4, .card5, .card6, #card, #card2, #card3{
	width: 300px;
	margin: 15px;
	height: 300px;
	display: inline-block;
	vertical-align: top;
}


.card1:hover, .card2:hover, .card3:hover, .card4:hover, .card5:hover, .card6{
	cursor: pointer;
}

.card > .front {
	background-repeat: no-repeat;
}

.card1 > .front {
	background-image: url(../images/card-1.jpg);
}

.card1 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-1-back.jpg);
}

.card2 > .front {
	background-image: url(../images/card-2.jpg);
}

.card2 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-2-back.jpg);
}

.card3 > .front {
	background-image: url(../images/card-3.jpg);
}

.card3 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-3-back.jpg);
}

.card4 > .front {
	background-image: url(../images/card-4.jpg);
}

.card4 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-4-back.jpg);
}

.card5 > .front {
	background-image: url(../images/card-5.jpg);
}

.card5 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-5-back.jpg);
}

.card6 > .front {
	background-image: url(../images/card-6.jpg);
}

.card6 > .back {
	background: linear-gradient(rgba(10,10,10,0.50),rgba(10,10,10,0.50)), url(../images/card-6-back.jpg);
}

.front .cardText {
	color: white;
	width: 70%;
	font-size: 24px;
	font-weight: 600;
	position: absolute;
	text-align: left;
	bottom: 20px;
	border-left: 3px solid #f6821e;
	left: 30px;
	line-height: 25px;
	border-collapse: separate;
	border-spacing: 40px;
	padding-left: 20px;
}


.back {
	text-align: justify;
}
.cardcolor {
	text-align: center;
	color: white;
	position:relative;
	min-height: 300px;
	line-height: 300px;
	cursor: pointer;
}

.cardcolor img {
	transition: transform .2s ease-in-out;
}

.cardcolor:hover img {
	transform: scale(1.2);
}

.cardcolor a {
	color: white;
}

.pageTitle {
	position: absolute;
	width: 100%;
	text-align: center;
	font-size: 25px;
	font-weight:600;
	line-height: 0;
	bottom: 50px;
}

/* ---------- Table of content ---------- */

.tocButton {
	position: fixed;
	height: 40px;
	width: 200px;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
	margin: auto;
	top: 0;
	bottom: 0;
	left: -80px;
	color: white;
	background: #78bc40;
	font-weight: 800;
	-ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
} 

.tocAuthor {
	color: #f6821e;
	padding: 8px 8px 8px 32px;
	font-size: 12px;
}

.tocButton:hover {
	cursor: pointer;
} 

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background: rgba(30,30,30,0.9);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.sidenav a {
    padding: 5px 8px 5px 32px;
    text-decoration: none;
    font-size: 15px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #f6821e;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}



/* ---------- Author Info ---------- */
.authorButton {
	position: fixed;
	height: 40px;
	width: 200px;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
	margin: auto;
	top: 0;
	bottom: 30%;
	right: -80px;
	color: white;
	background: #29166f;
	font-weight: 800;
	-ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
} 

.authorButton:hover {
	cursor:pointer;
}

.author {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background: rgba(30,30,30,0.9);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.author::-webkit-scrollbar {
	display: none;
}

.author a {
    text-decoration: none;
    font-size: 15px;
    color: white;
    display: block;
    transition: 0.3s;
	word-wrap: break-word;
	width: 290px;
}

.author a:hover, .offcanvas a:focus{
    color: #f6821e;
}

.authorContent {
	padding: 10px;
}

.author h4 {
	color: white;
}

.author .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
	width: initial;
}

.authorMore{
	padding-top: 30px;
	text-align: center;
}

.authorMore button {
	padding: 3%;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	background-color: #f6821e;
	border: 2px solid #f6821e;
	color: white;
	transition: .3s;
}

.authorMore button:hover {
	background-color: white;
	color: #f6821e;
	border: 2px solid #f6821e;
}

/* ---------- Author Info ---------- */
.furtherButton {
	position: fixed;
	height: 40px;
	width: 200px;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
	margin: auto;
	top: 30%;
	bottom: 0;
	right: -80px;
	color: white;
	background: #f6821e;
	font-weight: 800;
	-ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
} 

.furtherButton:hover {
	cursor: pointer;
}

/* ---------- Footer ---------- */

footer {
	width: 100%;
	height: 80px;
	float: left;
	border-top: 3px solid #f2f2f2;
	padding-top: 40px;
}

footer a {
		color: #f6821e; 
} 	

#footer {
	width: 80%;
	margin: auto;
}

#footer h3 {
	padding-bottom: 5px;
}

#footer .copyright {
	padding: 2% 0;
	text-align: center;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width : 1900px) {
	
	#card, #card2, #card3,.card1, .card2, .card3, .card4, .card5, .card6{
		width: 250px;
		margin: 15px;
		height: 250px;
		display: inline-block;
	}


}

@media only screen and (max-width : 1600px) {
	
.front .cardText {
	font-size: 20px;
}
	
	#card, #card2, #card3,.card1, .card2, .card3, .card4, .card5, .card6{
		width: 200px;
		margin: 15px;
		height: 200px;
		display: inline-block;
	}


}

@media only screen and (max-width : 1400px) {
	

}

@media only screen and (max-width : 1200px) {
	#main {
		width: 100%;
	}

	#header {
		width: 90%;
	}

	#content {
		padding-top: 12%;
		margin: auto;
		width: 90%;
	}

	#footer {
		width: 90%;
	}

	#footer p {
		font-size: 14px;
	}

	#card, #card2, #card3,.card1, .card2, .card3, .card4, .card5, .card6{
		width: 250px;
		margin: 15px;
		height: 250px;
		display: inline-block;
	}

	#card, #card4,.card1,.card4 {
		margin-left: 0;
	}

	.cardcolor {
		min-height: 250px;
		line-height: 250px;
	}

}

@media only screen and (max-width : 979px) {
	#content {
		padding-left: 10px;
		padding-right: 10px;
	}

	.card1, .card2, .card3, .card4, .card5, .card6,#card, #card2, #card3{
		width: 200px;
		margin: 15px;
		height: 200px;
		display: inline-block;
	}

	#card, #card4, .card1, .card4 {
		margin-left: 0;
	}

	.front .cardText {
		font-size: 18px;
	}

	.cardcolor {
		min-height: 200px;
		line-height: 200px;
		overflow-wrap: normal; 
	}

	.pageTitle {
		line-height: 30px;
		bottom: 20px;
	}

}

@media only screen and (max-width : 767px) {


	.card1, .card2, .card3, .card4, .card5, .card6,#card, #card2, #card3 {
	    width: 100%;
	    height: 133px;
	    margin: 0px 0;
	 }

	 .card1 > .front, .card2 > .front, .card3 > .front, .card4 > .front, .card5 > .front, .card6 > .front {
	 	background-position: center center;
	 	background-repeat: no-repeat;
	 } 

	 .card1 > .back, .card2 > .back, .card3 > .back, .card4 > .back, .card5 > .back, .card6 > .back {
	 	background-position: center center;
	 	background-size: 100%;
	 	background-repeat: no-repeat;
	 } 

	.card1 > .front {
		background-image: url(../images/first-row.png);
	}

	.card2 > .front {
		background-image: url(../images/2nd-row.png);
	}

	.card3 > .front {
		background-image: url(../images/3rd-row.png);
	}

	.card4 > .front {
		background-image: url(../images/4rd-row.png);
	}

	.card5 > .front {
		background-image: url(../images/5th-row.png);
	}

	.card6 > .front {
		background-image: url(../images/6th-row.png);
	}

	footer {
		padding-top: 0;
	}

	footer .col3 {
		width: 100%;
		padding: 5px 0;
		text-align: center;
	}
	
}

@media only screen and (max-width : 480px) {
	
	#header>a>h2 {
		font-size: 20px;
	}
	
	#header>.right {
		display: none;
	}
	
	#header>a>.left {
		width: 100%;
		text-align: center;
	}
	
	.headerLogo {
		display: none;	
	}

	.button {
		display: none;
	}

	.mobilemenu {
		display: inline-block;
		text-align: center;
		width: 100%;
		border-bottom: 3px solid #efefef;
	}

	.mobilemenu > h3 {
		text-align: center;
		color: #b5b5b5;
		padding: 10px 0;
		text-transform: uppercase;
	} 

	#content {
		padding: 0;
		width: 80%;
	}
	
	.back {
		display: none;
	}
	
	.sideButton {
		font-size: 12px;
		transition: 0.5s;
	}
	
	.tocButton {
		width: 120px;
		height: 30px;
		line-height: 30px;
		left: -45px;
	}

	.authorButton {
		width: 120px;
		height: 30px;
		line-height: 30px;
		right: -45px;
	} 	
	
	.furtherButton {
		width: 120px;
		height: 30px;
		line-height: 30px;
		right: -45px;
	} 
	
	.front .cardText {
		font-size: 12px;
	}

}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

@media only screen and (max-width : 320px) {

}
