/*
Theme Name:     Ham Database
Theme URI:      http://www.franktronics.net 
Description:    Child theme for the Blockz
Author:         Lewis Kerns, Franktronics, Inc.
Author URI:     http://www.frantkronics.net
Template:       blockz
Version:        0.1.0
*/



.wp-block-buttons {
    text-align: center;
}

.button-full-width     { width:100%; }
.wp-block-button__link  {width:100%; }




/*

    HAM Styles

*/

.ham-h2-border {
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    padding: 8px 0;
}

.contact-div-wrapper {
    position: relative;
    margin-top: 12px;
    overflow: auto;
}

    .contact-div-wrapper > div {
        position: relative;
        float: left;
        width: 25%;
        padding: 0 12px;
        overflow: hidden;
    }

.contact-form-wrapper {
    position: relative;
    overflow: auto;
    margin-top: 8px;
}

    .contact-form-wrapper::after {
        clear: both;
    }

    .contact-form-wrapper > div {
        position: relative;
        float: left;
        overflow: hidden;
    }

    .contact-form-wrapper .formlabel {
        width: 200px;
    }

    .contact-form-wrapper .forminput {
        width: 400px;
    }

    .contact-form-wrapper input,
    .contact-form-wrapper textarea,
    .contact-form-wrapper select {
        border: 1px solid gray;
        padding: 4px;
        width: 100%;
    }

        .contact-form-wrapper input[type=button],
        .contact-form-wrapper input[type=submit],
        .contact-form-wrapper input[type=reset] {
            width: auto;
            padding: 8px;
        }

        .contact-form-wrapper input[type=checkbox] {
            width: auto;
        }

.action-wrapper {
    position: relative;
    overflow: auto;
    margin: 0;
}

    .action-wrapper::after {
        clear: both;
    }

    .action-wrapper > div {
        position: relative;
        float: left;
        overflow: hidden;
        border: 1px solid gray;
        padding: 4px;
    }

    .action-wrapper .action-date {
        max-width: 100%;
        width: 150px;
    }

    .action-wrapper .action-cat {
        max-width: 100%;
        width: 300px;
    }

    .action-wrapper .action-catid {
        max-width: 100%;
        width: 75px;
    }

    .action-wrapper .action-amount {
        max-width: 100%;
        text-align: right;
        width: 150px;
    }

.ham-thankyou-wrapper {
    position:relative;
}
    .ham-thankyou-wrapper .ham-thankyou {
        width:50%;
        float:left;
        margin-top:12px;
    }

    .ham-thankyou-wrapper::after {
        clear:both;
    }

    @media screen and (max-width: 600px) {
        .action-wrapper {
        border-bottom: 1px solid gray;
    }

        .action-wrapper::after {
            clear: both;
        }

        .action-wrapper > div {
            position: relative;
            float: left;
            overflow: hidden;
            padding: 4px;
            border: none;
        }

        .action-wrapper .action-date {
            width: 50%;
        }

        .action-wrapper .action-cat {
            width: 100%;
        }

        .action-wrapper .action-amount {
            width: 50%;
        }

    .action-cat.ham-totalrow {
        display: none;
    }

    .action-header {
        display: none;
    }
}

/* 2020-11-30 Search Contact Styles */
    .search-filter                  { margin: 12px 0 20px 0; }
    .search-filter input        { border: 1px solid black; padding: 4px;  margin: 8px; }


div#actionerror {
    color: red;
    padding-top: 8px;
}

.reportbutton input {
    width: 50% !important;
}





/*
    TRANSACTION TABLE FORMATTING
*/
.ham-totalrow {
    background-color: palegreen;
    font-weight: bold;
}




input#email {
    border: 1px solid gray;
}

.col-header {
    border-bottom: 1px solid gray;
    font-weight: bold;
}

@media screen and (max-width: 970px) {
    .contact-div-wrapper > div {
        width: 100%;
    }

    .hide-on-mobile {
        display: none;
    }

    .filter-link {
        font-size: 14pt;
        margin-left: 4px;
    }
}
/*970px*/

@media screen and (max-width: 481px) {
    .contact-div-wrapper > div {
        width: 100%;
    }

    .contact-form-wrapper .formlabel {
        width: 100%;
    }

    .contact-form-wrapper .forminput {
        width: 100%;
    }
}
/*481px*/



/*  ***********************
     CUSTOM FANCY CHECKBOXES
     ***********************
 */
/* Customize the label (the container) */
.fancy-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 25px;
}

    /* Hide the browser's default checkbox */
    .fancy-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.fancy-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.fancy-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.fancy-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.fancy-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}