/*
Theme Name: frenchteacher.net
Author: Harry Green
Author URI: http://hgreen.co.uk
Description: Site template for frenchteacher.net, July 2013. Last updated February 2019.
Version: 2.0
*/

* {
  box-sizing: border-box;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  background-color: #F0F6FA;
}

input,
textarea {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

ul, ol, dl {
  margin-bottom: 1rem;
  list-style-position: outside;
  line-height: 1.6;
}

ul {
  margin-left: 1.25rem;
  list-style-type: disc;
}

ol {
  margin-left: 1.25rem;
}

.site-header {
  height: 128px;
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

.container {
  margin: 0 auto;
  width: 876px;
  position: relative;
}

.row {
  margin: 0 -10px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.offset-1 {
  margin-left: 8.33333%;
}

.row > [class^="col"] {
  padding: 0 10px;
  float: left;
}

.col {
  width: 100%;
}

.col-2 {
  width: 16.66667%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33333%;
}

.col-5 {
  width: 41.66667%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.66667%;
}

.col-10 {
  width: 83.33333%;
}

/* HEADER */
.c-site-title {
  position: relative;
  top: 30px;
  display: inline-block;
}

.c-site-title a {
  color: #222B2F;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.c-site-title::after {
  position: relative;
  top: 2px;
  display: block;
  width: 100%;
  height: 6px;
  content: "";
  background: linear-gradient(to right, #127da1 0%, #127da1 33.333%, #fff 33.333%, #fff 66.666%, #b33232 66.666%, #b33232 100%);
  box-shadow: 0 2px 4px rgba(50, 50, 93, 0.16);
}

header .controls {
  background: #127da1;
  height: 24px;
  padding: 0 5px;
  position: absolute;
  top: 0;
  right: 0
}

.controls p,
.controls a {
  color: #FFFFFF;
  font-size: 12px;
  line-height: 24px;
  margin: 0 5px;
}

.navigation-primary {
  height: 36px;
  width: 100%;

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.navigation-primary .menu {
  float: left;
  width: 660px;
  z-index: 20;
  list-style: none;
  margin: 0;
}

.navigation-primary .menu > .menu-item {
  float: left;
  margin-right: 12px;
  position: relative;
}

/* Top level menu links */
.navigation-primary .menu > .menu-item > a {
  display: block;
  height: 2.5em;
  color: #152228;
  font-size: 1rem;
  font-weight: 600;
  line-height: 2.25em;
  text-decoration: none;
}

.navigation-primary .sub-menu {
  background: transparent;
  float: none;
  display: none;
  position: absolute;
  margin-left: -12px;
  width: auto;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}

.navigation-primary .menu > .menu-item-has-children:hover::after,
.navigation-primary .menu > .menu-item-has-children:focus-within::after {
  display: block;
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 5px;
  margin-top: -7px;
  z-index: 1;

  background: #FFFFFF;
  transform: rotate(-45deg);
}

.navigation-primary .menu-item:hover .sub-menu,
.navigation-primary .menu-item:focus-within .sub-menu {
  display: block;
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.07);
}

.navigation-primary .sub-menu .menu-item {
  position: relative;
  background-color: #fff;
  z-index: 2;
}

.navigation-primary .sub-menu .menu-item:first-of-type {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding-top: 4px;
}

.navigation-primary .sub-menu .menu-item:last-of-type {
  padding-bottom: 4px;
}

.navigation-primary .sub-menu .menu-item a {
  display: block;
  padding: 4px 40px 4px 20px;
  line-height: 1.6;
  font-weight: 600;
  color: #127da1;
  text-decoration: none;
  white-space: nowrap;
}

.navigation-primary .sub-menu .menu-item a:hover,
.navigation-primary .sub-menu .menu-item a:focus {
  color: #152228;
}


.navigation-primary .search {
  float: left;
  height: 36px;
  width: 216px;
}

/* MAIN */
.main {
  width: 100%;
}

.content {
  background: #FFFFFF;
  color: #222B2F;
  border-top: 4px solid #127da1;
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.07);
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 30px 40px;
  width: 876px;
}

h1,
.u-h1 {
  color: #152228;
  font-size: 32px;
  font-weight: normal;
  margin: 0 0 20px;
}

h2,
.u-h2 {
  color: #152228;
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 15px;
}

h3,
.u-h3 {
  color: #152228;
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 10px;
}

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

.content p {
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.content a {
  color: #127da1;
  text-decoration: none;
  font-weight: 600;
}

.content a:hover {
  text-decoration: underline;
}

.c-headline {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
}

.c-lead {
  font-size: 1.125rem;
  margin-bottom: 0 !important;
}

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

.content .alignleft {
  float: right;
  margin: 20px 20px 20px 0;
}

/*.content ul {*/
/*list-style-type: disc;*/
/*margin-left: 20px;*/
/*margin-bottom: 15px;*/
/*}*/

/*.content li {*/
/*line-height: 1.5;*/
/*margin: 4px 0px;*/
/*}*/

.c-checked-list {
  line-height: 1.5;
  list-style: none;
}

.c-checked-list li {
  padding-left: 32px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDIyYTEwIDEwIDAgMSAxIDAtMjAgMTAgMTAgMCAwIDEgMCAyMHptMC0yYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2em0tMi4zLTguN2wxLjMgMS4yOSAzLjMtMy4zYTEgMSAwIDAgMSAxLjQgMS40MmwtNCA0YTEgMSAwIDAgMS0xLjQgMGwtMi0yYTEgMSAwIDAgMSAxLjQtMS40MnYuMDF6IiBmaWxsPSIjMzI4OEIzIi8+PC9zdmc+');
  background-repeat: no-repeat;
  background-position: 0 -2px;
  margin-bottom: 1em;
}

.c-price {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.c-price__symbol {
  font-size: 2rem;
  vertical-align: 30%;
}

.c-price__value {
  font-size: 3rem;
  padding: 0 0.5rem;
}

.c-price__period {
  font-size: 1.125rem;
  vertical-align: baseline;
  text-transform: uppercase;
  font-weight: 600;
}


/* WELCOME */
.welcome-primary {
  border-right: 1px solid #DDD;
  float: left;
  padding-right: 22px;
  width: 364px;
}

.welcome-secondary {
  float: left;
  padding-left: 22px;
  width: 364px;
}

.c-login-form {
  padding-bottom: 40px;
}

.c-login-form label {
  font-size: 0.875rem;
  font-weight: 600;
}

.c-login-form #user_login,
.c-login-form #user_pass {
  width: 100%;
  height: 38px;
  border: 1px solid #D9E3E8;
  margin: 0 0 10px;
  padding: 0 16px;
  border-radius: 4px;
  background: #fff;
  color: #263136;
  font-size: 15px;
  font-weight: 600;
  line-height: 40px;
}

.c-login-form p {
  margin-bottom: 0;
}

.c-login-form .login-submit {
  text-align: right;
}

.c-button,
.c-login-form #wp-submit {
  border-radius: 4px;
  color: #FFFFFF !important;
  background: #127da1;
  font-weight: 600;
  font-size: 16px;
  line-height: 2.5em;
  padding: 0;
  border: none;
  height: 2.5em;
  text-align: center;
}

.c-button:hover,
.c-button:focus,
.c-login-form #wp-submit:hover,
.c-login-form #wp-submit:focus {
  text-decoration: none !important;
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.2s ease;
}

.c-login-form #wp-submit {
  width: 146px;
}

.c-button--block {
  display: block;
  width: 100%;
}

.c-button--small {
  font-size: 0.875rem !important;
}

.c-button--large {
  font-size: 1.25rem;
  line-height: 2.75em;
  height: 2.75em;
}

.c-button--secondary {
  background-color: #fff;
  color: #127da1 !important;
}

.c-button--secondary:hover,
.c-button--secondary:focus {
  box-shadow: none;
  text-decoration: underline !important;
  transform: translate3d(0, 0, 0);
}

.c-login-form .lost-password-link {
  display: block;
  text-align: right;
  font-size: 0.875rem;
  font-weight: 600;
  color: #152228;
  margin-bottom: 12px;
}

.welcome-back {
  margin-bottom: 2rem;
}

.c-panel {
  margin-bottom: 1rem;
  padding: 1rem 0.75rem;
  background-color: #F0F6FA;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.c-panel > :last-child {
  margin-bottom: 0;
}

.c-panel--danger {
  color: hsl(360, 56%, 45%);
  background-color: hsl(360, 56%, 85%);
}

.c-child-page-link {
  font-size: 18px;
}

/* Styles to deal with inconsistent text formatting in second column */
.s-resources-second p {
  margin-bottom: 0;
}

.s-resources-second p + h2 {
  margin-top: 1.5rem;
}

span.new {
  color: #B93232;
  font-weight: 700;
}

.c-update {
}

.c-update__meta {
  display: block;
  margin-bottom: 0.5rem;
  color: #152228;
  font-weight: 600;
}

.c-update__free {
  color: rgba(179, 50, 50, 1);
  font-weight: 700;
}

.c-testimonial {
  width: calc(10 / 12 * 100%);
  margin-bottom: 2rem;
  clear: both;
}

.c-testimonial__quote {
  position: relative;
  margin-bottom: 1rem;
  padding: 20px 30px;
  border-radius: 5px;
  background: #127da1;
  color: #fff;
}

.c-testimonial__quote:after {
  content: "";
  position: absolute;
  bottom: -10px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #127da1 transparent;
  display: block;
  width: 0;
}

.c-testimonial__quote p:last-child {
  margin-bottom: 0;
}

.c-testimonial__author {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
}

.c-testimonial:nth-child(2n) .c-testimonial__quote:after {
  left: 20px;
}

.c-testimonial:nth-child(2n+1) .c-testimonial__quote:after {
  right: 20px;
}

.c-testimonial:nth-child(2n+1) {
  float: right;
}

.c-testimonial:nth-child(2n+1) .c-testimonial__author {
  text-align: right;
}

/* the_posts_pagination() - Archive Pagination */
.navigation.pagination {
  text-align: center;
}

.results-container a {
  font-size: 18px;
}

.c-featured-testimonial {
  margin: 0 -40px;
  padding: 3rem 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
  color: #127da1;
  background-color: #F7FBFC;
}

/* FOOTER */
.site-footer {
  padding: 20px 0 40px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #222B2F;
}

.site-footer a {
  font-weight: 600;
  color: #152228;
  text-decoration: none;
}

.site-footer a:hover {
  color: #127da1;
}

.c-widget-books {
  color: #fff;
  font-size: 0.875rem;
  background-color: hsl(200, 40%, 15%);
  padding: 1rem;
  border-radius: 4px;
}

.announcement {
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 10px 12px;
}

.announcement a,
.announcement p {
  display: inline-block;
}

.announcement a {
  color: #fff;
  margin-left: 12px;
}


/* Google Custom Search */

.gsc-input {
  padding: 0 !important;
}

input.gsc-input {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkuODggOC45M2wzLjYgMy42YS42Ny42NyAwIDAgMS0uOTUuOTRMOC45NCA5Ljg4YTUuMzMgNS4zMyAwIDEgMSAuOTQtLjk0em0tNC4yMS43NGE0IDQgMCAxIDAgMC04IDQgNCAwIDAgMCAwIDh6IiBmaWxsPSIjNTA3RTk1Ii8+PC9zdmc+') !important;
  background-size: 16px 16px !important;
  background-position: 10px 10px !important;
  background-repeat: no-repeat !important;
  text-indent: 24px !important;
  height: 36px !important;
  padding: 0 10px !important;
  width: 216px !important;
  line-height: 36px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: #FCFDFE;
  box-shadow: inset 0 0 2px rgba(50, 50, 93, 0.3);
  border-radius: 4px;
}

.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.gsc-search-button {
  display: none !important;
}

.gsib_a {
  padding: 0 !important;
}

.gsib_b {
  display: none !important;
}

.u-margin-bottom {
  margin-bottom: 2.5rem;
}

.u-margin-bottom--small {
  margin-bottom: 0.5rem;
}

.u-no-margin-bottom {
  margin-bottom: 0 !important;
}

.u-align-middle {
  display: flex;
  align-items: center;
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

div.s2member-pro-paypal-form-section-title {
  font-family: inherit !important;
}

div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div label span {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div input[type="text"],
div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div input[type="email"],
div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div input[type="password"],
div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div textarea,
div.s2member-pro-paypal-form-section > div.s2member-pro-paypal-form-div select {
  width: 100%;
  height: 38px;
  border: 1px solid #D9E3E8;
  margin: 0 0 10px;
  padding: 0 16px;
  border-radius: 4px;
  background: #fff;
  color: #263136;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  line-height: 40px;
}


div.s2member-pro-paypal-form-description-div {
  font-family: inherit !important;
  font-weight: 600 !important;
}
