/*!
Theme Name: MY-abc-cooking.studio
Theme URI: https://www.abc-cooking.com.my/
Author: Roman Khon
Author URI: https://www.abc-cooking.com.my/
Description: ABC Cooking Studio MY Wordpress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: abc-cooking-studio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

abc-cooking.studio is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex='-1']:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.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;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

/* .post,
.page {
	margin: 0 0 1.5em;
} */

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.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: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.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;
}

.logged-in .navbar-fixed-top {
  top: 32px;
}
/* Insert ABC - Cooking Studio styles here! */

/*Mixins*/
/*Global*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #555;
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.row {
  max-width: 1140px;
  margin: 0 auto;
}

h2 {
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
  color: #000;
}
h2:after {
  display: block;
  height: 2px;
  background-color: #000;
  content: ' ';
  width: 100px;
  margin: 0 auto;
  margin-top: 30px;
}

/* Keyframes */
@keyframes fill {
  0% {
    width: 0%;
    height: 100%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #fff;
  }
}

@keyframes jump {
  0% {
    top: 24%;
    transform: rotateX(85deg);
  }
  25% {
    top: 10%;
    transform: rotateX(0deg);
  }
  50% {
    top: 30%;
    transform: rotateX(85deg);
  }
  75% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(85deg);
  }
}

@keyframes flip {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(-27deg);
  }
  30%,
  50% {
    transform: rotate(0deg);
  }
  55% {
    transform: rotate(27deg);
  }
  83.3% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes switchSide {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

@keyframes fly {
  0% {
    bottom: 26%;
    transform: rotate(0deg);
  }
  10% {
    bottom: 40%;
  }
  50% {
    bottom: 26%;
    transform: rotate(-190deg);
  }
  80% {
    bottom: 40%;
  }
  100% {
    bottom: 26%;
    transform: rotate(0deg);
  }
}

@keyframes bubble {
  0% {
    transform: scale(0.15, 0.15);
    top: 80%;
    opacity: 0;
  }
  50% {
    transform: scale(1.1, 1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.33, 0.33);
    top: 60%;
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1, 1);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.2, 1);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0.25;
  }
}

.abc-btn:link,
.abc-btn:visited {
  margin-top: 5%;
  display: inline-block;
  padding: 10px 20px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 200px;
  color: #fff;
  transition: background-color 0.5s, border 0.5s, color 0.5s;
}

.abc-btn:hover,
.abc-btn:active {
  background-color: #fff;
  color: #000;
}

.btn-ghost:link,
.btn-ghost:visited {
  border: 1px solid #fff;
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:active {
  border: 1px solid #fff;
  color: #000;
}

.tq:link,
.tq:visited {
  text-decoration: none;
  color: #000;
  padding: 10px 20px;
  border: 1px solid #000;
  border-radius: 20px;
  transition: 0.4s;
}

.tq:hover,
.tq:active {
  background-color: #000;
  color: #fff;
}

/*Navbar*/
nav.fill ul li a {
  position: relative;
}
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
}
nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  z-index: 1;
}

nav.fill ul li:not(:last-child) a:hover:after {
  z-index: -10;
  animation: fill 0.7s forwards;
  -webkit-animation: fill 0.7s forwards;
  -moz-animation: fill 0.7s forwards;
  opacity: 1;
}

.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  color: #000 !important;
  background-color: #fff;
}

.navbar-inverse {
  background-color: #111;
}
.navbar-inverse .dropdown-menu {
  background-color: #000;
}
.navbar-inverse .dropdown-menu li > a:link,
.navbar-inverse .dropdown-menu li > a:visited {
  color: #fff;
  padding: 20px;
  font-size: 15px;
  transition: 0.3s;
}
.navbar-inverse .dropdown-menu li > a:focus,
.navbar-inverse .dropdown-menu li > a:hover {
  background-color: #000;
  color: #000;
}
.navbar-inverse .logo {
  margin-top: 10px;
  margin-left: 5vh;
  max-width: 230px;
  width: auto;
}
.navbar-inverse .navbar-toggle {
  border-color: #fff;
}
.navbar-inverse .navbar-nav > li:not(:last-child) > a:link,
.navbar-inverse .navbar-nav > li:not(:last-child) > a:visited {
  color: #fff;
}
.navbar-inverse .navbar-nav > li:not(:last-child) > a:hover,
.navbar-inverse .navbar-nav > li:not(:last-child) > a:active {
  color: #0f0f0f;
  transition: 0.4s;
}
.navbar-inverse .navbar-nav > li:last-child > a:link,
.navbar-inverse .navbar-nav > li:last-child > a:visited {
  font-size: 14px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 100px;
  padding: 10px 18px;
  margin: 3px 8px 3px 30px;
  transition: 0.3s;
}
.navbar-inverse .navbar-nav > li:last-child > a:hover,
.navbar-inverse .navbar-nav > li:last-child > a:active {
  color: #000;
  background-color: #eee;
}

.navbar .navbar-collapse {
  text-align: center;
}

.navbar-fixed-top .navbar-collapse {
  min-height: 65px;
}

.navbar-fixed-bottom .navbar-collapse,
.navbar-fixed-top .navbar-collapse {
  max-height: none;
}

/*Footer*/
.site-footer {
  margin-top: 10px;
  background: #000;
}
.site-footer a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.site-footer a:hover {
  color: #cccc;
}
.site-footer li {
  list-style-type: none;
}
.site-footer ul {
  padding-left: 0;
}
.site-footer .content-footer {
  margin-top: 40px;
  margin-bottom: 20px;
}
.site-footer .content-footer .footer-links-nav li {
  padding-bottom: 15px;
}
.site-footer .content-footer .social li {
  padding: 0 20px 0 20px;
  color: #fff;
  font-size: 28px;
  display: inline;
}

.timeline {
  margin: 40px 30px;
}
.timeline:not(.timeline--horizontal):before {
  background-color: rgba(1, 1, 1, 0.8) !important;
}
.timeline__item:after {
  border: 4px solid rgba(1, 1, 1, 0.8) !important;
}
.timeline__item p {
  color: #000;
}
#home {
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  height: 100vh;
  margin-bottom: 20px;
}
#home .hero-text-box {
  margin-right: 4%;
  position: absolute;
  padding: 20px;
  right: 0;
  width: 600px;
  margin-top: 200px;
}
#home .hero-text-box h1 {
  margin-top: 0;
  color: #fff;
  font-size: 170%;
  word-spacing: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 36px;
}
#home .hero-text-box p {
  margin-bottom: 2rem;
  color: #fff;
  line-height: 28px;
  font-size: 17px;
}
#home .hero-text-box #book-trial {
  margin-left: 45px;
}

/*Homepage*/
.icon-bar-social {
  z-index: 9999;
  position: fixed;
  top: 35%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.icon-bar-social a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar-social a:hover {
  background: #000;
}

.facebook {
  background: #3b5998;
  color: white;
}

.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.carousel-control.right,
.carousel-control.left {
  background-image: none !important;
}

.long-copy {
  text-align: center;
  line-height: 145%;
  color: #000;
}

.section-meals {
  padding: 0;
  margin-top: 10px;
  margin-bottom: 18px;
}
.section-meals .courses {
  margin-top: 15px;
}
.section-meals .courses .abc-course {
  padding-bottom: 30px;
}
.section-meals .courses .abc-course a {
  text-decoration: none;
}
.section-meals .courses .abc-course .meal-photo {
  position: relative;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
  max-height: 260px;
  margin: 0;
  overflow: hidden;
  transition: 0.25s;
  background-color: #020202;
}
.section-meals .courses .abc-course .meal-photo .course-name {
  margin-bottom: 0;
  font-weight: 700;
  color: #fff;
  line-height: 20px;
  text-align: center;
  font-size: 20px;
}
.section-meals .courses .abc-course .meal-photo img {
  padding-top: 10px;
  width: 100%;
  height: auto;
}
.section-meals .courses .abc-course .meal-photo .course-img {
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  height: 230px;
}
.section-meals .img-1 {
  transition: all 0.5s;
}
.section-meals .img-1:hover {
  opacity: 0.45;
}
.section-meals .img-2 {
  transition: all 0.5s;
}
.section-meals .img-2:hover {
  opacity: 0.45;
}
.section-meals .img-3 {
  transition: all 0.5s;
}
.section-meals .img-3:hover {
  opacity: 0.45;
}
.section-meals .img-4 {
  transition: all 0.5s;
}
.section-meals .img-4:hover {
  opacity: 0.45;
}
.section-meals .img-5 {
  transition: all 0.5s;
}
.section-meals .img-5:hover {
  opacity: 0.45;
}
.section-meals .img-6 {
  transition: all 0.5s;
}
.section-meals .img-6:hover {
  opacity: 0.45;
}

.abc-info {
  margin: 20px 0;
  min-height: 400px;
  background-attachment: fixed;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)),
    url(https://assets.my.abc-cooking.studio/www_images/Banners/banner_subs.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.abc-info .abc-form {
  text-align: center;
  padding-top: 4%;
}
.abc-info .abc-form h1 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.abc-info .abc-form #email {
  width: 62%;
}
.abc-info .abc-form #fname,
.abc-info .abc-form #lname {
  width: 30%;
}
.abc-info .abc-form input[type='text'] {
  margin: 9px 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: vertical;
}
.abc-info .abc-form input[type='submit'] {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 20px;
  margin-top: 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
}
.abc-info .abc-form input[type='submit']:hover {
  background-color: #fff;
  color: #000;
}

.news {
  margin-top: 25px;
  margin-bottom: 16px;
  padding-bottom: 20px;
}
.news #content {
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: minmax(95px, auto);
  grid-gap: 8px;
  display: grid;
  text-align: center;
  color: #fff;
}
.news #content a {
  text-decoration: none;
  outline: none;
}
.news #content .news-title {
  font-size: 16px;
  letter-spacing: 0.3px;
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin-bottom: 0;
  text-shadow: 2px 3px 5px #000;
}
.news #content .one {
  border: 1px solid #eee;
  grid-column: 1/5;
  grid-row: 1/6;
}
.news #content .two {
  border: 1px solid #eee;
  transition: 0.5s;
  grid-column: 5/7;
  grid-row: 1/4;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.news #content .two:hover {
  opacity: 0.8;
}
.news #content .three {
  border: 1px solid #eee;
  position: relative;
  transition: 0.5s;
  grid-column: 7/9;
  grid-row: 1/4;
  background-position: center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.news #content .three:hover {
  opacity: 0.8;
}
.news #content .four {
  position: relative;
  transition: 0.5s;
  grid-column: 5/9;
  grid-row: 4/6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.news #content .four:hover {
  opacity: 0.8;
}

.abc-info {
  margin: 20px 0;
  min-height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.abc-info .abc-form {
  text-align: center;
  padding-top: 4%;
}
.abc-info .abc-form h1 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.abc-info .abc-form #email {
  width: 62%;
}
.abc-info .abc-form #fname,
.abc-info .abc-form #lname {
  width: 30%;
}
.abc-info .abc-form input[type='text'],
.abc-info .abc-form input[type='email'] {
  margin: 9px 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: vertical;
}
.abc-info .abc-form input[type='submit'] {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 20px;
  margin-top: 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
}
.abc-info .abc-form input[type='submit']:hover {
  background-color: #fff;
  color: #000;
}

.main-partner {
  text-align: center;
  margin-bottom: 30px;
}
.main-partner img {
  width: 40%;
}
.main-partner a img {
  width: 40%;
  transition: 0.2s;
}
.main-partner a img:hover {
  transform: translateY(-5px);
}

.partners {
  position: relative;
  padding: 12px 0;
  text-align: center;
}
.partners .partner-1 {
  padding-bottom: 10px;
}
.partners .partner-1 a img {
  transition: 0.2s;
}

/*Partner Page*/
.partner__info {
  width: 80%;
  margin-left: 10%;
}

/*About us page*/
.abc-about {
  color: #000;
  background-color: #fff;
}

.feature {
  color: #000;
  margin-top: 12px;
  padding: 15px 15px;
  text-align: center;
}
.feature .feature-info {
  font-size: 15px;
}

.map-info {
  margin-top: 50px;
}

#studios {
  font-weight: 600;
  padding-right: 8px;
  padding-left: 20px;
  font-size: 30px;
  color: #000;
  border-left: 3px solid #07ac07;
}

.abc-world-map {
  font-size: 17px;
  color: #000;
  padding-left: 35px;
  padding-top: 12px;
}
.abc-world-map #number {
  color: #07ac07;
  font-weight: 670;
}
.abc-world-map #num-1 {
  font-size: 20px;
  color: #07ac07;
}

.flags a .flag-1:hover,
.flags a .flag-2:hover,
.flags a .flag-3:hover,
.flags a .flag-4:hover,
.flags a .flag-5:hover,
.flags a .flag-6:hover,
.flags a .flag-7:hover,
.flags a .flag-8:hover {
  transform: translateY(-10px);
}

.flags .flag-1 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-2 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-3 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-4 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-5 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-6 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-7 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flags .flag-8 {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.25s;
  min-height: 150px;
  margin: 20px 0;
}

.flag-title {
  padding-top: 15px;
  font-size: 15px;
  color: #000;
  font-weight: 550;
}

/*Members Privileges*/
.member-btn:link,
.member-btn:visited {
  margin-bottom: 25px;
  margin-top: 15px;
  color: #000;
  border: 1px solid #000;
}

.member-btn:hover,
.member-btn:active {
  color: #fff;
  background-color: #111;
}

.priv {
  padding: 0 70px;
}

/*Instructors Page*/
.abc-profiles {
  background-color: #ffffff;
}

.page-top {
  position: relative;
  height: calc(100vh - 40px);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

#inst-head {
  position: relative;
  text-align: center;
  min-height: 150px;
}
#inst-head .abc-instructors-head {
  width: 80%;
  border-radius: 15px;
  border: 1px solid #eee;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -40%);
  background-color: #fff;
}
#inst-head .abc-instructors-head p {
  color: #000;
  line-height: 30px;
  padding-bottom: 20px;
}

.inst-profile {
  display: inline-block;
  position: relative;
  width: 19.6%;
  box-sizing: border-box;
  padding: 0;
}
.inst-profile .instructor-overlay {
  transition: 0.3s;
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  color: #000 !important;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}
.inst-profile .instructor-overlay:hover {
  opacity: 1;
  text-decoration: none;
}
.inst-profile .instructor-overlay .vertical-center {
  width: 90%;
  margin-left: 5%;
  margin-top: 30%;
}
.inst-profile .instructor-overlay .vertical-center .fas.fa-heart {
  color: #f71735;
}
.inst-profile .instructor-overlay .vertical-center .text-normal {
  line-height: 22px;
  font-size: 16px;
  line-height: 25px;
}
.inst-profile .instructor-pic {
  width: 100%;
  vertical-align: bottom;
}
.inst-profile .inst-text {
  text-shadow: 0px 0px 5px #000;
  color: #fff;
  font-family: Roboto;
  font-size: 19px !important;
  letter-spacing: 1px;
  position: absolute;
  text-align: center;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 1rem;
}
.inst-profile .inst-text.adjust {
  padding: 9px 0px;
}

/*Each Instructor Page*/
.personal-name {
  letter-spacing: 2px;
  text-align: left;
  font-family: Roboto;
  font-weight: 600;
  padding: 0 30px !important;
  border-left: 6px solid #000;
}

#title {
  text-align: left;
  color: #000;
  padding-top: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-size: 19px;
}

.personal-info {
  padding-top: 10px;
}
.personal-info p {
  letter-spacing: 1px;
  color: #000;
  text-align: left;
}

.inst-par p {
  margin-bottom: 20px;
  color: #000;
  text-align: left;
  line-height: 25px;
}

.inst-par a:link,
.inst-par a:visited {
  font-size: 30px;
  color: #333;
  transition: 0.2s;
}

.inst-par a:hover,
.inst-par a:active {
  opacity: 0.65;
}

.inst-pers-image a:link,
.inst-pers-image a:visited {
  text-decoration: none;
  color: #111;
  position: absolute;
  top: 0;
  left: 5%;
  transition: 0.2s;
}

.inst-pers-image a:hover,
.inst-pers-image a:active {
  transform: translateX(-8px);
}

.inst-pers-image img {
  width: 100%;
  position: relative;
}

.coming-classes {
  color: #111;
}
.coming-classes .book-class {
  min-height: 300px;
  position: relative;
  border: 1px solid #eee;
  margin-top: 15px;
}
.coming-classes .book-class .book-recent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.coming-classes .book-class .book-recent p {
  font-size: 12px;
  margin: 25px 0;
}
.coming-classes .book-class .book-recent a:link,
.coming-classes .book-class .book-recent a:visited {
  text-decoration: none;
  color: black;
  background-color: transparent;
  padding: 5px 12px;
  border: 1px solid #000;
  border-radius: 20px;
  transition: 0.3s;
}
.coming-classes .book-class .book-recent a:hover,
.coming-classes .book-class .book-recent a:active {
  background-color: #222;
  color: #fff;
}

/*FAQ*/
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.5s;
  border-radius: 5px;
}
.accordion:hover {
  background-color: #ccc;
}
.accordion:after {
  content: '\002B';
  font-size: 20px;
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active-acc {
  background-color: #ccc;
}
.active-acc:after {
  content: '\2212';
}

.panel {
  margin: 8px 5px;
  text-align: left;
  padding: 0 40px;
  background-color: #fff;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/*Contact Us Page*/
.contact-us-banner {
  background-position: center 18%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
}

.contact-us-head {
  color: #000;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px 20px;
  border: 1px solid #f0ebeb;
  margin-top: -80px;
}
.contact-us-head h1 {
  padding-bottom: 10px;
}

#contact-form {
  margin-top: 30px;
}

.btn-contact-us {
  color: #000;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 200px;
  transition: 0.3s;
  border-color: #000;
}

.btn-contact-us:hover {
  color: #fff;
  background-color: #000;
}

.locations {
  margin: 50px auto;
}
.locations img {
  margin-bottom: 12px;
}
.locations h3 {
  text-align: center;
  padding-bottom: 10px;
}

.news-link:link,
.news-link:visited {
  text-decoration: none;
  transition: 0.5s;
}

.news-link .article {
  text-align: left;
  color: #000;
}
.news-link .article .time-info {
  color: #575050;
  padding-top: 84px;
  font-size: 12px;
  padding-left: 5px;
  padding-bottom: 7px;
}

.news-heading {
  line-height: 25px;
  font-size: 15px;
  position: absolute;
}

#comp_name,
#date_pack {
  display: none;
}

/*Each News Page*/
#book-now:link,
#book-now:visited {
  color: #000;
  padding: 10px 20px;
  border: 1px solid #000;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
}

#book-now:hover,
#book-now:active {
  color: #fff;
  background-color: #111;
}

.control-btns {
  text-align: center;
  margin-top: 22px;
}
.control-btns a:link,
.control-btns a:visited {
  color: #000;
  text-decoration: none;
  margin: 5px 20px;
  transition: 0.3s;
}
.control-btns #left:hover,
.control-btns #left:active {
  transform: translateX(8px);
}
.control-btns #right:hover,
.control-btns #right:active {
  transform: translateX(-8px);
}

/*Course*/
.course-banner {
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
}

#basic-course h3,
#riche-renewal-course h3,
#basic-semi-renewal-course h3,
#master-course h3,
#renewal-course h3,
#best-selection h3,
#kids-course h3,
#wmc-course h3,
#riche-course h3,
#renewal-course-1 h3,
#renewal-course-2 h3,
#renewal-course-3 h3,
#renewal-course-4 h3 {
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
  color: #000;
}

.kids-course-h3 {
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
  color: #000;
}

#basic-course p,
#riche-renewal-course p,
#basic-semi-renewal-course p,
#master-course p,
#renewal-course p,
#best-selection p,
#kids-course p,
#kids-course-renewal p,
#wmc-course p,
#riche-course p {
  margin-bottom: 20px;
  text-align: center;
}

#renewal-course {
  margin-top: 3%;
}

.course-structure {
  margin: 10px 0;
  position: relative;
  width: 100%;
}
.course-structure .course-img {
  height: 250px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.course-structure .course__title {
  background-color: black;
  height: 40px;
  text-align: center;
}
.course-structure .course__title h5 {
  letter-spacing: 0.8px;
  font-family: Roboto;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding-top: 3.5%;
}
.course-structure .course__overlay {
  position: absolute;
  top: 0;
  bottom: 30px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: 0.4s;
}
.course-structure .course__overlay .course__overlay_desc {
  margin-top: 20%;
  color: #fff;
  text-align: center;
}
.course-structure .course__overlay .course__overlay_desc h5 {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: Roboto;
}
.course-structure .course__overlay .course__overlay_desc .fas.fa-star {
  font-size: 14px;
  padding: 0 1.5px;
}
.course-structure .course__overlay .course__overlay_desc p {
  letter-spacing: 0.5px;
  font-size: 12px;
  padding: 5px 40px;
}
.course-structure .course__overlay .course__overlay_desc h6 {
  font-weight: 700;
}
.course-structure .course__overlay:hover,
.course-structure .course__overlay:active {
  opacity: 1;
}

/* Wagashi Renewal CSS */
.wagashi_renewal_right {
  border-left: 20px solid #fff;
  padding: 0;
}

.wagashi_renewal_left {
  border-right: 20px solid #fff;
  padding: 0;
}

.bread_lessons {
  margin-bottom: 3%;
  text-align: center;
}
.bread_lessons .bread_lessons_desc {
  background-color: #f3efef;
  margin: 10px 15px;
  color: #000;
}
.bread_lessons .bread_lessons_desc h3 {
  letter-spacing: 1px;
  color: #fff;
  background-color: #000;
  padding: 12px 0;
}
.bread_lessons .bread_lessons_desc h5 {
  padding: 10px 0;
  font-size: 16px;
}
.bread_lessons .bread_lessons_desc .bread__box {
  background-color: #fff;
  border: 2px solid #000;
  width: 70%;
  margin-left: 15%;
  margin-bottom: 6%;
}
.bread_lessons .bread_lessons_desc .bread__box h4 {
  border-bottom: 1px dotted #000;
  padding: 10px 0;
  font-weight: 600;
  font-size: 23px;
}
.bread_lessons .bread_lessons_desc .lessons_bread {
  width: 30%;
  margin-left: 35%;
  margin-bottom: 2%;
}

.price-list:link,
.price-list:visited {
  padding: 10px 25px;
  color: #000;
  border: 1px solid #000;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.4s;
  background-color: #fff;
}

.price-list:hover,
.price-list:active {
  color: #fff;
  background-color: #000;
}

.row-cake {
  width: 75%;
}

.nav-tabs.nav-justified > li > a {
  color: #8a8686;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #000;
  font-weight: 700;
}

#kids-course {
  margin-top: 3%;
}

.season-trial {
  width: 40%;
  text-align: center;
}

.trial-width {
  width: 85%;
}

.trial__overlay {
  position: absolute;
  top: 0;
  bottom: 35px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: 0.4s;
}
.trial__overlay .trial__overlay_desc {
  margin-top: 7%;
  color: #fff;
  text-align: center;
}
.trial__overlay .trial__overlay_desc h5 {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: Roboto;
}
.trial__overlay .trial__overlay_desc p {
  letter-spacing: 0.5px;
  font-size: 12px;
  padding: 5px 40px;
}
.trial__overlay:hover,
.trial__overlay:active {
  opacity: 1;
}

.studio_select {
  padding: 0.8rem 0;
}

.studio_select select {
  border: thin solid black;
  padding: 0.5rem;
  color: #555555;
}

a.trial_btn {
  border: thin solid black;
  padding: 0.5rem 3.5rem;
  background: white;
  text-transform: none;
  color: #000;
  margin: 10px;
  font-size: 1.2rem;
  text-decoration: none;
}

a.trial_btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: normal;
}

.our-story {
  margin-top: 20vh;
  padding: 20px 10px;
  margin-bottom: 6vh;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #e6dede;
  text-align: center;
}
.our-story h1 {
  color: #000;
  padding-bottom: 20px;
  font-size: 240%;
}

.abc_req {
  color: #000;
  padding: 10px 80px;
}

.our-story-2 {
  margin: 5vh 0;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #e6dede;
  padding: 20px 10px;
}

.terms-p {
  text-align: left !important;
  padding: 0 70px !important;
}

/*Media queries for ABC cookin studio website*/
@media (max-width: 1024px) {
  .site-footer {
    text-align: center;
  }
  #home .hero-text-box {
    width: auto;
    text-align: center;
    margin-top: 23%;
  }
  #home .hero-text-box p {
    padding: 0 20px;
  }
  .abc-btn:link,
  .abc-btn:visited {
    font-size: 15px;
    margin-top: 10px;
  }
}

@media (min-width: 1150px) {
  .main-drop {
    width: 205px;
  }
}
@media (max-width: 1200px) {
  #home {
    background-attachment: scroll;
  }
  .inst-profile {
    width: 33%;
  }
  .abc-info .abc-form #fname,
  .abc-info .abc-form #lname,
  .abc-info .abc-form #email {
    width: 60%;
  }
  .abc-info {
    background-attachment: scroll;
  }
  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
    margin-top: 18px;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-fixed-top {
    min-height: 65px;
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in {
    display: block !important;
  }
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    text-align: center;
  }
  .navbar-inverse .navbar-nav > li:last-child > a:link,
  .navbar-inverse .navbar-nav > li:last-child > a:visited {
    border: none;
    border-radius: 0;
    margin: 0;
  }
  .dropdown-menu > li > a {
    margin-right: 20px;
  }
}

@media (max-width: 992px) {
  .season-trial {
    width: 70%;
  }
  .news #content .meal-photo h4 {
    font-size: 17px;
  }
  .news #content .one {
    grid-column: 1/9;
    grid-row: 1/4;
  }
  .news #content .two {
    grid-column: 1/5;
    grid-row: 4/8;
  }
  .news #content .three {
    grid-column: 5/9;
    grid-row: 4/8;
  }
  .news #content .four {
    grid-column: 1/9;
    grid-row: 8/11;
  }
  .row-cake {
    width: 100%;
  }
  .trial-width {
    width: 100%;
  }
  .inst-profile {
    width: 32%;
  }
  .flag-title {
    text-align: center;
  }
  #studios {
    margin-right: 500px;
    font-size: 23px;
  }
  .abc-world-map {
    font-size: 13px;
  }
  .abc-world-map #num-1 {
    text-align: center;
    font-size: 18px;
  }
}

@media (max-width: 843px) {
  .icon-bar-social {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-partner img {
    width: 70%;
  }
  .main-partner a img {
    width: 70% !important;
  }
  .inst-profile {
    width: 49%;
  }
  #home .hero-text-box {
    margin-top: 30%;
    margin-right: 0;
    width: auto;
    text-align: center;
  }
  .abc-info .abc-form #fname,
  .abc-info .abc-form #lname,
  .abc-info .abc-form #email {
    width: 85%;
  }
  .abc-info .abc-form h1 {
    font-size: 25px;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
  }

  /* Wagashi Renewal CSS */
  .wagashi_renewal_right {
    border-left: 0;
    margin-top: 10px;
  }

  .wagashi_renewal_left {
    border-right: 0;
    margin-top: 10px;
  }
}

@media (min-width: 768px) {
  .navbar-right .dropdown-menu {
    left: 0;
  }
}

@media (max-width: 638px) {
  .news-heading {
    position: relative;
  }
  .news-link .article .time-info {
    padding-top: 10px;
  }
  .season-trial {
    width: 100%;
  }
  .partner__info {
    width: 100%;
    margin-left: 0;
  }
  .news #content .meal-photo h4 {
    font-size: 17px;
  }
  .news #content .one {
    grid-column: 1/9;
    grid-row: 1/4;
  }
  .news #content .two {
    grid-column: 1/5;
    grid-row: 4/6;
  }
  .news #content .three {
    grid-column: 5/9;
    grid-row: 4/6;
  }
  .news #content .four {
    grid-column: 1/9;
    grid-row: 6/8;
  }
  #book-trial {
    margin-left: 0 !important;
    margin-top: 25px;
  }
  .abc-btn {
    width: 65%;
  }
  .priv {
    padding: 0 5px;
  }
  .abc_req {
    padding: 2px 20px;
  }
  .terms-p {
    padding: 0 30px !important;
  }
  .lessons_bread {
    width: 70% !important;
    margin-left: 15% !important;
  }
  .abc-instructors-head p {
    font-size: 13px;
    padding: 0 7px;
  }
  .inst-profile {
    width: 48%;
  }
  .timeline__content h2 {
    font-size: 14px !important;
  }
  .timeline__content h2:after {
    margin-top: 10px !important;
  }
  .timeline__content p {
    font-size: 11px !important;
  }
  .our-story h1 {
    font-size: 30px;
    padding-bottom: 5px;
  }
  h2 {
    font-size: 25px;
  }
  .long-copy {
    font-size: 14px;
  }
  .abc-main-head {
    min-height: 150px;
  }
}

@media (max-width: 360px) {
  .navbar-inverse .logo {
    width: 195px;
  }
  #inst-head {
    margin-bottom: 20px;
  }
}

#duit_now_img {
  height: 100%;
  width: 50%;
}
/* Online payment form */
@media (min-width: 1500px) {
  #duit_now_img {
    width: 80%;
  }
}
