html.link-html {
    width: 100%;
    height: 100%;
    display: table;
}

#links [data-biolink-block-id] p {
    margin: 0;
}

html.link-html, body.link-body {
    margin: 0;
    padding: 0;
}

body.link-body{
    background-color: unset;
    width: 100%;
    display: table-cell;
}

.link-video-background {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.carousel-fix{
    /* safari carousel fix */
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
}

.link-content {
    /*padding-top: 2rem;*/
}

.link-image {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

.link-verified {
    border: 2px solid #3897F0;
    border-radius: 50rem;
    padding: .25rem .4rem;
    background: white;
    color: #3897F0;
    font-weight: bold;
}

.link-btn {
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 0 20px #00000010;
    transition: opacity 0.3s, background 0.3s;
    border-radius: 0;
}

.link-btn-with-image {
    padding: 1rem 4.5rem;
}

.link-btn:hover {
    animation: none;
}

.link-btn-straight {
    border-radius: 0;
}

.link-btn-round {
    border-radius: 50px;
}

.link-btn-rounded {
    border-radius: .3rem;
}

.link-avatar-straight {
    border-radius: 0;
}

.link-avatar-round {
    border-radius: 50rem;
}

.link-avatar-rounded {
    border-radius: .3rem;
}

.link-hover-animation {
    transition: transform 0.3s;
}

.link-hover-animation:hover {
    transform: scale(1.025);
}

.link-btn-image-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: 45px;
    max-height: 45px;
    position: absolute;
    top: 50%;
    margin-top: -22.5px;
    margin-left: -4.1rem;
}

.link-grid-image-wrapper {
    position: relative;
    height: 10rem;
    width: 100%;
    /*background: var(--primary-100);*/
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.link-image-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.wide-image{
    padding-right: 0;
    padding-left: 0;
}

.borderless-image{
    border-radius: 0;
}

@media (min-width: 992px) {
    .link-grid-image-wrapper {
        height: 20rem;
    }
}


.link-grid-image-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    background: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .25rem 1rem;
}

.link-grid-image-overlay-text {
    color: white;
    font-size: 1.1rem;
}


.link-btn-image {
    width: 100%;
    height: auto;
}

.link-external-item-image {
    width: 100%;
    height: auto;
    max-height: 10rem;
    object-fit: cover;
}

.link-iframe-round {
    border-radius: .3rem;
    overflow:hidden;
    position:relative;
}

.link-round {
    border-radius: .3rem;
}

.link-qr-code img {
    width: 100%;
}

.link-footer {
    margin: 3rem 0;
}

.link-footer-branding {
    font-size: .9rem;
}

.embed-responsive-clip-container {
    max-width: 50%;
    margin: 0 auto;
}
.embed-responsive-clip {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive-clip::before {
    display: block;
    content: "";
    padding-top: 177.77%; /* Соотношение сторон 9:16 */
}
.embed-responsive-clip iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .embed-responsive-clip-container {
        max-width: 100%;
    }
}

/*#links > .row > div:target {*/
/*    transform: scale(1.05);*/
/*}*/

/* Modals */
.modal-header {
    padding: 1rem;
    border-bottom: 0;
}

.modal-subheader {
    padding: 0 1rem;
    border-bottom: 0;
    margin: 0;
}

.modal-content {
    padding: 1rem;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.form-group.required .control-label:after {
    content:"*";
    color:red;
}

.linkrr-logo{
    width: 100%;
    height: 20px;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.linkrr-logo path {
    mix-blend-mode: screen;
}



#cookie_notification {
    display: none;
    justify-content: space-between;
    align-items: baseline;
    position: sticky;
    bottom: 5px;
    padding: 15px;
    background-color: rgba(18,18,20,0.95);
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.4);
    font-size: 12px
}

@media (min-width: 576px) {
    #cookie_notification.show {
        display:block;
    }
}

@media (max-width: 575px) {
    #cookie_notification.show {
        display:block;
        text-align: left
    }
}

#cookie_notification p {
    font-size: 12px;
    margin: 0;
    text-align: left;
    color: #cbcbd6;
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    #cookie_notification .cookie_accept {
        margin:0 0 0 25px
    }
}

@media (max-width: 575px) {
    #cookie_notification .cookie_accept {
        margin:10px 0 0 0;
    }
}

@media (max-width: 767px) {
    #cookie_notification {
        padding:10px;
    }
}

#cookie_notification .cookie_accept{
    margin-left: auto;
    margin-right: 10px;
    -webkit-tap-highlight-color: transparent;
    fill: currentColor;
    -webkit-font-smoothing: antialiased;
    vertical-align: baseline;
    line-height: normal;
    cursor: pointer;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    justify-content: space-around;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    user-select: none;
    transition: border-color 0.1s linear, background 0.1s linear, color 0.1s linear;
    font-size: 14px;
    font-weight: 700;
    min-height: 34px;
    text-align: center;
    text-decoration: none;
    outline: none;
    z-index: 1;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #333;
    flex-grow: 1;
    padding: 6px 18px;
}


#cookie_notification .read_more{
    -webkit-tap-highlight-color: transparent;
    fill: currentColor;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5em;
    transition: color 0.1s ease, border 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, opacity 0.1s ease, -webkit-box-shadow 0.1s ease;
    outline: 0;
    text-decoration: underline;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    flex-grow: 1;
    margin-right: 12px;
    padding: 6px 18px;
    text-align: center;
}

@media (min-width: 992px) {
    .link-content-bg {
        border-radius: 1rem;
    }
}

.link-content-header {
    border-radius: 0 0 1rem 1rem;
    padding-top: 0.5rem;
}


 .link-header{
     position: relative;
     width: 100%;
 }

.link-header-img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.iti2{
    display: block !important;
}

.iti2 .iti{
    width: 100%;
}

.iti2 .iti__flag-container{
    color: black;
}

.link-body [data-biolink-block-id] a, .link-body [data-biolink-block-id] a:hover{color:unset;}

/*  */
b, strong {
    font-weight: 700;
}


.block-accordion-button:focus,.block-accordion-button.focus {
    box-shadow: none;
}


.timer {
    /*text-transform:uppercase;*/
    text-align:center;
    font-weight:bolder;
    font-size: 2em

}
.timer-time {
    display: inline-block;
    font-size: 16px;
    margin: 10px;
    position: relative;
    padding: 20px;
    min-width:160px
}
.timer-time span {
    font-size: 5em;

}

@media (max-width:767px) {
    .timer-time {
        font-size: 12px;
        margin:3px;
        padding: 10px;
        min-width:70px

    }
    .timer-time span {font-size: 2.5em;}
}

.autocomplete-emails {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0.25rem;
}

.autocomplete-emails div {
    color: #7a7a7a;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    box-sizing: border-box;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}


.autocomplete-emails div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}
