@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url('./MaterialIcons-Regular.ttf') format('truetype');
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: top;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
}
a.material-icons {
    text-decoration: none;
}
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}

.color-pink {
    color: var(--pink);
}
.color-green {
    color: var(--green);
}
.color-gray {
    color: var(--gray);
}
.color-red,
.color-danger {
    color: var(--danger);
}
.color-yellow,
.color-warning {
    color: var(--warning);
}

.text-vcenter > a,
.text-vcenter > span {
    vertical-align: -30%;
}

header {
    margin-bottom: 1rem;
}
main {
    margin-bottom: 50px;
}
.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1400px;
}
.breadcrumb {
    padding: 0.5rem 1rem;
    font-size: 12px;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#sidebar-menu .material-icons {
    vertical-align: top;
    padding-right: 4px;
}

.title-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.table .thead-small th {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 300;
}
.card .card-body {
    position: relative;
}
.card  .card-body > .table th {
    border-top: none;
}
.card .card-header-row {
    padding: 0;
    display: flex;
    flex-direction: row;
}
.card .card-header-row .card-title {
    padding: 0.75rem 1.25rem;
    margin: 0;
    line-height: 1.38;
}
.card-back {
    padding: 0.75rem 1.25rem;
    border-right: solid 1px #eee;
}
.card-pagination {
    padding: 20px;
}
.card-pagination .pagination {
    margin: 0;
}
.summary {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.status .material-icons {
    font-size: 17px;
    line-height: 1;
    vertical-align: baseline;
}

.moderation-review-page .user-pic img {
    width: 64px;
    max-height: 64px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}
.moderation-review-page .review-attachments {
    padding-bottom: 12px;
    cursor: pointer;
    font-size: 0;
}
.moderation-review-page .review-attachments img {
    margin: 6px 6px 0 0;
}

.tour-preview {
    width: 100%;
    height: 100vh;
}
.card-moderation {
    border: none;
    margin-top: -8px;
}
.card-moderation .card-footer {
    z-index: 3;
    border-bottom: 1px solid #eee;
    background-color: #f5f5f5;
}
.card-moderation .card-body {
    z-index: 1;
    height: 100vh;
}
.card-moderation .form-group .help-block{
    margin-top: 10px;
}
.card-moderation .container {
    max-width: 1100px;
}

.notice-sidebar {
    position: fixed;
    z-index: 199;
    right: 0;
    top: 0;
    right: -500px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, right 0.3s, visibility 0.3s 0.3s;
}
.notice-sidebar.open {
    right: 0;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s, right 0.4s;
}
.notice-close {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 20px;
    padding: 30px 0;
    text-align: center;
    line-height: 30px;
    z-index: 201;
    border-radius: 0 7px 7px 0;
    background-color: #f2f2f2;
    cursor: pointer;
}
.notice-close:hover {
    background-color: #f0f0f0;
}
.notice-close .material-icons {
    font-size: 21px;
}
.notice-container {
    height: 100vh;
    overflow: auto;
    box-shadow: 0 -5px 0px 5px rgba(0,0,0,0.1);
    width: 360px;
    padding: 1rem 1rem 1rem 1.3rem;
    background-color: var(--light);
}

.site-error {
    text-align: center;
    padding: 50px 0;
    max-width: 640px;
    margin: 0 auto;
}
.site-error h1 {
    margin: 0 0 30px 0;
}

.pagination > li:first-child > .page-link,
.pagination > li:first-child > span {
    border-radius: 4px 0 0 4px;
}
.pagination > li:last-child > .page-link,
.pagination > li:last-child > span {
    border-radius: 0 4px 4px 0;
}
.pagination .material-icons {
    font-size: 19px;
}
.pagination .disabled > span {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--gray);
    background-color: #fff;
    border: 1px solid #dee2e6;
}

label {
    font-size: 0.8rem;
}
.form-group-action {
    position: relative;
}
.form-group-action .action-buttton {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
.form-group .help-block {
    font-size: 0.8rem;
    line-height: 1rem;
}
.form-group.has-success .form-control {
    box-shadow: 0 0 0 0.2rem rgba(0, 164, 41, 0.25);
    border-color: var(--success);
}
.form-group.has-error .form-control {
    box-shadow: 0 0 0 0.2rem rgba(235, 10, 58, 0.25);
    border-color: var(--danger);
}
.form-group.has-error .help-block {
    color: var(--danger);
}
.form-control--autosize textarea {
    field-sizing: content;
}

.badge-400 {
    font-weight: 400;
}
.badge-xs {
    vertical-align: 20%;
    font-size: 10px;
}

/**
 * Карточка пользователя
*/
.user-card {
    display: flex;
    align-items: center;
}
.user-card-photo {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin: 0 8px 0 0;
}
.user-card-photo img {
    font-size: 50px;
    color: #ccc;
    color: #dee2e6;
}
.user-card-name {
    font-size: 16px;
    font-weight: 700;
}
.user-card-company {
    font-size: 12px;
    font-weight: 300;
}

/**
 * page login
*/
.main-login-container {
    min-height: 100vh;
}


a.material-icons.link-new-tab {
    vertical-align: middle;
    font-size: 18px;
}

/**
 * Animations
*/
.animation-rotation {
    animation-name: rotation;
    animation-delay: 0;
    animation-timing-function: linear;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

#review-type label {
    font-size: 12px;
    display: inline-block;
    margin: 0 24px 0 0;
}

.horizontal-scroll-container {
    max-width: 100%;
}
@media screen and (max-width: 767px) {
    .horizontal-scroll-container {
        overflow: hidden;
        overflow-x: scroll;
    }   
    .horizontal-scroll-container > div {
        min-width: 800px;
    }
    .page-companies .card-footer {
        max-width: 90vw;
        padding: 24px 16px 32px 16px;
    }
    .page-companies .card-footer .text-left,
    .page-companies .card-footer .text-right,
    .page-companies .card-footer .text-center {
        text-align: left !important;
    }
}
code.debug {
    padding: 10px;
    border: solid 1px #eee;
    display: block;
    background-color: #f4f4f4;
    line-height: 1.3;
    white-space: pre-wrap;
    border-radius: 3px;
}
