@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,300&subset=latin,latin-ext);

/***************** 

Executive Education BASECAMP+ CSS

*****************/

#title h1 {
    padding: 330px 0px 14px 23px;
    font-size: 38px;
    line-height: 1.3;
    background: url(gfx/title.png) 18px 120px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #333333;
    position: static;
	margin-top: 3px;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    max-width: 650px;
}
.titleinner {
    background: url(gfx/banner.jpg) center 0px no-repeat;
    padding-top: 3px;
    padding-bottom: 0px;
}
.titleinner img {
    display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#content {
    min-height: auto;
}
#content h2 {
    padding-bottom: 7px;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 28px;
    text-rendering: optimizeLegibility;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#right {
    background-size: 26px 100%;
}

/*  FRONTPAGE  */

body.frontpage #title h1 {
    font-size: 35px;
    max-width: 882px;
}

/* Frontpage features */

body.frontpage #content .grid_half {
    width: 47%;
    margin-right: 6%;
    margin-bottom: 28px;
    box-sizing: border-box;
    box-shadow: 0 0 6px #f0f0f0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 35px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    min-height: 350px;
}
body.frontpage #content .grid_half:hover {
    box-shadow: 0px 0px 0 7px #ffffff, 0 0 0px 8px #dddddd;
    border: 1px solid #fff;
    border-radius: 0px;
}
body.frontpage #content .grid_half:nth-of-type(2n) {
    margin-right: 0;
}
body.frontpage #content .grid_half a {
    border-bottom: none;
}
body.frontpage #content .grid_half img {
    width: 100%;
    max-width: 100%;
}
body.frontpage #content .grid_half h3 {
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
    margin-top: 7px;
}
body.frontpage #content .grid_half p {
    padding-left: 14px;
    padding-right: 14px;
}

/* #triggered */

.slideup, .slidedown {
    max-height: 0;            
    overflow-y: hidden;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
.slideup {
    opacity: 0;
}
.slidedown {
    opacity: 1;
    max-height: 3000px !important;
}
.accordion {
    border: 1px solid #dddddd;
    box-shadow: 0 0 10px #e4e4e4;   
}
.trigger {
    border-bottom: 1px solid #dddddd;
    padding: 7px 14px 7px 14px;
    background-size: 10px;
}
#content .trigger h3 {
    margin: 0;
    font-size: 16px;
}
.trigger:hover {
    background: #f1f4f8;
    cursor: pointer;
}
#content .trigger h3:before {
    content: '+';
    display: inline-block;
    transition: all 0.7s ease;
    margin-right: 10px;
    font-weight: 700;
    width: 15px;
}
#content .trigger.active h3:before {
    content: '–';
    transition: all 0.7s ease;
    color: #4d6678;
}
#content .trigger h3 a {
    border-bottom: none;
}
#content .trigger.active {
    border-bottom: none;
}
#content .slideup,
#content .slidedown {
    padding-left: 40px;
}
#content .slidedown {
    border-bottom: 1px solid #dddddd;
    padding-top: 7px;
}

/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
}

@media only screen and (max-width: 768px) {
	.titleinner {
       background: url(gfx/banner.jpg) -390px 0px no-repeat;
    }
    #title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        font-size: 24px;
        max-width: 882px;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    .titleinner {
        background-size: 1000px;
        width: 100%;
    }
    #title h1 {
        padding: 290px 3% 0px 3%;
        background: url(gfx/title.png) 21px 102px no-repeat;
        background-size: 280px;
        font-size: 32px;
    }
    .titleinner h1 {
       max-width: 97% !important;
       min-width: 186px !important;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
    body.frontpage #content .grid_half {
        min-height: auto;
    }
}

@media only screen and (max-width: 400px) {
    .titleinner {
       background: url(gfx/banner.jpg) -200px 0px no-repeat;
        background-size: 600px;
    }
    #title h1 {
        background-size: 200px;
        background-position: 18px 55px;
        padding-top: 180px;
    }
}