﻿/*
interactive.css
---------------
Style sheet for displaying and colouring buttons, tabs, and other interactive items.

*/

/*** top left for all ***/
a.button,a.tab,div.page-list>a
{
    text-align: center;
    font-family: Arial, Helvetica;
    font-size: 13px;
}

    a.button:hover, a.tab:hover {
        text-decoration: none;
        text-shadow: none;
    }

/*** buttons ***/
a.button , .button
{
    position: relative;
    display: inline-block;
    
    padding-top: 1px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    
    height: 19px;
    line-height: 20px;
}
div.has-items a.button 
{
    margin-right: 3px;
}

a.button:active
{
    padding-left: 5px;
    padding-right: 3px;
}

a.button:focus ,button:focus
{
    outline: none;
}

a.button.view 
{
    /*padding-left: 20px;*/
}
html.cssgradients a.button.view 
{
    background: url(/content/images/map/view16.png) 3px 3px no-repeat,linear-gradient(to bottom, #ff880e 0%,#e8700d 100%) 0 0;
}
html.cssgradients a.button.view:hover 
{
    background: url(/content/images/map/view16.png) 3px 3px no-repeat,linear-gradient(to bottom, #ff880e 0%,#d0660b 100%) 0 0;
}

html.no-cssgradients a.button.view 
{
    background-image: url(/content/images/map/view16.png);
    background-repeat: no-repeat;
    background-position: 3px 3px;
}

a.button.view:active 
{
    padding-left: 21px;
    background-position: 4px 3px, 0 0;
}

a.button.disabled 
{
    background-color: #29557A;
    border-color: #29557A;
    color: silver;
}

/*** Tabs ***/
a.tab {
    display: inline-block;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0px;
    padding: 2px 4px 3px 4px;
    min-width: 2em;

}
@media (min-width: 900px) 
{
    a.tab 
    {
        min-width: 4em;
    }
}
@media (max-width: 670px) 
{
    a.tab 
    {
        margin-right: 0px;
    }
}

a.tab.selected,a.tab.selected:hover
{
    
    z-index: 1;
    border-bottom: 0;
    font-weight: bold;
}

div.image-view 
{
    height: 600px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
div.page-view
{
    display: none;
}
div.page-view.current
{
    display: block;
}
a.page-number 
{
    margin-right: 5px;
    margin-left: 5px;
}
a.page-number+a.page-number 
{
    margin-left: 0;
}
a.page-number 
{
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    position: relative;
    top: 1px;
    
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 0;
    
    font-family: Arial;
    font-size: 0.8em;
}

/*** SLIDER ***/
div.single-slider
{
    position: relative;
}

    .single-slider div.pitch
    {
        width: 240px;
        height: 2px;
        border-radius: 5px;
        border-top: 1px solid #025c73;
        background-color: #24aae1;
        border-bottom: 1px solid #4AF;
        position: relative;
        margin-top: 10px;
        margin-bottom: 5px;    
    }

        .single-slider .pitch div.knob 
        {
            width: 13px;
            height: 13px;
            background-color: #FFF;
            border: 1px solid #ABD;
            position: absolute;
            border-radius: 7px;
            overflow: hidden;
            top: -7px;
            margin-left: -7px;
            cursor: pointer;
        }
        
        .single-slider .pitch div.knob:hover
        {
            border-color: #4DA0E6;
            background: linear-gradient(to bottom, #FFF 20%,#EEE 100%);
            border-radius: 8px;
            top: -8px;
            height: 15px;
            width: 15px;
            margin-left: -8px;
        }

/**************************************************
    highlight the sort-order radio button labels
**************************************************/
.sortorderblock {
    display: inline-block;
}

    .sortorderblock input[type='radio'] + label {
        color: grey;
        margin: 0 -2px 0 -2px;
        display: inline-block;
    }

    .sortorderblock input[type='radio']:checked + label {
        color: black;
    }