#wrapper {
    padding-left: 200px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 0;
}



.navbar-toggle {
  border: none;
  background: transparent !important;
}
.navbar-toggle:hover {
  background: transparent !important;
}
.navbar-toggle .icon-bar {
  width: 22px;
  transition: all 0.2s;
}
.navbar-toggle .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggle .middle-bar {
  opacity: 0;
}
.navbar-toggle .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
.navbar-toggle.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
  transform: rotate(0);
}



/*Cambiar iconos del menu*/
#wrapper.toggled #close {
    display: none;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 200px;
    width: 200px;
    height: 100%;
    margin-left: -200px;
    overflow-y: auto;
    background: #21610B;
    background: #0B3861;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
/* Cuando se clickea el boton de MENU, se le asigna un WIDTH al SIDEBAR para que aparezca*/
#wrapper.toggled #sidebar-wrapper {
    width: 0;
}

#page-content-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 15px;
}
/*Cuando se muetsra el MENU, se le quitan 200px a la pagina porque eso mide el MENU*/
#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: -0;
}

/* Navbar */
.base {
    padding-left: 0;
    padding-right: 0;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 7px;
    line-height: 30px;
}

.sidebar-nav li a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
}

.sidebar-nav li p{
    display: inline;
    padding-left: 10px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #FFFFFF;
    background: rgba(255,255,255,0.2);
    /*font-size: 15px;*/
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.opciones span {
    color: #fff;
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
}

.opciones {
    background: rgba(255,255,255,0.2);
    text-align: center;    
}

/*** Config Content ***/
.header {
    width: 100%;
    height: 20%;
}
/* Boton de menu*/
.nav {
    width: 8%;
    height: 35px;
    margin: 3px; 
    float: left;
}

.nav label {
    font-weight: normal !important;
}

#menu-toggle {
    border-radius: 2px;
    width: 100%;
    height: 37px;
    text-align: center;
}
/* Logo FINKOK */
.logo {
    width: 22%;
    height: 100%;
    float: left;
    text-align: right;
}
/* tittle es "Validador de XML" */
.tiitle {
    width: 65%;
    height: 100%;
    float: left;
}

.tittle p {
    color: #0B3861;
    font-family: 'Raleway', sans-serif;
    text-align: center; 
    font-size: 50px;
    padding-right: 10%;
}

.base-form {
    width: 100%;   
    height: 80%;
    color: #000;
}

.logo-2 {
    /*margin-top: 100px;*/
    /*position: absolute;*/
}

.msj {
    width: 100%;

}

.msj p {
    width: 50%;
    text-align: center;
    font-size: 15px;
    font-family: 'Raleway', sans-serif;
    margin-left: 25%;
}

.form {
    width: 100%;
    height: 30%;
}

#clean {
    border-radius: 0;
}

/* INPUT FILE STYLE */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 70%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}

input[readonly] {
 background-color: white !important;
 cursor: text !important;
}

/* FORM CFDI */

.form {
    text-align: justify-all;
}

#title_cfdi,
#title_cadena,
#title_retenc {
    width: 50%;
    height: 33px;
    margin-left: 25%;
    border-radius: 3px;
    text-align: center;
    background-color: #0B3861;
}

#title_cfdi p,
#title_cadena p,
#title_retenc p {
    color: #FFFFFF;
    font-size: 23px;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

/* STRING FORM */
form {
    text-align: center;
}

.form {
    text-align: center;
}

.area-cadena {
    height: 170px;
    width: 75%;
    border-radius: 4px;
    //padding: 5px;
}

.area-sello,
.area-cadena,
.cadena-generar-sello,
.cadena-validar-sello,
.sello-validar-sello {
    padding: 7px;
}

#label_xml_string, #label-xml-cfdi, #label-xml-retent {
    color: #000000;
}


/********************* SEAL FORM ********************/
#title_create_seal,
#title_validate_seal {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    color: #FFFFFF;
}

/* Es toda la parte izquierda de la pagina */
#seal-container {
    width: 100%;
}

#generate-seal-area {
    width: 47%;
    float: left;
}

/* Es toda la parte derecha de la pagina */
#validate-seal-area {
    width: 47%;
    float: left;

}

#validar-sellito,
#label-load-cer {
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
}

/* Los botones para pasar cadena y sello */
#central-buttons {
    width: 6%;
    float: left;
    color: #088A08;
}

/*icono de flecha para pasar la cadena al otro formulario*/
#btn-pass-string {
    width: 100%;
    margin-top: 105px;
    margin-left: 7px;
    padding: 0;
    cursor: pointer;
}

/*icono de flecha para pasar el sello al otro formulario*/
#btn-pass-seal {
    width: 100%;
    margin-top: 405px;
    margin-left: 7px;
    padding: 0;
    cursor: pointer;
}

.genera-sello label,
.valida-sello label,
#label-xml-cfdi,
#label_xml_string,
#label_xml_string2,
#label-xml-retent {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #000000;
}

#title {
    background-color: #0B3861;
    width: 95%;
    border-radius: 4px;
}

#title p {
    font-size: 22px;
}

.cadena-generar-sello,
.area-sello,
.sello-validar-sello,
.cadena-validar-sello {
    height: 110px;
    width: 95%;
    border-radius: 4px;
    font-size: 15px;
}

#success-seal {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 25px;
    color: #21610B;   
}

#invalid-seal {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 25px;
    color: #FE2E2E;
}

/* FORM RETENCIONES */
.form {
    text-align: center;
}
/* ICONS FROM CFDI & RETENTIONS PAGE*/
.signaling_icons {
    width: 100%;
}

#content {
    text-align: center;
}

#icon {
    text-align: left;
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    margin-right: 2%;
}

/************************** CSS MODAL **************************/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin top: 0;
    margin-right: auto;
    margin-left: auto;
    border: 1px;
    width: 40%; /* Could be more or less, depending on screen size */
    height: 150px;
    -webkit-animation: animatetop 0.4s;
    animation: animatetop 0.4s;
}
/* Modal  Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to { top:0; opacity:1}
}
.close {
    color: #FFFFFF;
    float: right;
    font-size: 35px;
    font-family: 'Raleway', sans-serif;
}
.close:hover {
    color: #FFFFFF;
    font-size: 38px;
    cursor: pointer;
}
.modal-header {
    padding: 2px 16px;
    background-color: #0B3861;
    color: white;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-family: 'Raleway', sans-serif;
}
.modal-body {
    padding: 2px 16px;
    font-size: 17px;
    padding-top: 40px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}
/*********************** VALIDATIONS TABLE RFC ******************************************/
#table_rfc tr textarea{
    width: 60%;
    margin-left: 19.5%;
    margin-right: 5%;
    border: 1;
    border-color: #FFFFFF;
    color: #424242;
    background-color: #0B3861;
    opacity: 0.8;
    color: #FFFFFF;
}
#tile_table_rfc{
    background-color: #0B3861;
    opacity: 0.8;
    color: #FFFFFF;
    text-align: center;
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    border-top-left-radius: 10px;
}


/*********************** VALIDATIONS TABLES (CFDI & RETENTIONS)  ************************/
#table_validador,
#table_validador_ret {
    width: 60%;
    margin-left: 19.5%;
    margin-right: 5%;
    border: 1;
    border-color: #FFFFFF;
    color: #424242;
}

#table_validador tr:hover,
#table_validador_ret tr:hover {
    background-color: #0B3861;
    opacity: 0.8;
    color: #FFFFFF;
}

#table_validador tr:hover textarea,
#table_validador_ret tr:hover textarea {
    background-color: #0B3861;
}

#table_validador textarea:hover,
#table_validador_ret textarea:hover {
    background-color: #0B3861;
}

#table_report_title {
    background-color: #0B3861;
    opacity: 0.8;
    color: #FFFFFF;
    text-align: center;
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    border-top-left-radius: 10px;
}


#table_report_estatus {
    background-color: #0B3861;
    opacity: 0.8;
    color: #FFFFFF;
    text-align: center;
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    border-top-right-radius: 10px;
}

.estatus_column {
    text-align: center;
}

table td .fa {
    font-size: 16px;
}

.input-group {
    width: 50%;
}

/*Input grupo to select/load file cer and key*/
#ig-key, 
#ig-cer {
    width: 80%;
}
/* reRECAPTCHA area for all, except DIGITAL SEAL  */
#cont-cap-btn {
    width: 50%;
    margin-left: 25%;
}

/* reRECAPTCHA area to DIGITAL SEAL */
.cont-cap-btn-seal {
    width: 95%;
    margin-top: ;
}

.g-recaptcha {
    float: left;
}
/*
.cont-cap-btn-seal #val {
    float: right;
}*/

.cont-cap-btn-seal {
    float: right;
}

//#verify_cfdi,
#create-string,
#create-seal,
#validate-retent {
    float: right;
}

.g-recaptcha {
    transform:scale(0.90);
    -webkit-transform:scale(0.90);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}

@media only screen and (min-width: 455px) and (max-width: 1175px) {

    .nav {
        width: 100%;
        height: 35px;
        clear: left;
        text-align: center;
        margin: 0 auto;
    }
    .logo {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .tittle {
        width: 100%;
        padding: 10px;
        clear: right;
        text-align: center;
    }
    .tittle p {
        color: #0B3861;
        font-size: 40px;
        text-align: center; 
        clear: right;
        padding: 0;
    }    
    #cont-cap-btn #captcha {
        width: 100%;
        float: left;
        margin-left: 16%;
    }
    #cont-cap-btn #val {
        width: 100%;
        float: left;
        margin-left: 20%;
    }
    #verify_cfdi,
    #create-string,
    #validate-retent {
        float: left;
        margin-left: 12%;
        margin-top: 15px;
    }
    #cont-cap-btn-seal #captcha, #val {
        width: 100%;
        margin-left: 0;
    }
    #create-seal {
        clear: right;
        float: left;
    }
}

@media only screen and (min-width: 455px) and (max-width: 850px) {
    
    #wrapper,
    #wrapper.toggled {
        padding-left: 0;
    }    
    #sidebar-wrapper,
    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }
    #page-content-wrapper {
        padding: 20px;
        position: absolute;
    }
    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
    /* Encabezado */    
    .header {
        width: 100%;
        height: 20%;
        float: left;
    }
    /* Resto del contenedor */    
    .base-form {
        width: 100%;
        height: 80%;
        float: left;
    }
    .nav {
        width: 100%;
        height: 35px;
        clear: left;
        text-align: center;
        margin: 0 auto;
    }
    .logo {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .tittle {
        width: 100%;
        padding: 10px;
        clear: right;
        text-align: center;
    }
    .tittle p{
        color: #0B3861;
        font-size: 40px;
        text-align: center; 
        clear: right;
        padding: 0;
    }
    .msj p {
        width: 70%;
        text-align: center;
        font-size: 15px;
        margin-left: 15%;
        color: #000000;
    }
    #clear,
    #sidebar-wrapper,
    #menu-toggle {
        display: none;
    }
    .modal-content {
        width: 70%; /* Could be more or less, depending on screen size */
        height: 150px;
        //margin: 40% auto; /* 15% from the top and centered */
        margin-top: 0; /* 15% from the top and centered */
        margin-right: auto; /* 15% from the top and centered */
        margin-left: auto; /* 15% from the top and centered */
        border: 1px;
    }
    #title_cfdi,
    #title_cadena,
    #title_retenc {
        width: 70%;
        height: 33px;
        margin-left: 15%;
        border-radius: 3px;
        text-align: center;
        background-color: #0B3861;
    }
    /* CSS Dropdown menu*/
    .dropdown {
        display: block; 
        text-align: center;
    }
    #dropdown-toggle {
        width: 100%;
    }
    .dropdown-menu {
        width: 100%;
        background-color: #0B3861;
    }
    .dropdown-menu li a {
        color: #FFFFFF;
    }    
    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.2);
        font-size: 15px;
        color: #FFFFFF;
    }
    /* CSS report table validation */
    #table_validador {
        width: 100%;
        border-color: #FFFFFF;
        color: #424242;
        margin-left: 5px;
        margin-right: 5px;
    }
    #table_report_title {
        width: 95%;
        background-color: #0B3861;
        opacity: 0.8;
        color: #FFFFFF;
        text-align: center;
        font-size: 18px;
        font-family: 'Raleway', sans-serif;
    }
    #table_report_estatus {
        width: 5%;
        background-color: #0B3861;
        opacity: 0.8;
        color: #FFFFFF;
        text-align: center;
        font-size: 15px;
        font-family: 'Raleway', sans-serif;
    }
    /**************** CSS ORIGINAL STRING page ****************/
    #area-cadena {
        width: 95%;
    }
    /**************** CSS DIGITAL SEAL page ****************/
    #btn-pass-string,
    #btn-pass-seal {
        width: 90%;
        margin-left: 0;
    }
    .input-group {
        width: 70%;
    }
    .cadena-generar-sello,
    .area-sello,
    .sello-validar-sello,
    .cadena-validar-sello {
        height: 180px;
        width: 95%;
        border-radius: 4px;
        font-size: 15px;
    }
    /*CSS Icons & texts to succes or invalid seal*/
    #success-seal {
        width: 80%;
        text-align: center;
        font-family: 'Raleway', sans-serif;
        font-size: 25px;
        color: #21610B;   
    }
    #invalid-seal {
        width: 80%;
        text-align: center;
        font-family: 'Raleway', sans-serif;
        font-size: 25px;
        color: #FE2E2E;
    }
    #ig-key, 
    #ig-cer {
        width: 95%;
    }
    #pass-string .fa {
        margin-top: 135px;
        font-size: 25px;
        margin-left: 0;
    }
    #pass-seal .fa {
        margin-top: 425px;
        font-size: 25px;
        margin-left: 0;
    }
    #cont-cap-btn {
        width: 70%;
        margin-left: 15%;
    }
    /*Position to reCAPTCHA*/
    #cont-cap-btn #captcha {
        width: 100%;
        float: left;
        margin-left: 20%;
    }
    /*Position to button submit*/
    #cont-cap-btn #val {
        width: 100%;
        float: left;
        margin-left: 23%;
    }
    /*
    #container-seal-created {
        position: relative;
        margin-top: 10px;
    }*/
}


@media screen and (max-width: 575px) {
    #wrapper,
    #wrapper.toggled {
        padding-left: 0;
    }
    
    #sidebar-wrapper,
    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }
    
    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }

    .header {
        width: 100%;
        height: 20%;
        float: left;
    }

    .base-form {
        width: 100%;
        height: 80%;
        float: left;
    }

    .nav {
        width: 100%;
        height: 35px;
        clear: left;
        text-align: center;
        margin: 0 auto;
    }

    .logo {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .tittle {
        width: 100%;
        padding: 10px;
        clear: right;
        text-align: center;
    }

    .tittle p{
        color: #0B3861;
        font-size: 40px;
        text-align: center; 
        clear: right;
        padding: 0;
    }

    .msj p {
        width: 90%;
        text-align: center;
        font-size: 15px;
        margin-left: 5%;
        color: #000000;
    } 
    /* When screen is less than 450px remove this elements  */
    #clear,
    #sidebar-wrapper,
    #menu-toggle {
        display: none;
    }

    #title_cfdi,
    #title_cadena,
    #title_retenc {
        width: 90%;
        height: 33px;
        margin-left: 5%;
        border-radius: 3px;
        text-align: center;
        background-color: #0B3861;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        height: 150px;
        //margin: 40% auto; /* 15% from the top and centered */
        margin-top: 0; /* 15% from the top and centered */
        margin-right: auto; /* 15% from the top and centered */
        margin-left: auto; /* 15% from the top and centered */
        border: 1px;
    }

    /* Dropdown menu*/
    .dropdown {
        display: block; 
        text-align: center;
    }
    
    #dropdown-toggle {
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
        background-color: #0B3861;
    }

    #cfdi, #cadena, #sello, #retenciones {
        color: #FFFFFF;
        font-family: 'Raleway', sans-serif;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.2);
        font-size: 15px;
    }

    #table_validador {
        width: 95%;
        border: 1;
        border-color: #FFFFFF;
        color: #424242;
    }

    #table_report_title {
        width: 95%;
        background-color: #0B3861;
        opacity: 0.8;
        color: #FFFFFF;
        text-align: center;
        font-size: 15px;
        font-family: 'Raleway', sans-serif;
    }

    #table_report_estatus {
        width: 5%;
        background-color: #0B3861;
        opacity: 0.8;
        color: #FFFFFF;
        text-align: center;
        font-size: 13px;
        font-family: 'Raleway', sans-serif;
    }

    .input-group {
        width: 90%;
    }

    .cadena-generar-sello,
    .area-sello,
    .sello-validar-sello,
    .cadena-validar-sello {
        height: 180px;
        width: 95%;
        border-radius: 4px;
        font-size: 15px;
        color: #000000;
    }

    #pass-key {
        color: #000000;
    }
    /* Central buttons from SEAL PAGE */
    #pass-string .fa {
        margin-top: 170px;
        font-size: 22px;
        margin-left: 0;
    }

    #pass-seal .fa {
        margin-top: 425px;
        font-size: 22px;
        margin-left: 0;
    }
    
    #area-cadena {
        width: 95%;
    }

    #cont-cap-btn {
        width: 100%;
        margin-left: 14%;
    }

    #captcha {
        width: 100%;
    }

    #val {
        width: 100%;
        margin-top: 15px;
        //margin-right: 20%;
    }

    #validar-sellito,
    #create-seal {
        clear: right;
        float: left;
        font-size: 10px;
    }

    #label-load-cer,
    #label-load-key {
        font-size: 10px;
    }

    #file-key,
    #file-cer {
        height: 28px;
    }


    #verify_cfdi,
    #create-string,
    #validate-retent {
        float: left;
        margin-left: 20%;
        margin-top: 15px;
    }

    /*#rc-imageselect {
        width: 100%;
        /*transform:scale(0.40);
        -webkit-transform:scale(0.40);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }*/

    .cont-cap-btn-seal .g-recaptcha {
        transform:scale(0.63);
        -webkit-transform:scale(0.63);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }

    body {
      padding : 10px ;
      
    }

    #exTab1 .tab-content {
      color : white;
      background-color: #428bca;
      padding : 5px 15px;
    }

    #exTab2 h3 {
      color : white;
      background-color: #428bca;
      padding : 5px 15px;
    }

    /* remove border radius for the tab */

    #exTab1 .nav-pills > li > a {
      border-radius: 0;
    }

    /* change border radius for the tab , apply corners on top*/

    #exTab3 .nav-pills > li > a {
      border-radius: 4px 4px 0 0 ;
    }

    #exTab3 .tab-content {
      color : white;
      background-color: #428bca;
      padding : 5px 15px;
    }

    
}