/*Variables*/
:root{
    --color-primary: #47aeb7;
    --color-text: #666;
    --font-main: Roboto-bold;
    --font-text: Open-sans-regular;
    --color-pink: #ff1493;
}
/* Main settings */
/*Reset*/
* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-text);
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.9;
}
@font-face{
    font-family: Roboto-bold;
    src: url('../fonts/Roboto-Bold.ttf');
    font-display: swap;
}
@font-face{
    font-family: Roboto-regular;
    src: url('../fonts/Roboto-Regular.ttf');
    font-display: swap;
}
@font-face {
    font-family: "Open-sans-regular";
    src: url('../fonts/OpenSans-Regular.ttf');
    font-display: swap;
}

body{
    background-color: #F6EFEF;
}

h1, h2, h3 h4, h5, h6{
    font-family: var(--font-main);
}
h1{
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight:300;
}
h2{}

/* HOME */
.home-title{
    width: 100%;
    margin-bottom: 60px;    
    margin: 0 auto;
}
.home-title h1{
    font-family: var(--font-text);
    color: #0E0F0F;
    font-size: 3em;
    height: auto;
    line-height: 1;
}
.home-sub-title{}
.home-description{
    font-size: 1.6rem;
    text-align: right;
    /*margin: 0 0 35px 0;*/
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    padding-right: 2%;
}
.home-title h2{
    font-family: var(--font-text);
    color: #0E0F0F;
    font-size: 2.2em;
    height: auto;
    line-height: 1;
}
.home-categories, .txt-box{
    border: 1px solid #47aeb7;
    border-radius: 5px;
    margin-bottom: 50px;
    padding: 15px;
    margin-top:30px;
}
/* END HOME */

.post-content-single a{
    color: var(--color-primary);
}
.post-content-single a:hover{
    color: var(--color-text)
}
/* END Main settings */

/* Layout settings */

/* CONTENT */
main{
    max-width: 1152px;
    min-width: 240px;
    min-height: 100px;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    padding: 4%;
    padding-top:1%;
    position: relative;
}

/* ------------------------------ */
/* POST LIST */
.post-container{
    display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}
.border {
	font-size: 1.6rem;
	display: grid;
	place-items: center;
	min-height: 200px;
	border: 8px solid;
	padding: 1rem;
}
.post-excerpt-content{
    width: 480px;
    margin: 1%;;
    padding: 1%;
    margin-bottom: 2%;
    flex-grow: 999;
    transition: box-shadow 0.3s ease-in-out;
}
.post-excerpt-content:hover{
    border-radius: 2%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.post-excerpt-content:first-child{
  box-sizing: border-box;
  $border: 5px;
  color: #FFF;
  background-clip: padding-box;
  border: solid $border transparent;
  border-radius: 1em;
  border: 18px ridge #F945A5;
  background: #161618;

  background: rgb(22,22,24);
  background: linear-gradient(90deg, rgba(22,22,24,1) 0%, rgba(22,22,24,1) 35%, rgba(106,9,117,1) 100%)
}
/* ----------------------------------------------------- */
.post-excerpt-content:nth-child(5n) {
  /*black color*/
  box-sizing: border-box;
  $border: 5px;
  color: #FFF;
  background: #000;
  background-clip: padding-box;
  border: solid $border transparent;
  border-radius: 1em;
}
.post-excerpt-content:nth-child(5n) .post-excerpt-image a{
    width: 100%;
}
.post-excerpt-content:nth-child(5n) .post-excerpt-image a img{
    margin: auto;
    display:block;
    width: 100%;
}    
    
.container::before, .container::after {
  content: '';
  width: 100%;
  order: 1;
}
.post-excerpt-content:nth-child(n + 4) {
  order: 1;
}
.post-excerpt-content:nth-child(n + 7) {
  order: 2;
}
.post-excerpt-content-sub{
    min-height: 320px;
}
.post-excerpt-title{
    color: var(--color-primary);
    height: auto;
    width: auto;
}
.post-excerpt-title h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 32px;
    margin: 0 0 2%;
    text-align: center;
}
.post-excerpt-title h2 a{
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 2rem;
}
.post-excerpt-title a{
    color: var(--color-primary);    
}
.post-excerpt-title a:hover{
    color: var(--color-text)
}
.post-excerpt-image{
    display: flex;
    flex-direction:row;
    height: fit-content;
    /*border: 1px solid #eae3e3;*/
}
.post-excerpt-image img{
    width: 100%;
    margin: 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 5px;
    border: 1px solid #eae3e3;
}
@media screen and (max-width: 600px) {
    .post-excerpt-image img{
        /* Aspect ratio*/
        aspect-ratio: 16/9;
        width: 100%;
        object-fit: cover;
    }
}
figure{
    width: 100%;
    margin: 0 0 2% 0;
    border-radius: 5px;
    margin-bottom: 2%;
}
figcaption, figcaption em{
    color: inherit;
    font-size: 0.8rem;
    line-height: 0.87rem;
    text-align: center;
}
.post-excerpt-categories {
    border-top: 1px solid var(--color-text);    
    border-bottom: 1px solid var(--color-text);
    margin: 0 auto;
}
.categories-home {
    margin: 0 auto;
    border: 0;
    padding-top: 15px;
}
/* END POST LIST */

.post-excerpt-categories .btn-cat, .categories-home .btn-cat {
    display:inline-block;
    font-size: 0.9em;
    margin: 5px 5px 5px 2px;
    text-align: center;
    text-decoration: none;
    background-color: #f945a5;
    color: #F6EFEF;
    border-radius: 4px;
    padding: 0 10px 0 10px;
    border: 1px solid #161618;
}
.btn-cat a{
    text-decoration: none;
    padding: 5px;
}
.btn-cat:hover{
    -webkit-box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);
    -moz-box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);
    box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);
}
.btn{

    display:inline-block;
    padding:5px;
    margin: 5px;
    text-align: center;
    text-decoration:none;
    background-color: #f945a5;
    color: #F6EFEF;
    border-radius: 4px;
    margin-left: 2px;
}
.btn a{
    text-decoration: none;
    padding: 5px;    
}
.btn:hover{
    -webkit-box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);
    -moz-box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);
    box-shadow: 2px 2px 2px 0px rgba(201,190,189,1);   
}
.post-excerpt-hr{
    margin: 4%;
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999
}

/* SINGLE POST*/
.post-container-single{
    width: 100%;
}
.post-content-single{
    margin: 1%;
    padding: 1%;
}
/* IMG INTO POST */
.post-content-single img{
    display:block;
    width: 100%;
    border: 1px solid #eae3e3;
    margin: 2% auto 2% auto;
}
.post-container-single div h1 div{
    text-align: center;
    font-family: var(--font-text);
    color: #0E0F0F;
    margin: 2%;
    font-size: 2.2rem;
    line-height: 3rem;
    font-weight: 300;
}
.post-container-single h2 div{
    font-family: var(--font-text);
    color: #0E0F0F;
    margin:15px auto;
    font-size: 1.6rem;
    line-height: 2.75rem;
    font-weight: 300;
}
.post-container-single h3 div{
    font-family: var(--font-text);
    font-size: 1.4rem;
    line-height: 2;
    color: #0E0F0F;
    margin:15px auto;
    font-weight: 300;
    /*text-decoration:underline;*/
}
.post-container-single h4 div{
    font-family: var(--font-text);
    font-size: 1.2rem;
    line-height: 1.8;
    color: #0E0F0F;
    margin:15px auto;
    font-weight: 300;
}
.post-container-single ul{
    padding-left: 15px;
}
/* END SINGLE POST*/

/* CATEGORIES */
.category-description{    
    position: relative;
    color: var(--color-text);
    max-height: 5%;
}
blockquote, .category-content {
    background: #161618;
    color:#47aeb7;
    border-left: 10px solid #f945a5;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";        
    padding-bottom: .5rem;
    border-radius: 5px;
}
blockquote:before, .category-content:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}
blockquote:after, .category-content:after {
    color: #ccc;
    content: close-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}
blockquote p, .category-content p {
    display: inline;
}
/* END CATEGORIES*/

/* Pagination blog */
.pagination{
    margin-top: 30px;   
}
.pagination a {
    border-radius: 5px;
    color: var(--color-primary);
}
.pagination a.active {
    border-radius: 5px;
}
.pagination a:hover {
    color: var(--color-text);
}
/* END Pagination blog */

/* FOOTER */
footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #161618;
    width: 100%;
}
footer .footer-copy{
    width: 30%;
    margin: 2%;
}
footer .footer-links{
    width: 30%;
}
footer .footer-links a{
    color:#f945a5;
    font-family: var(--font-text);
}
footer .footer-btn-top{}
/* END FOOTER */

/* END COMMENTS POST */
#comments{
    margin: 5% 0;
}
.comment-container-single{
    width: 100%;
}
.comment-details{
    color: var(--color-pink);
}
.comment-content-single{
    margin: 1%;
    padding: 1%;
    margin-bottom: 5%;
    border-bottom: 1px dotted;
    min-height: 150px;
    min-height: 200px;
}
.comment-content-single div{
    /*color: blue;*/
    font-size: 1rem;
    line-height: 1.9;
}
.comment-content-single .comment-text{
    padding-bottom: 0px;
}
/* END COMMENTS POST */

/* ------------------------------------------------- */
/* FORM REPLY */
.collapse{
    cursor: pointer;
    display: block;
    text-decoration: underline;
    float:right;
    /*border: 1px solid red;*/
}
  .collapse + input{
    display: none; /* hide the checkboxes */
  }
  .collapse + input + div{
    display:none;
  }
  .collapse + input:checked + div{
    display:block;
  }

.form-reply textarea{
    width: 100%;
    height: 150px;
}
.form-reply{
    background: #e2dcdc;
    padding: 5px;
    border: 1px solid #d3cfcf;
}
/* END FORM REPLY */
/* ------------------------------------------------- */

/* COMMENTS FORM */
#sectionCommentsForm{
    border: 1px solid #eae3e3;
    margin: 1%;
    padding: 1%;
}
#sectionCommentsForm textarea{
    width: 100%;
    height: 150px;
}
#sectionCommentsForm a{
    color: var(--color-primary);
}
#sectionCommentsForm a:hover{
    color: var(--color-text)
}
/* END COMMENTS FORM */


/* GENERAL TEXT */
.txt-pink{
    /*color: #ff1493;*/
    color: var(--color-pink);
}
.txt-big{
    font-family: var(--font-text);
    color: #0E0F0F;
    font-size: 2.2em;
    height: auto;
    line-height: 1;
}
/* END GENERAL TEXT */

/* LISTS */
.list{
    display:flex;
    flex-direction: column;
    border: 1px solid var(--color-text);
    width: 50%;
    list-style-type: none;
}
.list li{
    padding: 15px;
    width: 100%;
    border-bottom: 1px solid var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
ol {
  counter-reset: section;
  list-style-type: none;
  margin-left: 0.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
ol li {
    /*margin-top: -5px;*/
}
ol li::before {
  counter-increment: section;
  content: counters(section, ".") ". ";
}
ol li ol{
    margin-left: 25px;
}
/* END LISTS */

.btn-detail{
    background-color: var(--color-primary);
    color: white;
}
.btn-detail:hover{
    background-color: white;
    color: var(--color-primary);
}
.btn-edit{
    background-color: #ffce00;
    color: white;
}
.btn-edit:hover{
    background-color: white;
    color: #ffce00;
}
.btn-delete{
    background-color: #a10e2e;
    color: white;
}
.btn-delete:hover{
    background-color: white;
    color: #a10e2e;
 }
.search{
    margin: 20px;
    width: 50%;
}
.search-bar{
    padding: 10px;
    width: 80%;
}
.btn-search{
    width: 19%;
    background-color: var(--color-primary);
    color: white;
    outline: none;
    border: 0;
    box-shadow: 0;
    cursor:pointer;
}
.btn-search:hover{
    background-color: white;
    color: var(--color-primary);
}
.alert-success{
    width: 100%;
    padding: 10px;
    background-color: rgb(22, 158, 112);
    color: white;
}
/* END Layout settings */

/* Index settings*/
.cards{
    display: flex;
    justify-content: space-around;
    border: 1px solid red;
}
.card{
    width: 250px;
    height: 250px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    margin: 20px;
    background-color: var(--color-primary);
}
.card:hover{
    background-color: var(--color-text);
}
.by-initial{
    margin: 20px;
}
/* End Index settings*/

/* NEW STYLES TOC */
#toc{
    margin: 5% auto;
    padding: 0;
    border: 1px solid #47aeb7;
    border: 1px solid #161618;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#toc li{
    padding: 0px;
    margin: 1% auto;
    margin-left: -5px;
}
#toc li a{
    font-family: var(--font-text);
}
#toc li a:hover{
    /*color: red;*/
    font-size: 1em;
    color: var(--color-pink);
}
#toc .item1 {
    width: 100%;
    margin: 0 auto;
    font-weight: 300;
    background-color: #232323;
    color: #F6EFEF!important;
    text-align: center;
    list-style: none;
    font-size: 1.2em;
    font-family: var(--font-text);
    border-bottom: 3px solid var(--color-pink);
    border-radius: 0% 0% 60% 0%;
    /*box-shadow: rgba(0, 0, 0, 0.84) 0px 1px 4px;*/
    margin-bottom: 2%;
    padding: 0.5%;
}
#toc li:nth-child(odd) {
    color: var(--color-primary);
}
#toc li:nth-child(even) {
  color: var(--color-pink);
}
#toc ul li{
    list-style: none;
}
#toc ul li ul li{
    list-style: square;
}
#toc ul li ul{
    margin-top: -5px;
}
/* END NEW STYLES TOC */


/* To code in html */
code, pre{
    font-family: "Source Code Pro", "Consolas";
    font-size: 0.8rem;
    line-height: 1.7;
    background-color: #161618;
    color: #D3D3D3;
    border-radius: 5px;
    border: 2px solid #6a6a72;
    margin: 1.5em 0 10px;
    padding: 0.5em 10px;
    height: calc(100% - 64px);
    overflow-y: auto;
}
pre > * {
    font-family: "Source Code Pro", "Consolas";
    font-size: 0.8rem;
    line-height: 1.7;
}
pre span.i1, .txt-orange {color: #ff7d27;}
pre span.c1, .txt-blue {color: #66D9EF;}
pre span.c2, .txt-yellow {color: #D6CC6C;}
pre span.c3, .txt-orange-light {color: #aa4926;}
pre span.r1, .txt-grey {color: #a1a1a3;}
pre span.g1, .txt-green {color: #00A67D}
/* END To code in html */


/* *********** CSS Mobile *********** */
@media screen and (max-width: 600px) {
    .home-title{
        margin-top: 15px;
    }

}
/* END CSS Mobile*/

/* Breadcrumps */
.breadcrumb {
    /*centering*/
	display: inline-block;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	/*counter-reset: flag;*/
	background-color: #161618;
}
.breadcrumb a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 36px;
	color: white;
	padding: 0 10px 0 30px;
	background: #333;
	background: linear-gradient(#333, #111);
	position: relative;
	font-family: arial, verdana;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumb a:first-child {
	padding-left: 46px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb a:first-child:before {
	left: 14px;
}
.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*hover/active styles*/
.breadcrumb a.active, .breadcrumb a:hover{
	background: #111;
	background: linear-gradient(#333, #111);
}
.breadcrumb a.active:after, .breadcrumb a:hover:after {
	background: #222;
	background: linear-gradient(145deg, #333, #222);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0;
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 36px;
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's:
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #555;
	background: linear-gradient(135deg, #777, #333);
	/*stylish arrow design using box shadow*/
	box-shadow:
		2px -2px 0 2px rgba(0, 0, 0, 0.4),
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
	box-shadow:
		5px -2px 0 2px var(--color-pink),
		5px -3px 0 2px var(--color-pink);
}
/*we dont need an arrow after the last link*/
.breadcrumb a:last-child:after {
	content: none;
}
/*we will use the :before element to show numbers*/
.breadcrumb a:before {
	border-radius: 100%;
	width: 20px;
	height: 20px;
	line-height: 20px;
	margin: 8px 0;
	position: absolute;
	top: 0;
	left: 30px;
	background: #333;
	background: linear-gradient(#333, #300);
	font-weight: bold;
}
.flat a, .flat a:after {
	background: #161618;
	color:#eee;
	transition: all 0.7s;
	margin: o auto;
}
.flat a:before {
	background: var(--color-primary);
	box-shadow: 0 0 0 1px #00c;
}
.flat a:hover, .flat a.active,
.flat a:hover:after, .flat a.active:after{
	background: #3b5998;
}

.hr-breadcrumps{
}
hr.sep-1 {
  position: relative;
  display: block;
  margin-top: 4em;
  margin-bottom: 4em;
  height: 3px;
  border:none;
  background: linear-gradient(to right, transparent 50%, #F6EFEF 50%), linear-gradient(to right, #00b9ff, #59d941);
  background-size: 1.5rem, 100%;
  margin-top: 0;
}
hr.sep-2 {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, #B5136C, #47AEB7, #A62EC5, #F6EFEF);
  padding: 2px;
}
/* END Breadcrumps */

/* CONTACT */
/* CONTACT ESTÁ SIN USAR */
.contact{}
.contact .link{color: #F945A5;}

.gg-mail{
    border: 1xp solid green;
    width: 100%;
}
.gg-mail,
.gg-mail::after {
    display: block;
    box-sizing: border-box;
    height: 14px;
    border: 2px solid #F945A5;
}

.gg-mail {
    overflow: hidden;
    transform: scale(var(--ggs,1));
    position: relative;
    width: 18px;
    border-radius: 2px;
}
.gg-mail::after {
    content: "";
    position: absolute;
    border-radius: 3px;
    width: 14px;
    transform: rotate(-45deg);
    bottom: 3px;
    left: 0;
}
/* END CONTACT ESTÁ SIN USAR */
.contact-links-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.contact-links-container img{border:none}
.contact-links-item:nth-child(1) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}
.contact-links-item:nth-child(2) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}

.contact-links-item:nth-child(3) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}
.contact-links-item{
    width: 100%;
    padding: 5px;
    border: 1px solid #e5dede;
    border-radius:5px;
}
/* END CONTACT */

/* PAGES */
.pages.link{
    color: var(--color-primary);
}
.pages.link:hover {
    color: var(--color-text);
}
h2.pages{
    font-family: var(--font-text);
    font-size: 1.6rem;
    line-height: 2.2;
    color: #0E0F0F;
    margin:15px auto;
}
/* END PAGES */

/*TABLES*/

/* ADD div container to table*/
.table-container{
    overflow-x:auto;
}
table thead{
	background-color: #161618;
}
table tbody tr:nth-child(odd) {}
table tbody tr:nth-child(even) {
	background: #e2dede;
}
table thead, table thead tr td strong {
  background: #444;
  color: #D3D3D3;
  font-size: 18px;
}
table {
	border-collapse: collapse;
	width: 100%;
}
table td { padding: 5px;}
/*END TABLES*/

/* LISTS */
.post-content-single ul {
    margin: 2%;
}
.post-content-single ul li {
    margin: 2%;
}
/* END LISTS*/