body {
    margin: 0;
    padding: 0;
    color: #313131;
    font: normal 12pt "Century Gothic", Arial, Helvetica, sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background: #2d2d2d;
}

.header {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
}

.logo {
    width: 150px;
    position: relative;
}

.logo img {
    width: 100%;
    height: 100%;
}

.menu li a {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

.menu span.login,
.menu span.logout {
    position: absolute;
    top: -21px;
    left: 19px;
    text-transform: uppercase;
    color: #fff;
}

.menu span.logout {
    left: 14px;
}

.menu ul {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul li {
    text-align: center;
    font-size: 13px;
    padding: 0px 10px;
}

.menu ul li.active a {
    color: #f47820;
}

.menu ul li.filler {
    height: 100%;
    background: red;
    max-height: 1000px;
}

.menu ul li a {
    display: block;
    position: relative;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.menu ul li a:hover {
    color: #f47820;
    transition: all .2s ease-in-out;
}


.span-5 {
    width: 340px !important;
}

main {
    margin-top: 80px;
}

.grid-view table.items th, .grid-view table.items td {
    text-align: center;
    font-weight: 800;
}

main a {

    color: #f47820;
}

main a:hover {
    color: #f47820;
}

#main-content {
    min-height: calc(100vh - 150px);
}

.icon-login:before {
    content: url(../img/login.png);
}

.icon-logout:before {
    content: url(../img/logout.png);
}

#title {
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

#content {
    padding: 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
    float: right;
}

.footer {
    position: relative;
    padding: 10px;
    margin: 10px 20px;
    border-top: 1px solid #C9E0ED;
    text-align: center;
    bottom: 0;
    z-index: 1;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

#login-form #LoginForm_username,
#login-form #LoginForm_password,
.row input, .row select {
    height: 44px;
    width: 95% !important;
    max-width: 400px;
    border: solid 1px #b3b3b3;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 16px;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 20px;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {
    background-color: #F4F4F4;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 2px #eee, 0 0 0 1px #fff inset;
    -moz-box-shadow: 0 1px 2px #eee, 0 0 0 1px #fff inset;
    -webkit-box-shadow: 0 1px 2px #eee, 0 0 0 1px #fff inset;
    list-style-type: none;
    margin: -17px 0 30px;
    overflow: hidden;
    padding: 0;
    width: 218px;
}

.portlet-decoration {
    padding: 12px 15px 0 15px;
}

.portlet-title {
    color: #222;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 12px;
    line-height: 1.2em;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;

}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {

    padding: 8px 0;
}

.operations li {
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #FFF;
}

.operations li:first-child {
    border-top: 1px solid transparent;
}

.operations li:last-child {
    border-bottom: 1px solid transparent;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066A4;
}

.recover {
    float: right;
}

div#content h1 {
    font-size: 18px;
    font-weight: bold;
    line-height: 48px;
    margin: 0;
    padding: 0;
}

.menu {
    position: relative;
}

.view img {
    width: 24px;
    margin: 3px
}

.update img {
    width: 24px;
    margin: 3px
}

.delete img {
    width: 24px;
    margin: 3px
}

.operations li, .buttons input[type="submit"] {
    background-color: #2d2d2d;
    color: #ffffff;
    border-radius: 3px;
    padding: 10px 10px;
    margin-bottom: 4px;
    border: 0;
    cursor: pointer;
}

.grid-view table.items tbody tr:hover,
.grid-view table.items tr.selected {
    background: #d8e4e7 !important;
}

.grid-view table.items {
    width: 115% !important;
}

.operations li:hover, .buttons input[type="submit"]:hover {
    background-color: #3D3D3D;
}

.operations li a {
    color: #ffffff !important;
}

.grid-view .button-column {
    width: 100px !important;
}

.items th:first-child {
    width: 20% !important;
}

#table-material .items th:first-child {
    width: 70% !important;
}

#table-users .items th:nth-child(2){
    width: 60% !important;
}
#table-users .items th:nth-child(5){
    width: 25% !important;
}

#table-users table.items {
    width: 152% !important;
}

div#content2 {
    border: 1px solid #ECECEC;
    display: block;
}

div#content2 h1 {
    text-align: center;
}

div#content2 h2 {
    text-align: center;
    margin-bottom: 0;
}

#container1 {
    float: left;
    width: 100%;
    position: relative;
    right: 75%;
    background-image: url('../img/border.png');
    background-repeat: repeat-y;
    background-position: right bottom;
    background-color: #F7F7F7;
}

#container2 {
    float: left;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.container {
    width: 1100px !important;
}

.column1 {
    float: left;
    width: 25%;
    position: relative;
    left: 75%;
    height: 100%;
}

.column2 {
    float: left;
    width: 70%;
    position: relative;
    left: 77%;
    padding: 5px;
}

#toolbar {
    background-color: #F7F7F7;
    text-align: right;
    padding: 15px;
    border-bottom: 1px solid #ECECEC;
}

#toolbar a {
    text-decoration: none;
}

.small-arrow {
    display: inline-block;
    position: relative;
    width: 7px;
    height: 4px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAQAAADoz+32AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAACXZwQWcAAAAHAAAABABsu0i1AAAAIElEQVQI12OM/M+ABJgYGJF4jEwMDHABRgYGJhgDIggAT/kBZrk0A00AAAAASUVORK5CYII=);
    opacity: .8;
}

#content .grid-view table.items th {
    /*background: rgba(0, 0, 0, 0) url("../img/title_bg.gif") repeat-y scroll 0 0 / cover;*/
    background: #f47820;
}

#content .grid-view table.items th a {
    color: #eee;
    font-weight: bold;
    text-decoration: none;
}

ul.yiiPager .selected a {
    background: #2e6ab1 none repeat scroll 0 0;
    font-weight: bold;
    color: #eee !important;
}

.titulo_categoria {
/*    border-bottom: 1px solid #000000;*/
    line-height: 22px;
    margin: 10px 0 -15px;
    text-align: center;
    color: #547791;
}
hr{
    width: 115%;
}
.content h1{
    color: #2d2d2d;
}

table td{
    text-transform: uppercase;
}