

/* GENERAL */
/* Dropdown Button */
.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    /* Dropdown button on hover & focus */
    .dropbtn:hover, .dropbtn:focus {
        background-color: #3e8e41;
    }

/* The search field */
#myInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}

    /* The search field when it gets focus/clicked on */
    #myInput:focus {
        outline: 3px solid #ddd;
    }

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    border: 1px solid #ddd;
    z-index: 1;
    left:40.8%;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        /*padding: 12px 16px;*/
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            /*background-color: #f1f1f1*/
            color: var(--os-black) !important;
            background-color: var(--os-orange-blur-light) !important;

        }

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}


h4 {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.red-bold {
    color: red;
    font-weight: bold
}


.black-bold {
    color: black;
    font-weight: bold;
}

.sort-active-ascending {
    color: #AD0000;
    font-weight: bold;
}

    .sort-active-ascending:after {
        content: "\f10e";
        padding-left: 10px;
    }

.sort-active-descending {
    color: #FFFFFF;
    font-weight: bold;
}

    .sort-active-descending:after {
        content: "\f105";
        padding-left: 10px;
    }

.sort-inactive:after {
    content: "\f268";
    padding-left: 7px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    vertical-align: text-top;
}

a.sort-page-videos {
    color: var(--os-black) !important;
}

    a.sort-page-videos::after {
        color: var(--os-white);
    }

    a.sort-page-videos:hover {
        color: var(--os-white) !important;
        text-decoration: none !important;
    }


.form-fields-inline .form-control, .form-fields-inline.filter-live-search .bootstrap-select {
    width: 60% !important;
    float: right;
    text-align-last: left;
}

.form-fields-inline .form-phone-control {
    width: 30% !important;
    float: right;
    text-align-last: center;
}

.login {
    padding-left: 30%;
    padding-top: 3%;
}

.format-pre-wrap {
    white-space: pre-wrap;
}

.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/img/loaders/pageLoader.gif') 50% 50% no-repeat rgb(237,233,233);
    opacity: .8;
}


.btnScrollTopPage {
    display: none;
    width: 50px;
    height: 50px;
    background-color: var(--os-orange);
    color: var(--os-black) !important;
    border-radius: 50px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    color: white;
    border: none;
    font-size: 2.2em;
    text-decoration: none;
    line-height: 32px;
    z-index: 99;
}

    .btnScrollTopPage:hover {
        color: var(--os-white) !important;
        background-color: var(--os-orange-dark) !important;
    }

    .btnScrollTopPage:focus {
        outline: 0px auto #FFFFFF;
    }




/***********/

/* LAYOUT */
header .navbar-brand img {
    max-height: 50px;
}

.btn-layout-navigation {
    background-color: var(--os-orange);
    color: var(--os-black) !important;
    border: 0;
    /*border-bottom: 4px solid #798d8f;*/
    border-radius: .25em;
    color: #fff;
    display: inline-block;
    margin: 0 !important;
    padding: .5em .75em;
    position: relative;
    text-decoration: none;
}

    .btn-layout-navigation:hover {
        color: var(--os-white) !important;
        background-color: var(--os-orange-dark) !important;
    }

/***********/

/* LOGIN QUADIS */

.iframe-quadis-div {
    /*width: 100%;
    float: left;*/
    text-align: center;
}


#iframe-quadis {
    background: none transparent;
    border: 1px;
    width: 500px;
    height: 500px;
    /* margin-left: 27.5%;*/
}



/***********/

/* LLISTAT DE VÍDEOS */

.table-video-thumbnail.thumb-img {
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-videos {
    padding: 0rem 0.5rem;
    width: 100%;
}

.btn-outline-success {
    color: var(--os-orange);
    border-color: var(--os-orange);
}

    .btn-outline-success:hover, .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:focus {
        color: var(--os-white) !important;
        background-color: var(--os-orange-dark) !important;
        border-color: var(--os-orange-dark) !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

span.ion-levels, span.ion-information-circled {
    font-size: 2em;
}

.tit-btn-videos-left, .tit-btn-videos-right {
    margin: 12px 45px 0px 0px;
    float: right;
    font-weight: 600;
}

.tit-btn-videos-right {
    margin-right: 35px;
}

.calendar-videos {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding-top: 12px;
    text-align: center;
    color: #495057;
    background-color: white;
}

.table-hover tbody tr.table-row:hover {
    background-color: var(--os-orange-blur) !important;
}

.table-hover tbody tr.site-details__row:hover {
    background-color: var(--os-black) !important;
    color: var(--os-white) !important;
}

#picker {
    cursor: pointer;
}

.ranges > ul {
    display: -ms-grid;
    display: grid;
}

.block-result {
    color: var(--os-white) !important;
    background-color: var(--os-orange) !important;
    border-color: var(--os-orange) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 1px 9px;
    margin-left: 17px;
    border-radius: 4px;
    font-size: 80%;
    vertical-align: middle;
    font-weight: bold;
}

a[rel="external"] {
    background: none !important;
    padding-right: 0;
}

    a[rel="external"]:after {
        content: "\f220";
        font-family: Ionicons;
        padding-left: .4em;
        color: #999;
    }


/***********/
/* NOTIFICACIONS */
.activity-list li p {
    line-height: 1.2;
    margin: 0;
}

.activity-list .activity__output {
    display: table-cell;
    font-size: .95em;
}

.activity-list {
    margin-top: 0;
    overflow-y: auto;
    padding: 4px;
    font-size: .95em;
}

.ul.activity-list {
    margin-bottom: 0;
}

.activity-list li {
    background-color: #fff;
    border-collapse: separate;
    display: table;
    margin: 0 0 4px;
    padding: .5em 0em;
    width: 100%;
}

    .activity-list li:hover {
        background-color: var(--os-orange-blur);
    }

        .activity-list li:hover:last-child {
            background-color: #FFFFFF;
        }

.activity-list .activity-icon {
    display: table-cell;
    height: 100%;
    padding-right: 1.1em;
    vertical-align: middle;
    width: 36px;
}

.activity-list .activity__icon-badge {
    background-color: #fff;
    border: 2px solid #efefef;
    border-radius: 50%;
    display: table;
    height: 36px;
    text-align: center;
    width: 36px;
    padding: 5px;
}

.activity-list .text__meta {
    color: #7f8c8d;
    font-size: .85em;
}

.activity-list .no-padding {
    padding: 0 !important;
}

.activity-list .module:after {
    content: " ";
    display: table;
}

.activity-list .notice {
    -webkit-transition: height 1s;
    -o-transition: height 1s;
    transition: height 1s;
    background-color: var(--os-white);
    border: 2px solid var(--os-orange-dark);
    border-radius: .25em;
    color: var(--os-black);
    font-weight: bold;
}

.activity-list .module {
    display: block;
    padding: 1em;
}

.activity-list .pull-right {
    float: right !important;
}

.activity-list .module a {
    color: var(--os-orange);
    text-decoration: none;
    font-size: 30px;
    margin-top: -10px;
}

    .activity-list .module a:hover {
        color: var(--os-black) !important;
        font-weight: bold !important;
    }

span[data-notify="icon"] .ion-information-circled {
    font-size: 1.5em;
}

span[data-notify="message"] {
    padding-left: 32px;
}



/***********/

/* DETALLS DELS VÍDEOS */

.list-videos {
    padding: 0em;
    margin: 0em;
}

    .list-videos th a {
        padding: 0em;
    }

a.nom-video {
    color: var(--os-orange);
}

    a.nom-video:hover {
        color: var(--os-orange-dark) !important;
        font-weight: bold;
    }

.nav--secondary a {
    background-color: var(--os-orange);
    color: var(--os-black);
    border: 2px solid white
}

    .nav--secondary a:hover {
        background-color: var(--os-orange-dark) !important;
        color: var(--os-white) !important;
    }

.nav a, a {
    border-radius: .25em;
    display: inline-block;
    /*padding: .6em .6em;*/
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    margin: .15em 0;
}

    a:hover {
        text-decoration: none !important;
        color: var(--os-white) !important;
    }

.nav {
    margin: .75em 0;
    background-color: var(--os-orange);
    padding: 10px;
}

section, nav, article, aside, hgroup, header, footer, main, img, figure, figcaption, details, menu {
    display: block;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

nav ul {
    font-size: 1em;
    line-height: 1.5;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li, li {
    display: inline;
    margin: 0 2px;
}

#btnEditDetailsBasics {
    padding: 0em 0em;
}

.text-danger {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}

.full-width {
    width: 100% !important;
}

.table {
    font-size: .95em;
}

.details-page-spacer {
    margin-bottom: 1.75em;
}

.table thead th {
    border-bottom: none !important;
}

.table th, .table tfoot td {
    background-color: var(--os-orange);
    color: var(--os-black);
}

.table .table-col-width-150px {
    width: 150px;
}

.table .table-col-width-250px {
    width: 250px;
}

.table td, .table th {
    padding: .65em;
    border-top: none;
}

tr.odd {
    background-color: var(--os-grey-light);
}

tr.even {
    background-color: var(--os-grey);
}

tr.views-pag:nth-of-type(2n+1), tr.send-mail:nth-of-type(2n+1) {
    background-color: var(--os-grey);
}

tr.views-pag:nth-of-type(2n), tr.send-mail:nth-of-type(2n) {
    background-color: #BCE0FD;
}

.text-center {
    text-align: center !important;
}

.text__title {
    font-weight: bold;
}

.text__title_user {
    font-weight: bold;
    color: var(--os-orange);
}


.table__title, .table tfoot td {
    font-weight: bold;
}


.table .table__meta {
    color: #7f8c8d;
    font-size: .85em;
}

.site-details__row {
    background-color: var(--os-black);
    color: var(--os-white);
    font-weight: bold;
}

    .site-details__row .table__meta {
        color: var(--os-white) !important;
        font-weight: normal;
    }

.vertical-align-middle {
    vertical-align: middle !important;
}

[class*="block-label"] {
    background: #27ae60;
    border-radius: .3em;
    color: #fff;
    display: inline-block;
    font-size: 75%;
    line-height: 1.1;
    padding: .3em .6em;
    white-space: nowrap;
    vertical-align: middle;
}

#moreActivityListItems {
    color: #2699FB;
    background-color: #BCE0FD;
}

    #moreActivityListItems:before {
        content: "\f21c";
        padding-right: 5px;
    }

a#moreActivityListItems:hover {
    color: #DEF0FF !important;
    background-color: #2699FB !important;
}

.link-mail {
    color: var(--os-orange);
    padding: 0px;
}

a.link-mail:hover {
    color: var(--os-orange-dark) !important;
    font-weight: bold;
}

input.url-landing {
    /*width: 214.5px;*/
    width: 500.5px;
}

.nav--header {
    margin: .75em 0;
    background-color: var(--os-orange);
    padding: 10px;
}

.nav--primary a {
    background-color: var(--os-orange);
    color: var(--os-black);
    padding: 5px 15px;
    border: 2px solid white;
}

    .nav--primary a:hover {
        color: var(--os-white) !important;
        background-color: var(--os-orange-dark) !important;
    }

.pull-right--large {
    float: right !important;
}

.color-warning {
    color: #f37d2e;
}

.ion-alert-circled:before {
    content: "\f100";
}

a#btnEditDetailsBasics {
    color: var(--os-orange);
}

    a#btnEditDetailsBasics:hover {
        color: var(--os-orange-dark) !important;
        font-size: 16px;
        font-weight: bold;
    }

div.dataTables_paginate {
    float: left !important;
    margin: 0;
}

#tableDetailsEmailsSent .notice, #tableDetailsPageVisits .notice {
    background-color: var(--os-white);
    border: 2px solid var(--os-orange-dark);
    border-radius: .25em;
    display: block;
    padding: 1em;
    font-style: normal;
    color: var(--os-black);
    font-weight: bold;
}


#modalEditDetailsBasics #DetailsBasicsEditable_Description {
    margin-bottom: 0px;
}

#modalEditDetailsBasics span.txt_form {
    font-size: 12px;
    color: black;
    font-weight: bold;
}


#detailsAdditionalImagesDiv a:hover {
    opacity: 1;
    /*background-color: rgba(255, 164, 0, 0.20);*/
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.details-basics .edit-details-icon {
    margin: -10px 0px -10px 10px;
    color: var(--os-white);
    font-size: 20px;
}

    .details-basics .edit-details-icon:hover {
        color: var(--os-black) !important;
    }



/***********************/
/* CHIP SEARCH */
.md-chip {
    display: inline-block;
    /* background: #e0e0e0;*/
    background: var(--os-black);
    color: var(--os-white);
    padding: 0 12px;
    border-radius: 32px;
    font-size: 13px;
    font-family: "Roboto", sans-serif;
}

.md-chip, .md-chip-icon {
    height: 32px;
    line-height: 32px;
    margin-bottom: 15px;
}

.md-chip-remove {
    display: inline-block;
    background: var(--os-orange);
    border: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    padding: 0;
    margin: 0 -4px 0 4px;
    cursor: pointer;
    font: inherit;
    line-height: 20px;
}

    .md-chip-remove:after {
        color: var(--os-black);
        content: 'x';
    }

    .md-chip-remove:hover, .md-chip-remove:active {
        background: var(--os-orange-dark);
        color: var(--os-white);
    }

        .md-chip-remove:hover:after, .md-chip-remove:active:after {
            color: var(--os-white) !important;
        }


.breadcrumb-nav {
    border: 0 none;
    color: #ccc;
    font-size: .85em;
    line-height: 1.3334;
    margin-top: 0;
}

.nav, [class$="nav"] {
    margin: .75em 0;
}



/***************/

/* MINIATURA DEL VÍDEOS */

.play-icon {
    position: absolute;
    z-index: 2;
    width: 100px;
    height: 100px;
    background-image: url("/img/icons/play-icon.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0.9;
}

.video-container, .video-container-landing {
    display: inline-block;
    width: calc(100% - 6px);
    position: relative;
    border: 1px solid #000;
    -webkit-box-shadow: 0.25em 0.25em 0.25em rgba( 0, 0, 0, 0.3 );
    box-shadow: 0.25em 0.25em 0.25em rgba( 0, 0, 0, 0.3 );
    font-size: 0;
    overflow: hidden;
}

    .video-container video {
        display: block;
        width: 100%;
        max-width: 560px;
        height: auto;
        max-height: 315px;
    }

    .video-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 560px;
        height: auto;
        max-height: 315px;
        -o-object-fit: cover;
        object-fit: cover;
        cursor: pointer;
    }

    .video-container-landing video {
        display: block;
        max-width: 720px;
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .video-container-landing img {
        position: absolute;
        top: 0;
        left: 0;
        width: 720px;
        height: 400px;
        cursor: pointer;
    }

@media ( max-width: 720px) {
    .video-container, .video-container-landing {
        display: block;
        width: 100%;
        margin-bottom: 0.5em;
    }
}

/************************/
/* LANDING */
body.landing {
    background: #000000;
    color: #FFFFFF;
}

    body.landing .logo-brand {
        margin-top: 30px;
        /*width: 300px;*/
        /*border-right: 2px solid #FFFFFF;*/
        padding-right: 40px;
        /*max-width: 104px;
        max-height: 64px;*/
    }

    body.landing .logo-dealer {
        margin-top: 30px;
        /*width: 300px;*/
        border-right: 2px solid #FFFFFF;
        padding-right: 40px;
        /*max-width: 200px;*/
        max-height: 35px !important
    }

    body.landing .card-header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    body.landing .card-header img {
        border-right: none !important;
        max-width: 100%;
        width: auto;
        max-height: 100%;
        height: auto;
        display: inline-block;
        /* border: 1px solid red !important; */
        padding: 0;
        margin: 10px 10px;
    }

    body.landing .video-container-landing video {
        display: block;
        width: 100%;
        height: auto;
        max-width: 720px;
        max-height: 400px;
    }


    body.landing .video-container-landing img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        cursor: pointer;
        max-width: 720px;
        -o-object-fit: cover;
        object-fit: cover;
        height: 100%;
        max-height: 400px;
    }



@media (min-width: 700px) {

    body.landing .card-header {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}


.card-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

body.landing .space_tit {
    height: 30px;
}

body.landing .top_content {
    float: left;
    /*margin-left: 30px;*/
}

body.landing .tit_landing {
    font-weight: bold;
    font-size: 20px;
}

body.landing .txt_landing {
    font-size: 15px;
}

body.landing .video {
    width: 100%;
    max-width: 720px;
    max-height: 400px;
    margin: 50px auto 50px auto;
    padding: 0;
}

body.landing .desc_landing {
    font-size: 13px;
    border-bottom: none !important;
    padding-bottom: 20px;
}

body.landing .presentador {
    font-weight: bold;
    font-size: 14px;
    border-top: 1px solid #fff;
    padding-top: 7px;
}

body.landing a {
    color: #26567C;
}

    body.landing a:hover {
        color: #AD0000 !important;
    }

body.landing .form_landing {
    background: #181818;
    padding: 20px;
    margin-top: 50px;
}

body.landing .tit_form {
    font-weight: bold;
    font-size: 16px;
}

body.landing .star {
    color: #AD0000;
}

body.landing input[type=text], body.landing input[type=tel], body.landing input[type=email], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: vertical;
    margin-bottom: 20px;
}

body.landing input[type=button], body.landing input[type=submit] {
    background-color: #26567C;
    border: 1px solid #26567C;
    color: #FFFFFF;
    padding: 15px 18px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bold;
}

    body.landing input[type=button]:hover, body.landing input[type=submit]:hover {
        background-color: #FFFFFF;
        color: #26567C;
    }

body.landing footer {
    margin-top: 70px;
}

body.landing .ion-email {
    font-size: 40px;
    color: #181818;
}

body.landing .opinion {
    background: #FFFFFF;
    padding: 50px;
    color: #000000;
}

    body.landing .opinion .ion-android-star-outline, body.landing .opinion .ion-android-star {
        font-size: 30px;
        cursor: pointer;
    }

    body.landing .opinion .txt_form {
        float: right;
    }

body.landing .estrelles {
    text-align: center;
}

    body.landing .estrelles ul {
        list-style: none;
    }

    body.landing .estrelles > ul > li {
        display: inline-block;
    }

@media (min-width: 360px) and (max-width: 767px) {
    body.landing .logo-brand {
        padding-right: 0px;
        border-right: none;
        width: 100%;
    }

    body.landing .space_tit {
        height: 20px;
    }

    body.landing .video {
        margin: 30px auto 30px auto;
    }

    body.landing .video-container video, body.landing .video-container-landing video {
        width: 100%;
        height: auto;
    }

    body.landing .video-container img {
        width: 100%;
        height: auto;
    }

    body.landing .dades {
        text-align: center;
    }

    body.landing footer {
        margin-top: 20px;
    }
}



/***********************/

/* ERRORES */

#error404 a, #error500 a {
    color: var(--os-black);
    background: var(--os-orange);
    padding: 18px;
    text-decoration: none;
}

    #error404 a:hover, #error500 a:hover {
        color: #FFFFFF;
        background-color: var(--os-orange-dark);
    }

#error404 .tittle-error, #error500 .tittle-error {
    margin-top: 30px;
}

#error404 .message-error, #error500 .message-error {
    margin-top: 30px;
    margin-bottom: 30px;
}

.error404-landing {
    margin-top: 100px !important;
}



/***********************/

/* CAMBIO CENTRO */

.list-centers .bootstrap-select .dropdown-header {
    color: #000000;
    font-weight: bold;
}

.list-centers .bootstrap-select .text-muted {
    display: none !important
}

.list-centers .bootstrap-select a.dropdown-item:hover {
    color: var(--os-black) !important;
    background-color: var(--os-orange-blur-light) !important;
}

/************************/
/* MENU DE CENTROS */
/* BUG-FIX-MENU-CARS-CENTERS-REMOVE-ADDRESS */
.list-centers .dropdown-menu ul li {
    margin-right: 0px;
    margin-left: 0px;
}

/***********************/

/* PREFERENCIAS DE USUARIO */

.user-preferences-content .card-box {
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 30px;
    background-color: #fff;
}

.user-preferences-content .thumb-lg {
    height: 88px;
    width: 88px;
}

.user-preferences-content h4 {
    line-height: 22px;
    font-size: 18px;
}

.user-preferences-content .text-muted {
    color: #98a6ad !important;
}



/***********************/

/* FILTRO DE VIDEOS CON BUSQUEDA */

.filter-live-search .btn-light {
    background-color: white;
    border: 1px solid #ced4da;
}

.filter-live-search .filter-option-inner-inner {
    color: #495057;
}

.filter-live-search .bootstrap-select a.dropdown-item:hover {
    color: var(--os-black) !important;
    background-color: var(--os-orange-blur-light) !important;
}
