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

body {
    display: flex;
    flex: 1;
    position: relative;
}

h2 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.05em;
    color: #1F2430;
}

h4.warning {
    color: #f5a30c;
    font-size: 16px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    margin: 10px 0;
}

h4.danger {
    color: #DA3838;
    font-size: 16px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    margin: 10px 0;
}



input[type=text], input[type=search], input[type=email], input[type=password], input[type=number] { 
    border: 1px solid #E7E7ED;
    box-sizing: border-box;
    border-radius: 4px;
    height: 32px;
    width: 100%;
    margin: 4px 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #1C202F;
    padding: 9px 16px;
}

input[type=text]:invalid, input[type=search]:invalid, input[type=email]:invalid, input[type=password]:invalid, input[type=number]:invalid { 
    border: 1px solid #DA3838;
}

input[type='radio'] {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    outline: none;
    box-shadow: 0 0 0 2px #E7E7ED;
    margin: 10px;
}

input[type='radio']:before {
    content: '';
    display: block;
    width: 60%;
    height: 60%;
    margin: 20% auto;
    border-radius: 50%;
}
input[type='radio']:checked:before {
    background: #5AC891;
}

input.small {
    height: 26px;
}

select {
    border: 1px solid #E7E7ED;
    box-sizing: border-box;
    border-radius: 4px;
    height: 32px;
    width: 100%;
    margin: 4px 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #1C202F;
    padding: 6px 16px;
    padding-right: 35px;
    background: transparent;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url("/icons/png/gray-dark/down.png");
    background-repeat: no-repeat;
    background-position: top 8.5px right 12px;
    background-size: 16px;
}

textarea {
    border: 1px solid #E7E7ED;
    box-sizing: border-box;
    border-radius: 4px;
    width: 100%;
    margin: 4px 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #1C202F;
    padding: 9px 16px;
}


/* CORE END */






/* COMPONENTS START */

#content {
    flex: 1;
    position: relative;
}

.divider {
    width: 100%;
    background: #666D7A;
    border-radius: 2px;
    height: 2px;
}

.pagination {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 10px;
}

.pagination .btn.disable, .pagination button[disabled].btn  {
    background: #F8FAFB;
    border: 1px solid #F8FAFB;
    color: #A4A9AA;
}

/* .pagination > button, .pagination > input {
    flex: 1 1 auto;

} */

.radio-btn-wrapper {
    display: flex;
    align-items: center;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 7px;
}
.tags-wrapper > img {
    width: 18px;
    height: 13px;
    cursor: pointer;
}

.date-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #5AC891;
    border-radius: 2px;
    /* margin: 0px 8px; */
    padding: 2px 12px;
    /* height: 24px; */
    font-family: Source Sans Pro;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
}
.date-tag > .label {
    color: #5AC891;
}
.date-tag img {
    width: 9px;
    height: 9px;
    margin-left: 8px;
}


.permission-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3px 12px;
    background: #FFFFFF;
    border: 1px solid #5AC891;
    box-sizing: border-box;
    border-radius: 2px;
    margin: 0px 8px;
    cursor: pointer;
}

.permission-tag.active {
    background-color: #5AC891;
    color: white;
}
.permission-tag img {
    width: 9px;
    height: 9px;
    margin-left: 8px;
}




.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 7px 21px;

    box-sizing: border-box;
    border-radius: 4px;


    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #1C202F;

    cursor: pointer;
}
.btn.default {
    background-color: transparent;
    color: #1C202F;
    border: 1px solid #E7E7ED;
}
.btn.success {
    background-color: #5AC891;
    color: #FFFFFF;
    border: 1px solid #5AC891;
}
.btn.danger {
    background-color: #DA3838;
    color: #FFFFFF;
    border: 1px solid #DA3838;
}
.btn.small {
    height: 26px;
    padding: 10px 15px;
}
.btn.disable {
    background: #F8FAFB;
    border: 1px solid #F8FAFB;
    color: #A4A9AA;
}

.table {
    background: #FFFFFF;
    border: 1px solid #E7E7ED;
    border-collapse:collapse;
    box-sizing: border-box;
    border-radius: 4px;
    border-spacing: 0px;
    width: 100%;
}
table.table tr th {
    color: #878C96;
    font-size: 16px;
    line-height: 24px;
    padding: 12px;
    font-weight: 500;
    font-family: Roboto;
    text-align: center;
    border-collapse:collapse;
    border: 1px solid #E7E7ED;
    box-sizing: border-box;

}
table.table tr td {
    color: #1C202F;
    font-size: 14px;
    font-weight: 400;
    font-family: Roboto;
    vertical-align: center;
    border-collapse:collapse;
    border: 1px solid #E7E7ED;
    padding: 12px;
}
table.table td.center {
    text-align: center;
}
table.table tr:hover {
    background-color: #F8FAFB;
}
table.table tr.head:hover {
    background-color: transparent;
}
/* table.table tr td > img {
    width: 12px;
    height: 12px;
    cursor: pointer;
    margin: 2px;
} */


.modal-wrapper {
    background: #E7E7ED;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.modal {
    padding: 50px 60px;
    background: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 8px 16px rgba(106, 117, 131, 0.2);
    border-radius: 8px;
    overflow-y: auto;
}
.modal .title {
    text-align: center;
    margin-bottom: 30px;
}
.modal .actions {
    display: flex;
    justify-content: center;
}
.modal .actions input {
    margin: 0 15px 0 15px;
}
.modal .icon-close {
    text-align: center;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.modal .icon-close img {
    width: 24px;
    height: 24px;
}
/* .modal input[type=text] {
    border: 1px solid #E7E7ED;
    box-sizing: border-box;
    border-radius: 4px;
    height: 39px;
    width: 100%;
    margin: 4px 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #1C202F;
    padding: 9px 16px;
}
.modal select {
    border: 1px solid #E7E7ED;
    box-sizing: border-box;
    border-radius: 4px;
    height: 39px;
    width: 100%;
    margin: 4px 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #1C202F;
    padding: 9px 16px;
    background: transparent;
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
    background-image: url("/icons/png/gray-dark/down.png");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 55%;
} */
.modal .label {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: #1C202F;
    flex-grow: 0;
    margin: 4px 0px;    
}
.modal .message {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.05em;
    color: #878C96;   
}

.modal .label.error, .modal .message.error {
    color: #DA3838;
}

.modal input.error {
    border: 1px solid #DA3838;
    color: #DA3838;
}



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

.form .row {
    gap: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.form .col {
    flex: 1;
}

.form .label {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: #1C202F;
    flex-grow: 0;
    margin: 4px 0px;    
}
.form .message {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.05em;
    color: #878C96;   
}

.form .label.error, .form .message.error {
    color: #DA3838;
}

.form input.error {
    border: 1px solid #DA3838;
    color: #DA3838;
}

.form .actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.form .actions input {
    margin: 0 15px 0 15px;
}


/* COMPONENTS END */


.menu {
    flex: 0 0 224px;
    min-height: 100vh;
    background-color: #1F2633;
    position: relative;
}

.menu select {
    color: #666D7A;
    font-family: "Roboto";
    font-weight: 400;
    font-size: 16px;
}

.menu > .logo {
    color: rgb(223, 124, 124);
    font-size: 45px;
    text-align: center;
    padding-top: 40px;
}

.menu > .nav {
    color: white;
    padding-top: 40px;
    padding-left: 24px;
    padding-right: 28px;
    padding-bottom: 50px;
}

.menu .nav .divider {
    margin: 24px 0px;
}

.menu > .nav a {
    text-decoration: none;
    height: 32px;
    margin-bottom: 12px;
    padding: 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu > .nav a .name {
    color: #666D7A;
    list-style-type: none;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    font-family: Roboto;
    margin-left: 12px;
}

.menu > .nav a img {
    width: 24px;
    height: 24px;
}


.menu > .nav a .name.active {
    color: white;
}

.menu .user {
    position: absolute;
    bottom: 20px;
}
.menu .user .name {
    color: #666D7A;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    font-family: Roboto;
}

.menu .user .email {
    color: #666D7A;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    font-family: Roboto;
    margin-top: 10px;
}



/* PAGES START */
.datelist-page {
    padding: 60px 53px;
}

.datelist-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 42px;
}



.pbxs-page {
    padding: 60px 53px;
}

.pbxs-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 42px;
}
.pbxs-page-header .left-block {
    display: flex;
    align-items: center;
}
.pbxs-page-header .left-block > input {
    width: 300px;
    margin-left: 60px;
}


.pbxs-page td.icon-actions {
    padding: 0 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
}

.pbxs-page td.icon-actions img {
    width: 16px;
    height: 16px;
}



.pbxs-edit-page a {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.05em;
    text-decoration-line: underline;
    color: #5AC891;
}
.pbxs-edit-page.modal {
    width: 500px;
    max-height: 700px;
    overflow-y: scroll;
}
.pbxs-edit-page.modal .label {
    margin-top: 25px;
    display: inline-block;
}
.pbxs-edit-page .full-field-marker.label, .pbxs-edit-page input.full-field-marker, .pbxs-edit-page .full-field-marker.message, .pbxs-edit-page textarea.full-field-marker, .pbxs-edit-page select.full-field-marker, .pbxs-edit-page a.full-field-marker  {
    display: none;
}
.pbxs-edit-page .short-field-marker {
    display: inline-block;
}



.users-page {
    padding: 60px 53px;
}
.users-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 42px;
}
.users-page-header .left-block {
    display: flex;
    align-items: center;
}
.users-page-header .left-block > input {
    width: 300px;
    margin-left: 60px;
}
/* .users-page td.icon-actions {} */
.users-page td.icon-actions img {
    width: 14px;
    height: 14px;
    margin: 0px 10px;
    cursor: pointer;
}
/* .users-page .permission-tag img {
    width: 9px;
    height: 9px;
    margin-left: 8px;
} */
/* .users-page .tags-wrapper > img {
    width: 18px;
    height: 13px;
    cursor: pointer;
} */

.users-page .tab1r .email.active {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 150%;
    color: #5AC891;
}

.users-edit-page.modal {
    width: 400px;
}

.users-new-page.modal {
    width: 400px;
}



.user-edit-page a {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.05em;
    text-decoration-line: underline;
    color: #5AC891;
}


.account-page {
    padding: 60px 53px;
}
.account-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 42px;
}


/* .account-page {
    width: 500px;
    max-height: 700px;
    overflow-y: scroll;
} */
.account-page .label {
    margin-top: 25px;
    display: inline-block;
}
.account-page .full-field-marker.label, .account-page input.full-field-marker, .account-page .full-field-marker.message, .account-page textarea.full-field-marker, .account-page select.full-field-marker, .account-page a.full-field-marker, .account-page div.full-field-marker {
    display: none;
}
.account-page .short-field-marker {
    display: inline-block;
}



/* .datelist-page .icon-actions {} */
.datelist-page .icon-actions img {
    width: 14px;
    height: 14px;
    margin: 0px 5px;
    cursor: pointer;
}


.blacklist-page {
    padding: 60px 53px;
}
.blacklist-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 42px;
}
.blacklist-page-header .left-block {
    display: flex;
    align-items: center;
}
.blacklist-page-header .left-block > input {
    width: 300px;
    margin-left: 60px;
}
/* .blacklist-page .icon-actions { */
    /* display: flex; */
    /* justify-content: space-around; */
    /* align-items: center; */
    /* cursor: pointer; */
/* } */
.blacklist-page .icon-actions img {
    width: 14px;
    height: 14px;
    margin: 0px 5px;
    cursor: pointer;
}
/* PAGES END */









/* EXPERIMENTAL */
/* 
.home-header {
    background-color: #F8FAFB;
    height: 200px;
    padding-left: 55px;
    padding-right: 55px;
}

.home-header  > .top {
    padding-top: 40px;
}

.home-header  > .second {
    padding-top: 64px;
}

.home-header > div {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.home-header > .top > .name {
    color: #1F2430;
    font-size: 48px;
    font-family: Roboto;
    font-weight: 900;
    line-height: 56px;
}

.home-header > .top > .support  {
    display: flex;
    justify-content: space-between;
}

.home-header > .top > .support  > .icon {
    height: 48px;
    width: 48px;
    margin-right: 16px;
}

.home-header > .top > .support  > .text {
    color: #1C202F;
    font-size: 14px;
    font-family: Roboto;
    font-weight: 500;
    line-height: 26px;
}

.home-header > .second {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.home-header > .second > .nav {
    display: flex;
    align-items: flex-start;
} */


/* .home-header > .second > .nav > .name {
    color: #1C202F;
    list-style-type: none;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    font-family: Roboto;
    margin-top: 4px;
    margin-left: 16px;
    padding-bottom: 17px;
    position: relative;
}

.home-header > .second > .nav > .icon > img {
    width: 24px;
    height: 24px;
} */


