﻿body {
}
@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSans-Regular.eot') format('embedded-opentype'), url('../font/OpenSans-Regular.ttf') format('truetype');
}
.css300 {
    -moz-transition: all 300ms;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.css500 {
    -moz-transition: all 500ms;
    -webkit-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
}

@font-face {
    font-family: 'AvenirLTStd-Black';
    src: url('../font/AvenirLTStd-Black.woff') format('woff');
    src: url('../font/AvenirLTStd-Black.ttf') format('truetype'), url('../font/AvenirLTStd-Black.otf') format('opentype'), url('../font/AvenirLTStd-Black.eot') format('embedded-opentype');
}

@font-face {
    font-family: 'AvenirLTStd-Medium';
    src: url('../font/AvenirLTStd-Medium.woff') format('woff');
    src: url('../font/AvenirLTStd-Medium.eot') format('embedded-opentype'), url('../font/AvenirLTStd-Medium.otf') format('opentype'), url('../font/AvenirLTStd-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Futura-T-OT-Book_19064';
    src: url('../font/Futura-T-OT-Book_19064.eot') format('embedded-opentype'), url('../font/Futura-T-OT-Book_19064.ttf') format('truetype');
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('../font/HelveticaNeue.eot') format('embedded-opentype'), url('../font/HelveticaNeue.ttf') format('truetype');
}

a{
    text-decoration:none;
}

#imagebanner {
    width: 100%;
    position: relative;
}

#imagebannersize {
    position: relative;
    width: 100%;
    background: #90caf8 center bottom 40% no-repeat;
    background-size: cover;
    opacity: 0.75;
    padding-top: 10%;
    min-height: 200px;
    box-sizing: border-box;
}

#imagebannertext {
    position: absolute;
    height: 100%;
    width: 95%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    max-width: 85%;
}

#imgbannertable {
    height: 100%;
    width: 100%;
    display: table;
}

#imgbannercell {
    display: table-cell;
    vertical-align: middle;
}

#imgtext {
    font-family: AvenirLTStd-Black;
    color: #15396c;
    font-size: 48px;
}



.happeningsdiv{
    padding:30px 0;
    width:100%;
}

.happeningswrapper {
    width: 85%;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1344px;
}

.happeningsimg{
    width:30%;
    display:inline-block;
    vertical-align:middle;
    

}

.happeningsimgwrapper {
    text-align:center;
    height: 260px;
    background-size: cover;
    background-repeat: no-repeat;
    overflow:hidden;
}

.happeningsimgwrapper img {
    width: 100%;
}

.happeningscontent {
    width: 69%;
    display: inline-block;
    vertical-align:middle;
}

.happeningscontentwrapper{
    width:90%;
    margin:0 auto;
}

.contentheader {
    font-family: AvenirLTStd-Black;
    font-size: 28px;
    line-height: 32px;
    color: #15396c;
}

.contenttext{
    font-family:'Open Sans';
    font-size:18px;
    line-height:24px;
    padding:15px 0;
}

.contentlink {
    font-family: 'Open Sans';
    font-size: 18px;
    line-height: 24px;
    padding: 15px 0;
    color: #15396c;
}

    .contentlink:hover,
    .contentheader:hover{
        color: #56a9d9;
    }

#contentarw{
    padding:0 10px;
}

@media screen and (max-width:870px) 
{
    .happeningsimg,
    .happeningscontent
    {
        width:100%;
        padding:10px 0;
    }

    .happeningsimgwrapper,
    .happeningscontentwrapper{
        width:100%;
    }

    .contentheader{
        font-size:20px;
    }

    .contenttext{
        font-size:14px;
    }
    
}