
/*----- header -----*/
#mainheader { margin-bottom:-1.6em; background:url(http://devimages.apple.com/iphone/images/portal/header.gif) no-repeat; }
#mainheader h1 a { width:330px; }
#mainheader p { margin-top:2.4em; }

/*----- main -----*/
#main { margin:0 -4px 0 -2px; padding:0 5px 0 3px; background:url(http://devimages.apple.com/iphone/images/portal/main_bg.gif) repeat-y; }
#main .cap { margin:0 -5px 0 -3px; height:19px; background:url(http://devimages.apple.com/iphone/images/portal/main_bgbottom.gif) no-repeat; }

/* top */
#main #top { position:relative; height:26px; margin:0 -5px 0 -3px; padding-top:12px; background:url(http://devimages.apple.com/iphone/images/portal/top_bg.gif) no-repeat; }
#main #top h2 { margin:0 150px 0 25px; font-size:14px; font-weight:bold; text-shadow:#b8b8b8 1px 1px 2px; }
#main #top div { position:absolute; width: 100%; text-align: center; }
#main #top p { position:absolute; top:9px; right:15px; font-size:10px; }
#main #top p a { color:#369; }
#main #top p a span { padding:2px 15px; display:block; background:url(http://devimages.apple.com/iphone/images/portal/exit_bgright.gif) no-repeat right 50%; }
#main #top p a span span { padding-right:0; background:url(http://devimages.apple.com/iphone/images/portal/exit_bgleft.gif) no-repeat 0 50%; }

/*----- sidebar -----*/
#main #sidebar { float:left; width:160px; margin-top:1px; }
#main #sidebar ul li { font-size:11px; font-weight:bold; }
#main #sidebar ul li a { display:block; padding:6px 20px; width:120px; color:#666; }
#main #sidebar ul li.selected { background:#9caacb url(http://devimages.apple.com/iphone/images/portal/sidebar_selected.gif) repeat-x bottom left; }
#main #sidebar ul li.selected a { color:#fff; }

/*----- content -----*/
#main #content { float:right; width:788px; min-height:400px; _height:400px; margin:1px 0; padding:1.6em 15px 80px; }
#main #distribution h4 { margin:20px 0 5px 0; }

/*----- support sidebar ------*/
#main #content #support_res a { font-weight:bold; display:block; padding:0; margin-bottom:0px; }
#main #content #support_res a.mailto { font-weight:normal; display:inline; padding:0; margin-bottom:0px; }
#main #content #support_res p { font:100%/1.2em "Lucida Grande",Geneva,Arial,Verdana,sans-serif;}

/* tabs */
#main #subnav { position:relative; margin:-1.6em -14px 1.6em; padding-top:1.6em; zoom:1; background:#d2d5d8; }
#main #subnav ul { margin:0 0 0 12px; padding:.6em 0 1px; }
#main #subnav ul li { float:left; width:125px; margin-right:1px; font-weight:bold; font-size:12px; }
#main #subnav ul li a { display:block; width:125px; height:21px; padding-top:5px; text-align:center; color:#7b8bac; background:url(http://devimages.apple.com/iphone/images/portal/subnav_link_bg.gif) no-repeat; }
#main #subnav ul li.selected a { color:#000; background:url(http://devimages.apple.com/iphone/images/portal/subnav_link_bg_selected.gif) no-repeat; }
#main #subnav p.help { position:absolute; bottom:5px; right:10px; margin:0; }
#main #subnav:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

/* title, top elements */
#main h3 { margin-bottom:1em; font-size:18px; font-weight:normal; color:#333; }
#main p.intro { margin-top:-.8em; padding-top:.8em; font-size:12px; border-top:1px solid #e3e6ea; }
#main p.info { font-size:12px; }

#main .actions { float:right; }

#main table td.action img.disabled { opacity:.6; -moz-opacity:.6; filter:alpha(opacity=60); }

#main a.secondary { position:relative; top:-4px; margin-left:7px; }

/*----- form elements -----*/
#main form input,
#main form select { float:left; margin:0 .6em .3em 0; font-size:11px; }
#main form textarea.createcert { margin-bottom:15px; width:785px; height:120px; resize:none; }

#main table input { float:none; margin:-1px 0 0; }
#main table input[type="text"] { width:100%; }
#main table select { float:none; width:100%; margin:-2px 0 0; }

/* forms for overlays */
#main table td.action form,
#main form.confirmdialog { display:inline; }
#main form.confirmdialog a { cursor:pointer; }

/* simple forms */
#main form.simple div.elements { width:100%; font-size:12px; border-top:1px solid #e3e8f2; _zoom:1; }
#main form.simple div.elements label,
#main form.simple div.elements .checkboxlist,
#main form.simple div.elements .radiolist { clear:both; display:block; padding:12px 0 10px; color:#333; font-weight:bold; border-bottom:1px solid #e3e8f2; _zoom:1; }
#main form.simple div.elements label input,
#main form.simple div.elements label select { float:right; width:230px; font-weight:normal; margin:-1px 0 0 0; }
#main form.simple div.elements label div.error { float:right; width:234px; font-size:11px; font-weight:normal; color:#900; background:#fff; }

#main form.simple div.elements .checkboxlist,
#main form.simple div.elements .radiolist { position:relative; min-height:1.4em; padding-left:166px; }
#main form.simple div.elements .checkboxlist h4,
#main form.simple div.elements .radiolist h4 { position:absolute; left:0; font-size:1em; }
#main form.simple div.elements .checkboxlist label,
#main form.simple div.elements .radiolist label { clear:none; display:block; width:auto; padding:0; font-size:11px; color:#555; font-weight:normal; border:none; }
#main form.simple div.elements .checkboxlist input,
#main form.simple div.elements .radiolist input { clear:left; float:left; width:auto; margin-top:2px; _margin-top:-2px; margin-right:5px; }
#main form.simple div.elements .radiolist input { margin-top:1px; _margin-top:-3px; }
#main form.simple div.elements .checkboxlist span { font-weight:normal; }

#main form.simple div.elements .col2 label { float:left; width:10em; margin-right:.5em; }
#main form.simple div.elements .col2 input { clear:none; }

#main form.simple div.elements:after,
#main form.simple div.elements label:after,
#main form.simple div.elements .checkboxlist:after,
#main form.simple div.elements .radiolist:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

#main form.simple div.elements .devicelist { background-color:#eee; width:100px; padding:1px 3px; 2px 0; margin:0; }
#main form.simple div.elements .placeholder input { margin-right:390px; }

#main form.simple div.elements .selectall a { cursor:pointer; }


/* ghost text */
#main form label { color:#000; }
#main form label.placeholder span { display:none; }

#main form label.placeholder input.placed { color:#999; }
#main form select.placed { color:#999; }
#main form select.placed option { color:#000; }

/* disabled elements */
#main form label.disabled,
#main form div.disabled label, #main form div.disabled h4 { color:#999 !important; }
#main form label.disabled input, #main form label.disabled select,
#main form div.disabled input, #main form div.disabled select { }

/* form buttons on bottom */
#main .controls { position:absolute; width:794px; right:1px; bottom:0; margin:0; padding:15px 11px; text-align:right; _zoom:1; background:#f0f0f0; }
#main .table .controls { margin:0; padding:15px 11px; }
#main .controls img.button,
#main .controls input.button { float:right; width:66px; height:20px; margin:0 0 0 1em; }
#main .controls input.button[disabled] { cursor:default; }
#main .controls:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

/* filter menu */
#main .controls.filter { position:static; bottom:auto; right:auto; margin:0 -14px 1px; padding:7px 11px; }

#main .filter label { }
#main .filter label select { float:none; margin:0 0 0 4px; }

/*----- tables -----*/
#main .table { margin:0 -15px; border-top:1px solid #e3e8f2; }

#main table { width:100%; table-layout:auto; }

#main table th,
#main table td { padding:6px 10px; color:#333; vertical-align:top; background:url(http://devimages.apple.com/iphone/images/portal/table_td_bg.gif) repeat-x 100% 100%; }

#main table thead th { padding:2px 28px 3px 10px; white-space:nowrap; background:#fff url(http://devimages.apple.com/iphone/images/portal/table_th_bg.gif) no-repeat 100% 100%; }
#main table thead th.last { background-position:0 100%; }
#main table thead th.ascending { background:#dedede url(http://devimages.apple.com/iphone/images/portal/table_th_bg_ascending.gif) no-repeat 100% 100%; }
#main table thead th.descending { background:#dedede url(http://devimages.apple.com/iphone/images/portal/table_th_bg_descending.gif) no-repeat 100% 100%; }
#main table thead th a { color:#000; cursor:pointer; }

#main table tbody th { padding-top:20px; font-size:13px; font-weight:bold; color:#666; }
#main table tbody th small { font-size:11px; font-weight:normal; }

#main table tbody td i { font-style:normal; }
#main table tbody .pending td i,
#main table tbody .p td i { color:#999; font-style:italic; }

#main table tr.disabled td { background-color:#ebedf1; color:#666; }
#main table tr.disabled td.alert { color:#333; font-weight:bold; }
#main table tr.disabled td.alert p { font-weight:normal; font-size:11px; color:#960; margin:0 10px 1px 0; padding-left:20px; background:url(http://devimages.apple.com/iphone/images/portal/alert_small.gif) no-repeat 0 .16em; }

#main table.col2 th, #main table.col2 td { width:50%; }
#main table.col3 th, #main table.col3 td { width:33%; }
#main table.col4 th, #main table.col4 td { width:25%; }
#main table.col5 th, #main table.col5 td { width:20%; }
#main table.col6 th, #main table.col6 td { width:17%; }
#main table.col7 th, #main table.col7 td { width:14%; }

#main table th.id, #main table td.#999 { width:41%; }
#main table th.role, #main table td.role { width:10%; }
#main table th.status, #main table td.status { width:12%; }
#main table th.date, #main table td.date,
#main table th.expdate, #main table td.expdate,
#main table th.action, #main table td.action { white-space:nowrap; }
#main table th.action div, #main table td.action div { white-space:normal; }
#main table td.action a { font-weight:bold; }
/* #main table th.status a.button, #main table td.status a.button { margin-left:0; margin-right:4px; } */

#main table.accepted tbody tr,
#main table.declined tbody tr,
#main table.expired tbody tr,
#main table.pending tbody tr,
#main table.withdrawn tbody tr { display:none; }
#main table.accepted tbody tr.a,
#main table.declined tbody tr.r,
#main table.expired tbody tr.e,
#main table.pending tbody tr.p,
#main table.withdrawn tbody tr.w { display:table-row; _display:block; }
#main table td.gmcertname span { margin-left:10px; }

#main a.cert,
#main span.cert { padding-left:40px; background:url(http://devimages.apple.com/iphone/images/portal/cert_checkmark.png) 0 50% no-repeat; display:block; }

/* new invitations/devices */
#main table.create thead th { padding:2px 20px 3px 0; font-size:12px; font-weight:bold; color:#333; background:url(http://devimages.apple.com/iphone/images/portal/table_td_bg.gif) repeat-x 100% 100%; }
#main table.create td { padding:12px 15px 10px 0; }

#main table.create td.lastname,
#main table.create td.email { padding-right:40px; }
#main table.create th.id, #main table.create td.id { width:50%; }
#main table.create th.seedid, #main table.create td.seedid { width:74px; }
#main table.create th.bundleid, #main table.create td.bundleid { width:300px; }
#main table.create th.role, #main table.create td.role { width:25%; padding-right:25px; }

#main table.create td input { width:100%; font-size:11px; }
#main table.create td select { width:100%; font-size:11px; }

#main table.create th.add, #main table.create td.add { width:4%; padding-right:0; white-space:nowrap; text-align:right; }
#main table.create td.add a.button { float:right; margin-top:-1px; }
#main table.create td.add a.button.small { background-image:none; padding:0 0 1px; margin-left:3px; float:none; display:inline; outline:0; }
#main table.create td.add a.button.disabled { cursor:default; opacity:1; -moz-opacity:1.0; filter:alpha(opacity=100); }
#main table.create td.add a.button.disabled img { opacity:.6; -moz-opacity:0.6; filter:alpha(opacity=60); }

#main table.create td div.error { width:1px; color:#900; background:#fff; white-space:nowrap; }

#main #content .errorMessage { color:#ff0000; }

/* overview sections */
.overview #content { width:787px; padding-top:0; padding-bottom:1px; }
.overview #content h4 { margin-bottom:.7em; font-size:12px; color:#666; }
.overview #content p { font-size:12px; color:#333; }
.overview #content ul.square { padding-bottom:1.6em; }
.overview #content ul.square li { padding-bottom:1px; }
.overview #content ol { list-style-type:decimal; }
.overview #content ol ol { list-style-type:lower-alpha; }
.overview #content ol ol ol { list-style-type:lower-roman; }

/*----- overlay -----*/
#overlayobstruction { width:100%; position:absolute; top:0; left:0; background:#000; z-index:9999; }

.overlay { position:absolute; top:50%; left:50%; width:443px; padding:0 25px 1px 70px; z-index:10000; background:url(/iphone/images/portal/overlay_bgbottom.png) no-repeat left bottom; _background-image:url(/iphone/images/portal/overlay_bgbottom.gif); }
.overlay .cap { position:relative; height:31px; padding:0 25px 0 70px; margin:-31px -25px 0 -70px; background:url(/iphone/images/portal/overlay_bgtop.png) no-repeat; _background-image:url(/iphone/images/portal/overlay_bgtop.gif); }
.overlay h3 { position:relative; padding:.3em 0 .4em 37px; margin:-5px 0 13px -37px; font-size:14px; font-weight:bold; color:#000; background:url(/iphone/images/portal/icon_alert.gif) no-repeat 0 .2em; }
.overlay h4 { margin-bottom:.5em; font-size:12px; font-weight:bold; }
.overlay p { margin-bottom:18px; }

.overlay ul { margin:0 18px 2.5em 36px; list-style:square; }
.overlay ul ul { margin-bottom:0; }
.overlay ul li { font-size:12px; line-height:18px; color:#333; }
.overlay ul li.disable { color:#f00; }

.overlay dl { margin-bottom:1.6em; zoom:1; }
.overlay dl dt { clear:left; width:7.6em; float:left; }
.overlay dl dd { float:left; width:30em; }
.overlay dl dd * { font-weight:normal; font-style:none; color:#555; text-decoration:none; cursor:default; }
.overlay dl:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

.overlay .actions { width:100%; height:20px; margin-left:-50px; padding:15px 0 22px 50px; border-top:1px solid #e3e6ea; }
.overlay .actions a { float:right; width:66px; height:20px; margin-left:4px; text-indent:-9999px; cursor:pointer; outline:none; -moz-outline:none; behavior:url(/global/scripts/lib/iepngfix.htc);}
.overlay .actions a.ok { width:60px; background:url(http://devimages.apple.com/global/elements/buttons/ok.png) no-repeat; }
.overlay .actions a.cancel { background:url(http://devimages.apple.com/global/elements/buttons/cancel.png) no-repeat; }



/* New mutli select tables and other new design elements */
#main #content h3.indivicon { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/icon_indiv_27x27.png) no-repeat scroll 0; padding-left:40px; margin-left:5px; }
#main #content h3.teamicon { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/icon_team_31x31.png) no-repeat scroll 0; padding-left:40px; margin-left:5px; }
#main #content h3.deviceicon { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/device_icon_17x29.png) no-repeat scroll 0; padding-left:30px; padding-top:5px; margin-left:5px; height:30px;}

#main #content h3.appidicon { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/icon_appid_30x32.png) no-repeat scroll 0; padding-left:30px; margin-left:5px; margin-top:15px; }
#main #content h3.profilesicon { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/icon_home_prov.png) no-repeat scroll 0; padding-left:30px; margin-left:5px; }


#main #content h4 { font-size: 14px; margin-bottom: 15px; }
#main #content h4 span { font-size: 14px; color:#999; }
#main #content h4.singlecert { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/cert_icon_23x19.png) no-repeat scroll 0; padding-left:32px; margin-left:5px; padding-bottom:1px; padding-top:4px; height:23px; }
#main #content h4.teamadmin { background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/team_members_24x19.png) no-repeat scroll 0 20%; padding-left:32px; margin-left:5px; padding-top:2px; height:25px; }
#main .nt_multi { margin-bottom: 20px; width:780px; }
#main .nt_multi .nt_topcap { height:34px; width:780px; background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/table_head1.png) no-repeat scroll 100%; }
#main .nt_multi .nt_topcap div { width:120px; height:22px; padding:0; margin:10px 0 0 25px; float:left; }
#main .nt_multi .nt_topcap div a { color:#000; }
#main .nt_multi .nt_topcap div.selected { background:transparent url(http://devimages.apple.com/iphone/images/portal/certlist_selected.png) no-repeat scroll 0% 0%; width:120px; height:22px;  margin:0; color:#FFF; text-shadow:#666666 2px 2px 2px; margin:6px 9px; }
#main .nt_multi .nt_topcap div.selected span { padding:3px 0 0 13px; display:block; }

#main .nt_multi table { border-top:1px solid #e5e5e5; border-left:1px solid #e5e5e5; border-right:1px solid #e5e5e5; }
#main .nt_multi table td.first { border-left:1px solid #e5e5e5; }
#main .nt_multi table td.last { border-right:1px solid #e5e5e5; }
#main .nt_multi table th.checkbox, #main .nt_multi table td.checkbox { width:4%; padding-right:0; }
#main .nt_multi table th.checkbox { padding-top:4px; }

#main .nt_multi .nt_bottomcap { height:49px; width:780px; background:#FFFFFF url(http://devimages.apple.com/iphone/images/portal/nt_bottom1.png) no-repeat scroll 100%; text-align:right; }
#main .nt_multi .nt_bottomcap img { margin-top: 15px; }
#main .nt_multi .nt_bottomcap img.last { margin: 15px 20px 0 9px; }
#main .nt_multi .nt_bottomcap input { margin-top: 15px; }
#main .nt_multi .nt_bottomcap input.last { margin: 15px 20px 0 0; float:right; }
#main .nt_multi .inline_icon { vertical-align:bottom; margin-right:7px; }
#main .nt_multi .tablefooter { background-color:#eee; padding: 15px 0 15px 18px; border-left: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;}

#main .nt_multi table { border-collapse:separate;}
#main .teaminfo .last img.renew_rt { float:right; }

#main .nt_multi table td .emptytable {  margin:100px 0 100px 200px; }
#main .lastrow { background:none !important; }


/* New expand/collapse code for certs page */
.expand_trigger { background:transparent url(http://devimages.apple.com/main/images/aqua/arrow_expand_horiz450.png) no-repeat scroll -438px 6px; overflow:hidden; color:#000000; cursor:pointer; font-size:11px; font-weight:normal; color:#366088; font-weight:bold; padding-left:20px; }
.expand_trigger small { color:#999; font-size:10px; }
.expand_target { width:100px; padding-top:5px; color:#333; font-weight:normal; }
.profiles_expanded { background-position: 4px 6px !important; }

/* Sidebar links and icons */
#main #content .support_res a { font-weight:bold; display:block; padding:0; margin-bottom:3px; }
#main #content .icon img {float:left; margin:3px 5px;}
#main #content .icon span {display:block; margin:12px 0 8px 13px;}

/* device announcment block */
#main .devicelistreset { clear:both; position:relative; margin-bottom:1em; padding:1em 1em 1em 60px; border:1px solid #efeeea; border-radius:4px; -webkit-border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; background:#fdfadb url(http://devimages.apple.com/assets/elements/icons/32x32/alert.png) 5px 10px no-repeat; }
#main .devicelistreset h5 { font-size:12px; margin:0 0 0.2em !important; padding:0 !important; border:0 !important; }
#main .devicesannounce { clear:both; position:relative; padding:1em; border:1px solid #efeeea; background-color:#ededec; }
#main .devicesannounce:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
#main .devicesannounce img.left { margin:-4px auto 0; }
#main .devicesannounce input { float:none; margin:0 0 0.5em; }
