/*
 * Page header and footer
 */

#header {
    position: relative !important;
    min-width: 974px;  /* YUI homepage column layout is this width */
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
    text-align: left;
    background: #fff;
    border: 1px solid #c7c7c7;
    border-collapse: collapse;
    margin: 6px 20px;
    margin-bottom: 0;
    -webkit-border-top-left-radius: 24px;
    -moz-border-radius-topleft: 24px;
    border-top-left-radius: 24px;
    -webkit-border-bottom-right-radius: 24px;
    -moz-border-radius-bottomright: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

#header STRONG {
    font-weight: bold;
}

#logo {
    float: left;
    width: 226px;
    padding: 8px;
    margin-bottom: 7px;
}

#logo img {
    border: none;
}

#logo_text {
    position: absolute;
    top: 60px;
    font-family: Lato, Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #1ea8e1;
}

#auth {
    float: right;
    height: 40px;
    color: #676f7a;
    border: 1px solid #c7c7c7;
    border-collapse: collapse;
    border-width: 0 0 1px 1px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
    background: #ffffff; /* old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 50%, #cacaca 100%); /* firefox */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#e6e6e6), color-stop(100%,#cacaca)); /* webkit */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cacaca',GradientType=0 ); /* ie */
    overflow: hidden;
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
}

#auth A, #auth A:hover, #auth A:visited {
    color: #525252;
}

#auth.signin {
}

#auth.signin input {
    font-size: x-small;
    width: 100px;
}

#auth .corner {
    padding: 0;
    font-size: 0.85em !important;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
}

#auth .corner .header_option {
    display: inline;
    float: left;
    height: 20px;  /* 10px padding top and bottom, for 40px height total */
    padding: 10px;
    line-height: 20px;
    border-left: 1px solid white;
    border-right: 1px solid #c7c7c7;
}

#auth .corner_bl {
    position: absolute;
    height: 6px;
    width: 6px;
    bottom: 0px;
    left: 0px;
    visibility: hidden;
}

#auth label {
    font-weight: bold;
}

#auth .inputtext {
    width: 120px;
    height: 16px;
    border: 1px solid #525252;
    padding: 0;
    margin: 0 7px 0 3px;
}

#last_updated_time {
    position: absolute;
    right: 30px;
    top: 60px;
    font-family: Arial;
    font-size: 14px;
    color: #1ea8e1;
}

#announcement {
    background-color: #fff8c3;
    padding: 24px 40px 13PX 40px;
    font-size: 12px;
    line-height: 12px;
    width: calc(100% - 322px);
    float: right;
    /*color: #ffffff;*/
    border-top-left-radius: 25px;
    /*margin: 5px;*/
}

#announcement h3 {
    font-family: Lato Regular, Arial;
    font-size: 14px;
    line-height: 14px;
    padding-bottom: 8px;
    color: #5f5f5f;
    display: inline-block;
    font-weight: bold;
}

#announcement .title {
    width: 100%;
}

#announcement #announcement_view_more {
    font-family: Lato Regular, Arial;
    display: inline-block;
    padding-left: 10px;
    /*float: right;*/
    color: #1EA8E1;
    cursor: pointer;
}

#announcement .announcement_view_more_expand {
    display: none;
}

#announcement .announcement_view_more_expand .link {
    width: 50%;
    /*text-align: right;*/
    float: right;
    padding: 2px 0px 8px 0px;
    color: #1EA8E1;
}

#announcement .homepage-link {
    color: #1EA8E1;
}

#announcement .announcement_view_more_expand ul {
    margin: 0;
    padding-left: 20px;
}

#announcement .announcement_view_more_expand ul li{
    font-family: Lato Regular, Arial;
    color: #5f5f5f;
    width: 50%;
    float: left;
    line-height: 18px;
    list-style-type: disc;
}

@media screen and (min-width: 1280px){
    #announcement .announcement_view_more_expand ul li{
        width: 440px;
    }

    #announcement .announcement_view_more_expand .link,
    #announcement .announcement_view_more_expand ul li:nth-child(2n){
        width: calc(100% - 440px);
    }
}

/**
 * Menu
 */

#menu_row_1 {
    -webkit-border-bottom-right-radius: 24px;
    -moz-border-radius-bottomright: 24px;
    border-bottom-right-radius: 24px;
    background: transparent url(../../images/compere/menu_row_1_background.png) repeat-x scroll 0%;
    clear: left;
    font-size: 1em;
    padding: 0.5em 0;
    overflow: hidden;
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
}

#menu_row_1 a {
    text-decoration: none;
    color: #fff;
    padding: 0 15px;
}

#menu_row_1 a:hover {
    text-decoration: none;
}

#menu_row_1 .active {
    font-weight: bold;
}

#menu_row_2 {
    font-size: 8pt;
    margin: 6px 20px 12px 20px;
    margin-top: 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
}

#menu_row_2 a {
    color: #0089c1;
}

#menu_row_2 .menu_item {
    margin: 0 15px 0 1px;
    text-decoration: none;
}

#menu_row_2 .menu_item:hover {
    text-decoration: underline;
}

#menu_row_2 .active {
    font-weight: bold;
    color: #0694cf;
}

#searchmediaid {
    height: 22px;
    padding: 0;
    margin-top: -2px;
}

#searchmediaid INPUT {
    padding: 0;
    margin: 0;
}
#searchmediaid INPUT[type=image] {
    border: 0;
}

#media_id_lookup_input {
    resize: none;
    width: 120px;
    line-height: 18px;
    overflow: hidden;
    color: #575f7a;
    font-size: 8pt !important;
    font-family: Arial, Helvetica, sans-serif !important;
    margin: 0;
    padding: 1px 2px !important;
    vertical-align: top;
    border: 1px solid #d6d6d6;
    border-right: 0;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    border-bottom-right-radius: 0px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}

.new_text_bubble {
    display: inline;
    margin-top: -2px;
}

.text_bubble_top {
    border-radius: 4px;
    background-color: #FFFFFF;
    border: 1px solid #7054a3;
    font-family: Arial, Helvetica, "Hei Ti", "MS Yahei", Meiryo, Dotum, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #7054a3;
    padding: 1px 1px 1px 3px;
    height: 16px;
}

/**
 * Footer
 */

#footer {
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
    color: #525252;
    min-width: 974px;
    font-size: 11px;
    text-align: left;
    border: 1px solid #bdbdbd;
    margin: 6px 20px;
    background: #ffffff; /* old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 50%, #cacaca 100%); /* firefox */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#e6e6e6), color-stop(100%,#cacaca)); /* webkit */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cacaca',GradientType=0 ); /* ie */
    height: 3em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#footer A, #footer A:hover {
    color: #525252;
    text-decoration: underline;
}

#footer form {
    margin: 0;
    float: right;
    padding-right: 15px;
}

#footer form select {
    margin-top: 8px !important;
    font-size: 10px !important;
}

.footerlinks {
    padding: 0px 0px 0px 10px;
    margin-top: 0.9em;
}

/* [IE6-IE8] ROUNDED CORNER DIVS */
#header_tl,
#header_br {
    position: absolute;
    width: 23px;
    height: 23px;
    visibility: hidden;
    background-color: #fff;
}

#header_tl {
    top: -2px;
    left: -2px;
}

#header_br {
    bottom: -2px;
    right: -2px;
}

/* Messages that appear just below header, on all pages (e.g. downtime notices */
.full_site_message {
    margin: 6px 20px;
    background-color: rgb(112, 84, 163);
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 0.25em 1em;
    border: 1px dashed black;
}

.full_site_message a,
.full_site_message a:link,
.full_site_message a:hover,
.full_site_message a:visited {
    color: white;
    text-decoration: underline !important;
}

/* Miscellaneous, but need across all pages */
.compere_simple_message {
    margin: 0 40px 100px 40px;
    font-size: 1.25em;
}

.compere_simple_message A {
    color: #0089c1;
}

.compere_simple_message A:visited {
    color: #147095;
}

/* Styles for link/div that allows users to hide the header */
.site_header_toggle_link {
    position: absolute;
    left: 50%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.site_header_toggle_link A {
    color: #0089c1 !important;
    text-transform: uppercase;
    font-size: xx-small;
    padding: 2px 4px;
    border: 1px solid #c7c7c7;
    background-color: white;
    opacity: 0.90;
    filter: alpha(opacity=90);
}
