/*
Theme Name: Matter
Theme URI: http://matterdesign.com.au/
Author: Bhupendra Tamang
Author URI: http://www.matterdesign.com.au
Description: This theme is costumed to specific design for the client "WS Plastic".
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: matter_design
Tags:
*/

/*
** Optional All Custom Font Imports here
** Or use function.php to enqueue custom fonts
** See example for Fontawesome if in doubt..
** @import url('https://fonts.googleapis.com/css?family=fontname:300,400');
*/

html {
	padding: 0;
	margin: 0;
}

*{
	webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
}
.row {
  margin-right: -15px;
  margin-left: -15px;
}
.clearfix:after,
.clearfix:before,
.row:after,
.row:before {
    content: "";
    display: table;
}
.clearfix:after ,
.row:after {
    clear: both;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	color: #242427;
	background-color: #fff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	font-weight: normal;
}

#page {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
 

/* Main Layouts */

#default-layout {
	margin: 0 auto;
	max-width: 1220px;
}

/*#body-layout, .no_contain {
    flex: 1;
}*/

#post-container-wrapper, .no_contain, #post-container-excerpt, #container-wrapper {
	max-width: 1220px;
	margin: 0 auto;
	padding:20px;
}

#container-wrapper {
	padding: 20px 20px 40px 20px;
	overflow-x: hidden;
}

#post-container-excerpt {
	border-bottom: 1px dotted #ccc;
}

/* Header Layouts style */

#matter-head {
	background: #f2f2f2;
	width: 100%;
	height: 120px;
	position: relative;
	border-bottom: #eee;
	display: table;
}

#container {
	max-width: 1220px;
	margin: 0 auto;
}	

/* Logo */

#logo {
	float: left;
	padding: 0 0 0 20px;
	margin: 32px 0px -30px 0px;
}

#logo a {
	display: inline-block;
}

#logo img {
	width: auto;
	height: auto;
	max-width: 225px;
}

.text-logo {
	margin-top: -13px;
}

.text-logo h1 {
    margin: 0;
    margin-bottom: -25px;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 30px;
}

/* Site Description */

.site-description {
	color: #777;
	font-size: 16px;
	font-style: italic;
	padding: 5px 0;
	letter-spacing: 1px;
	text-decoration: underline;
	text-align: center;
}

/* Navigation Menus */

.main-nav ul {
	margin: 0;
	padding: 0;
}

.main-nav ul:before, .main-nav ul:after, .footer-nav ul:before, .footer-nav ul:after { 
	content: ""; display: table; 
}

.main-nav ul:after, .footer-nav ul:after {
	clear: both;
}

.main-nav ul li {
	list-style: none;
	float: left;
	border-right: 1px solid #e7e7e7;
	padding: 7px 10px;
}

#matter-head nav {
    margin: 0;
    float: right;
    margin-top: 36px;
    height: auto;
    padding: 0 20px 0 0;
    z-index: 99;
}

.main-nav ul li a:link, .main-nav ul li a:visited {
	text-decoration: none;
	padding: 10px 15px;
	font-size: 18px;
	font-weight: 300;
	color: #252525;
}

.main-nav ul li a:hover {
	color: #1f4bcd;
}

.main-nav ul li.current-menu-item a:link, .main-nav ul li.current-menu-item a:visited {
	color: #1f4bcd;
}

.main-nav ul li.home-icon a:before, #menu-mobile-menu li.home-icon a:before {
	content: "\f015";
	position: relative;
	font-family: 'FontAwesome';
	font-size: 20px;
	display: block;
	margin: 3.5px -10px 0 0;
	float: left;
}

#menu-mobile-menu li.home-icon a:before {
	font-size: 18px;
	margin: 0;
	padding-right: 8px;
}

/* Mobile Menu */

#matter-head .toggle_icon {
    display: none;
}

#mobile-menu {
	display: none;
}

/* Footer Menus Styles */

.matter-footer {
	background: #07102b;
	width: 100%;
	display: table;
	padding: 15px 0;
}

.footer-nav ul li {
	list-style: none;
	display: inline-block;
}

.footer-nav ul li a:link, .footer-nav ul li a:visited {
	text-decoration: none;
	padding: 3px 10px;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	letter-spacing: 1px;
	color: #aaa;
}

.footer-nav ul li a:hover {
	color: #fff;
}

.footer-nav ul {
	margin: 0 auto;
	padding: 0 20px;
	display: table;
	text-align: center;
}

.footer-nav ul li.current-menu-item a:link, .footer-nav ul li.current-menu-item a:visited {
	color: #fff;
}

.matter-footer nav {
	/* margin-bottom: 10px; */
}

/*  Footer Copyright links and text   */

.footer-copyright a:link, .footer-copyright a:visited {
	color: #c06e63;
}

.footer-copyright a:hover {
	color: #ff9283;
}

.footer-copyright p {
	color: #aaa;
	letter-spacing: 1px;
	font-size: 16px;
	margin: 5px 0;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	line-height: 1;
}

.footer-copyright {
	margin: 0 auto;
	display: table;
}

/*  Links  */
a {
	color: #1f4bcd;
	text-decoration: none;
}

a:focus, a:active, a:hover {
	text-decoration: underline;
	outline: none;
}

/* SUB-HEADER */
.page-subheader-img, .archive-subheader-img {
	height: 300px;
	background-color:#07102b;
	background-repeat: no-repeat;
	position: relative;
	background-size: cover;
	background-position: center center;
}

.page-subheader.title .post-info {
	text-align: center;
}

.page-subheader.title h1, .archive-subheader h1 {
	color: #fff;
	font-size: 250%;
	text-align: center;
	line-height: 50px;
	font-weight: 500;
}

.archive-subheader h1, .page-subheader.title {
	max-width: 500px;
	margin: 0 auto;
	padding: 100px 0;
}

.page-subheader.title {
	padding: 78px 0;
}

.page .page-subheader.title {
    padding: 92px 0;
    width: 100%;
}

.search-results .page-subheader.title {
    padding: 97px 0;
}


/*Comments */

#comments.comments-area {
	padding: 20px;
	background: #dddddd;
	margin: 20px 0;
	border-radius: 10px;
}
#comments .comment-list > li {
	padding: 15px 0;
}

.comment-list .comment-metadata a {
	font-size: 13px;
	color: #787878;
	text-decoration: none;
}

.comment-metadata .edit-link a {
	color: #1f4bcd;
	padding: 0 10px;
	text-decoration: underline;
	font-size: 15px;
}

#comments .no-comments {
	font-weight: bold;
	text-transform: uppercase;
	background: #07102b;
	padding: 10px;
	color: #fff;
	max-width: 300px;
}

#respond #comment {
	width: 80%;
	margin-top: 5px;
	margin-bottom: -10px;
}

.comment-form-comment label, #commentform label {
	font-weight: bold;
}

/*Image Styles */

img {
	max-width: 100%;
	height: auto;
}


p, h1, h2, h3, h4, h5, h6 {
	color: #252525;
}

h4 {
	font-size: 21px;
	line-height: 25px;
}

iframe {
	width: 736px;
	max-width: 100%;
	min-height: 300px;
	padding-top: 15px;
	padding-bottom: 10px;
}

/* nothing content and 404 content */

.error-404.not-found, .page-content #searchform {
	margin: 0 auto;
	display: table;
}

.page404, .page-content p {
	text-align: center;
}

/* matter-search */

.widget_search input#s {
	width: 100%;
}

.widget_search #searchsubmit.matter-bttn {
	font-size: 14px;
	margin-top: 5px;
}

.page-content #searchform #s {
    float: left;
    width: 500px;
    margin: 3px 15px 0 0;
    padding: 9px;
    padding-left: 40px;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: 5px center;
}

.main-nav ul > li.nav-search {
	padding: 0 15px;
	border: none;
}

.nav-search #s, .mobile-search #s {
	font-size: 15px;
	letter-spacing: 1px;
	color: #4c4c4c;
	font-weight: 300;
	background-color: transparent;
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	border: none;
	cursor: pointer;
	height: 40px;
	margin: -3px 0;
	padding: 0 0 0 40px;
	position: relative;
	-webkit-transition: width 900ms ease, background 900ms ease;
	transition: width 900ms ease, background 900ms ease;
	width: 0;
}

.nav-search #s:focus {
	background-color: #fff;
	border: 1px solid #aaa;
	cursor: text;
	outline: none;
	width: 150px;
	padding-left: 40px;
}

.nav-search #searchsubmit.matter-bttn, .mobile-search #searchsubmit.matter-bttn {
	display: none;
}

/* Mobile Search Box Animation */

.mobile-search #s {
	background-position: 8px center;
	height: 52px;
	margin: 0;
	padding: 0 0 0 46px;
	-webkit-transition: width 1500ms ease, background 1500ms ease;
	transition: width 1500ms ease, background 1500ms ease;
	background-image: url(images/mobile-search-icon.png) !important;
}

.mobile-search #s:focus {
	background-color: rgba(255, 255, 255, 0.99);
	cursor: text;
	outline: none;
	width: 100vw;
	padding-left: 46px;
	padding-right:5px;
	border-radius:0;
	border-bottom:2px solid #141414;
}

#menu-mobile-menu li.mobile-search {
	position: relative;
	border-bottom: transparent;
	width:100%;
}

#menu-mobile-menu li.icon-menu a .fa {
	padding-right: 10px;
}

/* BREADCRUMBS Site-nav children-links */

.page-subheader ul.breadcrumbs{
	max-width: 100%;
	margin: 0 auto;
	padding: 5px;
	display: table;
	margin-top: -20px;
}
.page-subheader ul:before, .breadcrumbs ul:after { 
	content: ""; display: table; 
}
.page-subheader ul:after, .breadcrumbs ul:after {
	clear: both;
}

.page-subheader ul li{
	list-style: none;
	float:left;
	padding-left:5px;
	color: #ffffff;
	letter-spacing: 2px;
}
.page-subheader ul li:last-child{
	color:#a9a9a9;
}
.page-subheader ul li a{
	color:#ffffff;
}
.page-subheader ul li a:hover{
	border-top:1px solid #ffffff;
	border-bottom:1px solid #ffffff;
	text-decoration: none;
}


/* POST-INFO POST PAGE AUTHOR & DATE */
.post-info{
	font-style:italic;
	color: #aaaaaa;
	font-weight: 600;
}


/* For text input and other data field types */

input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], textarea {
	border-color: rgba(0, 0, 0, 0.32) !important;
	background-color: #fff;
	color: #373737;
	padding: 7px 7px;
	outline: none;
	margin: 0;
	max-width: 100%;
	display: block;
	border-width: 1px;
	border-style: solid;
	border-radius: 5px;
	-webkit-appearance: none;
	line-height: inherit;
	font-size: 16px;
   	font-family: inherit;
}

input[type="file"] {
	line-height: 1;
	padding: 3px 3px;
}

select {
	max-width: 200px;
	border: 1px solid #dfdfdf;
	height: 35px;
	background: #f4f4f4;
	font-family: 'Montserrat', sans-serif;
	font-size: 13.6px;
	cursor: pointer;
	padding-left: 7px;
	color: #252525;	
}

select:focus {
	outline: none;
}

/* For button and other submit field types */

button, input[type="submit"], input[type="reset"], input[type="button"] {
	background-color: #f55540;
	color: #fff;
	display: inline-block;
	padding: 10px 18px;
	cursor: pointer;
	margin-right: 7px;
	border: 0;
	-webkit-border-radius: 5px;
	-webkit-appearance: none;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	font-size: 17px;
   	font-family: inherit;
	font-weight: bold;
}

button:after, input[type="submit"]:after, input[type="reset"]:after, input[type="button"]:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	z-index: 1;
	-webkit-appearance: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	background: rgba(0, 0, 0, .05);
}

.single .breadcrumbs_single > li:last-child {
	display: none;
}

img.alignright { float: right; margin: 0em 0 1em 2em; }
img.alignleft { float: left; margin: 0em 2em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
