@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@700;900);
@import url(https://fonts.googleapis.com/css2?family=Comfortaa:wght@400);
@import url(https://fonts.googleapis.com/css2?family=Pacifico);

/*@font-face {
    font-family: 'Bebas Neue Cyrillic';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/BebasNeueCyrillic.ttf');
}
*/
:root {
    --color-info: #1BABDC;
    --color-danger: #dc1b48;
    --color-success: #35d057;
    --color-online: #03DD33;
    --color-frames: #dbdff0;
    --invert-to-red: invert(23%) sepia(85%) saturate(5383%) hue-rotate(336deg) brightness(88%) contrast(94%);
    --invert-to-white: brightness(150%);
    --color-primary: #A9BED1;
    --color-primary-light: #C2C8DE;
    --color-primary-dark: #7894AF;
    --color-text: #2A2F44;
    --color-text-secondary: #6e7388;
    --color-text-gray: #7894af;
    --color-text-cell: #a6a6a6;
    --color-text-cell-light: #c6c6c6;
    --color-accent: #DC1B48;
    --color-accent-light: #FF756D;
    --color-accent-dark: #DC1B48;
    --color-paper-card: #ffffff;
    --color-paper: #F5F6FC;
    --color-accent-cell: rgba(255, 111, 109, 0.095);
    --title-font: 'Roboto', sans-serif;
    --text-font: 'Comfortaa', sans-serif;
    --fancy-font: 'Pacifico', sans-serif;
}

html, body {
    overflow: hidden;
}


.main {
    -webkit-overflow-scrolling: touch;
}

* {
    -webkit-overflow-scrolling: touch;
}

.fixed-image-col {
    -ms-flex: 0 0 230px;
    flex: 0 0 230px;
}


.btnic {
    align-items: center;
    display: inline-block;
    font-size: 20px;
    margin-right: 20px;
    border-radius: 6px;
    width: 40px;
    vertical-align: middle;
    height: 40px;
    background-color: #e9a0d9ab;
    border: none;
    color: white;
    text-align: center;
    cursor: pointer;
}

    .btnic > i {
        margin-top: 8px;
    }

/* Container holding the image and the text */
.container-overlay {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.over-bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.over-top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.over-top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.over-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.over-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.julie {
    margin-top: 16px;
/*    margin-bottom: 16px;
*/    height: 380px;
}

.julieO {
    width: 330px;
}

.overlays {
    position: relative;
}

.overlay-text {
    margin: 8px;
    color: white;
}

.overlays > img, .overlay-text {
    position: absolute;
}

html, body {
    font-family: var( --text-font );
    font-size: 15px;
    /*    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
*/
    color: #2b2b2b;
}

body {
    min-height: calc(100vh);
    background: linear-gradient(180deg, #ffffff 0%, #e2dcfb 100%);
}

.fill-other {
    background: linear-gradient( 180deg, #ffffff 0%, #e2dcfb 100%);
    width: 100%;
    overflow: scroll;
    height: calc(100vh );
    overflow-y: scroll;
    position: relative;
}

.scroll-view {
    overflow: auto;
    height: calc(100vh);
    overflow-y: scroll;
    position: relative;
}

.main {
    position: relative;
}

.fill-black {
    min-height: calc(100vh);
    width: calc(100%);
    background-color: black;
}

.background-logo {
    min-height: calc(100vh);
    background-size: cover;
    background-position: center center;
    position: fixed;
    width: 100%;
}



h1, h2, h3, h4, .cell-title {
    font-family: var( --title-font );
}

.nav-login {
    font-weight: 900;
}

.nav-link {
    font-size: 14px;
    font-family: var( --fancy-font );
}

.logo-text {
    color: #ff3a9b !important;
    line-height: 16px;
    display: block;
    text-align: center;
    top: 28px;
    left: 55px;
    font-weight: 900 !important;
}

h1 {
    color: #cab5e6;
    font-family: var( --fancy-font );
    font-weight: 200;
}

h2, h3, h4 {
    color: #f3bee4;
}

h2 {
    font-size: 2.2em;
}

.btn-more {
    margin-left: auto;
    margin-right: auto;
    display: block;
}





.sidebar {
    background-image: linear-gradient(180deg, rgb(221 139 211) 0%, #ffc4e5 70%);
}

.page-header {
    display: flex;
    justify-content: space-between;
}

.btn-primary {
    color: #fff;
    background-color: #973a88;
    border-color: #702b65;
}

.btn-grad {
    background-image: linear-gradient(to right, rgb(255, 110, 127) 0%, rgb(191, 233, 255) 51%, rgb(255, 110, 127) 100%);
    transition: .5s;
    background-size: 200% auto;
    box-shadow: 0 0 20px #eee;
    display: block;
    outline: none;
    border-color: transparent;
}

.navbar-brand {
    height: 100%;
    padding: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.img-centered {
/*    height: 100%;*/
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    display: block;
}



.cells-grid {
    padding: 0px;
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(auto-fill, 150px);
    justify-content: center;
}

.cell {
    border-radius: 4px;
    height: 3rem;
    line-height: 3rem;
    background-color: rgba(255,255,255,0.25);
}

.cell-news {
    min-height: 150px;
}

.cell-main {
    min-height: 150px;
}

.cell-title {
    font-size: 17px;
    position: absolute;
    margin-left: 16px;
    margin-right: 16px;
    font-weight: bold;
    color: #edcae2;
}




.cell-desc {
    position: absolute;
    color: white;
    opacity: 0.95;
    width:140px;
    bottom: 16px;
    text-align: start;
    overflow-wrap: break-word;
    line-height: normal;
    margin-left: 16px;
    margin-right: 0px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
}

.banner-container {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    position: absolute;
}

.add-space {
    min-height: 16px;
}


.add-somespace {
    min-height: 8px;
}

.banner-image {
    filter: brightness(70%);
    width: 100%;
    height: 100%;
    background: #ffc4e5;
    border-radius: 6px;
    background-size: cover;
    background-position: center center;
}

#components-reconnect-modal {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    background-image: url('https://appomobi.ru/julie/files/splash/logoback.png');
    background-position: center;
    text-align: center;
    font-weight: bold;
    background-repeat: no-repeat;
    background-size: contain;
}

    #components-reconnect-modal.components-reconnect-show {
        display: block;
/*        position: absolute;
        top: 50%;
        left: 50%;*/
    }

    #components-reconnect-modal.components-reconnect-show div.reconnecting {
        display: block;
/*        position: absolute;
        top: 50%;
        left: 50%;*/
    }



#components-reconnect-modal.components-reconnect-failed {
    display: block;
/*    position: absolute;
    top: 50%;
    left: 50%;*/
}

    #components-reconnect-modal.components-reconnect-failed div.failedToConnect {
        display: block;
 
    }

div.reconnecting {
    transform: translate(0, 16px );
    width: 100%;
    display: none;
    margin-top: 16px;
    padding: 16px;
    color: white;
    position: fixed;
}

div.failedToConnect {
    transform: translate(0, 16px );
    width: 100%;
    display: none;
    margin-top: 16px;
    padding: 16px;
    color: white;
    position: fixed;
}

div.connectionRejected {
    transform: translate(0, 16px );
    display: none;
    margin-top: 16px;
    padding: 16px;
    color: white;
    position: fixed;
    width: 100%;
}

#components-reconnect-modal.components-reconnect-rejected {
    display: block;
 
}

    #components-reconnect-modal.components-reconnect-rejected div.connectionRejected {
        display: block;
 
    }



#components-reconnect-modal.components-reconnect-hide {
    display: none;
}


a, .btn-link {
    color: #ff3a9b;
    font-size: 12px;
}

    a:hover, a:active, .btn-link:hover {
        color: #973a88;
    }

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus,
.btn-primary.focus, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle,
.btn-primary:hover, btn-primary:active, btn-primary:focus {
    background-color: #ff3a9b;
    border-color: #973a88;
    transition: none;
    box-shadow: none;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.clickable {
    cursor: pointer;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*VIDEOS*/
.w-100 {
    object-fit: cover;
    margin-top: 16px;
    margin-bottom: 16px;
}

banner {
    position: relative;
}

.video-banner {
    position: absolute;
    background-size: cover;
    background-position: center center;
    max-height: 600px;
    margin: 1.5em auto;
    width: 9vh;
    height: 16vh;
    min-height: 350px;
    object-fit: contain;
}
 

.video-screen {
    aspect-ratio: 9/16;
    background-color: black;
    background-size: cover;
    background-position: center center;
    height: 600px;
    display: block;
    margin: 1.5em auto;
    max-width: 100%;
    min-height: 350px;
    object-fit: cover;
}


.video-screen:fullscreen {
    object-fit: contain;
}

.video-screen:-ms-fullscreen{
    object-fit: contain;
}

.video-screen:-moz-full-screen {
    object-fit: contain;
}

.video-screen:-webkit-full-screen {
    object-fit: contain;
}

/*SAFARI fix form small videos*/
video:-webkit-full-screen {
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.video-container:fullscreen, .video-container:-ms-fullscreen, .video-container:-moz-full-screen, .video-container:-webkit-full-screen {
    width: 100%;
    height: 100%;
}

.video-overlay {
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    /*    height: 50px;
    width: auto;*/
    transform: translate(-50%, -50%);
    color: white;
    opacity: .8;
    z-index: 1000;
}



@media (min-width: 641px) {

    .background-logo {
        background-size: contain;
        background-position-x: 64px;
        background-repeat: no-repeat;
    }
    
}


/*XAML*/
.xaml-element {
    position: relative;
}