/*---------- global ----------*/

body {
    font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', sans-serif;
    background-color: #eee;
}

h1, h2, h3, h4 {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 1em;
}

a {
    color: black;
    text-decoration: underline;
}

a:hover, a:active {
    color: crimson;
}

label {
    font-weight: normal;
    margin-right: 3px;
}

button a,
a.btn {
    text-decoration: none;
}

.section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.section > h2:first-child,
.section > h3:first-child,
.header > h2:first-child,
.header > h3:first-child {
    margin-top: 0px;
}

.subsection {
    padding-top: 10px;
    padding-bottom: 10px;
}

#page {
    background-color: white;
}

#header {
    border-bottom: 1px solid #eee;
    padding-top: 0px;
    padding-bottom: 10px;
}

#header .container {
    padding-top: 10px;
}

#article {
    padding-top: 0px;
    padding-bottom: 20px;
}

#footer {
    font-size: 0.9em;
    background-color: #222;
    color: #888;
    margin: 0px;
    padding: 40px 0px;
}

#footer a {
    color: white;
}

.subtitle {
    font-size: 0.9em;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.sep {
    display: inline-block;
    margin: 0px 5px;
}

.dialog {
    background-color: #eee;
    /*text-align: center;*/
    max-width: 400px;
    margin: 40px auto;
    padding: 40px 40px 30px;
}

.dialog-actions {
    margin-top: 30px;
}

.range_to {
    font-size: 0.9em;
}


/*---------- bootstrap cleanup ----------*/

.alert {
    background-image: none;
    border: none;
    padding: 8px 8px 8px 15px;
    box-shadow: unset;
}

.form-control {
    border-radius: unset;
    box-shadow: unset;
    -webkit-box-shadow: unset; 
}

.form-control:focus {
    box-shadow: unset;
    -webkit-box-shadow: unset;     
}

.form-group input[type=file] {
    width: 100%;
}

.input-group-addon {
    border-radius: unset;
}

.form-horizontal .col-sm-6 {
    margin-top: 10px;
}

.btn {
    background-image: none;
    border: none;
}

.btn i.fa,
.nav-pills i.fa,
.navbar-nav i.fa,
.action-link i.fa,
.btn i.glypicon,
.nav-pills i.glypicon,
.navbar-nav i.glypicon,
.action-link i.glypicon {
    margin-right: 5px;
}

.btn-primary,
.nav-pills > li.active > a {
    background-color: #222;
}

.btn-primary:hover,
.btn-primary:active,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:active {
    background-color: black;
}

.btn-lg {
    padding: 10px 30px;
}

.btn-round {
    border-radius: 2em;
}

.btn-xs {
    text-transform: uppercase;
    font-size: 0.8em;
    padding: 2px 8px;
}

.help-block {
    font-size: 0.9em;
    color: #aaa;
}

.dropdown-menu a,
.nav-pills a {
    text-decoration: none;
}

h2 .nav-pills {
    font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', sans-serif;
}

.pagination > li > a, 
.pagination > li > span {
    color: #222;
}

.pagination > li > a:focus, 
.pagination > li > a:hover, 
.pagination > li > span:focus, 
.pagination > li > span:hover {
    color: crimson;
}

.pagination > .active > a, 
.pagination > .active > a:focus, 
.pagination > .active > a:hover, 
.pagination > .active > span, 
.pagination > .active > span:focus, 
.pagination > .active > span:hover {
    background-color: black;
    border-color: black;
    color: white;
}


/*---------- header ----------*/

.navbar {
    margin-bottom: 0px;
}

.navbar-brand {
    padding: 10px 0px;
    height: auto;
}

.navbar a {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
    font-size: 1.4em;
    text-decoration: none;
}

.navbar h1 {
    font-size: 1em;
    margin: 0px;
}

.navbar-nav > li {
    vertical-align: top;
}

.navbar .menu-down {
    font-size: 0.7em;
    display: inline-block;
    margin-left: 5px;
}

.location-title {
    text-align: right;
    line-height: 1em;
}

.location-subtitle {
    font-weight: normal;
    font-size: 0.6em;
    display: block;
}


/*---------- directory ----------*/

ul.list-outer,
ul.list-inner {
    list-style-type: none;
}

.list-inner {
    margin: 0px;
    padding: 0px;
}

.list-outer a,
.list-inner a {
    width: 100%;
    display: inline-block;
}

.list-inner .badge {
    background-color: #eee;
    color: grey;
}

.badge {
    font-weight: normal;
    margin-left: 5px;
}


/*---------- cities ----------*/

#cities {
    font-size: 0.9em;
    background-color: #eee;
    padding-bottom: 40px;
}

#cities a {
    color: #555;
}

#cities .list-inner .badge {
    background-color: #ddd;
}


/*---------- breadcrumbs ----------*/

.breadcrumb {
    font-size: 0.9em;
    color: #aaa;
    background-color: transparent;
    /*background-color: #f5f5f5;*/
    margin-bottom: 0px;
}

.breadcrumb a {
    color: #888;
}


/*---------- search ----------*/

.search {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: center;
}

.search {
    /*border-top: 1px solid #ddd;*/
}

.search label {
    color: #888;
}

.search .form-group {
    margin-right: 20px;    
}

.search .form-control,
.search label,
.search .btn {
    margin: 5px 5px 5px 0px;
}

.search .field-numeric {
    width: 60px;
}


/*---------- listing ----------*/

.top-posts .listing-item {
    min-height: 115px;
}

.listing-item,
.listing-regular .listing-item,
.listing-featured .listing-item {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    overflow: none;
}

.listing-featured .listing-item {
    background-color: rgb(252, 248, 227);
    border-bottom-color: #f6f0bc;
}

.post-thumbnail-box {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

img.post-thumbnail {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 150px;
}

.top-posts img.post-thumbnail {
    max-width: 100%;
    max-height: 84px;
}

.post-title {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
    font-size: 1.2em;
}

.post-preview {
    margin-bottom: 10px;
}

.listing-price {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
    font-size: 1.2em;
    text-align: right;
    float: right;
}

.listing-price label {
    font-size: 0.8em;
    display: block;
    margin: 0px;
}

.listing-fields label {
    color: #888;
}

.listing-fields .value {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
}


/*---------- view post ----------*/

.header h2 {
    margin-bottom: 5px;
}

.header {
    margin-bottom: 10px;
}

.post-details {
    padding-right: 10%;
}

.post .aside {
    margin-bottom: 10px;
}

.post .aside h3 {
    margin-top: 0px;
}

.post .aside dl {
    margin-bottom: 0px;
}

.post .aside dt {
    color: #888;
    font-weight: normal;
}

.post .aside dd {
    margin-bottom: 10px;
}

.post-fields dt {
    font-size: 0.9em;
}

.post-fields dd {
    font-family: Bitter, Cambria, Georgia, serif;
    font-weight: bold;
    font-size: 1.1em;
}

.post-contact {
    font-size: 0.9em;
    background-color: #eee;
}

.post-contact label {
    color: #888;
}

.post .post-meta {
    font-size: 0.9em;
    color: #aaa;
}

.post .post-meta label {
    display: block;
    margin: 10px 0px 0px;
}

.captcha-field .input-group-addon {
    /*padding: 0px 5px 0px 2px;*/
    padding: 0px 5px 0px 0px;
    border: none;
    background-color: transparent;
}

.invoice {
    max-width: 400px;
}

.invoice .amount {
    text-align: right;
}

.social-buttons {
    margin-bottom: 20px;
}


/*---------- post ----------*/

#wmd-preview {
    width: 100% !important;
    padding: 10px !important;
}

.post-form-pic {
    height: 100px;
    max-width: 100%;
    display: block;
}

.post-breadcrumbs .btn {
    margin-left: 10px;
}


/*---------- calendar ----------*/
.calendar {
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;
}

.calendar .week {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
}

.calendar .day-cell,
.calendar .week-sep {
    float: left;
    width: 14.28%;
    text-align: center;
}

.calendar .week-sep {
    color: #aaa;
    padding: 15px 0px;
    vertical-align: middle;
}

.calendar .day {
    font-family: Bitter, Cambria, Georgia, serif;
    /*font-size: 1.2em;*/
    font-weight: bold;
    font-variant-numeric: oldstyle-nums;
    display: inline-block; 
    margin: 2px 0px;
    padding: 3px 5px;
}

.calendar .weekday {
    display: block;
    color: #aaa;
    font-size: 0.8em;
}

.calendar .today-cell .day {
    border-radius: 3em;
    border: 2px solid #ddd;
    margin: 0px;
}

.calendar .active .day {
    border-radius: 3em;
    background-color: black;
    color: white; 
}

.calendar a {
    text-decoration: none;
}

.date-picker {
    width: 100%;
    overflow: none;
    padding: 20px 0px 30px;
}

.date-picker-week {
    width: 98%;
    float: left;
}


/*---------- share ----------*/

.a2a_menu a {
	color: #000 !important;
    font-size: 0.85em !important;
}

.a2a_menu a:hover {
	color: crimson !important;
}

.a2a_menu,
.a2a_menu * {
    font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', sans-serif !important;
}


/*---------- debug ----------*/

div {
    border: 1px solid red;
    border: none;
}

#debug {
    font-family: Consolas, monospace;
    font-size: 0.95em;
    background-color: #555;
    color: #ddd;
}

#top-bar {
    padding: 5px 0px;
    border-bottom: 1px solid #eee; 
    /*background-color: rgb(217, 237, 247);*/
    /*background-color: #eee;*/
    /*box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);*/
}

#top-bar .container {
    padding-top: 0px;
    vertical-align: bottom;
}

#status-bar {
    float: right;
    text-align: right;
}

#top-bar .dropdown {
    display: inline-block;
}

#top-bar .item {
    display: inline-block;
    vertical-align: bottom;
    padding: 6px 12px;
    border-radius: 0.4em;
    background-color: white;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
}

#top-bar .item i,
#top-bar .dropdown i {
    font-style: normal;
}

#top-bar a {
    text-decoration: none;
}

#top-bar .demo-note {
    color: darkgreen;
    line-height: 2em;
    font-weight: bold;
    font-family: Bitter, Cambria, Georgia, serif;
    font-size: 1.1em; 
}

#top-bar.demo-bar {
    background-color: rgb(248, 239, 192);
    border-bottom: none;
}
