/*
 Theme Name:   The Essential English Centre
 Theme URI:    https://www.essentialenglishcentre.com
 Description:  Fully Bespoke WordPress theme built for The Essential English Centre
 Author:       Urbansoul Design
 Author URI:   https://www.urbansouldesign.co.uk/
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 18px;
  overflow-x: hidden;
}
body {
    margin: 0;
    min-height: 100%;
    background-color: #fff;
    line-height: 1.5;
    font-family: europa, sans-serif;
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
    overflow-x: hidden;
  }

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 10px;
}
h1 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: capitalize
}

.single-courses h1 {
  font-size: 2.5rem;
}

body:not(.single-courses) h1:not(.video-heading-1):not(.video-heading-2):not(.video-heading-3) {
  text-align: center;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}
  
  h2 {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  h3 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  h4 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  h5 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  h6 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.5
}
p.standfirst {
    font-size: 1.32rem;
    line-height: 1.3;
    margin-right: 60px;
    margin-bottom: 30px;
}
blockquote {
  margin: 0 0 10px 0;
  padding: 10px 20px;
  border-left: 5px solid #E2E2E2;
  font-size: 18px;
  line-height: 22px;
}
figure {
  margin: 0;
  margin-bottom: 10px;
}
figcaption {
  margin-top: 5px;
  text-align: center;
}
ul,
ol {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-left: 40px;
}
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}
button,
html input[type="button"],
input[type="reset"] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

p {
  margin-bottom: 1rem;
  color: #333;
}

a {
  color: #171717;
  font-weight: 600;
  text-decoration: underline;
}

p a {
    background: linear-gradient(to right, #171717 50%, #fff 50%) right bottom;
    background-size: 205%;
    color: #171717;
    transition: all .3s ease-out;
    padding: 0 2px
}

p a:hover {
    background-position: left bottom;
    color: #fff;
}

ul {
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 25px;
}

li {
  margin-bottom: 9px;
  position: relative;
}

.content-section > ul, .main section ul {
    list-style: none;
}

.content-section > ul li:before, .main section ul li:before {
    content: '';
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #cadb36;
    left: -15px;
    top: 7px;
}
.main section .reviews-stars ul li:before, .main section ul.wp-block-social-links li:before {
    display: none
}

blockquote {
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 10px 20px;
  border-left: 5px solid #c6e035;
  font-size: 18px;
  line-height: 140%;
  font-weight: 500;
}

section {
  overflow: hidden;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 7vh;
  padding-bottom: 7vh;
  position: relative;
}
section.homepage-intro {
  position: relative;
  margin-top: -7vh;
  padding-top: 0vh;
  padding-bottom: 2vh;
}
section.accordion-block-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

section.review-section {
  background-image: url('../eec/images/eec-physiotherapy-lincoln-review-bg.jpg');
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

section.bg-yellow {
  background-color: #c6e035;
}

section.hero-internal {
  padding-top: 55vh;
  padding-bottom: 5vh;
  background-image: url('../images/test-hero.jpg');
  background-position: 50% 0px;
  background-size: cover;
  background-repeat: no-repeat;
}
.light-grey {
    color: #EFF0F2;
}
.bg-light-grey {
    background-color: #EFF0F2;
}
.grey {
    color: #999;
}
.bg-grey {
    background-color: #999;
}
.dark-grey {
    color: #333;
}
.bg-dark-grey {
    background-color: #333;
}
.white, .single-courses h3.white {
    color: #fff;
}
.bg-white-grey {
    background-color: #fff;
}
.green {
    color: #c6e035;
}
.bg-green {
    background-color: #c6e035;
}
.purple {
    color: #7d249a;
}
.bg-purple {
    background-color: #7d249a;
}
.lilac {
    color: #e5d7e9;
}
.bg-lilac {
    background-color: #e5d7e9;
}
.full {
    width: 100vw;
    margin-left: calc((-100vw - -100%) / 2);
}
.full.contained {
    width: 100vw;
    margin-left: calc((-100vw - -100%) / 2);
    padding-left: 6%;
    padding-right: 6%;
}
.light-grey svg {
    fill: #EFF0F2
}
.grey svg {
    fill: #999
}
.dark-grey svg {
    fill: #333
}
.white svg {
    fill: #7d249a
}
.green svg {
    fill: #c6e035
}
.purple svg {
    fill: #7d249a
}
.uagb-section__wrap .uagb-section__overlay {
    opacity: 1!important;
}
.homepage-proof-wrapper {
  text-align: center;
}

.homepage-proof {
  max-width: 1500px;
}

.html-embed {
  width: 33%;
}

.button.sign-up {
  padding-top: 0px;
  padding-bottom: 0px;
}

.button.submit {
  width: 100%;
}

.yellow {
  color: #c6e035;
}

.bg-yellow {
  background-color: #c6e035;
}

.dark-grey {
  color: #171717;
}

.bg-dark-grey {
  background-color: #171717;
}
.no-overflow {
  overflow: hidden;
}
.noscroll {
 position: relative!important;
 overflow: hidden!important;
 width: 100%!important;
 height: 100%!important
}
/************************************ Navigation ***********************************/
.nav-logo-wrapper {
  display: inline-block;
  width: auto;
  height: 84px;
  margin-top: -3px;
  padding: 0;
}

.nav-logo-wrapper img {
  width: auto;
  height: 84px;
  display: block;
}

 .header {
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 9998;
  max-height: 100vh;
  padding-left: 5%;
  padding-right: 5%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
  max-height: 100vh;
  background-color: #fff;
}

.header.show {
  transform: translateY(0%);
  transition: transform 500ms ease-in-out;
}

.header.hide {
  transform: translateY(-500%);
  transition: transform 500ms ease-in-out;
}
.navigation-main {
  list-style: none;
  padding-left: 0px;
  margin-bottom: 0;
  margin-top: 0px;
  position: absolute;
  left: 0;
  right: 0;
  background: #EFF0F2;
  overflow: scroll;
  height: 100vh; 
  padding-top: 30px;
  top: 81px;
  width: 112%;
  margin-left: -6%;
}
 .nav { 
  display: none;
}
.nav-right {
  display: block;
  float: none;
}
 .navigation-main .children, .navigation-main .sub-menu {
     display: none;
     background-color: #EFF0F2;
     position: relative;
     list-style: none;
     padding-left: 0;
     border-top: 5px solid #ffea00;
     margin-top: 0px;
     pointer-events: none;
}
.navigation-main .sub-menu .sub-menu {
  background-color: #EFF0F2;
  position: relative;
  list-style: none;
  padding-left: 0;
  border-top: 2px solid #ffea00;
  margin-top: 0px;
  opacity: 0;
  height: 0;
  overflow-y: hidden;
  transition: .5s opacity ease-in-out;
}

 .navigation-main > .page_item, .navigation-main > .menu-item {
     margin: 0;
     display: block;
     position: relative;
}
.navigation-main .menu-item li {
  pointer-events: all;
}
 .navigation-main .page_item a, .navigation-main .menu-item a {
    display: block;
    padding: 20px 10px;
    transition: all ease 300ms;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.84rem;
    text-transform: capitalize;
    text-align: left;
}
.navigation-main .page_item li:hover .sub-menu, .navigation-main .menu-item li:hover > .sub-menu {
  display: block;
  pointer-events: all;
  opacity: 1;
  height: auto;
}
 .navigation-main .page_item.contact-button a, .navigation-main .menu-item.contact-button a {
     background: linear-gradient(to right, #171717 50%, #c6e035 50%);
     background-size: 205% 100%;
     background-position: right bottom;
     transition: all .5s ease-out;
     color: #171717;
     padding: 20px 30px;
         border: 2px solid #c6e035;
}
 .navigation-main .page_item.contact-button a:hover, .navigation-main .menu-item.contact-button a:hover {
     background-position: left bottom;
     color: #fff;
}
 .navigation-main .page_item a:hover, .navigation-main .menu-item a:hover {
     color: #7d249a;
}
 .navigation-main .page_item_has_children:hover > .sub-menu, .navigation-main .menu-item-has-children:hover > .sub-menu {
     display: block;
}
.navigation-main .menu-item-has-children .sub-menu .sub-menu:before {
  display: none;
  }
.navigation-main .sub-menu li a {
  padding: 10px 20px;
  font-size: 0.84rem;
  text-align: left;
}
.navigation-main .sub-menu .sub-menu li a {
  padding: 10px 20px 10px 30px;
}
 .navigation-main .page_item_has_children:hover, .navigation-main .menu-item-has-children:hover {
     white-space: nowrap;
}
 .navigation-main .page_item li a, .menu-item li a{
    padding: 15px 20px;
    font-size: 0.56rem;
    border: none;
    color: #fff;
}
/* .navigation-main .page_item li a:hover, .menu-item li a:hover{
color: #000
}*/
 .menu-button-wrapper {
    height: 46px;
    background-color: #c6e035;
    cursor: pointer;
    padding: 0px 25px;
    color: #fff;
    width: 46px;
    display: inline-block;
    padding: 14px 8px;
    position: absolute;
    top: 20px;
    right: 5%;
}
 .menu-button-wrapper h5 {
     display: none;
}
 .menu-button-wrapper.clicked {
     background-color: #c6e035;
}
 .menu-button-line-1 {
     width: 30px;
     height: 3px;
     margin-bottom: 4px;
     background-color: #171717;
}
 .menu-button-line-2 {
     width: 30px;
     height: 3px;
     margin-bottom: 4px;
     background-color: #171717;
}
 .menu-button-line-3 {
     width: 30px;
     height: 3px;
     margin-bottom: 0px;
     background-color: #171717;
}
 .menu-button-wrapper.clicked .menu-button-line-1 {
     transition: transform 200ms;
     transform: translateX(0px) translateY(7px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(45deg)!important;
}
 .menu-button-wrapper.clicked .menu-button-line-2 {
     transition: opacity 200ms;
     opacity: 0!important;
}
 .menu-button-wrapper.clicked .menu-button-line-3 {
     transition: transform 200ms;
     transform: translateX(0px) translateY(-7px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(-45deg)!important;
}
.nav-container {
  position: relative;
  font-size: 0;
  display: flex;
  justify-content: space-between;
}
@media (min-width: 1100px) {
  .menu-button-wrapper {
   display: none;
  }
  .nav { 
   display: inline-block;
 }
  .navigation-main {
    list-style: none;
    padding-left: 0px;
    margin-bottom: 0;
    margin-top: 0px;
    position: relative;
    background-color: transparent;
    top: 0;
    overflow: visible;
    height: auto; 
    padding-top: 0px;
}
.navigation-main .sub-menu li a {
  text-align: left;
}
.navigation-main > .page_item, .navigation-main > .menu-item {
  margin: 0;
  display: inline-block;
  position: relative;
 }
 .navigation-main .page_item a, .navigation-main .menu-item a {
   padding: 30px 10px;
   font-size: 0.84rem;
   color: #444;
 }
.navigation-main .children, .navigation-main .sub-menu {
  background-color: #7d249a;
  position: absolute;
  list-style: none;
  padding-left: 0;
  border-top: 5px solid #c6e035;
  margin-top: -5px;
  margin-bottom: 0;
  width: fit-content;
  min-width: 300px;
  z-index: 2;
  left: -50%;
 }
 .navigation-main .sub-menu .sub-menu {
   background-color: #7d249a;
   position: absolute;
   left: -300px;
   top: 10px;
   list-style: none;
   padding-left: 10px;
   border-top: none;
   margin-top: 0px;
   z-index: 3;
 }
 .navigation-main > li:nth-of-type(3) li:nth-of-type(2) ul {
   left: -350px;
 }
 .navigation-main .sub-menu .sub-menu li {
   margin-bottom: 0;
 }
 .navigation-main .sub-menu li {
     margin-bottom: 0;
 }
 .navigation-main .sub-menu li a {
     color: #fff;
   font-size: 0.84rem;
 }
 #menu-main-menu li:last-child a:hover, .navigation-main .sub-menu li a:hover {
   color: #c6e035
 }
 .mobile-only {
   display: none;
 }
}
.special-button-container {
  display: block;
  position: fixed;
  right: -75px;
  top: 81px;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 200ms ease-in-out;
  transition-delay: 300ms;
}
.admin-bar .special-button-container {
  top: 127px;
}
.hide + .special-button-container {
  transform: translateY(-81px);
  transition: transform 200ms ease-in-out;
}
.admin-bar .hide + .special-button-container {
  transform: translateY(-127px);
}
@media(min-width:783px) {
  .admin-bar .special-button-container {
    top: 113px;
  }
  .hide + .special-button-container {
    transform: translateY(-81px);
    transition: transform 200ms ease-in-out;
  }
}
@media(min-width:1100px) {
  .special-button-container {
    right: -10px;
  }
}
.special-button-container li {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}
#menu-main-menu li.book-link a{
  background: linear-gradient(to right, #c6e035  50%, #7d249a 50%);
  background-size: 207% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
  color: #fff;
  font-size: 0.84rem;
  padding: 10px 30px;
  /* border: 2px solid #7d249a; */
}
.special-button {
  list-style: none;
  margin: 0;
  padding-left: 0;
  z-index: 9999;
  pointer-events: all;
}
.special-button a {
  margin-right: 93px;
  background: linear-gradient(to right, #c6e035 50%, #7d249a 50%) right bottom;
  background-size: 200%;
  background-position: right bottom;
  transition: all .5s ease-out;
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 1rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  padding: 0 5px 8px 0;
  width: 140px;
  height: 40px;
}
.special-button a:hover {
  background-position: left bottom;
  color: #7d249a;
}
.home-hero {
  height: 100vh;
  padding-top: 0vh;
  padding-bottom: 0vh;
  /* background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(23, 23, 23, 0)), to(rgba(23, 23, 23, 0))), -webkit-gradient(linear, left top, left bottom, from(rgba(23, 23, 23, 0.3)), to(rgba(23, 23, 23, 0.3)));
  background-image: linear-gradient(180deg, rgba(23, 23, 23, 0), rgba(255, 255, 255, 0)), linear-gradient(180deg, rgba(23, 23, 23, 0.3), rgba(23, 23, 23, 0.3)); */
}

.hero-text-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-text-wrapper h1 {
    text-transform: capitalize;
    color: #fff;
    text-shadow: 0 0 6px #171717;
}
.hero-text-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 100;
    margin: 0;
    padding: 0 10px;
    color: #fff;
    text-shadow: 0 0 6px #171717;
}
.hero-text-wrapper .wp-block-button__link {
  border-radius: 0;
  background-color: #c6e035;
  margin: 30px 0 0 0;
  padding: 14px 0;
}
@media (min-width: 991px) {
  .hero-text-wrapper h2 {
    font-size: 3.5rem;
  }
}
body:not(.home) .hero-container {
  height: 600px;
  height: calc(108px + 50vh);
  width: 100%;
  background: url(images/IMG_4453-1200x700-2.jpg) no-repeat;
  background-size: cover;
}
.home .hero-container {
  height: 700px;
  height: calc(108px + 60vh);
  width: 100%;
}

.hero-container.video-parent {
  position: relative;
}
.hero-container.video-parent iframe {
  height: 100%;
  width: 177.77777778vh; /* 100 * 16 / 9 */
  min-width: 100%;
  min-height: 56.25vw; /* 100 * 9 / 16 */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}
.container {
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 6%;
  padding-left: 6%;
  position: relative;
}

.container.video-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 500px;
  max-width: 1500px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-align-content: space-around;
  -ms-flex-line-pack: distribute;
  align-content: flex-start;
}

.container.narrow, .single-post .main-content-section, .single-post .home-button-wrapper {
  max-width: 800px;
  margin: auto;
}
.single-post .main-content-section {
  display: block;
}
.single-post .main-content-section {
    width: 100%
}