﻿/*#region Datagrid */
/*#endregion*/


/*#region elite.js */


/* youtube-spelaren elite.js */
#Elite_video_player {
    position: relative;
    z-index: 500;
}

#elite_vp_overlayPoster {
    object-fit: cover;
    object-position: 100% 50%;
    height: 100%;
    width: 100%;
}

.fa-elite-playScreen.elite_vp_dark:before, .fa-elite-playScreen.elite_vp_light:before {
    border-radius: 50%;
}


#ContentPlaceHolder1_showPlayer {
    border: 2px solid transparent !important;
    border-radius: 3px;
}

#video_player {
    position: relative !important;
}

.elite_vp_thumbnail_imageSelected, .elite_vp_thumbnail_image, .elite_vp_skipAdCountImage {
    object-fit: contain;
    border-radius: 3px;
}

.elite_vp_itemRight {
    padding-left: 4px;
}

.elite_vp_title {
    color: rgb(204, 204, 204) !important
}

.elite_vp_logo img {
    max-height: 30px;
    position: relative;
    top: 5px;
}

.elite_vp_mainContainerx {
    width: calc(100% - 30px) !important;
}

.img-thumbnail img {
    object-fit: cover;
}

/*#endregion*/
/*#region filmspelaren */

/* hanterar youtube-filmen*/
.ytp-impression-link {
    visibility: hidden !important;
}

.break-long-text, .break-long-text p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.dialogsender {
    background-color: #658AC3;
    padding: 10px 15px 10px 15px;
    color: white;
    border-radius: 5px;
    line-height: 20px;
}

.dialogreciever {
    background-color: #f5f6f7;
    padding: 10px 15px 10px 15px;
    color: black;
    border-radius: 5px;
    line-height: 20px;
}

.dialogfirst {
    background-color: #f5f6f7;
    padding: 10px 15px 10px 15px;
    color: black;
    border-radius: 5px;
    line-height: 20px;
}

html.dark .dialogsender {
    background-color: #3e5880;
    color: #dcdfe2;
}

html.dark .dialogreciever {
    background-color: #2a2e33;
    color: #dcdfe2;
}

html.dark .dialogfirst {
    background-color: #262a2f;
    color: #9a9393;
}

/*#endregion*/



<!-- banner -->
.wp-block-image {
    margin-bottom: 1em;
}

figure {
    margin: 0 0 1rem;
}

.wp-block-image img {
    max-width: 100%;
}

.adsheader {
    font-size: 0.7em;
    position: relative;
    bottom: 3px;
    text-transform: uppercase;
}

.icon-settings {
    padding-top: 4px;
}

.notification-success {
    background: rgba(71,164,71,.95);
    color: rgba(255,255,255,.7);
}

.ui-pnotify-title {
    display: block;
    margin-bottom: .4em;
    margin-top: 0;
}

.ui-pnotify {
    left: 0px;
}

.ui-pnotify-icon {
    font-size: 6em;
}

.videocontent {
    color: white;
    font-size: 0.8vw;
    position: absolute;
    bottom: 20px;
    right: 10px;
    z-index: 2;
    background-color: black;
    border-radius: 15px;
    padding-left: 8px;
    padding-right: 8px;
}



.pd-news {
    background-color: black;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 3px;
}

html-dark .pd-news {
}

.jumbotron {
    max-width: 100%;
    height: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ny {
    font-size: 0.7em !important;
}

.rounded-2 {
    border-radius: 10px;
}

.btn-red {
    border: 1px solid #d91717;
    background-color: #d91717;
    color: white;
}

    .btn-red:hover {
        background-color: #f31f1f;
    }


.profile-avatar {
    background-color: #f6f6f6;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    height: 50px;
    width: 50px;
    display: table;
    border: 2px solid #fff;
}

.profile-avtatar-name {
    position: relative;
    top: -44px;
    left: 60px;
}



/* */


.preview-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#check {
    display: none;
}

#check:checked ~ .preview-text {
    display: block;
    overflow: unset;
}

#check:checked ~ label {
    visibility: hidden;
}

#check:checked ~ label:after {
    content: 'Visa mindre';
    display: block;
    visibility: visible;
}

label {
    margin-top: 10px;
    text-decoration: underline;
    font-weight: 600;
}

.reply-message {
    color: red;
}

.categories {
    background-color: rgb(247, 246, 245);
    padding: 5px 12px 5px 12px;
    border-radius: 25px;
    margin-right: 5px;
    font-size: 0.9em;
    font-weight: 600;
}

html.dark .categories, html.dark .categories a {
    background-color: #383f48;
    color: white;
    font-weight: 500;
}






/* share-knappen */
.click-share {
    position: relative;
    left: -5px;
    margin: 3px;
    padding: 8px;
    border-radius: 50%;
    color: #383f48;
    background-color: #f3f3f3;
    cursor: pointer;
}

.click-share:hover {
    background-color: #dad6d6;
}

html.dark .click-share:hover {
    background-color: black;
}

html.dark .click-share {
    color: white;
    background-color: #383f48;
}

.elite_vp_mainContainer,
.elite_vp_ytWrapper,
.elite_vp_ytWrapper iframe {
    border-radius: 10px;
    overflow: hidden;
}

.video-row, .video-row > img {
    cursor: pointer;
}

.video-meta {
    font-size: 0.8em;
    color: #7e7e7e;
}

.video-thumbnail {
    height: 125px;
    width: 100%;
    object-fit: cover;
    object-position: 100% 50%;
    border-radius: 10px;
}



/* dölj chatt-ikonen på denna sida */
.fb_dialog_mobile {
    visibility: hidden;
}

@media only screen and (max-height: 425px) {

    /* minska toppmenyn på mobilen */
    .header-container.container.container-xl {
        height: 0px !important;
        visibility: hidden;
    }
}
