/* 
Theme Name: Dynamic Business Help Theme
Theme URI: -
Description: -
Author: TARA Interactive
Author URI: https://tarainteractive.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
  --side-bar-width: 25%;
  --color-blue: #0c5dff;
  --color-dark-blue: #031b4b;
  --color-orange: #fe7109;
  --paragraph-color: #001235;
  --heading-color: #031b4b;
}

body,
html {
  min-height: 100%;
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.container {
  min-height: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

footer {
  background-color: white;
  color: black;
}
header {
  background-color: var(--color-dark-blue);
  color: white;
}

header .site-branding .site-title a {
  color: white;
}

footer {
  margin-top: auto;
  padding: 40px 0;
  bottom: 0;
  width: 100%;
}

footer p {
  color: var(--paragraph-color);
  margin: 0;
}

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

main#content,
div.site-content {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  color: var(--heading-color);
}

a {
  color: var(--heading-color);
  font-weight: 500;
}

a:hover {
  color: var(--color-orange);
}

p {
  color: var(--paragraph-color);
}

.site-branding {
  padding: 20px 0px;
}

.site-branding h1 {
  margin: 0;
}

.side-bar {
  width: calc(var(--side-bar-width));
  margin: 20px 20px 20px 0;
}

.side-bar ul {
  padding-left: 20px;
}

.side-bar li {
  list-style-type: none;
}

.side-bar h6 {
  margin: 0;
  text-transform: uppercase;
  color: black;
}

.category-page,
.article-page {
  width: calc(100% - var(--side-bar-width));
  border-left: 1px solid #ccc;
  padding: 20px;
}

.category-articles {
  display: flex;
  flex-direction: column;
}

.category-articles a {
  width: fit-content;
}

header.page-header {
  display: none;
}

header > .container {
  display: flex;
  justify-content: space-between;
}

.site-branding {
  width: fit-content;
}

.site-navigation {
  justify-content: flex-end;
}

.site-navigation a {
  background-color: var(--color-orange);
  color: white;
  border-radius: 10px;
}

.site-navigation a:hover {
  background-color: white;
  color: black;
}

.categories-list h4 > a {
  color: black;
}

.categories-list h4 > a:hover {
  text-decoration: underline;
}

.categories-list h4 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.category-wrapper {
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.category-wrapper:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 14, 85, 0.2),
    0 6px 20px 0 rgba(0, 14, 85, 0.2);
}

.category-wrapper > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-wrapper-img {
  height: 100%;
  border-radius: 10px 10px 0px 0px;
  background-color: #eee;
  padding: 40px 60px;
  border: 1px solid #ccc;
}

.category-wrapper-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 10px 20px 20px;
  border-radius: 0px 0px 10px 10px;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.category-wrapper h5 {
  text-align: center;
  color: black;
  margin: 0;
}

.category-wrapper p {
  text-align: center;
  font-weight: 400;
  color: gray;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .site-content {
    flex-direction: column-reverse;
  }
  .category-page,
  .article-page {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
  }
  .side-bar {
    width: 100%;
    margin: 20px 0;
  }
  .d-flex-col-rev-767 {
    flex-direction: column-reverse;
  }
}
