/**-------------------------------------------------------------------------
----------------------------------------------------------------------------
Archivo: estilos.css
Author: Luis Enrique Garcia Orellana
Fecha: 10/04/2018
Descripción: Son todos los estilos de la aplicación.
----------------------------------------------------------------------------
-------------------------------------------------------------------------**/
html, body {
    height: 100%;
    margin: 0;
    width: 100%;
}
header {
    margin-top: 0px;
    position: relative;
    width: 100%;
    z-index: 2;
}
h1, .h1, h2, .h2, h3, .h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}
h3.popover-header {
    margin-top: 0;
}
footer {
    background: #333;
    /*bottom: 0px;*/
    color: white;
    /*position: fixed;*/
    text-align: center;
    width: 100%;
}
footer .logo {
	height: 150px;
	max-width: none;
	position: relative;
	width: 100%;
}
footer .logo a.logo {
	display: block;
	position: absolute;
	max-width: 128px;

	-moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
footer .logo a.logo:hover {
	transform: scale(1.05);
}
footer .logo h1 {
	color: #fff;
	font-size: 3.5em;
	font-weight: 500;
	left: 135px;
	position: absolute;
	text-shadow: 2px 2px 5px #000;
	top: 20px;
}
footer .logo p {
	color: #fff;
	left: 135px;
	position: absolute;
	text-shadow: 2px 2px 5px #000;
	top: 80px;
}
tr:first-child th {
    border: 1px solid #eee !important;
    padding: 0.5rem;
    vertical-align: middle;
}
th {
    background: #e2e2e2;
    background: -webkit-linear-gradient(#e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
    background: -o-linear-gradient(#e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
    background: linear-gradient(#e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
th {
    text-align: center;
}
.table-hover > tbody > tr:hover {
    background-color: #f5fbbe;
}
.table td {
    padding: 0.4rem;
    vertical-align: middle;
}
tr.row_data {
    display: none;
}

input:required,
select:required,
textarea:required {
    border-bottom: 2px solid rgba(255, 0, 0, 0.4);
    /*
    border-left: 1px solid rgba(255, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 0, 0, 0.4);
    */
}
input:valid,
select:valid,
textarea:valid {
    border: 1px solid #e7e7e7;
	-webkit-box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.075);
}
/**
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
**/
#accordion > .card > .card-header {
    background: #004a64;
    padding: 0;
}
#accordion > .card > .card-header > h5 > button.btn.btn-link {
    font-size: 1em;
    color: #fff;
    padding: 0.2rem 1rem;
}
#consultar,
#consultar2 {
    display: none;
}
#loading-sa {
    background-color: rgba(255,255,255,0.5);
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 4;
}
#loading-sa img {
    margin-top: 20%;
}
#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    width: 160px;
}
#login {
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 0 15px #000;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    padding: 5px;

    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
#login:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 50px #000;
    transform: translateY(15px);
}
#login h1 {
    margin-top: 0px;
}
#register {
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 0 15px #000;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
    padding: 5px;

    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
#register:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 50px #000;
    transform: translateY(15px);
}
#register h1 {
    margin-top: 0px;
}
#mask {
    background-color: rgba(10,61,86,0.5);
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 3;
}
.divNaturalPerson {
    display: none;
}
.divLegalPerson {
    display: none;
}
a.dropdown-toggle:hover {
    text-decoration: none;
}
/**
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
**/
.alert.alert-success a,
.alert.alert-danger a,
.alert.alert-warning a {
    color: #fff;
}
.app {
    background-color: #efefef;
    /*
    background: #e9f6fd;
    background: -moz-linear-gradient(top, #e9f6fd 0%, #d3eefb 100%);
    background: -webkit-linear-gradient(top, #e9f6fd 0%,#d3eefb 100%);
    background: linear-gradient(to bottom, #e9f6fd 0%,#d3eefb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9f6fd', endColorstr='#d3eefb',GradientType=0 );
    */
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    z-index: 1;
}
.bar-accesos-rapidos {
    background-color: #eeeeee;
    border-radius: 7px 7px 0 0;
    position: relative;
    width: 100%;
}
.card-header {
    padding: 0.5rem;
}
.card-body {
    padding: 1rem;
}
.card-sa.card {
    border: none;
}
.card-sa.card > .card-header {
    background: #046c91;
    color: #fff;
    font-size: 1rem;
    position: relative;
}
.card-sa.card > .card-body {
    border: 1px solid rgba(10,61,86,1);
    border-radius: 0 0 5px 5px;
    padding: 0.5rem;
}
.card-sa.card > .card-header > .card-sa-ope {
    position: absolute;
    right: 10px;
    top: 3px;
}
.btn-card {
    bottom: 2px;
    position: absolute;
    right: 5px;
}
.contenedor {
    margin-left: auto;
    margin-right: auto;
    /*max-width: 1024px;*/
    max-width: 1280px;
}
.foto_perfil {
    background-position: top center;
    background-size: cover;
    border-radius:55% 55%;
    height:120px;
    width:120px;

    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.foto_perfil:hover {
    background-position: center center;
    height:140px;
    width:140px;
}
.logo {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.main {
    border-radius: 8px;
    display: block;
    /*
    margin-left: auto;
    margin-right: auto;
    */
    margin-top: 0px;
    /*max-width: 1024px;*/
    /*max-width: 1230px;*/
    padding: 5px;
}
.main-app {
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
}
.main-app-menu {
    background-image: url(../images/back03.jpg);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    /*
    background: rgb(179,220,237);
    background: -moz-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
    background: -webkit-linear-gradient(top, rgba(179,220,237,1) 0%,rgba(41,184,229,1) 50%,rgba(188,224,238,1) 100%);
    background: linear-gradient(to bottom, rgba(179,220,237,1) 0%,rgba(41,184,229,1) 50%,rgba(188,224,238,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee',GradientType=0 );
    */
    box-shadow: -2px 0 8px 1px #004a64 inset;
    display: block;
    height: 100vh;
    position: fixed;
    width: 20%;

    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.main-app-menu:hover {
    background-position: right bottom;
}
.main-app-app {
    position: absolute;
    right: 0;
    width: 80%;
}
.menu-canvas {
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
    border-right: 2px solid rgba(10,61,86,1);
    left: -300px;
    height: 100%;
    position: absolute;
    width: 300px;
    z-index: 3;
}
.menu-left {
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #dfdfdf 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#dfdfdf 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#dfdfdf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dfdfdf',GradientType=0 );
    /*
    height: 100%;
    position: absolute;
    width: 100%;
    */
}
.main-app-menu-left-navbar {
    list-style: none;
    padding: 0;
    width: 100%;
}
.main-app-menu-left-navbar > li {
    border-bottom: 1px solid rgba(68, 189, 230, 0.3);
    width: 100%;
}
.main-app-menu-left-navbar > li > a {
    color: #004a64;
    display: block;
    font-size: 1rem;
    padding-bottom: 5px;
    padding-left: 1rem;
    padding-top: 5px;
    width: 100%;
}
.main-app-menu-left-navbar > li:hover > a {
    background-color: rgba(0, 74, 100, 1);
    color: #fff;
    width: 100%;
}
.modal-header {
    background: #004a64;
    color: #fff;
}
.modal-header .close,
.modal .close:not(:disabled):not(.disabled):hover,
.modal .close:not(:disabled):not(.disabled):focus {
    color: #fff;
    opacity: 1;
}
.mt-button {
    margin-top: 29px !important;
}
.navbar {
    border: none;
    box-shadow: 0 1px 5px #2ab8e5;
}
.new_count_form {
    display: block;
    font-size: 1.2em;
    margin-left: auto;
}
.welcome {
    background-image: url(../images/back03.jpg);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    height: 100%;
    padding-top: 5%;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;

    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.welcome:hover {
    background-image: url(../images/back01.jpg);
    background-size: cover;
    background-position: right center;
}
.link-app {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-catalogos {
    display: none;
}

.padding0 {
    padding: 0 !important;
}

.foto_user img {
    margin-left: auto;
    margin-right: auto;
}
/**
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
**/
@media screen and (min-width:768px) and (max-width:1024px) {
}
@media screen and (min-width:321px) and (max-width:767px) {
    #collapseOne .card-body {
        padding: 0.5em;
    }
    .navbar-brand {
        margin-right: 0;
    }
    footer .logo {
		height: 100px;
		max-width: none;
	}
	footer .logo a.logo {
		display: block;
		position: absolute;
		max-width: 80px;
	}
	footer .logo h1 {
		color: #fff;
		font-size: 2.5em;
		font-weight: 500;
		left: 95px;
		position: absolute;
		text-shadow: 2px 2px 5px #000;
		top: 5px;
	}
	footer .logo p {
		color: #fff;
		left: 95px;
		position: absolute;
		text-shadow: 2px 2px 5px #000;
		top: 50px;
	}
}
@media screen and (max-width:320px) {
    #collapseOne .card-body {
        padding: 0.5em;
    }
    .navbar-brand {
        margin-right: 0;
    }
    footer .logo {
		height: 100px;
		max-width: none;
	}
	footer .logo a.logo {
		display: block;
		position: absolute;
		max-width: 80px;
	}
	footer .logo h1 {
		color: #fff;
		font-size: 2.5em;
		font-weight: 500;
		left: 95px;
		position: absolute;
		text-shadow: 2px 2px 5px #000;
		top: 5px;
	}
	footer .logo p {
		color: #fff;
		left: 95px;
		position: absolute;
		text-shadow: 2px 2px 5px #000;
		top: 50px;
	}
}

@media screen and (max-width:991px) {
    .main-app {
        display: block;
    }
    .main-app-menu {
        display: none;
        height: 100vh;
        position: fixed;
        width: 300px;
    }
    .main-app-app {
        background-color: #efefef;
        position: relative;
        width: 100%;
    }
}
