﻿html, body {
    margin: 0;
    padding: 0;
    font-family: 'TT Commons',sans-serif;
    font-size: 14px;
}

#calendar {
    max-width: 900px;
    margin: 40px auto;
}

#calendar-new {
    max-width: 900px;
    padding: 3.6rem;
}

.popper,
.tooltip {
    position: absolute;
    z-index: 9999;
    background: #2018a4;
    color: black;
    /* width: 300px;*/
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    padding: 2px;
    text-align: justify-all;
    opacity: 1 !important;
}

.style5 .tooltip {
    background: #1E252B;
    color: #FFFFFF;
    max-width: 350px;
    width: auto;
    font-size: .8rem;
    padding: .5em 1em;
    opacity: 1 !important;
}

.popper .popper__arrow,
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
    opacity: 1 !important;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
    border-color: #1E252B;
}

.style5 .tooltip .tooltip-arrow {
    border-color: #1E252B;
}

.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}

    .popper[x-placement^="top"] .popper__arrow,
    .tooltip[x-placement^="top"] .tooltip-arrow {
        border-width: 5px 5px 0 5px;
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        bottom: -5px;
        left: calc(50% - 5px);
        margin-top: 0;
        margin-bottom: 0;
    }

.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}

    .tooltip[x-placement^="bottom"] .tooltip-arrow,
    .popper[x-placement^="bottom"] .popper__arrow {
        border-width: 0 5px 5px 5px;
        border-left-color: transparent;
        border-right-color: transparent;
        border-top-color: transparent;
        top: -5px;
        left: calc(50% - 5px);
        margin-top: 0;
        margin-bottom: 0;
    }

.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
    margin-left: 5px;
}

    .popper[x-placement^="right"] .popper__arrow,
    .tooltip[x-placement^="right"] .tooltip-arrow {
        border-width: 5px 5px 5px 0;
        border-left-color: transparent;
        border-top-color: transparent;
        border-bottom-color: transparent;
        left: -5px;
        top: calc(50% - 5px);
        margin-left: 0;
        margin-right: 0;
    }

.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}

    .popper[x-placement^="left"] .popper__arrow,
    .tooltip[x-placement^="left"] .tooltip-arrow {
        border-width: 5px 0 5px 5px;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        right: -5px;
        top: calc(50% - 5px);
        margin-left: 0;
        margin-right: 0;
    }


.fc-state-hover {
    /* background-color: #2018a4 !important;*/
    background-position: 0px !important;
    background-color: #ebf4ff !important;
}

.fc-state-active {
    background-color: #1e47b3 !important;
    color: white;
    border-radius: 10px !important;
    font-weight: normal;
    font-size: 15px !important;
    font-family: 'TT Commons',sans-serif;
}

.fc-content {
    color: white !important;
    margin: 5px;
    font-family: 'TT Commons',sans-serif;
}

.fc-widget-content .fc-sun, .fc-widget-content .fc-sat {
    background-color: #f2f2f2;
}

.fc-sun, .fc-sat {
    color: #454545 !important;
}

.fc-mon, .fc-tue, .fc-wed, .fc-thu, .fc-fri {
    color: #1e47b3 !important;
}

.fc-left .fc-state-default:not(.fc-state-active) {
    background: #e5e5e5 !important;
    color: #999999;
    border-color: #e5e5e5;
    border-radius: 10px;
    font-family: 'TT Commons',sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.select_filtro {
    height: 2.1em;
    font-family: 'TT Commons',sans-serif;
    background-color: #e5e5e5 !important;
    font-weight: bold;
    font-size: 15px;
    color: #454545;
}

.fc-view-container {
    padding: 20px 5%;
    background-color: #e5e5e5;
    border-radius: 15px 15px 0px 0px !important;
}

td .fc-mon, .fc-tue, .fc-wed, .fc-thu, .fc-fri {
    background-color: white;
    padding: .1em;
    border-inline: 2px solid #e5e5e5;
}

.fc td, .fc th {
    padding: .1em;
    border-radius: 15px !important;
    border-style: none;
    border-inline: 2px solid #e5e5e5;
}

.fc-body td {
    padding: .1em;
}

.fc-day-header {
    background-color: #e5e5e5 !important;
}

table {
    border-block: 2px solid #e5e5e5;
}

.fc-center h2 {
    color: #1e47b3;
    font-family: 'TT Commons',sans-serif;
}

.fc-event {
    border-color: white;
    font-family: 'TT Commons',sans-serif;
    line-height: 1.5;
    border-radius: 10px;
}

.fc-prev-button, .fc-next-button {
    background: #1e47b3 !important;
    border-radius: 50% !important;
    width: 25px !important;
    height: 25px !important;
}

.fc-icon {
    color: white;
    margin: -5px !important;
}

.sb-search {
    position: relative;
    /*margin-top: 10px;*/
    width: 0%;
    min-width: 60px;
    height: 60px;
    float: right;
    overflow: hidden;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
    -webkit-backface-visibility: hidden;
}

.sb-search-input {
    position: absolute;
    top: 0;
    right: 0px;
    border: none;
    outline: none;
    background: #fff;
    width: 100%;
    height: 60px;
    margin: 0;
    z-index: 10;
    padding: 0px 65px 20px 0px;
    font-family: 'TT Commons',sans-serif;
    font-size: 20px;
    color: #2c3e50;
}

input[type="search"].sb-search-input {
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
}

.sb-search-input::-webkit-input-placeholder {
    color: #1e47b3;
    font-family: 'TT Commons',sans-serif;
}

.sb-search-input:-moz-placeholder {
    color: #1e47b3;
    font-family: 'TT Commons',sans-serif;
}

.sb-search-input::-moz-placeholder {
    color: #1e47b3;
    font-family: 'TT Commons',sans-serif;
}

.sb-search-input:-ms-input-placeholder {
    color: #1e47b3;
    font-family: 'TT Commons',sans-serif;
}

.sb-icon-search,
.sb-search-submit {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0;
    /*line-height: 60px;*/
    text-align: center;
    cursor: pointer;
}

.sb-search-submit {
    background: #fff; /* IE needs this */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
    color: transparent;
    color: red;
    border: none;
    outline: none;
    z-index: -1;
}

.sb-icon-search {
    color: #1e47b3;
    z-index: 90;
    font-size: 22px;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
}

    .sb-icon-search:before {
        content: "";
    }

.sb-search.sb-search-open,
.no-js .sb-search {
    width: 100%;
}

    .sb-search.sb-search-open .sb-icon-search,
    .no-js .sb-search .sb-icon-search {
        color: #1e47b3;
        z-index: 11;
    }

    .sb-search.sb-search-open .sb-search-submit,
    .no-js .sb-search .sb-search-submit {
        /*    z-index: 90;*/
    }


#legend {
    background-color: #e5e5e5;
    border-radius: 0px 0px 15px 15px !important;
}

.legend-item {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-left: 50px;
    font-family: 'TT Commons',sans-serif;
    color: #454545;
    border-radius: 5px !important;
}

.fc-event .fc-bg {
    background: none !important;
}

.tooltip-inner {
    max-width: 350px !important;
    height: auto !important;
}
