/* 
Theme Name:  Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/

/* Layout */

/* root */
:root {
  --primary-font: "Assistant", sans-serif;
}

body {
  font-size: 16px;
  font-family: var(--primary-font);
}

@media (max-width: 860px) {
  body {
    font-size: 14px;
  }
}
.row {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.row.row-column {
  flex-direction: column;
}

@media (max-width: 860px) {
  .row {
    flex-direction: column-reverse;
  }

  .row.row-2-mobile {
    flex-direction: row;
    display: flex;
  }
}

.row.height-50 {
  width: 100%;
  height: 49.7%;
}

.row .col-12.height-25 {
  width: 100%;
  height: 23%;
}

.height-500-px {
  height: 500px;
}

@media (max-width: 860px) {
  .height-500-px {
    height: auto;
  }
}

.b-element {
  display: block;
  width: 100%;
  height: 100%;
}

.col-4 {
  width: 40%;
  max-width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-6 {
  width: 49.7%;
  max-width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-8 {
  width: 60%;
  max-width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 860px) {
  .col-6 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 5px;
  }
  .row-2-mobile .col-6 {
    width: 49%;
    height: 280px;
  }
}

.col-12 {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
}

/* Header */
#site-header {
  background: #f9f9f9;
}

footer .site-branding {
  margin: auto;
}

.site-branding {
  width: 20% !important;
}

footer .site-branding {
  width: 10% !important;
}

@media (max-width: 860px) {
  footer .site-branding {
    width: 20% !important;
  }
}

@media (max-width: 860px) {
  .site-branding {
    width: 40%;
  }
}

/* Top Navigation */

body .site-main {
  max-width: 1140px;
  margin: 15px auto auto auto;
}
@media (max-width: 860px) {
  body .site-main {
    margin: 0;
  }
}
.site-navigation a {
  color: #000;
  font-family: var(--primary-font);
  font-size: 1.3rem;
  font-weight: bold;
}

/* main-articles-section */
.main-articles-section-wrap {
  height: 80vh;
}

@media (max-width: 860px) {
  .main-articles-section-wrap {
    height: auto;
  }
}

.article__item {
  position: relative;
  overflow: hidden;
}

.article__item:hover img {
  /* rotate and scale */
  transform: rotate(-1deg) scale(1.1);
  transition: 1s all;
}

.article__item__content {
  position: absolute;
  bottom: 0;
  background-color: #000000bd;
  color: #fff;
  padding: 10px;
  width: 100%;
}

.article__item__content__date {
  font-size: 0.8rem;
  margin: 0;
}

.article .article__item__content {
  width: 100%;
}

@media (max-width: 860px) {
  .article .article__item__content {
    height: 80px;
  }
}

.article .article__item__content h3 {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5;
}

.article-carousle .article__item__content h3 {
  font-size: 1.4rem;
}

@media (max-width: 860px) {
  .main-articles-section-wrap .article-carousle {
    height: 400px;
  }
  .article-carousle .article__item__content h3 {
    font-size: 1rem;
    font-weight: 400;
  }

  .article .article__item__content h3 {
    font-size: 0.8rem;
  }

  .article__item__content__text {
    display: none;
  }
}

.article__item__img {
  overflow: hidden;
}

.article__item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__item__content__link {
  display: inline-block;
  text-decoration: auto !important;
  float: left;
  text-align: left;
  color: #fff;
  font-size: 0.8rem;
}

.article .article__item__content__link {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.article__item__content__link:hover {
  color: #fff;
  font-weight: bold;
}

.article__category_label {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;

  color: #fff;
}

.article__category_label a {
  color: #fff;
}

.category-articles-section-wrap {
  height: auto;
}

#main-articles-section a {
  color: #fff;
  text-decoration: none;
}

.category-articles-section-wrap a {
  color: #000;
  text-decoration: none;
}

@media (max-width: 860px) {
  .category-articles-section-wrap .article {
    height: 100px;
    margin-bottom: 10px;
  }
}

.category-articles-section-wrap .article__item {
  display: flex;
}

.category-articles-section-wrap
  .article-right
  .article__item
  .article__item__img {
  width: 30%;
}

.article-right .article__item__content {
  position: relative;
  width: 70%;
  height: 100%;
  background-color: #f1f1f140;
  color: #000;
}

.article-right .article__item__content h3 {
  font-size: 0.9rem;
}

.category-articles-section-wrap .article-carousle .article__item__img {
  height: 60%;
}

@media (max-width: 860px) {
  .category-articles-section-wrap .article-carousle .article__item__img {
    height: 330px;
  }
}

.category-articles-section-wrap .article-carousle .article__item__content {
  height: 40%;
  background-color: #f1f1f140;
  color: #000;
}

@media (max-width: 860px) {
  .category-articles-section-wrap .article-carousle .article__item__content {
    height: 30%;
    background-color: #fff;
  }
}

.category-articles-section-wrap .article__item__content__link {
  color: #000;
}

.category-articles-section-wrap .category-header {
  margin-bottom: 10px;
}
.category-articles-section-wrap .category-header h2 {
  margin: 0;
  font-size: 1.3rem;
  background: black;
  padding: 10px;
  color: #fff;
}

/* side-articles */
.side-articles {
  height: 555px;
  overflow: scroll;
  /* hide scroller */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  margin-left: 20px;
}
@media (max-width: 860px) {
  .side-articles {
    margin-left: 0;
  }
}
.side-articles::-webkit-scrollbar {
  display: none;
}
.side-articles .row {
  display: flex;
  flex-direction: column;
}

.side-articles .blog-item {
  margin-bottom: 20px;
}

.side-articles a {
  color: #000;
}

.side-articles h3 {
  margin: 0;
  font-size: 1.3rem;
}

@media (max-width: 860px) {
  .side-articles .blog-item-content {
    padding: 15px;
  }
}

.single-post .side-articles {
  height: auto;
  overflow: unset;
  margin-left: 0;
    margin-right: 30px;
}
/* single post */
.single-post main {
  display: flex;
}

@media (max-width: 860px) {
  .single-post main {
    flex-direction: column;
  }
}

.single-post .post-main-content {
  width: 65%;
  margin-left: 30px;
  margin:0 auto;
}

@media (max-width: 860px) {
  .single-post .post-main-content {
    width: 100%;
  }
}

.single-post .post-main-content .entry-title {
  margin: 0;
  font-weight:900;
}

@media (max-width: 860px) {
  .single-post .post-main-content .entry-title {
    font-size: 2rem;
    padding: 0;
    margin-bottom: 5px;
    margin-top: 15px;
  }
}

.single-post .post-main-content .post-meta {
  background: whitesmoke;
  padding: 3px 10px;
  font-size: 0.8rem;
  margin: 5px 0;
  display: initial;
}

.single-post .post-main-content .page-content {
  margin-top: 10px;
}

.single-post .post-main-content .page-content .size-full {
  width: 100%;
  height: auto;
  margin: 0;
}

.single-post .post-sidebar {
  width: 35%;
}

@media (max-width: 860px) {
  .single-post .post-sidebar {
    width: 100%;
  }
}

#comments {
  display: none;
}

/* Top Ad */

.top-ad img {
  width: 100%;
  height: 100%;
}

/* Archive page */
.archive .page-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.archive .entry-title {
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .archive .page-content {
    flex-direction: column;
  }
}

.archive .page-content::after {
  content: "";
  flex: auto;
}

.archive .page-content article {
  width: 32%;
  margin-bottom: 20px;
  margin-right: 5px;
  margin-left: 5px;
}

@media (max-width: 860px) {
  .archive .page-content article {
    margin-right: 0px;
    margin-left: 0px;
  }
}

@media (max-width: 860px) {
  .archive .page-content article {
    width: 100%;
  }
}

.archive .page-content article img {
  height: 280px;
  object-fit: cover;
}

.archive .page-content article a {
  color: #000;
}

.archive .page-content article h2 {
  font-size: 1.3rem;
}

.wpcf7{
  text-align:center;
}

.wpcf7 label{
  text-align:right;
}

.wpcf7 input{
 margin-top:5px; 
  text-align:right;
}

.wpcf7-form.init{
      background: #fafafa;
    padding: 10px;
    width: 80%;
    margin: 20px auto;
  box-shadow: 1px 1px 5px gainsboro;
}

@media(max-width:760px){
.wpcf7-form.init{
    width: 90%;
}
}

.wpcf7 input[type="submit"]{
      background: red;
    color: #fff;
    width: fit-content;
  text-align:center;
}

@media(max-width:760px){
.wpcf7 input[type="submit"]{
    width: fit-content;
}
}

.wpcf7 input[type="submit"]:hover{
      background: #ed4c4c;
}
  
  
.wpcf7 .wpcf7-spinner{
  position:absolute;
}

.wpcf7  .form-title-mi{
     font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-content p{
       font-size: 1.1rem;
}

@media(max-width:760px){
.page-content p{
       font-size: 1.2rem;
}
}

.page-content h2{
       font-size: 1.2rem;
}

@media(max-width:760px){
.page-content h2{
       font-size: 1.2rem;
}
}


.footer-info{
    background-color: #f1f1f1;
    text-align: center;
    padding: 50px;
}

@media(max-width:760px){
.footer-info{
    background-color: #f1f1f1;
    text-align: center;
    padding: 20px;
}
}

.footer-info p{
 margin:0; 
}

.footer-inner{
      display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}