/*
  Theme Name:   Masonic Child
  Template:     masonic
*/

/* IMPORT FULL STYLES*/
@import '/css/global.css';

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


.the_page {
	padding-bottom: 40px;
}

.page-poster.mag-poster {
	border: none;
}
.page-poster.mag-poster h1 {
	margin: 0;
	padding: 16px;
	color: #126080;
	background: #cceaf6;

}

/*search*/

#masonic-toggle {
	display:none;
	position: absolute;
	opacity: 0;
}
#masonic-toggle-label {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: none;
	height: 50px;
	left: 21px;
	position: relative;
	top: 8px;
	width: 50px;
	z-index: 9999;
}/*
.masonic-search {
	border: 1px solid #f2f2f2;
}*/
.sb-search-res {
	display: none;
}


.masonic-search-toggle .masonic-search {
	/*border-bottom: 1px solid #333;*/
	margin: 30px auto 0;
	width: 85%;
	z-index: 999;
}
.masonic-search > input {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: medium none;
	color: #ccc;
	font-size: 18px;
}
#masthead .masonic-search > input {
	font-size: 40px;
	width: 100%;
	color: white;
	border-left:none;
	border-top:none;
	border-right:none;
	border-bottom:1px solid rgba(255,255,255,0.3);
}
.primary .masonic-search > input[type="text"] {
	color:rgb(73,73,73);
	border: 1px solid #f2f2f2;
}

#masthead .masonic-search > input::-webkit-input-placeholder {
	color: rgba(255,255,255,0.5);
}
#masthead .masonic-search > input:-moz-placeholder {
	color: rgba(255,255,255,0.5);
}
#masthead .masonic-search > input::-moz-placeholder {
	color: rgba(255,255,255,0.5);
}
#masthead .masonic-search > input:-ms-input-placeholder {
	color: rgba(255,255,255,0.5);
}

.sb-search {
	width: 100%;
	right: 1.25%;
	position: relative;
	top:-2px;
}
.sb-search-input {
	position: absolute;
	top: 0px;
	right: 0px;
	border: medium none;
	outline: medium none;
	background: none repeat scroll 0% 0% #FFF;
	width: 100%;
	margin: 0px;
	z-index: 10;
	padding: 20px 75px 20px 20px;
	font-family: inherit;
	color: #2C3E50;
}
.sb-search-input::-webkit-input-placeholder {
	color: #efb480;
}
.sb-search-input:-moz-placeholder {
	color: #efb480;
}
.sb-search-input::-moz-placeholder {
	color: #efb480;
}
.sb-search-input:-ms-input-placeholder {
	color: #efb480;
}
.sb-icon-search, .sb-search-submit {
	width: 38px;
	height: 38px;
	display: block;
	position: absolute;
	right: 0px;
	top: 0px;
	padding: 0px;
	margin: 0px;
	line-height: 38px;
	text-align: center;
	cursor: pointer;

	border-radius: 50%;
}
.sb-search i {
	color: #fff;
}
.sb-search-submit {
	background: #fff; /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
	filter: alpha(opacity=0); /* IE 5-7 */
	opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}
.sb-icon-search {
	color: #fff;
	background: rgba(0, 0, 0, 0.23);
	z-index: 999;
	font-size: 18px;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}
/* Open state */
.sb-search.sb-search-open, .no-js .sb-search {
	width: 300px;
}
.sb-search.sb-search-open .sb-icon-search, .no-js .sb-search .sb-icon-search {
	background: #333;
	color: #fff;
	z-index:9999;
}
.sb-search.sb-search-open .sb-search-submit, .no-js .sb-search .sb-search-submit {
	z-index: 9999;
}
.masonic-search-toggle {
	background: none repeat scroll 0 0 #00A3D1;
	display: none;
	height: 148px;
	position: absolute;
	width: 100%;
	z-index: 999;
	/*border-top: 1px solid #333;*/
	top: 50px;
}

.page-body .masonic-search input[type="text"] {
	border: 1px solid #ccc;
	padding: 10px;
	width: auto;
	color: #333;
}

/******************************************************************/
/********************** POST ***************************************/
/*********************************************************************/

article figure {
	overflow: hidden;
	margin-bottom: 15px;
}

article figure img {
	max-width:100%;
	height: auto;
	transition:0.2s all;
	-moz-transition:0.2s all;
	-webkit-transition:0.2s all;
}

.post-query figure img:hover {
	transform:scale(1.02);
	-webkit-transform:scale(1.02);
	-moz-transform:scale(1.02);
}

.post-query .entry-content h3 {
	margin-bottom: 5px;
	margin-top: 0;
}

article.post-query figure img {
	max-height: 255px;
}

.meta {
	opacity: 0.8;
}

.entry-content p {
	line-height: 1.55;
}

.more-link {
	text-decoration: underline;
}

.post-header {
	margin-top: 15px;
	padding-bottom: 0;
}


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

.the_post p{
	font-size: 16px;
	margin-top: 15px;
}

.extra-hatom-entry-title {display: none !important}

.nav-previous {
	float: left;
	max-width: 150px;
}

.nav-next {
	float: right;
	max-width: 150px;
}

.nav-previous i, .nav-next i {
	margin: 0 10px;
}

.sharing {
	padding: 18px;
	margin-top: 20px;
	border: 1px solid #ddd;
	border-top: 3px solid #14b5e3;
}

.sharing h4 {
	margin-top: 0;
	font-weight: bold;
}

.comment-form-comment label{
	display:block;
}

.form-submit .submit{
	background: #14b5e3;
	color: white;
	border: none;
}

.form-submit .submit:hover {
	color: white;
	background: #17a8d1
}

ul.comment-list > .comment {
	padding-bottom: 5px;
	margin-bottom: 15px;
	border-bottom: 1px solid #ddd;
}
.comment-author.vcard {
	margin-bottom: 5px;
}

.comment-author.vcard img {
	margin-right: 5px;
}

.comment-metadata {
	font-size: 12px;
	opacity: 0.8;
}

.comment article {
	margin-bottom: 15px;
}

.comment-list ol.children {
	list-style: none;
	padding-left: 30px;
}

.search-result {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

/******************************************/
/********************* sidebar ***********/
/*****************************************/

#sidebar {
	margin-top: 25px;
}
#sidebar .widget {

	border: 1px solid #d9d9d9;
	border-top: 3px solid #14b5e3;
    background: white;
		    margin-bottom: 16px;
				padding: 18px;
}

#sidebar .widget-title {border: none;}

#sidebar .widget_recent_entries ul {
	list-style: none;
	padding-left: 0;
}

#sidebar .widget_recent_entries ul li a {
	font-weight: bold;
}

#sidebar .widget_recent_entries ul li span {
	display: block;
	font-size: 11px;
	opacity: 0.8;
}

#sidebar .widget_recent_entries ul li {
	margin:10px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

#sidebar .widget_recent_entries ul li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.fb-page-wrapper {
	overflow: hidden;
}

/******************************************/
/********************* footer ***********/
/*****************************************/


footer .widget_nav_menu ul.menu{
	 list-style: none;
	 padding: 0;
	 margin-bottom: 0;
}

footer .widget_nav_menu ul.menu li {
	display: inline-block;
	padding-right: 10px;
	margin-right: 8px;
	border-right: 1px solid rgba(255,255,255,0.2);
}

footer .widget_nav_menu ul.menu li:last-child {
	border: none;
}



/******************************************/
/********************* responsive ***********/
/*****************************************/


@media (max-width:1024px) {


		#masthead .container {
			position: relative;
		}

.navbar-toggle {
	margin-right: 40px;
	margin-top: 2px;
}

.navbar-toggle:hover {
	color: white;

}

.sb-search {
	top: -37px;
}

.sb-icon-search {
	width: 34px;
	height: 34px;
	font-size: 16px;
	line-height: 34px;
}

.masonic-search-toggle {
	top: 42px;
}

}

@media (max-width:767px) {

	#navbar nav li a:hover {
		background: none;
	}


	.navbar-toggle {
		margin-right: 55px;
	}

	#masthead .masonic-search > input {
		font-size: 26px;
	}
}

@media (max-width:480px) {
	.navbar-toggle {
    margin-right: 60px;
	}
}
