/* Main CSS file for the Modry Las website */



/* ************************* */
/* *** settings defaults *** */
/* ************************* */

* {
	border: 0 none;
	margin: 0;
	outline: 0 none;
	padding: 0;
}

body {
	background-color: #FFFFF1;
	color: black;
	font-family: Verdana, sans-serif;
	font-size: 9pt;
	text-align: left;	
}



/* ************************************************* */
/* *** IDs - settings for common page structure *** */
/* ************************************************* */

#copyright {
	clear: both;
	font-size: 8pt;
}

#L0_page {						/* this is the whole area with information */
	background-color: #FFFED4;
	border: 1px solid #DDD97B;
	margin: 20px auto;			/* bottom margin to ensure the page does not finish abruptly and can scroll a bit below it */
	width: 750px;
}

#L1_header {		
	border-bottom: 1px solid #DDD97B;
}

#L2_rh_column {
	float: right;
	width: 120px;
}
	
#L2_ml_logo {
	float: left;
	padding: 8px 0 0;
	text-align: center;
	width: 240px;
}

#L2_welcome {
	margin: 0 0 0 254px; 		/* 254 = 239 (to shift past the logo) + 15 (extra spacing for h1) */
	padding: 35px 0 0;		
}

#L1_photo_show {
	border-bottom: 1px solid #DDD97B;
	clear: both; 
	height: 350px;				/* this is the size as suggested by Joseph */
	overflow: hidden;			/* to ensure pictures do not hide borders, especially since new pictures may be addded by accident which do not match the required dimensions */
	position: relative;
}

#L2_top_menu {
	position: absolute;
	bottom: 0;	
}

#L1_main_menu {
	border-bottom: 1px solid #DDD97B;
	float: left;
	font-size: 10pt;
	text-align: center;
	width: 100%;
}

#L1_contents {
	clear: both;
}

#L1_footer {
	border-top: 1px solid #DDD97B;
	clear: both;
	padding: 0 75px;			/* the minimum required for the links to fit on one line */
	text-align: center;
}

#top_menu_element_1 {			/* need ID because size of the flyover box is specific */						
	width: 180px; 
}


/* ****************************************** */
/* *** IDs - page-specific settings (NEW) *** */
/* ****************************************** */

#p1_container_bottom {			/* information area at the bottom of the content of home page */
	border-top: 1px solid #DDD97B;
	clear: both;
	float: left;				/* required to position this correctly on a printout */
}

#p1_container_top {				/* most of the content of home page */
	clear: both;
}

#p1_content_1 {					/* ML copy */
	padding: 10px 20px;
}

#p1_content_2 {					/* yardage */
	border-top: 1px solid #DDD97B;
	padding: 0 20px 10px;
}

#p1_content_6 {					/* course status */
	float: left;
	padding: 10px 10px 0 20px;
	width: 270px; 
}

#p1_content_7 {					/* reservations info */
	margin: 0 0 0 300px;		/* left must match the width of lhs column */
	padding: 10px 10px 0 20px; 
	width: 420px;
}
	
#p1_gp_quote_signature {			/* home page */
	padding: 0 70px 10px 0;
	text-align: right;
}

#p1_gp_quote_text {				/* home page */
	font-family: Georgia, serif;
	font-size:11pt;
	font-style: italic;
	padding: 10px 35px;	
}

#p1_green_box {					/* general area settings */
	background-color: #003b31;
	color: white;	
	margin: 0 0 0 300px;		/* left must match the width of col_lhs */		
}



/* ****************************************** */
/* *** IDs - page-specific settings (OLD) *** */
/* ****************************************** */

#contents_geninfo_1 {
	padding: 0 0 0 30px;
}
		
#contents_language_1 {			/* mirrors #L2_ml_logo - well, almost after it had to be squashed */ 
	float: left;
	padding: 8px 0 0;
	text-align: center;
	width: 250px;
}

#contents_event3_2 {
	padding: 0 0 0 100px;
}

#course_status {
	padding: 2px 5px;
}

#image_gp_knight {
	clear: both;
	float: right;
	padding: 0 8px 0 0;
	vertical-align: top;
	width: 100px;
}

#image_grandopening {	/* same picture as image_contents_home_2 from the opening, just larger */
	float: right;
	/* padding: 0 0 20px 20px;	left margin provided by relative positioning and shift */
	width: 440px;
}

#image_logo_meteogroup {
	 height: 32px;
	 width: 120px;
}

#image_ml_18_holes {
	height: 455px;
	width: 640px;
}

#image_modry_las_logo {
	height: 105px;
	width: 220px;
}

#image_parcel_map {
	height: 557px;
	width: 700px;
}

#image_photo_show {
	height: 350px;
	vertical-align: bottom;
	width: 750px;
}

#link_home_header {
	padding: 90px 0 0;
}

#menu_element_1 {
	border-left: 0 none;
	width: 180px;
}

#meteogroup_footer {
	background-color: #ffffff;
	height: 14px;
	text-align: center;
	width: 120px;
}                                                           

#meteogroup_footer_link {
	color: #000000;
	font-size: 10px;
	text-decoration: none;
}

#meteogroup_header {
	background-color: #d5e8f6;
	font-size: 10px;
	text-align: center;
	width: 120px;	
}

#p1_image_gary_player {
	height: 201px;
	width: 300px;	
}

#photo_gallery_navigation {
	padding: 0 0 5px;
	text-align: center;
}

#tbl_events {
	width: 650px;
	padding-left: 20px;
}

#tbl_events_comments {
	padding: 20px 0 0 20px;
}

#tbl_turniej_cross_country {
	margin: 25px auto 0;
}



/* *************************** */
/* *** ELEMENTS - defaults *** */
/* *************************** */


a {
	color: black;
}

a:hover,
a:active,
a:focus {
	background-color: #E6E4A6;
	color: #524F05;
}

em {
	font-style: normal; /* to remove the default italics */
	font-weight: bold;
}

h1 {		/* for the header - "welcome" text */
	color: #003b31;
	font-family: Georgia, serif;
	font-size: 18pt;
	font-style: italic; 
	font-weight: bold;
	margin: 0 0 15px;
}

h2 {		/* for the tournament info heading "soon" in the green box */
	clear: right;
	color: white;
	font-family: Georgia, serif;
	font-size: 16pt;
	font-style: normal; 
	font-weight: normal;
	padding: 15px 20px 0;
	margin: 0 0 13px;
}

h3 {		/* for main "news" headings in the contents area */
	color: #003b31;
	font-family: Georgia, serif;
	font-size: 16pt;
	font-style: normal; 
	font-weight: normal;
	margin: 13px 0;
}

h4 {		/* for lesser "news" headings in the contents area */
	color: #003b31;
	font-family: Georgia, serif;
	font-size: 13pt;
	font-style: normal; 
	font-weight: normal;
	margin: 5px 0;
	padding: 25px 0 0;
}

h5 {		/* for main "technical" headings in the contents area */
	font-size: 11pt;
	font-style: normal; 
	font-weight: bold;
	margin: 0 0 10px;
}

h6 {		/* for lesser "technical" headings in the contents area  - like text but bold */
	font-size: 9pt;
	font-style: normal; 
	font-weight: bold;
	margin: 0 0 10px;
}

img {
	vertical-align: bottom;
}

input {
	border: 1px solid #DDD97B;
	color: black;
	font-family: Verdana, sans-serif;
	font-size: 9pt;
	padding: 2px;
}

input:hover,
input:active,
input:focus  {
	background-color: #E6E4A6; /* matches normal links in this respect */
}

li {
	margin: 0 0 0 25px;
}

p {
	font-style: normal; 
	font-weight: normal;
	line-height: 1.5em;
	margin: 10px 0;
}

small {
	font-size: 8pt;
}


tr {
	vertical-align: top;
}




/* *************************** */
/* *** ELEMENTS - modified *** */
/* *************************** */

a.in_footer {
	color: #524F05;
	font-weight: bold;
}

a.in_language_links {
	font-weight: bold;
}

a.in_main_menu {	
	color: #524F05;
	font-weight: bold;
	text-decoration: none;
}

a.in_top_menu {	
	color: white;
	font-weight: bold;
	text-decoration: none;
}

a.on_dark_background {	
	color: white;
}

a.on_dark_background:hover,
a.on_dark_background:active,
a.on_dark_background:focus  {
	background-color: #E6E4A6;
	color: #524F05;
}

a.in_footer:hover,
a.in_footer:active,
a.in_footer:focus {
	padding: 2px 0;				/* only adding vertical padding not to cause the text to "jump" */ 
}

a.in_main_menu:hover,
a.in_main_menu:active,
a.in_main_menu:focus,
a.in_top_menu:hover,
a.in_top_menu:active,
a.in_top_menu:focus,
a.menu_link_hovered {			/* this class is added to the link by JS */	
	color: #524F05;				/* needs to be repeated here in case of a dark background e.g. in top menu */
	padding: 10px 1px;
}

div.menu_link_hovered {
	background-color: #E6E4A6;
	cursor: pointer;
}

h3.p1_in_green_box {				/* also applied to links on top_level_menu (on photo show) */
	color: white;	
	margin-top: 0;
	padding: 15px 20px 0;		/* this is ignored when applied to links */
}

img.p1_in_green_box {
	float: right;
	max-width: 150px;		
}


p.p1_in_green_box {				/* must be applied to each text element within GB */
	color: white;
	padding: 0 20px;
}

p.important_comment {			/* must be defined after any paragraph classes it modifies: p1_in_green_box */
	color: lime;
}


/* **************************************** */
/* *** localised (combined) items (OLD) *** */
/* **************************************** */

div#L1_contents a.link_unavailable {
	/* XXX move toward using disabled_link class in combination with anchor type class, e.g. .disabled_link.pseudo-button */
	color: #908c28;
}

div#L1_contents a.link_unavailable:hover,
div#L1_contents a.link_unavailable:focus,
div#L1_contents a.link_unavailable:active {
	/* XXX move toward using disabled_link class in combination with anchor type class, e.g. .disabled_link.pseudo-button */
	background-color: #FFFED4;
}

div#L1_contents a.pseudo_button_unavailable {
	/* XXX move toward using disabled_link class in combination with anchor type class, e.g. .disabled_link.pseudo-button */
	color: #908c28;
}

div#L1_contents a.pseudo_button_unavailable:hover,
div#L1_contents a.pseudo_button_unavailable:focus,
div#L1_contents a.pseudo_button_unavailable:active {
	/* XXX move toward using disabled_link class in combination with anchor type class, e.g. .disabled_link.pseudo-button */
	background-color: #F0F0F0;
}

div#photo_gallery_navigation a {
	margin: 0 39px;
}

div#L1_contents a.pseudo_button:hover,
div#L1_contents a.pseudo_button:active,
div#L1_contents a.pseudo_button:focus  {
	padding: 2px;
}

a.google_map_caption_640 {
	left: 25px;
	position: relative;
}

div.language_links img {
	border: 1px solid #DDD97B;
}

span.error_heading h3 {		/* used in custom error messages */
	color: red;
}

table.tbl_accomodation td,		/* this table class name may have to be renamed more generically as it servers more than one table */
table.tbl_accomodation th {
	padding: 15px 2px 1px;
	vertical-align: top;
}

table.tbl_accomodation th {
	border-bottom: 1px solid #DDD97B;
}

table.tbl_form th,
table.tbl_form td {
	min-width: 135px;	/* this gets round the inability to generate col definitions or add a class 
							to table elements at the moment when using CI Table class */
	padding: 2px 5px;
	vertical-align: top;
}


table.tbl_from_XML td,
table.tbl_from_XML th {
	border-top: 1px solid #DDD97B;
	padding: 2px 5px;
	vertical-align: top;	
}

table.tbl_test th,
table.tbl_test td {
	border: 1px solid #DDD97B;
	font-size: 8pt;
	padding: 2px 5px;
	vertical-align: top;
}

#tbl_events_comments td,
#tbl_events_comments th,
#tbl_course_rating td,
#tbl_course_rating th {
	padding: 1px 2px;
}

#tbl_ball_tokens th,
#tbl_ball_tokens td,
#tbl_equipment_hire th,
#tbl_equipment_hire td,
#tbl_green_fees th,
#tbl_green_fees td,
#tbl_golf_academy th,
#tbl_golf_academy td,
#tbl_opening_hours th,
#tbl_opening_hours td,
#tbl_pg22_lesson_prices td,
#tbl_pg22_lesson_prices th,
#tbl_special_green_fees td {
	padding: 3px 10px;
}

#tbl_ball_tokens th,
#tbl_equipment_hire th,
#tbl_golf_academy th,
#tbl_green_fees th,
#tbl_membership_fees th,
#tbl_opening_hours th,
#tbl_pg22_lesson_prices th {
	border-bottom: 1px solid #DDD97B;
	padding-top: 20px; 
}

#tbl_event3_program td {
	padding: 5px 25px 5px 0;
	vertical-align: top;
}

#tbl_events td,
#tbl_events th {
	border-bottom: 1px solid #DDD97B;
	height: 40px;
	padding: 5px 10px;
	vertical-align: top;
}

#tbl_events th {
	border-top: 1px solid #DDD97B;
}

#tbl_greenbox_trnmts td {
	min-width: 200px;
	padding:0 0 25px;
	vertical-align: top;
}

#tbl_membership_fees th,
#tbl_membership_fees td {
	padding: 3px 10px 3px 0;
}

#tbl_bank_details td {
	padding: 3px 10px 3px 0;
	vertical-align: top;
}

#tbl_turniej_cross_country th,
#tbl_turniej_cross_country td {
	border: 1px solid #DDD97B;
	padding: 10px;
	text-align: center;
}

#tbl_turniej_cross_country_red td {
	background-color: red;
	color: white;
}

#tbl_turniej_cross_country_yellow td {
	background-color: yellow;
}



/* *************** */
/* *** CLASSES *** */
/* *************** */

.admin_messaging_intro {
	color: blue;
	font-weight: bold;
}

.admin_messaging_text {
	color: red;
	font-weight: bold;
}

.admin_messaging_dev_box {
	background: yellow;
	border: 1px solid blue;
	color: red;
	font-weight: bold;
	margin: 10px;
	padding: 10px;
}

.admin_messaging_staging_box {
	background: lightBlue;
	border: 1px solid blue;
	color: red;
	font-weight: bold;
	margin: 10px;
	padding: 10px;
}

.album_descr {
	clear: both;
	float: right;
	padding: 20px 0 0 30px;
	width: 300px;
}

.buttons_line {
	line-height: 18px;
	margin: 20px 5px 0;		/* 5px matches the padding on the cells above */
}

.center {
	text-align: center;
}

.clearing {
	clear: both;
	height: 0;
}

.clearing_left {
	clear: left;
	height: 0;
}

.clearing_right {
	clear: right;
	height: 0;
}

.contents_box {
	padding: 20px 30px;
}

.contents_box_left {	/* TODO consider adding padding on text side only */
	float: left;
	width: 440px;	
}

.contents_box_right {	/* TODO consider adding padding on text side only */
	float: right;
	width: 440px;
}

.contents_box_right_110 { 	/* TODO consider adding padding on text side only */
	float: right;
	width: 110px;
}

.contents_box_right_220 {	/* TODO consider adding padding on text side only */
	float: right;
	width: 220px;
}

.contents_box_right_320 {	/* TODO consider adding padding on text side only */
	float: right;
	width: 320px;
}

.contents_box_right_440 {	/* TODO consider adding padding on text side only */
	float: right;
	padding: 0 0 20px 20px;
	width: 440px;
}

.course_closed {
	background-color: red;
}

.course_open {
	background-color: #003b31;
}

.course_restrictions {
	background-color: orange;
}

.footer_links {
	float: left;
	margin: 20px 0;
	padding: 0 10px;
}

.form_button {
	/* background-color: #FFFED4; 	leave default button colour */
	border: 1px solid #DDD97B;
	color: black;	/* matching the link colour to the rest of the text */
	font-weight: normal;
	padding: 2px;
	/* text-decoration: underline;		does not work on a button */
}

.form_button:hover,
.form_button:active,
.form_button:focus  {
	background-color: #E6E4A6; /* matches normal links in this respect */
	color: #524F05;
}

.form_error_msg {
	color: red;
	font-weight: bold;
}
	
.hidden {
	display: none;
/* 	visibility: hidden; */
}

.highlight_on_hover:hover {
	background: #FFFFF1;
}

.hotel_logo {
	float: right;
	max-height: 150px;
	max-width: 150px;
	padding: 0 0 10px 10px;
}

.image_caption {
	font-size: 8pt;
	text-align: left;
}

.image_photo_album_cover {
	max-height: 350px;
	max-width: 350px;
}

.image_photo_album_display {
	max-height: 450px;
	max-width: 700px;}

.image_photo_album_thumb {
	height: 150px;
}

.image_invitation_cover {
	clear: both;
	float: right;
}

.image_news {
	padding: 10px 5px; 
}

.indented7 {
	margin-left: 7px;
}

.invisible {
	display: none;
}

.language_links {
	float: right;
	margin: 5px 0;
	padding: 0 5px;
	text-align: center;
	width: 15px;
}

.lang_link_unavailable {
	/* color: #DDD97B; /* pointless because using flags now */
	/* visibility: hidden; changing this to opacity; XXX oops, IE probs, consider using colour instead */
	/* XXX move toward using disabled_link class in combination with anchor type class, e.g. .disabled_link.pseudo-button */
	opacity: 0.2; 
}

.left {
	text-align: left;
}

.lhs_300 {					/* as in home page lhs column */ 
	float: left;
 	width: 300px; 
}

.links_data {
	padding: 20px 10px 10px 30px;
	vertical-align: top;
}
	
.links_heading {
	border-bottom: 1px solid #DDD97B;
	font-weight: bold;
	padding: 20px 0 0;
}

.menu {
	border-left: 1px solid #DDD97B;
	float: left;
	padding: 10px 0;
	width: 113px;
}

.menu_link_displayed {
	background-color: #DDD97B;
	color: #524F05;	/* to ensure that when the hover background is applied, the link is still readable,
					since some start in white; also for consistency XXX across the board? */								
}

.min_w240,
.tbl_accom_col1 {
	min-width: 240px;
}

.min_w310 {
	min-width: 310px;
}

.min_w390 {
	min-width: 390px;
}

.min_w460,
.tbl_accom_col2 {
	min-width: 460px;
}

.new_window {
	/* dummy class to identify links for which a new window should open */
}

.next_event {
	background-color: #DDD97B;
}

.new {
	color: red;
}

.p1_green_box_item {
	clear: right;	
	padding: 0 0 10px;			/* spacer to ensure that items do not touch when stretched by picture */
}

.p1_listings {
	padding-left: 40px;
}

.previous {
	color: gray;
}

.pseudo_button {
	background-color: #F0F0F0;
	margin: 0 5px;
	text-decoration: none;
}

.right {
	text-align: right;
}

.shaded {
	background-color: #FFFFF1;
}
	
.spacer5 {
	height: 5px;
}

.spacer25 {
	height: 25px;
}

.spacer50 {
	height: 50px;
}

.spacer_pseudo_button {
	height: 19px;
	padding: 0 39px 0 0;
	/* width: 33px; */
}

.tbl_acc_recom_info {		/* this class name is applied to cells by the controller */
	text-align: right;
}

.tbl_events_dates {
	min-width: 140px;
}

.tbl_events_info {
	min-width: 145px;
}

.tbl_form {
	line-height: 18px;
}

.tbl_from_XML {
	margin: 20px auto;
	width: 650px;
}

.tbl_from_XML_left_col {
	min-width: 150px;
}

.tbl_from_XML_right_col {
	min-width: 500px;	/* 400 to fit in RH column of 110 for logos */
}

.thumbnail_box {
	float: left;
	margin: 30px;
	overflow: hidden;
	text-align: center;
	width: 315px;
}

.top_menu {								/* background colour in a class otherwise specificity issue on hover */
	background-color: #003B31; 	
	border-right: 1px solid #DDD97B;
	border-top: 1px solid #DDD97B;
	float: left;
	font-family: Verdana,sans-serif;
	font-size: 11pt;
	height: 17px;
	padding: 10px 0;
	text-align: center;
	width: 113px;	
}



/* ******************* */
/* *** PRINT RULES *** */
/* ******************* */

@media print {
 	
 	#L1_photo_show,
 	#L1_main_menu,
 	.footer_links,
 	.language_links {
		display: none !important;
	}
}



/* **************************** */
/* *** SPECIALS - TEMPORARY *** */
/* **************************** */

#p1_special_top100heading {
	padding-top: 50px;
}



/* ************************* */
/* *** currently testing *** */
/* ************************* */

.test {
	
}

