/*!
Theme Name: Tyche Child
Theme URI: https://colorlib.com/wp/themes/tyche/
Author: Colorlib
Author URI: https://colorlib.com/
Description: A WooCommerce theme
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tyche-child
Template: tyche
Tags: e-commerce, custom-logo, two-columns, left-sidebar, right-sidebar, custom-header, custom-menu, featured-images, threaded-comments, footer-widgets, sticky-post, theme-options
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.
*/

/* 
** Gravity Forms styling because it doesnt load in a seperate file 
*/

/* Generic inputs */
.gform_page_fields p {
    margin-bottom: 10px;
}

.gform_page_fields ul > li {
    padding: 3px;
}

.gform_page_fields ul > li div {
    display: flex;
    flex-direction: column; 
    margin-bottom: 6px;
}

.gform_page_fields label {
    line-height: 2;
}

/* Radio inputs */
.gfield_radio li {
    display: flex;
    align-items: center;
}

.gfield_radio input[type="radio"] {
    margin-right: 6px;
}

/* Buttons */
.gform_page_footer input[type="button"] {
    margin: 20px 0;
}

/* Validation errors */
.validation_error,
.validation_message {
    color: #F66249;
    font-weight: semibold;
}

.validation_error {
    font-size: 18px;
    margin-bottom: 10px;
}

.validation_message {
    font-size: 13px;
}

/* Other elements */
.gform_page_fields blockquote {
    margin: 0;
}

.gform_page_fields blockquote p {
    font-size: 18px;
}

/* Style the X used to delete uploaded files */
.gform_delete {
    object-fit: contain;
}

/* Media queries */

@media only screen and (min-width: 1024px) {
    .gform_page_fields ul > li div {
        width: 66.6%;
    }
}

/* Handle Google Maps */
#scan-map {
    height: 400px;
    width: 100%;
}

.info-container {
    margin: 20px auto;
    border: 1px solid #ccc;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 1px 3px 2px rgba(0,0,0,0.06);
}
.info-inner {
    padding: 20px;
    flex: 3 1 100%;
}

.info-inner .heading {
    color: #F88C7A;
}

.info-inner .heading,
.info-inner p {
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.info-inner ul > li {
    font-weight: 700;
}

.info-container .show-on-map {
    flex: 2;
    align-self: center;
    margin: 20px;
}

.info-container .show-on-map > button {
    width: 100%;
}

/* Info Window */
.gm-style .gm-style-iw {
    min-height: auto !important;
    height: auto !important;
    padding: 10px !important;
}

.info-window h6 {
    margin: 0;
    margin-bottom: 5px;
}

@media only screen and (min-width: 600px) {
    .info-inner {
        flex: 3;
    }
}

/* Filters */
#scan-tool-filters label {
    color: #F66249;
    font-weight: 600;
}

#scan-tool-filters input[type="radio"] {
    margin: 10px 10px 10px 0;
}

/* End handle Google Maps */

/* Extra fields on registration page */
.scan-tools-fields {
    padding: 3px;
    margin-top: 6px;
}

.scan-tools-fields span {
    font-size: 15px;
}

.scan-tools-fields .form-row {
    margin-bottom: 0 !important;
}

.scan-tools-fields .optional {
    display: none;
}

.scan-tools-fields #other_text_field {
    margin-bottom: 20px !important;
}
/* End extra fields on registration page */

.notice {
    padding: 30px;
    font-size: 20px;
    color: white;
    background: #4ebb4e;
}

.notice.waiting {
    background: #ff6d6d;
}

/* Eventbrite Template */
.archive-eventbrite .site-content, .single-event .site-content {
    max-width: 1170px;
    margin: 50px auto;
    padding: 0 30px;
}
.archive-eventbrite #primary, .single-event #primary {
    width: 66.66666667%;
    float: left;
    padding-right: 30px;
}
.archive-eventbrite .entry-title, .single-event .entry-title {
    font-size: 25px;
    line-height: 30px;
}
.archive-eventbrite .post {
    padding: 30px;
    margin-bottom: 50px;
    -webkit-box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.15);
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.15);
    border-radius: 5px;
}

.products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.products .product {
    width: calc(25% - 30px) !important;
    margin: 25px 15px !important;
}

.products .product a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-flex-direction: column; 
    flex-direction: column;
}
.products .product a h2 {
    margin-top: auto !important;
}

@media only screen and (max-width:768px) {
    .archive-eventbrite #primary {
        width: 100%;
        padding-right: 0;
    }
    .products .product {
        width: calc(50% - 30px) !important;
    }
}