/*
Theme Name: agd
Theme URI: http://www.agd-markgroeningen.de
Description: AGD Template
Author: 124er-Galerie, Andreas Dwrschak, 11.03.2016
Author: http://www.124er-galerie.de
*/


html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,
b, i,dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, tr, td, tbody,
caption, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:top;
    background:transparent;}
body { background: #fff; font-family: "Lucida Grande", "Lucida Sans Unicode", Arial; color: #000; }
img { vertical-align: top; border: none; 	margin: 0; padding: 0; border: 0;}
img.gallery { vertical-align: top; margin: 0; padding: 0; border: 2px solid #fff; margin-bottom: 43px; margin-top: 36px;}
img.pano { vertical-align: top; margin: 0; padding: 0; border: 2px solid #fff; }
.ShopImage { vertical-align: top; margin: 0; padding: 0; margin-top: 12px; }

.wrapper { padding: 0; margin: 0 auto; width: 1228px; } 
.rightbot { font-size: 11px; color: #8c8c8c; margin-right: 0;}
.extra {color: #ae0e1b; font-weight: bold; font-size: 17px;}
.extra_Red_Small {color: #ae0e1b; font-weight: bold; font-size: 14px;}
.red {color: #ae0e1b;}
a.stdnav:link, a.stdnav:active, stdnav:visited, a.stdnav:focus {
	text-decoration: none;
	color: #8c8c8c; }
a.stdnav:hover {
	text-decoration: none;
	color: #ae0e1b; }


a.textlink:link, a.textlink:active, a.textlink:visited, a.textlink:focus {
	/* color: #062c4e; */
  color: #0066cc;
	text-decoration: none;
	font-weight: normal;}
a.textlink:hover {
	color: #8c8c8c; }

a.pictitlelink:link, a.pictitlelink:active, a.pictitlelink:focus {
	color: #00529c; 
	text-decoration: none;
	font-weight: normal;}
a.textlink:hover {
	color: #8c8c8c; }

br.spec{
	display: block;
	margin-bottom: 4px;
	font-size:4px;
	line-height: 4px;}

figcaption {
  padding: 2px 4px 2px 4px;
	font-size: 0.84em;
	margin: 0;
	padding: 12px 0 24px 0;}

p.rightpictitle {
  font-size: 11px;
	margin: -4px 0 0 0;
	padding: 0 43px 24px 0;
	line-height: 14px;}
p.galpictitle {
	margin: 0;
  	font-size: 11px;
	padding: 12px;
	line-height: 14px;
	margin-top: 22px;}

table.maintable {
	border-spacing: 0; 
	width: 1204px; 
	margin: 0; 
	padding: 0; 
	background: #fff;}

td.mainnavifirst {
	background: #dcdcdc;
	text-align: center;
	border-top: 2px solid #990099;
	border-bottom: 2px solid #fff;
	border-left: 0;
	border-right: 1px solid #fff;
	width: 146px;
	margin: 0;
	padding: 6px 2px;}

td.mainnaviitem {
	background: #dcdcdc;
	text-align: center;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	width: 146px;
	margin: 0;
	padding: 6px 2px;}

td.mainnavilast {
	background: #dcdcdc;
	text-align: center;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	border-left: 1px solid #fff;
	border-right: 0;
	width: 146px;
	margin: 0;
	padding: 6px 2px;}

/* subnavi */
table.subnavi {
	margin: 0; 
	padding: 0; 
	background: #fff;
	border-spacing: 0; 
	width: 172px;}
td.subnavi{
	background: #8c8c8c;
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin: 0;
	padding: 3px 2px;
	border-bottom: 2px solid #fff;}
td.tabcur{
	background: #ae0e1b;
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin: 0;
	padding: 3px 2px;
	border-bottom: 2px solid #fff;}

/* Veranstaltungen Demnaechst */
#kal table, #kal th, #kal td { border: 1px solid #8c8c8c; border-collapse: collapse; } 
th.demkal { margin: 0; padding: 4px 4px; font-size: 13px; background: #dcdcdc; color: #ae0e1b; font-weight: bold; text-align: left; }
td.demkal { margin: 0; padding: 4px 4px; font-size: 13px; text-align: left; }

/* Artikel Tabellen */
#art table, #art th, #art td { border: 1px solid #8c8c8c; border-collapse: collapse; } 
th.demart { margin: 0; padding: 0; padding-left: 4px; height: 24px; font-size: 13px; background: #ae0e1b; color: #fff; font-weight: bold; text-align: left; }
td.demart { margin: 0; padding: 4px 4px; font-size: 13px; text-align: left; }



table.intropic {
	background: #fff;
	background-image:url(images/agd-karte.jpg); 
	background-repeat: no-repeat;
  background-position: 0 0;
  width: 1204px;}
/*
td.intropagebg01 {
	background-image:url(../_images/agd-karte-left.jpg); 
	background-repeat: no-repeat;
  background-position: 0 0;}
td.intropagebg02 {
	background-image:url(../_images/agd-karte-right.jpg); 
  background-repeat: no-repeat;
  background-position: 0 0;
  text-align: bottom; }
*/


p {font-size: 14px;}
p.introheader {
	color: #ae0e1b;
	font-family: Times;
	font-style: italic;
	font-size: 1.2em;
	line-height: 1.5em; 
	padding-bottom: 0;
	margin-bottom: -8px;}
p.tablecontent {
	line-height: 1.5em; padding: 0; margin: 0 0 20px;}
p.tablecontentright {
	line-height: 1.5em; 
	margin-top: 0;
	padding-right: 43px;
	line-height: 22px;}
p.tablecontentrightsmall {
	line-height: 1.3em; 
	font-size: 0.84em;
	margin-top: 0;
	padding-right: 43px;}
p.tablesub {
	font-size: 0.8em;
	color: #404040; }
p.pictitle{
	font-size: 0.76em;
	color: #666; 
	padding-left: 24px;
	padding-right: 12px; 
	line-height: 1.2em;}
li.noident {
	margin-left: 16px;
	font-size: 14px;
	line-height: 1.5em;}

/* fuer den shop */
p.tablecontentshop { font-size: 12px; padding: 0; margin: 0 0 24px; line-height: 18px;}
.extrashop {color: #ae0e1b; font-weight: bold;}

/* Das Suchfeld */
input.searchfield[type="search"] {
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    color: #8c8c8c;
    font-size: 0.8em;
    padding: 2px;
    margin: 12px 0px 0px 0px;
    vertical-align: top;
    width: 196px;}
.sbut {
    margin-top:12px;
    padding: 0;
    vertical-align: top;}

/* Recherche */
td.rechheader {
	text-align: center;
	background: #ae0e1b;
	color: #fff;
	font-size: 14px;
	border-bottom: 2px solid #fff;
	padding: 0;
	margin: 0; 
	height: 24px;
	font-weight: bold;}
td.rechtext {
	background: #dcdcdc;
	font-size: 14px;
	padding: 0;
	margin: 0; }
p.rechcontent {
	font-size: 12px;
	line-height: 1.4em;
	padding: 12px 12px 6px 12px;
	margin: 0;
	text-align: left;
	-ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto;}
li.rechnoident {
	margin-left: 24px;
	font-size: 12px;
	line-height: 1.4em;
	text-align: left;
	-ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto;}

/* fuer die subnavigation */
/*
Rot ae0e1b
Dunkelgrau 8c8c8c
Hellgrau dcdcdc
*/

.sub_menu_classA 
{
	position:relative;
	width:172px;
	margin:0 auto;
	padding:0;
	margin-bottom: 12px;
}

.sub_menu_classB 
{
	position:relative;
	width:172px;
	margin:0 auto;
	padding:0;
}

ul#menu-sub-galerie,
  #menu-sub-geschichte-1,  #menu-sub-geschichte-2,  #menu-sub-geschichte-3,
  #menu-sub-artikel,
  #menu-sub-denkmale
{
	margin:0 auto;
	position:relative;
}

ul#menu-sub-galerie li,
  #menu-sub-geschichte-1 li,  #menu-sub-geschichte-2 li,  #menu-sub-geschichte-3 li,
  #menu-sub-artikel li,
  #menu-sub-denkmale li
{
	display:block;
	font-size:14px;
	font-weight:normal;
	margin:0 auto;
	padding:0;
	width:170px;
	border-right:2px solid #fff;
	background: #8c8c8c;
	position:relative;
	text-align: center;
	border-bottom: 2px solid #fff;
}

ul#menu-sub-galerie   .current-menu-item  a,
  #menu-sub-geschichte-1 .current-menu-item  a,  #menu-sub-geschichte-2 .current-menu-item  a,  #menu-sub-geschichte-3 .current-menu-item  a,
  #menu-sub-artikel .current-menu-item  a,
  #menu-sub-denkmale .current-menu-item  a
{ 
	background: #ae0e1b;
	color: #fff;
}

ul#menu-sub-galerie   .current-page-ancestor  a,
  #menu-sub-geschichte-1 .current-page-ancestor  a,  #menu-sub-geschichte-2 .current-page-ancestor  a,  #menu-sub-geschichte-3 .current-page-ancestor  a,
  #menu-sub-artikel .current-page-ancestor  a,
  #menu-sub-denkmale .current-page-ancestor  a
{ 
	background: #ae0e1b;
	color: #fff;
}

ul#menu-sub-galerie   li a,
  #menu-sub-geschichte-1 li a,  #menu-sub-geschichte-2 li a,  #menu-sub-geschichte-3 li a,
  #menu-sub-artikel li a,
  #menu-sub-denkmale li a
{
	color:#fff;
	text-decoration:none;
	display:inline-block;
	background: #999;
	width:170px;
	text-align: center;
	height: 24px;
	line-height: 24px;
	-webkit-transition:color 0.2s linear, background 0.2s linear;
	-moz-transition:color 0.2s linear, background 0.2s linear;
	-o-transition:color 0.2s linear, background 0.2s linear;
	transition:color 0.2s linear, background 0.2s linear;
}

ul#menu-sub-galerie   li a:hover,
  #menu-sub-geschichte-1 li a:hover,  #menu-sub-geschichte-2 li a:hover,  #menu-sub-geschichte-3 li a:hover,
  #menu-sub-artikel li a:hover,
  #menu-sub-denkmale li a:hover
{
	background:#ae0e1b;
	color:#fff;
}

ul#menu-sub-galerie li:hover > a,
  #menu-sub-geschichte-1 li:hover > a,  #menu-sub-geschichte-2 li:hover > a,  #menu-sub-geschichte-3 li:hover > a,
  #menu-sub-artikel li:hover > a,
  #menu-sub-denkmale li:hover > a
{
	background:#ae0e1b;
}
ul#menu-sub-galerie   li a.current,
  #menu-sub-geschichte-1 li a.current,  #menu-sub-geschichte-2 li a.current,  #menu-sub-geschichte-3 li a.current,
  #menu-sub-artikel li a.current,
  #menu-sub-denkmale li a.current
{
	background:#ae0e1b;
	color:#fff;
}

/* sub sub menues */
ul#menu-subsub-denkmale-1-1,  #menu-subsub-denkmale-3-1
{
	margin:0 auto;
	position:relative;
}

ul#menu-subsub-denkmale-1-1 li,  #menu-subsub-denkmale-3-1 li
{
	display:block;
	font-size:14px;
	font-weight:normal;
	margin:0 auto;
	padding:0;
	width:170px;
	border-right:2px solid #fff;
	background: #bcbcbc;
	/* background: #dcdcdc;*/
	position:relative;
	text-align: center;
	border-bottom: 2px solid #fff;
}

ul#menu-subsub-denkmale-1-1 .current-menu-item  a,  #menu-subsub-denkmale-3-1 .current-menu-item  a
{ 
	background: #ae0e1b;
	color: #fff;
}

ul#menu-subsub-denkmale-1-1 .current-page-ancestor  a, #menu-subsub-denkmale-3-1 .current-page-ancestor  a
{ 
	background: #ae0e1b;
	color: #fff;
}

ul#menu-subsub-denkmale-1-1 li a, #menu-subsub-denkmale-3-1 li a
{
	color:#fff;
	text-decoration:none;
	display:inline-block;
	width:170px;
	text-align: center;
	height: 24px;
	line-height: 24px;
	-webkit-transition:color 0.2s linear, background 0.2s linear;
	-moz-transition:color 0.2s linear, background 0.2s linear;
	-o-transition:color 0.2s linear, background 0.2s linear;
	transition:color 0.2s linear, background 0.2s linear;
}

ul#menu-subsub-denkmale-1-1 li a:hover, #menu-subsub-denkmale-3-1 li a:hover
{
	background:#ae0e1b;
	color:#fff;
}

ul#menu-subsub-denkmale-1-1 li:hover > a, #menu-subsub-denkmale-3-1 li:hover > a
{
	background:#ae0e1b;
}
ul#menu-subsub-denkmale-1-1 li a.current, #menu-subsub-denkmale-3-1 li a.current
{
	background:#ae0e1b;
	color:#fff;
}

/*
   Input Felder ------------------------------------------------------------------------------------
*/


*::before, *::after { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
input[type="text"] {
    border: 1px solid #999;
    box-sizing: border-box;
    font-size: 14px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%; }

input[type="email"] {
    border: 1px solid #999;
    box-sizing: border-box;
    font-size: 14px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%; }

textarea {
    border: 1px solid #999;
    box-sizing: border-box;
    font-size: 13px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    width: 100%; }
    
.wpcf7-submit {
    background: #ae0e1b;
    border: 1px solid #8c8c8c;
    color: #dcdcdc; }

.wpcf7-submit:hover {
    background: #dcdcdc;
    border: 1px solid #8c8c8c;
    color: #ae0e1b; }


.galnavleft  {padding: 108px 6px 6px 16px;}
.galnavright {padding: 108px 6px 6px 16px;}


select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    border-radius: 0;
}
input, button, select, textarea {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial; color: #000;
    font-size: 14px;
}
label, input, button, select, textarea {
    font-size: 14px;
    font-weight: normal;
}
input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
input {
    line-height: normal;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
