/*
Name : Emagz - News & Magazine Mobile Template
Author : Ngerri
Author URL : https://themeforest.net/user/ngerri
*/

/* --------------------------------
Table of Contents
- General
- Navbar
- Side Nav
- Featured Post Slider
- Title Label
- Post Home List
- Post Home Grid
- Post Home Fullwidth
- Single Post
- Related Post
- Comment
- Author Profil
- Author Post List
- Author Post Grid
- Author Post Fullwidth
- 404
- Login
- Register
- Contact Us
- About Us
- Scroll to top
- Social Media
- Footer
-------------------------------- */

/* ------------------------------
  General
---------------------------------*/

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  background: #ffffff;
  color: #777;
}

body::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto Slab', serif;
  padding: 0;
  margin: 0;
  color: #333;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #333;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

a {
  text-decoration: none;
}

.section {
  padding: 27px 0 0 !important;
}

.pages {
  margin-top: 65px !important;
}

.pages-head {
  text-align: center;
  color: #414141;
  padding: 0 10px 20px 10px;
  text-transform: uppercase;
}

.pages-head h2 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
}

.alert-success {
  color: green;
  text-align: center;
  padding: 15px;
  border: 1px solid #f0f0f0;
}

.post h3 {
  font-size: 18px;
}

.single-post h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.nomar-bottom {
  margin-bottom: 0;
}

.clear {
  clear: both;
}

input:not([type]),
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=time],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=tel],
input[type=number],
input[type=search] {
  background-color: transparent;
  border: none;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  height: 3rem;
  width: 100%;
  font-size: 1rem;
  margin: 0 0 20px 0;
  padding: 0 12px;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

textarea.materialize-textarea {
  background-color: transparent;
  border: none;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  height: auto;
  width: 100%;
  font-size: 1rem;
  margin: 0 0 20px 0;
  padding: 12px;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

input:not([type]):focus:not([readonly]),
input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]),
input[type=email]:focus:not([readonly]),
input[type=url]:focus:not([readonly]),
input[type=time]:focus:not([readonly]),
input[type=date]:focus:not([readonly]),
input[type=datetime]:focus:not([readonly]),
input[type=datetime-local]:focus:not([readonly]),
input[type=tel]:focus:not([readonly]),
input[type=number]:focus:not([readonly]),
input[type=search]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
  border: 1px solid #bbb;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* ------------------------------
  Button
---------------------------------*/

.button-default {
  background: #E74C3C;
  color: #ffffff;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 2px;
  margin: 20px 0;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 700;
}

.button-fullwidth {
  width: 100%;
  text-align: center;
}

.button-default a {
  color: #ffffff;
}

.button-default:hover {
  background: #E74C3C;
  opacity: 0.9;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* ------------------------------
  Navbar
---------------------------------*/

.navbar-top {
  background: #333;
  width: 100%;
  height: 65px;
  padding: 12px 18px;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;
  position: fixed;
  z-index: 99;
}

.site-brand {
  text-align: center;
  display: inline-block;
}

.site-brand a h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 40px;
  color: #fff;
  letter-spacing: 1px;
  font-family: 'Roboto Slab', serif;
}

.site-brand a h1 span {
  color: #E74C3C;
}

/* ------------------------------
  Sidenav
---------------------------------*/

.side-nav a {
  font-size: 14px;
}

.side-nav-panel-left {
  float: left;
}

.side-nav-panel-left .collapsible {
  border: 0;
}

.side-nav-left {
  font-size: 28px;
  color: #313131;
}

.side-nav-left i {
  color: #fff;
}

.side-nav-panel {
  text-align: left;
  background: #333;
}

.side-nav-panel li a {
  color: #fff;
}

.side-nav-panel li {
  font-weight: 700;
  border-bottom: 1px solid #393939;
}

.side-nav-panel .first-li {
  padding-top: 18px;
}

.side-nav-panel li ul li {
  padding-left: 22px;
}

.side-nav-panel li ul li a {
  font-size: 16px;
}

.side-nav-panel li .collapsible-header span {
  float: right !important;
  right: 0 !important;
  text-align: right;
}

.side-nav-panel li .collapsible-header span i {
  width: auto;
}

.side-nav .collapsible-header:hover {
  background: transparent;
}

.side-nav-panel li a {
  font-weight: 600;
  padding: 0 20px;
}

.side-nav-panel li a:hover {
  background: transparent;
}

.side-nav-panel li a i,
.side-nav-panel li .collapsible-header i {
  margin: 0 8px 0 0;
  font-size: 18px;
  color: #fff;
  line-height: 45px;
}

.side-nav-panel li .collapsible-header {
  color: #fff;
}

.side-nav-panel-right {
  float: right;
}

.side-nav-panel-right .side-nav a {
  line-height: 18px;
}

.side-nav-panel-right .side-nav .button-cart a {
  line-height: 40px;
  height: 40px;
}

.side-nav-right {
  font-size: 18px;
  color: #313131;
  line-height: 40px;
  text-align: left;
}

.side-nav-right i {
  font-size: 24px;
  padding-top: 8px;
  color: #fff;
}

.side-nav-search {
  text-align: left;
  padding: 30px 20px 30px;
  float: none;
  background: #333;
}

.side-nav-search li {
  line-height: 20px;
}

.side-nav-search img {
  width: 100%;
  height: 100%;
}

.side-nav-search a {
  padding: 0;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 16px;
  color: #ddd;
}

.search {
  width: 100%;
  display: block;
  position: relative;
  margin-bottom: 30px;
}

.search input {
  width: calc(100% - 60px);
  float: left;
  border-color: #555;
  color: #999;
}

.search input:focus,
.search input:active {
  border-color: #666666 !important;
}

.search button {
  width: 50px;
  float: right;
  height: 3rem;
  border-radius: 0;
  border: 1px solid #555;
  background: #333;
}

.search button i {
  font-size: 20px;
  color: #999;
}

/*popular post*/

.popular {
  padding-top: 40px;
}

.post-popular:first-child {
  padding-top: 0;
}

.post-popular:last-child {
  border-bottom: 0;
}

.post-popular-post img {
  width: 100%;
  height: 100%;
}

.post-popular-post span {
  color: #999;
  margin-top: 8px;
  display: block;
}

.post-popular ul .c30 {
  display: inline-block;
  width: 30%;
  float: left;
  padding-right: 4px;
}

.post-popular ul .c70 {
  display: inline-block;
  width: 70%;
  float: left;
  padding-left: 6px;
}

/*tag*/

.tag {
  padding-top: 25px;
}

.tag ul li {
  display: inline-block;
  background: #eee;
  padding: 2px 4px;
  margin: 3px 1px;
}

.tag a {
  height: 20px;
}

.tag ul li a {
  line-height: 18px !important;
  color: #333;
}

/* ------------------------------
  Slider
---------------------------------*/

.slider {
  margin-top: 64px;
  height: 360px !important;
}

.slides {
  height: 360px !important;
}

.slider-content {
  margin: 10px auto 10px;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  position: relative;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 20px;
}

.slider .indicators {
  text-align: left;
  padding-left: 13px;
}

.slider .slides li img {
  background-size: 100% 100%;
}

.slider .slides li::before {
  background-color: rgba(0, 0, 0, 0.6);
  content: "";
  top: 0;
  right: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.slider-content h2 {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 22px;
  padding: 0;
  margin: 0 0 15px 0;
}

.slider-content h2 a {
  color: #ffffff;
}

.slider-content p {
  padding: 0;
  margin: 0 0 15px 0;
}

.slider .slides li .caption {
  top: 40%;
}

.slider .label span {
  background: #E74C3C;
  display: inline-block;
  font-size: 12px;
  padding: 0 2px;
}

.slider .indicators {
  position: relative;
  bottom: 65px;
  z-index: 95;
  margin-top: 30px;
}

.slider .indicators .active {
  background: #E74C3C !important;
}

.slider .indicators .indicator-item {
  z-index: 1000;
  height: 10px;
  width: 10px;
  background: #cccccc;
  margin: 0 8px;
}

.slider .indicators .indicator-item.active {
  background: #ffffff;
}

/* ------------------------------
  Title label
---------------------------------*/

.title-label {
  border-bottom: 3px solid #E74C3C;
  background: url(/img/bg-label.png);
}

.title-label h2 {
  background: #E74C3C;
  padding: 6px 15px;
  display: inline-block;
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 700;
}

.title-label-search {
  border-bottom: 3px solid #E74C3C;
  margin-bottom: 20px;
}

.title-label-search h2 {
  background: #E74C3C;
  padding: 6px 15px;
  display: inline-block;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ------------------------------
  Post home list
---------------------------------*/

.home-content {
  border-bottom: dashed 1px #e9e9e9;
  padding-top: 27px;
}

.home-content:first-child {
  padding-top: 0;
}

.home-content:last-child {
  border-bottom: 0;
}

.home-content-post img {
  width: 100%;
  height: 100%;
}

.home-content-post span {
  color: #999;
  margin-top: 8px;
  display: block;
}

/* ------------------------------
  Post home grid
---------------------------------*/

.home-grid {
  margin: 0;
}

.home-grid-post {
  padding: 0;
  margin: 0;
}

.home-grid-post img {
  width: 100%;
  height: 100%;
}

.home-grid-post h3 {
  padding: 8px 0 5px;
}

/* ------------------------------
  Post home full width
---------------------------------*/

.home-full-width {
  padding-top: 0;
  margin: 0;
}

.home-full-width-post {
  padding: 0;
  margin: 0;
}

.home-full-width-post h3 {
  padding: 8px 0 5px;
}

.home-full-width-post img {
  width: 100%;
  height: 100%;
}

/* ------------------------------
  Single post
---------------------------------*/

.single-post img {
  width: 100%;
  height: 100%;
}

.single-post h3 {
  margin-top: 10px;
}

.post-video {
  width: 100%;
  height: 300px;
}

.post-audio {
  width: 100%;
  height: 300px;
}

#post-gallery .item img {
  display: block;
  width: 100%;
  height: auto;
}

.owl-theme .owl-controls {
  margin-top: 10px;
  text-align: center;
  position: absolute;
  bottom: 2px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  left: 0;
  right: 0;
}

.post-social-media {
  padding: 12px 0 0;
}

.post-social-media ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.post-social-media ul li {
  display: inline-block;
  margin: 0 2px;
  height: 35px;
  width: 45px;
  padding: 2px 0;
  text-align: center;
  border-radius: 2px;
}

.post-social-media ul li a {
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.older-never {
  border: 1px solid #eee;
  padding: 15px;
  background: #f5f5f5;
}

.older-never a {
  color: #555;
  font-weight: bold;
}

.older-never i {
  padding: 0 5px;
}

.older-never .row {
  margin-bottom: 0 !important;
}

.f-right {
  text-align: right;
  float: right;
}

/*related post*/

.related-content {
  border-bottom: dashed 1px #e9e9e9;
  padding-top: 23px;
}

.related-content:first-child {
  padding-top: 0;
}

.related-content:last-child {
  border-bottom: 0;
}

.related-content-post h3 {
  padding-top: 0;
  margin-top: 0;
  font-size: 18px;
}

.related-content-post img {
  width: 100%;
  height: 100%;
}

.related-content-post span {
  color: #999;
  margin-top: 8px;
  display: block;
}

/*post comment*/

.post-comment h2 {
  font-size: 24px;
}

.comment-title {
  text-align: center;
  border-bottom: double 4px #ddd;
  padding: 10px 0 10px;
}

.comment-content {
  border: 1px solid #f1f1f1;
  padding: 10px;
  margin-top: 25px;
}

.comment-content .row {
  margin-bottom: 10px !important;
}

.comment-content img {
  border-radius: 50%;
}

.comment-form {
  margin-top: 20px;
  border: 1px solid #f1f1f1;
  padding: 15px;
}

.comment-form h5 {
  padding-bottom: 5px;
}

.comment-form input,
.comment-form textarea {
  background: #f8f8f8;
}

/* ------------------------------
  Author profil
---------------------------------*/

.author-profil {
  text-align: center;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 20px;
}

.author-profil img {
  border-radius: 50%;
}

.author-profil ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.author-profil ul li {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 1px;
  padding: 5px 0;
}

.author-profil ul li a {
  color: #fff;
}

/* ------------------------------
  Author post list
---------------------------------*/

.author-post-list {
  border-bottom: dashed 1px #e9e9e9;
  padding-top: 23px;
}

.author-post-list:first-child {
  padding-top: 0;
}

.author-post-list:last-child {
  border-bottom: 0;
}

.author-post-list-post img {
  width: 100%;
  height: 100%;
}

.author-post-list-post span {
  color: #999;
  margin-top: 8px;
  display: block;
}

/* ------------------------------
  Author post grid
---------------------------------*/

.author-gp {
  margin-top: 25px;
}

.author-post-grid {
  margin: 0;
}

.author-post-grid-post {
  padding: 0;
  margin: 0;
}

.author-post-grid-post img {
  width: 100%;
  height: 100%;
}

/* ------------------------------
  Author post full width
---------------------------------*/

.author-full-width {
  padding-top: 0;
  margin: 0;
}

.author-full-width-post {
  padding: 0;
  margin: 0;
}

.author-full-width-post img {
  width: 100%;
  height: 100%;
}

/* ------------------------------
  404
---------------------------------*/

.error404 {
  text-align: center;
  margin-top: 30px;
}

.error404 h2 span {
  background: #555;
  padding: 20px;
  margin: 4px;
  color: #fff;
}

.error404 h4 {
  margin-top: 30px;
}

/* ------------------------------
  Login
---------------------------------*/

.login h5 {
  margin-bottom: 5px;
}

.login input {
  background: #f5f5f5;
}

/* ------------------------------
  Register
---------------------------------*/

.register h5 {
  margin-bottom: 5px;
}

.register input {
  background: #f5f5f5;
}

/* ------------------------------
  Contact us
---------------------------------*/

.contact-us h5 {
  margin-bottom: 5px;
}

.contact-us input {
  background: #f5f5f5;
}

.contact-us textarea {
  background: #f5f5f5;
}

/* ------------------------------
  About us
---------------------------------*/

.about-content img {
  width: 100%;
  height: 100%;
}

/* ------------------------------
  Scroll to top
---------------------------------*/

.to-top a {
  position: fixed;
  bottom: 15px;
  right: 20px;
  opacity: 0.5;
  font-size: 40px;
  color: #444444;
}

/* ------------------------------
  Social media
---------------------------------*/

.social-media ul {
  padding: 0;
  margin: 0;
  list-style: none;
  padding: 20px;
  padding-top: 0;
  text-align: center;
}

.social-media ul li {
  display: inline-block;
  margin: 0 5px;
  height: 40px;
  width: 40px;
  padding: 2px 0;
}

.social-media ul li a {
  font-size: 24px;
  color: #fff;
}

.fb {
  background: #3b5a9a;
}

.tw {
  background: #16abe3;
}

.gl {
  background: #c4422c;
}

.lk {
  background: #4677b1;
}

/* ------------------------------
  Footer
---------------------------------*/

.footer {
  background: #111111;
  padding: 35px 0;
  margin-top: 30px;
}

.footer-link {
  text-align: center;
}

.footer-link ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-link ul li {
  display: inline-block;
}

.footer-link ul li a {
  color: #eee;
}

.copyright {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 17px;
  margin-top: 20px;
}

.copyright span {
  color: #eeeeee;
  text-align: center;
}

