/* Base */
html, body {
    font-family: "Microsoft JhengHei", "Helvetica Neue", "Noto Sans", Helvetica,Arial, sans-serif;
    font-size: 16px;
}

/* Background */
.bg-photoWall {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a40000+0,ff0036+68 */
    background: rgb(164,0,0); /* Old browsers */
    background: -moz-linear-gradient(45deg,  rgba(164,0,0,1) 0%, rgba(255,0,54,1) 68%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  rgba(164,0,0,1) 0%,rgba(255,0,54,1) 68%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  rgba(164,0,0,1) 0%,rgba(255,0,54,1) 68%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a40000', endColorstr='#ff0036',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    
    height: auto;
    overflow: hidden;
}
.pageDescription {
    background: rgba(255,241,0,0.268);
}
.objectDescription {
    background: rgba(0,160,233,0.268);
}

/* Base */
.pageTitle {
    color: #9e005d;
    font-size: 36px;
    font-weight: bolder;
    padding: 48px 0 24px 0;
    text-align: center;
}

/* Photo Wall */
.photoWall-container {
    position: relative;
}
.ri-grid{
	margin: 0px auto 0px;
	position: relative;
	height: auto;
}

.ri-grid ul {
	list-style: none;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
    position: relative;
    z-index: 50;
}

/* Clear floats by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */

.ri-grid ul:before,
.ri-grid ul:after{
	content: '';
    display: table;
}

.ri-grid ul:after {
    clear: both;
}

.ri-grid ul {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
} 

.ri-grid ul li {
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
	-o-perspective: 400px;
	-ms-perspective: 400px;
	perspective: 400px;	
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	display: block;
	overflow: hidden;
	background: #000;
}

.ri-grid ul li a{
	display: block;
	outline: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #333;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/* Grid wrapper sizes */
.ri-grid-size-1{
	width: 59%;
}
.ri-grid-size-2{
	width: 100%;
}
.ri-grid-size-3{
	width: 100%;
	margin-top: 0px;
}

/* Shadow style */
.ri-shadow:after,
.ri-shadow:before{
	content: "";
	position: absolute;
	z-index: -2;
	bottom: 15px;
	left: 10px;
	width: 50%;
	height: 20%;
	max-width: 300px;
	max-height: 100px;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);
}
.ri-shadow:after{
	right: 10px;
	left: auto;
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	transform: rotate(3deg);
}

.ri-grid-loading:after,
.ri-grid-loading:before{
	display: none;
}

.ri-loading-image{
	display: none;
}

.ri-grid-loading .ri-loading-image{
	position: relative;
	width: 30px;
	height: 30px;
	left: 50%;
	margin: 100px 0 0 -15px;
	display: block;
}
.ri-gridPhotoWallCover {
    background: rgba(164,0,0,.87);
    height: 100%;
    mix-blend-mode: hard-light;
    position: absolute;
    width: 100%;
    z-index: 60;
}
.ri-gridPhotoWallCover img {
    height: 100%;
    mix-blend-mode: hard-light;
    position: absolute;
    width: 100%;
    z-index: 60;
}
.ri-gridCover img {
    max-height: 565px;
    mix-blend-mode: hard-light;
    position: absolute;
    width: auto;
    z-index: 100;
}
.ri-gridPhotoWallMask {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a40000+0,cb1853+100&1+0,0+10,0+90,1+100 */
    background: -moz-linear-gradient(left,  rgba(164,0,0,1) 0%, rgba(168,2,8,0) 10%, rgba(199,22,75,0) 90%, rgba(203,24,83,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(164,0,0,1) 0%,rgba(168,2,8,0) 10%,rgba(199,22,75,0) 90%,rgba(203,24,83,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(164,0,0,1) 0%,rgba(168,2,8,0) 10%,rgba(199,22,75,0) 90%,rgba(203,24,83,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a40000', endColorstr='#cb1853',GradientType=1 ); /* IE6-9 */
    
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 300;
}
.ri-gridSlogan {
    position: absolute;
    z-index: 200 !important;
}
.slogan-left {
    margin-top: 3%;
    padding-left: 300px;
    position: relative;
    z-index: 500 !important;
}
.slogan-line {
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    z-index: 500 !important;
}
.slogan-right {
    margin-top: 15%;
    padding-right: 300px;
    position: relative;
    z-index: 500 !important;
}

/* Page Description */
.pageDescription .card {
    background: rgba(255,255,255,0.0);
    border: none;
}
.pageDescription-textBox {
    background: rgba(0,0,0,0.987);
    color: #FFFFFF;
    line-height: 24px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    top: -30px;
    padding: 15px 20px;
    position: relative;
    width: 95%;
    z-index: 300;
}
.pageDescription-textBox h3 {
    color: #faee00;
    font-size: 21px;
    font-weight: bolder;
    margin-bottom: 12px;
    text-align: center;
}
.pageDescription-textBox:hover {
    background: #c4302b;
    box-shadow: 0 5px 8px rgba(0,0,0,0.875);
    color: #FFFFFF !important;
    cursor: pointer;
}
.pageDescription-textBox:hover>h3 {
    color: #FFFFFF !important;
}

/* Object Description */
.objectDescription .card {
    background: rgba(255,255,255,0.0);
    border: none;
}
.objectDescription .card-header {
    background: rgba(255,255,255,0.0);
    border: none;   
}
.objectDescription-textBox {
    background: rgba(255,255,255,0.987);
    color: rgba(0,0,0,0.875);
    font-size: 15px;
    line-height: 24px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    top: -15px;
    padding: 15px 10px;
    position: relative;
    width: 85%;
    z-index: 300;    
}
.objectDescription .card .card-header h3 {
    color: #ed1e79;
    font-size: 19px;
    font-weight: bolder;
    padding: 2px 26px;
}
.badge-object {
    background-color: #faee00;
}
.objectDescription .card .card-body {
    text-align: center;
}

/* Class Description Animation */
.classDescription p {
    color: #FFFFFF;
    line-height: 24px;
    margin-bottom: 24px;
}
.classDescription h3 {
    color: #0068b7;
    font-size: 19px;
    font-weight: bolder;
    padding: 7px 0;
}
.badge-class {
    background-color: #FFFFFF;
}
.classDescriptionContent {
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 100;
}
.classDescription button {
    border: none;
    color: #0068b7;
    cursor: pointer;
    font-size: 15px;
    font-weight: bolder;
    bottom: 0px;
}
.classDescription button:hover {
    background: #0068b7;
    color: #FFFFFF;
}
.classDescription .card {
    background: rgba(255,255,255,0.0);
    border: none; 
}
.text-lightYello {
    color: #faee00;
}

/* Forms Content */
.formsContent {
    background: #a40000;
}
.listStyle ul {
    padding-left: 15px;
}
.listStyle ul li {
    list-style: disc;
    line-height: 24px;
}

/* Form */
.formCheck {
    min-height: 20px;
    min-width: 20px;
}
.formCheck {
    line-height: 20px;
}