/*
 * common
 */

.fya-screen-block{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: black;
    opacity: 0.5;
    display: none;
}

.fya-red{
    color: red!important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

.fya-button{
    background: #3ba1da;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    outline: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
}

.fya-button:hover{
    background: #44b0ec;
}

.fya-button-disabled,
.fya-button-disabled:hover,
.fya-button-disabled:visited,
.fya-button-disabled:focus,
.fya-button-disabled:active{
    background: lightgrey;
    cursor: auto;
}

li.select2-search {
    margin-top: 5px;
}

li.select2-selection__choice{
    background: #7EC5EC!important;
    border: none!important;
    outline: none!important;
    color: rgb(85, 85, 85)!important;
}

.select2-selection__choice__remove{
    color: rgb(85, 85, 85)!important;
}

h4{
    color: rgb(85, 85, 85)!important;
}

table{
    table-layout: fixed;
}

.fya-table-container{
    display: flex;
    flex-wrap: wrap;
}

.fya-table-container td{
    display: block;
}

.fya-td-10{
    width: 10%;
}

.fya-td-20{
    width: 20%;
}

.fya-td-30{
    width: 30%;
}

.fya-td-40{
    width: 40%;
}

.fya-td-50{
    width: 50%;
}

.fya-td-60{
    width: 60%;
}

.fya-td-70{
    width: 70%;
}

.fya-td-80{
    width: 80%;
}

.fya-td-90{
    width: 90%;
}

.fya-td-100{
    width: 100%;
}

.et_pb_section_1{
    background: linear-gradient( rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9) ), url('../img/background.jpg') no-repeat center /cover !important;
}

.header-content{
    margin-left: 10%!important;
}

.header-content h1{
    font-size: 6vw!important;
}

.header-content > div{
    padding-left: 3%!important;
}

.fya-link{
    cursor: pointer;
}

.fya-link:hover{
    text-decoration: underline;
}

.select2-container--default .select2-selection--multiple {
    position: relative;
    padding-right: 25px;
}

.select2-container--default .select2-selection--multiple:after {
    content: "▼";
    font-size: 12px;
    color: #666;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    pointer-events: none;
}

/*
 * Parent menu common
 */

.fya-parent-menu-tab-container{
    margin-top: 30px;
}

.fya-parent-menu-tab-container button.fya-button{
    margin-top: 20px;
}

.fya-parent-menu-tab-fieldset{
    border: 1px solid black;
    border-radius: 4px;
    margin: 20px;
    padding: 15px;
}

.fya-parent-menu-tab-fieldset legend{
    padding: 10px;
    font-weight: bold;
}

span.select2{
    width: 80%!important;
}

li.select2-search,
input.select2-search__field{
    width: 100%!important;
}

.fya-no-payment-method-notification{
    color: red;
    font-weight: bold;
    font-size: 24px;
    margin: 10px;
}

.fya-no-payment-method-notification a{
    text-decoration: underline;
}


.fya-no-payment-method-notification a:hover{
    color: #0C33A9;
}


/*
 * Children tab
 */
.fya-child-item{
    position: relative;
    margin-bottom: 30px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.fya-delete-item-button{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #3ba1da;
}

.fya-delete-repeated-item:hover{
    color: #44b0ec;
}

.fya-child-item-data-block{
    margin-bottom: 10px;
}

.fya-add-child{
    margin-left: 10px;
    padding-left: 7px;
}

.fya-new-child-hidden{
    display: none;
}


/*
 * Events tab
 */

.fya-calendar{
    border-collapse: collapse!important;
    background: white;
    padding: 10px
}

.fya-calendar-container{
    position: relative;
}

.fya-hide-calendar{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #2271B1;
}

.fya-calendar-header{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.fya-select-month{
    margin-bottom: 30px;
}

.fya-get-month{
    vertical-align: middle;
    padding: 7px 10px;
}

.fya-show-calendar{
    padding: 7px 10px;
}

.fya-calendar table{
    width: 100%;
}

.fya-calendar td{
    border: 1px solid black;
    padding: 0!important;
    height: 20px;
    width: 20px;
    margin: 5px;
    font-weight: bold;
    font-size: 14px!important;
    text-align: center;
}

.fya-calendar th{
    text-align: center!important;
    border: 1px solid black;
    padding: 0 !important;
}

.fya-calendar-placeholder{
    display: none;
    position: absolute;
    z-index: 101;
    top: 10px;
    left: 0;
    text-align: center;
}

.fya-calendar-empty-cell{
    background-color: #f6f7f7;
}

.fya-calendar-day{
    cursor: pointer;
    background-color: white;
}

.fya-event-exists{
    border: 3px solid lightgreen!important;
}

.fya-today{
    font-size: 22px!important;
}

.fya-last{
    background-color: #f0f0f1;
}

.fya-day-events-list{
    display: none;
}

.fya-active-day{
    outline: 2px solid black!important;
}

.fya-events-list{
    margin: 20px;
    min-height: 150px;
    max-height: 150px;
    overflow-y: scroll;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.fya-canceled{
    background: mistyrose;
}

.fya-passed{
    background: lightgrey;
}

.fya-approved{
    background: palegreen;
}

.fya-event-item{
    padding: 10px 30px;
    margin-bottom: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.fya-event-item-line{
    display: inline-block;
    margin-right: 20px;
}

.fya-add-event-form span{
    color: #2271B1;
    cursor: pointer;
}

.fya-children-list{
    position: fixed;
    top: 100000px;
    left: 100000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.fya-parent-lessons-data-container > div,
.fya-bookings-container{
    margin-top: 20px
}

.fya-lesson-name{
    padding-left: 20px;
}

.fya-booking-select-container{
    margin-bottom: 15px;
}

/*
 * Payments tab
 */

#fya-payment-method-form{
    margin-top: 30px
}

.fya-payment-succeeded{
    color: forestgreen;
}

.fya-payment-failed{
    color: red;
}

.fya-payments-list span{
    padding-right: 10px;
}

.InputElement{
    border: 1px solid black;
}

.ElementsApp input{
    border: 1px solid black!important;
}

.fya-credit-card{
    background: #F0F0F0;
    border: 1px solid black;
    border-radius: 2px;
    padding: 10px;
}

.fya-credit-card input{
    border: 1px solid black!important;
}

#fya-address-state{
    width: 100%;
    padding-left: 12px;
    border-radius: 2px;
    height: 40px;
    border-color: rgb(221, 221, 221);
}

#fya-address-zip{
    padding-left: 12px!important;
    height: 40px!important;
}

/*
 * Terms tab
 */

.fya-terms-and-conditions-container pre{
    white-space: break-spaces;
}


.fya-terms-container{
    display: none;
    position: fixed;
    color: black;
    background: white;
    z-index: 10000;
    opacity: 1;
}

.fya-show-terms{
    cursor: pointer;
}

.fya-terms{
    position: relative;
    height: inherit;
    padding: 20px 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.fya-hide-terms{
    background: lightgrey;
}

.fya-terms pre{
    white-space: break-spaces;
    height: inherit;
    overflow-y: scroll;
    font-size: 12px;
}

.fya-terms-button-container{
    text-align: right;
}
