/*!
Theme Name: Matichon Academy
Theme URI: http://underscores.me/
Author: Unixdev
Author URI: http://www.unixdev.co.th
Description: Theme for Matichon Academy
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mtc
Tags: 
*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

pre {
  font-family: monospace, monospace;
  font-size: 1em
}

a {
  background-color: transparent
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText
}

fieldset {
  padding: .35em .75em .625em
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details {
  display: block
}

summary {
  display: list-item
}

template {
  display: none
}

[hidden] {
  display: none
}

body,
button,
input,
optgroup,
select,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both
}

p {
  margin-bottom: 1.5em
}

cite,
dfn,
em,
i {
  font-style: italic
}

blockquote {
  margin: 0 1.5em
}

address {
  margin: 0 0 1.5em
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: .9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: .9375rem
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help
}

ins,
mark {
  background: #fff9c0;
  text-decoration: none
}

big {
  font-size: 125%
}

html {
  box-sizing: border-box
}

*,
:after,
:before {
  box-sizing: inherit
}

body {
  background: #fff
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em
}

ol,
ul {
  margin: 0 0 1.5em 3em
}

ul {
  list-style: disc
}

ol {
  list-style: decimal
}

li>ol,
li>ul {
  margin-bottom: 0;
  margin-left: 1.5em
}

dt {
  font-weight: 700
}

dd {
  margin: 0 1.5em 1.5em
}

img {
  height: auto;
  max-width: 100%
}

figure {
  margin: 1em 0
}

table {
  margin: 0 0 1.5em;
  width: 100%
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, .8);
  font-size: 12px;
  font-size: .75rem;
  line-height: 1;
  padding: .6em 1em .4em
}

button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa
}

button:active,
button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb
}

input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=range],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px
}

input[type=color]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=datetime]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=range]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
textarea:focus {
  color: #111
}

select {
  border: 1px solid #ccc
}

textarea {
  width: 100%
}

a {
  color: #4169e1
}

a:visited {
  color: purple
}

a:active,
a:focus,
a:hover {
  color: #191970
}

a:focus {
  outline: thin dotted
}

a:active,
a:hover {
  outline: 0
}

.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, .2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  text-align: left;
}

.main-navigation .sub-menu {
  background: #ED1C26;
  padding: 10px 0;
}

.main-navigation .sub-menu .menu-item {
  margin-left: 0;
  padding: 10px 20px;
}

.main-navigation .sub-menu .menu-item a {
  color: white;
}

.main-navigation .sub-menu .menu-item a:hover {
  color: #f6d03a;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0
}

.main-navigation ul ul li.focus>ul,
.main-navigation ul ul li:hover>ul {
  left: 100%
}

.main-navigation ul ul a {
  width: 200px
}

.main-navigation ul li.focus>ul,
.main-navigation ul li:hover>ul {
  left: auto
}

.main-navigation li {
  float: left;
  position: relative
}

.main-navigation a {
  display: block;
  text-decoration: none
}

.main-navigation.toggled ul,
.menu-toggle {
  display: block
}

.main-navigation .menu-toggle {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media screen and (min-width: 992px) {
  .main-navigation .menu-toggle {
    display: none
  }

  .main-navigation .menu-primary-menu-container {
    display: block;
  }
  .main-navigation ul {
    display: block
  }
}

.site-main .comment-navigation,
.site-main .post-navigation,
.site-main .posts-navigation {
  margin: 0 0 1.5em;
  overflow: hidden
}

.comment-navigation .nav-previous,
.post-navigation .nav-previous,
.posts-navigation .nav-previous {
  float: left;
  width: 50%
}

.comment-navigation .nav-next,
.post-navigation .nav-next,
.posts-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000
}

#content[tabindex="-1"]:focus {
  outline: 0
}

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto
}

.clear:after,
.clear:before,
.comment-content:after,
.comment-content:before,
.entry-content:after,
.entry-content:before,
.site-content:after,
.site-content:before,
.site-footer:after,
.site-footer:before,
.site-header:after,
.site-header:before {
  content: "";
  display: table;
  table-layout: fixed
}

.clear:after,
.comment-content:after,
.entry-content:after,
.site-content:after,
.site-footer:after,
.site-header:after {
  clear: both
}

.widget {
  margin: 0 0 1.5em
}

.widget select {
  max-width: 100%
}

.sticky {
  display: block
}

.page,
.post {
  margin: 0 0 1.5em
}

.updated:not(.published) {
  display: none
}

.entry-content,
.entry-summary,
.page-content {
  margin: 1.5em 0 0
}

.page-links {
  clear: both;
  margin: 0 0 1.5em
}

.comment-content a {
  word-wrap: break-word
}

.bypostauthor {
  display: block
}

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none
}

.infinity-end.neverending .site-footer {
  display: block
}

.comment-content .wp-smiley,
.entry-content .wp-smiley,
.page-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0
}

embed,
iframe,
object {
  max-width: 100%
}

.custom-logo-link {
  display: inline-block
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto
}

.wp-caption .wp-caption-text {
  margin: .8075em 0
}

.wp-caption-text {
  text-align: center
}

.gallery {
  margin-bottom: 1.5em
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%
}

.gallery-columns-2 .gallery-item {
  max-width: 50%
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%
}

.gallery-columns-4 .gallery-item {
  max-width: 25%
}

.gallery-columns-5 .gallery-item {
  max-width: 20%
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%
}

.gallery-caption {
  display: block
}

@font-face {
  font-family: DBHelvetica;
  src: url(fonts/db_helvethaica_x_v3.2-webfont.eot);
  src: url(fonts/db_helvethaica_x_v3.2-webfont.eot?#iefix) format("embedded-opentype"), url(fonts/db_helvethaica_x_v3.2-webfont.woff2) format("woff2"), url(fonts/db_helvethaica_x_v3.2-webfont.woff) format("woff"), url(fonts/db_helvethaica_x_v3.2-webfont.ttf) format("truetype"), url(fonts/db_helvethaica_x_v3.2-webfont.svg#db_helvethaica_x55_regular) format("svg");
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: DBHelvetica;
  src: url(fonts/db_helvethaica_x_bd_v3.2-webfont.eot);
  src: url(fonts/db_helvethaica_x_bd_v3.2-webfont.eot?#iefix) format("embedded-opentype"), url(fonts/db_helvethaica_x_bd_v3.2-webfont.woff2) format("woff2"), url(fonts/db_helvethaica_x_bd_v3.2-webfont.woff) format("woff"), url(fonts/db_helvethaica_x_bd_v3.2-webfont.ttf) format("truetype"), url(fonts/db_helvethaica_x_bd_v3.2-webfont.svg#db_helvethaica_x75_bd) format("svg");
  font-weight: 700;
  font-style: normal
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px
}

.container:after {
  content: "";
  display: table;
  table-layout: fixed;
  clear: both
}

@media (min-width:576px) {
  .container {
    max-width: 540px
  }
}

@media (min-width:768px) {
  .container {
    max-width: 720px
  }
}

@media (min-width:992px) {
  .container {
    max-width: 960px
  }
}

@media (min-width:1200px) {
  .container {
    max-width: 1140px
  }
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: DBHelvetica, sans-serif
}

body {
  font-size: 16px;
  line-height: 1.48;
  color: #000
}

h1 {
  font-size: 2.5rem
}

h2 {
  font-size: 2rem
}

h3 {
  font-size: 1.75rem
}

h4 {
  font-size: 1.5rem
}

h5 {
  font-size: 1.25rem
}

h6 {
  font-size: 1rem
}

h1,
h2,
h3 {
  line-height: 1.2
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0
}

img {
  vertical-align: middle
}

a,
a:visited {
  color: #ed1c24;
  text-decoration: none
}

.main-btn {
  padding: 10px 40px;
  border: 1px solid #ed1c24;
  color: red;
  background: 0 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease
}

.main-btn:hover {
  background: #ed1c24;
  color: #fff
}

.site-header {
  border-bottom: 2px solid #ed1c24;
  position: relative;
}

.site-header .site-branding {
  max-height: 70px;
  float: left;
  padding: 10px 0;
}

.site-header .site-branding .custom-logo {
  height: 50px;
  width: auto
}

.site-header .main-navigation {
  float: right;
  text-align: right;
  clear: none;
  width: auto;
}

.site-header .main-navigation .nav-menu {
  margin-top: 15px;
}

.site-header .main-navigation .nav-menu:after {
  content: "";
  display: table;
  table-layout: fixed;
  clear: both
}

.site-header .main-navigation li {
  margin-left: 20px;
  padding: 16px 0;
}

.site-header .main-navigation a {
  color: #000
}

.site-header .main-navigation .search-link a {
  color: #ed1c24
}

@media (min-width: 992px) and (max-width: 1199.99px) {
  .site-header .site-branding {
    float: none;
    text-align: center;
  }
  .site-header .main-navigation {
    float: none;
    text-align: center;
  }
}

.social {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 2rem
}

.social li {
  display: inline-block;
  margin-right: 10px
}

.site-footer {
  background: #fff;
  border-top: 2px solid #ed1c24
}

.site-footer .partner-logo {
  padding: 40px 0;
  text-align: center
}

.site-footer .partner-logo .item {
  display: inline-block;
  margin: 0 20px
}

.site-footer .footer-block {
  border-top: 2px solid #ed1c24;
  padding: 40px 0
}

.site-footer .footer-block .logo {
  float: left;
  width: 30%
}

.site-footer .footer-block .info {
  float: left;
  width: 70%;
  padding-left: 60px
}

.site-footer .footer-block .info .address {
  margin-bottom: 10px
}

.site-footer .footer-block .info .address p {
  margin: 0
}

.site-footer .copyright {
  background: #ed1c24;
  color: #fff;
  text-align: center;
  font-size: .875rem;
  padding: 10px 0
}

.site-main {
  background-size: cover;
  background-position: top center
}

.nav-page {
  margin-bottom: 20px;
  text-align: center
}

.nav-page .page-numbers {
  padding: 5px 10px;
  display: inline-block;
  color: #ed1c24
}

.nav-page .current {
  background: #ed1c24;
  color: #fff
}

.course-intro {
}

@media (min-width: 992px) {
  .course-intro {
    display: flex;
    flex-direction: row
  }
}

.course-intro .section-content,
.course-intro .section-image {
  width: 100%
}

@media (min-width: 992px) {
  .course-intro .section-content,
  .course-intro .section-image {
    width: 50%
  }
}

.course-intro .section-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 500px;
}

.course-intro .section-content {
  padding: 40px;
  background-color: #fff
}

.course-intro .section-content .header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px
}

.course-intro .section-content .header .icon {
  padding-right: 10px
}

.course-intro .section-content .header .text h3,
.course-intro .section-content .header .text h4 {
  margin: 0
}

.course-intro .section-content .header .text h3 {
  font-size: 2rem
}

.course-intro .section-content .header .text h4 {
  font-size: 1.25rem
}

.course-intro .intro-list {
  margin: 0;
  padding: 0;
  list-style: none
}

.course-intro .intro-list .item {
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  align-items: center
}

.course-intro .intro-list .item .icon {
  width: 60px
}

.course-intro .intro-list .item .content {
  width: calc(100% - 60px);
  padding-left: 40px
}

.course-intro .intro-list .item .content .title {
  font-weight: 700;
  color: #000;
  margin: 0
}

.course-intro .intro-list .item .content .title .description {
  color: #ed1c24
}

.action-block {
  width: 100%;
}
@media (min-width: 992px) {
  .action-block {
    float: right;
    width: 50%;
    padding-left: 5px;
  }
}
.action-block:after {
  content: "";
  clear: both;
  display: table;
}

.action-block .link {
  float: left;
  width: 100%;
  margin-bottom: 15px;
}
@media (min-width: 500px) {
  .action-block .link {
    width: 40%;
    padding-right: 20px;
    margin-bottom: 0;
  }
}

.action-block .link a {
  display: block;
  background: #ed1c24;
  color: white;
  height: 43px;
  line-height: 23px;
  padding: 10px 20px;
  text-align: center;
}
.action-block .link a img {
  height: 23px;
  margin-right: 5px;
}

.action-block .select-dropdown-wrapper,
.action-block .select-dropdown-wrapper .select-dropdown {
  width: 100%;
}
@media (min-width: 500px) {
  .action-block .select-dropdown-wrapper {
    width: 60%;
  }
}

.course-category {
  padding-top: 20px;
  border-bottom: 2px solid #ed1c24;
  margin-bottom: 20px;
  position: relative
}

@media (min-width: 768px) {
  .course-category .intro-list {
    padding-right: 160px
  }
}

.course-category .intro-list .item {
  align-items: baseline;
}

.course-category .intro-list .item .icon {
  width: 25px;
}

.course-category .intro-list .item .content {
  width: calc(100% - 25px);
  padding-left: 10px;
}

.course-category .intro-list .item .content .title {
  font-size: 16px
}

.course-category .intro-list .item .content .title .description {
  display: block
}

@media (min-width: 480px) {
  .course-category .intro-list .item .icon {
    width: 60px;
  }
  
  .course-category .intro-list .item .content {
    width: calc(100% - 60px);
    padding-left: 15px;
  }
  
  .course-category .intro-list .item .content .title {
    font-size: 20px
  }
}

@media (min-width: 992px) {
  .course-category .intro-list .item .icon {
    width: 100px;
  }
  
  .course-category .intro-list .item .content {
    width: calc(100% - 100px);
    padding-left: 20px;
  }
  
  .course-category .intro-list .item .content .title {
    font-size: 24px
  }
}

.mtc-social {
  text-align: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .mtc-social {
    text-align: right;
    margin-bottom: 0;
    position: absolute;
    bottom: 30px;
    right: 0
  }
}

.mtc-social .seed-social {
  margin: 0;
  padding: 0
}

.mtc-social .seed-social>div {
  margin-bottom: 0
}

.mtc-social .seed-social a {
  min-width: 0;
  padding: 6px 4px 2px
}

.mtc-social .seed-social .count,
.mtc-social .seed-social .text {
  display: none
}

.front-course {
  background-position: top center;
  background-size: cover;
  padding: 40px 0
}

.front-course .main-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.125rem
}

.front-course .main-title h3,
.front-course .main-title p {
  margin: 0
}

.front-course .main-title h3 {
  font-size: 1.375rem
}

.front-course .main-title h3 a {
  color: #000
}

.front-course .course-block .course-title,
.table-course-title {
  background: url(img/icon-main.png) no-repeat bottom left;
  background-size: 50px;
  min-height: 50px;
  padding: 20px 0 0 120px;
  border-bottom: 1px solid #000;
  font-size: 1.5rem;
  margin-bottom: 20px
}

.front-course .course-block .course-title a,
.table-course-title a {
  color: #000
}

.front-course .course-block .seeall {
  text-align: center;
  margin: 40px 0
}

.tour-intro {
  background-size: cover;
  background-position: center center;
  padding: 40px 0
}

.tour-intro .tour-content {
  width: 50%
}

.front-tour {
  background: #f5f4f3;
  padding: 20px 0
}

.tour-block {
  padding: 20px 0
}

.tour-block .tour-title {
  margin-bottom: 20px;
  text-align: center
}

.tour-block .tour-title h3 {
  font-size: 2rem;
  margin: 0
}

.tour-block .tour-title .sub-title {
  color: #ed1c24;
  margin: 0
}

.tour-block .seeall {
  text-align: center;
  margin: 40px 0
}

.front-category {
  background-color: #f5f4f3;
  background-position: bottom center;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 40px 0
}

.front-category .category-block {
  padding: 20px 0
}

.front-category .category-block .category-title {
  margin-bottom: 20px;
  text-align: center
}

.front-category .category-block .category-title h3 {
  font-size: 2rem;
  margin: 0
}

.front-category .category-block .category-title .sub-title {
  color: #ed1c24;
  margin: 0
}

.front-category .category-block .seeall {
  text-align: center;
  margin: 40px 0
}

.item-single {
  padding: 20px 0
}

.item-single .entry-header {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #ed1c24
}

.item-single .entry-header .icon {
  width: 25px
}

@media ( min-width: 480px ) {
  .item-single .entry-header .icon {
    width: 60px;
  }
}

@media ( min-width: 992px ) {
  .item-single .entry-header .icon {
    width: 100px;
  }
}

.item-single .entry-header .text {
  width: calc(100% - 30px);
  padding-right: 0;
  padding-left: 10px;
}

@media ( min-width: 480px ) {
  .item-single .entry-header .text {
    width: calc(100% - 60px);
    padding-right: 120px;
  }
}

@media ( min-width: 992px ) {
  .item-single .entry-header .text {
    width: calc(100% - 100px);
  }
}

.item-single .entry-header .text .entry-title {
  margin: 0 0 5px;
  font-size: 24px;
  color: #ed1c24
}

.item-single .entry-header .share {
  width: 130px
}

.item-single .entry-header .share .seed-social {
  margin: 0
}

.item-single .entry-header .share .seed-social>div {
  margin-bottom: 0
}

.item-single .entry-header .share .seed-social a {
  min-width: 0;
  padding: 6px 4px 2px
}

.item-single .entry-header .share .seed-social a .count,
.item-single .entry-header .share .seed-social a .text {
  display: none
}

.item-single .entry-header .share {
  width: 100%;
}

.item-single .entry-header .share .seed-social {
  margin-top: 10px;
  text-align: right;
}

.item-single .entry-header .share .seed-social a {
  height: 28px;
  line-height: 17px;
}

.item-single .entry-header .share .seed-social > div {
  margin-left: 10px;
  margin-right: 0;
}

.item-single .entry-header .share .seed-social i {
  font-size: 16px;
}

@media ( min-width: 480px ) {
  .item-single .entry-header .share { 
    position: absolute;
    right: 0;
    bottom: 20px;
    width: auto;
  }
}

.elementor-page .entry-header {
  margin-left: 10px;
  margin-right: 10px;
  padding-bottom: 20px
}

.related-list {
  border-top: 1px solid #ed1c24;
  padding: 20px 0
}

.related-list>.title {
  font-size: 24px;
  margin-bottom: 10px
}

.course-category-list,
.tour-category-list {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.course-category-list .item,
.tour-category-list .item {
  text-align: center;
  width: 50%;
  padding: 40px 20px;
  background: #ebebeb
}

@media (min-width: 768px) {
  .course-category-list .item,
  .tour-category-list .item { 
    width: 33.3333%;
  }
}
@media (min-width: 992px) {
  .course-category-list .item,
  .tour-category-list .item { 
    width: 16.6667%;
  }
}

.course-category-list .item:nth-child(2n),
.tour-category-list .item:nth-child(2n) {
  background: #e1e1e1
}

.course-category-list .item .icon,
.tour-category-list .item .icon {
  width: 80px;
  margin: 0 auto 20px
}

.course-category-list .item .state-1,
.tour-category-list .item .state-1 {
  display: block
}

.course-category-list .item .state-2,
.tour-category-list .item .state-2 {
  display: none
}

.course-category-list .item .title a,
.tour-category-list .item .title a {
  color: #000
}

.course-category-list .item .description,
.tour-category-list .item .description {
  font-size: .875rem
}

.course-category-list .item .description a,
.tour-category-list .item .description a {
  color: #ed1c24
}

.course-category-list .item.active,
.course-category-list .item:hover,
.tour-category-list .item.active,
.tour-category-list .item:hover {
  box-shadow: 0 0 10px 0 rgba(2, 2, 2, .76);
  background: #ed1c24;
  position: relative;
  z-index: 2
}

.course-category-list .item.active .state-1,
.course-category-list .item:hover .state-1,
.tour-category-list .item.active .state-1,
.tour-category-list .item:hover .state-1 {
  display: none
}

.course-category-list .item.active .state-2,
.course-category-list .item:hover .state-2,
.tour-category-list .item.active .state-2,
.tour-category-list .item:hover .state-2 {
  display: block
}

.course-category-list .item.active .description a,
.course-category-list .item:hover .description a,
.tour-category-list .item.active .description a,
.tour-category-list .item:hover .description a {
  color: #fff
}

.tour-category-list .item {
  width: 50%
}

.tax-course_type .item-list-1,
.tax-tour_type .item-list-1 {
  margin-bottom: 20px
}

.page-template-template-type-1-php .item-single .entry-header,
.single-course .item-single .entry-header,
.single-tourstory .item-single .entry-header,
.single-tour .item-single .entry-header {
  padding-bottom: 20px;
  margin: 0;
}

.page-template-template-type-1-php .item-single .entry-header .text,
.single-course .item-single .entry-header .text,
.single-tourstory .item-single .entry-header .text,
.single-tour .item-single .entry-header .text {
  width: calc(100% - 30px);
  padding-right: 0;
  padding-left: 10px;
}

.page-template-template-type-1-php .item-single .entry-header .text .category,
.single-course .item-single .entry-header .text .category,
.single-tourstory .item-single .entry-header .text .category,
.single-tour .item-single .entry-header .text .category {
  font-size: 16px
}

.page-template-template-type-1-php .item-single .entry-header .text .entry-title,
.single-course .item-single .entry-header .text .entry-title,
.single-tourstory .item-single .entry-header .text .entry-title,
.single-tour .item-single .entry-header .text .entry-title {
  font-size: 16px
}

.page-template-template-type-1-php .item-single .share,
.single-course .item-single .share,
.single-tourstory .item-single .share,
.single-tour .item-single .share {
  width: 100%;
}

.page-template-template-type-1-php .item-single .share .seed-social,
.single-course .item-single .share .seed-social,
.single-tourstory .item-single .share .seed-social,
.single-tour .item-single .share .seed-social {
  margin-top: 10px;
  text-align: right;
}

.page-template-template-type-1-php .item-single .share .seed-social a,
.single-course .item-single .share .seed-social a,
.single-tourstory .item-single .share .seed-social a,
.single-tour .item-single .share .seed-social a {
  height: 28px;
  line-height: 17px;
}

.page-template-template-type-1-php .item-single .share .seed-social > div,
.single-course .item-single .share .seed-social > div,
.single-tourstory .item-single .share .seed-social > div,
.single-tour .item-single .share .seed-social > div {
  margin-left: 10px;
  margin-right: 0;
}

.page-template-template-type-1-php .item-single .share .seed-social i,
.single-course .item-single .share .seed-social i,
.single-tourstory .item-single .share .seed-social i,
.single-tour .item-single .share .seed-social i {
  font-size: 16px;
}

.page-template-template-type-1-php .course-detail,
.single-course .course-detail,
.single-tourstory .course-detail,
.single-tour .course-detail {
  margin: 20px 0
}

.page-template-template-type-1-php .course-detail .top-detail,
.single-course .course-detail .top-detail,
.single-tourstory .course-detail .top-detail,
.single-tour .course-detail .top-detail {
  margin-bottom: 20px
}

.page-template-template-type-1-php .course-detail .top-detail:after,
.single-course .course-detail .top-detail:after,
.single-tourstory .course-detail .top-detail:after,
.single-tour .course-detail .top-detail:after {
  content: "";
  display: table;
  clear: both
}

.page-template-template-type-1-php .course-detail .top-detail .pic,
.single-course .course-detail .top-detail .pic,
.single-tourstory .course-detail .top-detail .pic,
.single-tour .course-detail .top-detail .pic {
  width: 100%;
  margin-bottom: 20px;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail,
.single-course .course-detail .top-detail .main-detail,
.single-tourstory .course-detail .top-detail .main-detail,
.single-tour .course-detail .top-detail .main-detail {
  width: 100%;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .countdown,
.single-course .course-detail .top-detail .main-detail .countdown,
.single-tourstory .course-detail .top-detail .main-detail .countdown,
.single-tour .course-detail .top-detail .main-detail .countdown {
  background: #ed1c24;
  color: #fff;
  font-size: 24px;
  line-height: 2;
  box-shadow: 0 1px 5.76px .24px rgba(2, 2, 2, .76);
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 5px 20px;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .countdown .icon,
.single-course .course-detail .top-detail .main-detail .countdown .icon,
.single-tourstory .course-detail .top-detail .main-detail .countdown .icon,
.single-tour .course-detail .top-detail .main-detail .countdown .icon {
  width: 40px;
  float: left;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .countdown .text,
.single-course .course-detail .top-detail .main-detail .countdown .text,
.single-tourstory .course-detail .top-detail .main-detail .countdown .text,
.single-tour .course-detail .top-detail .main-detail .countdown .text {
  width: calc(100% - 60px);
  float: right;
  text-align: center;
  color: #f6d03a;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block,
.single-course .course-detail .top-detail .main-detail .main-detail-block,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block,
.single-tour .course-detail .top-detail .main-detail .main-detail-block {
  font-size: 18px;
  background: #fff;
  box-shadow: 0 1px 5.76px .24px rgba(2, 2, 2, .33);
  padding: 20px;
  color: #ed1c24
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list {
  margin: 0;
  border-spacing: 0
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list td,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list td,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list td,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list td {
  vertical-align: top;
  padding: 10px 0;
  border-top: 1px solid #ddd
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list td p:last-child,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list td p:last-child,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list td p:last-child,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list td p:last-child {
  margin-bottom: 0;
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list tr:first-child td,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list tr:first-child td,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list tr:first-child td,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list tr:first-child td {
  padding-top: 0;
  border-top: 0 none
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list .title,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list .title,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list .title,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list .title {
  padding-right: 10px;
  width: 160px
}

.page-template-template-type-1-php .course-detail .top-detail .main-detail .main-detail-block .detail-list .description,
.single-course .course-detail .top-detail .main-detail .main-detail-block .detail-list .description,
.single-tourstory .course-detail .top-detail .main-detail .main-detail-block .detail-list .description,
.single-tour .course-detail .top-detail .main-detail .main-detail-block .detail-list .description {
  color: #000
}

.page-template-template-type-1-php .course-detail .bottom-detail,
.single-course .course-detail .bottom-detail,
.single-tourstory .course-detail .bottom-detail,
.single-tour .course-detail .bottom-detail {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ed1c24
}

.page-template-template-type-1-php .course-detail .bottom-detail:after,
.single-course .course-detail .bottom-detail:after,
.single-tourstory .course-detail .bottom-detail:after,
.single-tour .course-detail .bottom-detail:after {
  content: "";
  display: table;
  clear: both
}

.page-template-template-type-1-php .course-detail .bottom-detail .person-block,
.single-course .course-detail .bottom-detail .person-block,
.single-tourstory .course-detail .bottom-detail .person-block,
.single-tour .course-detail .bottom-detail .person-block {
  float: left;
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center
}

.page-template-template-type-1-php .course-detail .bottom-detail .person-block .avatar,
.single-course .course-detail .bottom-detail .person-block .avatar,
.single-tourstory .course-detail .bottom-detail .person-block .avatar,
.single-tour .course-detail .bottom-detail .person-block .avatar {
  width: 15%
}

.page-template-template-type-1-php .course-detail .bottom-detail .person-block .detail,
.single-course .course-detail .bottom-detail .person-block .detail,
.single-tourstory .course-detail .bottom-detail .person-block .detail,
.single-tour .course-detail .bottom-detail .person-block .detail {
  width: 85%;
  padding-left: 20px;
  font-size: 20px
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail,
.single-course .course-detail .bottom-detail .booking-detail,
.single-tourstory .course-detail .bottom-detail .booking-detail,
.single-tour .course-detail .bottom-detail .booking-detail {
  float: right;
  padding-left: 20px;
  font-size: 24px
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .price,
.single-course .course-detail .bottom-detail .booking-detail .price,
.single-tourstory .course-detail .bottom-detail .booking-detail .price,
.single-tour .course-detail .bottom-detail .booking-detail .price {
  margin: 0 0 5px;
  padding: 0;
  overflow: hidden;
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .price span,
.single-course .course-detail .bottom-detail .booking-detail .price span,
.single-tourstory .course-detail .bottom-detail .booking-detail .price span,
.single-tour .course-detail .bottom-detail .booking-detail .price span {
  float: left;
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .price-discount span,
.single-course .course-detail .bottom-detail .booking-detail .price-discount span,
.single-tourstory .course-detail .bottom-detail .booking-detail .price-discount span,
.single-tour .course-detail .bottom-detail .booking-detail .price-discount span {
  text-decoration: line-through;
  color: #f00;
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .price small,
.single-course .course-detail .bottom-detail .booking-detail .price small,
.single-tourstory .course-detail .bottom-detail .booking-detail .price small,
.single-tour .course-detail .bottom-detail .booking-detail .price small {
  float: right;
  margin-top: 5px;
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .booking-link,
.single-course .course-detail .bottom-detail .booking-detail .booking-link,
.single-tourstory .course-detail .bottom-detail .booking-detail .booking-link,
.single-tour .course-detail .bottom-detail .booking-detail .booking-link {
  display: inline-block;
  background: #ed1c24;
  color: #fff;
  border-radius: 5px;
  padding: 5px 50px;
  border: 2px solid #ed1c24;
}

.page-template-template-type-1-php .course-detail .bottom-detail .booking-detail .booking-link:hover,
.single-course .course-detail .bottom-detail .booking-detail .booking-link:hover,
.single-tourstory .course-detail .bottom-detail .booking-detail .booking-link:hover,
.single-tour .course-detail .bottom-detail .booking-detail .booking-link:hover {  
  color: #ed1c24;
  background: transparent;
}

@media ( min-width: 480px ) {
  .page-template-template-type-1-php .item-single .entry-header .text,
  .single-course .item-single .entry-header .text,
  .single-tourstory .item-single .entry-header .text,
  .single-tour .item-single .entry-header .text {
    width: calc(100% - 60px);
    padding-right: 120px
  }
  .page-template-template-type-1-php .item-single .entry-header .text .category,
  .single-course .item-single .entry-header .text .category,
  .single-tourstory .item-single .entry-header .text .category,
  .single-tour .item-single .entry-header .text .category {
    font-size: 20px
  }

  .page-template-template-type-1-php .item-single .entry-header .text .entry-title,
  .single-course .item-single .entry-header .text .entry-title,
  .single-tourstory .item-single .entry-header .text .entry-title,
  .single-tour .item-single .entry-header .text .entry-title {
    font-size: 20px
  }
  .page-template-template-type-1-php .item-single .share,
  .single-course .item-single .share,
  .single-tourstory .item-single .share,
  .single-tour .item-single .share {
    position: absolute;
    right: 0;
    bottom: 20px;
    width: auto;
  }
}

@media ( min-width: 992px ) {
  .page-template-template-type-1-php .item-single .entry-header .text,
  .single-course .item-single .entry-header .text,
  .single-tourstory .item-single .entry-header .text,
  .single-tour .item-single .entry-header .text {
    width: calc(100% - 100px);
  }
  .page-template-template-type-1-php .item-single .entry-header .text .category,
  .single-course .item-single .entry-header .text .category,
  .single-tourstory .item-single .entry-header .text .category,
  .single-tour .item-single .entry-header .text .category {
    font-size: 24px
  }

  .page-template-template-type-1-php .item-single .entry-header .text .entry-title,
  .single-course .item-single .entry-header .text .entry-title,
  .single-tourstory .item-single .entry-header .text .entry-title,
  .single-tour .item-single .entry-header .text .entry-title {
    font-size: 24px
  }
  .page-template-template-type-1-php .course-detail .top-detail .pic,
  .single-course .course-detail .top-detail .pic,
  .single-tourstory .course-detail .top-detail .pic,
  .single-tour .course-detail .top-detail .pic {
    float: left;
    width: 60%
  }

  .page-template-template-type-1-php .course-detail .top-detail .main-detail,
  .single-course .course-detail .top-detail .main-detail,
  .single-tourstory .course-detail .top-detail .main-detail,
  .single-tour .course-detail .top-detail .main-detail {
    float: left;
    width: 40%;
    padding-left: 20px
  }
}

.banner-1 {
  text-align: center
}

.overlay-popup {
  background: rgba(0, 0, 0, .5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 3;
}

.overlay-popup .block-popup {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

.overlay-popup .block-popup .close-popup {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.3rem;
  color: #fff;
  background: #000;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 1;
  text-align: center;
  padding: 7px
}

.overlay-popup .block-popup .contact-list {
  margin: 0;
  padding: 0;
  list-style: none
}

.overlay-popup .block-popup .contact-list li {
  display: inline-block;
  margin: 20px
}

.overlay-popup .block-popup .contact-list li a {
  background: #ed1c24;
  color: #fff;
  border-radius: 5px;
  font-size: 2rem;
  padding: 10px;
  width: 52px;
  height: 52px;
  display: block;
  text-align: center;
  line-height: 1
}

.item-list {
  margin: 0 -5px 20px;
  clear: both;
}

.item-list-3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item-list .more-list {
  display: none;
}

.item-list:after {
  content: "";
  display: table;
  table-layout: fixed;
  clear: both
}

.item-list .item {
  width: 50%;
  padding: 5px;
  float: left;
}

.item-list .item-type-3 .item-inner {
  background: #FFF;
  height: 100%;
  position: relative;
  padding-bottom: 30px;
}

/* @media (min-width: 768px) {
  .item-list .item {
    float: left;
    width: 50%;
  }
} */
@media (min-width: 992px) {
  .item-list .item {
    width: 25%;
  }
}

.item-list .item .item-inner:hover {
  box-shadow: 0 0 6px #999
}

.item-list .item .head {
  background-color: #ed1c24;
  color: #fff;
  padding: 10px 20px
}

.item-list .item .head:after {
  content: "";
  display: table;
  table-layout: fixed;
  clear: both
}

.item-list .item .head .icon {
  width: 40px;
  float: left
}

.item-list .item .head .date {
  padding-left: 50px
}

.item-list .item .head .countdown {
  color: #f6d03a;
  padding-left: 50px
}

.item-list .item .info {
  background: #fff;
  padding: 10px;
  position: relative
}

.item-list .item .info .title,
.item-list .item .info .type {
  color: #ed1c24;
}

.item-list .item-type-2 .info .title {
  overflow: hidden;
  height: 40px;
  margin-bottom: 15px;
}

.item-list .item-type-2 .info .title a {
  color: black;
}

.item-list .item .info .action-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none
}

.item-list .item .info .action-list:after {
  content: "";
  display: table;
  table-layout: fixed;
  clear: both
}

.item-list .item .info .action-list .action-item {
  display: block;
  float: left;
  width: 50%
}

.item-list .item .info .action-list .action-item a {
  color: #ed1c24;
  display: inline-block;
  padding: 5px 0
}

.item-list .item .info .action-list .action-item.last {
  text-align: right
}

.item-list .item .info .action-list .action-item.last a {
  padding: 5px 10px;
  background: #ed1c24;
  color: #fff;
  border-radius: 5px
}

.item-list .item .info .action-list .action-item.last a:hover {
  background: #ed1c24;
  color: #fff
}

.item-list .item .seemore {
  text-align: right;
  font-size: .875rem;
  padding: 0 10px 10px;
}

.item-list .item-type-3 .seemore {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.item-list .item .head,
.item-list .item .info {
  font-size: .875rem
}

.item-list .item .info .price-discount {
  color: #f00;
  text-decoration: line-through;
}

.item-list .item-type-1 {
  position: relative
}

.item-list .item-type-1 .info {
  font-size: 1rem;
  color: #fff;
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, #000 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(100%, #000));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, #000 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0, #000 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0, #000 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=0)
}

.item-list .item-type-1 .info .title {
  color: #fff;
}

.item-list .item-type-1 .info .title a {
  color: #fff
}

.item-list .item-type-1 .info .category {
  background: #ed1c24;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 100%;
  padding: 2px 10px
}

.item-list .item-type-1 .info .category a {
  color: #fff;
  font-size: 0.725rem;
}

.item-list .item-type-3 .image {
  position: relative
}

.item-list .item-type-3 .image .category {
  background: #ed1c24;
  color: #fff;
  position: absolute;
  margin-bottom: 20px;
  left: 0;
  bottom: 0;
  padding: 10px 30px
}

.item-list .item-type-3 .image .category a {
  color: #fff
}

.item-list .tour-item-1,
.item-list .tour-item-2 {
  width: 100%;
}
.item-list .tour-item-1 .item-inner,
.item-list .tour-item-2 .item-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.item-list .tour-item-1 .item-inner .image,
.item-list .tour-item-2 .item-inner .image {
  width: 50%;
}
.item-list .tour-item-1 .item-inner .info,
.item-list .tour-item-2 .item-inner .info {
  width: 50%;
  padding-bottom: 50px;
}
.item-list .tour-item-1 .info .action-list,
.item-list .tour-item-2 .info .action-list {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.item-list .tour-item-1 .info .title,
.item-list .tour-item-2 .info .title {
  white-space: pre-wrap;
  font-size: 1.25rem;
}

.item-list-1 .item:nth-child(1),
.item-list-1 .item:nth-child(2),
.item-category-list .item:nth-child(1),
.item-category-list .item:nth-child(2) {
  width: 50%
}

/* @media (min-width: 768px) {
  .item-list-1 .item:nth-child(1),
  .item-list-1 .item:nth-child(2),
  .item-category-list .item:nth-child(1),
  .item-category-list .item:nth-child(2) {
    width: 50%;
  }
} */

@media (min-width: 992px) {
  .item-list-1 .item:nth-child(1) .head,
  .item-list-1 .item:nth-child(2) .head,
  .item-category-list .item:nth-child(1) .head,
  .item-category-list .item:nth-child(2) .head {
    line-height: 40px
  }

  .item-list-1 .item:nth-child(1) .head .date,
  .item-list-1 .item:nth-child(2) .head .date,
  .item-category-list .item:nth-child(1) .head .date,
  .item-category-list .item:nth-child(2) .head .date {
    width: calc(60% - 40px);
    padding-left: 10px;
    float: left
  }

  .item-list-1 .item:nth-child(1) .head .countdown,
  .item-list-1 .item:nth-child(2) .head .countdown,
  .item-category-list .item:nth-child(1) .head .countdown,
  .item-category-list .item:nth-child(2) .head .countdown {
    width: 40%;
    float: right;
    text-align: right
  }

  .item-list-1 .item:nth-child(1) .info,
  .item-list-1 .item:nth-child(2) .info,
  .item-category-list .item:nth-child(1) .info,
  .item-category-list .item:nth-child(2) .info {
    padding: 10px 20px
  }

  .item-list-1 .item:nth-child(1) .info .action-list,
  .item-list-1 .item:nth-child(2) .info .action-list,
  .item-category-list .item:nth-child(1) .info .action-list,
  .item-category-list .item:nth-child(2) .info .action-list {
    right: 20px
  }

  .item-list-1 .item:nth-child(1) .head,
  .item-list-1 .item:nth-child(1) .info,
  .item-list-1 .item:nth-child(2) .head,
  .item-list-1 .item:nth-child(2) .info,
  .item-category-list .item:nth-child(1) .head,
  .item-category-list .item:nth-child(1) .info,
  .item-category-list .item:nth-child(2) .head,
  .item-category-list .item:nth-child(2) .info {
    font-size: 1rem
  }

  .item-list-type1 .item:nth-child(1) {
    width: 100%
  }

  .item-list-1 .item:nth-child(1) .seemore,
  .item-list-1 .item:nth-child(2) .seemore,
  .item-category-list .item:nth-child(1) .seemore,
  .item-category-list .item:nth-child(2) .seemore {
    padding: 0 20px 10px 20px;
  }

  .item-list-type2 .item:nth-child(1) {
    width: 100%
  }
}

@media (min-width: 992px) {
  .item-list-type1 .item:nth-child(1),
  .item-list-type2 .item:nth-child(1) {
    width: 50%;
  }
}

.item-list-type3,
.item-list-type4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap
}

.item-list-type3 .item,
.item-list-type4 .item {
  width: 100%;
  float: none;
  display: flex;
  flex-direction: column
}

@media (min-width: 992px) {
  .item-list-type3 .item,
  .item-list-type4 .item {
    width: 33.3333%;
  }
}

.item-list-type3 .item .info,
.item-list-type4 .item .info {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.item-list-type3 .item .info .title,
.item-list-type4 .item .info .title {
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.item-list-type3 .item .info .title a,
.item-list-type4 .item .info .title a {
  color: #000
}

.table-course .col-1,
.table-course .col-2,
.table-course .col-4,
.table-course .col-5,
.table-course .col-6 {
  text-align: center;
}

.table-course .col-1,
.table-course .col-2,
.table-course .col-3,
.table-course .col-4,
.table-course .col-5,
.table-course .col-6 {
  padding: 5px 10px;
  position: relative;
}

.table-course .col-1 {
  width: 70px;
}

.table-course .col-2 {
  width: 120px;
}

.table-course .col-3 {
  height: 45px;
}

.table-course .col-4 {
  width: 70px;
}

.table-course .col-5 {
  width: 170px;
}

.table-course .col-6 {
  width: 120px;
}

@media (max-width: 767px) {
  .table-course .col-4,
  .table-course .col-5,
  .table-course .col-6 {
    display: none;
  }
}

.table-course {
  border: 1px solid #ccc;
  border-collapse: unset;
  border-spacing: 0;
}

.table-course th {
  background: #f00;
  color: white;
}

.table-course td {
  border: 1px solid #ccc;
}

.table-course .icon {
  width: 30px;
}

.table-course .icon-wrapper {
  width: 30px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 10px;
}

.table-course .text-wrapper {
  padding-left: 40px;
}

.select-dropdown-wrapper {
  color: white;
  float: right;
  margin-bottom: 20px;
  position: relative;
  background: #ed1c24;
}
.select-dropdown-wrapper,
.select-dropdown-wrapper .select-dropdown {
  width: 250px;
  max-width: 100%;
}
.select-dropdown-wrapper .selected {
  padding: 10px;
  position: relative;
  cursor: pointer;
}
.select-dropdown-wrapper .selected .fa {
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
}
.select-dropdown-wrapper .select-dropdown {
  background: #fff;
  position: absolute;
  top: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: hidden;
  max-height: 0;
  -webkit-transition: all .5s cubic-bezier(0, 1, 0.5, 1);
     -moz-transition: all .5s cubic-bezier(0, 1, 0.5, 1);
      -ms-transition: all .5s cubic-bezier(0, 1, 0.5, 1);
       -o-transition: all .5s cubic-bezier(0, 1, 0.5, 1);
          transition: all .5s cubic-bezier(0, 1, 0.5, 1);
}
.select-dropdown-wrapper .select-dropdown.opened {
  max-height: 900px;
}
.select-dropdown-wrapper .select-dropdown .item a {
  display: block;
  color: black;
  padding: 10px;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
.select-dropdown-wrapper .select-dropdown .item a:hover {
  color: #ed1c24;
}

.related-section {
  
}
.related-section:after {
  content: "";
  clear: both;
  display: table;
}

.related-section .related-block .item-list .item .item-inner {
  flex-direction: column;
}
.related-section .related-block .item-list .item .item-inner .image,
.related-section .related-block .item-list .item .item-inner .info {
  width: 100%;
}

@media ( min-width: 480px ) {
  .related-section .related-block .item-list .item .item-inner {
    flex-direction: row;
  }
  .related-section .related-block .item-list .item .item-inner .image,
  .related-section .related-block .item-list .item .item-inner .info {
    width: 50%;
  }
}

@media ( min-width: 992px ) {
  .related-section {
    margin: 0 -20px;
  }
  .related-section .related-block {
    float: left;
    width: 50%;
    padding: 20px;
  }
}

.old-course-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #ed1c24;
}
.old-course-block .old-course-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.old-course-block .item-list-1 .item:nth-child(1),
.old-course-block .item-list-1 .item:nth-child(2) {
  width: 50%
}

@media (min-width: 768px) {
  .old-course-block .item-list-1 .item:nth-child(1),
  .old-course-block .item-list-1 .item:nth-child(2) {
    width: 25%;
  }
}

.old-course-block .item-list-1 .item:nth-child(1) .head,
.old-course-block .item-list-1 .item:nth-child(2) .head {
  line-height: 1.48;
}

.old-course-block .item-list-1 .item:nth-child(1) .head .date,
.old-course-block .item-list-1 .item:nth-child(2) .head .date {
  width: 100%;
  padding-left: 50px;
  float: none;
  font-size: 0.875rem;
}

.old-course-block .item-list-1 .item:nth-child(1) .head .countdown,
.old-course-block .item-list-1 .item:nth-child(2) .head .countdown {
  width: 100%;
  float: none;
  text-align: left;
  font-size: 0.875rem;
}

.old-course-block .item-list-1 .item:nth-child(1) .info,
.old-course-block .item-list-1 .item:nth-child(2) .info {
  padding: 10px 20px
}

.old-course-block .item-list-1 .item:nth-child(1) .info .action-list,
.old-course-block .item-list-1 .item:nth-child(2) .info .action-list {
  right: 20px
}

.old-course-block .item-list-1 .item:nth-child(1) .head,
.old-course-block .item-list-1 .item:nth-child(1) .info,
.old-course-block .item-list-1 .item:nth-child(2) .head,
.old-course-block .item-list-1 .item:nth-child(2) .info {
  font-size: 0.875rem
}

.old-course-block .seeall {
  text-align: center;
  margin-bottom: 40px;
}

.old-tour-block .seeall {
  text-align: center;
  margin-bottom: 40px;
}

.heading-title {
  border-bottom: 2px solid #ed1c24;
  margin-top: 40px;
}

.sidr-open {
  overflow-y: hidden;
}

#sidr {
  background: #ed1c24;
}

#primary-mobile-menu,
#primary-mobile-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#primary-mobile-menu > li {
  
}
#primary-mobile-menu > li > a {
  padding: 10px 15px;
}
#primary-mobile-menu .sub-menu > li > a {
  padding: 10px 15px 10px 30px;
}
#primary-mobile-menu a {
  color: white;
  display: block;
}

.table-course-nav {
  overflow: hidden;
  margin: 0 0 20px;
}
.table-course-nav .table-course-prev {
  float: left;
}
.table-course-nav .table-course-next {
  float: right;
}

.course-list .seeall {
  text-align: center;
  margin: 40px 0
}

.course-list-title {
  font-size: 1.5rem;
  color: #ed1c24;
}
.course-list-title small {
  color: black;
}

@media (min-width: 768px) {
  .course-block-wrapper .course-block-2 .item-list .item {
    width: 50%;
  }
}
@media (min-width: 992px) {
  .course-block-wrapper {
    margin: 0 -5px;
  }
  .course-block-wrapper .course-block-2 {
    float: left;
    width: 50%;
    padding: 0 5px;
  }
}

#contact-social-link .elementor-icon .fa-link:before {
  font-family: 'Font Awesome 5 Brands';
  content: "\f3c0";
}

.gototop {
  position: fixed;
  bottom: 10px;
  right: 10px;
}
.gototop a {
  display: block;
  padding: 5px 10px;
  text-align: center;
  color: white;
  background: rgba(237, 28, 36, 0.7);
}

.ads-area {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}