/*
Theme Name: Zacharias
Theme URI: http://www.daniel-nordh.com/
Description:
Version: 1.8
Author: Daniel Nordh
Author URI: nordh.d@gmail.com
Tags:
*/

@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,300,100,700);

*{
	font-family: 'Roboto Slab', serif;
}



blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */

table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

#nav .gen-top-menu-item {
    width: 20% !important;
}

#nav > ul > li > a {
    padding: 0 10px !important;
}


/* =Content
-------------------------------------------------------------- */

.entry-meta {
	color: #888;
	font-size: 12px;
}
.entry-meta abbr, .entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover, .entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content, .entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file, .entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup, .entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a, .entry-utility a {
	color: #888;
}
.entry-meta a:hover, .entry-utility a:hover {
	color: #ff4b33;
}
#content .video-player {
	padding: 0;
}

span.logo {
	position: relative;
}

span.after-logo {
	font-size: 26px !important;
	position: absolute;
	top: 0;
	margin-right: 0;
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/

img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft, img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright, img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter, img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft, img.alignright, img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* =Navigation
-------------------------------------------------------------- */

#nav .gen-top-menu-item a, #nav .gen-bottom-menu-item a  {
    font-size: 14px !important;
}

.navigation {
	float:left;
	color: #555;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link, .navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active, .navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above, .single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}




/* =WPML

-------------------------------------------------------------- */

li.icl-zh-hans img,
li.icl-zh-hant img  {
	display: none;
}

li.icl-zh-hans a,
li.icl-zh-hant a {
	font-size: 18px !important;
}

li.icl-zh-hans a:after {
	content: "简体";
	color: white;
}

li.icl-zh-hant a:after {
	content: "繁体";
	color: white;
}

li.icl-zh-hant a {
	padding-right: 10px;
}






/* =Comments
-------------------------------------------------------------- */

#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title, h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	padding:0px;
	list-style: none;
	margin: 0;
}
.commentlist li.comment{
  	background: none repeat scroll 0 0 #EEEEEE;
    float: left;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 24px;
    padding: 10px 2%;
    position: relative;
    width: 96%;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.commentlist p {
	color:#555;
	line-height:20px;
	font-size:14px;
	float:left;
	width:100%;
}
#comments .comment-body ul, #comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	float:left
}
.comment-author {
}
.comment-author cite {
	color: #252525;
	font-style: normal;
	float:left;
	font-size:18px;
	line-height:20px;
	padding:0 6px 0 10px;
	font-weight: bold;
}
.comment-author cite a {
	color: #252525;
}
.comment-author .says {
	line-height:28px;
	font-style: italic;
	display:none;
}
.comment-meta {
	font-size: 14px;
	float:left;
	width:92%;
	border-bottom:1px solid #c7c7c7;
	color:#000;
	padding:0 0 5px 0;
	margin-left:10px;
}
.comment-meta a:link, .comment-meta a:visited {
	color: #555;
	font-size:14px;
	text-decoration: none;
}
.comment-meta a:active, .comment-meta a:hover {
	color: #000;
	text-decoration:none;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
	float:right;
}
/*.reply a, a.comment-edit-link {
	color: #111;
	padding:0 0 2px;
	text-shadow:0px 0 1px #909090;
	border-bottom:1px solid #4c4c4c;
}
.reply a:hover, a.comment-edit-link:hover {
	color: #111;
	text-decoration:none;
}
*/
.commentlist .children {
	list-style: none;
	margin: 0;
	padding:0px 2% 15px;
	float:right;
	width:96%;
}
.commentlist .children li {
	background:#fff;
	border:1px solid #e1e1e1;
}
.commentlist .children li .comment-meta {
	width:93%;
	}
.nopassword, .nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}
/* Comments form */

input[type=submit] {
	background: none repeat scroll 0 0 #000000;
	border: medium none;
	border-radius: 3px;
	color: #FFFFFF;
	cursor: pointer;
	float: left;
	font-size: 18px;
	outline: medium none;
	padding: 8px 30px;
	text-align: center;
}
.gform_wrapper img.gform_ajax_spinner {
	border: none;
	padding: 0 0 0 10px;
}
input[type=submit] {
	background: none repeat scroll 0 0 #E5E3E4;
	color: #000000;
}
#respond {
	float:left;
	width:100%;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
	color: #555555;
	float: left;
	font-size: 14px;
	line-height: 18px;
	margin: 0 0 5px 0;
	width: 100%;
}
#respond input[type=submit] {
	background: none repeat scroll 0 0 #E5E3E4;
	color:#000;
	width:auto;
	padding: 5px 20px;
}
#respond input[type=submit]:hover{
	background:#000;
	color:#fff;
	}
#respond input{
	background: none repeat scroll 0 0 #fff;
	border: 1px solid #CCCCCC;
	float: left;
	font-size: 14px;
	line-height: 30px;
	margin:0 2% 10px 0;
	outline: medium none;
	color:#333;
	width:29.6%;
	padding:10px 1%;
}
#respond #url{
	margin:0px;
}
#respond textarea {
	width:94%;
	font-size: 14px;
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #CCCCCC;
	float: left;
	line-height: 18px;
	margin: 0 0 20px;
	min-height: 170px;
	padding: 10px 2%;
	width:96%;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0 0 18px 0;
}
.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link, .widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active, .widget-area a:hover {
	text-decoration: underline;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #847f7f;
	font-size: 12px;
	text-align:center;
	font-weight: bold;
	text-transform:uppercase;
	padding-bottom: 4px;
	margin:4px 0;
	font-family:sans-serif;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
	background:#f6f6f6;
	color:#bbbbbb;
	font-family:sans-serif;
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 5px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
	font-size:12px;
	font-family:'Lucida Grande';
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}
/* Main sidebars */

#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}
#primary {
}
#secondary {
}
/* Footer widget areas */

#footer-widget-area {
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
	border-top: 4px solid #000;
	margin-top: -4px;
	overflow: hidden;
	padding: 18px 0;
}
#site-info {
	font-weight: bold;
}
#site-info a {
	color: #000;
	text-decoration: none;
}
#site-generator {
	font-style: italic;
	position: relative;
}
#site-generator a {
	background: url(images/wordpress.png) center left no-repeat;
	color: #666;
	display: inline-block;
	line-height: 16px;
	padding-left: 20px;
	text-decoration: none;
}
#site-generator a:hover {
	text-decoration: underline;
}
img#wpstats {
	display: block;
	margin: 0 auto 10px;
}



/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access, .entry-meta, .entry-utility, .navigation, .widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {
body {
	background: none !important;
}
#wrapper {
	clear: both !important;
	display: block !important;
	float: none !important;
	position: relative !important;
}
#header {
	border-bottom: 2pt solid #000;
	padding-bottom: 18pt;
}
#colophon {
	border-top: 2pt solid #000;
}
#site-title, #site-description {
	float: none;
	line-height: 1.4em;
	margin: 0;
	padding: 0;
}
#site-title {
	font-size: 13pt;
}
.entry-content {
	font-size: 14pt;
	line-height: 1.6em;
}
.entry-title {
	font-size: 21pt;
}
#access, #branding img, #respond, .comment-edit-link, .edit-link, .navigation, .page-link, .widget-area {
	display: none !important;
}
#container, #header, #footer {
	margin: 0;
	width: 100%;
}
#content, .one-column #content {
	margin: 24pt 0 0;
	width: 100%;
}
.wp-caption p {
	font-size: 11pt;
}
#site-info, #site-generator {
	float: none;
	width: auto;
}
#colophon {
	width: auto;
}
img#wpstats {
	display: none;
}
#site-generator a {
	margin: 0;
	padding: 0;
}
#entry-author-info {
	border: 1px solid #e7e7e7;
}
#main {
	display: inline;
}
.home .sticky {
	border: none;
}
}

#nav .gen-top-menu-item {
	width: 28%;
	text-align: center;
	margin: 0!important;
}

#nav .gen-bottom-menu-item {
    width: 16.666%;
    margin: 0!important;
    text-align: center;
}

#nav .gen-bottom-menu-item.gen-contact {
	width: 17.666%;
}

#nav .gen-bottom-menu-item.faq-menu-item {
	width: 15.666%;
}

#nav .gen-top-menu-item:first-child {
	width: 15%;
}

.logo_font p.gen-uppercase {
    text-transform: uppercase!important;
    font-family: 'Roboto Slab', serif!important;
    color: #7f1a1a!important;
    letter-spacing: 3px!important;
    font-size: 30px!important;
    font-weight: normal!important;
}

.logo_txtimage2.gen-logo-text {
    margin: 40px 0 32px 28px!important;
}

@media only screen and (min-width: 981px) {
#nav > ul > li > a {
    font-size: 14px !important;
}
}

@media only screen and (max-width: 1000px) {
.menubox {
    width: 86.7%!important;
}

@media only screen and (max-width: 980px) {
	.menubox {
		width: 100%!important;
	}

}

@media only screen and (max-width: 800px) {
	#nav .gen-bottom-menu-item, #nav .gen-top-menu-item {
		text-align: left;
	}
}
