/* ==== ===== ===== ===== ===== ===== ===== ===== ===== =====
    RATEANDGRADE

    NOTA: App Corporate estÃ¡ motanda sobre Bootstrap v3.3.7
        - bootstrap v.4.x cambia breakpoints | Media queries
   ==== ===== ===== ===== ===== ===== ===== ===== ===== ===== */

/* ************************************************************* */
/* PENDIENTE FONT-SIZE inicial por breakpoint + resto font-size: Xem */
/* ************************************************************* */

/* ************************************************************* */
/* CAMBIOS EN DEFAULT STYLES */
/* ************************************************************* */

div.nombre-thisandthat {
    padding: 6% 0 7%;
    margin-bottom: 0;
    height: 60px;
    display: table;
}

h4.nombre-opcion {
    width: 70%;
    margin: 0 auto;
    line-height: 1.2em;
}
/* ************************************************************* */
/*  INICIO: width breakpoints | Media queries - Bootstrap v3.3.7 */
/* ************************************************************* */

/*  xs - Extra small devices (phones, less than 768px) */
/*  No media query since this is the default in Bootstrap */
@media (max-width: 767px) {

    body, #main, .wrap, .container, .site-valoracion, div.tab-content, div.tab-pane, .flex-panels-static {
        /* height:auto; */
        overflow: scroll;
        /* vertical-align: middle; */
        /* display: -webkit-inline-box; */
    }

    .container-fluid {
        padding-left: 5px;
    }

    .footer {
        position: fixed;
    }

    .row.flex-panels-static > .col-xs-12 {
        padding-right: 0px;
        padding-left: 0px;
    }

    .scroll-empleados {
        height: auto;
        padding: 0 5px 20px;
    }

    .scroll-empleados .empleado.col-xs-6 {
        padding-right: 5px;
        padding-left: 5px;
    }

    div.imagen-empleado.img-circle {
        width: 180px;
        height: 180px;
    }

    .empleado.col-xs-6 h4.nombre-empleado {
        font-size: 0.95em;
        letter-spacing: -0.04em;
    }

    div.pregunta-empleado {
        padding: 10px 10px;
    }

    .rating-md {
        font-size: 2.13em;
    }

    .rating-container .star {
        margin: 0px 6px;
    }

    .boton-volver-camarero, .boton-volver-tab-camarero {
        /* display: grid; */
        /* line-height: 39px; */
        font-size: 0.9em;
    }

    span#texto-volver-camarero {
        margin-left: 0px; 
    }

    i#volver-camarero {
        font-size: 26px;
    }

    /*
   *   2017/10/30 - Rateandgrade - NGP
   *   > Arreglo visualización combos en informes
   */

    /* Combo MODALIDAD */
    .informes .site-informes .div-jerarquia div:nth-child(2) {
        /* display: none; */
        width: 230px;
        padding: 0 5px;
    }

    .tam-modalidad {
        width: 220px;
        margin: 0 auto;
    }

    /* Combo PREGUNTA */
    .informes .site-informes .div-jerarquia div:nth-child(3) {
        padding: 0 5px;
    }

    .tam-pregunta {
        width: 220px;
        margin: 0 auto;
    }

    /*
      *   2017/10/30 - Rateandgrade - NGP
      *   > Ajustes visualización informes
      */
    .wrap > .container.informes {
        width: 100%;
    }

    .informes .scroll-informes {
         max-height: 93%;
         min-height: 93%;
         padding: 0 0 80px;
     }

    .informes .scroll-informes1 {
        padding: 0 0 80px;
    }

    .informes .panel-busqueda {
        margin: 0 !important;
        padding: 0;
    }

    .informes h3.titulo-busqueda {
        font-size: 1.25em;
        letter-spacing: -0.05em;
        padding: 0 30px;
    }

    .informes .panel.panel-busqueda p {
        padding: 0 30px;
    }

    .informes .panel.panel-busqueda p b {
        font-weight: normal;
        font-size: 0.95em;
        letter-spacing: -0.05em;
    }

    .informes .select2-container--krajee .select2-selection--single {
        height: 32px;
        /* line-height: 1.428571429; */
    }

    .informes .select2-container--krajee .select2-selection {
        font-size: 12px;
    }


    .informes .select2-container--krajee .select2-selection__clear {
        font-size: 1.5em;
        line-height: 0.9em;
    }

    .informes button.btn.btn-default.btn-activar-busqueda {
        height: 32px;
        font-size: 12px;
    }

    .informes .form-control {
        height: 30px;
        font-size: 12px;
        line-height: 1em;
    }

    .informes button#btn-mostrar-informe {
        margin: 20px auto;
        /* padding: 0 10px; */
    }

    .informes div.leyenda {
        z-index: 2;
    }

    /*Slider*/
    img.sliderImg {
        margin: 15px;
        width: 60px;
    }

    .ui-slider{
        margin-bottom: 5px;
    }

}

/*  sm - Small devices (tablets, 768px and up) */
/* @media (min-width: @screen-sm-min) { */
@media (min-width: 768px) {
    body, #main, .wrap, .container, .site-valoracion, div.tab-content, div.tab-pane, .flex-panels-static {
        height:100%;
        overflow: hidden;
    }

    .footer {
        position: fixed;
    }

    .wrap > .container {
        width: 90%;
    }

    div.grupo-imagen.img-circle {
        padding-top: 85%;
        width: 88%;
    }
}

/* md - Medium devices (desktops, 992px and up) */
/* @media (min-width: @screen-md-min) { */
@media (min-width: 992px) {
    .wrap > .container {
        width: 80%;
    }
}

/* lg - Large devices (large desktops, 1200px and up) */
/* @media (min-width: @screen-lg-min) { */
@media (min-width: 1200px) {
    .wrap > .container {
        width: 85%;
        max-width: 1440px;
    }

    .col-lg-3 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .col-lg-3 h4.nombre-empleado {
        font-size: 1em;
    }

    div.grupo-imagen.img-circle {
        padding-top: 77%;
        width: 80%;
        /* width: 200px; */
        /* height: 200px; */
    }

    div.panel.thisandthat div.grupo-imagen.img-circle {
        padding-top: 67%;
        width: 69.5%;
        margin: 4px auto;
        /* width: 200px; */
        /* height: 200px; */
    }

    div.panel.thisandthat div.opcion.col-lg-4 div.grupo-imagen.img-circle {
        padding-top: 58%; /* padding-top: 67%; */
        width: 60.5%; /* widht */
        margin: 4px auto;
        /* width: 200px; */
        /* height: 200px; */
    }


}


/* > FULL HD. 4k */
@media (min-width: 1920px) {
    .wrap > .container {
        width: 85%;
        max-width: 1600px;
    }
}

/* ************************************************************* */
/*  RATENANDGRADE: width breakpoints especificos                 */
/*  xs - Extra small devices (phones, less than 768px)           */
/* ************************************************************* */

@media screen and (min-width: 320px) and (max-width: 359px) {
}

@media screen and (min-width: 360px) and (max-width: 479px) {
    div.grupo-imagen.img-circle {
        padding-top: 80%;
        width: 83%; 
    }
}

@media screen and (max-width: 479px) {
 
    .wrap > .container {
        width: 100%;
        height: 100%;
    }

    .panel-central {
        margin:0;
        padding: 0 4px;
    }

    div#rememberMe, div#recordar-password {
        width: 100%;
        float: none;
    }

    .modal-body.forgotten-password .validate-error {
        font-size: 12px;
    }

    .modal-body.forgotten-password h3 {
        font-size: 18px;
    }

    div.rating {
        margin-top: 6px;
    }

    div.grupo-pregunta {
        padding: 20px 10px;
        margin-bottom: 1px;
    }

    h4.titulo-encuesta {
        font-size: 1.45em;
    }

    div.pregunta-empleado {
        padding: 10px 0;
    }

    h3.titulo-empleados {
        margin-top: 10px;
        margin-bottom: 0px;
        font-size: 20px;
        letter-spacing: -0.0525em;
        line-height: 1.25em;
    }

    div.grupo-imagen.img-circle {
        padding-top: 71%;
        width: 72.5%;
    }

    .footer {
        position: initial;
    }

}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .wrap > .container {
        width: 90%;
    }

    div.grupo-imagen.img-circle {
        padding-top: 80%;
        width: 83%;
    }
}



/* ************************************************************* */
/*  RATENANDGRADE: width breakpoints especificos                 */
/*  sm - Small devices (tablets, 768px and up)                   */
/* ************************************************************* */
@media screen and (min-width: 768px) and (max-width: 961px) {
    div.grupo-imagen.img-circle {
        padding-top: 97%;
        width: 100%;
    }
}

@media screen and (min-width: 962px) and (max-width: 991px) {

    .col-sm-3 {
        padding-left: 10px;
        padding-right: 10px;
    }

    div.grupo-imagen.img-circle {
        padding-top: 87%;
        width: 90%;
    }

    div.imagen-empleado.img-circle {
        width: 200px;
        height: 200px;
        margin: 20px auto 0px;
    }

    h4.nombre-empleado {
        font-size: 1em;
    }

    h3#nombre_empleado {
        margin: 15px auto;
    }

    /*

.flex-panels {
    display: flex !important;
}

.flex-panels .col-sm-12:nth-child(1) {
    width: 58%;
}

.flex-panels .col-sm-12:nth-child(2) {
    width: 42%;
}
*/
}



/* ************************************************************* */
/*  RATENANDGRADE: height breakpoints especificos                 */
/*  xs - Extra small devices (phones, less than 768px)           */
/* ************************************************************* */


/* ************************************************************* */
/*  RATENANDGRADE: height breakpoints especificos                 */
/*  sm - Small devices (tablets, 768px and up)                   */
/*  md - Medium devices (desktops, 992px and up) */
/*  lg - Large devices (large desktops, 1200px and up) */
/* ************************************************************* */
@media screen and (min-height: 433px) and (max-height: 532px) and (min-width: 768px) {
    .boton-navegacion {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    img#logo-navbar.pull-right {
        margin-top: 0;
        /* max-height: 34px; */
    }

    .navbar {
        min-height: 40px;
    }

    .wrap > .container {
        padding: 38px 0 0;
    }

    h3.titulo-empleados {
        margin-top: 30px;
        margin-bottom: 2px;
        font-size: 22px;
    }
    div.linea.thisandthat {
        padding-bottom: 0px !important;
        display: none;
    }

    div.grupo-imagen.img-circle {
        margin: 2px auto;
    }
}

@media screen and (min-height: 533px) and (max-height: 599px) and (min-width: 768px) {
    .scroll-empleados {
        height: 220px;
    }

    div.grupo-imagen.img-circle {
        margin: 3px auto;
    }
}

@media screen and (min-height: 533px) and (max-height: 599px) and (min-width: 768px) {
    .scroll-empleados {
        height: 220px;
    }

    div.grupo-imagen.img-circle {
        margin: 4px auto;
    }
}

@media screen and (max-height: 599px) and (min-width: 768px) {
    h4.nombre-opcion {
        font-size: 1em;
    }
}

@media screen and (max-height: 720px) and (max-width: 479px) {
    .scroll-empleados {
        height: 270px !important;
        overflow-y: scroll;
    }

    .row.thisandthat {
        height: 260px !important;
        overflow-y: scroll;
    }

    .linea {
        display: none;
    }

    .boton-enviar-opinion {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media screen and (min-height: 600px) and (max-height: 720px) and (min-width: 768px) {
    .scroll-empleados {
        height: 290px;
    }

    div.empleado-seleccionado {
        /* padding-top: 10px; */
    }

    div.imagen-empleado.img-circle {
        /* width: 220px; */
        /* height: 220px; */
        /* margin: 10px auto; */
    }

    div.pregunta-empleado {
        padding-bottom: 10px;
    }

    div.grupo-imagen.img-circle {
        margin: 5px auto;
    }
}

@media screen and (min-height: 720px) and (min-width: 768px) {
    .scroll-empleados {
        height: 445px;
    }
}

/* > FULL HD. 4k */
@media (min-height: 1020px) {
    .scroll-empleados {
        height: 685px;
    }
}

/* ************************************************************* */
/* FIN RATENANDGRADE                                             */
/* ************************************************************* */


/*LOGIN*/
@media (max-width : 399px) {
    div#rememberMe {
        /* width: 100%; */
    }
    div#rememberMe > div {
        display: table;
        margin: 0 auto;
        width: 100%;
    }

    div#recordar-password {
        /* width: 100%; */
    }
    div#recordar-password a {
        /* float: none; */
        /* display: table; */
        /* margin: 0 auto; */
    }

    .rating-container .star > img {
        width: 50px;
    }
}

@media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
    div#rememberMe {
        /* width: 100%; */
    }
    div#rememberMe > div {
        /* display: table; */
        /* margin: 0 auto; */
    }

    div#recordar-password {
        /* width: 100%; */
    }
    div#recordar-password a {
        float: none;
        display: table;
        margin: 0 auto;
    }
}

@media (max-width : 399px) {
    .modal-mail-password, .modal-mail-add-pass {
        width: 70px;
    }

    .icono-modal-password, .icono-modal-error {
        font-size: 50px;
    }
}

@media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
    .modal-mail-password, .modal-mail-add-pass {
        width: 70px;
    }

    .icono-modal-password, .icono-modal-error {
        font-size: 50px;
    }
}
/*LOGIN*/

/*VALORACION*/

/*Orientacion*/
@media ( orientation: portrait ) and ( max-width: 991px ) and ( min-width: 550px ),
( orientation: landscape ) and ( max-width: 991px ) {
    .panel-izquierda {
        margin: 2% 4%;
    }
    .panel-derecha {
        margin: 2% 4% !important;
    }
    .panel-central {
        /* margin: 2% 5% !important; */
    }
    .panel-gracias {
        margin: 2% 5%;
    }
}

@media ( orientation: portrait ) and ( max-width: 550px ) {
    .panel-izquierda {
        margin: 2% 0%;
    }
    .panel-derecha {
        margin: 2% 0% 15% !important;
    }
    .panel-central {
        /* margin: 2% 0% !important; */
    }
    .panel-gracias {
        margin: 2% 0;
    }

    .rating-container .star > img {
        width: 55px;
        /*width: 6.3vh;*/
    }
}

/*Orientacion*/

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { /* COL LG */
    .panel-izquierda {
        margin-left: 10%;
    }

    .panel-derecha {
        margin-right: 10%;
    }

    /*    .grupo-imagen.img-circle {
            height: 221px;
        }*/

    /*    .select2-results {
            font-size: 1.2vw;
        }*/

}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 1199px) { /* COL MD */
    .scroll-empleados {
        /* height: 400px; */
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { /* COL MD */
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 991px), (max-height: 674px) { /* COL MD */
    /*    .tab-pane.fade.in.active {
            display: inline-block;
        }*/
    .flex-panels {
        display: block;
    }
}

@media ( orientation: landscape ) and ( max-width: 991px ) {
    .flex-panels-static {
        /* align-items: stretch; */
    }
    .scroll-empleados {
        /* height: 100%; */
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { /* COL SM */
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 549px) { /* COL XS */
    .rating-container .star >img {
        width: 50px;
        /*width: 6.3vh;*/
    }
    .flex-panels-static {
        /* align-items: stretch; */
    }
    .scroll-empleados {
        /* height: 503px; */
    }
}

@media (max-width: 479px) { /* COL XS */
    .scroll-empleados, .row.thisandthat {
        height: 380px;
        overflow-y: scroll;
    }
    .panel-central, .panel-gracias {
        margin: 2% 2% !important;
    }
}

@media (max-width: 430px) { /* COL XS */
    .rating-container .star >img {
        width: 40px;
        /*width: 6.3vh;*/
    }
}

@media (max-width: 375px) { /* COL XS */
    .scroll-empleados {
        /* height: 357px; */
    }
}

@media (max-width: 360px) { /* COL XS */
    .scroll-empleados {
        /* height: 328px; */
    }
}

@media (max-width: 340px) { /* COL XS */
    div.grupo-pregunta {
        padding: 20px 10px;
    }
    h3.pregunta {
        font-size: 20px;
    }
    .rating-container .star >img {
        width: 30px;
        /*width: 6.3vh;*/
    }

    .scroll-empleados {
        /* height: 222px; */
        /* height: auto; */
    }
}
















/*@media (max-width : 991px ) and (orientation:portrait), (max-height : 674px ) and (orientation:landscape) {
    .panel-izquierda {
        margin: 15px 40px;
    }

    .panel-derecha {
        margin: 15px 40px;
    }
}

@media (max-width : 991px ), (max-height: 674px) {
    .tab-pane.fade.in.active {
        display: inline-block;
    }
    .flex-panels {
        display: inline-block;
    }
}

@media (min-width : 1200px )  {
    .panel-izquierda {
        margin-left: 10%;
    }

    .panel-derecha {
        margin-right: 10%;
    }
}*/
/*VALORACION*/








/*INFORMES*/
@media (min-width: 1200px) { /* COL LG */
    .linea-vertical {
        border-left: 1px solid #b1b1b1 !important;
    }
    .lineas-verticales {
        border-right: 1px solid #b1b1b1;
        border-left: 1px solid #b1b1b1;
    }
}

@media (min-width: 992px) { /* COL MD */
    .linea-vertical {
        border-left: 1px solid #b1b1b1 !important;
    }
    .lineas-verticales {
        border-right: 1px solid #b1b1b1 !important;
        border-left: 1px solid #b1b1b1 !important;
    }
}

@media (min-width: 778px) { /* COL SM */
    .linea-vertical {
        border-left: 1px solid #b1b1b1 !important;
    }
    .lineas-verticales {
        border-left: 1px solid #b1b1b1 !important;
    }
}
/*INFORMES*/

/*ALINEACIÓN VERTICAL MIDDLE */

.flex-panels, .flex-panels-static {
    vertical-align: middle;
    display: flex;
}

@media (max-width: 767px) {
    body, #main, .wrap, .container, .site-valoracion, div.tab-content, div.tab-pane, .flex-panels-static {
        height: 100%;
        /* overflow: hidden;*/
    }
}

/* RATEANDGRADE */
@media (max-height: 399px) {
    body, #main {
        height: auto !important;
        overflow: scroll !important;
    }
}
