/*
 Theme Name:   Twenty Fourteen Swift World
 Theme URI:    http://swiftworld.net
 Description:  Swift World Twenty Fourteen Theme
 Author:       Lee Qixian
 Author URI:   http://swiftworld.net
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyfourteen/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Centralize site */
.site {
margin: 0 auto;
}

/*Site Header*/
#site-header {
	position: relative;
	background: #f0f0f0;
	z-index: 3;
}

@media screen and (max-width: 640px){
	#sw-header-social {
	display: none;
}
}

@media screen and (min-width: 641px){
#sw-header-social {
	display: relative;
	float: right;
}

#sw-header-social img {
	-webkit-transition: -webkit-filter 1s;
}

#sw-header-social img:hover {
	-webkit-filter: grayscale(100%);
}
}
/*End of Site Header*/

/*Extend witdth*/
.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
	margin: 0 auto;
	max-width: 672px; /*474px */
}

.comments-area {
		max-width: 672px;
        }
.post-navigation, .image-navigation {
		max-width: 672px;
        }
.site-content .entry-header {
	max-width: 672px;
	margin-top: -48px;
	padding-top: 24px;
}

.post-thumbnail {
	max-width: 600px;
	margin: 0 auto;
}
@media screen and (max-width: 400px){
.sw-video {
	display: none;
	}
}
@media screen and (min-width: 401px){
.sw-video {
	display: relative;
	}
}
.sw-video {
	margin: 0 auto;
	max-width: 600px;
}

/*END OF Extend witdth*/

.site:before {
	background: #fff;
}

#secondary{
	margin-top: 48px;
}

/*Google Search*/
#search-box-inner {
	float: right;
}


/*Color Scheme
	/*General*/	
body {
	background: #f0f0f0;
}

::selection {
	background: #F06F44;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #F06F44;
	color: #fff;
	text-shadow: none;
}

a {
	color: #F06F44;
	text-decoration: none;
}

a:active,
a:hover {
	color: #FD7548;
}
	/*END OF General*/

	/*Top Floating Bar*/
.header-main,
.site-header {
	background: #7F909A;
}
.masthead-fixed .site-header {
	position: fixed;
	top: 0;
}
.search-toggle {
	background: #ed6639;
}

.search-toggle:hover,
.search-toggle.active {
	background-color: #F06F44;
}

.search-box {
	background-color: #F06F44;
}

.primary-navigation ul ul {
	background-color: #7F909A;
}

.primary-navigation li:hover > a,
.primary-navigation li.focus > a {
	background-color: #F06F44;
	color: #000;
}

.primary-navigation ul ul a:hover,
.primary-navigation ul ul li.focus > a {
	background-color: #F06F44;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #000000;
	font-weight: 900;
}
	/*END OF Top Floating Bar*/
	/*Featured Panel*/
.featured-content {
	background: #4D505B;
	padding-left: 0;
	z-index:3;
}

.featured-content a:hover {
	color: #F06F44;
}

.featured-content .entry-header{
	background: #CF4858;
}

.featured-content .entry-header:hover{
	background: #3E4049;
}

.grid .featured-content .entry-header {
	border-color: #4D505B;
	border-style: solid;
	border-width: 0 0 5px 0;
	height: 96px;
	padding: 13px 5px 8px 5px;
}
	/*END OF Featured Panel*/
	/*Secondary Sidebar (Left)*/
.primary-sidebar .widget a{
	color: #000;
}
.primary-sidebar .widget a:hover {
	color: #F06F44;
}
.primary-sidebar .widget pre,
.primary-sidebar .widget fieldset {
	border-color: rgba(0, 0, 0, 0.2);
}
.primary-sidebar .widget blockquote {
	color: rgba(0, 0, 0, 0.7);
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 18px;
}
.primary-sidebar .widget blockquote cite {
	color: #000;
	font-size: 14px;
	line-height: 1.2857142857;
}
.primary-sidebar .widget table,
.primary-sidebar .widget th,
.primary-sidebar .widget td {
	border-color: rgba(0, 0, 0, 0.2);
}

.primary-sidebar .widget table {
	margin-bottom: 18px;
}

.primary-sidebar .widget del {
	color: rgba(0, 0, 0, 0.4);
}

.primary-sidebar .widget hr {
	background-color: rgba(0, 0, 0, 0.2);
}
.primary-sidebar .widget input,
.primary-sidebar .widget textarea {
	background-color: rgba(0, 0, 0, 0.1);
	border-color: rgba(0, 0, 0, 0.2);
	color: #000;
	font-size: 16px;
	padding: 1px 2px 2px 4px;
}

.primary-sidebar .widget input:focus,
.primary-sidebar .widget textarea:focus {
	border-color: rgba(0, 0, 0, 0.3);
}

.primary-sidebar .widget button,
.primary-sidebar .widget input[type="button"],
.primary-sidebar .widget input[type="reset"],
.primary-sidebar .widget input[type="submit"] {
	background-color: #F06F44;
	border: 0;
	font-size: 12px;
	padding: 5px 15px 4px;
}

.primary-sidebar .widget input[type="button"]:hover,
.primary-sidebar .widget input[type="button"]:focus,
.primary-sidebar .widget input[type="reset"]:hover,
.primary-sidebar .widget input[type="reset"]:focus,
.primary-sidebar .widget input[type="submit"]:hover,
.primary-sidebar .widget input[type="submit"]:focus {
	background-color: #D97533;
}

.primary-sidebar .widget input[type="button"]:active,
.primary-sidebar .widget input[type="reset"]:active,
.primary-sidebar .widget input[type="submit"]:active {
	background-color: #F8A13A;
}

.primary-sidebar .widget .wp-caption {
	color: rgba(0, 0, 0, 0.7);
	margin-bottom: 18px;
}
.primary-sidebar .widget-title,
.primary-sidebar .widget-title a {
	color: #000;
}

.primary-sidebar .widget-title a:hover {
	color: #F06F44;
}
.primary-sidebar .widget_calendar caption {
	color: #000;
	font-weight: 700;
	line-height: 1.7142857142;
	margin-bottom: 18px;
	text-align: left;
	text-transform: uppercase;
}
.primary-sidebar .widget_calendar thead th {
	background-color: rgba(0, 0, 0, 0.1);
}

.primary-sidebar .widget_calendar tbody a {
	background-color: #F06F44;
	color: #000;
	display: block;
}

.primary-sidebar .widget_calendar tbody a:hover {
	background-color: #D97533;
}

.primary-sidebar .widget_calendar tbody a:hover {
	color: #000;
}
.primary-sidebar .widget_twentyfourteen_ephemera > ol > li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 0;
}
.primary-sidebar .widget_twentyfourteen_ephemera .entry-meta a {
	color: rgba(0, 0, 0, 0.7);
}

.primary-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #F06F44;
}
.primary-sidebar .widget_archive li,
.primary-sidebar .widget_categories li,
.primary-sidebar .widget_links li,
.primary-sidebar .widget_meta li,
.primary-sidebar .widget_nav_menu li,
.primary-sidebar .widget_pages li,
.primary-sidebar .widget_recent_comments li,
.primary-sidebar .widget_recent_entries li {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	padding: 8px 0 9px;
}
.primary-sidebar .widget_categories li ul,
.primary-sidebar .widget_nav_menu li ul,
.primary-sidebar .widget_pages li ul {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	margin-top: 9px;
}

#secondary {
	display:none;
}

@media screen and (min-width: 1008px){
	#secondary {
		display:block;
	}
}
	/*END OF Secondary Sidebar (Left)*/
	/*Content Sidebar (Right)*/
.content-sidebar .widget a {
	color: #F06F44;
}

.content-sidebar .widget a:hover {
	color: #FD7548;
}
.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"] {
	background-color: #F06F44;
	border: 0;
	color: #fff;
}

.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus {
	background-color: #FD7548;
}

.content-sidebar .widget input[type="button"]:active,
.content-sidebar .widget input[type="reset"]:active,
.content-sidebar .widget input[type="submit"]:active {
	background-color: #D6633D;
}
.content-sidebar .widget .widget-title a:hover {
	color: #FD7548;
}
.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #FD7548;
}
	/*END OF Content Sidebar (Right)*/
	/*Footer*/
.site-footer {
	background-color: #3E4049;
	font-size: 12px;
	position: relative;
	z-index: 3;
}
.site-footer .widget a:hover{
	color: #F06F44;
}
.site-info a:hover {
	color: #F06F44;
}
	/*END OF Footer*/
	/*Paging Navigation*/
.paging-navigation .page-numbers.current {
	border-top: 5px solid #F06F44;
}
.post-navigation a:hover,
.image-navigation a:hover {
	color: #F06F44;
}
.paging-navigation a:hover {
	border-top: 5px solid #F06F44;
	color: #2b2b2b;
}
	/*END OF Paging Navigation*/
	
	/*Comments*/
.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #F06F44;
}
.comment-reply-title small a:hover {
	color: #F06F44;
}
	/*Buttons*/
button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #F06F44;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 30px 11px;
	text-transform: uppercase;
	vertical-align: bottom;
}
button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #FD7548;
	color: #fff;
}
button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #D6633D;
}
	/*END OF Buttons*/
	/*Standard Content*/
.entry-meta a:hover {
	color: #F06F44;
}
.cat-links a:hover {
	color: #F06F44;
}
.entry-meta .tag-links a:hover {
	background-color: #F06F44;
	color: #fff;
}
.entry-meta .tag-links a:hover:before {
	border-right-color: #F06F44;
}
.entry-content .edit-link a:hover {
	color: #F06F44;
}
.page-links a:hover {
	background: #F06F44;
	border: 1px solid #F06F44;
	color: #fff;
}
.entry-title a:hover {
	color: #FD7548;
}

/*Related Posts Styling YARPP*/
.yarpp-related {
margin: 0 auto;
max-width: 600px;
}

div.related-posts {
clear:both;
text-align:center;
margin:10px auto;
padding:0;
max-width: 600px;
}

div.related-posts li {
width:150px;
height: 150px;
display:inline-block;
margin: 5px 15px;
font-size:12px;
padding:0;
float: left;

}

div.related-posts img {
clear:both;
background:#F7F7F7;
border:1px solid #DDD;
padding:5px;
}

div.related-posts a {
clear:both;
display:block;
border:none;
text-decoration:none;
}

/*SW Edited Widebar Widget*/
.sw_widget_twentyfourteen_ephemera .widget-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	text-decoration: inherit;
	vertical-align: text-bottom;
}
.sw_widget_twentyfourteen_ephemera .entry-title:after {
	content: "\0020\007c\0020";
}
.sw_widget_twentyfourteen_ephemera > ol > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 18px;
	padding: 0;
}

.sw_widget_twentyfourteen_ephemera .hentry {
	margin: 0;
	max-width: 100%;
}

.sw_widget_twentyfourteen_ephemera .entry-title,
.sw_widget_twentyfourteen_ephemera .entry-meta,
.sw_widget_twentyfourteen_ephemera .wp-caption-text,
.sw_widget_twentyfourteen_ephemera .post-format-archive-link,
.sw_widget_twentyfourteen_ephemera .entry-content table {
	font-size: 12px;
	line-height: 1.5;
}

.sw_widget_twentyfourteen_ephemera .entry-title {
	display: inline;
	font-weight: 400;
}

.sw_widget_twentyfourteen_ephemera .entry-meta {
	margin-bottom: 18px;
}

.sw_widget_twentyfourteen_ephemera .entry-meta a {
	color: rgba(255, 255, 255, 0.7);
}

.sw_widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #F06F44;
}

.sw_widget_twentyfourteen_ephemera .entry-content ul,
.sw_widget_twentyfourteen_ephemera .entry-content ol {
	margin: 0 0 18px 20px;
}

.sw_widget_twentyfourteen_ephemera .entry-content ul {
	list-style: disc;
}

.sw_widget_twentyfourteen_ephemera .entry-content ol {
	list-style: decimal;
}

.sw_widget_twentyfourteen_ephemera .entry-content li > ul,
.sw_widget_twentyfourteen_ephemera .entry-content li > ol {
	margin: 0 0 0 20px;
}

.sw_widget_twentyfourteen_ephemera .entry-content th,
.sw_widget_twentyfourteen_ephemera .entry-content td {
	padding: 6px;
}

.sw_widget_twentyfourteen_ephemera .post-format-archive-link {
	font-weight: 700;
	text-transform: uppercase;
}
.content-sidebar .sw_widget_twentyfourteen_ephemera .widget-title {
	line-height: 1.2857142857;
	padding-top: 1px;
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .widget-title:before {
	background-color: #000;
	color: #fff;
	margin: -1px 9px 0 0;
	padding: 6px 0 9px;
	text-align: center;
	vertical-align: middle;
	width: 36px;
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .video.widget-title:before {
	content: "\f104";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .audio.widget-title:before {
	content: "\f109";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .image.widget-title:before {
	content: "\f473";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .gallery.widget-title:before {
	content: "\f103";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .aside.widget-title:before {
	content: "\f101";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .quote.widget-title:before {
	content: "\f106";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .link.widget-title:before {
	content: "\f107";
}

.content-sidebar .sw_widget_twentyfourteen_ephemera > ol > li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .entry-meta {
	color: #ccc;
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .entry-meta a {
	color: #767676;
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #F06F44;
}

.content-sidebar.sw_widget_twentyfourteen_ephemera blockquote cite {
	font-size: 13px;
	line-height: 1.3846153846;
}

.content-sidebar .sw_widget_twentyfourteen_ephemera .post-format-archive-link {
	font-weight: 900;
}

@media screen and (max-width: 400px) {
	.list-view .site-content .entry-header {
		background-color: transparent;
		margin: 0;
		padding: 0;
	}
}
