body {
  font-family: "Karla", sans-serif;
  font-size: 0.875rem;
  line-height: 1.71428572;
  position: relative;
}

[dir="rtl"] body {
  text-align: right;
}

@media (min-width: 992px) {
  body {
    background-color: #ccc;
    background-image: linear-gradient(53deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .5));
    background-blend-mode: overlay;
    background-size: 3840px 2160px;
    background-position: center;
    height: 100vh;
    z-index: -1;
  }
}

body,
input,
textarea,
select,
button {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p.lead {
  font-size: 1rem;
}

b,
strong {
  font-weight: 700;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: currentColor;
  -webkit-transition: color 0.25s ease;
  transition: color 0.25s ease;
}

a:hover,
a:focus {
  color: #009bdb;
  text-decoration: none;
}

a:focus {
  outline: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul.list-style,
ol.list-style {
  padding: 0 0 1rem 1rem;
}

[dir="rtl"] ul.list-style,
[dir="rtl"] ol.list-style {
  padding: 0 1rem 1rem 0;
}

:focus {
  outline: none;
}

blockquote {
  border-left: 4px solid #009bdb;
  padding: 0 1rem;
}

[dir="rtl"] blockquote {
  border-left: none;
  border-right: 4px solid #009bdb;
}

[dir="rtl"] dd {
  margin-right: 0;
}


/* Headings
============================================= */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.5;
  text-rendering: optimizelegibility;
}

 /* Home page
============================================= */
.custom-logo{
	box-shadow: 0 5px 15px -8px rgba(0,0,0,.24), 0 8px 10px -5px rgba(0,0,0,.2);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	max-width: 100%;
	height: auto;
}
.home-page .profile-page .page-header {
    height: 235px;
    background-position:center;
}
.home-page .page-header {
    height: 100vh;
    background-size: cover;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
}
.home-page .header-filter:after, .header-filter:before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}
.home-page .header-filter::before {
    background: rgba(0,0,0,.5);
    height: 235px;
}
.home-page .main-raised {
    margin: -60px 80px 0;
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
}
.home-page .main {
    background: #FFF;
    position: relative;
    z-index: 3;
}
.home-page .profile-page .myprofile {
    text-align: center;
}
.home-page .profile-page .myprofile img {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    -webkit-transform: translate3d(0,-50%,0);
    -moz-transform: translate3d(0,-50%,0);
    -o-transform: translate3d(0,-50%,0);
    -ms-transform: translate3d(0,-50%,0);
    transform: translate3d(0,-50%,0);
}
.home-page .img-raised {
    box-shadow: 0 5px 15px -8px rgba(0,0,0,.24), 0 8px 10px -5px rgba(0,0,0,.2);
}
.home-page .rounded-circle {
    border-radius: 50%!important;
}
.home-page .img-fluid, .img-thumbnail {
    max-width: 100%;
    height: auto;
}
.home-page .wp-title {
    color: #3C4858;
    font-family: "Roboto Slab","Times New Roman",serif;
    font-size: 24px;
}
.home-page .profile-page .myprofile .name{
    margin-top: -50px;
}
.home-page .card-footer{
  margin: 25px 0 0 0 !important;
}
.home-page .home-page-article{
    font-size: 16px;
    line-height: 20px;
}
/* Icon Font
============================================= */

.icon {
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  color: currentColor;
  line-height: 1;
  text-align: center;
  text-transform: none;
  display: inline-block;
  vertical-align: middle;
  speak: none;
  width: 1em;
  height: 1em;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Icon Box
============================================= */

.icon-box {
  padding-bottom: 10px;
}

@media (max-width: 991px) {
  .icon-box {
    text-align: center;
  }
}

.icon-box-icon {
  font-size: 40px;
  line-height: 40px;
}

.icon-box-content h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}


/* Button
============================================= */

.btn {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 1.375rem 2rem;
  border-radius: 0;
}

.btn-sm {
  padding: 1rem 2rem;
}

.btn-lg {
  padding: 2rem 3rem;
}


/* Background Image
============================================= */
canvas {
  display: block;
  vertical-align: bottom;
}


/* Loader
============================================= */

.loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  overflow: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  background-color: #009bdb;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  vertical-align: middle;
  -webkit-animation: loading 1s infinite ease-in-out;
  animation: loading 1s infinite ease-in-out;
}

@-webkit-keyframes loading {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}

@keyframes loading {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}


/*
Site Navigation
==================================================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  text-align: center;
  background-color: #fff;
  z-index: 999;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 5px solid #019bdb;
}
.site-nav li{
  padding: 5px 0;
}
.site-nav ul li a {
  display: block;
  width: 100%;
}

.site-nav li:before {
  font-size: 24px;
  padding: 3px 0;
}

@media (min-width: 992px) {
  .site-nav {
    opacity: 0;
    visibility: hidden;
    top: 50%;
    left: auto;
    right: 0;
    width: 70px;
    height: auto;
    background-color: #fff;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: visibility 0.3s, opacity 0.3s 1s;
    transition: visibility 0.3s, opacity 0.3s 1s;
  }
  [dir="rtl"] .site-nav {
    left: 0;
    right: auto;
  }
  .blog .site-nav,
  .single .site-nav,
  .book-open .site-nav {
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: column;
  }
  .site-nav ul li a {
    display: block;
    padding: 8px 5px;
    border-bottom: 1px solid #ececec;
  }
  .site-nav ul li:last-child a {
    padding-bottom: 1rem;
    border-bottom:none;
  }
}

.site-nav ul li a span.text {
  font-size: 0.625rem;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .site-nav ul {
    justify-content: space-around;
  }
  .site-nav ul li {
    width: 100%;
  }
  .site-nav ul li a span.text {
    display: none;
  }
}


/* Sections
==================================================================================================== */

@media (min-width: 992px) {
  .main > .container-fluid {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1200px) {
  .main > .container-fluid {
    padding-right: 70px;
    padding-left: 70px;
  }
}

.section-block {
  padding: 40px 15px 0;
}

@media (min-width: 992px) {
  .section-block:last-child {
    padding-bottom: 32px;
  }
}

@media (max-width: 991px) {
  .blog .section-block {
    padding-top: 75px;
  }
}
.main > .container-fluid > .section-block:first-child {
  padding-top: 60px;
}

.section-block .title {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 7px 1rem 0 0;
  z-index: 0;
}

[dir="rtl"] .section-block .title {
  padding: 7px 0 0 1rem;
}

.section-block .title::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -50px;
  width: calc(100% + 50px);
  height: 40px;
  background-color: #019bdb;
  z-index: -1;
}

[dir="rtl"] .section-block .title::before {
  left: auto;
  right: -50px;
}

.section-block .title-lg {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .section-block {
    padding: 10px;
  }
  .main > .container-fluid > .section-block:first-child {
    padding-top: 4rem;
  }
  .section-block .title-lg {
    font-size: 2.5rem;
    line-height: 1.4;
  }
}

.slimScrollBar {
  width: 5px !important;
  opacity: 0.2 !important;
  /*display: block !important;*/
  border-radius: 5px !important;
  z-index: 999 !important;
}

[dir="rtl"] .slimScrollBar {
  left: 1px !important;
  right: auto !important;
}

/* Home
============================================= */
.card-footer {
  border: none;
  border-radius: 0 !important;
  background-color: #fff;
  color: #333;
  margin: 0 -1.5rem;
  padding: 0;
  text-align: center;
}

.card-nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-nav ul li {
  width: 100%;
}

.card-nav ul li a span {
  display: block;
  width: 100%;
}

.card-nav ul li a span.icon {
  font-size: 16px;
  height: 40px;
  line-height: 40px;
}

/* Blog
============================================= */

.post-thumbnail {
  position: relative;
}

.post-thumbnail > a {
  position: relative;
  display: block;
}

@media (max-width: 991px) {
  .post-image {
    width: 100%;
    height: 60vh;
  }
}

.post-heading {
  position: absolute;
  top: auto;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 1.25rem 0;
  color: #fff;
  background: rgba(0, 0, 0, 0) linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%) repeat scroll 0% 0%;
  z-index: 1;
}

.post-without-thumbnail{
  margin: 40px 0 15px 0;
}
.post-without-thumbnail .post-heading{
  color: #000;
  background: none;

}
.post-without-thumbnail .post-heading{
  padding: 0;
}
.post-without-thumbnail .post-content{
    padding-top: 0;
}

.single .post-heading {
  position: relative;
  padding: 0;
  color: currentColor;
  background: none;
}

.post-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem
  }
}

.single .post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .single .post-title {
    font-size: 2rem;
  }
}

.post-title a {
  display: block;
}

.post-title a:hover,
.post-title a:focus {
  color: #ddd;
}

.post ul.post-meta {
  display: block;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  color: #999;
}

.single ul.post-meta {
  margin: 0 0 2rem 0;
}

.post ul.post-meta > li {
  display: inline-block;
}

.post ul.post-meta > li:not(:last-child) {
  margin-right: 8px;
}

.post-content {
  position: relative;
  padding: 1.5rem 0;
}

.single .post-content {
  padding: 0 0 1.5rem;
}

@media (max-width: 767px) {
  .post-content {
    display: none;
  }
  .single .post-content {
    display: block;
  }
}

.single .post-content > a,
.single .post-content > p a {
    color: #00abff;
}

.single .post-content > a:hover,
.single .post-content > p a:hover {
    color: currentColor;
}

.post-content > .dropcap:first-letter {
  font-size: 3.375rem;
  font-weight: 700;
  line-height: 1em;
  float: left;
  margin-right: 0.625rem;
}

.post-content img {
  margin: 0.75rem 0;
}

img.alignleft {
  float: left;
  margin: 0.75rem 1.25rem;
  margin-left: 0;
}

img.alignright {
  float: right;
  margin: 0.75rem 1.25rem;
  margin-right: 0;
}

@media (min-width: 768px) {
  img.alignleft,
  img.alignright {
    max-width: 50%;
  }
}

h4.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.comments li {
  margin-bottom: 1.5rem;
  border-radius: .3rem;
}

.comments li ul {
  padding: 1rem;
  background-color: #f8f8f8;
  border-radius: .3rem;
  margin-left: 20px;
  list-style: none;
}

[dir="rtl"] .comments li ul {
  margin-left: 0;
  margin-right: 48px;
}

.comments li ul li {
  margin-bottom: 0;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  float: left;
}

[dir="rtl"] .comment-avatar {
  float: right;
}

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

.comment-content {
  padding: 0.625rem 0;
  margin-left: 4rem;
}

[dir="rtl"] .comment-content {
  margin-left: 0;
  margin-right: 4rem;
}

.comments li ul li .comment-content {
  padding: 0.625rem 0 0;
}

.comment-meta {
  font-size: 0.9rem;
  color: #999;
}

/* Footer
============================================= */
.left-page .bb-custom-side-space-bottom{
  display: none !important;
}
.site-info{
  padding: 10px 5px;
  margin: 10px 0;
  display: block;
  border-top: 1px solid #009bdb;
  color: #333;
}
.site-info a{
  color: #009bdb;
}


/*-toggle Sidebar-*/
.toggle-button {
  position: fixed;
  width: 44px;
  height: 40px;
  padding: 4px;
  transition: 1.6s;
  -webkit-transition: 1.6s;
  -moz-transition: 1.6s;
  -o-transition: 1.6s;
  z-index: 15;
  margin: 1% 0 0 1%;
  background: rgba(0, 155, 219, 0.6);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  z-index: 999999999999;
}
.toggle-button:hover {
  cursor: pointer;
}
.toggle-button .menu-bar {
  position: absolute;
  border-radius: 2px;
  width: 80%;
  transition: .5s;
}
.toggle-button .menu-bar-top {
  border: 4px solid #555;
  border-bottom: none;
  top: 6px;
}
.toggle-button .menu-bar-middle {
  height: 4px;
  background-color: #555;
  margin-top: 7px;
  margin-bottom: 7px;
  top: 10px;
}
.toggle-button .menu-bar-bottom {
  border: 4px solid #555;
  border-top: none;
  top: 28px;
}
.button-open .menu-bar-top {
  transform: rotate(45deg) translate(8px, 8px);
  transition: .5s;
}
.button-open .menu-bar-middle {
  transform: translate(230px);
  transition: .1s ease-in;
  opacity: 0;
}
.button-open .menu-bar-bottom {
  transform: rotate(-45deg) translate(8px, -7px);
  transition: .5s;
}
.menu-wrap {
    background-color: #F7F7F7;
    position: fixed;
    top: 0;
    height: 100%;
    overflow: scroll;
    width: 280px;
    padding: 60px 10px 10px 10px;
    margin-left: -280px;
    font-size: 1em;
    font-weight: 700;
    overflow: auto;
    transition: .25s;
    z-index: 99999;
}
.menu-show {
    margin-left: 0;
}
.entry-footer{
  padding: 3% 0 15% 0;
  color: #009bdb;
}
@media (max-width: 992px) {
  .toggle-button{right: 2%;top: 9%;}
}
@media (max-width: 600px) {
  .home-page .main-raised{margin-left: 30px;margin-right: 30px;}
  .site-nav ul li a span{display: none;}
}

.pagination{
  margin-bottom: 10%;
}
.pagination .screen-reader-text{
  display: none;
}
.pagination a,.pagination span {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
}
.pagination span{
    background-color: #009bdb;
    color: #FFF;
}
.pagination a:hover:not(span) {background-color: #ddd;}
.pagination span.dots{background-color: #FFF;color: #ccc;}
.pagination a:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.pagination a:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}