
body
{
    margin: 0;
    font-family: Helvetica;
    background: #FFFFFF;
    color: #000000;
    overflow-x: hidden;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
}


#searchForm
{
    display: none;
}

a[selected], a:active
{
    background-color: #CCCCCC !important;
}

div.logo
{
    margin-top: 2px;
}
div.toolbar
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-bottom: 1px solid #2d3642;
    border-top: 1px solid #6d84a2;
    padding: 10px;
    height: 25px;
    width: 100%;
    background: url(/partners/iphone/images/toolbar.png) #6d84a2 repeat-x;
}

div.toolbar > h1
{
    position: absolute;
    top: -6px;
    left: 10px;
    height: 45px;
    font-size: 20px;
    width: 150px;
}

div.toolbar > h1 span.logo > span.l1
{
    font-family: futura;
    font-weight: lighter;
    font-size: 21px;
    margin-right: -2px;
}

div.toolbar > h1 span.logo > span.l2
{
    font-weight: bold;
    font-style: italic;
}

.toolbar a
{
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #FFFFFF;
    text-decoration: none;
}

body[orient="landscape"] > .toolbar > h1
{
    margin-left: -125px;
    width: 250px;
}

.button
{
    position: absolute;
    overflow: hidden;
    margin: 0;
    border-width: 0 5px;
    padding: 0 3px;
    width: auto;
    height: 30px;
    line-height: 30px;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    background: none;
    -webkit-border-image: url(/partners/iphone/images/toolButton.png) 0 5 0 5;
}

.button_red
{
    -webkit-border-image: url(/partners/iphone/images/toolButtonRed.png) 0 5 0 5;
}

.button_top_right
{
    top: 8px;
    right: 6px;
}

.button_top_left
{
    top: 8px;
    left: 150px;
}


#backButton
{
    display: none;
    left: 6px;
    right: auto;
    padding: 0;
    max-width: 55px;
    border-width: 0 8px 0 14px;
    -webkit-border-image: url(/partners/iphone/images/backButton.png) 0 8 0 14;
}

.button_blue
{
    -webkit-border-image: url(/partners/iphone/images/blueButton.png) 0 5 0 5;
    border-width: 0 5px;
}

.button_white, .button_gray
{
    display: block;
    border-width: 0 12px;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    text-decoration: inherit;
    color: inherit;
    margin: 5px;
}

.button_white
{
    -webkit-border-image: url(/partners/iphone/images/whiteButton.png) 0 12 0 12;
    text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
}

.button_gray
{
    -webkit-border-image: url(/partners/iphone/images/grayButton.png) 0 12 0 12;
    color: #FFFFFF;
}

div.dm_widget_iphone_placeholder
{
    text-align: center;
    margin-top: 160px;
    margin-bottom: 150px;
    font-size: 25px;
    color: #ccc;
}

body[orient="landscape"] div.dm_widget_iphone_placeholder
{
    margin-top: 100px;
}

div.dm_widget_iphone_list
{
    margin: 0;
    padding: 0;
    left: 0;
    top: 45px;
    width: 100%;
    min-height: 372px;
}

body[orient="landscape"] div.dm_widget_iphone_list
{
    min-height: 268px;
}

/*
div.dm_widget_iphone_list > a > #recent:before
{
    float: left;
    content: url(/partners/iphone/images/recent.png);
    margin: 2px;
}
*/
div.dm_widget_iphone_list > a > #features:before
{
    float: left;
    content: url(/partners/iphone/images/star.png);
    margin: 2px;
}
div.dm_widget_iphone_list > a > #channels:before
{
    float: left;
    content: url(/partners/iphone/images/channel.png);
    margin: 2px;
}
div.dm_widget_iphone_list > a > #rated:before
{
    float: left;
    content: url(/partners/iphone/images/rated.png);
    margin: 2px;
}
div.dm_widget_iphone_list > a > #history:before
{
    float: left;
    content: url(/partners/iphone/images/clock.png);
    margin: 2px;
}

div.dm_widget_iphone_list > div.dm_widget_iphone_listitem,
div.dm_widget_iphone_list > a > div.dm_widget_iphone_listitem
{
    margin: 0;
    border-bottom: 1px solid #E0E0E0;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    list-style: none;
}

div.dm_widget_iphone_list > a
{
    display: block;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    background: url(/partners/iphone/images/listArrow.png) no-repeat right center;
}

div.dm_widget_iphone_listitem > div.text
{
    padding: 5px;
}
div.dm_widget_iphone_listitem > img.icon
{
    padding: 5px;
}

div.dm_widget_iphone_videoitem > img
{
    float: left;
}

div.dm_widget_iphone_videoitem div.info
{
    position: relative;
    left: 5px;
    padding: 5px;
    margin-right: 25px;
    height: 70px;
}

.dialog
{
    top: 0;
    width: 100%;
    min-height: 417px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    text-align: right;
}

.dialog > fieldset
{
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid #6d84a2;
    padding: 10px 6px;
    background: url(/partners/iphone/images/toolbar.png) #7388a5 repeat-x;
}

.dialog > fieldset > h1
{
    margin: 0 10px 0 10px;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align: center;
}

.dialog > fieldset > label
{
    position: absolute;
    margin: 16px 0 0 6px;
    font-size: 14px;
    color: #999999;
}

input
{
    box-sizing: border-box;
    width: 100%;
    margin: 15px 0 0 0;
    padding: 6px 6px 6px 44px;
    font-size: 16px;
    font-weight: normal;
}


div.dm_widget_iphone_panel
{
    box-sizing: border-box;
    padding: 10px;
    background: #c8c8c8 url(/partners/iphone/images/pinstripes.png);
}

div.dm_widget_iphone_panel > fieldset
{
    position: relative;
    margin: 0 0 20px 0;
    padding: 0;
    background: #FFFFFF;
    -webkit-border-radius: 10px;
    border: 1px solid #999999;
    text-align: right;
    font-size: 16px;
}

div.dm_widget_iphone_panelrow
{
    position: relative;
    min-height: 42px;
    border-bottom: 1px solid #999999;
    -webkit-border-radius: 0;
    text-align: right;
    padding: 10px;
    overflow: hidden;
}

fieldset > div.dm_widget_iphone_panelrow:last-child
{
    border-bottom: none !important;
}

div.dm_widget_iphone_panelrow > input
{
    box-sizing: border-box;
    margin: 0;
    border: none;
    padding: 12px 10px 0 110px;
    height: 42px;
    background: none;
}

div.dm_widget_iphone_panelrow > label
{
    position: absolute;
    margin: 0 0 0 14px;
    line-height: 42px;
    font-weight: bold;
}

div.dm_widget_iphone_panelrow > .toggle
{
    position: absolute;
    top: 6px;
    right: 6px;
    width: 100px;
    height: 28px;
}

.toggle
{
    border: 1px solid #888888;
    -webkit-border-radius: 6px;
    background: #FFFFFF url(/partners/iphone/images/toggle.png) repeat-x;
    font-size: 19px;
    font-weight: bold;
    line-height: 30px;
}

.toggle[toggled="true"]
{
    border: 1px solid #143fae;
    background: #194fdb url(/partners/iphone/images/toggleOn.png) repeat-x;
}

.toggleOn
{
    display: none;
    position: absolute;
    width: 60px;
    text-align: center;
    left: 0;
    top: 0;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
}

.toggleOff
{
    position: absolute;
    width: 60px;
    text-align: center;
    right: 0;
    top: 0;
    color: #666666;
}

.toggle[toggled="true"] > .toggleOn
{
    display: block;
}

.toggle[toggled="true"] > .toggleOff
{
    display: none;
}

.thumb
{
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 28px;    
    border: 1px solid #888888;
    -webkit-border-radius: 6px;
    background: #ffffff url(/partners/iphone/images/thumb.png) repeat-x;
}

.toggle[toggled="true"] > .thumb
{
    left: auto;
    right: -1px;
}

div.dm_widget_iphone_panel > h2
{
    margin: 0 0 8px 14px;
    font-size: inherit;
    font-weight: bold;
    color: #4d4d70;
    text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
}

#preloader
{
    display: none;
    background-image: url(/partners/iphone/images/loading.gif), url(/partners/iphone/images/selection.png),
        url(/partners/iphone/images/blueButton.png), url(/partners/iphone/images/listArrowSel.png), url(/partners/iphone/images/listGroup.png);
}


div.info
{
    line-height: 22px;
    overflow: hidden;
}

div.info div.title
{
    font-size: 15px;
    white-space: nowrap; 
    overflow: hidden;
}

div.info div.subLine
{
    font-size: 12px;
    white-space: nowrap; 
    overflow: hidden;
}

div.info div.subLine div
{
    display: inline;
    padding-right: 4px;
}

div.owner a
{
    color: #E36203;
}

/* video page */

div.dm_widget_iphone_panelrow > div.dm_widget_iphone_videoitem
{
    text-align: left;
    width: 120px;
    height: 90px;
}

div.dm_widget_iphone_panelrow > div.dm_widget_iphone_videoitem embed
{
    float: left;
}

div.dm_widget_iphone_panelrow > div.dm_widget_iphone_videoitem > div.info
{
    position: absolute;
    left: 140px;
    font-weight: bold;
    overflow: hidden;
}

div.dm_widget_iphone_panelrow > div.info
{
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
}
div.dm_widget_iphone_panelrow > div.info > div.label
{
    font-weight: bold;
    float: left;
    width: 75px;
    text-align: right;
    color: #777777;
}
div.dm_widget_iphone_panelrow > div.info > div.data
{
    margin-left: 85px;
}
div.dm_widget_iphone_panelrow > div.info > div.data > a
{
    color: black;
}

div.dm_widget_pagination
{
    height: 60px;
}
div.dm_widget_pagination a
{
    color: #FFFFFF;
    font-size: 40px;
    text-decoration: none;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-overflow: ellipsis;
    line-height: 20px;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    border-width: 0 12px;
    -webkit-border-image: url(/partners/iphone/images/grayButton.png) 0 12 0 12;
    margin: 10px;
}
div.dm_widget_pagination div
{
    text-align: center;
}
div.dm_widget_pagination div.prev
{
    float: left;
}
div.dm_widget_pagination div.next
{
    float: right;
}

div.dm_widget_pagination div.foreground_50
{
    display: none !important;
}
