/* =================================== UI */

/* remove inline auto-complete when inserting link */
.wplink-autocomplete { display:none !important; }

/* =========================== Categories */

.wps_forum_get_post {
	margin-bottom:15px;
	overflow:hidden;
}

.wps_summary_avatar {
    padding-top: 6px;
}

.wps_forum_get_highlight {
	font-weight: bold;
}

.wps_forum_get_date {
	font-size: 0.8em;
}

.wps_forum_get_author {
	font-size: 0.8em;	
}


/* =========================== [wps-forums] */


.wps_forum_featured_content {
    clear: both;
    margin-bottom: 0px;
}

.wps_forum_categories_item, .wps_forum_categories_header {
	overflow-x: auto;
	overflow-y: hidden;
}
.wps_forum_categories_item_sep {
    clear: both;
}

.wps_forum_categories_header {
	font-weight: bold;
	width: 100%;
}

.wps_forum_categories_name {
	margin-top: 20px;
}

.wps_forum_categories_name h2 a {
}

.wps_forum_categories_description {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
	float: left;
}

.wps_forum_categories_count {
	width: 10%;
	text-align:center;
	float: right;
}

.wps_forum_categories_last_poster {
	width: 15%;
	float: right;
}

.wps_forum_categories_freshness {
	float: right;
	width: 20%;
}

@media all and (max-width: 800px) {

	h2.wps_forum_post_title {
		margin-bottom: 0 !important;
	}

    .wps_forum_post_comment_author {
        display: none;
    }
    .wps_forum_post_comment {
        padding-left: 0 !important;
    }
    .wps_forum_post_comment_content {
        margin-left: 0 !important;
    }
    .wps_forum_post_subcomment {
        padding-left: 35px !important;
    }
    .wps_forum_post_comment_form_submit,
    .wps_forum_post_comment_div {
        margin-left: 35px !important;
    }
    .wps_author_meta_avatar_mobile {
        display: block !important;
        margin-right: 20px;
        float: left;
    }
    .wps_author_meta_avatar__display_name_mobile {
    	border: 1px solid red;
    	font-size: 1.0em !important;
    }
    .wps_author_meta_mobile {
        display:block !important;
        margin-bottom: 10px;
    }
    .wps_author_meta_mobile_display_name {
        margin-bottom: 6px;
    }
    .wps_author_meta_mobile_date {
    }
    
    .wps_forum_featured_image {
        display:none;
    }
    
    .wps_forum_featured_content {
        padding: 0 !important;
    }
    .wps_forum_featured_image  {
        margin: 0 !important;
    }

}

@media all and (max-width: 640px) {

    .wps_forum_posts_header,
    .wps_forum_last_poster,
    .wps_forum_freshness,
    .wps_forum_count {
        display: none;
    } 
    
    .wps_forum_title {
        width: 100% !important;
        max-width: 100% !important;
    }

}

/* =========================== Forum */

/* Header */

.wps_forum_posts_header {
    clear: both;
	margin-bottom:10px;
	overflow-x: auto;
	overflow-y: hidden;
}

.wps_forum_title_header {
	font-weight: bold;
	float: left;
    width: 30%;
}

.wps_forum_count_header {
	font-weight: bold;
	width: 10%;
	text-align:center;
	float: right;
}

.wps_forum_last_poster_header {
	font-weight: bold;
	width: 15%;
	float: right;	
}

.wps_forum_categories_freshness_header {
	font-weight: bold;
	width: 20%;
	float: right;	
}

.wps_private_post {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
	width: 100%;
	text-align: center;
    font-weight: bold;
}

/* Posts [wps-forum]*/

.wps_forum_posts {
	border-bottom: 1px solid #dfdfdf;
}

.wps_forum_post_sticky {
}

.wps_forum_post_unread {
	font-weight: bold;
}

.wps_forum_comment_private_msg {
	clear: both;
}

.wps_forum_post_commented:before {
	content: url('images/reply.png');
	margin-right: 5px;
}

.wps_forum_post, #wps_forum_edit_post {
	border-top: 1px solid #dfdfdf;
	padding-top: 4px;
	padding-bottom: 4px;
	overflow-y: auto;
    overflow-x: hidden;
	clear: both;
}

.wps_forum_last_poster {
	width: 15%;
	float: right;
    white-space: nowrap;
    overflow: hidden;
}

.wps_forum_freshness {
	float: right;
	width: 20%;
    padding-left: 4px;
}

.wps_forum_title {
	float: left;
	max-width: 50%;
}

.wps_forum_count {
	width: 10%;
	text-align:center;
	float: right;
}

/* Post */

/* Hide this until needed */
.wps_author_meta_mobile,
.wps_author_meta_avatar_mobile {
    display:none;
    font-size: 1.4em;
}

.wps_forum_item_content,
.wps_forum_item_content_comment,
.wps_forum_item_content_subcomment {
    float:left;
    width: 100%;
}
.wps_forum_item_content {
	padding-right: 25px;
}

.wps_forum_post_comment, .wps_forum_post_comment_pending {
	width: 100%;
	clear: both;
	overflow: auto;
	border-bottom: 1px solid #dfdfdf;
	padding-top: 10px;
	padding-bottom: 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

.wps_forum_post_comment_author {
	text-align: center;
	float: left;
}

.wps_forum_post_comment_content {
	position: relative;
	margin-left: 40px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

/* Add Post */

#wps_forum_post_form {
}

#wps_forum_choose_label {
}
.select2-chosen {
	min-width:200px;
} 
#wps_forum_post_choose_post_div {
	clear:both;
	margin-bottom:15px;
}

#wps_forum_post_content_label {
	float: left;
}
#wps_forum_post_div {
	overflow-y: auto;
    overflow-x: hidden;
	margin-bottom:20px;
}
#wps_forum_post_title, #wps_forum_post_edit_title {
	width:100%;
	margin-bottom: 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}
#wps_forum_post_textarea, #wps_forum_post_edit_textarea, #wps_forum_comment_edit_textarea {
	clear: both;
	width:100%;
	height: 200px;
	margin-bottom:10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}
#wps_forum_post_button {
	margin: 15px 10px 10px 0;
	float:left;
}

#wps_forum_post_comments {
	margin-bottom: 20px;
}

.redactor_box {
    margin-bottom: 15px;
}

/* Add Comment */

#wps_forum_comment_form {
}

#wps_forum_comment_div {
	/* overflow:auto; */
	margin-bottom:20px;
}
#wps_forum_comment_title {
	width:100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}
#wps_forum_comment {
	clear: both;
	width:100%;
	height: 200px;
	margin-bottom:10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}
#wps_forum_comment_button {
	margin: 10px 10px 10px 0;
	float:left;
}
#wps_post_forum_slug_div {
	clear: both;
	float: right;
}
#wps_close_post_div {
	clear:both;
	margin-top: 10px;
}
#wps_forum_post_closed {
	margin-bottom:20px;
}
#wps_forum_comment_reopen_button {
	margin-bottom:20px;
}

/* Edit Post/Comment */

#wps_forum_post_edit_button, #wps_forum_comment_edit_button, #wps_forum_comment_delete_button {
	float: left;
	margin-right: 5px;
}

/* Pagination */
#wps_forum_pagination_posts_top {
	width: 100%;
	overflow: auto;
	text-align: right;
	margin-bottom: 15px;
}
#wps_forum_pagination_posts_bottom {
	width: 100%;
	overflow: auto;
	text-align: right;
	margin-top: 15px;
}
#wps_forum_pagination_above {
	width: 100%;
	overflow: auto;
	text-align: right;
}
#wps_forum_pagination_top, #wps_forum_pagination_bottom {
	width: 100%;
	text-align: right;
	overflow:auto;
	margin-top: 10px;
	margin-bottom: 10px;
}
.wps_pagination_numbers {
	float:right;
}
.wps_pagination_number {
	float: left;
	padding:4px;
	margin-left: 4px;
	min-width: 18px;
	text-align:center;
	background-color: #efefef;
	border: 1px solid transparent;
}
.wps_pagination_number a,
.wps_pagination_number_current a {
	color: #000;
}
.wps_pagination_number:hover {
	border: 1px solid #afafaf;
}
.wps_pagination_number_current {
	background-color: #afafaf;	
}
.wps_pagination_number_dots {
	float: left;
	padding:4px;
	margin-left: 4px;
	min-width: 18px;
	text-align:center;
}

/* Forum Settings */

.wps_forum_settings {
	z-index: 100;
	cursor:pointer;
	position:absolute;
	top:0;
	right:0;
	float: right;
	width:25px;
	height:20px;
}
.wps_forum_settings img {
	position: absolute;
	top: 0;
	right: 0;
}

.wps_forum_settings_options {
	z-index: 101;
	display:none;
	position:absolute;
	top:0px;
	right:0px;
	font-size: 10px;
	padding: 5px 10px 5px 10px;
	text-align:center;
	border:1px solid #666 !important;
	background-color:#fff !important;
	color: #666 !important;
}
.wps_forum_settings_options a {
	color: #666 !important;
}
.wps_forum_settings_options a:hover {
	color: #000 !important;
}

/* Search Results */

.wps_forum_search_snippet {
	overflow: hidden;
}

/* Reply comments */

.wps_forum_post_subcomments {
    clear: both;
	overflow: auto;
	margin-top: 20px;
}

.wps_forum_post_comment_form {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
	width: 100%;	
}

.wps_forum_post_comment_form_submit {
    margin-top: 6px;
	margin-left: 0;
}

.wps_forum_post_subcomment {
	width: 100%;
    overflow: auto;
    margin-bottom: 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

/* [wps-forum-children] */

.wps_forum_child {
    margin-top: 12px;
    clear: both;
}
#wps_forum_children_div {
	width: 100%;
}
.wps_forum_children_info {
	margin-bottom: 0px;
	width: 100%;
	overflow: auto;
}
.wps_forum_children_description {
	margin-bottom: 0px;
}

.wps_forum_categories_items {
	overflow: auto;
	margin-bottom: 20px;
}

.wps_forum_showing_children {
	margin-bottom: 20px;
}

/* Show Posts */

.wps_summary_snippet {
    font-style: italic;
}

/* Alternative layouts [classic] */

.wps_forum_post_classic {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
    clear:both;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #cfcfcf;
    padding: 10px 0 20px 0;
    /* my css ;) 
    padding: 10px;
    border-bottom: 2px solid #aaa;
    background-color: #efefef;    
    */
    
}

.wps_forum_title_classic_content_avatar {
    float: left;
}

.wps_forum_title_classic_content_title {
    font-size: 2em;
    line-height: 1.3em;
    margin-bottom: 0.6em;
}
.wps_forum_title_classic_content_title a {
    text-decoration: none;
}

.wps_forum_title_classic_content {
    padding-left: 10px;
    width: 75%;
}

.wps_forum_count_classic {
    float:right;
    font-size: 2em;
    width: 10%;
    text-align: center;
}
.wps_forum_count_classic_label {
    font-size: 0.35em;
    clear: both;
    margin-top: 0.25em;
}

.wps_forum_post_classic_commented:before {
	content: url('images/reply.png');
    margin-right: 5px;
}

.wps_forum_post_classic_comment_avatar {
    float: left;
}

.wps_forum_post_classic_comments {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
    margin-top: 10px;
}

.wps_forum_post_classic_comment_content {
    padding-left: 10px;
}

/* For new highlight */
.wps_forum_new_post_label {
}
.wps_forum_post_new_show_posts {
    background-color: lightgoldenrodyellow;
}
.wps_forum_post_new_show_posts_reply_or_comment {
    background-color: lightgoldenrodyellow;
}
.wps_forum_post_new_classic {
    background-color: lightgoldenrodyellow;
    padding-left: 10px;
}
.wps_forum_reply_new_classic {
    background-color: lightgoldenrodyellow;
    padding-top: 5px;
}
.wps_forum_post_new_table {
    background-color: lightgoldenrodyellow;
}
.wps_forum_post_new {
    background-color: lightgoldenrodyellow;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.wps_forum_post_new_reply {
    background-color: lightgoldenrodyellow;
    padding-right: 10px;
}
.wps_forum_post_new_comment {
    background-color: lightgoldenrodyellow;
    padding-top: 10px;
    padding-right: 10px;
}
.wps_forum_new_label {
    font-size: 0.8em;
    color: indianred;
}

/* wps-forum-show-posts */

.wps_forum_post_show_posts {
	margin-top:20px !important;
}

@media all and (max-width: 640px) {

    .wps_forum_count_classic {
        display: none;
    }
    
    .wps_forum_title_classic_content {
        padding-left: 10px;
        width: 100%;
    } 
    
    .wps_forum_title_classic_content_avatar {
        display: none;
    }
    
    .wps_forum_title_classic_content_row {
        padding-left: 0 !important;
    }
    
}
