/* Для Webkit-браузеров (Chrome, Safari, Edge) */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    /* Бегунок стал полупрозрачным (0.5) */
    background-color: rgba(136, 136, 136, 0.5);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    /* При наведении делаем его чуть менее прозрачным (0.7) */
    background-color: rgba(85, 85, 85, 0.7);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-width: 1140px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    overflow-y: scroll;
    scrollbar-width: thin;
    /* Используем RGBA и для Firefox */
    scrollbar-color: rgba(136, 136, 136, 0.5) transparent;
    background-color: #fff;
}

header {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 100;
}
.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: stretch;

    width: 1100px;
    height: 100%;

    min-width: 1100px;
    margin: 0px auto;
}
.header-logo {
    display: block;
    width: auto;
    height: 60px;
    margin-right: auto;
    text-decoration: none;
    line-height: 60px;
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: black;
}
.header-exit {
    display: block;
    width: 90px;
    height: 60px;
    text-decoration: none;
    text-align: center;
    line-height: 60px;
    letter-spacing: 1.2px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: black;
}
.header-exit:hover {
    font-weight: 600;
    color: red;
}


/* Main Block */
main.user-main {
    position: relative;

    display: flex;
    flex-direction: row;
    align-content: space-between;

    width: 1100px;
    min-height: calc(100vh - 60px);

    margin: 0 auto;

    background-color: #fff;
    box-shadow: 0px 0px 10px 2px #cdcdcd;
    z-index: 0;
}

main.adminMain {
    position: relative;

    display: flex;
    flex-direction: row;
    align-content: space-between;

    width: 1100px;
    min-height: calc(100vh - 60px);

    margin: 0 auto;

    background-color: #fff;
    box-shadow: 0px 0px 10px 2px #cdcdcd;
    z-index: 0;
}


/* Admin Sidebar */
.sidebar {
    position: relative;
    display: block;
    width: 248px;
    height: auto;
    box-shadow: 1px 0px 0px 0px #cccccc8a;
}
.contents {
    position: relative;
    display: block;
    flex: 1;
    margin: 0;
    padding: 0 20px;
}




ol.user-ol,
ol.owner-ol {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

ol.user-ol>li:hover,
ol.owner-ol>li:hover {
    background-color: #e1f7ff;
    box-shadow: 0px 1px 2px 0px #ccc, 0px -1px 2px 0px #ccc;
}

ol.user-ol>li:hover>a>span {
    font-weight: 600;
    color: #000;
}

ol.user-ol>li>a {
    display: block;
    width: 100%;
    height: 40px;

    text-decoration: none;

    font-size: 0;  
}

ol.user-ol i {
    display: inline-block;
    width: 44px;
    height: 40px;

    vertical-align: top;

    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
    /*background-image: url(../icons/content_copy_16dp_656565_FILL0_wght400_GRAD0_opsz20.svg);*/
}

ol.user-ol>li>a>span {
    display: inline-block;
    width: 204px;
    height: 40px;
    margin: 0;
    padding: 12px 12px 12px 0px;
    text-align: left;
    text-decoration: none;
    line-height: 16px;
    letter-spacing: 1.2px;
    font-size: 15px;
    font-weight: 400;
    color: #858585;
}

ol.owner-ol>li>a {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 12px;
    text-align: left;
    text-decoration: none;
    line-height: 16px;
    letter-spacing: 1.2px;
    font-size: 15px;
    font-weight: 400;
    color: #858585;
}
ol.owner-ol>li>a:hover {
    font-weight: 600;
    color: #000;
}

ul.contect-ul {
    width: 100%;
    height: auto;

    margin-top: 20px;

    font-size: 0;

    & a {
        display: block;
        width: 100%;
        height: 40px;

        text-decoration: none;

        &:hover {
            background-color: #e1f7ff;
            box-shadow: 0px 1px 2px 0px #ccc, 0px -1px 2px 0px #ccc;
        }
        &:hover > span { color:#000; }
    }

    & i {
        display: inline-block;
        width: 44px;
        height: 40px;

        vertical-align: top;

        background-position: center;
        background-size: 24px;
        background-repeat: no-repeat;

        &#i-telegram { background-image: url(../icons/telegram.svg); }
        &#i-vkontakte { background-image: url(../icons/vkontakte.svg); }
    }


    & span {
        display: inline-block;
        width: 204px;
        height: 40px;
        margin: 0;
        padding: 12px 12px 12px 0px;
        text-align: left;
        text-decoration: none;
        line-height: 16px;
        letter-spacing: 1.2px;
        font-size: 15px;
        font-weight: 600;
        color: #858585;
    }
}

/* Icon Sidebar */
#i-profile { background-image: url(../icons/account_circle_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }
#i-news { background-image: url(../icons/newsmode_24dp_03040DE6_FILL0_wght400_GRAD0_opsz24.svg); }
#i-buy { background-image: url(../icons/local_mall_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }
#i-rule { background-image: url(../icons/gavel_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }
#i-servers { background-image: url(../icons/database_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }
#i-faq { background-image: url(../icons/help_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }
#i-balance { background-image: url(../icons/paid_24dp_000_FILL0_wght400_GRAD0_opsz24.svg); }

/* Линия */
div.line {
    display: block;
    width: auto;
    height: 1px;

    margin: 10px 8px;

    background-color: #dddddd;
}

/* Модальное окно */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}
.modal-content {
    display: block;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
}

/* Mini Madal */
.mini-modal {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 280px;
    height: auto;
    z-index: 1100;
}
.mini-content {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    text-align: left;
    line-height: normal;
    font-size: 16px;
    font-weight: 400;
    color: #000;
}
.mini-content.error {
    background-color: #fdd8d8;
    border: 1px solid #fdaaaa;
    border-radius: 10px;
}
.mini-content.success {
    background-color: #27ff006b;
    border: 1px solid #6eb75b;
    border-radius: 10px;
}

input[type=text],
input[type=file],
input[type=email],
input[type=password],
input[type=url],
textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 15px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  outline: none;
}
input[type=text]:focus,
input[type=file]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=url]:focus,
textarea:focus {
  border-color: rgb(3 4 13);
  box-shadow: 0 0 5px rgb(3 4 13);
}


select {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 15px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  appearance: none;        /* убирает дефолтную стрелку */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
select:focus {
  border-color: rgb(3 4 13);
  outline: none;
  box-shadow: 0 0 5px rgba(3 4 13);
}


button {
  background-color: rgb(3 4 13);
  color: white;
  margin: 0 auto;
  padding: 12px 30px;
  font-size: 16px;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
  background-color: rgb(3 4 13);
}

button:active {
  transform: scale(0.97);
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}