/*
 Theme Name: Hub Child
 Theme URI: http://example.com/hub-child
 Description: A child theme for the Hub theme
 Author: Fadi Khan
 Author URI: http://example.com
 Template: hub
 Version: 1.0.0
*/

* {
    font-family: "Montserrat";
}

@import url(https://fonts.googleapis.com/css?family=Montserrat);

#msform {
    width: 100%;
    margin: 50px auto;
    padding: 20px 0;
    text-align: center;
    position: relative;
    min-height: 650px;
}

#msform fieldset {
    background: #FFFFFF66;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    /*! max-width: 800px; */
    /*! margin: auto; */
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform input,
#msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #2C3E50;
    font-size: 13px;
}

#msform .input-set {
    display: flex;
    justify-content: space-between;
}

#msform .input-set input {
    width: calc(50% - 10px);
    text-align: left;
}

#msform .checkbox-set label {
    width: auto;
    margin: 0px 10px;
}

#msform .checkbox-set {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: center;
    column-gap: 15px;
}

#msform .checkbox-set input {
    width: auto;
    accent-color: #27AE60;
    color: white;
}

#msform .action-button {
    width: 100px;
    background: white;
    font-weight: bold;
    color: #292F38;
    border: 0 none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    margin: 10px auto;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8 !important;
    transition: all 0.4s;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 10px 1px rgba(0, 35, 104, 0.3);
    background: #292F38;
    color: white;
}

.fs-title {
    color: white;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 1.25em !important;
    color: #666;
    margin-bottom: 20px;
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px 0;
    margin: 0px 0 20px;
    /*! border: 1px solid #FFA500; */
    width: 80%;
    margin: auto;
    /*! max-width: 800px; */
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: calc(100% / 3);
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 25px;
    height: 25px;
    display: flex;
    font-size: 14px;
    color: #292F38;
    background: white;
    border-radius: 3px;
    margin: 0 auto;
    border: 1px solid #292F38;
    justify-content: center;
    align-items: center;
}

#progressbar li:after {
    content: '';
    width: 98%;
    height: 2px;
    background: white;
    position: absolute;
    left: -49%;
    top: 12px;
    z-index: -1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #292F38;
    color: white;
    z-index: 10;
    border-color: #292F38;
}

.button-checkbox {
    display: inline-block;
    background-color: white;
    color: #002368;
    padding: 20px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 35px;
    transition: ease-in-out 0.3s;
    margin: 10px 30px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-sm {
    padding: 10px 0px;
    font-size: 15px;
    width: 160px !important;
    margin: 5px 0px !important;
}

.button-checkbox span {
    line-height: 1;
}

.button-checkbox:hover,
input:checked+.button-checkbox {
    background-color: #292F38;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white !important;
    /*! border-color: #FFA500 !important; */
}

#msform input[type=radio],
#msform input[type=checkbox] {
    display: none;
}

.error {
    margin: 0;
    color: red;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    /* If you want dots under the hoverable text */
}

.custom-tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 18px;

    /* Position the custom-tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the custom-tooltip text when you mouse over the custom-tooltip container */
.custom-tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltiptext {
    bottom: calc(100% + 8px);
    left: 0;
    /*! transform: translate(-50%, -50%); */

    right: 0;
}

.custom-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.volunteer-type {
    font-size: 20px;
    margin: 0;
    color: white;
    margin-bottom: 10px;
}

.volunteer-section {
    margin-bottom: 20px;
}

.custom-form-elements {
    padding-right: calc(10px/2);
    padding-left: calc(10px/2);
    margin-bottom: 10px;
}

.custom-form-elements input,
.custom-form-elements textarea {
    background-color: #FFFFFF00;
    border-color: var(--e-global-color-07b4421);
    padding-right: calc(10px/2);
    padding-left: calc(10px/2);
    margin-bottom: 10px;
}