@import url(http://fonts.googleapis.com/css?family=Arizonia);
@import "_colors";
@import "_mixins";
@import "audio";
@import "datepicker";
@import "media";
@import "menus";
@import "overlay";
@import "timescale";

@defaultBackgroundColor:        #232323;    /* The main background color for the page */
@headerHeight:                  36px;       /* The height of the page header */
@headerLogoWidth:               170px;      /* The width of the logo area */
@headerTourWidth:               140px;      /* The width of the tour player area */
@headerRegimesWidth:            420px;      /* The width of the regimes area */
@headerBreadcrumbsHeight:       25px;       /* The height of the breadcrumbs area */
@headerBreadcrumbsTopMargin:    8px;        /* The top margin of the bref.adcrumbs area */
@headerBreadcrumbsScrollWidth:  25px;       /* The breadcrumbs scroller area */
@footerHeight:                  25px;       /* The height of the page footer */
@footerLinksWidth:              350px;      /* The width of the footers links area */
@footerBackgroundColor:         #2a283a;
@footerBorderColor:             #131432;

html, body
{
    margin: 0;
    padding: 0;
    height: 100%;
}

body
{
    overflow: hidden;
    min-width: 250px;
    min-height: 250px;
    background-color: @defaultBackgroundColor;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, 'Trebuchet MS', sans-serif;
    -ms-touch-action: none;
}

#splash
{
    position:       absolute;
    top:            35px;
    bottom:         25px;
    left:           0;
    right:          0;
    padding-top:    200px;
    background:     @defaultBackgroundColor;
    color:          #91895c;
    font-family:    Georgia, Times, 'Times New Roman', serif;
    font-size:      2em;
    font-style:     italic;
    text-align:     center;
    z-index:        2000;
}

.small
{
    color: #666;
    font-size: 0.7em;
}

fieldset
{
    border: 2px #c7c7c7 solid;
    legend
    {
        color: #666;
    }
}

.field-block
{
    display: block;
    width: 100%;
}

a
{
    color: #fff;
    text-decoration: none;
}

a:hover
{
    color: #fff;
}

a:active
{
    color: #fff;
}

a:visited
{
    color: #fff;
    text-decoration: none;
}

/* Loading Hourglass */
#wait
{
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    margin-top: 100px;
    z-index: 2001;
}

a.help-link
{
    color: #25a1ea !important;
    float: right;
    font-size: 0.7em;
    margin-left: 10px;
    margin-top: 5px;

    &:hover
    {
        color: #0464a2 !important;
    }
}

div.preview
{
    padding: 0px 10px 0px 10px;
    opacity: 0.7;
}

/***********************************************************

                            Header            
      
***********************************************************/

.navigation
{
    position: relative;
    margin: 0;
    padding: 0;
    height: 36px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    ul
    {
        overflow: hidden;
        margin: 0;
        padding: 0;
        list-style: none;
        height: 100%;

        li
        {
            height: 100%;

            &:after
            {
                clear: both;
            }
        }
    }
}

.header-logo
{
    height: @headerHeight;
    line-height: @headerHeight;
    width: @headerLogoWidth;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/images/chronozoom.png');
    margin-left: 3px;
    cursor: pointer;
    z-index: 1;
}

.header-regimes
{
    .transition(opacity @fade-duration ease-in-out, visibility @fade-duration ease-in-out);
    height: @headerHeight;
    width: @headerRegimesWidth;
    display: none;
    z-index: 1;
}
// Disable regimes if they don't fit devices.
@media only screen and (max-width: 780px)
{
    .header-regimes
    {
        height: @headerHeight;
        width: 0px;
        display: none;
    }
}

.regime-link
{
    margin-right: 15px;
    margin-left: 15px;
    height: 100%;
    font-size: medium 14px;
    line-height: 36px;
}

.regime-link:hover
{
    cursor: pointer;
    text-shadow: 0px 0px 15px #ccc;
}

#regime-link-cosmos
{
    color: #FF5BEE;
}

#regime-link-earth
{
    color: #C874F4;
}

#regime-link-life
{
    color: #A8B3FE;
}

#regime-link-prehistory
{
    color: #83BAFF;
}

#regime-link-humanity
{
    color: #66D5BF;
}

.header-breadcrumbs
{
    .transition(opacity @fade-duration ease-in-out, visibility @fade-duration ease-in-out);
    height: @headerBreadcrumbsHeight;
    width: 100%;
    margin-top: -@headerBreadcrumbsTopMargin;
}

/***********************************************************

                            Content

***********************************************************/
#content
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%; /* Fallback for older browsers */
    height: calc(~"100% -" @headerHeight ~"-" @footerHeight ~"-" @headerBreadcrumbsHeight ~"+" @headerBreadcrumbsTopMargin);
    height: -moz-calc(~"100% -" @headerHeight ~"-" @footerHeight ~"-" @headerBreadcrumbsHeight ~"+" @headerBreadcrumbsTopMargin);
    height: -webkit-calc(~"100% -" @headerHeight ~"-" @footerHeight ~"-" @headerBreadcrumbsHeight ~"+" @headerBreadcrumbsTopMargin);
    height: -o-calc(~"100% -" @headerHeight ~"-" @footerHeight ~"-" @headerBreadcrumbsHeight ~"+" @headerBreadcrumbsTopMargin);
}

#vc-container
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: -38px;
    padding-top: 38px;
    height: 100%;
    min-height: 100%;
}

#vc
{
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#timeSeriesContainer
{
    height: 0%;
    background-color: gray;
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

    #timeSeriesContainer::selection
    {
        cursor: pointer;
    }

.virtualCanvas
{
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.virtualCanvasLayerDiv
{
    position: absolute;
    z-index: 0;
    overflow: hidden;
}

.virtualCanvasLayerCanvas
{
    position: absolute;
    left: 0;
    z-index: 0;
}

.contentItemDescription
{
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    color: rgb(232,232,232);
    font-size: 10px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.contentItemDescription .text
{
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    height: inherit;
}

.tri-button-block
{
    button
    {
        min-width:   110px;
        margin-right: 10px;
    }
}
.tri-button-block button:last-child
{
    margin-right: 0px;
}

/***********************************************************

                        Bibliography
                   
***********************************************************/

.biblBack
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.2);
}

.biblOuterWindow
{
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 25%;
    right: 25%;
    min-width: 300px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.6);
    cursor: default;
}

.biblWindow
{
    position: absolute;
    top: 25px;
    right: 25px;
    bottom: 25px;
    left: 25px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #434343;
    color: #fff;
    vertical-align: middle;
    font-size: 18.5px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    cursor: default;
}

    .biblWindow .closeButton
    {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 5005;
        width: 30px;
        height: 30px;
    }

    .biblWindow .title
    {
        overflow: hidden;
        margin-right: 60px;
        margin-left: 32px;
        padding-top: 22px;
        padding-bottom: 7px;
        border-bottom: 1px solid #DBDBDB;
        color: #fff;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: bold;
        font-size: 18px;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
        cursor: default;
    }

    .biblWindow .sources
    {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 55px 20px 13px 32px;
        padding-right: 23px;
        height: auto;
    }

        .biblWindow .sources .source
        {
            margin: 0;
            padding: 0 5px 0 5px;
            border-bottom: 1px solid #DBDBDB;
        }

        .biblWindow .sources .sectionTitle
        {
            overflow: hidden;
            margin: 0;
            padding-top: 20px;
            border-bottom: 1px solid #DBDBDB;
            color: #fff;
            text-align: left;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 18px;
            cursor: default;
        }


        .biblWindow .sources .source .sourceName
        {
            overflow: hidden;
            margin-right: 50px;
            padding-top: 20px;
            padding-bottom: 12px;
            color: #DBDBDB;
            text-align: left;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 18px;
            cursor: pointer;
        }

        .biblWindow .sources .source .sourceDescr
        {
            margin: 0 50px 25px 12px;
            padding: 12px;
            border-radius: 8px;
            background-color: #DBDBDB;
            color: #424242;
            text-align: left;
            font-size: 15px;
            cursor: auto;
        }

/***********************************************************

                        Tooltip

***********************************************************/

.bubbleInfo
{
    position: absolute;
    float: left;
    clear: both;
    display: block;
    padding: 10px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-position: center;
    white-space: nowrap;
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
    opacity: 0.9;
}

#defaultBox
{
    background-image: url('../images/defaultGradientBox.jpg');
}

#cosmosRegimeBox
{
    background-image: url('../images/cosmosRegimeBox.jpg');
}

#earthRegimeBox
{
    background-image: url('../images/earthRegimeBox.jpg');
}

#humanityRegimeBox
{
    background-image: url('../images/humanityRegimeBox.jpg');
}

#lifeRegimeBox
{
    background-image: url('../images/lifeRegimeBox.jpg');
}


#prehistoryRegimeBox
{
    background-image: url('../images/prehistoryRegimeBox.jpg');
    background-position: center;
}

.bubbleInfo span
{
    color: #fff;
    font-size: 14px;
    font-family: Verdana, Geneva, Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.block
{
    position: relative;
    display: block;
    background-color: #abc;
    white-space: nowrap;
}



/***********************************************************

                        Welcome Screen
       
***********************************************************/
.welcomeScreenBack
{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5000;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.2);
}

.welcomeScreenOuterWindow
{
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 900px;
    height: 443px;
    min-height: 443px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.6);
    cursor: default;
    top: 50%;
    margin-top: -220px;
}

.welcomeScreen
{
    position: relative;
    top: 16px;
    right: 0;
    bottom: 16px;
    left: 0;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    width: 864px;
    height: auto;
    min-height: 411px;
    border-radius: 8px;
    background-color: #3C5F96;
    color: #fff;
    vertical-align: middle;
    font-size: 18.5px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    cursor: default;
}

    .welcomeScreen .titleArea
    {
        margin-right: 22px;
        margin-left: 32px;
        border-bottom: 1px solid #DBDBDB;
    }

        .welcomeScreen .titleArea .closeButton
        {
            position: absolute;
            top: 12px;
            right: 22px;
            z-index: 5005;
            width: 30px;
            height: 30px;
        }

        .welcomeScreen .titleArea .title
        {
            overflow: hidden;
            margin-right: 60px;
            padding-top: 22px;
            padding-bottom: 7px;
            color: #fff;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: bold;
            font-size: 18px;
            font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            cursor: default;
        }

    .welcomeScreen .content
    {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        overflow: hidden;
        margin: 75px 32px 13px 32px;
        width: 810px;
        height: auto;
        font-size: 16px;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    }

        .welcomeScreen .content .description
        {
            position: absolute;
            display: inline-block;
            margin-right: 20px;
            width: 220px;
            height: 315px;
        }

            .welcomeScreen .content .description .button
            {
                margin-bottom: 10px;
                width: 220px;
                height: 36px;
                border: 1px solid #EF4136;
                background: #EA7134;
                color: #fff;
                font-weight: bold;
                font-size: 18px;
                font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            }

        .welcomeScreen .content .media
        {
            position: absolute;
            right: 0px;
            display: inline-block;
            width: 560px;
            height: 315px;
        }

            .welcomeScreen .content .media .player
            {
                position: absolute;
                right: 0px;
                width: 100%;
                height: 100%;
            }

/***********************************************************

                        Fallbackpage

***********************************************************/
img.fallbackBackground
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* Set up positioning */
    min-width: 1024px;
    /* Set up proportionate scaling */
    /* Set rules to fill background */
    min-height: 100%;
}

@media screen and (max-width: 1024px)
{
    img.fallbackBackground
    {
        left: 50%;
        margin-left: -512px;
    }
}

.fallbackOuterContent
{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -241px;
    margin-left: -450px;
    width: 900px;
    height: 482px;
    background-image: url('../images/fallbackOuterBackground.jpg');
    background-position: top center;
    cursor: default;
}

.fallbackContent
{
    position: relative;
    overflow: hidden;
    margin: 25px auto 0 auto;
    width: 864px;
    height: 432px;
    background-color: #3C5F96;
    color: White;
    vertical-align: middle;
    font-size: 18.5px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    cursor: default;
}


    .fallbackContent .titleArea
    {
        margin-right: 22px;
        margin-left: 32px;
        border-bottom: 1px solid #DBDBDB;
    }

        .fallbackContent .titleArea .title
        {
            overflow: hidden;
            margin-right: 60px;
            padding-top: 22px;
            padding-bottom: 7px;
            color: #fff;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: bold;
            font-size: 18px;
            font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            cursor: default;
        }

    .fallbackContent .content
    {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        overflow: hidden;
        margin: 75px 32px 13px 32px;
        width: 810px;
        height: auto;
        font-size: 16px;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    }

        .fallbackContent .content .description
        {
            position: absolute;
            display: inline-block;
            margin-right: 20px;
            width: 220px;
            height: 315px;
        }

            .fallbackContent .content .description a
            {
                color: #fff;
                text-decoration: underline;
                font-size: 16px;
                font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            }

            .fallbackContent .content .description .button
            {
                width: 220px;
                height: 36px;
                border: 1px solid #EF4136;
                background: #EA7134;
                color: White;
                vertical-align: middle;
                text-align: center;
                font-weight: bold;
                font-size: 18px;
                font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            }

        .fallbackContent .content .media
        {
            position: absolute;
            right: 0;
            display: inline-block;
            width: 560px;
            height: 315px;
        }

            .fallbackContent .content .media .player
            {
                position: absolute;
                right: 0px;
                width: 100%;
                height: 100%;
            }


/***********************************************************

                            Footer

***********************************************************/

footer
{
    position: absolute;
    width: 100%;
    height: 25px;
    bottom: 0px;
    background-color:   @footerBackgroundColor;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;
    border-top:         solid 1px @footerBorderColor;
    border-bottom:      solid 1px @footerBorderColor;
}

#footer ul
{
    overflow: hidden;
    visibility:hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer ul li
{
    height: 100%;

}

.footer-link
{
    margin-right: 10px;
    margin-left: 10px;
    height: 100%;
    color: #ddd;
    white-space: nowrap;
    line-height: 25px;
    &:hover
    {
        cursor: pointer;
        text-shadow: 1px 1px 20px #fff;
    }
}

.footer-links
{
    height: @footerHeight;
    width: @footerLinksWidth;
    color: #aaa;
    bottom: 1px;
}

.footer-credits
{
    height: @footerHeight;
    visibility:hidden;
    width: calc(~"100%" - @footerLinksWidth);
    width: -moz-calc(~"100%" - @footerLinksWidth);
    width: -webkit-calc(~"100%" - @footerLinksWidth);
    width: -o-calc(~"100%" - @footerLinksWidth);
    color: #aaa;
    bottom: 1px;
}

.footer-credits ul
{
    margin-top: 4px;
}

.footer-link-credits, .footer-link-credits:visited, .footer-link-credits:link
{
    margin-right: 6px;
    margin-left: 6px;
}

.footer-link-credits img
{
    margin-bottom: 3px;
    opacity: 0.8;
    &:hover
    {
        opacity: 1;
    }
}

.footer-text
{
    margin-left: 6px;
    color: #aaa;
}

/***********************************************************

                        Breadcrumbs

***********************************************************/

.breadcrumbs-nav
{
    width: @headerBreadcrumbsScrollWidth;
    height: 25px;
    color: #555;
    text-align: center;
    font-size: 14px;
    line-height: 100%;
}

    .breadcrumbs-nav:hover
    {
        color: #999;
    }

#breadcrumbs-nav-left
{
    cursor: pointer;
}

#breadcrumbs-nav-right
{
    cursor: pointer;
}

.breadcrumbs-container
{
    overflow: hidden;
    width: calc(~"100% - " 2 * @headerBreadcrumbsScrollWidth);
    width: -moz-calc(~"100% - " 2 * @headerBreadcrumbsScrollWidth);
    width: -webkit-calc(~"100% - " 2 * @headerBreadcrumbsScrollWidth);
    width: -o-calc(~"100% - " 2 * @headerBreadcrumbsScrollWidth);
    height: 100%;
    line-height: 100%;
}

#breadcrumbs-table
{
    position: relative;
    margin: 0;
    padding: 0;
    width: auto;
    height: 100%;
    border-collapse: collapse;
    cellspacing: 0;
    border-spacing: 0;
}

    #breadcrumbs-table tr
    {
        position: absolute;
        height: 100%;
        white-space: nowrap;
    }

        #breadcrumbs-table tr td
        {
            margin: 0;
            padding: 0;
            height: 25px;
            white-space: nowrap;
            line-height: 100%;
        }

.breadcrumb-separator
{
    margin-right: 3px;
    margin-left: 3px;
    height: 100%;
    color: #bfbfbf;
    font-size: 16px;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 100%;
    cursor: default;
}

.breadcrumb-link
{
    position: relative;
    display: inline-block;
    height: 25px;
    font-size: 13px;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 25px;
    cursor: pointer;
    color: #eea;
}

.breadcrumb-hover
{
    color: #ee6;
}

/***********************************************************

                            Auxiliary

***********************************************************/

.border-box
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.bottom-button-block
{
    position: absolute;
    bottom: 15px;
    left: 0px;
    width: 100%;
    text-align: center;
}

.table-blue { table-layout: fixed; border-spacing: 0px; border: solid 1px #6ae; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.table-blue caption { padding: 3px 5px 6px 5px; background-color: #6ae; color: #fff; text-shadow: 0px 1px 1px #888; border-top-left-radius: 4px; border-top-right-radius: 4px; }
.table-blue thead,
.table-blue tfoot { background-color: #efefef; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.table-blue tbody { background-color: #efefef; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; font-size: 0.9em; display: block; overflow-y: auto; }
.table-blue tbody tr:hover { background-color: #ddd; }
.table-blue td { padding: 3px 5px 4px 5px; vertical-align: top; text-align: left; overflow: hidden; -ms-text-overflow: ellipsis; -o-text-overflow: ellipsis; text-overflow: ellipsis; }
.table-blue tr { display: block; } /* part of webkit fix for tbody overflow auto */
.table-blue tr:last-child td:first-child { border-bottom-left-radius:  4px; }
.table-blue tr:last-child td:last-child  { border-bottom-right-radius: 4px; }
.table-blue input[type="search"],
.table-blue button { background-color: #fff; display: block; width: 100%; border-radius: 4px; margin-left: -2px; }

.table-blue td.delete { width: 15px; padding-top: 0px; text-align: center; font-size: 1.2em; font-weight: bold; cursor: pointer;}
.table-blue td.delete:after { content: '\00D7'; } /* &times; */
.table-blue td.delete:hover { text-shadow: 0px 1px 1px #333; }

.table-blue thead td.select { padding-top: 5px; }
.table-blue td.select { width: 15px; text-align: center; }

.left
{
    text-align: left;
}

.right
{
    text-align: right;
}

.center
{
    text-align: center !important;
}

.centerblock
{
    display: inline-block;
    margin: 0px auto;
}

.justify
{
    text-align: justify;
}

.max
{
    width: 100%;
}

.fleft
{
    float: left;
}

.fright
{
    float: right;
}

.clearer
{
    clear: both;
}

.hidden
{
    display: none;
}

.btn-icon
{
    color: #444;
    font-weight: bold;
    padding-left: 5px;
    position: relative;
    top: -1px;
}

.unselectable
{
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.text-selectable
{
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    -o-user-select: text;
    user-select: text;
}

.no-transition {
    .transition(none);
}

/***********************************************************

                        Form Base

***********************************************************/

.cz-form
{
    position: absolute;
    z-index: 2000;
    display: none;
    cursor: default;
}

.cz-form-right
{
    top: @headerHeight + @headerBreadcrumbsHeight - @headerBreadcrumbsTopMargin;
}

.cz-form-left
{
    top: @headerHeight + @headerBreadcrumbsHeight - @headerBreadcrumbsTopMargin;
}

.cz-form-header
{
    position: relative;
    width: 100%;
    height: 36px;
    background-color: #0464A2;
}

    .cz-form-header > ul
    {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        list-style: none;
    }

.cz-form-nav
{
    float: left;
    margin-left: 15px;
    height: 100%;
    color: #fff;
    font-size: 18px;
    line-height: 36px;
    cursor: pointer;
}

.cz-form-title
{
    float: left;
    margin-left: 15px;
    height: 100%;
    color: #fff;
    font-size: 18px;
    line-height: 36px;
}

.cz-form-close-btn
{
    float: right;
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
}

.cz-form-min-btn
{
    float: right;
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
}

.cz-form-btn
{
    cursor: pointer;
    border: none;
    color: #fff;
}

.cz-form-content
{
    position: absolute;
    padding: 15px;
    background-color: #fff;
    text-align: justify;
}

.cz-input-wrapper {
    input.error {
        border: @border-error;
    }

    div.error {
        .input-error-message;
    }
}

.cz-input
{
    color: @defaultBackgroundColor;
    background-color: #E9E9E9;
    border: 1px solid #D5D5D5;
    padding: 5px;
    font-size: 12px;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, 'Trebuchet MS', sans-serif;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cz-form-required-field-text
{
    margin-top: 5px;
    margin-bottom: 5px;
}

.cz-button
{
    margin: 5px 0;
    cursor: pointer;
    border: none;
    color: #fff;
    min-width: 150px;
    font-size: 12px;
    padding: 10px 5px;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, 'Trebuchet MS', sans-serif;
    /* IE9 */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#1B6AAB', EndColorStr='#0E4073', GradientType=0);
    /* IE10 Consumer Preview */
    background-image: -ms-linear-gradient(bottom, #0E4073 0%, #1B6AAB 100%);
    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(bottom, #0E4073 0%, #1B6AAB 100%);
    /* Opera */
    background-image: -o-linear-gradient(bottom, #0E4073 0%, #1B6AAB 100%);
    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0E4073), color-stop(1, #1B6AAB));
    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(bottom, #0E4073 0%, #1B6AAB 100%);
    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to top, #0E4073 0%, #1B6AAB 100%);
}
.cz-button:hover,
.cz-medialist-item:hover
{
    opacity: 0.9;
}

.cz-button-inline   /* overlay for .cz-button */
{
    color: #000;
    background-image: -webkit-gradient(
	    linear,
	    left top,
	    left bottom,
	    color-stop(0, #ddd),
	    color-stop(1, #bbb)
    );
    background-image: -o-linear-gradient(     bottom, #ddd 0%, #bbb 100%);
    background-image: -moz-linear-gradient(   bottom, #ddd 0%, #bbb 100%);
    background-image: -webkit-linear-gradient(bottom, #ddd 0%, #bbb 100%);
    background-image: -ms-linear-gradient(    bottom, #ddd 0%, #bbb 100%);
    background-image: linear-gradient(     to bottom, #ddd 0%, #bbb 100%);
    border: solid 1px #aaa;
    -xborder: outset 1px #bbb;
    border-top-color: #bbb;
    text-shadow: 0px 1px 1px #fff;
    padding: 4px 6px 5px 6px;
}

.cz-radiobutton + label
{
    margin-right: 25px;
}

.blocking-layer
{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background-color: rgba(0,0,0,0.2);
}

.truncateText
{
    text-overflow: ellipsis;
    overflow: hidden;
}

.cz-form-errormsg
{
    .form-error-message;

    display: block;
}

.cz-lightgray
{
    color: #aeaeae;
}

.cz-gray {
    color: #e9e9e9;
}

.cz-darkgray
{
    color: @defaultBackgroundColor;
}

.cz-darkblue
{
    color: #0464a2;
}

.cz-lightblue
{
    color: #038ae6;
}

.cz-red
{
    color: #dd4b39;
}

.cz-form-label
{
    margin: 5px 0;
    display: block;
}

a
{
    color: #0464a2;
}

.cz-form-label input[type="checkbox"]
{
    margin-left: 0px;
}

/***********************************************************

                        Custom Forms

***********************************************************/

.cz-form-color,
.cz-form-range,
.cz-medialist-item
{
    cursor: pointer;
}

/* Header Edit Form */
.cz-header-edit-form
{
    right: 0px;
    width: 330px;
}

/* Message Window */
.cz-message-window
{
    width: 330px;
    height: auto;
    left: 0;

    .cz-form-content
    {
        position: relative;
        top: 0;
        height: auto !important;
        padding: 1px 15px 10px 10px;
        background-color: #fff;

        textarea
        {
            display: none;
            width: 100%;
            margin-top: 12px;
            overflow: auto;
            resize: none;
            background-color: #eee;
            border-color: #ccc;
            outline: none;
        }
    }
}

/* Edit Tour Form */
.cz-form-tour-edit
{
    width: 415px;
    bottom: 25px;
    left: 0;
}

    .cz-form-tour-edit > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
    }

.cz-form-tour-contentitem-listitem-icon
{
    display: inline-block;
    width: 50px;
    height: 50px;
}

    .cz-form-tour-contentitem-listitem-icon > img
    {
        width: 50px;
        height: 50px;
    }

.cz-contentitem-listitem-tourstop
{
    width: 185px;
    display: inline-block;
    margin: 0px 5px;
    vertical-align: top;
}

.cz-tourstop-lapseblock label
{
    cursor: help;
    display: inline-block;
}

.cz-tourstop-lapse
{
    text-align: right;
    width: 55px;
}

.cz-tourstop-description
{
    display: block;
    height: 80px;
    width: 100%;
    resize: none;
    font-family: Consolas, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
}

.cz-tourlist-cleardiv {
    clear: both;
    width: 100%;
     height: 14px;
}

/* Tours List Form */
.cz-tourlist-form
{
    min-width: 380px;
    max-width: 450px;
    width: 30.2734375%; /* 310 / 1024 */
    right: 0px;
    bottom: 25px;
}

.cz-tourlist-form > .cz-form-content
{
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

.cz-tourlist-form > .cz-form-content > #tours
{
    display: block;
}

#tours
{
    .cz-contentitem-listitem-descr
    {
        margin-bottom: 10px;
    }
    .cz-contentitem-listitem-button
    {
        padding-right: 10px;
        border-right: solid 1px #ccc;
        margin-right: 10px;
        &:last-child
        {
            border-right-style: none;
        }
        img.cz-share
        {
            height: 1em;
            width: auto;
            text-decoration: none;
            position: relative;
            bottom: -1px;
        }
    }
}

#tour-cosmos .cz-contentitem-listitem-button
{
    font-size: 15px;
    &:hover
    {
        color: rgb(90, 210, 243);
    }
}

/* Edit Timeline Form */
.cz-form-timeline
{
    min-width: 380px;
    max-width: 450px;
    width: 30.2734375%; /* 310 / 1024 */
    bottom: 25px;
    left: 0;
}

    .cz-form-timeline > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
    }

/* Time Series Form */
.cz-form-preloadedrecord 
{
    display: inline-block;
    vertical-align: bottom;
    padding-right: 2px;
    padding-left: 2px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    -o-text-overflow: ellipsis; 
    width: 150px;
    white-space: nowrap; 
}

a.cz-form-preloadedrecord
{
    color: rgb(4, 100, 162);
    font-size: 16px;
    cursor: pointer;
}

a.cz-form-preloadedrecord:hover
{
    color: #0464a2;
}

span.cz-form-preloadedrecord
{
    font-size: 9pt;
    width: auto;
    color: #000000;
    padding-bottom: 1px;
}

a.cz-form-preloadedrecord.time-series-link
{
    font-size: 9pt;
    width: auto;
    padding-bottom: 1px;
}



#existingTimeSeries a.cz-form-btn {
        height: 22px;
        padding-top: 1px;
    }

/* Edit Exhibit Form */
.cz-form-exhibit
{
    width: 420px;
    bottom: 25px;
    left: 0;
}

    .cz-form-exhibit > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
    }

    .cz-form-item-descr
    {
        font-family: Consolas, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
    }

/* Edit Content Item Form */
.cz-form-contentitem
{
    width: 420px;
    bottom: 25px;
    left: 0;
}

    .cz-form-contentitem > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
    }

/* Profile Form */
#profile-form
{
    right: 0;
    width: 304px;
    background-color: #f5f5f5;
    font-size: 14px;
}

    #profile-form div.czform_cb_div label
    {
        margin-left: 2em;
    }

    #profile-form a:link
    {
        color: #25a1ea;
    }

    #profile-form a:visited
    {
        color: #25a1ea;
    }

    #profile-form div.czform_text
    {
        color: black;
    }

    #profile-form label
    {
        display: block;
        margin-left: 2px;
    }

    #profile-form input[type=text]
    {
        min-width: 270px;
    }

    #profile-form input[type=checkbox]
    {
        float: left;
        margin-left: 0px;
        padding: 6px;
        color: #fff;
    }

    #profile-form div.cz-form-content div
    {
        clear: both;
        margin-bottom: 14px;
        margin-left: 0px;
    }

    #profile-form button.cz-form-save
    {
        width: 134px;
        color: #fff;
    }

/* Edit Collection Form */
.cz-collection-form
{
    width: 420px;
    bottom: 25px;
    left: 0;
}

    .cz-collection-form > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
    }

.auth-panel-login
{
    display: inline-block;
    margin-top: 8px;
    margin-left: 10px;
    color: #E9E9E9;
    vertical-align: top;
}

/* Login Form */
#login-form
{
    right: 0px;
    width: 304px;
    font-size: 14px;
}

    #login-form div.cz-form-content div
    {
        clear: both;
        margin-bottom: 14px;
        margin-left: 0;
    }

    #login-form div.cz-form-content
    {
        width: 304px;
    }

#cz-form-logout, #cz-form-save
{
    width: 134px;
}

/* TimSeries Data Form */
#timeSeriesDataForm
{
    right: 0px;
    width: 500px;
}

#existingTimeSeries
{
    padding: 0;
}

.cz-preloaded-timeseries
{
    margin: 2px;
    padding: 0px;
    text-align: left;
    width: 200px;
    color: #0388E5;
}

    .cz-preloaded-timeseries :hover
    {
        color: #58B7F9;
    }


/* Session expired */
.cz-session-expired {
    height: 140px;
    width: 330px;
}

.cz-session-expired > .cz-form-content{
    width: 300px;
}


.cz-session-expired a:link
{
    color: #465c71;
    text-decoration: none;
}

.cz-session-expired a:visited
{
    color: #465c71;
    text-decoration: none;
}


/* Search Form */
.cz-header-search-form
{
    min-width: 380px;
    max-width: 450px;
    width: 30.2734375%;
    bottom: 25px;
    left: 0;

    .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: hidden;
    }

    .cz-input
    {
        display: block;
        width: 100%;
    }
}

.cz-form-progress-bar
{
    display: block;
    width: 100%;
    height: 15px;
    vertical-align: top;
    margin-top: 8px;
    margin-bottom: 8px;
}

.cz-form-content-box
{
    font-size: 14px;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, 'Trebuchet MS', sans-serif;
    vertical-align: top;
    height: 100%;
}

.cz-form-search-results
{
    margin-top: 24px;
    position: relative;
    overflow-y: auto;
    height: 100%;
}

.cz-form-search-section
{
    margin-top: 0px;
    margin-bottom: 24px;
}

.cz-form-search-section-title
{
    margin-top: 0px;
    color: @defaultBackgroundColor;
    border-bottom: 1px solid @defaultBackgroundColor;
}

.cz-form-search-result
{
    margin: 8px 0;
    width: auto;
    color: #038ae6;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cz-form-search-results-count
{
    color: @defaultBackgroundColor;
}

/* Tour Caption Form */
.cz-tour-caption-form
{
    width: 300px;
    height: 450px;
    top: 91px;
    left: 0;
    z-index: 100000000;
}

    .cz-tour-caption-form > .cz-form-content
    {
        position: absolute;
        top: 36px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: hidden;
    }

.cz-form-tour-caption
{
    padding-right: 10px;
    width: 100%;
    height: 285px;
    overflow-y: auto;
    text-align: left;
}

.cz-form-tour-bookmarks-count
{
    margin-top: 10px;
    text-align: center;
}

.cz-form-tour-player
{
    padding: 5px;
    background-color: #e9e9e9;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    height: 36px;
    width: 70%;
}

.cz-form-tour-player-icon
{
    width: 36px;
    height: 36px;
}

.cz-tour-form-title {
    width: 100%;    
    height: 100%;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 80px;
    margin-right: 80px;    
    margin-left: 15px;
    
    overflow: hidden;    
    -ms-text-overflow: ellipsis;    
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 18px;
    line-height: 36px;
}

.cz-tour-form-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
}

.cz-tour-form-min-btn {
    position: absolute;
    right: 25px;
    top: 0;
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
}

/* Tour Player Icons. */
.cz-form-prev-icon
{
    background-image: url(../images/tour-prev.png);
}

.cz-form-play-pause-icon[state=play]
{
    margin-left: 15px;
    background-image: url(../images/tour-play.png);
}

.cz-form-play-pause-icon[state=pause]
{
    margin-left: 15px;
    background-image: url(../images/tour-pause.png);
}

.cz-form-next-icon
{
    margin-left: 15px;
    background-image: url(../images/tour-next.png);
}

.cz-form-vol-icon[state=on]
{
    margin-left: 15px;
    background-image: url(../images/narration-on.png);
}

.cz-form-vol-icon[state=off]
{
    margin-left: 15px;
    background-image: url(../images/narration-off.png);
}

.cz-form-color
{
    display: inline-block;
    padding: 0px;
    width: 85px;
    height: 35px;
}

.cz-form-range
{
    width: 75px;
    margin-left: 10px;
    margin-right: 10px;
}

/***********************************************************

                    ListBox Base

***********************************************************/

.cz-listbox
{
    margin: 15px 0;
    padding: 10px;
    background-color: #e9e9e9;
    list-style-type: none;
    border: solid 2px #c7c7c7;
    height: 200px;
    overflow: auto;
}

.cz-listbox-nocontainer
{
    margin: 15px 0;
    list-style-type: none;
    overflow: auto;
}

.cz-tour-listbox-wrapper
{
    overflow-y: auto;
}

.cz-listbox-placeholder
{
    margin: 5px 10px;
    padding: 10px;
    height: auto;
    border: solid 2px #0464a2;
    background-color: #e9e9e9;
}

.cz-listitem
{
    clear: both;
    margin: 5px 10px;
    padding: 10px;
    height: auto;
    background-color: #fff;
    border: solid 2px #c7c7c7;
    background-image: -ms-linear-gradient(bottom, #e9e9e9 0%, #fff 100%);
    background-image: -moz-linear-gradient(bottom, #e9e9e9 0%, #fff 100%);
    background-image: -o-linear-gradient(bottom, #e9e9e9 0%, #fff 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e9e9e9), color-stop(1, #fff));
    background-image: -webkit-linear-gradient(bottom, #e9e9e9 0%, #fff 100%);
    background-image: linear-gradient(to top, #e9e9e9 0%, #fff 100%);
}

.cz-listitem-close-btn
{
    width: 10px;
    float: right;
    cursor: pointer;
    font-size: 14px;
}

/***********************************************************

                ContentItem ListBox

***********************************************************/

.cz-contentitem-listitem-icon
{
    width: 15%;    
    display: inline-block;
    cursor: pointer;
}
.cz-contentitem-listitem-icon > img
{
    width: 100%;
    height: auto;    
}

    .cz-contentitem-listitem-content
{
    display: inline-block;
    margin: 0px 5px;
    vertical-align: top;
    width: 75%;
}

.cz-contentitem-listitem-title
{
    margin: 0 0 10px 0;
    color: @defaultBackgroundColor;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cz-contentitem-listitem-descr
{
    margin: 0;
    color: #aeaeae;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cz-contentitem-listitem-highlighted
{
    margin: 0;
    color: rgb(59, 182, 243);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.cz-contentitem-listitem-button
{
    margin: 0;
    color: rgb(59, 182, 243);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    width: auto;
    display: inline;
}

.root-cloak {
  position: absolute;
  display: none;
  z-index: 8;
  cursor: not-allowed;
  background: @canvas-disable-cloak;

  &.visible {
    display: block;
  }
}

.root-cloak-left {
  .root-cloak;

  top: @headerHeight + @headerBreadcrumbsHeight - @headerBreadcrumbsTopMargin + 38px;
  bottom: @footerHeight;
  left: 0;
}

.root-cloak-right {
  .root-cloak;

  top: @headerHeight + @headerBreadcrumbsHeight - @headerBreadcrumbsTopMargin + 38px;
  bottom: @footerHeight;
  right: 0;
}

.root-cloak-top {
  .root-cloak;

  top: @headerHeight + @headerBreadcrumbsHeight - @headerBreadcrumbsTopMargin + 38px;
  left: 0;
  right: 0;
}

.root-cloak-bottom {
  .root-cloak;

  bottom: @footerHeight;
  left: 0;
  right: 0;
}

.ellipsis
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help
{
    cursor: help;
}

.nocursor
{
    cursor: default;
}

#editCollectionButton
{
    position: absolute;
    margin: -40px 0px 0px 20px;
    z-index: 100;
}
#editCollectionButton .image
{
    cursor: pointer;
    margin-right: 10px;
}
#editCollectionButton > img
{
    height: 50px;
    width: 50px;
}
#editCollectionButton .title
{
    color: #e9e9e9;
    font-size: 16px;
    font-weight: bold;
    vertical-align: top;
}

/* Prevent SkyDrive clicks */
#embedItemDiv
{
    pointer-events: none;
    cursor: default;
}

/* this import must always be last line as themes are overrides */
@import "themes";