
html {
    background:#E8E8E8 url(/core/images/main-background.png) repeat-x scroll 0 0;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    padding-bottom: 15px;
}

#header {
    height:57px;
}

.mainmenu,
.submenu,
.undersubmenu,
.rowpadding {
    padding: 0 15px;
}

#menu ul {
    list-style: none;
    margin: 13px 0 0;
    padding:0;
}
    #menu ul li.element {
        float:left;
        list-style: none;
    }
        #menu ul li.element a {
            text-decoration:none;
        }
            #menu ul li.element a .title {
                float:left;
                height:38px;
                padding: 5px 10px 0;
                vertical-align:baseline;
                -moz-border-radius-topleft: 7px;
                -moz-border-radius-topright: 7px;
                -webkit-border-radius-topleft: 7px;
                -webkit-border-radius-topright: 7px;
            }
                #menu ul li.element a:hover .title {
                    background: #404346;
                }

                #menu ul li.element a .title span.main {
                    color:#ccc;
                    font-weight:700;
                    text-transform:uppercase;
                }
                #menu ul li.element a .title span.sub {
                    color:#6b6d6e;
                    float:left;
                    font-weight:400;
                    margin-top:-2px;
                    text-transform:none;
                }

        #menu ul li.element a.active .title,
        #menu ul li.element a.active:hover .title {
            background:url(/core/images/mainmenu_active_background.png) repeat-x top;
        }
            #menu ul li.element a.active .title span.main,
            #menu ul li.element a:hover .title span.main {
                color:#FFF;
            }
            #menu ul li.element a.active .title span.sub,
            #menu ul li.element a:hover .title span.sub {
                color:#9b9d9e;
            }

.submenu {
    background-color: #D0D0D0;
    padding-top: 5px;
}
    #submenu ul,
    #submenu ul li {
        list-style: none;
        padding: 0;
        margin: 0;
    }
        #submenu ul li {
            padding: 0 3px;
            float: left;
            text-transform: uppercase;

        }
            #submenu ul li a {
                text-decoration: none;
                color: #606060;
                padding: 0px 5px;
                line-height: 25px;
            }
                #submenu ul li a:hover {
                    color: #404040;
                }
        #submenu ul li.active {
            background-color: #E8E8E8;
            padding: 0 5px;
            -moz-border-radius-topleft: 5px;
            -moz-border-radius-topright: 5px;
            -webkit-border-radius-topleft: 5px;
            -webkit-border-radius-topright: 5px;
        }
            #submenu ul li.active a {
                color: #202020;
            }
        #submenu ul li.inactive {
            color: #a0a0a0;
            cursor: default;
            padding: 0 5px;
            font-style: italic;
            line-height: 25px;
        }
    #submenu #searchbox {
        width: 400px;
    }
        #submenu #searchbox button {
            width: 100%;
            padding: 0 10px 2px 10px;
            border: 1px solid #A0A0A0;
            border: none;
            background-color: #505254;
            color: #CCC;
            height: 20px;
            -webkit-border-radius-topright: 5px;
            -moz-border-radius-topright: 5px;
            -khtml-border-radius-topright: 5px;
            border-radius-topright: 5px;
            -webkit-border-radius-bottomright: 5px;
            -moz-border-radius-bottomright: 5px;
            -khtml-border-radius-bottomright: 5px;
            border-radius-bottomright: 5px;
            cursor: pointer;
        }
            #submenu #searchbox button:hover {
                color: #FFF;
            }
        #submenu #searchbox input {
            width: 100%;
            padding: 4px 0 1px 5px;
            border: 1px solid #A0A0A0;
            border: none;
            height: 20px;
            -webkit-border-radius-topleft: 5px;
            -moz-border-radius-topleft: 5px;
            -khtml-border-radius-topleft: 5px;
            border-radius-topleft: 5px;
            color: #7A7C7D;
            background-color: #E8E8E8;
        }
            #submenu #searchbox input:focus {
                color: #444;
                background-color: white;
            }
            
            
.undersubmenu {

}
    #status {
        margin-top: 7px;
    }
        #status .column > div {
            background-color: #fafafa;
            -moz-box-shadow: 1px 1px 2px #D8D8D8;
            box-shadow: 1px 1px 2px #D8D8D8;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            -khtml-border-radius: 6px;
            border-radius: 6px;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -ms-box-sizing: border-box;
            box-sizing: border-box;
            line-height:2.3em;
        }
        #status > .column:last-child > div {
            margin-left: 7px;
        }
        #status #crumbs {
            height:2.3em;
            border-right: none;
            list-style-type: none;
            margin: 0;
            padding: 0 15px 0 5px;
        }
            #status #crumbs li {
                list-style-type: none;
                padding: 0;
                margin: 0;
                float:left;
                line-height:2.3em;
                color:#777;
                padding-left:.75em;
            }
                #status #crumbs li a {
                    background:url(/core/images/crumbs.gif) no-repeat right center;
                    display:block;
                    padding:0 15px 0 0;
                }
                    a:link, a:visited,
                    #status #crumbs li a:link,
                    #status #crumbs li a:visited {
                        color:#777;
                        text-decoration:none;
                    }
                    a:hover, a:focus,
                    #status #crumbs li a:hover,
                    #status #crumbs li a:focus {
                        color:#dd2c0d;
                    }

        #status #flash button {
            border: none;
            padding: 0px;
            margin: 3px;
            height: 19px;
            width: 19px;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            -khtml-border-radius: 3px;
            border-radius: 3px;
            cursor: pointer;
        }
        #status #flash ul {
            margin: 0 10px;
            padding: 0;
            list-style: none;
            width: 100%;
        }
            #status #flash ul li {
                list-style: none;
                color: #515253;
                font-weight: bold;
                width: 100%;
            }
            #status #flash ul li.error {
                color: #EF401D;
            }
            #status #flash ul li.success {
                color: #7FAF0A;
            }
            #status #flash ul li.hint {
                color: #2985DF;
                font-weight: normal;
            }
            #status #flash ul li.warning {
                color: #CFAE19;
                font-weight: normal;
            }

#maincontainer > .column > .content .box {
    border:1px solid #dedede;
    background-color: #fafafa;
    margin-top: 7px;
    -moz-box-shadow: 1px 1px 2px #D8D8D8;
    box-shadow: 1px 1px 2px #D8D8D8;
    padding: 4px;
}

#maincontainer > .sidemenu > .content {
    width: 200px;
    margin-right: 7px;
}

.box {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}
.box.margin {
    margin-right: 7px;
}

.box > .header {
    padding: 3px 5px;
    background-color: #505254;
    border-bottom: 1px solid #dedede;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    color: #FFF;
    -moz-user-select: none;
    font-weight: bold;

}
    .box > .header > .elastic {
        line-height: 1.5em;
        cursor: default;
    }
    .box > .header button {
        background-color: transparent;
        border: none;
        padding: 0 2px;
        color: #CCC;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -khtml-border-radius: 3px;
        border-radius: 3px;
        font-size: 8px;
        opacity: 0;
        margin:0px;
    }
        .box:hover > .header button {
            opacity: 1;
        }
        .box > .header button:hover {
            color: #FFF;
            cursor: pointer;
            background-color: #707274;
        }
    .box > .header + .content {
        margin-top: 3px;
    }
    .box > .content {
        color: #555;
        padding: 5px;
        text-align: justify;
    }

    /** IMAGES **/
    .box img {
        border: 1px solid #CCC;
        padding: 2px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -khtml-border-radius: 3px;
        border-radius: 3px;
    }

    /** LISTS */
    .box ul,
    .box ul li {
        padding: 0;
        margin: 0 0 0 8px;
    }

    /** TABLE **/
    .box table {
        width: 100%;
        border-spacing: 1px;
    }

    .box table > thead > tr > th {
        background-color: #7E8080;
        color: white;
        padding: 3px 5px;
        line-height: 2em;
        text-align: left;
    }
    .box table > tbody > tr > td {
        padding: 3px 5px;
        line-height: 1.5em;
        border-bottom: 1px solid #d0d0d0;
        color: #666;
    }
        .box table > tbody > tr:last-child td {
            border-bottom: none;
        }

/*
 * FORMS
 */
input[type="text"],
button,
textarea {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
dl.zend_form {
    margin: 0 5px;
}
dl.zend_form dt, dl.zend_form dd {
    min-height: 30px;
    line-height: 1.5em;
}
dl.zend_form dt {
    float: left;
    clear: left;
    text-align: right;
    width: 25%;
}
dl.zend_form dt label {
    margin-right: 10px;
}
dl.zend_form dt label.required { 
    font-weight: 600;
}
dl.zend_form dt label.required:after {
    content:" *"
}
dl.zend_form dd {
    float: left;
    clear: right;
    width: 75%;
    padding: 0;
    margin: 0;
}
dl.zend_form dt,
dl.zend_form dd {
    padding-top: 5px;
    border-top: 1px solid #e0e0e0;
}
dl.zend_form dt:nth-of-type(1),
dl.zend_form dd:nth-of-type(1){
    border-top: none;
}
dl.zend_form dd input[type="text"],
dl.zend_form dd input[type="password"],
dl.zend_form dd input[type="file"],
dl.zend_form dd textarea,
dl.zend_form dd select {
    width: 100%;
    color: #5D5F60;
}
    dl.zend_form dd input[type="text"]:focus,
    dl.zend_form dd input[type="password"]:focus,
    dl.zend_form dd input[type="file"]:focus,
    dl.zend_form dd textarea:focus{
        color: #303234;
    }

    dl.zend_form dd input[type="text"]:focus + p.description,
    dl.zend_form dd input[type="password"]:focus + p.description,
    dl.zend_form dd input[type="file"]:focus + p.hint,
    dl.zend_form dd textarea:focus + p.description {
        color: #303234;
    }

dl.zend_form dd p.description,
dl.zend_form dd p.hint {
    color: #5C5E5F;
    padding: 2px 5px;
    max-width: 400px;
    font-size: 0.9em;
}
dl.zend_form dd ul.errors {
    list-style: none;
    padding: 0;
    margin: 0;
}

dl.zend_form dd ul.errors li {
    list-style: none;
    font-weight: bold;
    padding: 2px 5px 0;
    max-width: 400px;
    color: #e33100;
}

/**
 * UNIFIED CLASSES
 */
.hide {display: none;}

.awesome,
.awesome:visited,
.box .awesome{
    background: #222 url(/core/images/alert-overlay.png) repeat-x;
    display: inline-block;
    padding: 5px 10px 6px;
    border: none;
    color: #fff;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    position: relative;
    cursor: pointer;
}
.awesome:hover {
    background-color: #111;
    color: #fff;
}
.awesome:active {
    top: 1px;
}
.small.awesome, .small.awesome:visited {
    font-size: 11px;
    padding: 4px 7px;
}
.awesome,
.awesome:visited,
.medium.awesome,
.medium.awesome:visited {
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
}
.large.awesome, .large.awesome:visited {
    font-size: 14px;
    padding: 8px 14px 9px;
}
.green.awesome, .green.awesome:visited		{ background-color: #91bd09; }
.green.awesome:hover						{ background-color: #749a02; }
.blue.awesome, .blue.awesome:visited		{ background-color: #2daebf; }
.blue.awesome:hover							{ background-color: #007d9a; }
.red.awesome, .red.awesome:visited			{ background-color: #e33100; }
.red.awesome:hover							{ background-color: #872300; }
.magenta.awesome, .magenta.awesome:visited		{ background-color: #a9014b; }
.magenta.awesome:hover							{ background-color: #630030; }
.orange.awesome, .orange.awesome:visited		{ background-color: #ff5c00; }
.orange.awesome:hover							{ background-color: #d45500; }
.yellow.awesome, .yellow.awesome:visited		{ background-color: #ffb515; }
.yellow.awesome:hover							{ background-color: #fc9200; }

