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

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

Infection Group BASECAMP CSS

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

#title h1 {
    padding: 200px 43px 14px 23px;
    font-size: 38px;
    line-height: 1.2;
    background: url(gfx/title.png) 5px 30px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #1b568c;
    position: static;
	max-width: 627px;
	margin-top: 3px;
}
.titleinner {
    background: url(gfx/banner-inside.jpg) center 0px no-repeat;
    padding-top: 3px;
    padding-bottom: 0px;
}
.titleinner img {
    display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#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;
}
#content h2:first-of-type { margin-top: 0; }
#content p + h2:first-of-type {	margin-top: 28px; }
#content .grid3 .grid1:nth-of-type(3n) { margin-right: 0; }
#content .grid3 .grid1:nth-of-type(3n+1) { clear: left; }
#content .grid3 .grid1 { margin-bottom: 46px; }
#content .grid3 .grid1 p img {
	   margin-left: 0;
	   margin-bottom: 0;
	   padding: 0;
	   float: none;
	   border: none;
}
#right { background-size: 26px 100%; }
#content .page_subtitle {
	font-size: 18px;
	line-height: 21px;
	margin: 0 0 7px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: rgb(51, 51, 51);
}
#features { display: none; }

/* Profile box */

#content .profile-box {
    background: #dae4ea;
    border: 1px solid #c0d1dc;
    overflow: hidden;
    padding: 14px;
    margin-bottom: 21px;
}
#content .profile-box p img {
    margin-bottom: 0;
    max-width: 140px;
}
#content .profile-box p.smalltag {
    margin-bottom: 35px;
    font-family: Georgia, "Times New Roman", Times, serif;
    letter-spacing: 0.05em;
}

/*  FRONTPAGE  */

body.frontpage {
    background-position: center top;
}
body.frontpage .titleinner {
    background: url(gfx/banner-frontpage.jpg) center 0px no-repeat;
    padding-top: 14px;
    padding-bottom: 21px;
}
body.frontpage #title h1 {
    padding: 270px 0px 0px 23px;
    font-size: 34px;
    line-height: 1.2;
    background: url(gfx/title.png) 25px 55px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 650px;
}

/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#content .grid3 .grid1:nth-of-type(3n) {
	   margin-right: 46px;
	}
	#content .grid3 .grid1:nth-of-type(2n) {
		margin-right: 0;
	}
    #content .grid3 .grid1:nth-of-type(3n+1) {
		clear: none;
	}
}

@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #content .grid3 .grid1:nth-of-type(3n) {
	   margin-right: 46px;
	}
	#content .grid3 .grid1:nth-of-type(2n) {
		margin-right: 0;
	}
    #content .grid3 .grid1:nth-of-type(3n+1) {
		clear: none;
	}
    #right {
        border-bottom: none;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body.frontpage .titleinner,
    .titleinner {
        background: url(gfx/banner-inside.jpg) -400px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 200px 0px 0px 0px;
        background: url(gfx/title.png) 14px 45px no-repeat;
        background-size: 240px;
        font-size: 36px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title.png) 14px 35px no-repeat;
        background-size: 240px;
        font-size: 36px;
    }
}