@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;
	text-align: justify;
}

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;
}

.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: 95%;
	margin: 0 auto;
}

/* ---------- Header ---------- */

header {
	width: 100%;
	height: 100px;
	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;
}

.bar {
	display: block;
	height: 4px;
	width: 50px;
	background-color: #cfcfcf;
	margin: 10px auto;
	-webkit-transition: all .7s ease;
  -moz-transition: all .7s ease;
  -ms-transition: all .7s ease;
  -o-transition: all .7s ease;
  transition: all .7s ease;
}

.button {
	cursor: pointer;
	display: inline-block;
	line-height: 100px;
	margin: 25px 0;
	-webkit-transition: all .7s ease;
  -moz-transition: all .7s ease;
  -ms-transition: all .7s ease;
  -o-transition: all .7s ease;
  transition: all .7s ease;
}

.button:hover div:first-of-type {
	margin: 6px 0px 16px 0px;
}

.button:hover div:last-of-type {
	margin: 16px 0px 6px 0px;
}

.button.active .top {
  -webkit-transform: translateY(15px) rotateZ(45deg);
  -moz-transform: translateY(15px) rotateZ(45deg);
  -ms-transform: translateY(15px) rotateZ(45deg);
  -o-transform: translateY(15px) rotateZ(45deg);
  transform: translateY(15px) rotateZ(45deg);
}

.button.active .bottom {
  -webkit-transform: translateY(-15px) rotateZ(-45deg);
  -moz-transform: translateY(-15px) rotateZ(-45deg);
  -ms-transform: translateY(-15px) rotateZ(-45deg);
  -o-transform: translateY(-15px) rotateZ(-45deg);
  transform: translateY(-15px) rotateZ(-45deg);
}

.button.active .middle { width: 0; }


#mobileMenu {
	width: 100%;
	position: absolute;
	height: calc(100% - 100px);
	z-index: 10;
	background: rgba(255, 255, 255, .9);
	top: 100px;
	display: none;
	overflow-y: scroll;
}

#mobileMenu::-webkit-scrollbar {
    display: none;
}

#mobileMenu div {
	width: 100%;
	text-align: center;
	margin-top: 50px;
}

#mobileMenu div div {
	display: none;
}

#mobileMenu div div a {
	font-size: 60px;
	clear: both;
	margin: 20px 0px;
	color: #222;
	-webkit-transition: color .2s;
    -moz-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

#mobileMenu div div a:hover {
	color: #ff7602;
}

/* ---------- Main content ---------- */

#content {
	padding-top: 8%;
	margin: auto;
	width: 80%;
}

#content > h3 {
	font-weight: 500;
	font-size: 30px;
}

#content p {
	padding: 10px 0;
}

#content p a {
	color: #f6821e;
	transition: color 0.3s ease;
}

#content p a:hover {
	color: #78bc40;
}

#content ul li {
	list-style-type: disc;
	list-style-position: inside;
}

#content ul li span strong{
	color: #29166f;
}

#content .textbox h1{
	color: white;
	padding: 10px;
}

#content .textbox p{
	color: white;
	padding: 10px;
}

#content strong {
	color: #78bc40;
}

#content p img {
	padding: 5px;
}

#content .textbox p a {
	color: #29166f;
}

#content .textbox p a:hover{
	color: #78bc40;
}

#content table {
	text-align: left;
    font-size: 13px;
	border:1px solid;
    width: 100% !important;
    border-color: #222 !important;
}

#content table  tr:nth-child(even) {background: #e1e1e1; }
#content table  tr:nth-child(odd) {background: #FFF}


#content table thead tr td p strong{
	color: white;
}

#content table tr td {
    vertical-align: top;
}


/* ---------- Cards ---------- */

#cards {
	margin: 2% 0;
}

#cards p {
	color: white;
	padding: 5px;
	font-size: 15px;
}

.card1, .card2, .card3, .card4, .card5, .card6, #card, #card2, #card3{
	width: 300px;
	margin: 15px;
	height: 300px;
	display: inline-block;
	vertical-align: top;
}
#header .logo {
	margin: 20px 20px;
	width: 60px;
	overflow: hidden;
	-webkit-transition: width .3s;
    -moz-transition: width .3s;
    -o-transition: width .3s;
    transition: width .3s;
}

#header .logo:nth-child(3) {
	width: 50px;
}

#header .logo:hover {
	width: 250px;
}

#header .logo:nth-child(3):hover {
	width: 150px;
}

/*#card, #card4, .card1, .card4 {
	margin-left: 0;
}*/

.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;
}

.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);
}

.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;
	padding: 7px;
	font-size: 20px;
	top: 30%;
	left: 0;
	color: white;
	background: #78bc40;
	font-weight: 800;
	-ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    transition: 0.5s;
    transform-origin: 0 100%;
}

.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;
	padding: 12px 55px;
	font-size: 20px;
	top: 42%;
	right: 0;
	color: white;
	background: #29166f;
	font-weight: 800;
	-ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: 0.5s;
    transform-origin: 77% 0%;
    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 a {
    text-decoration: none;
    font-size: 15px;
    color: white;
    display: block;
    transition: 0.3s;
}
.author

.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;
}

.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;
}

/* ---------- 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: 6% 0;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width : 1600px) {


}

@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) {

	.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;
	}

}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

@media only screen and (max-width : 320px) {

}
