/*
Theme Name: B4
Theme URI: https://bootstrap4.com
Author: ThemeMag.com
Description: A theme for the Bootstrap4.com homepage
Version: 1.0
*/
/** GENERAL
*****************************/
html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background: #fff;
  color: #111111;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 14px;
}

a {
  color: #543B79;
  transition: 0.5s;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #000000;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 24px 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #111111;
  font-weight: 400;
  margin: 0 0 15px 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

#main {
  margin-top: 60px;
}

@media (min-width: 992px) {
  #main {
    margin-top: 90px;
  }
}

.scrolltop {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.1);
  color: #666;
  padding: 8px 10px 10px 10px;
  font-size: 16px;
  border-radius: 3px;
  right: 20px;
  bottom: 20px;
}

@media (max-width: 768px) {
  .scrolltop {
    bottom: 15px;
  }
}

.scrolltop:focus {
  background: rgba(0, 0, 0, 0.1);
  color: #666;
}

.scrolltop:hover {
  background: #000000;
  color: #543B79;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.clearfix::after, #header::after, #main::after, #footer::after, .container::after, .container-fluid::after, .row::after {
  clear: both;
  content: "";
  display: block;
}

.gad {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/** HEADER
*****************************/
#header {
  background-image: linear-gradient(135deg, #000000, #000000, #000000);
  z-index: 1030;
}

.header-fixed {
  height: 88px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: 20px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .header-fixed {
    height: 60px;
    padding: 15px 0;
  }
}

.logo {
  float: left;
  transition: 0.4s;
}

.logo img {
  transition: all 0.5s ease;
  height: 48px;
}

@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}

.header-collapse {
  height: 60px;
  padding: 15px 0;
}

.header-collapse .logo img {
  height: 30px;
}

/** Templates List
*****************************/
.templates-list {
  padding: 15px 0;
  background: #fafafa;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  position: fixed;
  left: 0;
  right: 0;
  top: 90px;
  z-index: 1029;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .templates-list {
    top: 60px;
  }
}

.templates-list h2 {
  color: #543B79;
  font-weight: bold;
  font-size: 28px;
  padding: 10px 0;
  margin: 0;
}

.templates-list p {
  padding: 0;
  margin: 0 0 15px 0;
}

.templates-list ul {
  column-count: 3;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .templates-list ul {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .templates-list ul {
    column-count: 1;
  }
}

.templates-list ul li {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
}

.templates-list a {
  color: #543B79;
}

.templates-list a:hover {
  color: #ffd338;
}

.templates-list-collapse {
  top: 60px;
}

/** Navs
*****************************/
/* Top Nav */
#topnav {
  text-align: right;
  float: right;
  position: relative;
}

#topnav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#topnav li {
  float: left;
  padding: 16px 0;
  margin: 0;
  position: relative;
  transition: 0.4s;
}

.header-collapse #topnav li {
  padding: 8px 0;
}

#topnav a {
  font-size: 14px;
  padding: 0 0 0 30px;
  margin: 0;
  color: #fff;
  line-height: 1;
  display: block;
  font-weight: 400;
}

#topnav a:hover, #topnav a.current {
  color: #000000;
}

#topnav li:first-child a {
  padding-left: 0;
}

#topnav .icon-menu {
  display: none;
  float: right;
  font-size: 24px;
  cursor: pointer;
  margin-right: -6px;
  color: #fff;
}

@media (max-width: 768px) {
  #topnav .icon-menu {
    display: inline-block;
  }
  #topnav ul {
    display: none;
    position: absolute;
    top: 32px;
    right: 0px;
    background: #60438a;
    text-align: left;
    width: 180px;
    padding: 10px 20px;
  }
  #topnav li {
    float: none;
    padding: 10px 0;
    margin: 0;
  }
  #topnav a {
    padding: 0;
  }
}

/* =WP-PAGENAVI
-------------------------------------------------------------- */
.pagination {
  padding: 10px 0 20px 0;
  margin: 0;
}

.wp-pagenavi {
  padding: 0;
}

.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  padding: 9px 12px;
  margin: 2px;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  border: none;
  color: #543B79;
  display: inline-block;
}

.wp-pagenavi span.current {
  font-weight: normal;
  background: #543B79;
  border-radius: 2px;
  color: #fff;
}

.wp-pagenavi a:hover {
  transition: all 0.3s ease-in-out 0s;
  color: #543B79;
  background: #000000;
  border-radius: 2px;
}

.wp-pagenavi span.pages {
  padding: 4px 8px 4px 0;
}

/** HOME
*****************************/
#section-about {
  background: #fafafa;
  padding: 20px 0;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

#section-about h2 {
  font-size: 30px;
  margin: 0 0 20px 0;
  font-weight: 600;
  padding: 0;
  color: #543B79;
  text-align: center;
}

#section-about p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  margin-bottom: 15px;
  text-align: center;
}

/** CONTENT
*****************************/
/* Page Header */
.page-header {
  padding: 30px 0;
  background: #fafafa;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  color: #888;
}

.page-header h1 {
  font-size: 28px;
  margin: 0 0 15px 0;
  font-weight: bold;
  color: #543B79;
}

.page-header p {
  padding: 0;
  margin: 0 0 15px 0;
  text-align: justify;
  font-size: 16px;
  color: #333;
}

/* Posts */
.post {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #ebebeb;
  background: #fafafa;
}

.post .entry-header {
  margin-bottom: 25px;
}

.post .featured-image {
  margin-bottom: 20px;
  text-align: center;
}

.post .featured-image img {
  width: 100%;
  height: auto !important;
}

.post .entry-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ccc;
  margin-top: 0;
  margin-bottom: 20px;
}

.post .entry-title {
  color: #333;
  font-weight: 700;
  font-size: 32px;
  text-decoration: none;
  word-wrap: break-word;
}

.post .entry-title a {
  color: #543B79;
  text-decoration: none;
}

.post .entry-title a:hover {
  color: #ffce1e;
}

.post .entry-content {
  color: #666;
  line-height: 1.8em;
}

.post .entry-content img {
  max-width: 100%;
  height: auto !important;
}

.post .entry-content h1, .post .entry-content h2, .post .entry-content h3, .post .entry-content h4, .post .entry-content h5, .post .entry-content h6, .post .entry-content strong {
  color: #333;
}

.post .entry-content table {
  width: 100%;
}

.post .entry-tags {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.post .buttons {
  text-align: center;
  margin-top: -10px;
}

.post .buttons a {
  display: inline-block;
  border-radius: 3px;
  padding: 8px 20px;
  margin: 0 5px;
  color: #fff;
}

@media (max-width: 768px) {
  .post .buttons a {
    margin: 0 2px;
    padding: 8px 12px;
  }
}

.post .buttons a.theme-download, .post .buttons a.theme-demo {
  background: #543B79;
}

.post .buttons a.theme-download:hover, .post .buttons a.theme-demo:hover {
  background: #000000;
  color: #543B79;
}

.post .buttons.single-post {
  padding-bottom: 20px;
  padding-top: 5px;
}

.post-list {
  height: 280px;
  overflow: hidden;
  margin-bottom: 30px;
}

.post-list .entry-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
  word-wrap: break-word;
  margin-bottom: 10px;
}

.post-list .featured-image {
  margin-top: 0px;
  margin-bottom: 15px;
}

.post-list .entry-content {
  overflow: hidden;
  line-height: 18px;
  font-size: 13px;
}

.post-list .buttons a {
  padding: 4px 14px;
}

/* Entry tags */
.entry-tags {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Archive Header */
.archive-header {
  padding: 30px 0;
  background: #fafafa;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  color: #888;
}

.archive-header h1 {
  font-size: 28px;
  margin: 0;
  padding: 0 0 10px 0;
  font-weight: bold;
  text-transform: capitalize;
  color: #543B79;
}

.archive-header p {
  padding: 0;
  margin: 0 0 10px 0;
  text-align: justify;
  font-size: 16px;
  color: #333;
}

/* Pages Content Area */
/* noting found */
.not-found {
  padding-top: 20px;
}

/* Contact Form */
.contact-form {
  margin-top: -10px;
  font-size: 14px;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  padding: 10px;
  border: 1px solid #c1c1c1;
}

.contact-form .your-subject input, .contact-form .theme-name input, .contact-form .theme-demo input, .contact-form .theme-download input, .contact-form textarea {
  width: 100%;
}

.contact-form input[type="submit"] {
  margin-top: 24px;
  transition: all 0.3s;
  border-radius: 3px;
  border: 0;
  padding: 10px 20px;
  background: #543B79;
  color: #fff;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background: #000000;
  color: #543B79;
}

.wpcf7-response-output {
  margin: 20px 0 0 0 !important;
}

/** Comments
*****************************/
#comments {
  margin: 30px 0 0 0;
}

#comments p {
  margin: 15px 0 10px 0;
}

h3#comments-title {
  font-weight: bold;
  font-size: 20px;
  padding: 0;
  margin: 0 0 15px 0;
}

.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.commentlist li.comment {
  line-height: 24px;
  margin: 0 0 15px 0;
  padding: 0 0 0 0px;
}

.commentlist li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#comments .comment-body ul,
#comments .comment-body ol {
  margin-bottom: 15px;
}

#comments .comment-body blockquote p:last-child {
  margin-bottom: 15px;
}

.commentlist .avatar {
  margin-right: 10px;
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-bottom: 2px;
  border-radius: 50%;
  float: left;
}

.comment-author {
  padding: 10px;
  height: 60px;
  display: block;
  background: #F2F2F2;
  border: 1px solid #DFDFDF;
  border-radius: 2px;
}

.comment-author cite {
  font-style: normal;
  font-weight: bold;
}

.comment-author .says {
  font-style: italic;
}

.fn, .fn a:link, .fn a:hover, .fn a:visited {
  font-family: Arial, Helvetica, Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
}

.comment-meta {
  margin: -30px 0 0 60px;
  display: block;
  font-size: 11px;
  padding: 0;
}

.comment-meta a:link,
.comment-meta a:visited {
  text-decoration: none;
}

.reply {
  text-align: right;
  margin: -5px 0 30px 0;
}

.comment-reply-link {
  font-size: 12px;
  font-weight: normal;
  text-decoration: none;
  background: #eee;
  border: 1px solid #ddd;
  color: #333;
  padding: 5px 20px;
  border-radius: 2px;
  transition: all  0.2s;
}

.comment-reply-link:hover {
  color: #fff;
  background: #543B79;
  border: 1px solid #543B79;
}

.comment-awaiting-moderation {
  float: right;
  margin-top: -42px;
  padding-right: 10px;
  color: red;
}

.commentlist .children {
  list-style: none;
  margin: 0;
}

/* Children */
.commentlist .children li {
  border: none;
  margin: 0;
}

.nocomments {
  display: none;
}

#comments .pingback {
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.commentlist li.comment + li.pingback {
  margin-top: -6px;
}

#comments .pingback p {
  font-size: 12px;
  line-height: 18px;
  display: block;
  margin: 0;
}

#comments .pingback .url {
  font-style: italic;
  font-size: 13px;
}

.comments-navigation {
  margin-bottom: 15px;
}

/* Comments form */
#respond {
  overflow: hidden;
  position: relative;
}

h3#reply-title {
  font-weight: bold;
  font-size: 20px;
  padding: 0;
  margin: 0 0 15px 0;
}

#respond .required {
  color: #FF4B33;
}

#respond .comment-notes {
  margin-bottom: 1em;
}

.form-allowed-tags {
  display: none;
}

.children #respond {
  margin: 0 48px 0 0;
}

#comments-list #respond {
  margin: 0 0 18px 0;
}

#comments-list ul #respond {
  margin: 0;
}

#cancel-comment-reply-link {
  font-size: 12px;
  line-height: 18px;
  font-weight: normal;
}

#respond .required {
  color: #FF4B33;
  font-weight: bold;
}

#respond label {
  font-size: 12px;
  font-weight: bold;
  display: block;
}

#respond input {
  margin: 10px 0 0 0;
  width: 50%;
  padding: 10px;
}

#respond textarea {
  width: 100%;
  margin: 10px 0 0 0;
  padding: 10px;
}

#respond .form-allowed-tags {
  font-size: 12px;
  line-height: 18px;
}

#respond .form-allowed-tags code {
  font-size: 11px;
}

#respond input[type=submit] {
  margin: 0;
}

#respond .form-submit {
  margin: 0;
}

#respond .form-submit input {
  width: auto;
  font-size: 14px;
  background: #543B79;
  color: #fff;
  border: none;
  padding: 10px 18px;
  transition: 0.3s;
  margin-top: 10px;
}

#respond .form-submit input:hover {
  background: #000000;
}

#respond dl {
  margin: 0 0 10px;
}

#respond dt {
  display: inline;
  font-weight: normal;
}

#respond dd {
  display: inline;
}

/** SIDEBAR
*****************************/
.sidebar {
  position: relative;
}

/* Search */
.searchform {
  text-align: left;
  background: #fff;
  border: 1px solid #cad4d7;
  margin-bottom: 20px;
  padding: 4px;
}

.searchform .s {
  background: #fff;
  color: #666;
  border: 0;
  padding: 0 10px;
  width: 80%;
  float: left;
  height: 34px;
  outline: none;
  margin: 0;
}

.searchform .sbutton {
  float: right;
  width: 20%;
  height: 34px;
  border: 0;
  margin-left: -2px;
  cursor: pointer;
  background: #543B79;
  color: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.searchform .sbutton:hover {
  background: #000000;
  color: #543B79;
}

.sad {
  margin-bottom: 20px;
  text-align: center;
}

/* Widget Area */
.widget-area {
  border: 1px solid #cad4d7;
  list-style-type: none;
  list-style: none;
  margin: 0 0 15px;
  padding: 15px;
  color: #333;
  font-size: 13px;
  background: #fff;
}

.widget-title {
  color: #fff;
  font-size: 16px;
  line-height: 14px;
  font-weight: 400;
  margin: -15px -15px 15px;
  padding: 12px 12px 14px;
  background: #543B79;
}

.widget-area .widget-title a,
.widget-area .widget-title a:hover {
  color: #111;
  text-decoration: none;
}

.widget-area a {
  color: #543B79;
  text-decoration: none;
}

.widget-area a:hover {
  color: #000000;
  text-decoration: none;
}

.widget ul {
  list-style-type: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  padding: 0;
  margin: 0 0 15px;
}

/** FOOTER
*****************************/
#footer {
  padding: 15px 0;
  background: #eee;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.copyrights {
  color: #333;
  padding: 15px 0;
  float: left;
}

@media (max-width: 767px) {
  .copyrights {
    float: none;
    text-align: center;
    padding-bottom: 0;
  }
}

.footer-menu {
  color: #555;
  font-size: 13px;
  padding: 15px 0;
  float: right;
}

.footer-menu a {
  color: #555;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #000000;
}

.footer-menu span {
  color: #ccc;
  margin: 0 5px;
}

@media (max-width: 767px) {
  .footer-menu {
    float: none;
    text-align: center;
  }
}
