/*
reference:
http://www.cssfontstack.com/

color: 
    #e7e7e7
    #145c24
    #005714
    #00d632
    #4d4d4d
    #878787
    #000000
    #ffffff
*/
body {
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 14px;
}
h1,h2,h3,h4 {
    margin: 0;
    padding: 10px 0;
    font-weight: bold;
}
h1 { font-size: 28px;  }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 14px; }
p {
    margin: 0; 
    padding: 4px 0 10px 0;
}

.block { display: block; }
.clear { clear: both; }
.height-5px { height: 5px; }
.height-10px { height: 10px; }
.height-20px { height: 20px; }
.height-50px { height: 50px; }
.height-100px { height: 100px; }
.green {color: green;}
.blur {color: blue;}
.red {color: red;}
.yellow {color: yellow;}

.text-line {
    overflow: hidden;
    text-align: center;
    color: #888;
}
.text-line:before,
.text-line:after {
    content: "";
    display: inline-block;
    height: 0;
    position: relative;
    vertical-align: middle;
    width: 50px;
    border-top: 2px solid #888;
    /*border-bottom: 1px solid #888;*/
}
.text-line:before {
    right: 0.2em;
    margin-left: -50%;
}
.text-line:after {
    left: 0.2em;
    margin-right: -50%;
}

.menu-category {
    display: block;
    text-align: center;
}
.menu-category ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #555;
    background-color: #FFF;
    list-style: none;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.menu-category ul:before {
    content: '';
    display: block;
}
.menu-category ul:after {
    content: '';
    display: table;
    clear: both;
}
.menu-category ul > li {
    float: left;
    min-width: 100px;
    padding: 8px 10px;
    font-weight: bold;
    border-left: 1px solid #cccccc;
    /*border-right: 2px solid #cccccc;*/
}
.menu-category ul > li:hover {
    background-color: #DDD; 
}
.menu-category ul > li:first-child { border-left: none; }
.menu-category ul > li:last-child { border-right: none; }
.menu-category ul > li > a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.menu-category ul > li.active {
    color: #F0F4FF;
    background-color: #4d4d4d;
}

/* PAGINATION */
.paging {
    display: block;
    clear: both;
    margin: 0;
    padding: 10px 0;
}
.paging-center { text-align: center; }
.paging .hidden { display: none; }
.paging ul {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.paging ul > li {
    display: inline-block;
}
.paging ul > li > a {
    display: block;
    min-width: 12px;
    padding: 8px;
    color: #777;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    background-color: #fff;
    border: 1px solid #DDD;
    text-decoration: none;
}
.paging ul > li > a:hover {
    color: #F0F4FF;
    background-color: #777;
}
.paging ul > li.selected > a {
    color: #F0F4FF;
    background-color: #777;
}
.paging-yii .first, .paging-yii .previous, .paging-yii .next, .paging-yii .last { display: none; }

/* BALLOON MESSAGE */
.flash-message {
    display: block;
    padding: 5px 0;
}
.balloon-message {
    position: relative;
    display: block;
    margin: 3px 0;
    padding: 5px 15px;
    line-height: 1;
    background-color: #ffffff;
    border: 1px solid #ddd;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.balloon-message .btn-balloon-close {
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}
.balloon-error { background-color: #FBC2C4; }
.balloon-success { background-color: #c2ffc2; }
.balloon-warning { background-color: #fcefa1; }
.balloon-info { background-color: #c3d9ff; }