@charset "UTF-8";

.mainImg{
    background-image: url(../img/events/event-main.jpg);
}

#wrapper{
    position: relative;
    z-index: 1;
}

#years{
    width: 100%;
}

#years ul{
    text-align: center;
    padding:20px 0 20px 0;
	background-color: #ccc;
}

#years ul li{
	display:inline-block;
	margin-left:50px;
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 900;
	font-family: "Source Sans Pro", Arial, sans-serif;
}

#years ul li:first-child{
	margin-left:0;
}

#years ul li a, #years ul li.nonelink{
	display:inline-block\9;/* ie8 */
	zoom:0;/* ie7 */
	opacity:0.3;
	-ms-filter: "alpha(opacity=30)";/*for ie 8 */
	filter: alpha(opacity=30);
    text-decoration: none;
    color: #666;
}

#years ul li a{
    text-decoration: underline;
}

#years ul li a:hover{
	display:inline-block\9;/* ie8 */
	zoom:0;/* ie7 */
	opacity:1;
	-ms-filter: "alpha(opacity=100)";/*for ie 8 */
	filter: alpha(opacity=100);
}

#years ul li a.on{
	display:inline-block\9;/* ie8 */
	zoom:0;/* ie7 */
	opacity:1;
	-ms-filter: "alpha(opacity=100)";/*for ie 8 */
	filter: alpha(opacity=100);
    color: #fff;
}

#panels{
    padding-top: 40px;
    background-color: #2d3547;
    width: 980px;
    margin: 0 auto;
    overflow: hidden;
}

.panel-e{

}

.panel-e .section{
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 20px;
    width: 940px;
}

.panel-e .section .pic{
    float: left;
    width: 455px;
}

.panel-e .section .pic img{
    width: 100%;
}

.panel-e .section .pic .caption{
    font-size: 1.2rem;
    color: #333;
    margin-top: 0.5rem;
}

.panel-e .section .txt{
    float: right;
    color: #333;
    width: 450px;
}

.panel-e .section .txt h2{
    font-size: 2.0rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: left;
    font-weight:bold;
}

.panel-e .section .txt p{
    font-size: 1.4rem;
    line-height: 2.0rem;
}

.panel-e .section .txt p.date{
    color: #999;
    font-size: 1.2rem;
}

/*responsive*/
@media only screen and (min-width:980px) and (max-width:1024px) {
.mainImg {
	height: 50%;
}
}
@media only screen and (max-width:979px) {

.mainImg {
	height: 60%;
}
h1 {
	padding-top: 20%;
	line-height: 1;
}
h1 > span {
	line-height: 2;
}

 #years ul li{
     margin-left:20px;
     margin-right: 20px;
 }

 #years ul li:first-child{
     margin-left: 20px;
 }
#panels{
    width: 100%;
}

    .panel-e .section{
        width: 100%;
        box-sizing: border-box;
    }

    .panel-e .section .pic{
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .panel-e .section .txt{
        float: none;
        width: 100%;
    }

}

@media only screen and (max-width:399px) {
    .mainImg{
        height: 50%;
    }
}

@media only screen and (max-width:767px) and (orientation: landscape) {
.mainImg {
	height: 70%;
}
h1 {
	padding-top: 0;
}

}
