/* Mobile styles for M12 */
.fold .row-item {
	clear: both;
	width: 100%;
	margin-left: 0;
	margin-bottom: 1em;
	padding: 0;
}

.min-only {
	display: inherit;
}

#header {
	background: none;
}

#header .row-3 {
	overflow: hidden;
}

#header .row-item {
	text-align: center;
	width: 100%;
}

#header .row-item-1 img#logo {
	position: relative;
	margin: 0 auto;
}

.row-item,
.wrap {
	width: 100%;
	float: none;
	clear: both;
}

#content-container {
	background: none;
}

#header .row-full {
	position: relative;
	padding: 0;
	height: auto;
}

#header .row-item {
	height: auto;
}

#header h1 {
	font-size: 1.2em;
}

#header .nav-horizontal {
	height: auto;
	margin-left: 0;
	background: #0D228B;
	clear: both;
	padding: 0 0.3em;
	border-top: 1px solid whiteSmoke;
	border-bottom: 1px solid whiteSmoke;
	text-align: center;
}

#header .nav-horizontal li {
	display: inline-block;
}

#header .nav-horizontal-2 {
	display: none;
}

.nav-mobile {
	width: 95%;
    margin: .5rem 0;
    padding: .5rem;
    margin-left: 2.5%;
    margin-top: 1em;
}

.side-col, .main-col {
	padding: 0 0.5em;
	margin-bottom: 1em;
}

/* frontpage */

#theme {
	height: auto;
	margin-bottom: 20px;
}

#theme .row-2 {
	height: 170px;
}

#theme .highlights {
	position: relative;
	width: 50%;
	height: auto;
	background-color: #0d228a;
	font-size: 0.9em;
}

#theme .highlights a:first-child {
	border-top: 1px solid whiteSmoke;
	border-bottom: 1px solid whiteSmoke;
}

#theme .highlights a {
	float: none;
}

#theme .highlights-left {
	float: left;
}

#theme .highlights-right {
	float: right;
}

.tpl-home #content .row-3 .row-item-1,
.tpl-home #content .row-3 .row-item-2,
.tpl-home #content .row-3 .row-item-3 {
	width: 100%;
	clear: both;
	float: none;
	padding: 0 1em;
}

.tpl-home #content .row-full {
	margin-top: 0;
}

.tpl-home #content .row-3 .row-item-2 .block-items {
	padding: 0;
}

.tpl-home .item-events {
	border-top: none;
	margin-bottom: 1.5em;
}

.tpl-home .row-item-2 .item-events h1,
.tpl-home .row-item-3 .item-events h1 {
	margin: 0;
	padding-left: 0;
}

#footer {
    height: auto;
    padding: 0 1em;
    background: #f7f7f7;
    overflow: hidden;
}

#footer .row-item-1  {
	width: 100%;
	margin-left: 0;
	float: none;
	margin: 0 auto;
	text-align: center;
	clear: both;
}

#footer .row-item-2,
#footer .row-item-3 {
	width: 100%;
}

#footer .row-item-2 .row-item {
	clear: none;
	text-align: center;
}

#footer .row-item-2 .row-item img {
	display: inline;
}

.fb {
	float: none;
	width: 100px;
	margin: 0 auto;
	margin-bottom: 0.5em;
}

.nav-horizontal a {
	height: auto;
	padding: 10px;
	font-size: 1em;
	color: #fff;
	float: left;
	position: relative;
	margin: 4px 0;
}

.nav-horizontal .parent a, .nav-horizontal .current a {
	background: #7ec822;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.nav-horizontal .parent #point, .nav-horizontal .current #point {
	display: none;	
}

#back {
	margin-left: 20px;
}

@media only screen and (max-width: 590px) {
	
	#theme .row-2 {
		height: 120px;
	}
}

@media only screen and (max-width: 480px) {
	
	#theme .row-2 {
		height: 100px;
	}
}

.tabs-container {
    padding: 0 !important;
}

.tabs-container .tabs a {
	width: 100%;
}

.row-full .image-highlights {
    text-align: center;
}

.row-full .image-highlights li {
    text-align: center;
    width: 30%;
    display: inline-block;
    vertical-align: middle;
}

/* some */

body #some {
    padding: 0 1em;
    margin: 1em 0 2em 0 !important;
    width: 100%;
}


body #some .content-block {
    display: block;
    width: 90%;
    margin: 0 auto 1em auto;
    position: static !important;
}

.tpl-home.item-events > h1 {
	float: none;
	margin-left: 40% !important;
}