/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2014 Leo Feyer
 *
 * @package Core
 * @link    https://contao.org
 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
 */

/**
 * Standardize some basic elements
 */
body,form,figure {
	margin:0;
	padding:0;
}
img {
	border:0;
}
header,footer,nav,section,aside,article,figure,figcaption {
	display:block;
}

/**
 * Fix some font issues
 */
body {
	font-size:100.01%;
}
select,input,textarea {
	font-size:99%;
}

/**
 * Fix some positioning issues
 */
#container,.inside {
	position:relative;
}

/**
 * Holy grail CSS layout
 *
 * @see http://www.alistapart.com/articles/holygrail
 */
#main,#right {
	float:left;
	position:relative;
	padding: 20px 20px 30px 20px;
}
.blank #main {
	padding: 20px 0 30px 0;
}
.blank #right {
	padding: 20px 0 30px 20px;
}
.blank #header .inside>* {
	margin:0 1%;
}
/*
grid1:80px
grid2:160px
grid3:240px
grid4:320px
grid5:400px
grid6:480px
grid7:560px
grid8:640px
grid9:720px
grid10:800px
grid11:880px
grid12:960px
*/
#main {
	width: 960px;
}
/* 2 Colums */
.layout_r2 #main {width: 760px; padding-right:20px;}/*800-40*/
.layout_r2 #right {width: 120px;}/*160-40*/

.layout_r3 #main {width: 710px; padding-right:20px;margin-right:10px;}/*720-10*/
.layout_r3 #right {width: 240px;}

#footer {
	clear:both;
}
#main .inside {
	min-height:1px; /* see #4893 */
}

/**
 * Format the Contao image galleries (now rendered as unordered lists)
 */
.ce_gallery > ul {
	margin:0;
	padding:0;
	overflow:hidden;
	list-style:none;
}
.ce_gallery > ul li {
	float:left;
}
.ce_gallery > ul li.col_first {
	clear:left;
	margin-left: 0;
}
.ce_gallery > ul li.col_last {
	margin-right: 0;
}


/*ce_gallery with responsive grid */
.ce_gallery *[class*="cols"] li{
	margin:0 1% 2% 1%;
	overflow: hidden;
}

.ce_gallery img {display: block; width: 100%;}

.ce_gallery .cols1 li 	{width:100.0%;}
.ce_gallery .cols2 li	{width:49%;}
.ce_gallery .cols3 li	{width:31.999%;}
.ce_gallery .cols4 li	{width:23.5%;}
.ce_gallery .cols5 li	{width:18.4%;}/**/
.ce_gallery .cols6 li	{width:15%;}
.ce_gallery .cols7 li	{width:12.371%;}/**/
.ce_gallery .cols8 li	{width:10.75%;}/**/
.ce_gallery .cols9 li	{width:9.333%;}/**/
.ce_gallery .cols10 li	{width:8.2%;}/**/
.ce_gallery .cols11 li	{width:7.172%;}/**/
.ce_gallery .cols12 li	{width:6.416%;}

/**
 * Float classes (see #6851)
 */
.float_left {
	float:left;
}
.float_right {
	float:right;
}

/**
 * Clear floats
 */
.block {
	overflow:hidden;
}
.clear,#clear {
	height:0.1px;
	font-size:0.1px;
	line-height:0.1px;
	clear:both;
}

/**
 * Hide invisible elements
 */
.invisible {
	width:0;
	height:0;
	left:-1000px;
	top:-1000px;
	position:absolute;
	overflow:hidden;
	display:inline;
}

/**
 * Custom layout sections
 */
.custom {
    display:block;
}
#container:after,.custom:after {
    content:"";
    display:table;
    clear:both;
}

/* googlemap */
.dlh_googlemap{
	padding-top:64% !important;
	height:0 !important;
	width:100% !important;
}

.hr{
	border-bottom: 1px solid #e2e2e2;
	padding-top:10px;
	margin:0 1% 10px 1%;
}
input[type="submit"], .button {
    font-size: inherit;
}
#nl2go--form td {
	padding-bottom:10px;
}
