/*-------------------------------------------------- */
/*                Font								 */
/*-------------------------------------------------- */
@font-face {
    font-family: "Celticmd";
    src: url('./celticmd.ttf');
}


/*-------------------------------------------------- */
/*                Body                          */
/*-------------------------------------------------- */
body {
    /* prevent selection in the page */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    height:100%;
    margin:0;
    padding:0;
}


/*-------------------------------------------------- */
/*                Titres                          */
/*-------------------------------------------------- */
h1 {
	color: #9a370f; 
	text-shadow: 1px 1px 1px #000;
	text-align: center;
	font: normal 1.6em Celticmd, Times, serif;
	margin-top: 0px;
	margin-bottom: 0px;
}

h2 {
	color: #9a370f; 
	text-shadow: 1px 1px 0px rgba(0,0,0,0.5), 1px 1px 2px #000, 1px 1px 2px #000, -1px -1px 0px rgba(255,255,255,0.3);
	text-align: center;
	font: normal 1.3em Celticmd, Times, serif;
	margin-top: 0px;
	margin-bottom: 0px;
}

.VersionType {
        color: #f3da1a; 
	/*text-shadow: 1px 1px 0px rgba(0,0,0,0.5), 1px 1px 2px #000, 1px 1px 2px #000, -1px -1px 0px rgba(255,255,255,0.3);*/
        text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 10px #FFF, 0px 0px 10px #FFF, 0px 0px 10px #FFF;
	text-align: center;
	font: normal 0.8em Celticmd, Times, serif;
}

.VersionType a:link {
        color: #f3da1a; 
}

.VersionType a:visited {
        color: #f3da1a; 
}


.Version {
        color: #A0370f; 
	/*text-shadow: 1px 1px 0px rgba(0,0,0,0.5), 1px 1px 2px #000, 1px 1px 2px #000, -1px -1px 0px rgba(255,255,255,0.3);*/
        text-shadow: 1px 1px 1px #000, 0px 0px 1px #000;
	text-align: center;
	font: normal 0.4em Celticmd, Times, serif;
	margin-top: -50px;
        margin-left: -100px;
        top:100%;
        left:100%;
        position: relative;
        width: 50px;
        height: 20px;
}


/*-------------------------------------------------- */
/*                 News                              */
/*-------------------------------------------------- */
.NewsListWidget {
	font: normal 1.2em "Script MT Bold",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_old.jpg) top left no-repeat;
}

/* special chrome that has bigger font*/
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
    .NewsListWidget {
        font: normal 1.1em "Script MT Bold",Times,serif;
    }
}

.NewsDate {
    color: #444;
    text-shadow: 0 0 2px #fff;
}

.NewsText {
    color: #631;
    text-shadow: 0 0 2px #fff;
}

.NewsText:hover {
    color: #950; 
    text-shadow: 0px 0px 3px #FDA;
}

.ClickableText:hover {
    color: #950; 
    text-shadow: 0px 0px 3px #FDA;
}


/*-------------------------------------------------- */
/*                 Miscs                             */
/*-------------------------------------------------- */
.LineEditStats {
	background: url(Images/gui/background1.jpg);
	position: relative;
	padding: 0px 6px 0px 6px;
	color: #6c3914;
	text-shadow: 2px 2px 2px #444;
	font: normal 20px Celticmd, Times, serif;
	border: 2px #f2d174 inset;
	border-radius: 4px 4px;
	-moz-border-radius: 4px 4px;	
	display: inline-block;
	height: 20px; 
	width: 30px;
}

.err {
	margin-left: 50px;
	color: #FF1010;
	font: bold 24px Celticmd, Times, serif;
}

.PlayerFrame {
    /*background-color: transparent;
    box-shadow: 2px 2px 5px 4px rgba(255, 255, 255, 0.5) inset, -2px -2px 5px 3px rgba(0, 0, 0, 0.4) inset;
    background-image: url(Images/gui/parchemin.jpg);*/
    box-shadow: none;
    background: url("Images/gui/Panel1d.jpg") no-repeat scroll right bottom, 
            url("Images/gui/Panel1b.png") no-repeat scroll left bottom, 
            url("Images/gui/Panel1c.png") no-repeat scroll right top, 
            url("Images/gui/Panel1a_old.jpg") no-repeat scroll left top rgba(0, 0, 0, 0);
    border-style: none;
}

.ChallengeNotif {
    margin-left: 50px;
    margin-top: 3px;
    text-align: left;    
}

.StatsBar {
    margin-left: 30px;
    margin-top: 0px;
    text-align: left;    
}

.StatsBar>img {
    vertical-align: -7px;
    margin-right: 15px;
}

.PlayerTitle {
    font: 1.4em Celticmd,Times,serif;
    color: #F3DA1A; 
    cursor: url(Images/eoe.cur) 0 0, default;
    text-shadow: 1px 1px 0 #000000, 1px 1px 3px #000000, 1px 1px 3px #000000, -1px -1px 0 rgba(255, 255, 255, 0.5);
}

.PlayerTitleSilver {
    font: 1.6em Celticmd,Times,serif;
    color: #E8E9BE;
    cursor: url(Images/eoe.cur) 0 0, default;
    text-shadow: 1px 1px 0 #000000, 1px 1px 3px #000000, 1px 1px 3px #000000, -1px -1px 0 rgba(255, 255, 255, 0.5);
}

.UnreadMarker {
    font-size: 0.8em;
    font-weight: bolder;
}


/*-------------------------------------------------- */
/*                Ovale big button                   */
/*-------------------------------------------------- */
.TooltipNewGameOvale {
    width: 305px; 
    margin:auto;
    color: #444;
    font: 1.2em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #FFFFFF;    
}

.OvaleBigButton {
    width: 305px;
    height: 98px;
    margin-top: 10px;
}

.OvaleBigButton > div {
    width: 310px;
    height: 102px;
    position: absolute;
    cursor: url(Images/eoe.cur) 0 0, pointer;
}

.OvaleBigButton > .OvaleBigButtonBg {
    background-repeat: no-repeat;
}

.OvaleBigButton > .OvaleBigButtonHighligh {
    background-image: url(Images/site/OvaleHighligh.png);
    opacity:0.5;
    visibility: hidden;
}

.OvaleBigButton > .OvaleBigButtonLink1 {
    background-image: url(Images/gui/Frame1_top.jpg);
    height:4px;
    position:relative;
    top:50px;
    left:306px;
    width:53px;
    opacity:0;
}

.OvaleBigButton > .OvaleBigButtonLink2 {
    background-image: url(Images/gui/Frame1_top.jpg);
    height:4px;
    position:relative;
    top:50px;
    left:-25px;
    width:27px;
}

.OvaleBigButton > .OvaleBigButtonSelect {
    background-image: url(Images/site/OvaleSelect.png);
    opacity:0.5;
    visibility: hidden;
}

.OvaleBigButton:hover > .OvaleBigButtonHighligh {
    visibility: visible;
}
    
.OvaleBigButton > .OvaleBigButtonText {
    padding-top: 30px;
    height: 68px;
    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.8em Celticmd, Times, serif;
    text-align: center;
}


/*-------------------------------------------------- */
/*                Main menu                          */
/*-------------------------------------------------- */
.MainMenu {
	/*margin: auto;
	margin-bottom: 20px;*/
	display: inline;
}


/*-------------------------------------------------- */
/*              Main frame of php pages              */
/*-------------------------------------------------- */
.MainFrameHeader { 
	width: 1000px;
	height: 197px;
	background: url(Images/site/MainFrameHeader.jpg); 
	color: #9A370F; 
	text-shadow: 4px 4px 3px #222;
	text-align: center;
	font: normal 3.0em Celticmd;
	margin: auto;
	margin-top: 10px; 
        padding-top: 40px;
}

.MainFrameHeader main-title { 
        font-size: 1.5em;
        font-weight: bolder;
        color: #935f4a;
}

.StatsPanel {
	padding: 12px 20px 12px 20px;
	
	color: #f3da1a;
	text-shadow: 1px 1px 2px #000, 1px 1px 2px #000, -1px -1px 0px rgba(255,255,255,0.5);
	font: normal 1.2em Celticmd, Times, serif;
	line-height: 14px; 

	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom right no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel2a.jpg) top left no-repeat;		
}


/*-------------------------------------------------- */
/*                Tabs                               */
/*-------------------------------------------------- */
pre {text-indent: 30px} 

.idTabs { 	
	float:left; 
	width:160px; 
	height: 300px; 
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	height: 508px; 
	text-align: center;
	background: url(Images/gui/Panel2a.jpg) 176px 0px no-repeat;
}

.idTabs div { 
	margin-bottom: 2px;
	margin-left: 10px;
	
}

.idTabs a, a.selected {
	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; 
	margin: 0px; 
	text-decoration: none;
	display:block;
	height: 106px;
	padding: 10px;	 
}

.idTabs a { 
	background: url(Images/gui/VerticalTab2.png); 
        cursor: url(Images/eoe.cur) 0 0, default;
}
 
.idTabs a.selected { 
        color: #FFB; 
	background: url(Images/gui/VerticalTab1.png); 
}

.idTabs a:hover { 
	background: url(Images/gui/VerticalTab1.png); 
}
 
.tab-content {
	position: relative;
	font: 0.8em/1.1em verdana, sans-serif; 
	text-align: justify; 
	z-index: 2; 
	height: 488px;
	width: 750px;
	
	padding: 20px;
	padding-top: 20px;
	background: url(Images/gui/Panel1d.jpg) bottom right no-repeat,
				url(Images/gui/Panel1b.png) bottom right no-repeat,
				url(Images/gui/Panel1c.png) top right no-repeat,
				url(Images/gui/Panel2a.jpg) -4px 0px no-repeat;	
} 
 
.tab-content > a { text-decoration: none; color: #E8E9BE; } 
 
/*.tab-content a:hover { background: #aaaaaa; }*/ 


/*-------------------------------------------------- */
/*                Minimap Frame                      */
/*-------------------------------------------------- */
.minimap {
        width:320px;
        margin:auto; 
	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;	
}


/*-------------------------------------------------- */
/*                New game tabs                      */
/*-------------------------------------------------- */
.NewGameTab {
    display: none;
}

.ListWidgetContent tr {
    display: inline-block;
    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 tr.SelectedItem {
    box-shadow: 2px 2px 8px 3px rgba(255, 255, 255, 1) inset, -2px -2px 8px 3px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 2px 2px 8px 3px rgba(255, 255, 255, 1) inset, -2px -2px 8px 3px rgba(0, 0, 0, 0.4) inset;
    -webkit-box-shadow: 2px 2px 8px 3px rgba(255, 255, 255, 1) inset, -2px -2px 8px 3px rgba(0, 0, 0, 0.4) inset;
}

.ListChoiceItemIcon {
    display: inline-block;
    height: 32px;
    width: 32px;
}

.ListChoiceItemText {
    color: #444;
    display: inline-block;
    font: 1.5em "Script MT Bold",Times,serif;
    height: 32px;
    margin-left: 5px;
    text-shadow: 0 0 2px #FFFFFF;
    vertical-align: top;
    width: 225px;
}

.NewGameColumn {
    vertical-align: top;
    display:inline-block;
    width: 370px;
    text-align: center;
    height: 100%;
}

.newGame_comment {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 0px 6px 0px 6px;
    color: #fff49a;
    text-shadow: 1px 1px 3px #000, 1px 1px 1px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: italic 1.4em Celticmd, Times, serif;
    vertical-align: 60%;
}

.SettingsLine {
     vertical-align: 30%;
     margin-bottom: 5px;
}


.SettingsLabel {
    text-align: left;
    position: relative;
    display: inline-block;
    width: 195px;
    padding: 6px 6px 6px 6px;
    color: #f3da1a; 
    text-shadow: 1px 1px 3px #000, 1px 1px 1px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.4em Celticmd, Times, serif;    
    vertical-align: 60%;
}


#commentTextInput {
    width:472px; 
    height: 89px;
    color: #444;
    font: 1.6em "Script MT Bold",Times,serif;
    text-shadow: 0 0 2px #FFFFFF;        
}

.PlayerRankIcon {
    background: transparent url(Images/site/rank_small_icons.png) no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.PlayerTitleIcon {
    background: transparent url(Images/site/title_small_icons.png) no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.AIIcon {
    background: transparent url(Images/site/AIIcon.png) no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.ScenarioIcon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.FactionFlagIcon {
    width: 32px;
    height: 24px;
    display: inline-block;
}


.ListContent  {
    color: #555;
    font: normal 1.1em "Script MT Bold", Times, serif;
    vertical-align: top;
    margin-left: 5px;
    display: inline-block;
    text-shadow: 0px 0px 2px #FFF;
    cursor: url(Images/eoe.cur) 0 0, default;
}


.NbPlayerGameOption {
    color: #9a370f; 
    text-shadow: 1px 1px 1px #000;
    font: normal 1.0em Celticmd, Times, serif; 
    border:none;
    vertical-align: 15%;
    display: inline-block;    
}

/*-------------------------------------------------- */
/*          Statistics and Achievements              */
/*-------------------------------------------------- */
.StatsLabel {
    text-align: left;
    position: relative;
    display: inline-block;
    width: 140px;
    padding: 6px 6px 6px 6px;
    color: #f3da1a; 
    text-shadow: 1px 1px 3px #000, 1px 1px 1px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.4em Celticmd, Times, serif;    
    vertical-align: 60%;
}

.StatsValue {
    text-align: left;
    position: relative;
    display: inline-block;
    width: 195px;
    padding: 6px 6px 6px 6px;
    color: #E8E9BE; 
    text-shadow: 1px 1px 3px #000, 1px 1px 1px #000, -1px -1px 0px rgba(255, 255, 255, 0.5);
    font: normal 1.4em Celticmd, Times, serif;    
    vertical-align: 60%;
    text-align: center;
}

/*-------------------------------------------------- */
/*                Scn/module list                    */
/*-------------------------------------------------- */
.ScnContainer {
    
}

.ScnMedal0 {
    background: transparent url(Images/site/decoration0.png) no-repeat;
    width: 21px;
    height: 40px;
    display: inline-block;
}

.ScnMedal1 {
    background: transparent url(Images/site/decoration1.png) no-repeat;
    width: 21px;
    height: 40px;
    display: inline-block;
}

.ScnMedal2 {
    background: transparent url(Images/site/decoration2.png) no-repeat;
    width: 21px;
    height: 40px;
    display: inline-block;
}


/*-------------------------------------------------- */
/*                Button icon 32                     */
/*-------------------------------------------------- */

.ButtonIcon32 {
    background: transparent url(Images/gui/ButtonIcon32.png) no-repeat 0 0;
    display: inline-block;
    cursor: url(Images/eoe.cur) 0 0, default;
    width: 56px;
    height: 49px;
    float: left;
}

.ButtonIcon32 img {
    padding-left: 0px;
    margin-top: 8px;
}

.ButtonIcon32:hover {
    background-position: 0 -98px;
}

.ButtonIcon32:active, .ButtonIcon32.SelectedButton:hover {
    background-position: 0 -49px;
}

.ButtonIcon32:active img {
    margin-left: 2px;
    margin-top: 10px;
}


/*-------------------------------------------------- */
/*    Issue with firefox select option styling       */
/*-------------------------------------------------- */
@supports (-moz-appearance:none) {
select {
    -webkit-appearance: none;  /* Remove style Chrome */
    -moz-appearance: none; /* Remove style FireFox */
    appearance: none;
}
}