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

body {
    display: flex;
    flex: 1;
}

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


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: 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;
}

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;
}

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;
    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 11.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;
}

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

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
}
.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;
}

.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;
}




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

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


    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    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;
}

.table {
    background: #FFFFFF;
    border: 1px solid #E7E7ED;
    border-collapse:collapse;
    box-sizing: border-box;
    border-radius: 4px;
    border-spacing: 0px;
}
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;
    height: 60px;
    font-weight: 400;
    font-family: Roboto;
    vertical-align: center;
    text-align: center;
    padding: 12px;
}
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;
    width: 100vw;
    height: 100vh;
}
.modal {
    padding: 50px 60px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 8px 16px rgba(106, 117, 131, 0.2);
    border-radius: 8px;
    overflow-y: scroll;
}
.modal .title {
    text-align: center;
}
.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, .message.error {
    color: #DA3838;
}

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





/* COMPONENTS END */


.menu {
    width: 224px;
    height: 100vh;
    background-color: #1F2633;
}

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

.menu > .nav {
    color: white;
    padding-top: 60px;
    padding-left: 24px;
}

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

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

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


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



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


/* 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;
} */


