/*-------------------------------------------------- */
/*                Font								 */
/*-------------------------------------------------- */
@font-face {
    font-family: "Celticmd";
    src: url('./celticmd.ttf');
}

body {
	font-size: 16px;
}

/* because firefox has a greater font */
@supports ( -moz-appearance:none ){
	body {
		font-size: 13.8px;
	}
}

/*@media screen and (-webkit-min-device-pixel-ratio:0) {
	body {
		font-size: 16px;
	}
}*/


/*-------------------------------------------------- */
/*                Miscs                             */
/*-------------------------------------------------- */
.centrage {margin:auto;}

/* Also use prefixes with @keyframes and animation to support current browsers */
@keyframes blinker {  
  0% { visibility: visible; }
  50% { visibility: hidden; }
  100% { visibility: visible; }
}
.blink {
  animation: blinker steps(1) 1s infinite;
}

/*-------------------------------------------------- */
/*                Tables                             */
/*-------------------------------------------------- */
.ListWidget {
	margin: auto; 
	text-align: center;
	font: normal 1.1em Celticmd, Times, serif;  
	border-style: none;
	padding: 4px;
        cursor: url(Images/eoe.cur) 0 0, default;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a-2.jpg) top left no-repeat;
}

.ListWidgetContent {
	overflow-y: scroll;
	overflow-x: hidden;
	width: 100%;
}

.ListWidget table {
	border-style: hidden;
	border-collapse: collapse;
	width: 100%;
}

.ListWidget table thead tr {
	background: url(Images/gui/TableHeader.png);
	text-shadow: 2px 2px 2px #000;
}
	
.ListWidget table th {
	color: cornflowerblue;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	border-style: none;
}

.ListWidgetContent table tbody tr {
	color: #555; 
	border-width: 1px;
	border-style: solid;
	border-color: gray;
}

.ListWidgetContent table tbody td {
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
}

.ListWidgetContent table tbody tr:hover {
	background: url(Images/gui/ListItemHover.png);
}

.ListWidgetContent table tbody tr.SelectedItem {
	background: url(Images/gui/ListItemSelected.png);
}

/*-------------------------------------------------- */
/*                Idem but with div                  */
/*-------------------------------------------------- */
.ListWidget .ListWidgetHeader {
	background: url(Images/gui/TableHeaderRed.png);
	text-shadow: 2px 2px 2px #000;
        text-align: left;
        height: 35px;
}
	
.ListWidget .ListWidgetHeader .ListWidgetHeaderItem {
	color: #f3da1a;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 0px;
	border-style: none;
        display: inline-block;
        //text-align: center;
}

.ListWidgetContentText {
    white-space: nowrap;
    display:inline-block; 
    margin-left:5px; 
    vertical-align: top;
    overflow: hidden;
}

.ListWidgetContent .ListWidgetRow {
	border-width: 1px;
	border-style: solid;
	border-color: gray;
        text-align: left;
        text-shadow: 0px 0px 2px #FFF;
        color: #111;
        font: normal 1.4em "Script MT Bold", Times, serif;    
        height: 30px;
        box-shadow: -2px 2px 10px 3px rgba(255, 255, 255, 0.8) inset;
        -moz-box-shadow: -2px 2px 10px 3px rgba(255, 255, 255, 0.8) inset;
        -webkit-box-shadow: -2px 2px 10px 3px rgba(255, 255, 255, 0.8) inset;
}

.ListWidgetContent .ListWidgetItem {
	padding: 2px;
        padding-left: 4px;
	padding-right: 0px;
        display: inline-block;
        overflow: hidden;
        //text-align: center;
        vertical-align: top;
}

.ListWidgetContent .ListWidgetItemCenter {
	padding: 2px;
        padding-left: 5px;
	padding-right: 0px;
        display: inline-block;
        overflow: hidden;
        text-align: center;
        vertical-align: top;
}

.ListWidgetContent .ListWidgetRow:hover {
	background: url(Images/gui/ListItemHover.png);
}

.ListWidgetContent .ListWidgetRow.SelectedItem {
	background: url(Images/gui/ListItemSelected.png);
}

.ListWidgetContent .ListWidgetRow .ListWidgetTextNoWrap {
    text-align: left;
}


/*-------------------------------------------------- */
/*                Misc                               */
/*-------------------------------------------------- */
.NotIdentified {
    display: block;
    color: #FFF;
    font: 1.8em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #000, 0 0 10px #000, 0 0 10px #000, 0 0 10px #000, 0 0 10px #000, 0 0 10px #000, 0 0 10px #000;    
    margin-top: 40px;
    text-align: center;
}

.NewLine {
	clear: both;
	position: relative;
}

.TextInput {
	overflow-x: hidden;
	overflow-y: auto;
	
	/*background-image: url(Images/background1.jpg);
	border: 3px #f2d174 inset;*/
	
	height: 30px;
	resize: none;
	
	border-style: none;
	padding: 4px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a.jpg) top left no-repeat;	
}

.CelticFont {        
	font: normal 0.9em Celticmd, Times, serif;
        text-shadow: 0px 0px 2px #FFF;
        color: #555555;
}


/*-------------------------------------------------- */
/*                Labels                             */
/*-------------------------------------------------- */
.Label {
	position: relative;
	padding: 6px 6px 6px 6px;
	color: #f3da1a; 
	text-shadow: 2px 2px 2px #000;
	font: normal 1.0em Celticmd, Times, serif; 	
}


.Label2 {
	position: relative;
	padding: 6px 6px 6px 6px;
	color: #f3da1a; 
	text-shadow: 2px 2px 2px #000;
	font: normal 1.2em Celticmd, Times, serif; 	
}


/*-------------------------------------------------- */
/*                A generic frame					 */
/*-------------------------------------------------- */
.frame1 {
	padding: 20px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel2a.jpg) top left no-repeat;	
} 
 
 
/*-------------------------------------------------- */
/*                Combobox                           */
/*-------------------------------------------------- */

.styled-select {
	background: url(Images/gui/combo.png);
	width: 268px;
	height: 40px;
	display:inline-block;
	overflow: hidden;
}

.styled-select:hover {
	background: url(Images/gui/combohover.png);
}

.styled-select select {
 	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	font: normal 1.4em Celticmd, Times, serif; 
	width: 291px;
	padding: 8px;
	border:none;
	height: 40px;
	background-color: transparent;
}


.styled-select-number {
	background: url(Images/gui/combo_number.png);
	width: 80px;
	height: 40px;
	display:inline-block;
	overflow: hidden;
}

.styled-select-number:hover {
	background: url(Images/gui/combohover_number.png);
}

.styled-select-number select {
	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	font: normal 1.4em Celticmd, Times, serif; 
	width: 103px;
	padding: 8px;
	border:none;
	height: 40px;
	background-color: transparent;
}

.OptionIconFlag {
    background-repeat: no-repeat;
    padding-left:40px;
}


/*-------------------------------------------------- */
/*                LineEdit                           */
/*-------------------------------------------------- */
.LineEdit {
	background: url(Images/gui/background1.jpg);
	position: relative;
	padding: 0px 6px 0px 6px;
	color: #6c3914;
	text-shadow: 2px 2px 2px #444;
	font: normal 1.0em Celticmd, Times, serif;
	border: 2px #f2d174 inset;
	border-radius: 4px 4px;
	-moz-border-radius: 4px 4px;
}


.LineEdit2 {
	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	font: normal 1.2em Celticmd, Times, serif; 
	width: 260px;
	height: 36px;
	border:none;
	padding: 0px;
	padding-top: 4px;
	padding-left: 8px;
	background: url(Images/gui/LineEdit.png);
}

.LineEdit2:hover {
	background: url(Images/gui/LineEditHover.png);
}

.LineEdit3 {
	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	font: normal 1.2em Celticmd, Times, serif; 
	width: 260px;
	height: 40px;
	border:none;
	padding: 0px;
	padding-top: 0px;
	padding-left: 8px;
	background: url(Images/gui/LineEdit.png);
}

.LineEdit3:hover {
	background: url(Images/gui/LineEditHover.png);
}
/*-------------------------------------------------- */
/*                TextArea                           */
/*-------------------------------------------------- */
.TextArea {
	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	font: normal 1.2em Celticmd, Times, serif; 
	border-style: none;
	padding: 8px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a.jpg) top left no-repeat;	
}


/*-------------------------------------------------- */
/*                Button 32                          */
/*-------------------------------------------------- */

.Button32 .ButtonContent {
    background: transparent url(Images/gui/button32_left.png) no-repeat 0 0;
    display: inline-block;
    padding: 6px 0px 0px 8px;
    height: 46px;
    line-height: 32px;
    color: #f3da1a; 
    text-shadow: 1px 1px 0px #000, 1px 1px 3px #000, 1px 1px 3px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.1em Celticmd, Times, serif;
    cursor: url(Images/eoe.cur) 0 0, default;
}

.Button32 .ButtonContent span {
    vertical-align: 30%;
    padding-left: 10px;
    font: normal 1em Celticmd, Times, serif; 
}

.Button32 .ButtonContent img {
    padding-left: 0px;
}

.Button32 .ButtonContent .ButtonImg {
    padding-left: 0px;
    height: 32px;
    width: 32px;
}

.Button32 {
    background: transparent url(Images/gui/button32_right.png) no-repeat top right;
    display: inline-block;
    float: left;
    height: 46px;
    margin-left: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-right: 8px;
    text-decoration: none;
    overflow: hidden;
}

.Button32:hover .ButtonContent {
    background-position: 0 -92px;
    color: #FFB; 
}

.Button32 .ButtonTooltip {
	display: none;
	float: left;
	border: 1px black;
	color: #f3da1a;
	font: normal 1.1em Celticmd, Times, serif; 
}

.Button32:hover .ButtonTooltip {
	display: inline-block;
}

.Button32:hover {
    background-position: right -92px;
}

/*.Button32:active {
    position: relative;
	top: 1px;
	left: 1px;
}*/

.Button32.SelectedButton {
    background-position: right -46px;
}          

.Button32.SelectedButton .ButtonContent {
    background-position: 0 -46px;
}

.Button32:active, .Button32.SelectedButton:hover {
    background-position: right -138px;
}  

.Button32:active .ButtonContent, .Button32.SelectedButton .ButtonContent:hover {
    background-position: 0 -138px;
}

.submitButton {
	border-style:none;
	line-height: 20px;
	font-size: 16px;
	border-width: 0px; 
	-moz-appearance: none; 
	-moz-box-sizing: content-box;
	white-space: normal;
	text-align:left;
        padding-right: 12px;
}


/*-------------------------------------------------- */
/*                Button 64                          */
/*-------------------------------------------------- */

.Button64 .ButtonContent {
    background: transparent url(Images/gui/button64_left.png) no-repeat 0 0;
    display: inline-block;
    padding: 6px 0px 0px 8px;
    height: 78px;
    line-height: 64px;
    color: #f3da1a; 
    text-shadow: 2px 2px 2px #000;
    font: normal 1.1em Celticmd, Times, serif;
}

.Button64 .ButtonContent span {
    vertical-align: 30%;
    padding-left: 10px;
    font: normal 1em Celticmd, Times, serif; 
}

.Button64 .ButtonContent img {
    padding-left: 0px;
}

.Button64 .ButtonContent .ButtonImg {
    padding-left: 0px;
    height: 64px;
    width: 64px;
}

.Button64 {
    background: transparent url(Images/gui/button64_right.png) no-repeat top right;
    display: inline-block;
    float: left;
    height: 78px;
    margin-left: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-right: 12px;
    text-decoration: none;
    overflow: hidden;    
}

.Button64:hover .ButtonContent {
    background-position: 0 -156px;
    color: maroon; 
	text-shadow: 2px 2px 2px #333;
}

.Button64 .ButtonTooltip {
	display: none;
	float: left;
	border: 1px black;
	color: #f3da1a;
	font: normal 1.1em Celticmd, Times, serif; 
}

.Button64:hover .ButtonTooltip {
	display: inline-block;
}

.Button64:hover {
    background-position: right -156px;
}

.Button64.SelectedButton {
    background-position: right -78px;
}          

.Button64.SelectedButton .ButtonContent {
    background-position: 0 -78px;
}

.Button64:active, .Button64.SelectedButton:hover {
    background-position: right -234px;
}  

.Button64:active .ButtonContent, .Button64.SelectedButton .ButtonContent:hover {
    background-position: 0 -234px;
}

								
/*-------------------------------------------------- */
/*                Tooltips                           */
/*-------------------------------------------------- */
.tooltip {
	position:relative;
}

.tooltip .classic {
	margin-left: -999em;
	position: absolute;
}

.tooltip_inline {
        display:inline-block;
}

.tooltip:hover .classic {
	border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.5); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
	color: black;
	font-family: Calibri, Tahoma, Geneva, sans-serif;
	position: absolute; 
        left: 2em; 
        top: 7em; 
	margin-left: 0; 
        width: 200px;
        z-index: 25;
}
.tooltip:hover .tootipImg {
	border: 0; 
        margin: -10px 0 0 -55px;
	float: left; 
        position: absolute;
	left: 1.5em; 
        top: -1em;
}
.tooltip_pos2:hover .classic {
	left: -10.5em; top: 2.5em;
        width: 240px;
}
.tooltip_pos2:hover .tootipImg {
	left: 1.5em; top: -1em;
}
.tooltip_pos3:hover .classic {
        position:fixed; 
        top: 350px;
        left: 400px;
        width: 430px;
        height: 300px;
        overflow-y: auto;
}
.tooltip_pos3:hover .tootipImg {
	top: -1em;
}

.tooltip_pos4:hover .classic {
	top: -7em;
        left: 5em;
        width: 500px;
        height: 300px;
        overflow-y: auto;
}

.tooltip_pos5:hover .classic {
	left: 5em; top: 4em;
}
.tooltip_pos5:hover .tootipImg {
	left: 1.5em; top: -1em;
}

.tooltip_pos6:hover .classic {
	left: 7em; top: 0em;
}
.tooltip_pos6:hover .tootipImg {
	left: 1em; top: 0em;
}

.tooltip_pos7:hover .classic {
        width: 340px;
}

.tooltip_pos8:hover .classic {
        width: 400px;
        height: 250px;
        overflow-y: auto;
        left: 2em; top: 0em;
}

.tooltip_pos9:hover .classic {
	top: 2.5em;
}

.tooltip_pos10:hover .classic {
	top: 2em;
        left: -15em;
        width: 270px;
        font: 1em "Script MT Bold",Times,serif;
}

.tooltip_pos13:hover .classic {
	top: 0em;
        left: -15em;
        width: 270px;
        font: 1em "Script MT Bold",Times,serif;
}

.tooltip_pos11:hover .classic {
	left: 7em; top: 0em;
	font: 1em "Script MT Bold",Times,serif;
}
.tooltip_pos11:hover .tootipImg {
	left: 1em; top: 0em;
}

.tooltip_pos12:hover .classic {
	left: -8em; top: 6em;
}

.tooltip_pos_above:hover .classic {
	left: 3em; top: -3em;
}
.tooltip_pos_above:hover .tootipImg {
	left: 1.5em; top: -1em;
}

.tooltip:hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold;
	display: inline-block; padding: 0.2em 0 0.6em 0;
}

.classic { padding: 0.5em 0.5em;}
.custom { padding: 0.5em 0.8em 0.8em 2em; }
/** html a:hover { background: transparent; }*/
.classic {background: url(Images/gui/parchemin.jpg); border: 2px outset #FFAD33;}
.critical { background: #FFCCAA; border: 1px solid #FF3334;	}
.help { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.info { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.warning { background: #FFFFAA; border: 1px solid #FFAD33; }


/*-------------------------------------------------- */
/*                fonts                              */
/*-------------------------------------------------- */
.ScriptFont {
    color: #444;
    font: 1em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #FFFFFF;     
}


/*-------------------------------------------------- */
/*                Ingame chat                        */
/*-------------------------------------------------- */
.IngameChatWidget {
    position: fixed;
    top: 100px;
    width: 400px;
    height: 300px;
    padding: 30px;
    display: none;
    opacity: 0.0;
    border: 0px;
    text-align: center;
    background-color: transparent;
    color: #633;
    font: 2.0em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #FFFFFF, 0 0 10px #FFFFFF, 0 0 10px #FFFFFF, 0 0 10px #FFFFFF, 0 0 10px #FFFFFF, 0 0 10px #FFFFFF, 0 0 10px #FFFFFF;    
    z-index: 99;
}


/*-------------------------------------------------- */
/*             Scenario overlay                      */
/*-------------------------------------------------- */

.overlayClear2 {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    z-index: 1000;
}

.overlaySemiOpacity {
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    background-color: black;
    opacity: 0.6;
}

.ScenarioSettingsWidget {
    width:918px; 
    padding: 20px;
    height: 760px; 
    margin-left:20px; 
    overflow-x: hidden; 
    overflow-y: auto;
    color: #111;
    font: 1.3em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #FFFFFF;      
    text-align: justify;
}

.WrappedImageCenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	border: 2px ridge #B83;
	box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
}

.WrappedImageLeft {
    clear: both;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.WrappedImageLeft2 {
    clear: both;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.WrappedImageLeftNoBorder {
    clear: both;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.NormalImage {
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.WrappedImageRight {
    clear: both;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.WrappedImageRight2 {
    clear: both;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.CenteredImage {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px ridge #B83;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.8);    
}

.ScenarioSettingsSubtitle {
    vertical-align: 30%; 
    margin-left:5px;
}


.ScenarioSettingsTitle {
    font-size: 1.5em;
    color: #511;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.ScenarioSettingsTitle > span {
    margin-left: 20px; 
    margin-right: 20px;
    vertical-align: 18px;
}

.ImageMargin {
    clear: both;
    float: left;
    height: 100px;
    width: 0px;
}

.ScenarioBriefingSeparator {
    background-image: url(Images/site/deco1.png);
    background-position: center;
    height: 170px;
    background-repeat: no-repeat;
}

.MainFrameSimpleHeader { 
	width: 1000px;
	height: 22px;
	background: url(Images/site/MainFrameSimpleHeader.jpg); 
	margin: auto;
	margin-top: 10px; 
}

.MainFrameBody { 
        margin: auto;
	width: 1000px;
        height: 625px;
}

.MainFrameBody2 { 
	width: 1000px;
        float:left;
	background: url(Images/site/MainFrameBody.jpg) repeat-y;
      	padding-top: 10px;
      	padding-bottom: 10px;
}

.MainFrameFooter { 
	width: 1000px;
	height: 22px;
	background: url(Images/site/MainFrameFooter.jpg);
	margin: auto;
	margin-bottom: 10px;
}


/*-------------------------------------------------- */
/*                Choice button                      */
/*-------------------------------------------------- */
.ButtonChoice {
    width: 300px;
    height: 49px;
    margin:auto;
    margin-top: 2px;
    background-image: url(Images/site/ButtonChoice.png);
    overflow: hidden;
}

.ButtonChoice > div {
    width: 300px;
    height: 49px;
    /*position: absolute;*/
    cursor: url(Images/eoe.cur) 0 0, pointer;
}

.ButtonChoice > .ButtonChoiceHighligh {
    visibility: hidden;
}

.ButtonChoice.Selected > .ButtonChoiceHighligh {
    opacity:0.5;
    visibility: visible;
    background-image: url(Images/site/ButtonChoiceSelected.png);
}

.ButtonChoice > .ButtonChoiceHighlighRed {
    opacity:0.5;
    background-image: url(Images/site/ButtonChoiceSelectedRed.png);
    position: relative;
    top: -98px;
}

.ButtonChoice:hover {
    background-image: url(Images/site/ButtonChoiceHighligh.png);
}
    
.ButtonChoice > .ButtonChoiceText {
    padding-top: 10px;
    height: 39px;
    /*color: #f3da1a;*/
    color: #FFB;
    text-shadow: 1px 1px 0px #000, 1px 1px 3px #000, 1px 1px 3px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.4em Celticmd, Times, serif;
    text-align: center;
    position: relative;
    top: -50px;    
}

.ButtonChoice > .ButtonChoiceText > span {
    vertical-align: 40%;
    margin-left: 5px;
}


/*-------------------------------------------------- */
/*                Choice button smaller              */
/*-------------------------------------------------- */
.ButtonChoice200 {
    width: 200px;
    height: 49px;
    margin:auto;
    margin-top: 2px;
    background-image: url(Images/site/ButtonChoice_200.png);
}

.ButtonChoice200 > div {
    width: 200px;
    height: 49px;
    position: absolute;
    cursor: url(Images/eoe.cur) 0 0, pointer;
}

.ButtonChoice200 > .ButtonChoiceHighligh {
    visibility: hidden;
}

.ButtonChoice200.Selected > .ButtonChoiceHighligh {
    opacity:0.5;
    visibility: visible;
    background-image: url(Images/site/ButtonChoiceSelected_200.png);
}

.ButtonChoice200:hover {
    background-image: url(Images/site/ButtonChoiceHighligh_200.png);
}
    
.ButtonChoice200 > .ButtonChoiceText {
    padding-top: 10px;
    height: 39px;
    /*color: #f3da1a;*/
    color: #FFB;
    text-shadow: 1px 1px 0px #000, 1px 1px 3px #000, 1px 1px 3px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.4em Celticmd, Times, serif;
    text-align: center;
    
}

.ButtonChoice200 > .ButtonChoiceText > span {
    vertical-align: 40%;
    margin-left: 5px;
}



/*-------------------------------------------------- */
/*                   Achievement                     */
/*-------------------------------------------------- */
.AchievementList {
    margin: auto; 
    border-style: none;
    padding: 0px;
    cursor: url(Images/eoe.cur) 0 0, default;
}

.AchievementListContent {
    position: absolute;
    overflow-y: scroll;
    overflow-x: hidden;
}

.AchievementLine {
    width:393px;
    height:57px;
	display:inline;
    /*background: url(Images/site/AchievementBg.jpg);*/
}

.AchievementIcon {
    width: 160px;
    height: 65px;
    float: left;
    background-image: url(Images/site/AchievementsFg.png);
}

    
.AchievementFg {
    position: absolute;
    width: 160px;
    height: 65px;
    background-image: url(Images/site/AchievementsFg.png);
}

.AchievementImg {
    position: absolute;
    width: 118px;
    height: 43px;
    margin-top: 9px;
    margin-left: 20px;
    background-image: url(Images/site/Achievements.png);
}

.AchievementText {
    float: left;
    text-align: left;
    padding-top: 12px;
    margin-left: 15px;
    width: 190px;
    height: 55px;
    color: #FFFFBB;
    font: 1.4em Celticmd,Times,serif;
    text-shadow: 1px 1px 0 #000000, 1px 1px 3px #000000, 1px 1px 3px #000000, -1px -1px 0 rgba(255, 255, 255, 0.5);    
}

.AchievementBar {
    background: url(Images/units/bar2.png);
    position: absolute;
    width: 63px;
    height: 14px;
    margin-left: 47px;
    margin-top: 45px;
    padding-top: 6px;
    padding-left: 4px;
}

.AchievementValue {
    position: relative;
    background: url(Images/units/bar_blue2.png);
    width: 58px;
    height: 5px;
}

.AchievementGlory {
    background-image: url(Images/site/AchGlory.png);
    width:32px; 
    height:27px;
    display:inline-block;
	text-align: center;
    padding-top: 7px;
	color: #FFFFBB;
	font: 1.4em Celticmd,Times,serif;
	text-shadow: 1px 1px 0 #000000, 1px 1px 3px #000000, 1px 1px 3px #000000, -1px -1px 0 rgba(255, 255, 255, 0.5);
	position: relative;
	left: 140px;
	top: 15px;
}

/*-------------------------------------------------- */
/*                 Dialog boxes                      */
/*-------------------------------------------------- */
.DialogBox {
    margin:auto;
    margin-top: 100px; 
    box-shadow: 2px 2px 2px black, 0px 0px 8px yellow, 2px 2px 2px yellow;
    -moz-box-shadow: 2px 2px 2px black, 0px 0px 8px yellow, 2px 2px 2px yellow;
    -webkit-box-shadow: 2px 2px 2px black, 0px 0px 8px yellow, 2px 2px 2px yellow;    
    background: url(Images/gui/CornerBorder.png) top right no-repeat,
                url(Images/gui/CornerBorder2.png) top left no-repeat,
                url(Images/gui/CornerBorder.png) bottom right no-repeat,
                url(Images/gui/CornerBorder2.png) bottom left no-repeat,
                url(Images/gui/VerticalBorder.png) top right no-repeat,
                url(Images/gui/VerticalBorder_shadow.png) top left no-repeat,
                url(Images/gui/HorizontalBorder_shadow.png) top left no-repeat,
                url(Images/gui/HorizontalBorder.png) bottom left no-repeat,
                url(Images/gui/Panel2a.jpg) top left no-repeat;	
}

.DialogBoxTitle {
    color: #f3da1a; 
    text-shadow: 2px 2px 2px #000;
    font: normal 1.2em Celticmd, Times, serif;
    padding-top: 30px;
    margin-bottom: 10px;
}


.OptionText {
    color: #E8E9BE; 
    text-shadow: 2px 2px 2px #000;
    font: normal 1.2em Celticmd, Times, serif;
    display: inline;
    margin-left: 5px;
    vertical-align: -25%;
}

.OptionLine {
    margin-bottom: 10px;
    margin-left: 50px;
    text-align: left;
}


/*-------------------------------------------------- */
/*                Rounded checkbox                   */
/*-------------------------------------------------- */
.roundedTwo {
    width: 28px;
    height: 28px;
    background: #ffe400;
    display: inline-block;

    background: -webkit-linear-gradient(top, #EA4 0%, #EC4 40%, #A64 100%);
    background: -moz-linear-gradient(top, #EA4 0%, #EC4 40%, #A64 100%);
    background: -o-linear-gradient(top, #EA4 0%, #EC4 40%, #A64 100%);
    background: -ms-linear-gradient(top, #EA4 0%, #EC4 40%, #A64 100%);
    background: linear-gradient(top, #EA4 0%, #EC4 40%, #A64 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );*/

    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;

    -webkit-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
    box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
    position: relative;
}

.roundedTwoText {
    display: inline-block;
    margin-left: 5px;
    vertical-align: -25%;
    /*position: absolute;
    left: 40px;
    top: 2px;*/

}

.roundedTwo label {
	cursor: url(Images/eoe.cur) 0 0, pointer;
	position: absolute;
	width: 20px;
	height: 20px;

	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	left: 4px;
	top: 4px;

	-webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
	-moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
	box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);

	background: -webkit-linear-gradient(top, #222 0%, #45484d 100%);
	background: -moz-linear-gradient(top, #222 0%, #45484d 100%);
	background: -o-linear-gradient(top, #222 0%, #45484d 100%);
	background: -ms-linear-gradient(top, #222 0%, #45484d 100%);
	background: linear-gradient(top, #222 0%, #45484d 100%);
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#45484d',GradientType=0 );*/
}

.roundedTwo label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	content: '';
	position: absolute;
	width: 9px;
	height: 5px;
	background: transparent;
	top: 5px;
	left: 4px;
	border: 3px solid #fcfff4;
	border-top: none;
	border-right: none;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.roundedTwo label:hover::after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	opacity: 0.3;
}

.roundedTwo input[type=checkbox] {
    opacity: 0;
}

.roundedTwo input[type=checkbox]:checked + label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}


/*-------------------------------------------------- */
/*                Button 32 red                         */
/*-------------------------------------------------- */

.Button32Red .ButtonContent {
    background: transparent url(Images/gui/button32red_left.png) no-repeat 0 0;
    display: inline-block;
    padding: 6px 0px 0px 8px;
    height: 49px;
    line-height: 32px;
    color: #f3da1a; 
    text-shadow: 1px 1px 0px #000, 1px 1px 3px #000, 1px 1px 3px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.1em Celticmd, Times, serif;
    cursor: url(Images/eoe.cur) 0 0, default;
}

.Button32Red .ButtonContent span {
    vertical-align: 35%;
    padding-left: 10px;
    font: normal 1em Celticmd, Times, serif; 
}

.Button32Red .ButtonContent img {
    padding-left: 0px;
    margin-top: 2px;
}

.Button32Red .ButtonContent .ButtonImg {
    padding-left: 0px;
    height: 32px;
    width: 32px;
}

.Button32Red {
    background: transparent url(Images/gui/button32red_right.png) no-repeat top right;
    display: inline-block;
    float: left;
    height: 49px;
    margin-left: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-right: 20px;
    text-decoration: none;
    overflow: hidden;
    cursor: url(Images/eoe.cur) 0 0, default;
}

.Button32Red:hover .ButtonContent {
    background-position: 0 -98px;
    color: #FFB; 
}

.Button32Red .ButtonTooltip {
	display: none;
	float: left;
	border: 1px black;
	color: #f3da1a;
	font: normal 1.1em Celticmd, Times, serif; 
}

.Button32Red:hover .ButtonTooltip {
	display: inline-block;
}

.Button32Red:hover {
    background-position: right -98px;
}

.Button32Red.SelectedButton {
    background-position: right -49px;
}          

.Button32Red.SelectedButton .ButtonContent {
    background-position: 0 -49px;
}

.Button32Red:active, .Button32Red.SelectedButton:hover {
    background-position: right -49px;
}  

.Button32Red:active .ButtonContent, .Button32Red.SelectedButton .ButtonContent:hover {
    background-position: 0 -49px;
}


/*-------------------------------------------------- */
/*             Floating menu                         */
/*-------------------------------------------------- */

.VerticalMenuItem {
    clear: both;
}
 
.FloatingMenu {
    z-index: 12;
    margin: auto;
    position: relative;
    top: -20px;
}

.FloatingMenu .Item {
    width: 52px;
    height: 52px;
    background: url(Images/gui/smallTab.png) top right no-repeat;
    background-position: 0px 0px;
    display: inline-block;
}

.FloatingMenu .Item:hover {
    background-position: -52px 0px; 
}

.FloatingMenu .Item.SelectedButton {
    background-position: -104px 0px; 
}

.FloatingMenu .Item .ButtonImg1 {
    margin: 10px;
    margin-top: 13px;
    height: 24px;
    width: 32px;
    background: url(Images/nations/small.png) no-repeat;
    box-shadow: 1px 1px 1px black;
    -moz-box-shadow: 1px 1px 1px black;
    -webkit-box-shadow: 1px 1px 1px black;    
}

.FloatingMenu .Item .ButtonImg2 {
    margin: 10px;
    height: 32px;
    width: 32px;
    background: url(Images/panel/Icons32.png) no-repeat;
}


/*-------------------------------------------------- */
/*                Unit info                            */
/*-------------------------------------------------- */

.OOBColumn {
    float: left;
    width: 430px;
    margin-left: 20px;
}

.OOBTitle {
    text-align: center;
    color: #f3da1a;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
    font: bold 1.2em Celticmd, Times, serif; 	
    margin-bottom: 10px;
    margin-top: 7px;
    text-decoration: underline;
}

.OOBEmphas {
    color:#9a370f;
}

.OOBElement {
    margin-bottom : 20px;
}

.OOBPortraitColumn {
    float: left;
    width: 93px;
    font-size: 0.9em;
}

.OOBLeaderIcon {
    width: 32px;
    height: 32px;
    float: left;
    background-image: url(Images/site/register.png);    
}

.OOBLeader {
    text-align: left;
    vertical-align: bottom;
    color: #f3da1a;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
    font: bold 0.9em Times, serif; 	
    margin-left: 36px;
    margin-bottom: 10px;
    margin-top: 7px;
}

.OOBSumary {
    text-align: left;
    vertical-align: bottom;
    color:#f3da1a; 
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
    font: bold 0.9em Times, serif; 	
    margin-left: 5px;
    margin-top: 7px;
}

.OOBNationIcon {
    width: 24px;
    height: 17px;
    float: left;
    background-image: url(../EaglesOverEurope/Images/nations/small_24.png);
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.8);    
}

.OOBUnit {
    text-align: left;
    vertical-align: bottom;
    font: 0.9em Times, serif; 	
    margin-left: 36px;
    margin-top: 7px;
}

.OOBAocUnit {
    width: 30px; 
    height: 22px;
    float: left;
}

.OOBAocUnitSpriteBg {
    top: 0px; 
    left: 0px;
    width: 30px; 
    height: 22px;    
}

.OOBAocUnitSpriteType {
    position: relative;
    top: -25px; 
    left: 0px;
    width: 29px; 
    height: 25px;    
}

.UnitPortrait {
	border-style: none;
	width: 85px;
	height: 100px;
	padding: 4px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a.jpg) top left no-repeat;	
}

.UnitPortraitDescription {
        float: left;
	border-style: none;
	width: 500px;
	height: 150px;
	padding: 4px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a.jpg) top left no-repeat;	
}

.UnitPortraitOOB {
        float: left;
	border-style: none;
	width: 290px;
	height: 150px;
	padding: 4px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel1a.jpg) top left no-repeat;	
}

.UnitPortraitContent {
        font-size: 0.9em;
	padding: 8px;
        overflow-y: scroll;
        height : 134px;
}

.UnitPortraitSprite {
	width: 85px;
	/*padding-top: 80px;*/
        height: 100px;
}

.UnitPortraitTypeIcon {
	width: 26px;
	height: 26px;
        position: absolute;
        top: 10px;
        left: 10px;
        background: transparent url(Images/units/TypeIcon.png) no-repeat;
}

.UnitPortraitText {
        position: absolute;
        text-align: center;
        color: #f3da1a;
        text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
        font: bold 0.9em Times, serif; 	
        width: 85px;
        bottom: 5px;
}

.UnitDesorgBar {
	border-style: none;
	margin-top: 2px;
	margin-bottom: 2px;
	width: 40px;
	height: 8px;
	padding: 4px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom left no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel2a.jpg) top left no-repeat;	
}

#UnitDesorgBarRemain {
	border-style: none;
	float:left;
	width: 0px;
	height: 8px;
	background: url(Images/GreenBar.png) repeat;	
}

#UnitDesorgBarDamage {
	border-style: none;
	float:left;
	width: 0px;
	height: 8px;
	background: url(Images/RedBar.png) repeat;	
}

