/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrQ.ttf) format('truetype');
}


@font-face {
  font-family: 'NotoSan';
  src: url('../themes/theananda-site-theme/assets/fonts/NotoSansMyanmar-Light.ttf');
}

@font-face {
  font-family: 'MyanmarSabae';
  src: url('../themes/theananda-site-theme/assets/fonts/MyanmarSabae.ttf');
}

body {
  font-family: 'NotoSan','Open Sans', sans-serif;
  font-size: 1.2rem;
}

a {
  text-decoration: none;
}

h1,h2,h3,h4,h5,h6, .title {
  font-family: "MyanmarSabae",'Raleway', sans-serif;
}

.mdl-button {
  font-family: 'NotoSan','Open Sans', sans-serif;
}

.mdl-button--accent {
  color: #fff !important;
}

p, li {
  font-size: 1.2rem;
  line-height: 2.2rem;
}

em {
  font-size: 1rem;
}

pre {
  font-family: 'NotoSan','Open Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 2.2rem;
  background: #f2f2f2;
  padding: 15px;
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.main-container.mdl-grid {
  padding: 0px;
}

.home-section {
  width: 100%;
  margin: unset;
  padding: 50px 30px;
}

.home-section .section-title {
  text-align: center;
}

.section-white {
  background: #fff;
}

.section-yellow {
  background: #ffeb3b;
}

.section-lightgray {
  background: #eee;
}

.section-darkgray {
  background: #424242;
  color: #fafafa;
}

.extra-bold {
    font-weight: 800;
}

.mdl-layout-title a {
  color: #fff;
}

.mobile-logo {
  float: left;
  position: relative;
  left: 45px;
  top: -18px;
}

.mdl-navigation a {
  font-weight: bold;
}

.post-title {
  font-weight: 800;
}

.slogan {
  font-size: 4rem;
}

.below-ribbon {
  margin-top: -100vh;
}

.ribbon {
  width: 100%;
  height: 100vh;
  background-color: #E83E39;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.layout-with-ribbon .mdl-layout__header-row {
  background-color: #E83E39 !important;
}

.main-layout-transparent {
  background: #f2f2f2;
}

.main-layout-transparent .overlay-wrapper {
  background:rgba(0,0,0,0.3);
}

.mdl-layout__drawer-button .material-icons{
  color: #fff;
}

.center-content {
  text-align: center;
}

.jumbothron-header.home {
  min-height: 400px;
}

.jumbothron-header {
  text-align: center;
  margin: auto;
  color: #fff;
  min-height: 300px;
}

.jumbothron-header h1 {
  padding: 100px;
}

.jumbothron-header.home h1 {
  padding-bottom: 30px;
}

.main-container {
  max-width: 1600px;
  width: calc(100% - 16px);
  margin: 0 auto;
}

.main-content {
  border-radius: 2px;
  padding: 60px 80px;
  margin-bottom: 40px;
}

.main-layout.is-small-screen .main-content {
  padding: 30px 40px;
}

.lang-chip, .colored-orange {
  background: #ffeb3b;
}

.pagination {
  text-align: right;
  margin-bottom: 40px;
}

.pagination .mdl-button {
  background: #fff;
  color: #E83E39;
  margin-left: 10px;
}

.pagination .active {
  background: #E83E39;
  color: #fff;
}

.pagination .page-number {
  font-size: 1rem;
}

.blog-search-form {
  text-align: right;
}

/* Blog */
.post-list {
  padding-inline-start: 0px;
}

.post-list li {
 list-style: none;
 margin-bottom: 50px;
}

.post-list li h3 a {
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.mdl-mini-footer {
  flex-flow: column;
  align-items: center;
  color: #fff;
  background-color: #E83E39;
}

.main-footer .iconify {
  width: 3em;
  height: 3em;
}

.main-footer .mdl-mini-footer--link-list a {
  font-size: 13px;
}

.clearfix {
  clear:both;
}

/* Blog Content Styles */
.content img {
  max-width: 100%;
}

/* Styles for Markdown Blocks */
.md-block h1 {
  text-align: center;
  font-size: 2.2rem;
}

.md-block h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E83E39;
}

.md-block h4 {
  font-size: 1.2rem;
  color: #E83E39; 
}

.section-darkgray .mdl-textfield__input, .section-darkgray .mdl-textfield.is-focused .mdl-textfield__input {
  border-color: #fff;
}

.section-darkgray .mdl-textfield__label {
  color: #fff;
}

.mdl-layout__header-row .mdl-navigation__link {
  color: #fff;
}

#focus-area a {
  color: #000;
}

@media (max-width: 480px) {

  html {
    font-size: 14px;
  }

  p, body {
    font-size: 1rem;
  }

  h3 {
    font-size: 1.8rem
  }

  .jumbothron-header {
    min-height: 200px;
  }

  .jumbothron-header h1 {
    padding: 100px 20px;
  }

  .slogan {
    font-size: 2.5rem;
  }

  .main-content {
    padding: 25px;
  }

}
