/* ADMIN2 ROUNDED CSS 20100107 */
/*
   The border-radius (rounded corner) css is supported in
   FF 3.5+, Safari 3.0+, Chrome, Opera Presto 2.3+ ("10.50") and IE9.
   And fallbacks gracefully to normal corners in older browsers. 
*/


/* LOGIN PAGE (center it) */

.loginpage, .loginpage #page
{
    height: 100%;
}

.loginpage #header
{
    height: 15%;
}

.loginpage #columns
{
    height: 85%;
    background-color: #fff;
}

.loginpage #columns #maincolumn
{
    border-right: 0 none;
    margin-right: 0px;
}

.loginpage #columns #maincontent
{
    width: 48em;
    margin: 0 auto;
}

.loginpage #columns #maincontent .box-header
{
    background: transparent url('../../images/2/ez-logo-black.png') no-repeat top right scroll;
    padding-top: 1em;
}

.loginpage #footer
{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.loginpage #debug
{
    padding-bottom: 4em;
}


/* HEADER */
#header
{ 
    border-bottom: 1px solid #666;
    background: #2ebae0 url('../../images/2/gradient-header.png') repeat-x left top scroll;
}

.loginpage #header
{
        border-bottom-width: 0;
        background: #FEFEFE url('../../images/2/gradient-to-light.png') repeat-x left top scroll;
}

/* TOP MENU (TABS) */

#header-topmenu ul li a, #header-topmenu ul li span.disabled, ul.tabs li a, ul.tabs li span.disabled
{
    border: 1px solid #666;
    border-bottom-width: 0;
    background: #f3f3f3 url('../../images/2/gradient-to-darker.png') repeat-x left top scroll;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

ul.tabs li a, ul.tabs li span.disabled
{
    border-color: #ccc;
}

#header-topmenu ul li.selected a, #header-topmenu ul li.selected span.disabled, ul.tabs li.selected a
{
    border-bottom: 1px solid #fff;
    background: #fff none;
}

.tab-content
{
    border: 1px solid #ccc;
    background-color: #fff;
}

/* CSS Media Query's to adjust layout based on screen width */

@media all and (max-width: 1080px)
{
    #header-logo a, #header-logo span
    {
        width: 50px;/* Use only eZ logo on small screens */
    }

    #header-topmenu ul li a, #header-topmenu ul li span.disabled
    {
        min-width: 80px;/* slightly smaller tabs */
    }
}

/* BOX MODEL */

a.show-hide-control
{
    background-color: white;
    border: 1px solid #999;
    border-left: 0;
    margin-left: 0;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

a.show-hide-control:hover
{
    border-color: #666;
}

#controlbar-top .box-bc
{
    border: 1px solid #ccc;
    background: #FEFEFE url('../../images/2/gradient-to-light.png') repeat-x left top scroll;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.box-bc .box-ml, .box-header .box-ml
{
    border: 0 none;
    background-color: transparent;
}

.box-header
{
    border-bottom: 1px solid #ccc;
}

#controlbar-top .box-bc .box-ml
{
    border-top-width: 0;
}

.context-information, .subitems-controlbar
{
    background-color:#f8f8f8;
    border: 1px solid #ccc;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.context-information
{
    border-top: 0 none;
}

.subitems-controlbar
{
    padding: 0px 5px;
    margin: 0 0 5px 0;
}

.subitems-context-toolbar
{
    padding: 3px;
}


/* MENU-BLOCK */

.menu-block li a
{
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/* BUTTONS */
p.versions
{
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border: 1px solid #CCCCCC;
    border-top: 0 none;
    background: #f5f5f5 url(../../images/2/gradient-to-darker.png) repeat-x center bottom scroll;
}
p.versions a
{
    text-decoration: none;
}

p.table-preferences
{
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border: 1px solid #CCCCCC;
    border-top: 0 none;
    background: #D1DFE9 url(../../images/2/gradient-to-darker.png) repeat-x center bottom scroll;
}

p.table-preferences > a, p.table-preferences > span
{
    border: solid #CCC;
    border-width: 0 1px 0 0;
    padding-right: 1em;
}

p.table-preferences :last-child
{
    border-right: 0px;
}

input.button, input.defaultbutton, input.button-disabled
{
    color: #fff;
    background: #D1DFE9 url(../../images/2/gradient-btn-blue.png) repeat-x center bottom scroll;
    border: 1px solid #dedede;
    border-color: #aaa #ccc #ccc #aaa;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

input.defaultbutton, input.button-disabled
{
    background-color: #f5f5f5;
    background-position: center top;
}

input.defaultbutton
{
    background-image: url(../../images/2/gradient-btn-orange.png);
}

input.button-disabled
{
    color: #888;
    background-image: url(../../images/2/gradient-btn-disabled.png);
}

/* SEARCH */
#searchtext
{
    border: 1px solid #666;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #fff url('../../images/2/btn-search.png') no-repeat right center scroll;
    line-height: 18px !important;
}

#searchtext:focus
{
    border-color: #000;
}

#searchtext.disabled
{
    background-color: #efefef;
}

/* DASHBOARD */
#ez-version
{
    color: #E24602;
}

.content-dashboard .box-header
{
     background: transparent url('../../images/2/welcome.png') no-repeat scroll right bottom;
     padding: 35px 0 0;
}

.content-dashboard .box-header h1
{
     visibility: hidden;
}

.dashboard-item
{
    margin-top: 2em;
}


/* PAGENAVIGATOR */

div.pagenavigator
{
    text-align: center;
}

div.pagenavigator a
{
    text-decoration: none;
}

div.pagenavigator p
{
    margin: 0em;
}

div.pagenavigator span.previous
{
    display: block;
    float: left;
}

div.pagenavigator span.next
{
    display: block;
    float: right;
}

div.pagenavigator span.disabled
{
    color: #d0d0d0;
}


/* FOOTER */

#footer
{
    border-top: 1px solid #999;
    background: #FEFEFE url('../../images/2/gradient-to-light.png') repeat-x left top scroll;
}


/* MISC */
table.list th, table.special th
{
    background: #FAFAFA url('../../images/2/gradient-to-darker.png') repeat-x left bottom scroll;
}

#leftmenu-design ul
{
    color: #333;
}

.settings .current
{
    font-weight: bold;
}


/* YUI 2 calendar (uses #page to force override) */

#page .yui-calendar .calweekdaycell
{
    padding: 0.15em;
}

#page .yui-calcontainer
{
    border-color: #CCCCC3;
}


 a.button{
    color: #fff;
    background: #D1DFE9 url(../../images/2/gradient-btn-blue.png) repeat-x center bottom scroll;
    border: 1px solid #dedede;
    border-color: #aaa #ccc #ccc #aaa;
    padding: 0em 0.5em;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;

    width: auto;
    overflow: visible;

    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: normal;
    /*padding: 0em 0.25em 0em 0.25em;*/
    box-sizing: border-box;
   /* -webkit-appearance: push-button;*/
    -webkit-user-select: none;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    margin: 0em;
    font: -webkit-small-control;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    text-decoration: none;
    -webkit-writing-mode: horizontal-tb;
}