/*
Project's name: InfoMalaya
Version: 24.1
Author: @mohdhuzairy
Last date modified: 6/10/2024
*/

/*
------------------------------------
Table of Contents:
------------------------------------
1. Reset Styles
2. MentariCSS Core Styles
3. User's Styles
4. Media Queries Styles
------------------------------------
*/

/* 1. Reset Styles (http://meyerweb.com/eric/tools/css/reset/) */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: none;
}

/* 2. MentariCSS Core Styles */

/* 2.1 Box Sizing */
main,
header,
section,
article,
aside,
footer,
pre {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 2.2 Table */
table {
  border: 1px solid #ccc;
  border-left: none;
  border-top: none;
  position: relative;
  top: -3px;
  margin: 18px 0;
  padding-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

th,
td {
  border-top: 1px solid #ccc;
  line-height: 18px;
  padding: 9px 18px 8px 10px;
  position: relative;
}

th {
  background: #666;
  color: #fff;
}

td,
th {
  border-left: 1px solid #ccc;
  text-align: left;
  font-weight: normal;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

tr:nth-child(even) td {
  padding: 10px;
  background: #f6f6f6;
}

tr:nth-child(odd) td {
  padding: 10px;
}

caption {
  top: 8px;
  margin-bottom: 18px;
  text-align: left;
  font-weight: normal;
}

/* 2.3 Typography */
h1,
h2,
h3,
h4 {
  position: relative;
}

p,
blockquote {
  line-height: 150%;
  margin: 10px 0 15px 0;
}

cite {
  font-style: normal;
  display: block;
  margin: 10px 0;
}

code {
  font-family: courier, monospace;
  background: #fffcdc;
  border: 1px solid #e5e5e5;
  padding: 2px 4px;
  border-radius: 3px;
  line-height: 150%;
}

acronym,
abbr {
  cursor: help;
  border-bottom: 1px dotted #999;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

sup,
sub {
  line-height: 0;
}

/* 2.4 Positioning */
.clear {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}


/* 2.5 Simple Grid System by Adam Kaplan (http://www.adamkaplan.me/grid/) */
main {
  width: 100%;
}

.column {
  float: left;
}

.row {
  overflow: hidden;
}

.full {
  width: 100%;
  /* Full width */
}

.two-thirds {
  width: 65%;
  /* 2/3 width */
}

.half {
  width: 47.5%;
  /* 1/2 width */
}

.one-third {
  width: 33.333%;
  /* 1/3 width */
}

.one-fourth {
  width: 25%;
  /* 1/4 width */
}

.clearfix:before,
.clearfix:after

/* Micro clearfix hack by Nicolas Gallagher (http://nicolasgallagher.com/micro-clearfix-hack/) */
  {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* 3. User's Styles */
body {
  font: 100%/150% "Roboto Flex", serif;
  color: #333;
  background: #fff;
  padding: 0;
}

a {
  text-decoration: none;
  border-bottom: 1px solid #000;
  color: #000;
  font-weight: bold;
}

a:hover {
  color: #000;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 25px;
}

header {
  margin: 60px 0;
}

header img {
  width: 40px;
  margin: -7px 0 0 -5px;
}

h1,
.search-box input[type="submit"] {
  font-family: "Lato", sans-serif;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 1.2em;
  letter-spacing: 2px;
  display: inline;
}

header a {
  border: none;
  color: #000;
}

header a:hover {
  color: #000;
}

#mobile-menu {
  display: none;
}

#mobile-menu img {
  width: 30px;
}

/* Content */
.content {
  width: 66%;
  max-width: 100%;
  float: left;
}

article {
  margin-bottom: 50px;
}

.published,
.widget h3 {
  font-family: "Lato", sans-serif;
  font-size: 0.9em;
  font-weight: normal;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.published {
  margin-bottom: 10px;
}

h2 {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  color: #000;
  font-size: 1.3em;
  line-height: 160%;
}

article p {
  font-size: 1.2em;
  line-height: 160%;
  margin-bottom: 20px;
}

article img {
  margin: 10px 0 -5px 0;
  max-width: 100%;
}

article ul,
article ol {
  list-style: square;
  font-size: 1.2em;
  margin: 10px 20px 20px 25px;
  line-height: 160%;
}

article ol {
  list-style: decimal;
}

article ul li,
article ol li {
  margin-bottom: 10px;
}

blockquote {
  margin: 15px 0 0 10px;
  border-left: 1px solid #e5e5e5;
  padding-left: 20px;
  color: #999;
}

article strong
{
  font-size:1.2em;
  margin-bottom:0;
  color:#000;
}

cite {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.article-meta {
  font-family: Lato, "Open Sans";
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-top: 10px;
}

.filler {
  border-top: 1px solid #eee;
  width: 50px;
  margin: 30px 0 20px 0;
}

.single-post-filler {
  border-top: 1px solid #ccc;
  width: 50px;
  margin: 20px 0;
}

.video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom:15px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

pre {
  font-family: monospace;
  font-size: 1.25em;
  border: 1px solid #e5e5e5;
  padding: 10px 15px;
  border-radius: 5px;
  line-height: 160%;
  width: 100%;
  margin: 12px 0 15px 0;
  overflow: auto;
  background: #000;
  color: #2EFE2E;
}

.breadcrumb {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #f5f5f5;
  padding: 10px 15px 8px 15px;
  margin-bottom: 20px;
}

/* Linked Post */
.linked-post {
  margin: 15px 0 40px 0;
}

.linked-post p {
  font-family: 'Roboto Flex', serif, georgia;
  font-size: 1.2em;
  margin: 0 0 15px 0;
}

.post-meta {
  font-family: Lato, "Open Sans";
  color: #999;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 1px;
}

.linked-post strong {
  font-size: 1.2em;
}

.linked-post-page {}

.linked-post img
{
  margin: 3px 0 -5px 0;
  max-width: 100%;
}

.linked-post-page .linked-post {
  padding: 0;
  border: none;
}

.source {
  font-family: Lato, "Open Sans";
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px;
  background: #eee;
  font-size: 0.6em;
}

.linked-post-page p {
  margin: 0 0 15px 0;
}


/* Search Box & Page */
.search-box form {
  border: 1px solid #333;
  margin-top: 10px;
  border-radius: 3px;
  width: 260px;
}

.search-box input {
  border: none;
  padding: 5px;
  width: 210px;
}

.search-box input[type="submit"] {
  width: 50px;
  background: #333;
  color: #fff;
  padding: auto;
  letter-spacing: 1px;
  font-size: 0.9em;
}

.search-box input[type="submit"]:hover {
  cursor: pointer;
}

.search-results {
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 3px;
  color: #444;
  font-size: 1.1em;
  margin: 5px 0 20px 0;
  padding: 7px 10px;
}

/* Sidebar */
.sidebar {
  float: right;
  width: 30%;
  max-width: 100%;
  margin-top: -1px;
}

.widget {
  margin-bottom: 40px;
}

.widget ul {
  margin-top: 10px;
}

.widget ul li {
  list-style: square;
  margin: 0 0 5px 15px;
}

.widget p,
.widget ul li {
  font-size: 1.15em;
  line-height: 160%;
}

.support ul li {
  margin-bottom: 15px;
}

.sponsor img {
  width: 120px;
  height: 90px;
  margin-top: 15px;
}

/* Pagination */
.pagination {
  font-family: Lato, "Open Sans";
  letter-spacing: 1px;
  margin: -10px 0 30px 0;
  font-size: 0.95em;
  text-transform: uppercase;
  font-weight: bold;
}

.single-post-navi {
  margin-top: -20px;
}

.splash-box {
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #f5f5f5;
  margin: 0 0 40px 0;
  padding: 15px 20px;
  text-align: center;
  line-height: 150%;
}

.splash-box-single {
  margin-top: -20px;
}

.splash-box a {
  font-family: Lato, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ampersand {
  font-family: "Libre Baskerville", sans-serif;
  font-size: 1.2em;
  padding: 0 4px 0 5px;
  color: #000;
}

.emphasis {
  font-family: "Libre Baskerville", sans-serif;
  font-size: 1em;
  font-style: italic;
  text-transform: none;
  padding: 0 4px 0 5px;
}

/* Footer */
footer {
  font-family: Lato, sans-serif;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9em;
  margin: 10px 0 70px 0;
}

footer strong
{
color:#000;
border-left:1px solid #ccc;
padding-left:10px;
margin-left:5px;
}

footer a
{
border-bottom:none;
}

/* 4. Media Queries */
@media (max-width: 990px) {

  main {
    padding: 0;
  }

  header {
    font-size: 0.9em;
    padding: 20px 0 15px 15px;
    margin-bottom: 25px;
    margin-top:20px;
  }

  #mobile-menu {
    display: inline;
    margin: 5px 15px -10px 0;
    padding: 0;
  }

  .content,
  .sidebar {
    width: 100%;
    padding: 0 15px;
  }

  .sidebar {
    background: #f5f5f5;
    padding-top: 40px;
    margin-bottom: 10px;
  }

  footer {
    padding: 0 15px;
    margin-bottom: 20px;
  }

  iframe {
    max-width: 100%;
  }

}

@media (max-width: 400px) {
  body {
    font-size: 90%;
    line-height: 150%;
  }

  img,
  embed,
  object,
  video {
    max-width: 100%;
  }

  h1 a {
    border: none;
    margin-bottom: 4px;
    font-size: 1.1em;
  }

}