html,body {
    margin:0;
    padding:0;
    font-family:Source Sans Pro;
}

.header ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mainText > a {
    font-weight:bolder;
}
a {
    font:inherit;
    text-decoration:none;
    color:inherit;
}

.header {
    display:table;
    position: fixed;
    width:100%;
    top:0;
    z-index: 100;
}

.header > div {
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    background-color: rgba(255,255,255,0.9);
}

.header > .logo {
    background-color:#f5821f;
    background-image:url("/lib/media.php?id=5");
    background-position:center;
    background-repeat:no-repeat;
    width:300px;
}

.header > .mobileNavButton {
    display:none;
}

.naviMain {
    float: right;
    padding-right: 20px;
}

.naviMain > li {
    text-align: center;
    float: left;
    position: relative;
}

.naviMain > li > a {
    display: block;
    padding: 31px 15px;
    text-decoration: none;
    color: #6a7475;
    font-size: 24px;
    font-weight:300;
}

.naviMain > li:hover > a,
.naviMain > .active > a {
    border-bottom: 6px solid #f5821f;
}

.subnavi {
    display: none;
    position:absolute;
    background-color: rgba(255,255,255,0.75);
    border-top: 6px solid #f5821f;
}

.subnavi a {
    padding: 10px 15px;
    display: block;
    color: #6a7475;
}

.naviMain > li:hover > .subnavi {
    margin-top:-6px;
    display:block;
}

.teaserArea {
    width: 100%;
    height: 600px;
    position: relative;
    border-bottom: 25px solid #F5821F;
}

.teaserBG, .teaserFG {
    background-position: center top;
    background-size: cover;
    height: 100%;
    width: 100%;
}

.teaserArea > .overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(245, 130, 31, 0.35);
    height: 100%;
    width: 100%;
}

.teaserArea > .overlay > h1 {
    position: absolute;
    bottom: 0;
    width: 850px;
    text-align: center;
    color: #FFF;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35);
    font-size: 60px;
    left: calc(50% - 425px);
}

.teaserBubbles {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.teaserBubbles > div {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
}

.teaserBubbles > div.active {
    background-color: rgba(255, 255, 255, 0.85);
}

#gMap {
    width: 100%;
    position: relative;
    background-color: #fff;
    overflow: hidden;
    height: calc(100% - 70px);
}

.routinglink {
    position: absolute;
    bottom: 0px;
    text-align: center;
    height: 70px;
    background-color: rgba(245, 130, 31, 0.5);
    width: 100%;
    color: #6A7475;
    font-size: 22px;
    font-weight: 300;
}

.routinglink > form {
    display: inline;
    margin-left: 10px;
}

.routinglink input[type="text"] {
    display: inline-block !important;
    width: 200px !important;
}


.mainText {
    color: #6a7475;
    font-size: 20px;
    font-weight: 300;
    line-height: 26px;
    margin: 30px auto;
    max-width: 980px;
    text-align: left;
    width: 80%;
}

.startTripple {
    width: 95%;
    margin: auto;
    max-width: 1250px;
}

.startTripple::after {
    content:"";
    display:block;
    clear:both;
}

.startTripple > div {
    width: 30%;
    margin-right: 5%;
    float: left;
}

.startTripple > div:last-child {
    margin-right: 0%;
}

.listHead {
    background-color: #f5821f;
    display: block;
    padding: 5px 15px;
    color:#fff;
    font-size: 22px;
    font-weight: 300;
}

.startTripple > div:nth-child(2n+1) .listHead{
    background-color: rgba(245, 130, 31, 0.35);
    color:#000;
}

.row {
    display: block;
    padding: 5px 15px;
    margin: 5px 0;
}

.date {
    display: block;
    font-size: 16px;
    font-weight: 300;
}

.title {
    font-size: 18px;
    font-weight: 500;
}

.scrollbutton {
    height: 20px;
    display: block;
    margin: 5px 0px;
    background-color: rgba(245, 130, 31, 0.6);
    cursor:pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.scrollbutton.up {
    background-image: url("/lib/media.php?id=87");
}
.scrollbutton.down {
    background-image: url("/lib/media.php?id=85");
}

.scrollArea {
    overflow: hidden;
    height: 295px;
    margin-top: -5px;
}

.row.course {
    background-color: rgba(245, 130, 31, 0.6);
}

.row.course:nth-child(2n+1) {
    background-color: rgba(245, 130, 31, 0.2);
}

.row input {
    font-family:Source Sans Pro;
}

.row .ui-spinner {
    width: 49%;
    padding: 0px;
    display: block;
    box-sizing: border-box;
    float: left;
}

.row input[type="text"] {
    border: 1px solid #cccccc;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 300;
    padding: 8px 10px;
    width: 100%;
}

.row > input[type="button"] {
    float: right;
    padding: 5px 10px;
    border-radius: 3px;
    border: 0px none;
    background-color: #F5821F;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.hiddenContent {
    display:none;
}

.courseCalendar {
    display: table;
    width: 95%;
    margin: auto;
    border-spacing:10px;
}

.courseRow {
    display: table-row;
}

.cell {
    display: table-cell;
    width: 15%;
    padding: 5px 15px;
}

.courseRow .course {
    background-color: rgba(245, 130, 31, 0.6);
}

.courseRow:nth-child(2n+1) .course {
    background-color: rgba(245, 130, 31, 0.2);
}

.courseRow .course:hover {
    background-color:#F5821F;
}

.courseHeader .cell {
    background-color: rgba(245, 130, 31, 0.35);
    font-size: 20px;
}
.courseHeader .today {
    background-color:#F5821F;
}

.relationBoxes {
    width: 95%;
    margin: auto;
    max-width: 1250px;
}

.contactInfo {
    max-width: 850px;
    margin: 50px auto;
    text-align: center;
    font-size: 36px;
    color: #6A7475;
    width: 85%;
}

.relBox {
    color: #6a7475;
    display: inline-block;
    margin-left:5%;
    margin-right:5%;
    margin-bottom:30px;
    text-align: center;
    vertical-align: top;
    width: 23%;
}

.relBox .image {
    height: 200px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.relBox span {
    display: block;
    font-size: 18px;
    font-weight: 300;
}

.relBox h3 {
    font-size: 24px;
    font-weight: normal;
}

.relBox:last-child {
    margin-right: 0px;
}

.button {
    margin-top: 20px;
    padding: 5px 20px;
    display: inline-block;
    background-color: #f6821f;
    border-radius: 3px;
    color: #fff;
    font-size: 18px;
    border: 0 none;
}

.button.disabled {
    background-color: #CCC;
    padding-right: 30px;
    background-image: url("http://login.insecia.com/images/insecia_loader_tiny.gif");
    background-position: right 8px center;
    background-repeat: no-repeat;
}

.contentList {
    margin: auto;
    max-width: 780px;
    width: 90%;
}

.contentList > h2 {
  border-bottom: 2px solid #f5821f;
  color: #6a7475;
  padding-bottom: 10px;
  margin-top: 80px;
  font-size: 20px;
  font-weight: 400;
}

.messageBox {
    margin-bottom: 20px;
    font-size: 20px;
}

.messageBox.ok {
    color: #008000;
}

.messageBox.err {
    color: #800000;
}

.listItem {
    margin: 40px 0;
    color: #6A7475;
}

.listItem > .title {
    margin-top: 0px;
    font-size: 26px;
    margin-bottom: 5px;
}

.listItem > .text {
    font-weight: 300;
}

.listItem > .button {
    float: right;
}

.contactForm {
    max-width: 95%;
    width: 780px;
    margin: auto;
    text-align:center;
}

.contactForm input[type="text"],
.contactForm textarea, 
.routinglink input[type="text"] {
    border: 1px solid #CCC;
    border-radius: 2px;
    box-sizing: border-box;
    font-family:inherit;
    font-size: 18px;
    font-weight: 300;
    padding: 8px 10px;
    width: 100%;
    margin-bottom: 10px;
}

.contactForm .ui-spinner {
    width: 49%;
    padding: 0px;
    display: block;
    box-sizing: border-box;
    float: left;
}

.contactForm > .button {
    margin-top: 20px;
}

.halfWidthInput {
    width: 49% !important;
    float: left;
}

.timespinner {
    margin: 0px !important;
    width: 100% !important;
    border: 0px none !important;
    box-sizing: border-box;
    float: left;
}

.contactForm > img {
    margin-bottom: 10px;
}

.contactInfo::after,
.listItem::after {
    display:block;
    content:"";
    clear:both;
}

.contactInfo > .infoText {
    margin-bottom: 45px;
}

.contactInfo > .left {
    float:left;
    text-align:left;
}
.contactInfo > .right {
    float:right;
    text-align:right;
}

.contactInfo .icon {
    width: 80px;
    height: 80px;
    display: inline-block;
    background-position:center;
    background-repeat:no-repeat;
    vertical-align: middle;
    margin-right: 10px;
}

.contactInfo .icon.phone {
    background-image:url("/lib/media.php?id=9");
}

.contactInfo .icon.email {
    background-image:url("/lib/media.php?id=7");
}

.footer {
    border-top: 25px solid #F5821F;
    background-color:#6a7475;
    color:#fff;
    margin-top: 50px;
}

.footWrap {
    width:90%;
    font-size:20px;
    margin:auto;
    padding:50px 0;
}

.footWrap > .left > span,
.footWrap > .left > strong,
.footWrap > .right > span {
    display:block;
}

.footWrap > .left {
    float:left;
}

.footWrap > .right {
    float:right;
}

.footWrap::after {
    content:"";
    clear:both;
    display:block;
}

/* gallery */
.gallery {
    margin:30px 0;    
}
.gallery::after {
    clear:both;
    display:block;
    content:"";
}

.photo {
    border: 1px solid #fff;
    box-sizing: border-box;
    float: left;
    height: 200px;
    position: relative;
    width: 25%;    
    cursor: pointer;
}

.photo > .content {
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    padding: 0;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.photo > .overlay {
    background-color: rgba(245, 130, 31, 0.35);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.photo:hover > .content {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}

.photo:hover > .overlay {
    display:none;
}

/* bigPictureBox */

#bigPictureBox {
    -moz-user-select: none;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}
#bigPicture {
    background-position: center center;
    background-repeat: no-repeat;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
}
.picBoxNav {
    background-color: #fff;
    cursor: pointer;
    font-size: 30px;
    font-weight: 600;
    height: 50px;
    line-height: 50px;
    margin-top: -25px;
    opacity: 0.25;
    position: absolute;
    top: 50%;
    width: 50px;
}
.picBoxNav:hover {
    opacity: 0.8;
}
.picBoxLeft {
    border-radius: 0 25px 25px 0;
    left: -35px;
    padding-right: 15px;
    text-align: right;
}
.picBoxLeft:hover {
    left: -15px;
}
.picBoxRight {
    border-radius: 25px 0 0 25px;
    padding-left: 15px;
    right: -35px;
}
.picBoxRight:hover {
    right: -15px;
}
.picBoxExit {
    background-color: #ffffff;
    border-radius: 0 0 0 40px;
    cursor: pointer;
    font-size: 18px;
    height: 20px;
    line-height: 18px;
    opacity: 0.25;
    padding: 5px;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    width: 20px;
}
.picBoxDescription {
    background-color: rgba(2, 104, 152, 0.8);
    color: #ffffff;
    margin: 0 auto;
    position: relative;
    text-align: center;
    top: 50%;
}
.picBoxExit:hover {
    height: 30px;
    opacity: 0.8;
    width: 30px;
}

/* popup box */
#popupBox {
    background-color: rgba(0, 0, 0, 0.75);
    background-image: url("/lib/media.php?id=5275");
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#popupBox .inside {
    background-color: #FFF;
    border: 1px solid #CCC;
    box-sizing: border-box;
    height: 35%;
    margin: 15% 40%;
    padding: 10px;
    width: 20%;
    position: relative;
    border-radius: 12px;
}

#popupContent {
    height: calc(100% - 35px);
    margin-right: -10px;
    margin-top: -10px;
    overflow: auto;
    padding-right: 10px;
    box-sizing: border-box;
    padding-top: 10px;
}

#popupTitle {
    background-color: #F5821F;
    color: #FFF;
    font-size: 18px;
    margin: -10px -10px 10px;
    padding: 10px 40px 10px 10px;
    border-radius: 10px 10px 0px 0px;
}

#closePopup {
    background-color: #FFF;
    border: 1px solid #CCC;
    color: #CCC;
    cursor: pointer;
    height: 30px;
    position: absolute;
    right: -10px;
    text-align: center;
    top: -10px;
    width: 30px;
    border-radius: 30px;
    font-family: Source Sans Pro;
    line-height: 28px;
}

#popupBox h3 {
    color: #f5821f;
    font-size: 28px;
    font-weight: 200;
    margin: 0 0 15px;
}

#popupBox .photo {
    width:33.33%;
}

@media screen and (max-width: 1230px) {
    .naviMain > li > a {
        padding: 33px 6px;
        font-size: 21px;
    }
    
    #popupBox .inside {
        width: 30%;
        margin: 15% 35%;
    }
}