html,
body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    height: 100vh;
    color: #3C4858 !important;
}

::-webkit-scrollbar-track{
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar{
	width: 8px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb{
	border-radius: 10px;
	background-color: #d4d4d4;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/*--------------Login------------------*/


.body-content{
    background-image: url('../img/login_backgroud.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.content-items{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.btns{
    background-color: #80007E;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.btn{
    box-shadow: none !important;
}

.btns:hover {
    color: #ffffff !important;
    background-color: #5EAAA9 !important;
}

.btn:focus, .btn:active:focus, .btn.active:focus {
    outline: 0 none;
}

.login_style{
    background-color: #5EAAA9 !important;
    color: #ffffff !important;
    padding: 100px 50px !important;
    text-align: center;
    display: block;
}

.border-input{
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}

.input_login{
    color: #ffffff !important;
    background-color: #5EAAA9 !important;
    border: 0 !important;
    width: 100%;
    font-size: 24px !important;
    outline: none;
    box-shadow: none;
}

.input_login::placeholder {
    color: #ffffff !important;
    font-size: 24px !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.input_login:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-login {
    background-color: #80007E;
    color: #ffffff;
    font-size: 30px !important;
    border-radius: 0 !important;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
}
  
.btn-login:hover {
    background-color: #ffffff;
    color: #80007E;
}

.btn-login:active {
    background-color: #80007E;
    color: #ffffff;
}

.log{
    position: relative;
}

.log-position{
    position: absolute;
    top: 220px;
}

/*--------------Navbar------------------*/
.bar-style{
    background-color: #5EAAA9;
    color: #ffffff;
    border-radius: 0 !important;
    text-align: center !important;
}

.btn-active{
    background-color: #5EAAA9 !important;
}

.btn-main {
    background-color: #5EAAA9;
    color: #ffffff !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    width: 100%;
    font-size: 14px !important;
}
  
a.text-none{
    color: #ffffff;
}

a.text-none:hover{
    color: #ffffff;
}

.btn-main:hover {
    color: #ffffff !important;
    background-color: #80007E !important;
    width: 100%;
}

.text-none{
    text-decoration: none !important;
}

.text-none:hover{
    color: #ffffff !important;
}

a.purple_color{
    color: #80007E !important;
    text-decoration: none !important;
}

a.purple_color:hover{
    background-color: #5EAAA9 !important;
    color: #ffffff !important;
}


.nav-paciente{
    background-color: #80007E !important;
    padding: 10px 0;
    color: #ffffff !important;
    font-weight: bold;
}

.navbar {
    margin-bottom: 0 !important;
}

/*--------table-------*/
.search_iput{
    border-bottom: 1px solid #3C4858 !important;
}

.input_search{
    box-shadow: none !important;
}

.card{
    -webkit-box-shadow: 2px 2px 7px 2px rgba(0,0,0,0.14); 
    box-shadow: 2px 2px 7px 2px rgba(0,0,0,0.14);
}

th{
    padding: 15px !important;
}

/*----------header color------------------*/
.header-verde{
    background-color: #5EAAA9;
}

table {
	border-collapse: collapse;
	width: 100%;  
}

.header-table{
    background-color: #80007E !important;
    color: #ffffff !important;
    font-size: 14px;
}

.header-table a{
    color: #ffffff;
    text-decoration: none;
}

.nombre_empleado{
    background-color: #80007E;
    padding: 5px 7px;
}

.header-table:hover{
    color: #ffffff !important;
}

.header-table:hover th a{ 
    color: #ffffff !important;
}

.header-table td,
th a{ 
	padding: 4px;
	overflow: hidden;
	text-align: left;
    vertical-align: middle;
    color: #ffffff !important;
}

th { 
	font-weight: 400;
}
.asc:after {
    content: none !important;
 }

.desc:after {
    content: none !important;
 }
 
.btn-header a:visited, a:hover, a:active {
    color: #ffffff !important;
}

.btn-header td a:visited, a:hover, a:active {
    color: #80007e !important;
    text-decoration: none !important;
}

@media only screen and (max-width: 1350px) {
    .menu_paciente{
        display: none;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media only screen and (max-width: 1024px) {
    .body-content{
        height: 400px;
    }

    .content-items{
        flex-direction: column-reverse;
        text-align: center;
    }

    .login_style{
        display: inline-table;
    }

    .log-position {
        position: initial;
        top: 220px;
    }

    .mb-5{
        margin-bottom: 30px;
    }

    .log{
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 990px) {
    .menu_paciente{
        display: contents;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media only screen and (max-width: 900px) {
    .txt-menu{
        display: none;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media only screen and (max-width: 720px) {
    .content-items{
        height: auto;
        background-image: none !important;
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 576px) {
    .login_style{
        margin: 0 !important;
        padding: 55px 30px !important;
    }

    .content-items{
        margin: 0 !important;
    }

    .body-content {
        background-image: none !important;
    }
}

div.errorform {
    font-size: 14px;
    font-weight: bold;
    color: #80007e !important;
}

.summary{
    margin-bottom: 15px;
    color: #3C4858 !important;
}

.calendario.min{
    margin: 0 auto;
    width: fit-content;
}

/*----------------pagination stile-----------------*/

ul.pagination li a{
    font-weight: bold !important;
    color: #80007e !important;
    padding: 0 5px;
    margin: 0 3px;
    border-radius: 0 !important;
    display: inline-block !important;
}

ul.pagination a:hover{
    background-color: #80007e !important;
    font-weight: bold !important;
    color: #ffffff !important;
    padding: 0 5px !important;

}

ul.pagination li.active li a:active{
    background-color: #80007e !important;
    font-weight: bold !important;
    color: #ffffff !important;
    padding: 0 5px !important;
    border: 0px;
} 

/*---------------- tabla vh size ----------------------*/

.cont-vh{
    max-height: calc(100vh - 180px) !important;
}

.table-vh{
    overflow: scroll !important;
    height: calc(100vh - 390px) !important;
}

/*---------------boton checador---------------*/

.button_in{
    background-color: #28a745;
    font-size: 24px;
    color: #ffffff;
    padding: 10px;
    width: 100%;
    height: 150px;
    border: 0;
    font-weight: bold;
}

.button_out{
    background-color: #dc3545;
    font-size: 24px;
    color: #ffffff;
    padding: 10px;
    width: 100%;
    height: 150px;
    border: 0;
    font-weight: bold;
}

.btn-fix{
    width: fit-content;
}

/*------------------------ ancho tabla pacientes--------------------*/

.column-pacientes th:first-child {
	min-width: auto;
}

.column-pacientes th:nth-child(3) {
	min-width: 200px;
}

.column-pacientes th:nth-child(4) {
	min-width: 150px;
}

.column-pacientes th:nth-child(5) {
	min-width: 150px;
}

.column-pacientes th:nth-child(11) {
	min-width: 180px;
}

.column-pacientes th:nth-child(12) {
	min-width: 180px;
}

.column-pacientes th:nth-child(14) {
	min-width: 200px;
}

.column-pacientes th:nth-child(17) {
	min-width: 200px;
}

.column-pacientes th:nth-child(18) {
	min-width: 150px;
}

.column-pacientes th:nth-child(19) {
	min-width: 150px;
}

.column-pacientes th:nth-child(20) {
	min-width: 500px;
}

.column-pacientes th:nth-child(21) {
	min-width: 100px;
}

.column-pacientes th:nth-child(22) {
	min-width: 100px;
}

/*------------------------ ancho tabla referencias--------------------*/

.column-referencias2 th:first-child {
	min-width: auto;
}

.column-referencias2 th:nth-child(3) {
	min-width: 250px;
}

.column-referencias2 th:nth-child(4) {
	min-width: 150px;
}

.column-referencias2 th:nth-child(5) {
	min-width: 150px;
}

.column-referencias2 th:nth-child(6) {
	min-width: 150px;
}

.column-referencias2 th:nth-child(9) {
	min-width: 200px;
}

.column-referencias2 th:nth-child(10) {
	min-width: 200px;
}

.column-referencias2 th:nth-child(11) {
	min-width: 250px !important;
}

.column-referencias2 th:nth-child(12) {
	min-width: 250px;
}

.column-referencias2 th:nth-child(14) {
	min-width: 250px;
}

.column-referencias2 th:nth-child(15) {
	min-width: 200px;
}

.column-referencias2 th:nth-child(17) {
	min-width: 200px;
}

.column-referencias2 th:nth-child(19) {
	min-width: 150px;
}

/*------------------------ ancho tabla empleados--------------------*/

.column-empleados th:first-child {
	min-width: auto;
}

.column-empleados th:nth-child(3) {
	min-width: 250px;
}

.column-empleados th:nth-child(4) {
	min-width: 150px;
}

.column-empleados th:nth-child(5) {
	min-width: 150px;
}

.column-empleados th:nth-child(6) {
	min-width: 150px;
}

.column-empleados th:nth-child(9) {
	min-width: 200px;
}

.column-empleados th:nth-child(10) {
	min-width: 200px;
}

.column-empleados th:nth-child(11) {
	min-width: 200px;
}

.column-empleados th:nth-child(13) {
	min-width: 200px;
}

.column-empleados th:nth-child(16) {
	min-width: 200px;
}

.column-empleados th:nth-child(17) {
	min-width: 200px;
}

.column-empleados th:nth-child(18) {
	min-width: 150px;
}


/*------------------------ ancho tabla registros--------------------*/

.column-registros th:first-child {
	min-width: auto;
}

.column-registros th:nth-child(3) {
	min-width: 250px;
}

.column-registros th:nth-child(4) {
	min-width: 150px;
}

.column-registros th:nth-child(7) {
	min-width: 100px;
}

.column-registros th:nth-child(8) {
	min-width: 100px;
}

.column-registros th:nth-child(13) {
	min-width: 800px !important;
}

/*------------------------ ancho tabla base--------------------*/

.column-base th:first-child {
	min-width: auto;
}

.column-base th:nth-child(2) {
	min-width: auto;
}

.column-base th:nth-child(3) {
	min-width: 300px;
}

.column-base th:nth-child(4) {
	min-width: 300px;
}

.column-base th:nth-child(5) {
	min-width: 300px;
}

.column-base th:nth-child(6) {
	min-width: 300px !important;
}

/*------------------------ ancho tabla eventuales--------------------*/

.column-eventuales th:first-child {
	min-width: auto;
}

.column-eventuales th:nth-child(2) {
	min-width: auto;
}

.column-eventuales th:nth-child(3) {
	min-width: 300px;
}

.column-eventuales th:nth-child(4) {
	min-width: 300px;
}

.column-eventuales th:nth-child(5) {
	min-width: 300px;
}

.column-eventuales th:nth-child(6) {
	min-width: 300px !important;
}

.column-eventuales th:nth-child(7) {
	min-width: 300px !important;
}

/*------------------------ ancho tabla citas--------------------*/

.column-citas th:first-child {
	min-width: auto;
}

.column-citas th:nth-child(2) {
	min-width: auto;
}

.column-citas th:nth-child(3) {
	min-width: 250px;
}

.column-citas th:nth-child(4) {
	min-width: 200px;
}

.column-citas th:nth-child(5) {
	min-width: 300px;
}

.column-citas th:nth-child(6) {
	min-width: 200px !important;
}

.column-citas th:nth-child(7) {
	min-width: 800px !important;
}


/*------------------------ ancho tabla reportes semanales--------------------*/

.column-report th:first-child {
	min-width: auto;
}

.column-report th:nth-child(2) {
	min-width: auto;
}

.column-report th:nth-child(3) {
	min-width: 250px;
}

.column-report th:nth-child(4) {
	min-width: 300px;
}

.column-report th:nth-child(5) {
	min-width: 300px;
}

.column-report th:nth-child(6) {
	min-width: 250px;
}

.column-report th:nth-child(7) {
	min-width: 800px !important;
}

/*------------------------ ancho tabla tiempos--------------------*/

.column-time th:first-child {
	min-width: auto;
}

.column-time th:nth-child(2) {
	min-width: auto;
}

.column-time th:nth-child(3) {
	min-width: 270px;
}

.column-time th:nth-child(4) {
	min-width: 270px;
}

.column-time th:nth-child(5) {
	min-width: 250px;
}

.column-time th:nth-child(6) {
	min-width: 270px;
}

.column-time th:nth-child(7) {
	min-width: 270px;
}




.input-group-addon{
    padding-right: 25px !important;
}

#w1-success-0{
    margin-bottom: 0px !important;
}

.pagination .active a{
    color: #ffffff !important;
    background-color: #80007e !important;
    border: 0px !important;
    display: inline-block !important;
}

.pagination li a, .pagination li span {
    border: 0px !important;
    padding: 0 5px !important;
}

div.errorform {
    font-size: 12px !important;
}

.help-block{
    color: #80007e !important;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}

.datetimepicker {
    font-size: 12px !important;
}

.navbar:before{
    content: none !important;
}

.navbar:before{
    content: none !important;
}

.center-form{
    margin-right: 15px !important;
    margin-left: 15px !important;
    width: 100% !important;
}