
hr {
  margin: 12px 0;
}
.btn.read-more {
  background: #485b67;
  color: #fff;
  font-size: 13px;
  text-shadow: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 9px 38px;
}
.btn:hover {
  background: #3d927b;
  color: #fff;
  border: none;
}
.red-button {
  background: #c62e1a !important;
  box-shadow: 0 1px 1px rgba(225,225,225,0.2);
}
.red-button:hover, 
.red-button:focus {
  background: #b92815 !important;
  box-shadow: 0 1px 3px rgba(225,225,225,0.5);
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
  border-color: #ccc;
  box-shadow: none;
}
.content {
  padding: 0;
}
.green {
  color: #3d927b;
}
.red {
  color: #c62e1a;
}
.bordered {
  color: #aaa;
  line-height: 20px;
  border: 1px solid #ddd;
  padding: 9px 16px;
  display: inline-block;
}
.bordered:hover {
  background: #fff;
}
.bordered i {
  height: 20px;
  font-size: 20px;
  line-height: 20px;
  vertical-align: middle;
  display: inline-block;
}
.counter-box {
  margin-left: 16px;
  position: relative;
}
.pointy {
  background: url(../images/pointy.png) no-repeat right center;
  width: 10px;
  height: 19px;
  position: absolute;
  left: -10px;
  top: 50%;
  margin-top: -10px;
}

/* Overview page */

.container-fluid {
  padding: 0;
}
.post-list-header, 
.post-list-container, 
.post-list-footer {
  padding: 38px 5%;
}

.post-list-footer {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  margin-top: -10px;
  padding: 32px 38px;
}

/* Overview header */

.post-list-header {
  background: #f9f9f9;
  border-bottom: 1px solid #dddddd;
  padding-top: 33px;
  padding-bottom: 20px;
}
#blog_select span {
  color: #777777;
  line-height: 37px;
}
.category-name h1 {
  color: #485b67;
  line-height: 39px;
  margin-bottom: 0;
}

/* Select */

div.styled {
  width: 60%;
  height: 39px;
  margin: 0;
  padding: 0;
  float: right;
  position: relative;
  /*overflow: hidden;*/
}
.ie7 div.styled { 
  border: none;
}
div.styled select {	
  width: 100%; 
  background-color: transparent; 
  background-image: none;
  -webkit-appearance: none; 
  border: none; 
  box-shadow: none;
  padding: 0.4em 0 0.45em 2%;
}
.ie7 div.styled select {
  width: 100%; 
  background-color: #fff; 
  border: solid 1px #ccc; 
  padding: 0.3em 0.5em;
}	
.styledSelect {
  width: 100%;
  /*height: 100%;*/
  border: 1px solid #ccc;
  min-height: 37px;
  position: relative;
  z-index: 5;
  margin-left: -1px;
}
.styledSelect ul {
  margin: 0;
}
.styledSelect ul li {
  height: 37px;
  color: #aaaaaa;
  font-size: 13px;
  font-family: Arial;
  line-height: 36px;
  list-style-type: none;
  padding: 0 8%;
  cursor: pointer;
}
.styledSelect ul li.selected {
  background: #f8f8f8;
}
.styledSelect.open {
  background: #fff;
  position: absolute;
  top: 0;
  right: -1px;
  /*border: 1px solid #ddd;*/
  z-index: 3;
} 
.styledSelect.open ul li {
  color: #aaaaaa;
  font-size: 13px;
  height: 37px;
  line-height: 36px;
}
.styledSelect.open ul li:hover {
  background: #f3f3f3;
}

.add-on {
  background: none !important;
  height: 37px !important;
  color: #aaaaaa;
  font-size: 18px !important;
  line-height: 37px !important;
  border: none !important;
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 4;
  padding: 0px 13px !important;
  display: inline-block !important;
  cursor: pointer;
}

.blog_select_text {
  width: 35%;
  color: #aaaaaa;
  font-size: 13px;
  text-align: right;
  line-height: 39px;
  padding-right: 5%;
  float: left;
}

/* Overview content */



/* Post header */

.post-header {
  color: #aaaaaa;
}
.post-header h1 {
  margin-bottom: 5px;
}

/* Post footer */

.post-footer {
  padding: 10px 0 25px 0;
}
.post-footer a {
  float: left;
}
.post-footer .bordered {
  color: #485b67;
}
.comments-box, 
.files-box {
  margin-left: 25px;
  float: left;
}
.post-footer .bordered {
  float: left;
}
.icon-paper-clip {
  transform: rotate(135deg);
}
.separator {
  width: 100%;
  margin-bottom: 15px;
  display: block;
}

@media screen and (max-width: 640px) {
  .post-footer .btn.read-more {
    width: 86%;
    padding: 9px 7%;
    margin-bottom: 10px;
  }
  .comments-box {
    margin-left: 0;
  }
  .post-footer .bordered {
    padding: 9px 12px;
  }
  .files-box {
    margin-left: 0;
    float: right;
  }
}

/* Overview right boxes */

.gray-box {
  padding: 38px 35px;
}
.gray-box h1 {
  margin-bottom: 20px;
}
.nav-list {
  padding: 0;
  margin-bottom: 5px;
}
.nav-list > li {
  margin-bottom: 1px;
}
.nav-list > li > a, 
.nav-list .nav-header {
  color: #fff;
  line-height: 23px;
  text-shadow: none;
  padding: 6px 20px;
}
.nav-list > li > a.active {
  background: #5c6d78;
}
.nav-list > li > a:hover {
  background: #99a6ae;
}
.nav-list [class^="icon-"], 
.nav-list [class*=" icon-"] {
  font-size: 10px;
  margin-right: 17px;
  vertical-align: top;
}
.counter {
  background: #282e33;
  width: 35px;
  height: 23px;
  text-align: center;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  float: right;
  display: inline-block;
}

/* Search box */

.search-box {
  position: relative;
}
input.search-field {
  background: #5c6d78;
  width: 89%;
  height: 23px;
  color: #fff;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin: 0;
  padding: 8px 5.5%;
}
.italic {
  font-style: italic;
}
.search-trigger {
  background: #282e33;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 5px 5.5%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.search-trigger:hover {
  background: #3d927b;
  color: #fff;
}

.pagination {
  margin: 0;
}
.pagination ul > li:first-child > a, .pagination ul > li:first-child > span,
.pagination ul > li:last-child > a, .pagination ul > li:last-child > span {
  color: #485b67;
  border: 1px solid #ddd;
  border-radius: 0;
  margin-left: 5px;
}
.pagination ul > li > a:hover, .pagination ul > .active, .pagination ul > .active > span {
  background: #d9d9d9;
}

.badge {
  margin-left: 10px;
}
.badge i {
  margin: 0 0 0 3px;
}
#post_modal, 
#comment_modal {
  top: 9%;
  margin-top: 0;
  margin-left: -363px;
}

/* Files upload */

.add-attach-container {
  width: 23.5%;
}
.add_attachments {
  background-color: #eee;
  width: 30px;
  height: 30px;
  color: #ccc;
  font-size: 28px;
  text-align: center;
  border: 1px solid #ccc;
  padding: 37px;
  position: relative;
}
.fileinput-button input {
  width: 100%;
  height: 100%;
  transform: translate(0px, 0px) scale(1);
}
.uploaded-files {
  width: 76.5%;
}
.modal hr {
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 0;
}
.file {
  width: 50%;
  height: 37px;
  color: #63a391;
  line-height: 37px;
  float: left;
  overflow: hidden;
}
.file > div {
  background: url(../images/icons/file.png) no-repeat 4px 8px;
  padding-left: 33px;
}
.jpg, .jpeg, .jpe, .png, .bmp, .gif {
  background-image: url(../images/icons/jpg.png) !important;
}
.docx, .doc {
  background-image: url(../images/icons/docx.png) !important;
}
.pdf, .pdp {
  background-image: url(../images/icons/pdf.png) !important;
}

.remove-file {
  display: none;
  float: right;
  padding: 0 10px;
  cursor: pointer;
}
.file:hover .remove-file {
  display: inline-block;
}
.file .remove-file:hover {
  color: #c62e1a;
}

/* Editor style */

.mce-panel {
  background: #eee;
  font-size: 12px;
}
.mce-tinymce {
  width: 100%;
  border: 1px solid #ccc;
  margin-left: -1px;
}
.mce-btn button {
  padding: 4px 6px;
}
.mce-flow-layout-item {
  padding: 10px 0 10px 6px;
}
.mce-btn-group .mce-first, 
.mce-btn-group .mce-last, 
.mce-btn-group .mce-btn {
  border-color: rgba(0, 0, 0, 0.1);
}
.mce-container, .mce-container *, .mce-widget, .mce-widget *, 
.mce-btn button {
  font-size: 12px;
}
.mce-edit-area {
  min-height: 190px;
  border-top: none !important;
}
.mce-statusbar {
  display: none;
}

.integrated-comment {
  background: #eee;
  border-bottom: 1px solid #ddd;
  padding: 25px 6.5%;
}
.integrated-comment .comment-info {
  border-top: none;
}
.integrated-comment .author-img {
  border-top: 1px solid #ddd;
}
.integrated-comment .comment-post {
  color: #485b67;
}

/* End of Modals */


/* Detail view */

.post-detail-header, 
.post-detail-container, 
.post-detail-footer {
  padding: 28px 5%;
}

/* Detail header */

.post-detail-header {
  background: #f9f9f9;
  border-bottom: 1px solid #dddddd;
}
.category-name h1 {
  color: #485b67;
  line-height: 39px;
  margin-bottom: 0;
}

/* Comments */

.comments-container {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 30px 5%;
}
.comments-header {
  padding-bottom: 30px;
}
.comments-header h1 {
  line-height: 38px;
  margin-bottom: 0;
}
.comment {
  margin-bottom: 7px;
}
.comment-info {
  border-top: 1px solid #ddd;
  color: #aaa;
}
.author-info {
  padding: 8px 0;
}
.author-img {
  background: #fff;
  width: 45px;
  height: 45px;
  border: 1px solid #ddd;
  border-top: none;
  margin-right: 13px;
}
.comment-post {
  padding-top: 10px;
}
.comment-footer {
  margin-bottom: 10px;
  color: #aaa;
}
.comment .comment {
  padding-left: 30px;
  position: relative;
}
.expander {
  width: 30px;
  height: 46px;
  color: #485b67;
  font-size: 18px;
  line-height: 46px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}


/* Other */

.post-form {
  margin: 0;
}


/* Media queries */

@media (max-width: 724px) {
  .modal {
    width: 94%;
    left: 3%;
  }
}

.comment-modal-body {
  padding: 12px 6.5%;
}

#comment_modal .modal-body, #comment_edit_modal .modal-body {
  padding: 0;
}

.badge .edit_post_link {
  font-weight: normal;
  color: #fff;
}