html {
    background: url('/images/portal/html_bg.png');
    background-attachment: scroll;
    background-color: #E8EDF0;
    background-repeat: repeat-x;
}

h1, h2, h3, h4, h5 {
    color: #17447C;
}

h1 {
    margin-top: 0;
}

/* Header */
#header {
    height: 100px;
    background: url('/images/portal/header_menu_bg.gif') repeat-x bottom;
}

#header_main {
    width: 878px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

#header_logo {
    position: absolute;
    left: 0;
    bottom: 0;
}

#header_branch_name {
    position: absolute;
    left: 115px;
    top: 10px;
}

#header_site_name {
    color: #3E4675;
    font-size: 30px;
    font-weight: bold;
}

#header_site_suffix {
    color: #FD6A00;
    font-size: 30px;
    font-weight: bold;
}

#header_reg_tm {
    font-size: 11px;
    font-weight: normal;
    color: #000000;
    vertical-align: top;
}

#header_company {
    font-style: italic;
    display: block;
    color: #5E5E5E;
    line-height: 16px;
}

/* Main navigation */
#header_menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    bottom: 0;
    left: 120px;
}

#header_menu li {
    display: inline;
    padding: 0 15px;
    font-size: 13px;
    line-height: 30px;
}

#header_menu li.first {
    padding-left: 0;
}

#header_menu li a {
    color: #FFFFFF;
    text-decoration: none;
}

#header_menu li a:hover {
    text-decoration: underline;
}


/* Registration & login links */
#header_menu_registration {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    top: 46px;
    right: 0;
}

#header_menu_registration li {
    display: inline;
    padding: 0 1px;
    color: #5E5E5E;
}

#header_menu_registration li img {
    position: relative;
    top: -2px;
}

#header_menu_registration li a.icon {
    padding-right: 3px;
}

#header_menu_registration li a.icon:hover {
    text-decoration: none;
}

#header_menu_registration li.known_guest {
    color: #FD6A00;
}

#header_menu_registration li a {
    color: #5E5E5E;
    text-decoration: none;
}

#header_menu_registration li a:hover {
    text-decoration: underline;
}


/* Language changer */
#header_language_select {
	position: absolute;
	width: 90px;
	height: 25px;
	top: 10px;
    right: 0;
	z-index: 2;
	border: 1px solid #6A81B0;
	line-height: 25px;
	padding-left: 45px;
    background: #FFFFFF no-repeat 5px 5px;
}

#header_language_select ul {
    width: 135px;
	margin: 0;
	padding: 0;
	margin-left: -46px;
	list-style-type: none;
	background-color: #FFFFFF;
	border: 1px solid #6A81B0;
	border-top: none;
	position: absolute;
	z-index: 101;
    display: none;
}

#header_language_select ul.show {
    display: block;
}

#header_language_select li {
	line-height: 25px;
	height: 25px;
	padding-left: 45px;
	cursor: pointer;
    background: no-repeat 5px 5px;
}

#header_language_select li.hover {
    background-color: #E1E3EC;
}

#header_language_select a {
	display: block;
	text-decoration: none;
}

#header_language_current {
	display: block;
	background-image: url('/images/header_v2/select_arrow.gif');
	background-repeat: no-repeat;
	background-position: 68px 5px;
}
/* Language changer END */

/* Content */
#content {
    margin-top: 0;
    padding-top: 15px;
    border-top: none;
}

div.content_decorator {
    width: 878px;
    margin: 15px auto 0;
    border: 1px solid #CCCCCC;
    background-color: #FFFFFF;
}

#content_fullsize {
	width: 790px;
	margin: 0 auto;
}

#content_fullsize h1 {
	margin-bottom: 15px;
}

/* DEPRECATED BUTTONS */

.my_button {
    font-family: Arial, Verdana, sans-serif;
    background-image: url("/images/misc/button.gif");
    background-repeat: no-repeat;
    height: 21px;
    width: 90px;
    border: 0px;
    font-size: 12px;
    cursor: pointer;
}

.my_button_100 {
    font-family: Arial, Verdana, sans-serif;
    background-image: url("/images/misc/button_100.gif");
    background-repeat: no-repeat;
    height: 21px;
    width: 100px;
    border: 0px;
    font-size: 12px;
    cursor: pointer;
}

.my_button_120 {
    font-family: Arial, Verdana, sans-serif;
    background-image: url("/images/misc/button_120.gif");
    background-repeat: no-repeat;
    height: 21px;
    width: 120px;
    border: 0px;
    font-size: 12px;
    cursor: pointer;
}

.my_button_130 {
    background-image: url("/images/misc/button_130.gif");
    width: 130px;
}

.my_button_140 {
    background-image: url("/images/misc/button_140.gif");
    width: 140px;
}

.my_button_gold {
    background-image: url("/images/misc/button_gold.gif");
}

.my_button_100_gold {
    background-image: url("/images/misc/button_gold_100.gif");
}

.my_button_120_gold {
    background-image: url("/images/misc/button_gold_120.gif");
}

.my_button_130_gold {
    background-image: url("/images/misc/button_gold_130.gif");
}

.my_button_140_gold {
    background-image: url("/images/misc/button_gold_140.gif");
}

.my_button_red {
    background-image: url("/images/misc/button_red.gif");
}

.my_button_100_red {
    background-image: url("/images/misc/button_red_100.gif");
}

.my_button_120_red {
    background-image: url("/images/misc/button_red_120.gif");
}

.my_button_130_red {
    background-image: url("/images/misc/button_red_130.gif");
}

.my_button_140_red {
    background-image: url("/images/misc/button_red_140.gif");
}
/* END DEPRECATED BUTTONS */



/* Footer */
#footer {
    margin: 10px auto 15px;
    width: 970px;
    clear: both;
    text-align: center;
}

#footer a {
    color: #16387C;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer_menu {
    margin: 10px auto;
    list-style-type: none;
}

#footer_menu li {
    display: inline;
    padding: 0 6px 0 10px;
    color: #6C717A;
    background: url('/images/portal/middot.gif') no-repeat 0 5px;
}

#footer_menu li.first {
    background: none;
}

#footer_page_options {
    margin: 15px 0;
	text-align: center;
}

#footer_page_options a.option {
	color: #6C717A;
	text-decoration: none;
	padding-left: 23px;
	background-repeat: no-repeat;
}

#footer_dating_network {
    margin: 10px auto;
    list-style-type: none;
    font-size: 10px;
    line-height: 12px;
}

#footer_content_network a {
    font-size: 10px;
    color: #6C717A;
}

#footer_dating_network li {
    display: inline;
    padding: 0 6px 0 10px;
    color: #6C717A;
    background: url('/images/portal/middot.gif') no-repeat 0 5px;
}

#footer_dating_network li.first {
    background: none;
}

#footer_copyright {
    clear: both;
    color: #6C717A;
}

#footer_copyright p {
    margin: 7px 0;
    font-size: 10px;
}

#footer_rendering {
    margin: 15px 0;
    color: #BFBFBF;
    font-size: 10px;
}





/* Breadcrumb */
#breadcrump_frame {
    width: 630px;
    float: right;
    margin-right: 20px;
    display: inline;
}

#breadcrump {
    margin: 0;
    padding: 0;
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
}

#breadcrump li {
    display: inline;
}

/* Open Text */
#openText {
    width: 630px;
    float: right;
    margin-right: 20px;
    line-height: 18px;
    font-size: 12px;
    display: inline;
}

#openText h1 {
    background-color: #3A77A4;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
    padding-left: 15px;
    margin-top: 0;
}

#openText h2 {
    font-size: 13px;
    padding-left: 15px;
    background-color: #F0F0F0;
    color: #001591;
    line-height: 24px;
}

#openText h3 {
    font-size: 14px;
    padding-left: 15px;
}

#openText h4 {
    font-size: 12px;
    padding-left: 15px;
}


#openText h1 a {
    text-decoration: none;
    color: #FFFFFF;
}

#openText h2 a,
#openText h3 a,
#openText h4 a,
#openText h5 a {
    color: #001591;
    text-decoration: none;
}

#openText p {
    line-height: 16px;
    padding-left: 15px;
}

#openText ul {
    margin: 15px 0;
    padding: 0;
    padding-left: 30px;
}

#openText ul li {
    line-height: 18px;
}

#openText .entry {
    border-bottom: 1px solid #CCCCCC;
}

#openText table {
    padding-left: 15px;
}

#openText dl {
    width: 250px;
    margin: 0;
}

#openText dl.left {
    float: left;
    margin: 0 15px;
}

#openText dl.right {
    float: right;
    margin-left: 15px;
}

#openText dl dd {
    margin: 0;
    font-style: italic;
    text-align: center;
    font-size: 11px;
}

#openText address {
    margin-left: 15px;
}

div.not_translated {
    float: right;
    width: 630px;
    margin-right: 20px;
    margin-bottom: 10px;
    border: 1px solid #FF0000;
}

div.not_translated p {
    margin: 5px;
}

/* Sidebar */
#sideBar {
    width: 180px;
    margin-left: 20px;
    float: left;
    display: inline;
}

#sideBar table {
    width: 100%;
    background-color: #ECEDF2;
    border-collapse: collapse;
}

#sideBar td {
    text-align: center;
}

#sideBar th {
    /*background-color: #3A77A4;*/
    background-color: #3A77A4;
    color: #FFFFFF;
    font-size: 14px;
    text-align: left;
    line-height: 28px;
    padding: 0;
}

#sideBar th a {
    background: url('/images/sidebar/sidebar_play_v2.gif') no-repeat 135px 4px;
    padding-left: 25px;
    color: #FFFFFF;
    text-decoration: none;
    display: block;
}

#sideBar div.photo {
    border: 0;
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 0;
    padding-bottom: 10px;
    background-color: #ECEDF2;
    color: #0C233F;
    font-size: 10px;
}

#sideBar div.photo img {
    border: 1px solid #C2C2C2;
    padding: 7px;
    background-color: #FFFFFF;
}

#sideBar div.photo a {
    text-decoration: none;
}

/* Photos/Images with frame */
img.photo {
    border: 1px solid #C2C2C2;
    padding: 7px;
    background-color: #FFFFFF;
}

/* Pagination */
div.pagination {
    font-size: 13px;
    word-spacing: 5px;
}

div.pagination span.paginationActive {
    font-weight: bold;
    font-size: 14px;
}

/* LIGHTBOX */
#lightbox{
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    line-height: 0;
    display: none;
}

#lightbox a img{ border: none; }

#outerImageContainer{
    position: relative;
    background-color: #fff;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

#imageContainer{
    padding: 10px;
}

#loading{
    position: absolute;
    top: 40%;
    left: 0%;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}
#hoverNav{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
    width: 49%;
    height: 100%;
    background: transparent url(/images/lightbox/blank.gif) no-repeat; /* Trick IE into showing hover */
    display: block;
}

#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/lightbox/prev.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/lightbox/next.gif) right 50% no-repeat; }

/*** START : next / previous text links ***/
#nextLinkText, #prevLinkText{
    color: #FF9834;
    font-weight:bold;
    text-decoration: none;
}
#nextLinkText{
    padding-left: 20px;
}
#prevLinkText{
    padding-right: 20px;
}
/*** END : next / previous text links ***/
/*** START : added padding when navbar is on top ***/

.ontop #imageData {
    padding-top: 5px;
}

/*** END : added padding when navbar is on top ***/

#imageDataContainer{
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
}

#imageData{
    padding:0 10px;
}

#imageData #imageDetails{ width: auto; text-align: left; }
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em;	}
#imageData #helpDisplay {clear: left; float: left; display: block; }

#overlay{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 500px;
    background-color: #000;
    filter:alpha(opacity=60);
    -moz-opacity: 0.6;
    opacity: 0.6;
    display: none;
}
