/*
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: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #313a5d;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    line-height: 1.42857143;
}

#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;
}

body:not(.no-ie) #body-layout{
    flex: none;
}
.error404 #body-layout{
    padding-top: 150px;
    padding-bottom: 100px;
}

#post-container-wrapper,
.no_contain,
#post-container-excerpt,
#container-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 15px;
}

#container-wrapper {
    padding: 20px 20px 40px 20px;
    overflow-x: hidden;
}

#post-container-excerpt {
    border-bottom: 1px dotted #ccc;
}


/* Header Layouts style */

#matter-head {
    background: rgba(238, 234, 224, .9);
    width: 100%;
    position: fixed;
    border-bottom: #eee;
    display: table;
    z-index: 1;
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    will-change: transform;
    -webkit-transition: -webkit-transform 200ms linear;
    transition: transform 200ms linear, -webkit-transform 200ms linear;
}

#matter-head.pinned {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

#container,
#footer-container {
    max-width: 1170px;
    margin: 0 auto;
}


#matter-head #container{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}


/* Logo */

#logo {
    padding: 0 0 0 15px;
    margin: 32px 0px -30px 0px;
}

#logo img {
    width: auto;
    height: auto;
    max-width: 170px;
}

.text-logo {
    margin-top: -15px;
}


.text-logo h1 {
    margin: 0;
    margin-bottom: -25px;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 32px;
}

#logo .mobile-click-logo {
    display: none;
}

#logo .mobile-click-logo > img {
    margin: 0 auto;
}

/* 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;
    padding: 7px 10px;
}

#matter-head nav {
    margin: 0;
    padding: 10px 15px 10px 0;
    z-index: 99;
    margin-left: 20px;
    width: 100%;
}

.main-nav ul li a:link,
.main-nav ul li a:visited {
    text-decoration: none;
    padding: 10px 15px;
    color: #252525;
    font-family: inherit;
    font-size: 16px;
}

.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;
}


/* Footer Menus Styles */

#footer-container {
    padding: 0 15px;
}
#footer-container .text-logo{
    margin-top: 0px;
}

.matter-footer {
    background: #394160;
    width: 100%;
    display: table;
    padding: 30px 0;
}

.footer-nav ul li {
    list-style: none;
}

.footer-nav ul li a:link,
.footer-nav ul li a:visited {
    text-decoration: none;
    padding: 5px 0 0;
    display: block;
}

.footer-nav ul li a:hover {
    color: #fff;
}

.footer-nav ul {
    margin: 0 auto;
    padding: 0 15px 15px;
    float: left;
    width: 25%;
}

.footer-nav ul li.current-menu-item a:link,
.footer-nav ul li.current-menu-item a:visited {
    color: #fff;
}

.footer-nav ul li.current-menu-item a:visited{
    color: #fff !important;
}

.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: #fff;
    margin: 5px 0;
}

.footer-copyright {
    margin: 0 auto;
    display: table;
}


/*  Links  */

a {
    color: #1f4bcd;
    text-decoration: none;
}

a:focus,
a:active,
a:hover {
    outline: none;
}


/* SUB-HEADER */

.page-subheader-img,
.archive-subheader-img {
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #394160;
    padding: 14vw 0;
    position: relative;
    -webkit-filter: blur(1px);
    filter: blur(1px);
    margin-bottom: -2px;
    z-index: -1;
    min-height: 200px;
}

.page-subheader.title .post-info {
    text-align: center;
}

.page-subheader.title h1,
.archive-subheader h1 {
    color: #fff;
    font-size: 100px;
    text-align: center;
    letter-spacing: -5px;
    text-shadow: 1px 1px 1px #333;
}

.archive-subheader h1,
.page-subheader.title {
    margin: 0 auto;
}

.page-subheader.title {
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
}

.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: #313a5d;
    margin: 0;
    word-wrap: break-word;
}

h4,
h3 {
    font-size: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
}

h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h5 {
    font-size: 14px;
}

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;
    display: none;
}

.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-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: inherit;
    font-size: 13.6px;
    cursor: pointer;
    padding-left: 7px;
    color: #252525;
}

select:focus {
    outline: none;
}


/* For button and other submit field types */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    background-color: #ff6a1a;
    color: #fff !important;
    display: inline-block;
    padding: 10px 16px;
    cursor: pointer;
    margin-right: 7px;
    border: 0;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    font-family: inherit;
    line-height: 1.3333333;
    margin-bottom: 10px;
    outline: 0;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background-color: #ee6523;
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

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);
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 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; }


/* Table */
table {
    width: 100%;
    border: 1px solid rgba(49, 58, 93, 0.37);
    border-collapse: collapse;
    margin-bottom: 15px;
}

table tr {}

table tr td {
    border: 1px solid rgba(49, 58, 93, 0.37);
    padding: 5px 10px;
}