
#root {
    height: 100%;
    flex-direction: column;
    font-family: 'Open Sans';
}

* {
    -webkit-overflow-scrolling: touch;
}

.ant-select-dropdown-auto {
    width: auto !important;
}

div.ant-select-dropdown {
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

div.ant-select-dropdown > div {
    margin-top: -5px;
    border-radius: 0 0 2px 2px;
    border: 1px solid #d7d7d7;
    background: white;
}

div.ant-select-dropdown .ant-select-dropdown-menu-item-group-title {
    font-size: 14px;
    color: #7b7e80;
}

div.ant-select-dropdown .ant-select-item {
    line-height: 39px;
    padding: 0 20px;
}

div.ant-select-dropdown .ant-select-item:last-child {
    border-radius: 0 0 2px 2px;
}

div.ant-select-dropdown .ant-select-item.ant-select-item-option-selected {
    background: white;
}

div.ant-select-dropdown .ant-select-item .ant-select-item-option-content {
    border-top: 1px solid #ECECEC;
}

div.ant-select-dropdown .ant-select-item:first-child .ant-select-item-option-content {
    border-top: none;
}

div.ant-select-dropdown .ant-select-dropdown-menu-item:first-child {
    border-radius: 0;
}

div.ant-select-dropdown .ant-select-dropdown-menu-item:hover, div.ant-select-dropdown .ant-select-dropdown-menu-item-active {
    background-color: #f9f9f9;
}

@media(max-width: 454px) {
    .ant-select-dropdown {
        width: calc(100% - 54px) !important;
    }
}

div.ant-calendar-input-wrap {
    display: block;
}

.body-anim-enter {
    opacity: 0;
    transform: translateY(100px);
}

.body-anim-enter-done {
    opacity: 1;
    transform: translateY(0);
    transition: all 600ms 600ms;
}

.body-anim-exit {
    opacity: 1;
    transform: translateY(0);
}

.body-anim-exit-active {
    opacity: 0;
    transform: translateY(-100px);
    transition: all 600ms;
}

div[class^=body-anim] {
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
}

@media (max-width: 550px) {
    div[class^=body-anim] {
        padding-left: 27px;
        padding-right: 27px;
        padding-bottom: 70px;
    }
}

/*div.ant-modal {*/
/*    width: auto !important;*/
/*    min-width: 520px;*/
/*    padding-top: 20px;*/
/*}*/

/*div.ant-modal-wrap {*/
/*    overflow: hidden;*/
/*}*/

/*div.ant-modal {*/
/*    height: calc(100% - 16px);*/
/*    min-width: 0;*/
/*    padding: 0;*/
/*    overflow: hidden;*/
/*    border-radius: 4px;*/
/*}*/

canvas.react-pdf__Page__canvas {
    max-width: 100% !important;
    height: auto !important;
}

.infinite-scroll-component {
    overflow: visible !important;
}

.important-mail-modal .ant-modal-content {
    background-color: #282C2E;
    color: #FFF;
    width: 225px;
    border-radius: 4px;
    position: relative;
    top: 26vh;
    left: 48.5vw;
  }
  @media (max-width: 550px) {
    .important-mail-modal .ant-modal-content {
      position: relative;
      left: 20px;
    }
  }
  .important-mail-modal .ant-modal-body {
    font-size: 11px;
    line-height: 15px;
    padding: 13px;
}