/* Custom calendar elements */

.custom-calendar-wrap {
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

.custom-inner {
    background: #fff;
}

.custom-inner:before,
.custom-inner:after {
    content: '';
    width: 99%;
    height: 50%;
    position: absolute;
    bottom: -4px;
    left: 0.5%;
    z-index: -1;
}

.custom-inner:after {
    content: '';
    width: 98%;
    bottom: -7px;
    left: 1%;
    z-index: -2;
}

.custom-header {
    background: #fff;
    padding: 5px 10px 10px 20px;
    height: 64px;
    position: relative;
    text-align: center;
    border: 1px solid #ccd7e6;
    border-bottom: 0;
    line-height: 51px;
    font-family: LabGrotesque-Black;
    font-size: 16px;
}

.custom-month,
.custom-year {
    color: #4a4a4a;
}

.custom-header nav span {
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    color: transparent;
    cursor: pointer;
    margin: 0 1px;
    font-size: 28px;
    line-height: 53px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-header nav span:first-child {
    left: 5px;
}

.custom-header nav span:last-child {
    right: 0;
}

.custom-header nav span:before {
    font-family: 'fontawesome-selected';
    color: #4a4a4a;
    position: absolute;
    text-align: center;
    width: 100%;
}

.custom-header nav span.custom-prev:before {
    content: '‹';
    left: -5px;
}

.custom-header nav span.custom-next:before {
    content: '›';
    right: 0;
}

.custom-header nav span:hover:before {
    color: #4a4a4a;
}

.custom-content-reveal {
    background: #f6f6f6;
    background: rgba(246, 246, 246, 0.9);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0px;
    text-align: center;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #ef4f69;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 13px;
    padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
    content: 'x';
    font-size: 18px;
    color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
    font-size: 22px;
    padding: 10px 30px;
    display: block;
}

.custom-content-reveal h4 {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #777;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    border-top: 5px solid #ef4f69;
    box-shadow: 0 1px rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.custom-content-reveal span {
    color: #888;
}

.custom-content-reveal a {
    color: #ef4f69;
}

.custom-content-reveal a:hover {
    color: #333;
}

/* Modifications */

.fc-calendar-container {
    height: 377px;
    width: auto;
    padding: 0;
    background: #fff;
}

.fc-calendar .fc-head {
    background: transparent;
    color: #4a4a4a;
    font-size: 18px;
    border: 1px solid #ccd7e6;
    border-bottom: 0;
}

.fc-calendar .fc-row > div {
    background: #fff;
    cursor: pointer;
}

.fc-calendar .fc-row > div:empty {
    background: transparent;
}

.fc-calendar .fc-row > div > span.fc-date {
    top: 50%;
    left: 50%;
    text-align: center;
    margin: -10px 0 0 -15px;
    color: #4a4a4a;
    font-weight: 400;
    pointer-events: none;
}

.fc-calendar > .fc-body > .fc-row > .selectday {
    background: #ccd7e6;
}

.fc-calendar .fc-row > div.fc-content:after {
    content: '\00B7';
    text-align: center;
    width: 20px;
    margin-left: -10px;
    position: absolute;
    color: #4a4a4a;
    font-size: 70px;
    line-height: 20px;
    left: 50%;
    bottom: 3px;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
    color: #b02c42;
}

.fc-calendar .fc-row > div.fc-content:hover:after {
    color: #ef4f69;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after {
    color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
    display: none;
    font-size: 22px;
}

.table_posit {
    margin: 0;
}

#datatable_record {
    margin-top: 7px;
    padding-left: 60px;
}

.write_n_n {
    width: 90px;
    font-family: LabGrotesque-Black;
    vertical-align: middle;
    padding: 10px 0;
    /*border-bottom: 1px solid #00f;*/
}

.write_n_b {
    width: 200px;
    vertical-align: middle;
    padding: 10px 10px 10px 15px;
    /*padding: 10px 0;
    border-bottom: 1px solid #00f;*/
}

.write_n_c {
    width: 180px;
    vertical-align: middle;
    padding: 10px 0;
    /*border-bottom: 1px solid #00f;*/
}

.write_n {
    padding: 10px 0 10px 70px;
    vertical-align: middle;
    height: 73px;
    box-sizing: border-box;
    text-align: center;
}

.write_n .button {
    width: 148px;
    height: 48px;
    line-height: 38px;
    border: 0;
    font-size: 14px;
    font-family: LabGrotesque-Black;
}

.write-name {
    margin: 0;
    line-height: 1.2;
    font-family: LabGrotesque-Black;
    text-transform: none;
}

.write-coach,
.write-address,
.write-avaiable,
.write-registered {
    margin: 0;
    line-height: 1.2;
    font-size: 12px;
    text-transform: none;
}

/*#datatable_record tr:first-child td{
	padding-top: 0;
}*/

@media (max-width: 767px) {
    .write_n {
        padding: 10px 0;
        height: 62px;
        width: 66px;
        font-size: 16px;
    }

    .write_n .button {
        width: 130px;
        height: 42px;
    }

    .write_n_n,
    .write_n_b,
    .write_n_c,
    .write_n {
        vertical-align: top;
    }

    .write_n_n {
        width: 66px;
    }

    #datatable_record {
        margin-top: 30px;
        padding-left: 0;
        font-size: 14px;
    }

    #datatable_record .forms input[type=tel] {
        margin: 6px auto;
    }

    .custom-calendar-wrap {
        margin: 40px auto 0;
    }
}

@media screen and (max-width: 440px) {
    /*.fc-calendar-container {
        height: 300px;
    }
    .fc-calendar .fc-row > div > span.fc-date {
        font-size: 15px;
    }*/
    #custom-inner {
        width: 100%;
    }

    .calendar-day {
        width: 14%;
    }

    .write_n_b {
        width: 100%;
    }

    .write_n_n {
        width: 50px;
    }

    .write_n .button {
        width: 93px;
        height: 42px;
        font-size: 14px;
        padding: 0;
    }
}

@media (max-width: 1199px) {
    .table_posit {
        margin: 0 auto;
    }

    #datatable_record {
        padding: 0;
    }
}

#custom-prev,
#custom-next {
    color: #00f;
    font-size: 14px;
}

.iti__flag {background-image: url("/img/flags.png");}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {background-image: url("/img/flags@2x.png");}
}