/*
 * File:        TableTools.css
 * Description: Styles for TableTools 2
 * Author:      Allan Jardine (www.sprymedia.co.uk)
 * Language:    Javascript
 * License:     MIT
 * Project:     DataTables
 *
 * Copyright 2009-2015 Allan Jardine, all rights reserved.
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * CSS name space:
 *   DTTT                  DataTables TableTools
 *
 * Style sheet provides:
 *   CONTAINER             TableTools container element and styles applying to all components
 *   BUTTON_STYLES         Action specific button styles
 *   SELECTING             Row selection styles
 *   COLLECTIONS           Drop down list (collection) styles
 *   PRINTING              Print display styles
 */
/*
 * CONTAINER
 * TableTools container element and styles applying to all components
 */
div.DTTT_container
{
    position: relative;

    float: right;

    margin-bottom: 1em;
}

@media screen and (max-width: 640px)
{
    div.DTTT_container
    {
        float: none !important;

        text-align: center;
    }
    div.DTTT_container:after
    {
        display: block;
        visibility: hidden;
        clear: both;

        height: 0; 

        content: '';
    }
}

button.DTTT_button,
div.DTTT_button,
a.DTTT_button
{
    font-size: .88em;

    position: relative;

    display: inline-block;

    margin-right: 3px;
    padding: 5px 8px;

    cursor: pointer;

    color: black !important;
    border: 1px solid #999;
    border-radius: 2px;
    /* Generated by http://www.colorzilla.com/gradient-editor/ */
    background: #fff;
    /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(89%, #f3f3f3), to(#f9f9f9));
    background: -webkit-linear-gradient(top, #fff 0%, #f3f3f3 89%, #f9f9f9 100%);
    background:      -o-linear-gradient(top, #fff 0%, #f3f3f3 89%, #f9f9f9 100%);
    background:         linear-gradient(to bottom, #fff 0%, #f3f3f3 89%, #f9f9f9 100%); 
    -webkit-box-shadow: 1px 1px 3px #ccc;
            box-shadow: 1px 1px 3px #ccc;

    *cursor: hand;
}

/* Buttons are cunning border-box sizing - we can't just use that for A and DIV due to IE6/7 */
button.DTTT_button
{
    height: 30px;
    padding: 3px 8px;
}

.DTTT_button embed
{
    outline: none;
}

button.DTTT_button:hover:not(.DTTT_disabled),
div.DTTT_button:hover:not(.DTTT_disabled),
a.DTTT_button:hover:not(.DTTT_disabled)
{
    text-decoration: none !important;

    border: 1px solid #666;
    background: #f3f3f3;
    /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), color-stop(89%, #e2e2e2), to(#f4f4f4));
    background: -webkit-linear-gradient(top, #f3f3f3 0%, #e2e2e2 89%, #f4f4f4 100%);
    background:      -o-linear-gradient(top, #f3f3f3 0%, #e2e2e2 89%, #f4f4f4 100%);
    background:         linear-gradient(to bottom, #f3f3f3 0%, #e2e2e2 89%, #f4f4f4 100%); 
    -webkit-box-shadow: 1px 1px 3px #999;
            box-shadow: 1px 1px 3px #999;
}

button.DTTT_button:focus,
div.DTTT_button:focus,
a.DTTT_button:focus
{
    border: 1px solid #426c9e;
    outline: none;
    background-color: #a3d0ef 100%;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a3d0ef), color-stop(65%, #79ace9), to(#a3d0ef));
    background-image: -webkit-linear-gradient(top, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
    background-image:      -o-linear-gradient(top, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
    background-image:         linear-gradient(to bottom, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%); 
    text-shadow: 0 1px 0 #c4def1;
}

button.DTTT_button:active:not(.DTTT_disabled),
div.DTTT_button:active:not(.DTTT_disabled),
a.DTTT_button:active:not(.DTTT_disabled)
{
    -webkit-box-shadow: inset 1px 1px 3px #999;
            box-shadow: inset 1px 1px 3px #999;
}

button.DTTT_disabled,
div.DTTT_disabled,
a.DTTT_disabled
{
    cursor: default;

    color: #999 !important;
    border: 1px solid #d0d0d0;
    background: #fff;
    /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(89%, #f9f9f9), to(#fafafa));
    background: -webkit-linear-gradient(top, #fff 0%, #f9f9f9 89%, #fafafa 100%);
    background:      -o-linear-gradient(top, #fff 0%, #f9f9f9 89%, #fafafa 100%);
    background:         linear-gradient(to bottom, #fff 0%, #f9f9f9 89%, #fafafa 100%);
}

/*
 * BUTTON_STYLES
 * Action specific button styles
 * If you want images - comment this back in

a.DTTT_button_csv,
a.DTTT_button_xls,
a.DTTT_button_copy,
a.DTTT_button_pdf,
a.DTTT_button_print {
  padding-right: 0px;
}

a.DTTT_button_csv span,
a.DTTT_button_xls span,
a.DTTT_button_copy span,
a.DTTT_button_pdf span,
a.DTTT_button_print span {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-right: 30px;
}


a.DTTT_button_csv span { background: url(../images/csv.png) no-repeat bottom right; }
a.DTTT_button_csv:hover span { background: url(../images/csv_hover.png) no-repeat center right; }

a.DTTT_button_xls span { background: url(../images/xls.png) no-repeat center right; }
a.DTTT_button_xls:hover span { background: #f0f0f0 url(../images/xls_hover.png) no-repeat center right; }

a.DTTT_button_copy span { background: url(../images/copy.png) no-repeat center right; }
a.DTTT_button_copy:hover span { background: #f0f0f0 url(../images/copy_hover.png) no-repeat center right; }

a.DTTT_button_pdf span { background: url(../images/pdf.png) no-repeat center right; }
a.DTTT_button_pdf:hover span { background: #f0f0f0 url(../images/pdf_hover.png) no-repeat center right; }

a.DTTT_button_print span { background: url(../images/print.png) no-repeat center right; }
a.DTTT_button_print:hover span { background: #f0f0f0 url(../images/print_hover.png) no-repeat center right; }

 */
button.DTTT_button_collection span
{
    padding-right: 17px;

    background: url(../images/collection.png) no-repeat center right;
}

button.DTTT_button_collection:hover span
{
    padding-right: 17px;

    background: #f0f0f0 url(../images/collection_hover.png) no-repeat center right;
}

/*
 * SELECTING
 * Row selection styles
 */
table.DTTT_selectable tbody tr
{
    cursor: pointer;

    *cursor: hand;
}

table.dataTable tr.DTTT_selected.odd
{
    background-color: #9fafd1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_1
{
    background-color: #9fafd1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_2
{
    background-color: #9fafd1;
}

table.dataTable tr.DTTT_selected.odd td.sorting_3
{
    background-color: #9fafd1;
}

table.dataTable tr.DTTT_selected.even
{
    background-color: #b0bed9;
}

table.dataTable tr.DTTT_selected.even td.sorting_1
{
    background-color: #b0bed9;
}

table.dataTable tr.DTTT_selected.even td.sorting_2
{
    background-color: #b0bed9;
}

table.dataTable tr.DTTT_selected.even td.sorting_3
{
    background-color: #b0bed9;
}

/*
 * COLLECTIONS
 * Drop down list (collection) styles
 */
div.DTTT_collection
{
    z-index: 2002;

    overflow: hidden;

    width: 150px;
    padding: 8px 8px 4px 8px;

    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .4);
    border-radius: 5px;
    background-color: #f3f3f3;
    background-color: rgba(255, 255, 255, .3);
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
            box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
}

div.DTTT_collection_background
{
    z-index: 2001; 

    background: black;
}

div.DTTT_collection button.DTTT_button,
div.DTTT_collection div.DTTT_button,
div.DTTT_collection a.DTTT_button
{
    position: relative;
    right: 0;
    left: 0;

    display: block;
    float: none;

    margin-bottom: 4px;

    -webkit-box-shadow: 1px 1px 3px #999;
            box-shadow: 1px 1px 3px #999;
}

/*
 * PRINTING
 * Print display styles
 */
.DTTT_print_info
{
    position: fixed;
    z-index: 2001;
    top: 50%;
    left: 50%;

    width: 400px;
    height: 150px;
    margin-top: -75px;
    margin-left: -200px;
    padding: 10px 30px;

    text-align: center;

    opacity: .95;
    color: #333;
    border: 1px solid black;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 6px;
    background: #fff;
    /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(89%, #f3f3f3), to(#f9f9f9));
    background: -webkit-linear-gradient(top, #fff 0%, #f3f3f3 89%, #f9f9f9 100%);
    background:      -o-linear-gradient(top, #fff 0%, #f3f3f3 89%, #f9f9f9 100%);
    background:         linear-gradient(to bottom, #fff 0%, #f3f3f3 89%, #f9f9f9 100%);
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, .5);
            box-shadow: 0 3px 7px rgba(0, 0, 0, .5);
}

.DTTT_print_info h6
{
    font-size: 28px;
    font-weight: normal;
    line-height: 28px;

    margin: 1em;
}

.DTTT_print_info p
{
    font-size: 14px;
    line-height: 20px;
}
