/*
 Theme Name:   Children Learning Chinese
 Theme URI:    http://toffeedev.com
 Description:  CLC Themes
 Author:       Dwivy Andre
 Author URI:   http://toffeenet.com
 Template:     toffeecore
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
 Text Domain:  toffeecore-child
*/

/*FONT TYPE*/

@font-face {
  font-family: 'Raleway';
  src: url('fonts/Raleway-Light.ttf')  format('truetype'),
       url('fonts/Raleway-Light.woff')  format('woff'),
       url('fonts/Raleway-Light.woff2')  format('woff2'); 
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('fonts/Raleway-Regular.ttf')  format('truetype'),
       url('fonts/Raleway-Regular.woff')  format('woff'),
       url('fonts/Raleway-Regular.woff2')  format('woff2'); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('fonts/Raleway-Bold.ttf')  format('truetype'),
       url('fonts/Raleway-Bold.woff')  format('woff'),
       url('fonts/Raleway-Bold.woff2')  format('woff2'); 
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('fonts/Raleway-ExtraBold.ttf')  format('truetype'),
       url('fonts/Raleway-ExtraBold.woff')  format('woff'),
       url('fonts/Raleway-ExtraBold.woff2')  format('woff2'); 
  font-weight: 700;
  font-style: normal;
}


 /* --- BODY TYPOGRAPHY --- */

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: #000;
  background-color: #fff;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
}

/* --- HEADING TYPOGRAPHY --- */

h1, h2, h3, h4, h5, h6 {
  margin-top: unset;
  margin-bottom: 10px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  color: #000;
}
h1 {
    font-size: 40px;
}
h2 {
    font-size: 30px;
}
h3 {
    font-size: 25px;
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 15px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #898888;
}

a:hover {
  color: #000;
}

/* --- COLOR --- */

#main .tcore-btn-1 > button {
  border-color: #9f9f9b;
}

.primary-menu .menu > li:after,
#main .tcore-btn-1 > button:after {
  background-color: #9f9f9b;
}

.button a {
    padding: 10px 20px;
    border-radius:20px;
}

/* --- STYLING --- */

.primary-menu li {
  float: left;
  padding: 10px 15px;
  margin: 0 16px;
}

.primary-menu ul li a {
    text-transform: capitalize;
    text-align: center;
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    display: block;
    color: #000;
    transition: 0.3s all;
    position: relative;
}

.primary-menu li a {
    padding: 5px 0;
}

.primary-menu li a:before {
    content: '';
    height: 3px;
    width: 0%;
    background: #3a3e4c;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.2s all;
}

.primary-menu li:hover a:before,
.primary-menu li.current_page_item a:before {
    width: 100%;
}

/*--- HEADER -----*/

.tcore-page-banner {
    min-height: 680px;
    background-size: cover;
    background-position: center center;
    margin-bottom: 0px;
    padding-top: 18%;
}

.tcore-page-banner > img {
    width: 100%;
    position: absolute;
    bottom: -2px;
}

.wrap-logo-branding {
    min-height: 70px;
    display: flex;
    align-items: center;
}

.wrap-page-title {
    max-width: 40%;
}

.wrap-page-title > h1,
.wrap-page-title > h3 {
    color: #000;
}

.wrap-page-title > h1 {
    font-size: 50px;
}

.wrap-page-title > h3 {
    font-size: 20px;
    padding-left: 3px;
}

.header {
  transition: all 0.4s ease;
  width: 100%;
  padding: 0;
  position: relative;
  min-height: 100px;
}

#top {
  -webkit-box-shadow: 0px 10px 10px -4px rgba(0,0,0,0.28);
  -moz-box-shadow: 0px 10px 10px -4px rgba(0,0,0,0.28);
  box-shadow: 0px 10px 10px -4px rgba(0,0,0,0.28);
  background:#fff;
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.mobile i {
    color: #202e75;
}

.sticky .sticky-header #top {
  position: fixed;
  background: #000;
  z-index: 99;
  padding: 0;
  width: 100%;
}

.admin-bar.sticky .sticky-header #top {
  top: 32px;
}

#top .row div.display-table {
  display: table;
  width: 100%;
}

#top .row div.display-table > div {
    float: none;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    display: block;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
    display: block;
}

#branding {
  display: inline;
  margin: 10px 0;
}

.sticky #branding {
  height: 50px;
}

.sticky #branding img {
  height: auto;
  width: auto;
}

.top-bar {
    background: #3a3e4c;
    display: flex;
    min-height: 50px;
    align-items: center;
}

.second-bar {
    background: #fff;
    position: relative;
}

.second-bar > div {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.second-bar > div > div:first-child {
    padding: 0;
}

.wrap-logo-branding #branding img {
    width: 70%;
}

.backtotop > a > i {
    color: #000;
}

.breadcrumbs {
    padding: 15px 0;
    text-align: right;
    color: #004ca8;
}

.tcore-search input.search-field {
  top: 85px;
}

span.breadcrumb_last {
    color: #f78200;
}

.breadcrumbs a {
    color: #004ca8;
}

.home .breadcrumbs {
    display:none;
}

.search-form input {
    font-weight: 400;
    font-size: 13px;
}

.search-form label {
    width:100%;
    margin: 10px 0;
}

.search-form > label > i {
    position: absolute;
    right: 25px;
    bottom: 20px;
    color: #b9b9b9;
}

input:focus, textarea:focus, select:focus {
    outline: 0;
}

/*Back to Top*/
#buttonTop.show {
    opacity: 1;
    visibility: visible;
}

#buttonTop {
    opacity: 0;
}

/*Global Use*/

.section_center {
    display: flex !important;
    align-items: center;
    position: relative;
}

.section_start {
    display: flex;
    align-items: flex-start;
}

.section_end {
    display: flex;
    align-items: flex-end;
}

.section_small {
    min-height: 100px;
    background-size: cover;
    background-position: center;
}

.section_medium {
    min-height: 450px;
    background-size: cover;
    background-position: center;
}

.section_big {
    min-height: 650px;
    background-size: cover;
    background-position: center;
}

.section_large {
    min-height: 750px;
    background-size: cover;
    background-position: center;
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 1;
}

a {
    color: #000;
    transition: 0.2s all;
}

a:hover {
    color: #f58220;
}

a:focus {
    outline: none;
    color: unset;
}

button:focus {
    outline: none;
}

/*Footer*/
#footer {
    background: #000;
    color: #fff;
    padding: 15px 0;
    width: 100%;
}

#footer .row {
    display: flex;
    align-items: center;
    min-height: 45px;
}

.above-footer {
    background: #252525;
    position: relative;
    min-height: 350px;
}

.footer-logo {
    margin-bottom: 20px;
}

.copyright {
  font-size: 12px;
  text-align: center;
}

.wrap-widget,
.wrap-widget a {
    font-size: 14px;
    color: #fff;
}

.widget-title {
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 35px 0;
}

.item-widget {
    height: 150px;
}

.wrap-logo-footer {
    margin-bottom: 20px;
}

#menu-footer-menu > li {
    width: 50%;
    float: left;
    padding: 5px 0;
}

#menu-footer-menu > li > a {
    font-weight: 600;
    padding: 0;
    display: inline-block;
    color: #fff;
    transition: 0.2s all;
}

#menu-footer-menu > li > a:hover {
    color: #efcb19;
}

.float-icon {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99999999;
}

.float-icon img {
    height: 50px;
    width: 50px;
}


/*Gravity Form*/
.gform_body > ul {
    text-align: center;
}

.gform_wrapper label.gfield_label {
    display: none !important;
}

.ginput_container.ginput_container_select {
    position: relative;
}

.ginput_container.ginput_container_select:before {
    content:'\f107';
    font-family:"FontAwesome";
    position: absolute;
    z-index: 1;
    right: 20px;
    top: 5%;
    color: #000;
    font-size: 30px;
}

.ginput_container.ginput_container_select > select {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 11px 20px !important;
    width: 100%;
    font-weight: 500;
    color: #000;
    background: #fff;
    border: unset;
    position: relative;
    border-radius: 20px;
	font-family: Poppins;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=phone],
.gform_wrapper input[type=email],
.gform_wrapper textarea {
    border: unset;
    border-radius: 20px;
    padding: 10px 20px !Important;
    font-weight: 400;
    color: #000;
	font-family: Poppins;
}

.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=phone]::placeholder,
.gform_wrapper input[type=email]::placeholder {
    color: #000;
	font-family: Poppins;
}

.gform_wrapper input[type=text]::-webkit-input-placeholder,
.gform_wrapper input[type=phone]::-webkit-input-placeholder,
.gform_wrapper input[type=email]::-webkit-input-placeholder {
	font-family: 'Raleway', Arial, Helvetica, sans-serif;
	color: #000;
}

.gform_wrapper .gform_footer {
    text-align:center;
}

.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type=submit] {
    background: unset;
    box-shadow: unset;
    border: 2px solid ;
    color: #000;
    padding: 10px 50px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
	border-radius: 30px;
}

/*Transition*/
.sweep-to-top {
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: color 1000ms;
  transition: color 1000ms;
}
.sweep-to-top:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #034ea2;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition: 300ms ease-out;
  transition: 300ms ease-out;
}
.sweep-to-top:hover:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/*Page Home*/
.header,
#page-header-title {
    display: none !important;
}

.white {
	color: #fff;
}

.yellow {
	color: #ffcc00;
}

.carousel-interactive .swiper-pagination {
    margin-bottom: -30px;
}

/* --- RESPONSIVE --- */
@media only screen and (max-width: 992px) {

}

/* Small devices (tablets, 768px and up) */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .section_center {
        display: block;
        padding: 30px 0;
    }

    .section_start {
        display: block;
        padding: 30px 0;
    }

    .section_end {
        display: block;
        padding: 30px 0;
    }

    .item-widget {
        height: unset !important;
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 480px) {

  .section_center {
      display: block;
      padding: 30px 0;
  }

  .section_start {
      display: block;
      padding: 30px 0;
  }

  .section_end {
      display: block;
      padding: 30px 0;
  }

  .item-widget {
      height: unset;
      margin-bottom: 20px;
  }
    
}

@media only screen and (max-width: 320px) { 

}