/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-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.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/* latin-ext */
@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(https://fonts.gstatic.com/s/breeserif/v9/4UaHrEJCrhhnVA3DgluA96Tp56N1.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(https://fonts.gstatic.com/s/breeserif/v9/4UaHrEJCrhhnVA3DgluA96rp5w.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* cyrillic-ext */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* greek-ext */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
  }
  /* greek */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
    unicode-range: U+0370-03FF;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
    
  header > .col-full{
      width: 80%;
      max-width: 1280px;
      margin: auto;
      background: url('/wp-content/uploads/2020/08/logo.png') no-repeat top right;
      background-size:86px;
  }
  
  .col-full{
      width:80%;
      max-width: 1280px;
      padding:0px;
  }

  header .storefront-primary-navigation{
    margin: auto;
    border-top:1px solid #f0f0f0;
    border-bottom: 1px solid #d0d0d0;
  }
  
  .woocommerce-active .site-header .main-navigation{
      width: 100%;
      margin-right:0px;
  }
  
  img.custom-logo{
      width: 100% !important;
      max-width: 335px !important;    
  }
    
  .page-id-50 figure.wp-block-media-text__media img{
      width: auto;
  }

  li.current_page_item a, li.current_page_parent > a{
      border-bottom:5px solid #008dff;
  }
  .nav-menu li a.other-site{
      color: #000 !important;
  }
  .nav-menu li a.other-site span{
      color: #FFF;
      padding: 0px 5px;
      margin-left: 2px;
      background-color:#ff8f00;
  }

  .menu-toggle{
      right: 15px;
      top: 0px;
  }

  .home-product-list{
      margin-top:340px;
  }

  

.page-item-7, .page-item-8{
      display: none !important;
  }
  
  .site-search{
      display: none;
      position:absolute;
      width: 100% !important;
      top: calc(100%);
      left: 0px;
      padding:2vh 5%;
      background-color: #d9d9d9;
  }

  #site-header-cart .cart-contents{
      display: none !important;
  }
  .main-navigation div.menu ul.nav-menu > li > a.checkout-site{
    padding-top: 6.5% !important;
  }
  .checkout-site span{
    font-size: .83em;
    vertical-align: super;
    padding-left: 5px;
  }
  .site-search input{
      background-color: #FFF;
  }

  #site-header-cart{
      position: absolute;
      right: 5%;
      width: 250px;
  }
  
  #site-header-cart .woocommerce-Price-amount{
      display: none;
  }
  
  #site-header-cart .count{
      display: none;
  }
  
  .site-header{
      padding-top: 1.2em;
      margin-bottom:0px !important;
  }
  
  .storefront-breadcrumb{
      margin-bottom: 0px;
  }

  .entry-header{
      padding-bottom: 2em !important;
  }

  .entry-header .entry-title{
      text-align:left;
      font-family: 'bree serif';
      font-size: 24px;
  }

  .woocommerce-active .site-header .site-header-cart{
      width: auto;
  }
  
  .main-navigation div.menu ul.nav-menu > li > a{
      padding-top: 10% !important ;
  }
  
  .main-navigation div.menu ul.nav-menu a{
      font-family: 'bree serif';
      font-size: 18px;
  }
  
  body{
      font-family: 'roboto';
  }
  
  h1,h2,h3,h4,h5,h6{
      font-family: 'bree serif'
  }
  
  img{
      border-radius: 0px
  }
  #content{
      position: relative;
  }
  #content > .col-full{
    margin: auto;
  }
  .exam_dates{
      display: none;
      position: absolute;
      right: 15%;
      top: -2px;
      border: 1px solid #d0d0d0;
      background: #f9f8f8;
      width: 300px;
      z-index: 2;
      padding: 0.5em;
      cursor: pointer;
  }
  .exam_dates h4{
    margin-bottom: 0px;
    font-size: 16px;
  }
  /*
  .exam_dates h4 span{
      color: #FFF;
      background-color: #008dff;
  }*/
  .exam_dates .wp-block-column{
      margin-bottom: 0px !important;
  }
  .exam_dates p{
      display: none;
      font-size: 14px;
      background-color: #FFF;
      padding: 0.5em;
      border: 1px solid #E1E1E1;
  }
  .exam_dates p:nth-child(2){
      margin-top:0.5em !important;
  }
  .exam_dates h4 i:nth-child(1){
      margin-right:70px;
  }
  .exam_dates h4 i:nth-child(2){
      margin-left:70px;
  }
  .home .wp-block-cover{
      width: 100%;
      position: absolute;
      left: 0px;
      right: 0px;
      height: 416px;
      background-position: center center;
      background-size: contain;
      background-repeat: no-repeat;
      background-color: #f9f9f9;
      border-bottom: 1px solid #d0d0d0;
  }
  .home .wp-block-cover .wp-block-cover__inner-container{
      max-width: 650px !important;
      width: 50%;
      float: right;
  }

  .home .wp-block-columns{
      max-width:90%;
      margin:auto;
  }
  
  .home .wp-block-columns p{
      margin:0px;
      font-size:14px;
  }
  
  .home #primary.content-area{
      margin-bottom: 0px !important;
  }
  .home #primary .site-main{
      margin-bottom: 0px !important;
  }
  a.wc-block-grid__product-link{
      font-family: 'bree serif'
  }
  
  .wc-block-grid__product-price{
      font-size:16px;
  }
  
  .wc-block-grid__product .wc-block-grid__product-link, .woocommerce-LoopProduct-link{
      width: 75%;
      margin:auto;
      display:block;
  }
  .wc-block-grid__product .wc-block-grid__product-link img{
      border:1px solid #e5e5e5;
  }
  
  .wc-block-grid__product .wc-block-grid__product-link:hover img{
      border:1px solid #008dff;
  }

  .storefront-full-width-content .woocommerce-products-header{
      padding-bottom: 1em;
  }
  #site-navigation a:active,  #site-navigation a:visited{
      border: none !important;
      border-bottom: 5px solid #008dff !important;
      outline-color: #FFF;
  }
  #site-navigation a:hover{
      text-decoration: none;
      border-bottom:5px solid #008dff;
  }
  
  .children{
      background-color: #FFF !important;
      border:1px solid #d0d0d0
  }
  .children a{
      color: #000 !important;
      }
footer{
    padding: 1em !important;
}

footer .site-info{
    padding: 0em;
    text-align: center;
}
footer .site-info a{
    text-decoration: none;
}
.wpforms-container,.contact-us-required{
    width: 80% !important;
    margin: auto !important;
}
.wpforms-container input{
    max-width: 100% !important;
    width:100% !important;
}

.testimonial{
    margin: auto !important;
}

.testimonial figure{
    margin: auto !important;
}

.testimonial .wp-block-media-text__content{
    padding-left: 1em;
    margin-top: 2em;
    position: relative;
}
.testimonial figure img{
    border-radius: 100px;
}
.testimonial .wp-block-media-text__content h4{
    /*border-top: 1px solid grey;
    border-right: 1px solid grey;
    border-left: 1px solid grey;*/
    margin:0px;
    padding:0px 0.5em;
}/*
.testimonial .wp-block-media-text__content h4:before{
    position:absolute; 
    border-right:30px solid grey; 
    border-top:15px solid transparent; 
    border-bottom:15px solid transparent; 
    left:-13px; 
    top:10px; 
}*/
.testimonial .wp-block-media-text__content p{
    /*border-bottom: 1px solid grey;
    border-right: 1px solid grey;
    border-left: 1px solid grey;*/
    padding: 1em;
    margin-bottom:0px;
}
.testimonial .wp-block-media-text__content p:last-child{
    border: none;
    padding: 0px;
}
.testimonial .wp-block-media-text__content p:last-child img{
    float: left; 
    clear: none;
    margin-left:1em;
}
.testimonial .wp-block-media-text__content p:last-child .date{
    float: right;
    clear: none;
}

div.summary ul{
    display: none;
}

div.wp-block-file a:nth-child(1){
    display: none;
}

.newsletter-signup{
    background: #f9f9f9 !important;
    overflow:auto;
    width: 100% !important;
    padding: 2em !important;
    border-top:1px solid #d0d0d0 !important;
}
.newsletter-signup img{
    margin: auto;
    max-width: 335px;
    width: 100%;
}
.newsletter-signup h4{
    margin:auto;
    text-align: center;
}
.newsletter-signup form{
    width: 400px;
    margin: 0px auto !important;
    overflow: auto;
}
.newsletter-signup form button, .newsletter-signup form input{
    border: 1px solid #666 !important;
}
.newsletter-signup .wpforms-field-container{
    width: 300px !important;
    max-width: 400px;
    min-width: 160px;
    padding-top: 4px !important;
}
.newsletter-signup .wpforms-submit-container{
    margin-left: 15px !important;
}
.newsletter-signup .wpforms-field-container, .newsletter-signup .wpforms-submit-container{
    float:left !important;
    clear: none !important;
}
.woocommerce-tabs{
    padding-top: 0px;
}
.woocommerce-tabs .tabs{
    display: none;
}
.woocommerce-tabs .panel{
    width:100% !important;
}

.woocommerce-product-gallery figure .woocommerce-product-gallery__image a img{
    margin: auto !important;
}

.related.products li.product a.add_to_cart_button, .products a.add_to_cart_button, a.product_type_simple{
    display: none;
}

#wpdm-all-packages table thead th:nth-child(2),
#wpdm-all-packages table thead th:nth-child(3),
#wpdm-all-packages table thead th:nth-child(4),
#wpdm-all-packages table tbody td:nth-child(2),
#wpdm-all-packages table tbody td:nth-child(3),
#wpdm-all-packages table tbody td:nth-child(4){
    display: none;
}

.filters .wp-block-column label, .filters .wp-block-column select{
    width: 100%;
    display:block;
}


@media only screen and (max-width: 1600px) {
    .home .wp-block-cover{
        background-position: 10% 50% !important;
    }
}

@media only screen and (max-width: 1310px) {
    .home .wp-block-cover{
        background-position: 0% 50% !important;
    }
    .col-full{
        width:95% !important;
    }
}
@media only screen and (max-width: 1124px) {
    .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a{
        padding: 1em 0.75em;
    }
}
@media only screen and (max-width: 1018px) {

    button.menu-toggle{
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    div.menu:nth-child(2){
        display: none;
    }
    li.page-item-9{
        display: none;
    }
    .main-navigation.toggled div.menu:last-child{
        display: block;
    }
    .main-navigation.toggled div.menu:last-child li{
        width: 90%;
    }
    .main-navigation.toggled div.menu:last-child li .children{
        display:block;
        position: static;
    }
    header#masthead > .col-full{
        background: none;
    }
    .storefront-handheld-footer-bar{
        display: block;
    }
}
@media only screen and (max-width: 940px) {
    .home .wp-block-cover__inner-container{
        background-color: rgba(255,255,255,0.7);
        z-index:0;
    }
    .home .wp-block-cover__inner-container p{
        font-size: 16px;
    }
    .page-item-9{
        display: none;
    }
    .menu{
        width: 90%;
    }

    ul.children{
        border: none;
    }

    header#masthead .storefront-primary-navigation{
        border: none;
    }
}


@media only screen and (max-width: 500px) {
.newsletter-signup form{
    width: 100%;
}
    .newsletter-signup input{
        width: 100% !important;
        margin: auto !important;
    }
    .newsletter-signup .wpforms-submit-container, .newsletter-signup .wpforms-field-container{
        width: 100% !important;
        margin: auto !important;
text-align: center;
    }
    .newsletter-signup button{
        width: 80% !important;
        margin: auto !important;
    }
}
.download-file, .download-file a, .woocommerce-MyAccount-downloads-file
{
    display: none;
}