/*
 Theme Name:   NPMU Cricket Club
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       A-Z Web Solutions Ltd
 Author URI:   http://www.azwebsolutions.co.nz
 Template:     understrap
 Version:      0.3.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #666666;
    margin: 0;
}
h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    color: #30478b;
    margin-bottom: 20px;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    color: #30478b;
    margin-bottom: 20px;
    text-transform: uppercase;
}
h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: #30478b;
    margin-bottom: 10px;
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: #30478b;
}
a:hover, a:active, a:visited, a:focus {
    text-decoration: none;
    color: #30478b;
}
p {
    margin-bottom: 15px;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
strong, b {
    font-weight: normal;
    color: #000000;
}
iframe {
    background-color: #f8f8ff;
}
#header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background-color: #ffffff;
    height: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
}
#header .ph {
    position: absolute;
    right: 0;
    top: -5px;
}
#header .ph span {
    display: inline-block;
    margin-right: 5px;
}
#np-menu-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #30478b;
    font-size: 16px;
    text-transform: uppercase;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
    color: #d8c52b;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69 {
    background-color: #30478b;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69:hover {
    background-color: #d8c52b;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69 > a.mega-menu-link {
    color: #ffffff;
}
.logo-wrapper {
    display: inline-block;
}
.logo-wrapper .custom-logo-link {
    margin: 0;
    padding: 0;
}
#page-wrapper, .wrapper-404, #article-page-wrapper {
    overflow: hidden;
    margin-top: 150px;
    margin-bottom: 50px;
}
.home #page-wrapper {
    margin-top: 0;
    margin-bottom: 0;
}
.title {
    background-color: #30478b;
    padding: 10px 5px;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
}
.wpcf7-form {
    background-color: #30478b;
    padding: 50px;
}
.team-image {
    margin-bottom: 0 !important;
}
.form-control {
    border-radius: 0;
    font-size: 14px;
}
#cff p {
    font-size: 14px;
}
.btn {
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-primary {
    background-color: #d8c52b;
    border-color: #d8c52b;
}
.facebook-feed-wrapper .wpb_content_element {
    margin-bottom: 0;
}
.wpb_text_column ul {
    margin-bottom: 20px;
}
.wpb_text_column ul li {
    padding-left: 20px;
    position: relative;
}
.wpb_text_column ul li:before {
    content: "";
    height: 8px;
    width: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    background-color: #d8c52b;
    top: 10px;
}
.responsive-img {
    max-width: 100%;
    height: auto;
}
.registrations-cta-wrapper a {
    display: block;
    width: 450px;
    position: relative;
    color: #ffffff;
}
.registrations-cta-wrapper .content-wrapper {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    text-align: center;
}
.registrations-cta-wrapper .content-wrapper .heading {
    font-size: 18px;
    margin-bottom: 10px;
}
.spacer50 {
    height: 50px !important;
}
.spacer20 {
    height: 20px !important;
}
.stories-row {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #30478b;
}
.top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 35px;
    height: 35px;
    font-size: 16px;
    border-radius: 50%;
    z-index: 98;
    text-align: center;
    transition: all 0.25s ease-in-out;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    background: #30478b;
    color: #ffffff;
    line-height: 35px;
    opacity: 0;
    cursor:pointer;
    border: 1px solid #ffffff;
}
.top span {
    color: #ffffff;
}
.top.show {
    transition: all 0.25s ease-in-out;
    opacity: 1;
}
#copyright {
    background-color: #222;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}
#copyright a {
    color: #ff7f00;
}
.stories-row .wpb_content_element {
    margin-bottom: 0;
}
.articles-wrapper .slick-slide {
    margin-left: 15px;
    margin-right: 15px;
}
.article-wrapper {
    display: block;
    position: relative;
    text-align: center;
}
.article-wrapper .article-title {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.8);
    z-index: 1;
    padding: 20px 10px;
}
.article-wrapper .article-title h3 {
    font-size: 16px;
}
.img-responsive {
    max-width: 100%;
}
.more-stories-wrapper h3 {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #090f25;
    font-size: 18px;
    margin: 0;
}
.more-stories-wrapper ul {
    padding: 10px;
    background-color: #f8f8ff;
}
.more-stories-wrapper ul li a {
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.more-stories-wrapper ul li a:hover {
    color: #30478b;
}
.sponsors-section {
    overflow: hidden;
    text-align: center;
    padding-top: 50px;
}
.sponsors-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.sponsors-section h2 {
    font-size: 30px;
    line-height: 40px;
}
.sponsors-section h3 {
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
}
.google-map iframe {
    width: 100%;
}
.nopadding {
    padding-left: 0;
    padding-right: 0;
}
.sponsors .slick-slide img {
    max-width: 50%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}
.sponsors i.fa-angle-left {
    left: 5px;
}
.sponsors i.fa-angle-right {
    right: 5px;
}
.sponsors {
    margin-top: 40px;
}
.slick-prev {
    left: -25px;
    z-index: 1;
}
.slick-next {
    right: -25px;
    z-index: 1;
}
.slick-prev::before, .slick-next::before {
    color: #000000;
}
.sponsors .slick-slide img {
    max-width: 90%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}
.sponsors.slick-initialized .slick-slide {
    float: none;
    display: inline-block;
    vertical-align: middle;
}
.sponsors .slick-slide {
    width: 20%;
}
.sponsors i {
    position: absolute;
    color: #000000;
    font-size: 30px;
    font-weight: 700;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    top: 50%;
    z-index: 99;
    cursor: pointer;
}
.junior-sponsor-wrapper {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f8ff;
}
.sitemap {
    font-size: 12px;
    color: #ffffff !important;
    text-decoration: underline;
}
.sitemap:hover {
    text-decoration: underline;
}
@media screen and (max-width: 1199px) {
    .container {
        width: 100%;
    }
    iframe {
        width: 100%;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    h2 {
        font-size: 20px;
        line-height: 30px;
    }
}
@media screen and (max-width: 991px) {
    body {
        font-size: 14px;
        line-height: 22px;
    }
    #header {
        height: 80px;
    }
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label {
        color: #30478b;
    }
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1::after {
        color: #30478b;
    }
    .m_nopadding {
        padding-left: 0;
        padding-right: 0;
    }
    #np-menu-wrapper {
        position: relative;
        top: -35px;
        transform: none;
        -webkit-transform: none;
        z-index: 98;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        font-size: 14px;
    }
    .logo-wrapper {
        width: 55px;
        margin-left: 15px;
        position: relative;
        z-index: 99;
    }
    #mega-menu-wrap-primary #mega-menu-primary {
        margin-top: 3px;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69 {
        background-color: #dddddd;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69 > a.mega-menu-link {
        color: #30478b;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-69 > a.mega-menu-link:hover {
        color: #d8c52b;
    }
    #header .ph {
        width: 100%;
        text-align: center;
        color: #ffffff;
        background-color: #30478b;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    #page-wrapper, .wrapper-404, #article-page-wrapper {
        margin-top: 100px;
    }
    .slick-prev {
        left: -10px;
    }
    .slick-next {
        right: -10px;
    }
    .more-stories-wrapper h3 {
        font-size: 14px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .article-wrapper .article-title h3 {
        font-size: 14px;
        line-height: 20px;
    }
    .article-wrapper .article-title {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .article-wrapper .article-title h3 {
        font-size: 14px;
        line-height: 22px;
    }
}

@media screen and (max-width: 767px) {
    .wpb_content_element {
        margin-bottom: 20px !important;
    }
}
@media screen and (max-width: 575px) {
    h1 {
        font-size: 24px;
        line-height: 34px;
    }
    h2 {
        font-size: 18px;
        line-height: 28px;
    }
    h3 {
        font-size: 16px;
        line-height: 26px;
    }
    .registrations-cta-wrapper a {
        width: 100%;
    }
    #copyright span {
        display: block;
        margin-top: 10px;
    }
    #copyright i {
        display: none;
    }
    #cff {
        height: 300px !important;
    }
    .wpcf7-form {
        padding-left: 10px;
        padding-right: 10px;
    }
    .more-stories-wrapper {
        margin-top: 20px;
    }
    .home-banner-wrapper {
        margin-top: 80px;
    }
    .wpb_text_column ul li:before {
        content: "";
        height: 6px;
        width: 6px;
        border-radius: 50%;
        position: absolute;
        left: 0;
        background-color: #d8c52b;
        top: 8px;
    }
}