@-webkit-keyframes fadeToTop {
    from {
        opacity: 0;
        transform: translate(0, 50px)
    }
    to {
        opacity: 1;
        transform: translate(0, 0px)
    }
}

@keyframes fadeToTop {
    from {
        opacity: 0;
        transform: translate(0, 50px)
    }
    to {
        opacity: 1;
        transform: translate(0, 0px)
    }
}

@-webkit-keyframes fadeToBottom {
    from {
        opacity: 0;
        transform: translate(0, -50px)
    }
    to {
        opacity: 1;
        transform: translate(0, 0px)
    }
}

@keyframes fadeToBottom {
    from {
        opacity: 0;
        transform: translate(0, -50px)
    }
    to {
        opacity: 1;
        transform: translate(0, 0px)
    }
}

@-webkit-keyframes fadeToCenter {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeToCenter {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-webkit-keyframes fadeToRight {
    from {
        opacity: 0;
        transform: translate(-50px, 0)
    }
    to {
        opacity: 1;
        transform: translate(0, 0)
    }
}

@keyframes fadeToRight {
    from {
        opacity: 0;
        transform: translate(-50px, 0)
    }
    to {
        opacity: 1;
        transform: translate(0, 0)
    }
}

@-webkit-keyframes fadeToLeft {
    from {
        opacity: 0;
        transform: translate(50px, 0)
    }
    to {
        opacity: 1;
        transform: translate(0, 0)
    }
}

@keyframes fadeToLeft {
    from {
        opacity: 0;
        transform: translate(50px, 0)
    }
    to {
        opacity: 1;
        transform: translate(0, 0)
    }
}

.button {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    outline: none;
    transition: all .3s ease;
    border-radius: .5rem;
    border: none
}

.card-item .accordion .accordion-item,
.card-item .form-control,
.card-item.mt-0:hover,
.card-item .frame,
.card-item {
    box-shadow: 0px 7px 14px 0px rgba(151, 160, 204, .12)
}

.card-item .form-control:focus,
.card-item:hover {
    box-shadow: 0px 12px 28px 0px rgba(151, 160, 204, .3)
}

.button {
    position: relative;
    background-color: #ac9060;
    color: #fff;
    padding: .5rem 1rem;
    font-weight: 600
}

.button:focus,
.button:visited,
.button:active {
    background-color: #ac9060;
    color: #fff
}

.button:hover {
    background-color: #000;
    color: #fff
}

.button.secondary-button {
    background-color: #000;
    color: #fff
}

.button.secondary-button:focus,
.button.secondary-button:visited,
.button.secondary-button:active {
    background-color: #000;
    color: #fff
}

.button.secondary-button:hover {
    background-color: #ac9060;
    color: #fff
}

.form-control {
    border: 1px solid #fff;
    box-shadow: none;
    margin: 0px;
    background-color: #fff;
    border-radius: .5rem;
    padding: .5rem 1rem;
    outline: none;
    color: #2c2d2f
}

.form-control:focus {
    border: 1px solid #ccc;
    outline: none;
    box-shadow: none
}

main {
    padding-left: 270px
}

.shadow-xs {
    box-shadow: 0px 2px 4px rgba(146, 158, 218, .12)
}

.badge {
    border-radius: .25rem;
    padding: .75rem 1rem;
    background-color: #ac9060;
    color: #fff;
    font-size: .75rem
}

p {
    font-size: 1.2rem;
    color: #5c5c5c;
    margin-bottom: .875rem;
    font-weight: 400
}

.link {
    font-weight: 700;
    display: inline-block;
    color: #2c2d2f;
    background-color: #fff;
    border-bottom: 2px solid #2c2d2f;
    padding: .25rem 0rem;
    font-size: .875rem;
    transition: all .1s ease
}

.title {
    font-size: 2.25rem;
    font-weight: 700
}

.form-check {
    font-size: 1.125rem;
    color: #5c5c5c;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem
}

.form-check .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0;
    margin-right: 1rem
}

.form-check .form-check-input:checked {
    background-color: #ac9060;
    border-color: #ac9060
}

.form-check .form-check-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #ac9060
}

.form-control::-moz-placeholder {
    color: #2c2d2f;
    opacity: 1
}

.form-control::placeholder {
    color: #2c2d2f;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #2c2d2f
}

.form-control::-ms-input-placeholder {
    color: #2c2d2f
}

input[type=file] {
    display: none
}

.custom-file-upload {
    cursor: pointer;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center
}

.label {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    color: #5c5c5c;
    display: flex;
    flex-direction: column
}

.h-fix {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 430px;
    flex-direction: column
}

.h-fix .w-50 .button {
    min-width: 10rem
}

.error-page .title {
    font-size: 3.5rem;
    color: #ac9060
}

.error-page h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.navbar-toggler {
    border: 0px
}

.navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0)
}

.navbar-toggler .icon-bar {
    width: 29px;
    height: 3px;
    display: block;
    background: #ac9060;
    transition: all .2s;
    font-size: 30px;
    font-weight: 500
}

.navbar-toggler .icon-bar:not(:last-child) {
    margin-bottom: 6px
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%
}

.navbar-toggler .middle-bar {
    opacity: 0
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 0% 70%
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0)
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0)
}

.navbar-toggler:focus {
    outline: none;
    border: none;
    box-shadow: none
}

.datepicker-picker {
    border-radius: .5rem;
    overflow: hidden
}

.datepicker-title {
    background-color: #ac9060;
    padding: .75rem 1rem;
    color: #fff
}

.datepicker .datepicker-header .datepicker-controls .button:focus {
    background-color: rgba(0, 0, 0, 0)
}

.datepicker .datepicker-header .datepicker-controls .button:hover {
    background-color: #ac9060;
    color: #fff
}

.datepicker .datepicker-cell {
    color: #5c5c5c
}

.datepicker .datepicker-cell:hover {
    background-color: #ac9060;
    color: #fff
}

.datepicker .datepicker-cell.focused {
    background-color: #ac9060;
    color: #fff
}

.datepicker .datepicker-cell.disabled {
    color: #ccc;
    cursor: no-drop
}

.datepicker .datepicker-cell.disabled:hover {
    background-color: rgba(0, 0, 0, 0)
}

.datepicker-input.in-edit:focus {
    box-shadow: none
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f5f6f8;
    font-family: "Nunito", sans-serif;
    overflow-y: scroll;
    position: relative;
    padding: 2.5rem 0 0 0;
    max-width: 1920px;
    margin: 0 auto
}

::-moz-focus-inner {
    border: 0
}

a,
a:hover,
a:visited,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
    outline: 0 !important
}

button,
input,
select,
textarea {
    outline: 0 !important;
    box-shadow: none
}

header {
    padding: 2.5rem 2rem;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 270px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, .04);
    left: 0
}

header img {
    display: block;
    margin: 0 auto 1.5rem auto
}

header .list-group .list-group-item {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    font-weight: 600;
    padding: .5rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    transition: all .3s
}

header .list-group .list-group-item:hover {
    transform: translateX(0.25rem);
    color: #ac9060
}

header .list-group .list-group-item.active {
    transform: translateX(0.25rem);
    color: #ac9060
}

header .search-input {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem
}

header .search-input .form-control {
    padding: .45rem 1rem;
    color: #2c2d2f
}

header .search-input button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    box-shadow: none;
    position: absolute;
    right: 0;
    font-size: 1rem;
    color: #ccc;
    top: 1px;
    right: 5px;
    bottom: 0;
    background-color: #fff;
    width: 1.75rem;
    height: 90%;
    padding: 0;
    border-radius: .5rem
}

header .d-flex {
    flex-direction: column
}

header .d-flex a {
    font-weight: 600;
    transition: all .3s
}

header .d-flex a i {
    margin-right: .5rem;
    color: #ac9060
}

header .d-flex a:not(:last-child) {
    margin-bottom: .5rem
}

header .d-flex a:hover {
    color: #ac9060
}

header .d-flex p {
    font-size: .875rem;
    color: #ccc;
    margin: .5rem 0 0 0
}

header .d-flex.justify-content-between img {
    width: 100%;
    margin: 0;
    max-height: 50px
}

.filter-form .form-control {
    margin-right: 1rem;
    padding: .25rem 1rem;
    line-height: 1.2;
    min-height: 2.5rem
}

.filter-form .d-flex a {
    font-weight: 700;
    transition: all .3s;
    margin-right: 1rem
}

.filter-form .d-flex a i {
    margin-right: .5rem;
    color: #ac9060
}

.filter-form .d-flex a:hover {
    color: #ac9060
}

.grid-item-xl .card-item {
    border: 2px solid #ac9060
}

.grid-item-xl .card-item .picture {
    border: 2px solid #000
}

.grid>* {
    padding: .5rem
}

#template .card-item p {
    white-space: inherit;
    text-overflow: inherit;
    overflow: inherit
}

.card-item {
    padding: 1rem 1.5rem 1.75rem 1.5rem;
    background-color: #fff;
    transition: all .3s;
    border-radius: .75rem;
    margin-top: 1rem;
    position: relative;
}
.card-item::before {
    content: '';
    height: 100%;
    width: 100%;
    background-image: url('../images/rose_left.svg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: absolute;
    left: 0rem;
    bottom: 0px;
    max-height: 50px;
    max-width: 50px;
}
.card-item::after {
    content: '';
    height: 100%;
    width: 100%;
    background-image: url('../images/rose_right.svg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: absolute;
    right: 0rem;
    bottom: 0px;
    max-height: 50px;
    max-width: 50px;
}
.card-item .frame {
    position: relative;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid #f5f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 65px 0 30px 0;
}

.card-item .frame img {
    max-width: 9rem;
    /* min-height: 11rem; */
    border-radius: .75rem;
}

.card-item .frame .wrapper-img {
    margin: 5rem 0;
    max-height: 11rem;
    overflow: hidden;
}

/* .card-item .frame img:first-child {
    margin-right: 1rem
} */

.card-item h3 {
    font-weight: Bold;
    color: #2c2d2f;
    font-size: 1.5rem;
    font-family: 'Noto Serif', serif;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    padding-bottom: 0rem;
    transition: all .2s ease;
    margin: 1.25rem 0 0rem 0;
    /*display: inline-block*/
    text-align: center;
}

.card-item .d-flex {
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem
}

.card-item .d-flex .date {
    font-size: .75rem;
    color: #2c2d2f;
    font-weight: 700
}

.card-item .d-flex .date i {
    margin-right: .25rem;
    color: #ac9060
}

.card-item p {
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all; */
    font-family: 'Noto Serif', serif;
    text-align: center;
}
.card-item .flex p {
    margin-bottom: 0.25rem;
}
.card-item .flex p:last-child {
    margin-bottom: 0.875rem;
}
.card-item:hover {
    transform: translateY(-0.5rem)
}

.card-item:hover h3 {
    border-color: #000
}

.card-item:hover .link {
    color: #ac9060;
    border-color: #ac9060
}

.card-item.mt-0 {
    transform: none
}

.card-item.mt-0 h3 {
    font-size: 1.5rem;
    text-align: center;
}

.card-item.mt-0 .badge {
    font-size: .875rem;
    padding: .75rem 1rem
}

.card-item.mt-0 .date {
    font-size: .875rem
}

.card-item.mt-0 p {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    font-family: 'Noto Serif', serif;
    text-align: center;

}

.card-item.mt-0:hover h3 {
    border-color: rgba(0, 0, 0, 0)
}

.card-item.mt-0 p {
    white-space: inherit;
    text-overflow: inherit
}

.card-item .form-control {
    margin-bottom: 1.5rem;
    padding: .75rem 1rem;
    border: 1px solid #ccc
}

.card-item textarea {
    height: 150px;
    resize: none
}

.card-item.highlight {
    position: relative;
    overflow: hidden
}

.card-item.highlight::before {
    content: "";
    width: 100%;
    height: 100%;
    border: 1px solid #ac9060;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: .75rem
}

.card-item .flex {
    display: flex;
    flex-direction: row;
    position: relative;
    margin: 0 -1rem
}

.card-item .flex .badge {
    position: absolute;
    top: .75rem;
    right: 0rem;
    left: 0;
    max-width: fit-content;
    margin: auto;
    z-index: 1;
    background-color: #ac9060;
    font-size: .875rem
    
}

.card-item .flex .badge.d-block {
    right: auto;
    left: 2rem
}

.card-item .flex .flex-1 {
    margin: 0 1rem;
    flex: 1
}

.card-item .flex #secondElement {
    display: none
}

.card-item .accordion .accordion-header {
    margin: 0
}

.card-item .accordion .accordion-button {
    font-size: 1.125rem;
    font-weight: 600
}

.card-item .accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #ac9060
}

.card-item .accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

.card-item .accordion .accordion-button:focus {
    outline: none;
    box-shadow: none
}

.card-item .accordion .accordion-item {
    border: none;
    margin-bottom: .5rem;
    border-radius: .75rem;
    overflow: hidden
}

.card-item .accordion .accordion-body p:last-child {
    margin-bottom: 0
}

.share {
    background-color: #fff;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #dfdfdf;
    padding: 1rem 0 .5rem 0
}

.share h2 {
    font-size: 1.25rem;
    color: #2c2d2f;
    margin: 0 0 1rem 0;
    font-weight: 700
}

.share .list-inline {
    margin: 0;
    display: flex;
    flex-direction: row
}

.share .list-inline .list-inline-item a {
    box-shadow: 0px 7px 14px 0px rgba(151, 160, 204, .3);
    background-color: #fff;
    border-radius: .5rem;
    font-size: 1.25rem;
    color: #000;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s
}

.share .list-inline .list-inline-item a:hover {
    transform: translateY(-0.35rem)
}

.text-page h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 2rem 0
}

.text-page h2 b {
    color: #ac9060
}

.text-page .title {
    font-size: 2.25rem;
    font-weight: bold
}

.text-page h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 1rem 0
}

.text-page h4:not(:first-child) {
    margin: 2rem 0
}

.text-page ul {
    list-style-type: circle;
    padding-left: 1.5rem
}

.text-page ul li {
    font-size: 1rem;
    color: #5c5c5c;
    margin-bottom: .5rem;
    font-weight: 400
}

.text-page p {
    font-size: 1rem
}

.text-page .d-flex {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.25rem
}

.text-page .d-flex a {
    color: #5c5c5c;
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
    transition: all .3s
}

.text-page .d-flex a:hover {
    color: #ac9060
}

.text-page .d-flex i {
    color: #ac9060;
    margin-right: .75rem
}

.text-page .nav-tabs {
    list-style-type: none;
    padding: 0;
    border: none;
    margin-bottom: 2rem
}

.text-page .nav-tabs .nav-link {
    border: none;
    color: #fff;
    background-color: #000;
    border-radius: .5rem;
    margin-right: 1rem;
    min-width: 12rem
}

.text-page .nav-tabs .nav-link.active {
    background-color: #ac9060
}

.text-page .nav-tabs .nav-link:hover {
    background-color: #ac9060
}

.table.table-striped {
    border: 1px solid #ccc;
    font-size: 1rem
}

.table.table-striped th {
    border-right: 1px solid #ccc;
    padding: .5rem 1rem;
    font-size: 1.125rem
}

.table.table-striped>tbody>tr>* {
    padding: 1rem
}

.table.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #ac9060;
    box-shadow: none;
    color: #fff;
    border: 1px solid #ccc
}

.form-control.invalid {
    background-color: #fdd
}

.row.tab {
    display: none;
    min-height: 273px;
    align-content: flex-start
}

.row.tab .flex-1 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem
}

.row.tab .flex-1 .col-lg-6,
.row.tab .flex-1 .col-lg-12 {
    padding: 0 1rem
}

.row.tab #secondForm {
    display: none
}

.modal-title {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
}

.modal-title span {
    color: #ac9060;
}

.modal p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c2d2f;
}

.modal p b {
    color: #ac9060;
    font-weight: 700;
}

.modal-header .btn-close:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

@media only screen and (min-width: 1919.98px) {
    header {
        left: auto
    }
}

@media only screen and (max-width: 1199.98px) {
    body {
        padding: 2rem 0 0 0
    }
    .list-group-flush {
        text-align: center
    }
    .search-input {
        min-width: 300px
    }
    header {
        position: fixed;
        width: auto;
        padding: 0;
        left: 0;
        right: 0;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        background-color: #f5f6f8;
        min-height: 80px;
        z-index: 100
    }
    header .navbar-toggler {
        position: absolute;
        right: 0;
        top: 1.5rem;
        z-index: 10
    }
    header .d-flex,
    header img {
        position: relative;
        z-index: 100
    }
    header img {
        position: absolute;
        left: 1rem;
        top: 1rem
    }
    header .list-group .list-group-item {
        font-size: 1.25rem
    }
    header .list-group .list-group-item.active {
        transform: none
    }
    header .collapse.show {
        background-color: #f5f6f8;
        display: flex;
        align-items: center !important;
        justify-content: center;
        position: fixed;
        height: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        min-height: 700px
    }
    header .collapsing {
        transition: none;
        display: none
    }
    main {
        padding: 4rem 0 0 0
    }
    .text-page .nav-tabs .nav-item {
        display: block;
        width: 100%
    }
    .text-page .nav-tabs .nav-item .nav-link {
        width: 100%
    }
    .table.table-striped>tbody>tr>* {
        min-width: 200px
    }
    .table.table-striped small {
        display: block
    }
    .card-item .flex .badge {
        padding: .5rem;
    }
    .card-item .flex .badge.d-block {
        left: 13rem
    }
}

@media only screen and (max-width: 991.98px) {
    .card-item.mt-0 {
        margin-bottom: 1.5rem;
        padding-bottom: 1.75rem;
    }
    .card-item .flex .badge {
        padding: .75rem
    }
    .card-item {
        padding-bottom: 1rem;
    }
    #template {
        margin-bottom: 1.5rem
    }
    #template.col-xs-6 {
        width: 70%;
        max-width: 70%;
        margin: 0 auto 1.5rem auto;
        right: 0;
    }
    #template.col-6 {
        padding: 0.25rem;
        margin: 0 0 1.5rem 0;
    }
    .grid-item.col-6 {
        padding: 0.25rem;
    }
    .card-item .d-flex {
        flex-direction: column;
    }
    .card-item .d-flex .badge {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    .grid-sizer {
        display: none;
    }
    .row.tab {
        min-height: inherit
    }
    .row.tab .flex-1 {
        flex-direction: column;
        margin: 0
    }
    .row.tab .flex-1 .form-control {
        margin-bottom: 0
    }
    .row.tab .flex-1 .col-lg-6,
    .row.tab .flex-1 .col-lg-12 {
        padding: 0
    }
    .row.tab .flex-1 .col-lg-6 {
        margin-bottom: 1.5rem
    }
    .text-page .title {
        margin-bottom: 1rem
    }
}

@media only screen and (max-width: 767.98px) {
    .filter-form .form-control {
        margin-bottom: 1rem
    }
    #template .card-item .flex {
        padding-top: 7rem;
    }
    #template .card-item .flex .badge:first-child {
        margin-bottom: 0.25rem;
    }
    .card-item .flex {
        padding-top: 4.5rem
    }
    .card-item .frame {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .card-item .flex .badge {
        left: 0.5rem;
        right: 0.5rem;
        top: 0rem;
        white-space: normal;
        max-width: 100%;
    }
    .card-item .flex .badge.d-block {
        display: none;
        left: 0.5rem;
        right: 0.5rem;
        top: 3rem
    }
    .card-item .frame {
        margin-top: 0px;
    }
    .card-item .w-50 {
        width: 100% !important
    }
    .card-item .frame .wrapper-img {
        /* max-width: 7rem;
        min-height: 8rem; */
        margin: 3.5rem 0
    }
    .card-item .frame img {
        max-width: 7rem;
    }
    .card-item .frame img:first-child {
        margin-right: 0
    }
    .datepicker.active {
        right: 15px;
        left: 15px !important;
        z-index: 1000
    }
    .datepicker-picker {
        width: 100%
    }
    .datepicker-grid {
        width: 100%
    }
    .card-item .accordion .accordion-button {
        padding: .75rem
    }
    .card-item .accordion .accordion-body {
        padding: 1rem
    }
    .card-item .flex .flex-1 {
        margin: 0 0.5rem
    }
    .card-item h3 {
        font-size: 1.5rem;
        text-align:center;
    }
}