/*
	Theme Name: The Grail Australia
	Author: Jimmyweb
	Author URI: http://jimmyweb.net
	Description: Theme for The Grail Australia.
	Version: 0.1
*/

/* Form Style */
.gform_wrapper form ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gform_wrapper form ul li {

}
.gform_wrapper form ul li.hidden_label label {
    display: none;
}
.footer-form-holder .gform_wrapper .gform_body {
    display: inline-block;
}
.footer-form-holder .gform_wrapper .gform_footer {
    display: inline;
    position: relative;
}
.footer-form-holder .gform_wrapper input[type=submit] {
    min-width: 80px;
}
.footer-form-holder .validation_error, .footer-form-holder .validation_message {
    display: none;
}
.footer-form-holder form ul li.gfield.gfield_error input {
    border: 1px solid #ff7f7f;
}
.footer-form-holder .gform_confirmation_message {
    font-size: 14px;
    padding: 0 10px;
}
.footer-form-holder img.gform_ajax_spinner {
    position: absolute;
    right: -20px;
    top: 5px;
}
.page-template-template-about a.read-more {
    margin-top: 2em;
}
a.faqs-title {
    text-transform: uppercase;
}
form.contact-form input[type=submit].btn {
    min-width: 251px;
    -webkit-border-radius: 5px;
    line-height: inherit;
}
.contact-form .gform_footer {
    padding-top: 20px;
    position: relative;
    width: 251px;
    margin: auto;
}
.contact-form img.gform_ajax_spinner {
    position: absolute;
    right: -20px;
    top: 61px;
}
.contact-form li input {
    margin-bottom: 0;
}
.contact-form li {
    margin-bottom: 2rem;
}
.contact-form li.textarea {
    margin-bottom: 3rem;
}
.contact-form li.textarea textarea {
    margin-bottom: 0;
}
.contact-form .validation_error {
    color: #CB4335;
    text-align: center;
    padding: 10px;
}
.contact-form .validation_message {
    color: #CB4335;
    padding-top: 5px;
    font-size: 13px;
}
.contact-form .gform_confirmation_message {
    background: #DFF0D8;
    text-align: center;
    padding: 20px;
}
/* End Form Style */
.gallery.insta .col-holder {
    /*margin: 0;*/
}
.expand {
    display: none;
}

.home .section-hero h1 {
    text-transform: uppercase;
}
.project-events h3 {
    text-transform: uppercase;
}
article.post ul, .section-inner .text ul {
    padding-left: 17px;
    margin: 0 0 38px;
}
article.post ul li {
    margin-bottom: 5px;
}
article.post .text ul li a, article.post .text a, .section-text .text-img .text a {
    color: #da6634;
    text-decoration: none;
}
article.post .text ul li a:hover, article.post .text a:hover, .section-text .text-img .text a:hover {
    text-decoration: underline;
}
article.tga-full-col .post-text {
    width: 100%;
}
article.tga-full-col .post-text::before {
    right: 0;
}

.section-hero.hero-light {
    position: relative;
}
.section-hero.large-image {
    background-position: center top;
}
.tga-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out;
    padding-bottom: 6px;
}
.tga-overlay P {
    font-size: 12px;
    line-height: 20px;
}
.section-hero.hero-light:hover .tga-overlay {
    visibility: visible;
    opacity: 1;
}
.banner-caption {
    margin-bottom: 50px;
    text-align: center;
}
.mobile-only {
    display: none;
}

.pagination .wp-paginate .current {
    background: #da6634;
    border: 1px solid #da6634;
}
.pagination .wp-paginate li span.title {
    color: #a5a5a5;
}
.section-hero.hero-primary h2 {
    font-size: 25px;
    color: #fff;
    letter-spacing: .13em;
}


.thumb-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}
.thumb-item {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 30px;
    text-align: center;
}
.thumb-item > div {
    width: 225px;
    margin: auto;
}

.member-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}
.member-child .text {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}
.member-child .member-right {
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
}
.member-child.m-full .text {
    width: 100%;
}
.member-child ul {

}
.member-child ul li {
    position: relative;
}
.member-child ul li:before {
    position: absolute;
    display: flex;
    width: 5px;
    height: 5px;
    background: #da6634;
    border-radius: 50%;
    left: -17px;
    top: 12px;
}
.member-child .text ul li a, .member-child .text a,
.page-international .section-text .text a,
.member-child .text h4 a,
.section-text .search-result .text a {
    color: #da6634;
    text-decoration: none;
}
.member-child ul li a:hover, .member-child ul li a:focus,
.member-child .text a:hover, .member-child .text a:focus,
.page-international .section-text .text a:hover, .page-international .section-text .text a:focus,
.member-child .text h4 a:hover,
.section-text .search-result  .text a:hover {
    color: #da6634;
    text-decoration: underline!important;
}
.section-text .member-child .text {
    margin-bottom: 0;
}
.member-child h4 {
    font-size: 20px;
}
.member-child h4 a {
    display: inline-block;
}

.section-inner img.alignright {
    float: right;
    margin: 0 0 20px 40px;
}
.section-inner img.alignleft {
    float: left;
    margin: 0 40px 20px 0;
}
.section-inner .wp-caption.alignright {
    display: inline-block;
    margin-bottom: 30px;
}
.section-inner .wp-caption.alignleft {
    display: inline-block;
    margin-bottom: 30px;
}
.section-inner .wp-caption.alignleft img {
    margin: 0;
}
.section-inner .wp-caption.alignleft {
    display: inline;
    float: left;
    margin: 0 30px 20px 0;
}
p.wp-caption-text {
    text-align: center;
    font-size: 14px;
    padding: 0 20px;
}
.member-right span {
    text-align: center;
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

.section-information.project-events .block-col span.icon {
    display: block;
}
.search-form {
    margin-bottom: 60px;
}
.search-results .search-form {
    margin-bottom: 20px;
}
.search-form form.contact-form input[type=submit].btn {
    min-width: 152px;
    height: 48px;
    margin: 0 19px;
}
.page-international .section-inner h2, .section-inner h2, .general-page .section-inner h2 {
    text-transform: uppercase;
}
.general-page .section-inner h1 {
    text-transform: uppercase;
}
form textarea {
    height: 160px;
}

.list-categories {
    margin-bottom: 8px;
}
.categories {

}
.categories ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.categories ul li {
    padding: 10px 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}
.categories ul li a:hover, .categories ul li a.active-cat {
    color: #da6634;
    text-decoration: underline;
}

.mobile-tab-p {
    display: block;
}
.mobile-tab-p > div {
    text-align: center;
}
a.show-cat {
    width: 230px;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    color: #314144;
    position: relative;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(107, 118, 122, .65);
}
a.show-cat:after {
    content: '';
    position: absolute;
    background-image: url(assets/images/Left-Black-Arrow.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    width: 12px;
    height: 13px;
    transform: rotate(270deg);
    right: 2px;
    background-size: cover;
    top: 9px;
    transition: all 0.5s;
}
a.show-cat.hide:after {
    transform: rotate(90deg);
}
.card-info .btn-holder {
    text-align: left;
}
img.alignleft {
    float: left;
    margin: 5px 20px 10px 0;
}
#menu-main-menu li.login-mobile a {
    color: #da6634;
}
#menu-main-menu li.login-mobile a:hover::before {
    background-color: #da6634;
}
.header .login {
    display: none;
}
.video-more-info {
    display: none;
}

@media (min-width: 641px) {
    .thumb-item {
        width: 50%;
    }
    .thumb-item > div {
        width: 100%;
    }
    .member-child .text {
        width: 50%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .member-child .member-right {
        width: 42%;
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media (min-width: 768px) {
    .thumb-item {
        width: 33.33%;
    }
    .member-child .text {
        width: 50%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .member-child .member-right {
        width: 43%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .search-form form.contact-form input[type=submit].btn {
        margin: 0;
    }
}
@media (min-width: 1024px) {
    .contact-us .section-information.section-small .block-inner {
        padding: 30px 0 100px;
    }
    .contact-us .section-form {
        margin-bottom: 60px;
    }
    .member-child .text {
        width: 50%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .member-child .member-right {
        width: 45%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .search-form {
        margin-bottom: 40px;
    }
    .thumb-item {
        width: 25%;
    }
    .thumb-item > div {
        width: 200px;
        margin: auto;
        height: auto;
    }
    .contact-form .gform_footer {
        padding-top: 40px;
    }
    .mobile-tab-p {
        display: none;
    }
    .categories {
        padding: 0 200px;
    }
    /* New changes for laptop */
    /*.header {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .header-top {
        margin-bottom: 25px;
    }
    .nav {
        padding: 20px 0;
    }*/
    #menu-main-menu li.login-mobile {
        display: none;
    }
    .header .login {
        display: block;
    }
}
@media (min-width: 1200px) {
}

@media (min-width: 1300px) {
    .search-form {
        margin-bottom: 60px;
    }
    .thumb-item > div {
        width: 265px;

    }
}

@media (min-width: 1440px) {

}

@media (max-width: 1201px) {
    .header {
        font-size: 15px;
    }
}
@media (max-width: 1023px) {
    .categories ul li {
        width: 100%;
        padding: 3px 10px;
    }
    .categories ul.cat-list {
        display: none;
    }
    .desktop-tablet-l {
        display: none;
    }
}
@media (max-width: 992px) {

}
@media (max-width: 767px) {

}
@media (max-width: 641px) {
    .section-videos .cards .card-holder {
        margin-bottom: 31px;
    }
}
@media (max-width: 520px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    .section-hero.no-margin {
        margin-bottom: 5px;
    }
}