﻿a {
    cursor: pointer;
}
a.disabled {
    cursor: default;
    pointer-events: none;
}
.flex, [class^="flex-"], [class*=" flex-"] {
    display: flex;
    gap: 10px;
}
.flex-row {
    align-items: center;
    flex-direction: row;
}
.flex-column {
    flex-direction: column;
}
.flex-start {
    align-items: flex-start;
}
.flex.items-2 {
    flex-wrap: wrap;
}
.flex.items-2 > div {
    width: calc(50% - 5px);
}

.p-5 { padding: 5px; }
.p-10 { padding: 10px; }
.p-15 { padding: 15px; }
.p-20 { padding: 20px; }

.pt-5 { padding-top: 5px; }
.pt-10 { padding-top: 10px; }
.pt-15 { padding-top: 15px; }
.pt-20 { padding-top: 20px; }

.pr-5 { padding-right: 5px; }
.pr-10 { padding-right: 10px; }
.pr-15 { padding-right: 15px; }
.pr-20 { padding-right: 20px; }

.pb-5 { padding-bottom: 5px; }
.pb-10 { padding-bottom: 10px; }
.pb-15 { padding-bottom: 15px; }
.pb-20 { padding-bottom: 20px; }

.pl-5 { padding-left: 5px; }
.pl-10 { padding-left: 10px; }
.pl-15 { padding-left: 15px; }
.pl-20 { padding-left: 20px; }

.m-0 { margin: 0 !important; }
.m-5 { margin: 5px !important; }
.m-10 { margin: 10px !important; }
.m-15 { margin: 15px !important; }
.m-20 { margin: 20px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: 5px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt--10 { margin-top: -10px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb--40 { margin-bottom: -40px !important; }

.mr-0 { margin-right: 0 !important; }
.mr-5 { margin-right: 5px !important; }
.mr-10 { margin-right: 10px !important; }
.mr-15 { margin-right: 15px !important; }
.mr-20 { margin-right: 20px !important; }

.ml-0 { margin-left: 0 !important; }
.ml-5 { margin-left: 5px !important; }
.ml-10 { margin-left: 10px !important; }
.ml-15 { margin-left: 15px !important; }
.ml-20 { margin-left: 20px !important; }

.center {
    margin: 0 auto;
    text-align: center;
}
.wide {
    width: 100%;
}
.strong {
    font-weight: 600;
}
.stronger {
    font-weight: 700;
}
.normal {
    font-weight: 400;
}
.text-strong {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #40556b;
    margin-top: 0;
}
.text-secondary {
    font-size: 90%;
    font-weight: normal;
    color: #a3b1bf;
    display: block;
}
.nowrap {
    white-space: nowrap;
}
/* pagination */
/*.pagination {
    margin: 0 auto;
}
.pagination a, .pagination span {
    background-color: #F5F7FA;
    display: inline-block;
    text-align: center;
    min-width: 40px;
    height: 40px;
    line-height: 41px;
    margin: 0 -3px;
    color: #546A83;
    font-family: Roboto, serif;
    font-weight: 400;
}
.pagination a:first-child {
    border-radius: 2px 0 0 2px;
}
.pagination a:last-child {
    border-radius: 0 2px 2px 0;
}
.pagination a:hover, .pagination a.active {
    background-color: #E0E6F0;
    position: relative;
}
.pagination a.active {
    z-index: 1;
}
.pagination a.disabled {
    color: #546A8340;
}*/
/* copy box */
.copy-box {
    position: relative;
    background: #fff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    text-align: left;
    padding: 6px;
    overflow: hidden;
    max-width: 420px;
}
.copy-box input[type="text"], .copy-box input[type="text"]:focus {
    border: none;
    background: #fff;
    width: calc(100% - 50px);
    padding: 0;    
}
.copy-box i {
    margin: 0 4px 0 0;
    line-height: 27px;
    float: left;
}
.copy-box button {
    position: absolute;
    right: 7px;
    border: none;
    background: #E47F3C;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    font-family: Roboto, serif;
    padding: 7px 10px;
    line-height: initial;
}
.copy-box .confirm-message {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 37px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    opacity: 0;
    transform: scale(0);
    border-radius: 4px;
    animation: hide-copy-message 4s ease-in-out forwards;
}
.copy-box .confirm-message.hidden {
    display: none;
}
@keyframes hide-copy-message {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    5% {
        opacity: 1;
        transform: scale(1.1);
    }
    6% {
        transform: scale(1);
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
.box-white {
    background-color: #fff;
    padding: 3rem;
    font-family: Roboto, serif;
    border: #546A83 1px solid;
    border-radius: 4px 0 4px 4px;
    border-collapse: separate;
    border-spacing: 1px;
}
.box-gray {
    background-color: #F3F5F7;
    padding: 3rem;
    font-family: Roboto, serif;
}
.box-white a,
.box-gray a {
    color: #538BC5;
}



/* Mobile specific things */
@media(min-width:481px) {
    .hide-on-desktop {
        display: none !important;
    }
}
@media(max-width:480px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.skeleton:before {
    content: ' ';
    background-color: #F5F5F5;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.skeleton:after {
    content: ' ';
    width: 40px;
    height: calc(100% + 80px);
    position: absolute;
    left: -80px;
    top: -20px;
    z-index: 2;
    transform: rotate(7deg);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%,rgba(255,255,255,0) 100%);
    animation: skeleton-cover 2s infinite ease-in-out;
}
@keyframes skeleton-cover {
    0% {
        left: -80px;
    }
    100% {
        left: 1200px;
    }
}