*{
    font-family: 'Roboto', sans-serif;
    border: 0;
    margin: 0;
    padding: 0;
}

#nav {
    position: absolute !important;
    z-index: 999;
    margin-top: -10px;
}

.content-container{
    padding: 40px 120px 0;
}

#top-menu {
    width: 32px;
    margin: 10px 8px;
    display: none;
}

/*form*/

.form-25 { width: 25%; }
.form-50 { width: 50%; }
.form-75 { width: 75%; }
.form-100 { width: 100%;}

.scheduler-title, .scheduler-subtitle {
    margin: 0;
    font-weight: 400;
    color: #111;
}

.scheduler-subtitle {
    font-size: 18px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 300;
    color: #333;
    margin-bottom: 4px;
}
input, select, textarea {
    margin-bottom: 8px;
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 7px;
}

.form-row div {
    padding: 0 4px;
}

.scheduler-form button {
    width: 100%;
    padding: 12px 0;
    margin-top: 20px;
    background: #a51919;
    color: #fff;
    font-size: 18px;
    border: 0;
}
.form-row{
    display: flex;
}            

.recurring-input input {
    display: inline-block;
    width: auto;
    margin-top: 8px;
}

.recurring-input span {
    margin-left: 10px;
    font-weight: 300;
    font-size: 14px;
}

.equipments-table{
    width: 100%;
    font-weight: 300;
    font-size: 14px;
}
.equipments-table tr:nth-child(2n) {
    background: #efefef;
}

.equipments-table tr td {
    padding: 0 10px;
}

.equipments-table tr td:nth-child(1) {
    width: 10%;
}

.equipments-table tr td:nth-child(2) {
    width: 65%;
}

.equipments-table tr td:nth-child(3) {
    width: 25%;
}

/**/
/*modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-fade{
    position: fixed;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 480px;
    max-width: 95%;
    border-radius: 8px;
    box-shadow: 0 0 15px #333;
    box-sizing: border-box;
}

.modal-header {
    margin-bottom: 14px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*modal*/
/*não permitir ensaios de meia hora
table table tr:nth-child(odd) td .calendar_default_cell{
    height: 60px !important;
}

table table tr:nth-child(odd) td .calendar_default_cell .calendar_default_cell_inner{
    height: 59px !important;
}

.calendar_default_shadow{
    height: 60px !important;
}


table table tr:nth-child(even) td .calendar_default_cell, table table tr:nth-child(even) td{
    height: 0 !important;
}

table table tr:nth-child(even) td .calendar_default_cell .calendar_default_cell_inner{
    height: 0 !important;
}
/**/

/*hide closed times*/

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(1), /*cada um desse*/
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(1), /*corresponde a dois desse*/
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(2),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(2),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(3),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(4),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(3),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(5),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(6),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(4),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(7),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(8),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(5),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(9),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(10),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(6),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(11),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(12),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(7),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(13),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(14),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(8),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(15),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(16),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(9),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(17),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(18)/*,

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(10),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(19),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(20),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(11),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(21),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(22),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(12),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(23),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(24),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(13),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(25),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(26),

#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(14),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(27),
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(28)*/
{
    display: none;
}

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(1), /*cada um desse*/
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(1), /*corresponde a dois desse*/
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(2),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(2),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(3),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(4),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(3),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(5),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(6),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(4),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(7),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(8),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(5),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(9),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(10),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(6),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(11),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(12),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(7),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(13),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(14),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(8),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(15),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(16),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(9),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(17),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(18)/*,

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(10),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(19),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(20),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(11),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(21),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(22),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(12),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(23),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(24),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(13),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(25),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(26),

#dpWeek.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(14),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(27),
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(28)*/
{
    display: none;
}

#dpWeek.calendar_default_main div:nth-child(2) table tr td > table:nth-child(1) tr td div div,
#dpWeek.calendar_default_main div:nth-child(2) table tr td > table:nth-child(1) tr td div {
    /*background: red;
    width: 22px !important;
    overflow: hidden;*/
}


/*hide closed days*/
#dpWeek.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr td:nth-child(1), /*1-dom, 2-seg, etc...*/
#dpWeek table:nth-child(1) table:nth-child(1) tr:nth-child(1) td:nth-child(1),
#dpWeek table:nth-child(2) tr:nth-child(1) td:nth-child(1) {
    /*display: none;*/
}

#dp > div:nth-child(2), #dpWeek > div:nth-child(2){
    height: 600px !important;
}

#dp2 > div:first-child {
    display: none;
}

/*.calendar_default_cell_inner {
    background: #fff !important;
}*/

/*esses acima tem que ser dinamico de acordo com as horas de funcionamento!*/

.calendar_default_shadow {
    /*display: none;*/
}

.toolbar.buttons button, #showCalendar {
    background: #ccc;
    padding: 4px 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #aaa;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
}

.toolbar.buttons button.selected {
    background: #666;
    color: #fff;
    border: 1px solid #333;
    box-shadow: 0 0 2px #333;
}

/*admin*/

.header{
    background: #191e2f;
    height: 70px;
}
.page-container{
    display: flex;
    height: calc(100vh - 70px);
}

.content-left{
    background: #54606f;
    width: 320px;
    transition: 0.2s;
}

.content-right{
    background: #f0f0f0;
    width: calc(100% - 320px);
    padding: 40px;
    box-sizing: border-box;
    overflow: scroll;
    transition: 0.2s;
}

.menu-left li{

}

.menu-left li a{
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    width: 100%;
    font-size: 18px;
}

.menu-left li li a{
    padding: 10px 15px;
    background: #475052;
    font-size: 16px;
    padding: 10px 0 10px 35px;
}

.appointments-list li {
    list-style: none;
    background: #fff;
    padding: 20px 18px 25px;
    box-shadow: 0px 2px 6px #aaa;
    border-radius: 10px;
    margin-bottom: 12px;
}

.btn-reserva{
    background: #3d547f;
    margin: 0 1%;
    text-decoration: none;
    color: #fff;
    text-align: center;

    float: right;
    padding: 8px 21px;
    box-sizing: border-box;
    border-radius: 6px;
    font-size: 14px;
}

.btn-edit-event{
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 700;
    color: #fff;
}

.btn-proceed {
    background:#2e9050;
}

.btn-cancel {
    background:#c63738;
}

.btn-disabled {
    background:#ccc;
    color: #666;
}

#currentDate-container {
    display: inline-block;
    position: absolute;
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
    font-size: 24px;
    text-align: center;
    margin-top: -32px;
}

.change-day {
    padding: 4px 7px;
    margin-top: 2px;
}

#newEvent {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: red;
    width: 60px;
    height: 60px;
    z-index: 997;
    border-radius: 100%;
    text-align: center;
    padding-top: 5px;
    box-sizing: border-box;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

/*#dp.calendar_default_main div:nth-child(2) table table:nth-child(1) tr:nth-child(1)
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(1)
#dp.calendar_default_main div:nth-child(2) table div table:nth-child(1) tr:nth-child(2),
*/

.mobile-tip {
    display: none;
    position: absolute;
    background: #f0f0f0;
    z-index: 999;
    width: 80%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border-radius: 0 0 7px 7px;
    padding: 6px 0;
    font-size: 12px;
}
.mobile-tip ul li {
    display: inline-block;
    margin: 0 6px 0 0;
}
.mobile-tip ul li:nth-child(2)::before {
    background: #decb3c;
}
.mobile-tip ul li:nth-child(3)::before {
    background: #7f94e4;
}
.mobile-tip ul li:nth-child(4)::before {
    background: #b389dc;
}
.mobile-tip ul li:nth-child(5)::before {
    background: #42e6ff;
}
.mobile-tip ul li:nth-child(6)::before {
    background: #94DE3C;
}

.mobile-tip ul li::before {
    content: ' ';
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    margin-right: 3px;
}

@media screen and (max-width: 1220px){

    #newEvent {
        right: 5px;
        bottom: 5px;
    }
    .content-container{
        padding: 40px 20px;
    }

    #currentDate-container {
        display: inline-block;
        position: absolute;
        right: 20px;
        width: 175px;
        text-align: center;
        margin-top: -32px;
        left: unset;
        transform: unset;
    }
}

@media screen and (max-width: 768px){
    .content-container{
        padding: 40px 20px;
    }
    .content-container h1 {
        font-size: 26px;
    }

    .header{
        height: auto;
    }
    #top-menu {
        display: inline-block;
    }    
    .content-left {
        width: 0;
    }

    .content-right {
        width: 100%;
    }

    .menu-ativo .content-left {
        width: 210px;
    }

    .menu-ativo .content-right {
        width: calc(100% - 210px);
    }
    
    .content-right {
        padding: 40px 10px;
    }
}

@media screen and (max-width: 680px){
    .mobile-tip {
        display: block;
    }
    .calendar_default_event_inner {
        color: transparent !important;
    }
}

@media screen and (max-width: 480px){

    .content-container{
        padding: 40px 10px;
    }

    .content-container h1 {
        font-size: 19px;
        margin-bottom: 6px;
    }

    .calendar_default_colheader_inner {
        font-size: 10px !important;
    }

    .form-row { 
        flex-direction: column;
    }

    .form-25, .form-50, .form-75, .form-100 { width: 100%;}

    #currentDate-container {
        font-size: 13px;
    }

    .change-day {
        margin-top: -5px;
    }
}

@media screen and (max-width: 420px) {
    .content-container h1 {
        font-size: 16px;
    }

    #currentDate-container {
        font-size: 12px;
    }

    #currentDate-container {
        width: 150px;
    }
}