/*** GENERAL CSS STYLES FOR LAWKIT APPS ***/

@font-face {
    font-family: "Pluto Sans";
    src: url("../fonts/PlutoSansRegular.otf") format("opentype");
}


/*** Lawkit colors definitions ***/

.bg-lk-blue {
    background-color: #0d4ffb;
}

.bg-lk-blue-alt {
    background-color: #007bff;
}

.bg-lk-blue-o2 {
    background-color: #03a9f4;
}

.bg-lk-turquoise {
    background-color: #25d4fc;
}

nav a.nav-link span {
    color: white;
}


/*** Header menu ***/

nav {
    font-family: "Pluto Sans";
    background-color: #13263e;
}

li.nav-item { list-style: none; }
a.nav-link { margin-top: 10px; }

/* Icons at the header, elements <i> with class 'fa' */

ul.navbar-nav i.fa {
    color: white;
    font-size: 1.6rem;
    padding: 4px;
}


/* Specifically the user icon */

ul.navbar-nav i.user-icon {
    background: #4f73df;
    border-radius: 50%;
    padding: 5px;
    font-size: 1.3rem;
}

#userDropdown { position: relative; top: 2px; }


/* User's apps and account multi column dropdown */

div.dropdown-multicol2 {
    width: 10em;
    padding: 10px;
}

div.dropdown-multicol2>div.dropdown-col {
    display: inline-block;
    width: 32%;
}


/*  Boostrap bs.min.css has diffrent style for this, than sb-admin.min.css.
    To avoid issues with bootstrap version, it is defined here.
*/

.dropdown .dropdown-menu {
    font-size: .85rem;
    color: #3a3b45;
}

.dropdown-multicol2 h6 {
    color: #13263e;
}

.my-account-col {
    border-left: 1px solid #e5e5e5;
}

.my-account-col .dropdown-item {
    padding-left: 0px;
}


/* Suggestions modal */


/*** Responsive design ***/


/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
    /* CSS */
    div.dropdown-multicol2 {
        width: 100%;
    }
    .my-account-col {
        padding-top: 5px;
        border-left: none;
    }
    .my-account-col .dropdown-item {
        padding-left: 1.5rem;
    }
    .dropdown-multicol2 h6 {
        padding-left: 1.2rem;
    }
    .navbar-nav {
        flex-direction: inherit;
    }
}


/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    /* CSS */
    div.dropdown-multicol2 {
        width: 100%;
    }
    .my-account-col {
        padding-top: 5px;
        border-left: none;
    }
    .my-account-col .dropdown-item {
        padding-left: 1.5rem;
    }
    .dropdown-multicol2 h6 {
        padding-left: 1.2rem;
    }
    .navbar-nav {
        flex-direction: inherit;
    }
}


/*** Lawkit input fields ***/

.lawkit-input {
    outline: none;
    margin: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    padding: 10px !important;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    color: #666;
}

.lawkit-input:focus {
    border: 1px solid #000;
}


/*** Custom buttons ***/

.lawkit-btn {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    height: auto;
    line-height: 20px;
    color: #fff;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 8px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease 0s;
    border: none !important;
}

.lawkit-btn:hover {
    background: #fff;
    color: #172b4d;
    border: solid #e4e4e4 1px;
    text-decoration: none;
    -webkit-box-shadow: 1px 1px 10px 2px #bfbfbf;
    -moz-box-shadow: 1px 1px 10px 2px #BFBFBF;
    box-shadow: 1px 1px 10px 2px #bfbfbf;
}

.lawkit-btn:focus {
    outline: none !important;
}

.lawkit-btn-circle {
    border-radius: 50%;
    padding: 10px;
}

.lawkit-btn-circle:hover {
    background-color: white;
    box-shadow: 0 2px 5px rgb(0 0 0 / 45%);
}

.r-sidebar-wrapper {
    width: 360px;
    height: 100%;
    position: fixed;
    right: -360px;
    top: 0;
    bottom: 0;
    z-index: 1030;
    background: white;
    border-left: 0 solid #d2d2d2;
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .13);
    transition: all .2s ease-out
}

.r-sidebar-btn {
    width: 70px;
    height: 70px;
    padding: 15px;
    background: rgb(255 255 255 / 15%);
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .13);
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: absolute;
    top: 40%;
    right: 100%;
    cursor: pointer;
    border: .5px solid #eaeaea;
}

.r-sidebar-btn i {
    animation: icon-pulse 2s infinite ease-out;
}

.r-sidebar-wrapper.r-sidebar-toggled {
    right: 0
}

.r-sidebar-body {
    padding: 1.25rem
}

@keyframes icon-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
}


/* END GENERAL CSS STYLES FOR LAWKIT APPS */


/* Login page */

.vertical-align-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
}

.vertical-align-middle {
    display: table-cell;
    vertical-align: middle;
}

#wrapper {
    height: 100%;
}

@media screen and (min-width: 992px) {
    .auth-box {
        width: 65% !important;
    }
}


/* Login page */

.auth-box {
    -moz-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 60%;
    height: 450px;
    margin: 0 auto;
    /* background-color: #fff; */
}

.auth-box:before {
    display: inline-block;
    vertical-align: middle;
    vertical-align: auto;
    zoom: 1;
    display: inline;
    content: " ";
    vertical-align: middle;
    height: 100%;
}

.auth-box .dcontent {
    display: inline-block !important;
    vertical-align: middle;
    vertical-align: auto;
    zoom: 1;
    display: inline;
    width: 99%;
    vertical-align: middle;
}

.auth-box .dleft {
    float: left;
    width: 50%;
    height: 100%;
    padding: 0 30px;
    text-align: center;
    background: #fff;
}

.auth-box .dleft:before {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    content: " ";
    vertical-align: middle;
    height: 100%;
}

.auth-box .dright {
    float: right;
    width: 50%;
    height: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
}

.auth-box .dright:before {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    content: " ";
    vertical-align: middle;
    height: 100%;
}

.auth-box .dright .text {
    position: relative;
    padding: 0 30px;
    color: #fff;
}

.auth-box .dright .heading {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 64px;
    font-weight: 300;
}

.auth-box .dright p {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
}

.auth-box .dright .overlay {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgb(179 179 179 / 18%);
}

@media screen and (max-width: 1279px) {
    .auth-box {
        width: 90%;
    }
    .auth-box .dleft {
        top: 3.3em;
    }
    .watermark {
        position: relative;
        /*top: 45%;*/
        top: -320px !important;
        left: 30px !important;
        transform: rotate(25deg);
    }
    .watermark h1 {
        font-size: 3.5rem !important;
    }
}

@media screen and (max-width: 1023px) {
    .auth-box .dleft {
        width: 100%;
        position: inherit;
        padding: 30px;
    }
    .auth-box .dright {
        display: none;
    }
    .watermark {
        position: relative;
        /*top: 45%;*/
        top: -355px;
        left: 20px;
        transform: rotate(25deg);
    }
    .watermark h1 {
        font-size: 3rem !important;
    }
}

@media screen and (max-width: 992px) {
    .mobile-logo {
        display: inherit;
        padding-bottom: 2rem;
    }
    .auth-box {
        width: 70%;
    }
    .animated-btn {
        background: ;
    }
    .animated-btn span {
        max-width: 7rem !important;
        color: #6610f2;
    }
    .watermark {
        position: relative;
        /*top: 45%;*/
        top: -355px !important;
        left: 10px !important;
        transform: rotate(25deg);
    }
    .watermark h1 {
        font-size: 2.5rem !important;
    }
}

@media screen and (max-width: 640px) {
    .dropdown-apps {
        width: 325px !important;
    }
    .mobile-logo {
        display: inherit;
        padding-bottom: 2rem;
    }
    #clavel-logo {
        width: 200px;
        height: 300px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: fill 0.5s ease forwards 2s;
    }
    .auth-box {
        width: 90%;
    }
    .auth-box .dcontent {
        width: 95%;
    }
}

.form-control:focus {
    box-shadow: none;
}

.bg-calendar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/lawkit-bg.png");
}

#filter2 {
    display: flex;
    flex-direction: column;
}

.left {
    display: flex;
}

.label-retract {
    cursor: copy;
}

#allCircuitos {
    display: flex;
    justify-content: space-around;
}

#allExpedientes {
    display: flex;
}

.expediente {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.expediente>.option {
    width: 100%;
}


/*#allTipoOrganoJudicial{
    display: flex;
    justify-content: space-around;
}*/

.tipoOrganoJudicialOption {
    flex-direction: column;
    align-items: center;
}

.circuitoContent {
    display: none;
    justify-content: space-between;
    width: 100%;
}

.organoJudicial {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
}

.tipoOrganoJudicial {
    display: none;
}

.materiaOrganoJudicial {
    flex-direction: column;
}

.flex {
    display: flex;
}

.tipoOrganoJudicial {
    margin-left: 5px;
    flex-direction: column;
    width: 100%;
}

.materiaOrganoJudicial {
    margin-left: 15px;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.materiaOrganoJudicial>.content {
    margin-left: 45px;
}

.organoJudicial>.content {
    margin-left: 45px;
}

.organoJudicial>.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
}

.expediente .title {
    text-align: center;
}

.tipoOrganoJudicial>.left {
    display: flex;
    align-items: center;
}

.circuito {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hide {
    display: none !important;
}

#search,
#año {
    margin: 10px;
}

.clear {
    clear: both;
}

a.button {
    display: block;
    position: relative;
    float: left;
    width: 120px;
    padding: 0;
    margin: 10px 20px 10px 12.5%;
    font-weight: 600;
    text-align: center;
    line-height: 35px;
    color: #FFF;
    border-radius: 5px;
    transition: all 0.2s;
}

.btnLightBlue {
    background: #5DC8CD;
}

.btnLightBlue.btnPush {
    box-shadow: 0px 3px 0px 0px #1E8185;
}

.btnPush:hover {
    margin-top: 15px;
    margin-bottom: 5px;
}

.btnLightBlue.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #1E8185;
}


/*
  input[type=text] {
    padding: 0;
    height: 30px;
    position: relative;
    left: 0;
    outline: none;
    border: 1px solid #cdcdcd;
    border-color: rgba(0, 0, 0, .15);
    background-color: white;
    font-size: 16px;
  }
  
  
  input[type=radio]{
      margin: 4px;
  }
*/


/* table */

table {
    width: 100%;
    border-collapse: collapse;
    /*margin:50px auto;*/
}

th {
    background: #3498db;
    color: white;
    font-weight: bold;
}

td,
th {
    padding: 10px;
    text-align: left;
    font-size: 18px;
}

td.actions a {
    margin: 3px;
}

/* Favorite sentences table */
#favorite-sentences thead th, #favorite-sentences thead td {
    font-weight: 600;
    font-size: 13px;
    color: #353535;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-bottom-width: 1px;
    border-top-width: 0;
    padding: 0 15px 5px;
    background: none;
}


@media only screen and (max-width: 1200px)  {
    
    #btns-row label { font-size: 16px !important; }
    .inputGroup label::after { right: 7px !important; }
    .inputGroup label { text-align: left !important; }
    .option h5.title { font-size: ; }
    #ttd_table th, #ttd_table td {
        font-size: 14px !important;
    }
}

/* Input checkboxes and lables */

#btns-row label {
    width: 100%;
    border: 1px solid #d7d7d7;
}

.inputGroup {
    background-color: #fff;
    display: block;
    margin: 10px 0;
    position: relative;
}

.inputGroup label {
    padding: 12px 30px;
    width: 100%;
    display: block;
    text-align: left;
    color: #3c454c;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;
}

.inputGroup label:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: '';
    background-color: #052d58;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
}

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: '';
    border: 1px solid transparent;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 2px 3px;
    /*border-radius: 50%;*/
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 400ms ease-in;
}

.inputGroup input:checked~label {
    color: #fff;
}

.inputGroup input:checked~label:before {
    transform: translate(-50%, -50%) scale3d(56, 56, 1);
    opacity: 1;
}


/* Input option 1 "Juzgado de Distrito" */

.inputGroup #option1:checked~label:after {
    background-color: #7c79fb !important;
    border-color: #7c79fb;
    /*25d3fb*/
    border-radius: 50%;
    filter: none;
}


/* Input option 2  "Tribunal Unitario de Circuito" */

.inputGroup #option2:checked~label:after {
    background-color: #25d3fb !important;
    border-color: #25d3fb;
    border-radius: 50%;
    filter: none;
}


/* Input option 3 "Tribunal Colegiado de Circuito" */

.inputGroup #option3:checked~label:after {
    background-color: #ffa700 !important;
    border-color: #ffa700;
    border-radius: 50%;
    filter: none;
}


/* Colums tipoOrganoJudicial top borders */


/* Column "Juzgado de Distrito" top border */

[data-tipoorganoindex="0"] {
    border-top: 3px solid #7c79fb;
}


/* Column "Tribunal Unitario de Circuito" top border */

[data-tipoorganoindex="1"] {
    border-top: 3px solid #ffa700;
}


/* Column "Tribunal Colegiado de Circuito" top border */

[data-tipoorganoindex="2"] {
    border-top: 3px solid #25d3fb;
}

.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}

.form {
    padding: 0 16px;
    max-width: 550px;
    margin: 50px auto;
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
}

body {
    background-color: #fff;
    font-family: 'Fira Sans', sans-serif;
}

.inputGroup label {
    text-align: center;
}


/* materiaOrganoJudicial separator */

.materiaOrganoJudicial {
    border-bottom: 1px solid;
    border-image: linear-gradient(to left, rgb(0 0 0 / 0%) 1%, rgb(195 195 195) 50%) 100% 0 100% 0/1px 0 0.5px 0px stretch;
}

.content {
    margin-left: 25px !important;
}


/* Custom inputs */

.custom-input {
    width: 100%;
    border: .5px solid #d6d6d6;
    border-radius: 5px;
    height: calc(1.5em + .75rem + 2px);
    padding: 10px;
}

.custom-input:hover,
.custom-input:focus,
.inputGroup label:hover,
.inputGroup label:focus,
.custom-select:hover,
.custom-select:focus {
    -webkit-box-shadow: 1px 1px 10px 2px #bfbfbf;
    -moz-box-shadow: 1px 1px 10px 2px #BFBFBF;
    box-shadow: 1px 1px 10px 2px #bfbfbf;
}

.custom-input:focus-visible {
    outline: none;
}

.custom-select:focus {
    border: none;
}


/* Results */

#results-container {
    display: none;
    padding-top: 2.5rem;
}

#ttd_table {
    background-color: white;
}

#ttd_table thead th p {
    font-size: 16px;
    color: #252525;
}

#ttd_table tbody td {
    font-size: 18px;
    text-align: center;
    color: black;
    vertical-align: middle;
}

#ttd_table th,
#ttd_table td {
    border-top: 1px solid #ccc;
}

#ttd_table_wrapper .top {
  display: grid; 
  grid-auto-columns: 1fr; 
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr; 
  gap: 0px 0px; 
  grid-template-areas: 
    "info dropdown search"; 
}

#ttd_table_info {
    grid-area: info;
    align-self: center;
}

#ttd_table_length {
    grid-area: dropdown;
}

#ttd_table_filter {
    grid-area: search;
}

.i-circle {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding-top: 7px;
}

.i-circle:hover {
    background-color: white;
    box-shadow: 0 2px 5px rgb(0 0 0 / 45%);
}

#ttd_table tbody tr td a:active {
    background-color: white;
}

.table-hover tbody tr:hover {
    background-color: rgb(144 144 144 / 19%);
}


/* Datatable styles */

#ttd_table_paginate .page-link {
    color: #13263e;
}

#ttd_table_paginate .page-item.active .page-link {
    background-color: #13263e;
    border-color: #13263e;
    color: white;
}

.feather-18 {
    width: 18px;
    height: 18px;
}

.custom-button {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    height: auto;
    line-height: 20px;
    color: #fff;
    width: 100%;
    font-size: inherit;
    font-weight: 400;
    padding: 8px;
    background: #03a9f4;
    border: solid #03a9f4 1px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    /* box-shadow: 0 4px 3px -3px gainsboro; */
    transition: all 0.3s ease 0s;
}

.custom-button:hover {
    background: #fff;
    color: #172b4d;
    border: solid #e4e4e4 1px;
    text-decoration: none;
    -webkit-box-shadow: 1px 1px 10px 2px #bfbfbf;
    -moz-box-shadow: 1px 1px 10px 2px #BFBFBF;
    box-shadow: 1px 1px 10px 2px #bfbfbf;
}

.custom-button:focus {
    outline: none !important;
}

#btn-custom-dt-search {
    width: 95px;
    margin-left: 5px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}


/* Modal styles(Información de expediente extraída del CJF) */

#Label4,
#grvAcuerdos tbody tr th:last-child,
#grvAcuerdos tbody tr td:last-child,
#grvReporteSentencias tbody tr th:last-child,
#grvReporteSentencias tbody tr td:last-child,
#btnCerrar,
input[value="Regresar"] {
    display: none;
}

#grvAsuntosRelacionados,
#lblNumResultado div {
    background-color: #03a9f4 !important;
}

hr {
    border: 0;
    height: 1.3px;
    background: #333;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, hsla(0, 0%, 0%, 0)), color-stop(50%, hsla(0, 0%, 0%, .75)), color-stop(100%, hsla(0, 0%, 0%, 0)));
    background: -webkit-linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsl(213deg 54% 28%) 50%, hsla(0, 0%, 0%, 0) 100%);
    background: -moz-linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsl(213deg 54% 28%) 50%, hsla(0, 0%, 0%, 0) 100%);
    background: -ms-linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsl(213deg 54% 28%) 50%, hsla(0, 0%, 0%, 0) 100%);
    background: -o-linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsl(213deg 54% 28%) 50%, hsla(0, 0%, 0%, 0) 100%);
    background: linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsl(213deg 54% 28%) 50%, hsla(0, 0%, 0%, 0) 100%);
}

.hidden {
    display: none;
}