/*
Theme Name: Majorgaarden
Theme URI: http://www.majorgaarden.dk
Version: 1.0
Author: Thomas Clausen - IdeFA Gruppen
Author URI: http://www.idefa.dk/
*/

/* Reset default browser styles */
@import url('reset.css');

/* GLOBAL */
body { font: 12px Arial, Helvetica, Verdana, sans-serif; line-height: 18px; color: #000; background: #dee3df; overflow-y: scroll; }
h1 { font: 30px Georgia, "Times New Roman", Times, serif; line-height: 1.5em; font-weight: normal; letter-spacing: 1px; margin: 0 0 8px 0; }
h2 { font: 18px Georgia, "Times New Roman", Times, serif; line-height: 1.5em; color: #a72429; font-weight: normal; margin: 0 0 4px 0; }
h3 { font-size: 12px; line-height: 1.25em; margin: 0; }
h4 { font-size: 12px; line-height: 1.25em; font-weight: normal; margin: 0; }
h5 { font-size: 11px; line-height: 1.25em; margin: 0; }
h6 { font-size: 11px; line-height: 1.25em; font-weight: normal; margin: 0; }
p { margin-bottom: 18px; }
a { color: #49556d; }
a:hover, a:focus { color: #8c0a0a; }
sup, sub { font-size: 0.7em; vertical-align: baseline; position: relative; top: -0.4em; }
sub { top: 0.4em; }
form { display: inline; }
hr { height: 1px; color: #000; margin: 10px 0px; border: none; background: #000; }

/* FORMS */
.mailform { width: 100%; }
.form-row { margin: 0 0 0 0; }
label { font-weight: bold; padding: 0 10px 0 0; }
input, textarea, select { width: 100%; font: 11px Arial, Helvetica, Verdana, sans-serif; line-height: 16px; color: #000; padding: 3px; margin: 1px 1px 4px 1px; border: none; background: #eef1ef; -moz-box-sizing: border-box; -webkit-box-sizing: content-box; -ms-box-sizing: border-box; box-sizing: border-box; }
textarea { overflow: auto; }
select { clear: right; }
fieldset { padding: 0; margin: 10px 0; border: 0; }
fieldset label { float: left; display: inline; clear: right; }
fieldset input { float: left; display: inline; clear: left; }
legend { font-weight: bold; margin: 0 0 5px 0; }
input.checkbox, input[type=checkbox], input.radio, input[type=radio] { width: auto; margin: 2px 15px 2px 0; border: none; background: none; }
input.button, input[type=submit] { width: auto; color: #000; padding: 1px 14px; margin: 6px 0 0 0; float: right; display: inline; clear: both; }
.required { font-weight: bold; color: #93332e; }

.newsletterSubscription { width: 372px; line-height: 22px; }
.newsletterSubscription label { width: 60px; float: left; display: inline; }
.newsletterSubscription input { width: 300px; border: none; background: #d7d7d7; float: left; display: inline; }
.newsletterSubscription input.button, .newsletterSubscription input[type=submit] { width: auto; font-weight: bold; color: #fff; background: #396; float: right; }
.newsletterSubscription .required { width: 100%; margin: 0 0 17px 0; display: block; }

/* ELEMENTS */
#wrap { width: 932px; padding: 8px 8px 0 8px; margin: 0 auto; background: #fff; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }

#colMargin { padding: 0 0 8px 0; }

#globalnav { width: 212px; font-size: 10px; color: #fff; text-align: right; padding: 8px 6px 4px 6px; margin: -38px 0 0 708px; background: #0d495f; position: absolute; -moz-border-radius: 6px 0 0 0; -webkit-border-top-left-radius: 6px; -webkit-border-top-right-radius: 0; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; border-radius: 6px 0 0 0; }
#globalnav a { margin: 0 6px 0 0; }
#globalnav #searchform { width: 100px; margin: -2px 0 0 0; float: right; display: inline; position: relative; white-space: nowrap; }
#globalnav #searchform input { width: 62px; color: #000; padding: 2px 1px; margin: 0; border: none; background: #fff; }
#globalnav #searchform input.button, #globalnav #searchform input[type=submit] { width: 30px; color: #fff; padding: 0 1px; margin: 0 5px 0 0; background: none; }

#logo2 { width: 268px; height: 46px; margin: 0 0 0 -64px; position: absolute; }

/* MAINMENU */
ul#mainmenu { padding: 0 0 0 225px; background: #8f1c24; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
ul#mainmenu li { display: inline-block; position: relative; white-space: nowrap; z-index: 99; }
ul#mainmenu a { font-weight: bold; color: #fff; text-decoration: none; padding: 15px 6px 13px 6px; display: block; }
ul#mainmenu a:hover, ul#mainmenu a:focus { color: #fdb813; }

/* SUBMENU'S */
ul#mainmenu ul { width: 200px; padding: 0; border-top: 1px solid #7fa5b1; border-bottom: 1px solid #7fa5b1; background: #dee4e0; position: absolute; top: 100%; left: 0; z-index: 100; }
ul#mainmenu ul ul { z-index: 200; top: 0; left: 100%; }

ul#mainmenu ul li { width: 100%; display: block; white-space: normal; }
ul#mainmenu ul a { line-height: 18px; color: #000; padding: 0 8px; border-left: 3px solid #dee4e0; }
ul#mainmenu ul a:hover, ul#mainmenu ul a:focus, ul#mainmenu ul li.current a { color: #ad111d; border-left: 3px solid #a72429; }

/* Fix IE. Hide from IE Mac \*/
ul#mainmenu li { float: left; }
ul#mainmenu li a { height: 1%; }
/* End */

ul#mainmenu ul, ul#mainmenu ul ul, ul#mainmenu ul ul ul, ul#mainmenu ul ul ul ul,
ul#mainmenu li:hover ul ul, ul#mainmenu ul li:hover ul ul, ul#mainmenu ul ul li:hover ul ul, ul#mainmenu ul ul ul li:hover ul ul,
ul#mainmenu li.over ul ul, ul#mainmenu ul li.over ul ul, ul#mainmenu ul ul li.over ul ul, ul#mainmenu ul ul ul li.over ul ul { display: none; }

ul#mainmenu li:hover ul, ul#mainmenu ul li:hover ul, ul#mainmenu ul ul li:hover ul, ul#mainmenu ul ul ul li:hover ul { display: block; }
ul#mainmenu li.over ul, ul#mainmenu ul li.over ul, ul#mainmenu ul ul li.over ul, ul#mainmenu ul ul ul li.over ul { display: block; }

#tagline { padding: 8px 0 18px 30px; }

#colRight { width: 204px; float: right; display: inline; }
#sidebar-right { width: 204px; float: right; display: inline; }
#sidebar-right .box { margin: 10px 0 0 0; }
#sidebar-right a { }

#main { width: 720px; float: left; display: inline; }
#main table.contenttable { width: 100%;  }
#main table.contenttable tr { }
#main table.contenttable th, #main table.contenttable td { padding: 2px; border: 1px solid #ccc; text-align: left; }
#main th p, #main td p { margin: 0; }
#main ul { list-style: outside disc; padding: 0 0 0 15px; margin: 0 0 15px 0; }
#main ul li { padding: 0 0 0 5px; margin: 0 0 0 5px; }
#main ol { list-style: outside decimal; padding: 0 0 0 20px; margin: 0 0 15px 0; }
#main ol li { padding: 0; margin: 0 0 0 5px; }

.front-box { width: 174px; height: 346px; margin: 0 8px 8px 0; background: #f1f1f1 url(images/front-box-bg.gif) no-repeat center bottom; float: left; display: inline; }
.front-box .csc-textpic img { border-bottom: 6px solid #8f1c24; }
.front-box .csc-textpic-text { padding: 0 5px 5px 5px; }
.front-box a { color: #000; text-decoration: none; }
.front-box a:hover { color: #8c0a0a; }
.front-box h2 { font: 18px Arial, Helvetica, Verdana, sans-serif; line-height: 18px; font-weight: bold; color: #000; text-transform: uppercase; padding: 1px 0 8px 0; margin: 0; }
#main .front-box ul { list-style: none; padding: 0; margin: 0; }
#main .front-box ul li { list-style: none; padding: 0 0 0 7px; margin: 0; background: url(images/dot.gif) no-repeat 0 6px; }

.box { color: #333; padding: 14px 14px 1px 14px; margin: 0 8px 8px 0; background: #dee3df; clear: both; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
.box h2 { font: 18px Arial, Helvetica, Verdana, sans-serif; line-height: 18px; font-weight: bold; color: #000; text-transform: uppercase; padding: 0 0 5px 0; margin: 0 0 7px 0; border-bottom: 1px solid #fff; }

.box .mailform input, textarea, select { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
.box .mailform input.button, .box .mailform input[type=submit] { font-weight: bold; }

#colRight .box { padding-bottom: 14px; margin: 0 0 8px 0; }
/*#colRight .box #mailform { height: 232-46px; padding: 0; }*/

#colNormal .box { min-height: 219px; }

.auto-box { margin: 0 0 8px 0; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background: #4C8192; }

/* SUBMENU */
ul#submenu { list-style: none; padding: 0; margin: 0; border-top: 1px solid #7fa5b1; border-bottom: 1px solid #7fa5b1; background: #dee4e0; }
ul#submenu li { text-align: right; padding: 0; margin: 0; }
ul#submenu a, ul#submenu li.current a { line-height: 18px; color: #000; text-decoration: none; padding: 0 8px; border-right: 3px solid #dee4e0; display: block; }
ul#submenu a:hover, ul#submenu a:focus { color: #ad111d; border-right: 3px solid #a72429; }

#footer { width: 932px; font-size: 11px; color: #6d6d6d; text-align: center; padding: 10px; margin: 0 auto; }
#footer p { margin: 0; }
#footer a { color: #6d6d6d; }

#credits { width: 932px; font-size: 10px; color: #b2b6b2; text-align: center; padding: 10px; margin: 0 auto; }
#credits p { margin: 0; }
#credits a { color: #b2b6b2; text-decoration: none; }

/* CLEARFIX */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
spacer-gif { display: none; }

/* TYPO3 FIXES */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-justify { text-align: justify; }
.float-left { float: left; display: inline; }
.float-right { float: right; display: inline; }

DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image { padding-right: 8px; margin-right: 0; }

DIV.csc-textpic-right DIV.csc-textpic-imagewrap .csc-textpic-image,
DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap .csc-textpic-image { padding-left: 8px; margin-left: 0; }

DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-lastcol { padding-right: 0 !important; margin-right: 0 !important; }
DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol {padding-left: 0 !important; margin-left: 0 !important; }
DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { padding-bottom: 8px; margin-bottom: 0; }
DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { padding-bottom: 8px; margin-bottom: 0; display: block; }

#colMargin DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { padding-bottom: 0; }
#colMargin DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { padding-bottom: 0; }

.tx-indexedsearch-searchform { width: 360px; margin: 0 0 25px 0; }
.tx-indexedsearch-searchform p { }
.tx-indexedsearch-searchform input, .tx-indexedsearch-searchform select { margin: 0 0 2px 0; }
.tx-indexedsearch-searchform input.button { width: auto; padding: 1px 12px; }
.tx-indexedsearch-searchform input.checkbox { width: auto; margin: 4px 0 0 0; border: 0; background: none; }
.tx-indexedsearch-rules {}
.tx-indexedsearch-sectionlinks {}
.tx-indexedsearch-sectionheader {}
	.tx-indexedsearch-sectionheader .title {}
	.tx-indexedsearch-sectionheader .result-count {}
.tx-indexedsearch-whatis {}
	.tx-indexedsearch-sw { font-weight: bold; }
.tx-indexedsearch-browsebox { margin: 0 0 25px 0px; }
	.tx-indexedsearch-browsebox ul { text-align: center; padding: 0; margin: 0 0 10px 0; list-style: none; list-style-position: outside; }
	.tx-indexedsearch-browsebox li { display: inline; }
	.tx-indexedsearch-browselist-currentPage a { color: #a71932; }
.tx-indexedsearch-results { margin: 0 0 10px 0; border: 1px solid #e0e0e0; }
	.tx-indexedsearch-results table { width: 100%; border-collapse: separate; border-spacing: 1px; }
	.tx-indexedsearch-results th { padding: 5px; background: #e0e0e0; }
	.tx-indexedsearch-results div { padding: 5px; margin: 1px; }
	.tx-indexedsearch-results .icon { width: 18px; }
	.tx-indexedsearch-results .icon img { margin: -12px 0 0 -7px; position: absolute; }
	.tx-indexedsearch-results .title { font-weight: bold; text-align: left; }
	.tx-indexedsearch-results .title a { font-weight: bold; text-decoration: none; }
	.tx-indexedsearch-results .percent { width: 35px; }
	.tx-indexedsearch-results .description { }
	.tx-indexedsearch-results .info { font-size: 10px; background: #e0e0e0; }
	.tx-indexedsearch-results .path {}
	.tx-indexedsearch-results .list {}

.csc-frame-rulerBefore { border-top: 1px solid #A72429; padding-top:10px; }

