/**
 *
 * '||''|.                            '||
 *  ||   ||    ....  .... ...   ....   ||    ...   ... ...  ... ..
 *  ||    || .|...||  '|.  |  .|...||  ||  .|  '|.  ||'  ||  ||' ''
 *  ||    || ||        '|.|   ||       ||  ||   ||  ||    |  ||
 * .||...|'   '|...'    '|     '|...' .||.  '|..|'  ||...'  .||.
 *                                                  ||
 * --------------- By Display:inline ------------- '''' -----------
 *
 * Styles override for 992+ pixels screens
 */

/* Class used to determine which media queries are on */
#mediaquery-checker {
    width: 40px;
}

/* Contextual elements */

@media (min-width:1024px) {

    .hidden-on-tablet,
    .only-on-desktop {
        display: block;
    }

    span.hidden-on-tablet,
    span.only-on-desktop {
        display: inline-block;
    }

    td.hidden-on-tablet,
    td.only-on-desktop,
    th.hidden-on-tablet,
    th.only-on-desktop {
        display: table-cell;
    }

    .hidden-on-desktop {
        display: none;
    }

}

.only-on-tablet {
    display: none;
}

/* 7. Title bar */
#title-bar {
    height: 100%;
    line-height: 42px;
    padding-left: 4px;
    padding-right: 10px;
}

#title-bar h2 {
    height: 34px;
    font-size: 14px;
    line-height: 32px;
    left: 0;
    right: 0;
}

/* 8. Main columns */
#open-menu {
    top: 0;
    right: 0;
    padding: 10px 8px 11px;
}

body.reversed #open-menu {
    right: auto;
    left: 0;
}

#open-menu > span {
    display: block;
    width: 20px;
    height: 17px;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: url(../img/standard/sprites.png) no-repeat 0 0;
    text-indent: 100px;
    white-space: nowrap;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

body.reversed #open-menu > span {
    background-position: 0 -17px;
}

#open-menu:hover > span {
    background-position: -20px 0;
}

body.reversed #open-menu:hover > span {
    background-position: -20px -17px;
}

body.menu-hidden #open-menu > span {
    background-position: 0 -17px;
}

body.menu-hidden.reversed #open-menu > span {
    background-position: 0 0;
}

body.menu-hidden #open-menu:hover > span {
    background-position: -20px -17px;
}

body.menu-hidden.reversed #open-menu:hover > span {
    background-position: -20px 0;
}

#menu {
    position: fixed;
    display: block;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    max-height: none;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    background: #3c4044 url(../img/textures/grid.png);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0))), #3c4044 url(../img/textures/grid.png);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), #3c4044 url(../img/textures/grid.png);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), #3c4044 url(../img/textures/grid.png);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), #3c4044 url(../img/textures/grid.png);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), #3c4044 url(../img/textures/grid.png);
    background: linear-gradient(top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), #3c4044 url(../img/textures/grid.png);
    -webkit-box-shadow: inset 5px 5px 30px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 5px 5px 30px rgba(0, 0, 0, 0.75);
    box-shadow: inset 5px 5px 30px rgba(0, 0, 0, 0.75);
    -webkit-transition: margin-right 200ms;
    -moz-transition: margin-right 200ms;
    -o-transition: margin-right 200ms;
    transition: margin-right 200ms;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.no-boxshadow #menu {
    width: 260px;
}

.no-generatedcontent #menu {
    border-left: 1px solid #666666;
}

body.reversed #menu {
    left: 0;
    right: auto;
    -webkit-transition: margin-left 200ms;
    -moz-transition: margin-left 200ms;
    -o-transition: margin-left 200ms;
    transition: margin-left 200ms;
    -webkit-box-shadow: inset -5px 5px 30px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset -5px 5px 30px rgba(0, 0, 0, 0.75);
    box-shadow: inset -5px 5px 30px rgba(0, 0, 0, 0.75);
}

body.menu-hidden #menu {
    margin-right: -260px;
}

body.menu-hidden.reversed #menu {
    margin-left: -260px;
    margin-right: 0;
}

#menu:before,
#menu:after {
    display: none;
}

/* IE7 */
#menu-before,
#menu-after {
    display: none;
}

#menu header {
    padding-right: 36px;
}

body.reversed #menu header {
    padding-left: 36px;
    padding-right: 12px;
}

#menu-content {
    background: #575d62;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.no-boxshadow #menu-content {
    border: 0;
}
