﻿:root {
    --active-bg-color-brown: #E2932F;
    --active-bg-color-blue: #337DFF;
}

html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    min-height: 100%;
    /* Equal to height of footer */
    /* But also accounting for potential margin-bottom of last child */
    margin-bottom: -90px;
}

footer,
.push {
    height: 90px;
}

footer {
    border-top: 1px #f5f5f5 solid;
    padding-top: 15px;
    position: relative;
    margin-top: 20px;
}

body {
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

h1, h2, h3, h4, h5 {
    text-align: center;
}

aside {
    /*position:fixed;*/
    height: 100%;
}

textarea {
    max-width: 100%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

footer #boton-volver {
    position: absolute;
    left: 5px;
    top: 10px;
}

td .item-list {
    display: inline-block;
    background-color: #DDD;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 2px;
}

tr.dtrg-group {
    background-color: #CCC;
}

#scrollbutton {
    float: right;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 46px;
}

/*a[title]:hover:after {
     content: attr(title);
     padding: 4px 8px;
     position: absolute;
     left: 0;
     top: 100%;
     white-space: nowrap;
     z-index: -1;
     background:grey;
}*/

/*navbar menu*/
.navbar-nav > li > a.active {
    background-color: var(--active-bg-color-blue);
    color: white;
}

.nav-tabs.nav-justified > li > a {
    display: inline-block;
    width: 100%;
}

.box-shadow {
    box-shadow: 0.2rem .2rem rgba(56,56,56, .05);
}

.nav-scroller {
    position: relative;
    z-index: 2;
    overflow-y: hidden;
    margin-bottom: 30px;
}

    .nav-scroller .nav {
        display: inline;
        padding-bottom: 1rem;
        margin-top: -1px;
        color: rgba(255, 255, 255, .75);
        text-align: center;
    }

.nav-underline .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1.5rem;
    color: black;
}

.nav-element {
    margin: 1rem;
}

    .nav-element > button {
        background-color: dimgrey;
        color: white;
    }

.badge-danger {
    color: #fff;
    background-color: red;
    border-radius: .25rem;
    line-height: 1;
    position: absolute;
    margin-left: 0.75rem;
    top: 0.3rem;
}

.centered {
    text-align: center;
}

.rotate90 {
    transform: rotate(-90deg);
    transform-origin: top left;
    display: inline-block;
    margin-top: 500px;
    height: auto;
}

.nav.nav-pills li {
    padding: 0 2px;
}

.nav.nav-pills > li + li {
    margin-left: 0;
}

.nav.nav-pills li a.btn-primary:hover {
    background-color: #000;
}

.dialog-response {
    width: 60%;
    margin: 0 auto;
    padding: 2%;
    border: 1px groove black;
}
/* Change background color class btn which is active*/
.btn.active {
    background-color: var(--active-bg-color-brown) !important;
}

.observation {
    max-width: none;
}

/* Requiered field set character * in red placed closest to label field*/
label.required:after {
    content: " *";
    color: red;
    font-size: 1.3rem;
}

.containerHide {
    display: none;
}

.containerShow {
    display: block;
}

sup.reffootnote {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

.tab ul.nav.nav-pills {
    margin-bottom: 3px;
}

.nav-pills > li > a.pestania-tab {
    border: 1px #AAA solid;
    color: #e2932f;
}

table td.response {
    cursor: pointer;
}

table.tabla-registros a {
    text-decoration: none;
}

/*Questions in surveys*/
.question {
    font-family: Georgia;
    font-size: medium;
    line-height: 1.8 !important;
}


/*MENUS*/
.alert ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

.menu {
    padding: 0;
}

    .menu ~ ul.menu + li {
        text-align: center;
    }

    .menu > li button, .menu > li a {
        width: 100%;
        margin: 2px;
        padding: 5px;
        white-space: normal;
        word-wrap: normal;
        font-size: 14px;
    }


/*TABLES*/

#tableLegend {
    border: double;
    width: 30%;
}

#table caption {
    font-weight: bold;
}

thead th.thcolspan {
    background-color: #D3D3D3;
    border-left: double;
}

.table-technical-analysis-list a {
    text-decoration: none;
}

    .table-technical-analysis-list a.btn-block {
        font-size: 1.6rem;
    }

/*MODAL*/
.modal-title, .modal-subtitle {
    text-align: center;
    text-transform: uppercase;
}

.modal-header, .modal-footer {
    padding: 10px 15px;
}

.modal-content {
    background: #f5f5f5;
}

#mediumModal {
    margin: auto;
}

.analisis-legal-content {
    border-top: 1px #e2932f solid;
    border-bottom: 1px #e2932f solid;
    padding: 10px 0;
}

/*SNACKBAR*/

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 999999999;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


/*TABS*/
.tab {
    /*overflow: hidden;
    border: 1px solid #ccc;
    background-color: #5F747F;*/
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: 0.5px solid black;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        margin: 5px;
        font-size: 12px;
    }

.tablinks {
    color: white;
    zoom: 1;
    filter: alpha(opacity=45);
    opacity: 0.45;
}

    .tablinks.highlighted {
        background-color: #62678C;
        zoom: 1;
        filter: alpha(opacity=100);
        opacity: 1;
    }

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: var(--active-bg-color-brown);
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
}

/*TOOLTIP*/


.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        top: -5px;
        left: 110%;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 100%;
            margin-top: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent black transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

/* Análisis Legal Modal requestModal */
#requestModal .legal-analysis .tab .tab-content {
    background-color: #FFF;
    padding: 8px 16px;
}

#requestModal .legal-analysis .tab ul.nav > li > a {
    color: #e2932f;
}

#requestModal .legal-analysis .tab ul.nav > li.active > a {
    color: #FFF;
    background-color: #e2932f;
}


/**********************************************************************************************/
div.SumoSelect {
    width: 100%;
}
/**********************************************************************************************/
/********************************** Controls Task cards ***************************************/
.control-task-container {
    border: 2px #999 solid;
    padding: 5px 15px 15px 15px;
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 15px;
}

    .control-task-container.respuesta-si {
        border-color: #45ad39;
    }

    .control-task-container.respuesta-no {
        border-color: #c7254e;
    }

    .control-task-container.respuesta-no-aplica {
        border-color: skyblue;
    }

    .control-task-container span.show-his-notifications-rgpd,
    .control-task-container span.show-his-task-rgpd,
    .control-task-container span.send-manual-notification {
        cursor: pointer;
        font-size: 1.8rem;
    }
/******************************** FIN Controls Task cards *************************************/
    #techAnalysisSecurityMeasures {
        margin-bottom:15px;
        position:relative;
        padding-bottom:65px;
        border-bottom:1px #CCC solid;
    }
    button.save-ta-comments {
        position: absolute;
        bottom: 20px;
        left:0;
    }

@media (min-width: 768px) {
}

@media (min-width: 992px) {
    #techAnalysisSecurityMeasures {
        padding-bottom:20px;
    }
    button.save-ta-comments {
        position: absolute;
        bottom: 20px;
        left:auto;
    }
}

@media (min-width: 1200px) {
}
