/* 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;	
}



/* ************************************* */
/* *** settings for defined areas -  *** */
/* ************************************* */

#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;
}

#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;
}



/* ************************************************ */
/* *** settings for page-specific defined areas *** */
/* ************************************************ */
	
#contents_geninfo_1 {
	padding: 0 0 0 30px;
}
		
#contents_home_1 {	/* modry las welcome text column */
	float: left;
	padding: 10px 20px;
 	width: 260px; 
}

#contents_home_2 {	/* specials column - main feature */
	background-color: #003b31;
	color: white;
	margin: 0 0 0 300px;	/* left must match the width of contents_home_1 */
	padding: 10px 20px; 
	/*	width: 430px; if declared the clearing of float does not work in IE - green background does
	not extend all the way to the bottom of the column */ 
}

#contents_home_3 {	/* specials column - Gary Player quote */
	background-color: #003b31;
	color: white;
	margin: 0 0 0 300px;	/* left must match the width of contents_home_1 */
	min-height: 227px; 			/* added when placed the GP photo at the bottom to ensure that the text
							in the box above does not overlap with this box but pushes it down;
							must match the height of GP photo */
	position: relative; 	/* added to place the GP photo at the bottom */
/*	width: 450px; if declared the clearing of float does not work in IE - green background does
	not extend all the way to the bottom of the column */
}

#contents_home_4 {	/* golf course status */
	border-top: 1px solid #DDD97B;
	clear: both;
	float: left;
	padding: 10px 10px 0 20px;
 	width: 270px; 
}

#contents_home_5 {	/* reservations info */
	border-top: 1px solid #DDD97B;
	margin: 0 0 0 300px;	/* left must match the width of contents_home_3 */
	padding: 10px 10px 0 20px; 
	width: 420px;
}

#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;
}



/* ************************************ */
/* *** settings for non-area IDs -  *** */
/* ************************************ */

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

#course_status {
	padding: 2px 5px;
}

#divider_contents_home_1 {
	border-top: 1px solid #DDD97B;
	height: 0;
	left: -20px;
	position: relative;
	width: 300px;
}

#gp_quote_text {
	bottom: 20px;			/* added to place the GP photo at the bottom */
	font-style: italic;
	margin: 0 231px 0 0;	/* this matches the width of GP picture */
	padding: 40px 30px 30px;
	position: absolute;		/* added to place the GP photo at the bottom */
}

#gp_quote_signature {
	bottom: 25px;			/* added to place the GP photo at the bottom */ 
	margin: 0 231px 0 0;	/* this matches the width of GP picture */
	padding: 0 50px;
	position:absolute;		/* added to place the GP photo at the bottom */
	right: 0;				/* added to place the GP photo at the bottom */
	text-align: right;
}

#green_box_trnmt_announcements {
	padding: 0 40px;
}

#image_ch2_top100cert {
	bottom:10px;	/* shifted up to align it with the green box edge */
	float: right;
	height: 230px;
	left: 20px;		/* shifted to the right to align it with the green box edge */
	/* padding: 0 0 20px;	left margin provided by relative positioning and shift */
	position: relative;
	width: 157px;
}

#image_contents_home_2 {
	float: right;
	left: 20px;		/* shifted to the right to align it with the green box edge */
	padding: 0 0 20px;	/* left margin provided by relative positioning and shift */
	position: relative;
	width: 231px;
}

#image_gary_player {
	bottom: 0;				/* added to place the GP photo at the bottom */ 
	height: 227px;
	float: right;
	padding: 18px 0 0;
	position: absolute;		/* added to place the GP photo at the bottom */
	right: 0;				/* added to place the GP photo at the bottom */
	vertical-align: bottom;
	width: 231px;	
}

#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: 32;
	 width: 120;
}

#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;	
}

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

#tbl_course_rating {
}

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

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

#tbl_green_fees { 
}

#tbl_golf_academy {
}

#tbl_pg22_lesson_prices {
}

#tbl_turniej_cross_country {
	margin: 25px auto 0;
}



/* ************************************ */
/* *** define specific global items *** */
/* ************************************ */

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

a:hover, 
a:active, 
a:focus  {	/* all the same to achieve the same visual result when hovering
			and navigating with the keyboard when no JS */
	background-color: #E6E4A6;
	padding: 2px 0;	/* only adding vertical padding not to cause the text to "jump" */
}

caption {
}

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: 15pt;
	font-style: normal; 
	font-weight: normal;
	padding: 15px 0 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;
	text-decoration: underline;
}

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;
	margin: 10px 0;
}

small {
	font-size: 8pt;
}



/* ***************************************** */
/* *** define localised (combined) items *** */
/* ***************************************** */

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

div#flyover a,
div#L1_main_menu a {
	text-decoration: none;	/* removing underline from main menu */
}

div#flyover a:hover,
div#flyover a:active,
div#flyover a:focus,
div#L1_main_menu a:hover, 
div#L1_main_menu a:active, 
div#L1_main_menu a:focus  {		/* this is to ensure that you get a similar visual
								effect for hover and keyboard tabbing when no JS */
	padding: 10px 1px;
}

div#L1_contents a {
	color: black;	/* matching the link colour to the rest of the text */
	font-weight: normal;
}

div#L1_contents a:hover, 
div#L1_contents a:active, 
div#L1_contents a:focus  {
	color: #524F05;	/* to ensure that when the hover background is applied, the link is still readable,
					since some start in white; also for consistency */
	padding: 0;		/* with the small text, any vertical padding starts touching the adjacent lines */
}

div#L1_contents a.link_unavailable {
	/* color: #DDD97B; */
	color: #908c28;
/* Consider this but does not want to play ball with IE   
	filter: alpha(opacity=50); 	/* internet explorer 
	-khtml-opacity: 0.5;   	  	/* khtml, old safari 
	-moz-opacity: 0.5;       	/* mozilla, netscape 
	opacity: 0.5;           	/* fx, safari, opera 
*/
}

div#L1_contents a.pseudo_button_unavailable {
	/* color: #DDD97B; */
	color: #908c28;
/* Consider this but does not want to play ball with IE   
	filter: alpha(opacity=50); 	/* internet explorer 
	-khtml-opacity: 0.5;   	  	/* khtml, old safari 
	-moz-opacity: 0.5;       	/* mozilla, netscape 
	opacity: 0.5;           	/* fx, safari, opera 
*/
}

div#L1_contents a.link_unavailable:hover,
div#L1_contents a.link_unavailable:focus,
div#L1_contents a.link_unavailable:active {
	background-color: #FFFED4;
}

div#L1_contents a.pseudo_button_unavailable:hover,
div#L1_contents a.pseudo_button_unavailable:focus,
div#L1_contents a.pseudo_button_unavailable:active {
	background-color: #F0F0F0;
}

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

div#contents_home_2 h3 {	/* for main "news" headings in the contents area 
							- specials on green background, must have white text */
	clear: right;
	color: white;
	margin-top: 0;
	padding: 15px 0 0;
}

div#contents_home_2 h3#gb_1 {
	clear: none;
	padding-top: 50px;
}

div#contents_home_2 a,
div#contents_home_3 a,
div#contents_home_4 a {
	color: white;	/* matching the link colour to the rest of the text when using dark backgrounds */
}

div#contents_home_4 a#course_status {
	font-weight: bold;	/* reapplying this here because links in L1_contents are thin */
	padding: 2px 5px;	/* reapplying this here otherwise affected by L1 a:hover setting
						which creates flickering during hover */
}

div#green_box_trnmt_announcements h3 {
	padding: 0;
	margin: 15px 0 13px;	/* this is to add space between tournament announcements in the greenm box */
}

div#L1_contents p {
	line-height: 1.5em;
}

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

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_test th,
table.tbl_test td {
	border: 1px solid #DDD97B;
	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_course_rat_col1 {
	/* min-width: 142px; disabling and removing long names of tees */
}

#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-top: 1px solid #DDD97B;
	height: 40px;
	padding: 5px 10px;
	vertical-align: top;
}

#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;
}



/* ********************** */
/* *** define classes *** */
/* ********************** */

.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;
}

.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: yellow;
}

.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 */
	opacity: 0.2; 
}

.left {
	text-align: left;
}

.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;
}

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

.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;
}

.previous {
	color: gray;
}

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

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

.recomm_accom {		/* this class name is applied to cells by the controller */
	color: #003b31;
	font-weight: bold;
	text-align: right;
}

.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_events_dates
{
	min-width: 140px;
}

.tbl_events_info {
		min-width: 145px;
}

.tbl_form {
	line-height: 18px;
}

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



/* ******************* */
/* *** print rules *** */
/* ******************* */



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



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

.test {
	
}

/* WIP FLYOVER BELOW */

#flyover {						
	/* background colour in a class to deal with specificity issues on hover */										
	border-right: 1px solid #DDD97B;
	border-top: 1px solid #DDD97B;
	bottom: 0;
	font-family: Verdana,sans-serif;
	font-size: 11pt;
	height: 17px;
	padding: 10px 0;
	position: absolute;
	text-align: center;
	width: 180px;
	
/* option 2 with black transparent background - need filter in IE though */
/*	
	background-color: black;
	opacity: 0.8; 
*/
	
/* option 3 with red background */
/* 	background-color: #EBE20E; */	
}

.flyover {						/* try class for background to deal with specificity issues on hover */										
	background-color: #EBE20E;
}

tr {
	vertical-align: top;
}