/*!
Theme Name: GAA
Theme URI: https://webdeveloper.com.ua/
Author: webdeveloper.com.ua
Author URI: https://t.me/webdeveloper_com_ua
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gaa
Tags:
----------------------------------------------------------------------------------------- */

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* Colors */
  --color-black: #000;
  --color-white: #fff;

  --color-main: ;

  --color-accent: #013e5e;
  --color-accent-light: #3daccf;
  --color-accent-trans: #aaaaaa05;

  --color-gray: #dddddd;
  --color-gray-dark: darkgray;
  --color-gray-light: #fbfbfb;

  /* Fonts */
  --font-serif: ;
  --font-sans-serif: "Manrope", sans-serif; /* 200, 300, 400, 500, 600, 700, 800 */
}

html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
  font-weight: 400;
  font-display: auto;
  font-family: var(--font-sans-serif);
}

.container,
.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container {
  max-width: 1180px !important;
}

.row {
  box-sizing: border-box;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex: 0 1 auto;
  -webkit-box-flex: 0;
  flex: 0 1 auto;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.x-center {
  justify-content: center;
}

[class*="col-"] {
  box-sizing: border-box;
  -ms-flex: 0 0 auto;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 15px;
}

.col-xs {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  -webkit-box-flex: 1;
  flex-grow: 1;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  max-width: 100%;
}

.col-xs-1 {
  -ms-flex-preferred-size: 8.333%;
  flex-basis: 8.333%;
  max-width: 8.333%;
}

.col-xs-2 {
  -ms-flex-preferred-size: 16.667%;
  flex-basis: 16.667%;
  max-width: 16.667%;
}

.col-xs-3 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
  max-width: 25%;
}

.col-xs-4 {
  -ms-flex-preferred-size: 33.333%;
  flex-basis: 33.333%;
  max-width: 33.333%;
}

.col-xs-5 {
  -ms-flex-preferred-size: 41.667%;
  flex-basis: 41.667%;
  max-width: 41.667%;
}

.col-xs-6 {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  max-width: 50%;
}

.col-xs-7 {
  -ms-flex-preferred-size: 58.333%;
  flex-basis: 58.333%;
  max-width: 58.333%;
}

.col-xs-8 {
  -ms-flex-preferred-size: 66.667%;
  flex-basis: 66.667%;
  max-width: 66.667%;
}

.col-xs-9 {
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  max-width: 75%;
}

.col-xs-10 {
  -ms-flex-preferred-size: 83.333%;
  flex-basis: 83.333%;
  max-width: 83.333%;
}

.col-xs-11 {
  -ms-flex-preferred-size: 91.667%;
  flex-basis: 91.667%;
  max-width: 91.667%;
}

.col-xs-12 {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 100%;
}

@media only screen and (min-width: 576px) {
  .col-sm {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-sm-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-sm-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-sm-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-sm-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-sm-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-sm-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-sm-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-sm-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-sm-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-sm-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-sm-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-sm-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .col-md {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-md-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-md-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-md-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-md-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-md-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-md-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-md-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-md-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-md-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-md-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-md-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-md-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 1200px) {
  .col-lg {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-lg-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-lg-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-lg-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-lg-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-lg-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-lg-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-lg-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-lg-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-lg-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Template Parts
 *
----------------------------------------------------------------------------------------- */

/*  Template Part: Site Header
----------------------------------------------------------------------------------------- */

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: 0.1s;
  position: sticky;
  background: var(--color-white);
}

.site-header.fixed {
  box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.116);
}

/* .site-header__middle */
.site-header__middle {
  display: flex;
  transition: 0.3s;
  align-items: center;
}

.site-header__middle [class*="col-"] {
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: space-between;
}

#reg-button {
  display: flex;
  flex-direction: column;
}
#reg-button span {
  display: block;
}

@media only screen and (max-width: 576px) {
  .site-header__middle [class*="col-"] {
    min-height: 80px;
  }
  .site-header .languange-switcher,
  .site-header .phone-numbers {
    display: none;
  }
  .site-header .buttons {
    flex-direction: row;
  }
  .site-header .buttons > :not(:first-child) {
    margin: 0 0 0 10px;
  }
  #reg-button span {
    display: none;
  }
}

/*  Template Part: Page Header
----------------------------------------------------------------------------------------- */
.content-header {
  padding: 30px 0;
  color: var(--color-white);
  background: var(--color-accent);
}

.page-title {
  font-size: 42px;
  margin: 0 !important;
}

@media only screen and (max-width: 576px) {
  .page-title {
    font-size: 22px;
  }
}

/*  Template Part: Entry Content
----------------------------------------------------------------------------------------- */
.entry-content [class*="col-"] > *:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-gray-light);
}

/*  Template Part: Comments
----------------------------------------------------------------------------------------- */
.comment-list > .comment {
  padding: 30px;
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-light);
}

.comment-list > .comment:not(:last-child),
.comment-list > .comment ul.children .comment:not(:last-child) {
  margin-bottom: 30px;
}

.comment-list > .comment ul.children {
  margin: 30px 0 0 30px;
}

.comment-body {
  padding: 30px;
  background: var(--color-white);
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-meta > .comment-author {
  display: flex;
  align-items: center;
}

.comment-meta > .comment-author > .avatar {
  margin-right: 10px;
}

.comment-meta > .comment-metadata {
  font-size: 12px;
}

.comment-content {
  padding: 15px 0;
  margin: 15px 0;
  border-top: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
}

/*  Template Part: Site Footer
----------------------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid var(--color-gray);
}

.site-footer > *:not(:last-child)::after {
  content: "";
  display: block;
  margin: 0 auto;
  max-width: 1150px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-gray);
}

/* .site-copyright */
.site-copyright {
  opacity: 0.6;
}

@media only screen and (max-width: 576px) {
  .site-footer {
    padding: 30px 0;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Blocks
 *
----------------------------------------------------------------------------------------- */

/*  Block: Link Box
----------------------------------------------------------------------------------------- */
.link-box {
  display: flex;
  height: 100%;
  padding: 45px;
  font-size: 16px;
  font-weight: 500;
  background: var(--color-accent-trans);
  flex-direction: column;
  justify-content: space-between;
}

.link-box .icon {
  width: 100px;
  min-width: 100px;
  height: 100px;
  min-height: 100px;
  object-fit: contain;
}

.link-box:hover {
  color: var(--color-accent-light);
}

.link-box:hover .title {
  text-decoration: underline;
}

.link-box > * {
  display: block;
}

.link-box > *:not(:last-child) {
  margin-bottom: 30px;
}

/*  Block: Phone Numbers
----------------------------------------------------------------------------------------- */
.phone-numbers > * {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-accent);
}

/*  Block: Site Branding
----------------------------------------------------------------------------------------- */
.site-branding {
  display: flex;
  align-items: center;
}

.site-branding .logo {
  max-height: 52px;
}

/*  Block: Program Anounce
----------------------------------------------------------------------------------------- */
.program-anounce {
  padding: 45px;
  border-radius: 5px;
  border: 1px solid var(--color-gray);
}

.program-anounce > * {
  display: block;
}

.program-anounce > *:not(:first-child) {
  margin-top: 30px;
}

.program-anounce .title {
  font-size: 24px;
  font-weight: 500;
}

/*  Block: Lecturer Anounce
----------------------------------------------------------------------------------------- */
.lecturer-anounce {
  height: 100%;
  display: flex;
  padding: 45px;
  transition: 0.3s;
  flex-direction: column;
  background: #00000005;
}

.lecturer-anounce > *:not(:last-child) {
  margin-bottom: 15px;
}

.lecturer-anounce:hover {
  background: #3daccf0d;
  box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.05);
}

/* .lecturer-anounce__cover */
.lecturer-anounce__cover {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 100%;
  overflow: hidden;
  background: var(--color-gray-light);
}

.lecturer-anounce__cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .lecturer-anounce__title */
.lecturer-anounce__title {
  font-size: 22px;
  font-weight: 500;
  max-width: 240px;
  line-height: 1.6;
}

/*  Block: Post Anounce
----------------------------------------------------------------------------------------- */
.post-anounce {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray);
}

.post-excerpt {
  padding: 25px;
}

.post-excerpt > *:not(:last-child) {
  margin: 0 0 15px 0;
}

.post-anounce .buttons {
  padding: 0 25px 25px 25px;
}

/* .post-anounce__cover */
.post-anounce__cover {
  height: 200px;
  overflow: hidden;
  background: var(--color-gray-light);
}

.post-anounce__cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .post-anounce__title */
.post-anounce__title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 15px 0;
  color: var(--color-accent);
}

.post-anounce > .buttons {
  margin-top: auto;
}

.post-meta {
  background: #013e5eb3;
  color: var(--color-white);
  padding: 15px;
}

.post-meta li {
  display: flex;
  align-items: center;
}

.post-meta li:not(:last-child) {
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid var(--color-gray);
}

.post-meta li > b {
  width: 60px;
  display: block;
}

/* --------------------------------------------------------------------------------------
 *
 *  Template Sections
 *
----------------------------------------------------------------------------------------- */

section {
  padding: 60px 0;
}

@media only screen and (max-width: 576px) {
  section {
    padding: 30px 0;
  }
}

/*  Section: Documents Feed
----------------------------------------------------------------------------------------- */

/*  Section: Contacts
----------------------------------------------------------------------------------------- */
/* #google-map */
#google-map {
  width: 100%;
  border: none;
  height: 480px;
}

/*  Section: Hero
----------------------------------------------------------------------------------------- */
#hero {
  padding: 0;
}

#hero > .overlaying {
  padding: 60px 0;
  display: flex;
  text-align: center;
  align-items: center;
  background: #013e5e6e;
  color: var(--color-white);
  min-height: calc(var(--vh, 1vh) * 100 - 82px);
}

.hero h1 {
  text-align: left;
  margin: 0 !important;
}

/*  Section: 404
----------------------------------------------------------------------------------------- */

/* .content-404 */
.content-404 {
  text-align: center;
}

.content-404 .label {
  line-height: 1;
  font-weight: 800;
  font-size: 250px;
}

@media only screen and (max-width: 576px) {
  .content-404 .label {
    font-size: 125px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Components
 *
----------------------------------------------------------------------------------------- */

/*  Component: Form
----------------------------------------------------------------------------------------- */

form .row > [class*="col-"] {
  padding: 5px;
}

.label-title {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin: 0 0 15px 0;
}

/*  */
.wpcf7-form br {
  display: none;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}
/*  */
input,
select {
  width: 100%;
  border-radius: 5px;
  padding: 20px;
  border: 1px solid var(--color-gray);
}

@media only screen and (max-width: 576px) {
  input,
  select {
    padding: 10px 15px;
  }
}

/*  Component: Widgets
----------------------------------------------------------------------------------------- */
.widget-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-accent);
  margin-bottom: 15px !important;
}

/*  */
.widget-list > * {
  display: block;
  line-height: 1.5;
}

.widget-list > *:not(:last-child) {
  margin-bottom: 5px;
}

/*  Component: Languange Switcher
----------------------------------------------------------------------------------------- */
.languange-switcher {
  display: flex;
  align-items: center;
}

.languange-switcher > .glink {
  display: block;
}

.languange-switcher > .glink:not(:last-child) {
  margin-right: 15px;
}

/*  Component: Editor Styles
----------------------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  margin-bottom: 30px;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

@media only screen and (max-width: 576px) {
  h2 {
    font-size: 24px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p {
  line-height: 1.5;
}

p:not(:last-child) {
  margin-bottom: 15px;
}

ul,
ol,
dl {
  line-height: 1.5;
  list-style: none;
}

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

/* table */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

th,
td {
  padding: 25px;
  text-align: left;
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

table .title {
  font-size: 18px;
  font-weight: 500;
}

table .title:hover {
  text-decoration: underline;
  color: var(--color-accent-light);
}

table .title .iconify {
  margin-left: 15px;
}

@media only screen and (max-width: 576px) {
  table {
    font-size: 12px;
  }
  th,
  td {
    padding: 15px 10px;
  }
  table .title {
    font-size: 14px;
  }
}

/* .editor ul */
.editor ul {
  list-style: circle;
}

.editor ul,
.editor ol {
  margin: 0 0 15px 15px;
}

.editor ul > *:not(:last-child),
.editor ol > *:not(:last-child) {
  margin-bottom: 5px;
}

/* .editor strong */
.editor b,
.editor strong {
  font-weight: 500;
}

/* .editor blockquote */
blockquote {
  padding: 45px;
  margin: 15px 0;
  background: var(--color-accent-trans);
}

@media only screen and (max-width: 576px) {
  blockquote {
    padding: 30px;
  }
}

/*  Component: Share Bar
----------------------------------------------------------------------------------------- */
.share-bar {
  display: flex;
  align-items: center;
}

.share-bar__title {
  font-weight: 500;
  margin: 0 15px 0 0 !important;
}

.share-bar__icons {
  display: flex;
}

.share-bar__icons > * {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  padding: 5px;
  border: 1px solid var(--color-gray-light);
}

.share-bar__icons > *:not(:last-child) {
  margin-right: 10px;
}

/*  Component: Buttons
----------------------------------------------------------------------------------------- */
.buttons {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.buttons > *:not(:first-child) {
  margin: 0 0 0 15px;
}

/*  */
.buttons.center {
  justify-content: center;
}

/*  */
.buttons.full-width > *,
.buttons.full-width > * > [class*="button-"] {
  min-width: 100%;
}

/*  */
.buttons [class*="button-"] {
  height: 40px;
  display: flex;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 0px 30px;
  font-weight: 500;
  text-align: center;
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background-color: var(--color-accent);
}

/* [class*="button-"].bordered  */
.buttons [class*="button-"].bordered {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent-light);
}

[class*="button-"].bordered:hover {
  color: var(--color-accent-light);
}

/* .button-xl */
.buttons .button-xl {
  height: 80px;
  padding: 0 50px;
}

/* .button-l */
.buttons .button-l {
  height: 60px;
  padding: 0 40px;
}

/*  */
@media only screen and (max-width: 576px) {
  .buttons {
    flex-direction: column;
    justify-content: center;
  }
  .buttons > *:not(:first-child) {
    margin: 15px 0 0 0;
  }
  .buttons .button-l {
    height: 40px;
    padding: 0 25px;
  }
}

/*  Component: Modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
  max-width: 650px !important;
}

.modal-subtitle {
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5px !important;
}

.modal-title {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
}

@media only screen and (max-width: 576px) {
  .modal {
    padding: 25px;
  }
  .modal-title {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Navigations
 *
----------------------------------------------------------------------------------------- */

/*  Navigation: Main Navigation
----------------------------------------------------------------------------------------- */

/* .main-navigation */
.main-navigation {
  -ms-overflow-style: none;
  scrollbar-width: none;
  color: var(--color-black);
}

.main-navigation::-webkit-scrollbar {
  display: none;
}

/* .main-navigation > menu */
.main-navigation .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .main-navigation > menu-item */
.main-navigation .menu > .menu-item {
  height: 100%;
  position: relative;
}

.main-navigation .menu > .menu-item > a {
  width: 100%;
  height: 80px;
  display: flex;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 500;
  font-size: 16px;
  padding: 0 15px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.main-navigation .menu > .menu-item > a::selection {
  background: unset;
}

.main-navigation .menu > .menu-item > a:hover,
.main-navigation .menu > .current-menu-item > a {
  color: var(--color-accent);
  background: var(--color-gray-light);
}

/* .main-navigation > .sub-menu */
.main-navigation .menu > .menu-item > a > .dropdown-toggle {
  width: 12px;
  height: 12px;
  display: block;
  background: url("https://api.iconify.design/carbon:chevron-down.svg")
    no-repeat center center / contain var(--color-white);
}

.main-navigation.mobile .menu > .menu-item > a > .dropdown-toggle {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}

.main-navigation .menu > .menu-item > .sub-menu {
  left: 0;
  z-index: 1000;
  overflow: hidden;
  position: absolute;
  max-height: 0;
  width: 100%;
  max-width: 576px;
  display: flex;
  flex-direction: column;
  color: var(--color-black);
  background: var(--color-gray-light);
}

.main-navigation:not(.mobile) .menu > .menu-item:hover > .sub-menu,
.main-navigation .menu > .menu-item > .sub-menu.open {
  flex-wrap: wrap;
  padding: 30px;
  min-width: max-content;
  max-height: min-content;
}

.main-navigation .menu > .menu-item > .sub-menu .menu-item a {
  display: flex;
  transition: 0.3s;
  font-size: 0.9rem;
  padding: 5px 10px;
  align-items: center;
}

.main-navigation .menu > .menu-item > .sub-menu .menu-item a:hover {
  color: var(--color-accent);
}

/* .mega-menu */
.main-navigation .menu > .mega-menu > .sub-menu {
  flex-direction: row;
}

.main-navigation .menu > .mega-menu > .sub-menu > .menu-item:not(:last-child) {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid var(--gray);
}

.main-navigation .menu > .mega-menu > .sub-menu > .menu-item > a {
  font-weight: 600;
  color: var(--black);
}

.main-navigation .menu > .mega-menu > .sub-menu > .menu-item > a > .iconify {
  display: none;
}

/* .main-navigation-mobile */
.main-navigation.mobile {
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: block;
  padding: 15px 0;
  min-height: 70vh;
  overflow-y: scroll;
  position: absolute;
  color: var(--color-white);
  background: var(--color-accent);
}

.main-navigation.mobile .menu {
  flex-direction: column;
  align-items: flex-start;
}

.main-navigation.mobile .menu .menu-item {
  width: 100%;
}

.main-navigation.mobile .menu > .menu-item > a {
  padding: 0 30px;
  height: 60px;
  justify-content: space-between;
}

/* .main-navigation-mobile > .sub-menu */
.main-navigation.mobile .menu .menu-item .sub-menu {
  left: 0;
  min-width: 100%;
  position: unset;
  transform: unset;
  color: var(--color-black);
  background: var(--color-white);
}

/*  Menu toggle
------------------------------------------ */
.menu-toggle {
  width: 50px;
  height: 32px;
  display: none;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 0;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) {
  top: 14px;
}

.menu-toggle span:nth-child(4) {
  top: 28px;
}

.menu-toggle.change span:nth-child(1) {
  top: 14px;
  width: 0%;
  left: 50%;
}

.menu-toggle.change span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-toggle.change span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-toggle.change span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/*  */
@media only screen and (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }
  .main-navigation {
    display: none;
  }
}

/*  Navigation: Post Navigation / Post Pagintaion / Comment Navigation
----------------------------------------------------------------------------------------- */

/* .navigation */
.navigation > .screen-reader-text {
  display: none;
}

/* .navigation > .nav-links */
.nav-links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.nav-links > [class*="nav-"] {
  max-width: 320px;
}

.nav-links > .nav-next {
  margin-left: auto;
}

.nav-links > .nav-previous {
  margin-right: auto;
}

.nav-links > [class*="nav-"] > a {
  display: flex;
  line-height: 1.5;
  align-items: flex-start;
}

.nav-links > .nav-next > a {
  text-align: right;
}

.nav-links > .nav-previous > a {
  text-align: left;
}

.nav-links > .nav-previous > a::before,
.nav-links > .nav-next > a::after {
  content: "";
  min-width: 20px;
  min-height: 20px;
  display: block;
}

.nav-links > .nav-previous > a::before {
  margin-right: 10px;
  background: url("https://api.iconify.design/carbon:chevron-left.svg")
    no-repeat center center / contain;
}

.nav-links > .nav-next > a::after {
  margin-left: 10px;
  background: url("https://api.iconify.design/carbon:chevron-right.svg")
    no-repeat center center / contain;
}

/* .pagination > .nav-links */
.pagination .nav-links {
  align-items: center;
  justify-content: center;
}

.pagination .nav-links > .page-numbers {
  width: 50px;
  height: 50px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.pagination .nav-links > .page-numbers.prev {
  background: url("https://api.iconify.design/carbon:chevron-left.svg")
    no-repeat center center / contain;
}

.pagination .nav-links > .page-numbers.next {
  background: url("https://api.iconify.design/carbon:chevron-right.svg")
    no-repeat center center / contain;
}

.pagination .nav-links > .page-numbers:not(:last-child) {
  margin-right: 15px;
}
