@import url('http://fonts.cdnfonts.com/css/barlow');
@import url('http://fonts.cdnfonts.com/css/quattrocento');
@import url('http://fonts.cdnfonts.com/css/roboto');
@import url('http://fonts.cdnfonts.com/css/quattrocento-sans');


/* INDEX TOPICS */
.image-0, .image-3{
  border-style: none;
  border-width: 0px;
}

.image-1, .image-4{
  border-style: none;
  border-width: 0px;
}
.image-2, .image-5{
  border-style: none;
  border-width: 0px;
}

.img-container{
  position:relative;
  display:inline-block;
  padding:0 !important;
}
.img-container .overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgb(0,0,0);
  opacity:0;
  transition:opacity 500ms ease-in-out;
}
.img-container:hover .overlay{
  opacity:0.7;
}
.overlay span{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:#FF947D !important;

}
a .overlay{
  color:#FF947D !important;
  font-size:20px;
  text-align: center;
  padding-top:110px;
}

/* modal */
#relation-type .modal-content{
  background-color: #f8f9fa;
}
/* ALERT */
.alert{
  margin-top: 20px;
  margin-bottom: 10px;
}

.error{
  color: #fff;
}

.fractalis-pink{
  background-color:#FF947D;
  color: #FFF;
}

.fractalis-grey{
  background-color:#222;
  color: #FFF;
}

.custom-control-input:checked~.custom-control-label::before {
  border-color: #FF947D !important;
  background-color: #FF947D !important;
}
.custom-control-label{
  padding-right:10px;
}

.slider-handle{
  background:#FF947D !important;
}

#topics .card{
  padding:0;
}

.fractalis-pink-text{
  color:#FF947D;
}

.dataTables_filter *{
  color:#555 !important;
}

.page-item.active .page-link {
    background-color: #FF947D;
    border-color: #FF947D;
}

.page-link {
    color: #FF947D;
}

/* MAIN */
.fractalis-orange{
  background-color: rgba(256,102,102,1) !important;
}

.fractalis-grey2{
  background-color: #333 !important;
}

.fractalis-black{
  background-color: rgba(255,148,125,0.5);
}

#Table3 label{
  color: #333;
}

label{
  color: #fff;
}

#principal canvas{
  margin-top: -300px;
}
.particle-network-animation {
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;


  &::before {
    z-index: -2;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    // background-image: url(http://web.frfr.me/dev/world-map-optimized.jpg);
    background-position: center center;
  background-size: cover;
    opacity: 0.2;
  }
}
.glow {
  z-index: -1;
  position: fixed;
  top: 50%;
  left: 50%;
  background-image: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.025), transparent);
}
$duration: 25s;
.glow-1 {
  width: 150vw;
  height: 150vh;
  margin-top: -75vh;
  margin-left: -75vw;
  animation: glow-1-move $duration linear infinite both;
}
@keyframes glow-1-move {
  from {
    transform: translate(-100%, 100%);
  }
  to {
    transform: translate(100%, -100%);
  }
}
.glow-2 {
  width: 100vw;
  height: 100vh;
  margin-top: -50vh;
  margin-left: -50vw;
  animation: glow-2-move $duration linear $duration / 3 infinite both;
}
@keyframes glow-2-move {
  from {
    transform: translate(-100%, 0%);
  }
  to {
    transform: translate(100%, 100%);
  }
}
.glow-3 {
  width: 120vw;
  height: 120vh;
  margin-top: -60vh;
  margin-left: -60vw;
  animation: glow-3-move $duration linear $duration / 3 * 2 infinite both;
}
@keyframes glow-3-move {
  from {
    transform: translate(100%, 100%);
  }
  to {
    transform: translate(0%, -100%);
  }
}

nav.menu{
  max-width:1100px;
  margin:0 auto;
}

.center{
  text-align: center;
}

#fractalis-logo{
  /* El logo Fractalis Prisma es 4:1 (1840x460): con 72px de alto ocupa ~288px de
     ancho, el mismo espacio que el logo anterior, sin empujar el menú. */
  height:72px;
  max-width: 100%;
}

#navbarNav{
  margin-left: auto;
}

#navmenu{
  margin-left: auto !important;
  z-index: 999;
}

.no-bullets{
  list-style-type: none;
  padding:0;
}

/* LOGIN */

#login{
  width:100%;
  margin-bottom:20px;
  background-size: cover !important;
  background-position: bottom !important;
}

/* INDEX */
#principal{
  width:100%;
  height:400px;
  background-size: cover !important;
  background-position: bottom !important;
  background-color: rgba(43,43,43,0.8);
}

#video{
  width:100%;
  background-color: #000;
  background-size: cover !important;
  background-position: bottom !important;
}
video {
  /* override other styles to make responsive */
  width: 100%    !important;
  height: auto   !important;
}

#secundario{
  width:100%;
  background-color: #222;
  background-size: cover !important;
  background-position: bottom !important;
  padding-top:40px;
  padding-bottom:40px;
}
#secundario h1{
  color:#FF947D;
}
#secundario h4{
  color:#BBB;
  font-size: 18px;
}

#terceario{
  width:100%;
  background-size: cover !important;
  background-position: bottom !important;
  padding-top:60px;
  padding-bottom:60px;
}

#principal div{
  margin: 0 auto;
  text-align: center;
}

#terceario div{
  margin: 0 auto;
  text-align: justify;
}

#terceario p{
  font-size: 20px;
}

.title1 {

}

.title1 h1 {
    color: #fffbb1;
}

.title1 p{
    color: #fff9fd;
    font-size: small;
}

.border-left {
    border-left: 2px solid #FFF !important;
}

.border-right {
    border-right: 2px solid #FFF !important;
}

.bloque4, .bloque11 {
    background-color: #F2DB52;
}
.fractalis-yellow{
  background-color: #F2DB52;
}

.fractalis-blue{
  background-color: #6dc8ae;
}

.bloque2, .bloque3, .bloque4, .bloque5, .bloque6 {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    padding-top:20px;
    padding-bottom:20px;
}
.bloque4 .col-sm-6 {
    padding-left: 0;
    padding-right: 0;
}
.border-right {
    border-right: 2px solid #FFF;
}
.first {
    height: 500px;
    background-size: cover !important;
    background-position: bottom;
    font-size: 300px;
    font-weight: bold;
    padding-top: 40px;
    text-align: center;

}

.first-text {
    height: 500px;
    display: table-cell;
    vertical-align: middle;
}

.first-text h4 {
    color: #333;
    letter-spacing: 2px;
    font-weight: bold;
}

.first-text p {
    color: #333;
}

.bloque5, .bloque12 {
    background-color: #6dc8ae;
}

.second {
    height: 500px;
    background-size: cover !important;
    background-position: bottom;
    font-size: 300px;
    font-weight: bold;
    padding-top: 40px;
    text-align: center;
}

.second-text {
    height: 500px;
    display: table-cell;
    vertical-align: middle;
}

.second-text h4 {
    color: #333;
    letter-spacing: 2px;
    font-weight: bold;
}

.second-text p {
    color: #333;
}

.bloque6 {
    background-color: #f9d9cc;
}

.third-text {
    height: 500px;
    display: table-cell;
    vertical-align: middle;
}

.third-text h4 {
    color: #333;
    letter-spacing: 2px;
    font-weight: bold;
}

.third-text p {
    color: #333;
}

.third {
    height: 500px;
    background-size: cover !important;
    background-position: bottom;
    font-size: 300px;
    font-weight: bold;
    padding-top: 40px;
    text-align: center;
}

/* PROFILE */
#profile-picture{
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
}


#new-password{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* TOPIC */
#new-topic{
  padding-bottom: 30px;
}

#list-topics{
  max-width:1100px;
  margin: 0 auto;
  padding-bottom: 30px;
}

/* DATATABLE */
#topics_length,#topics_filter,#topics_info{
  color: white;
}

/* FOOTER */

.fr-footer {
  width:100%;
  background-color: #f5f5f5 !important;
  background-size: cover !important;
  background-position: top !important;
  vertical-align: middle;
  margin: 0px;
  padding: 20px;
  padding-top: 150px;
  padding-bottom: 150px;
  overflow: hidden;
  text-align: center;
}

#footer-logo{
    display: inline-block;
    vertical-align: middle;
    float: none;
    text-align: center;
    width: 100%;
}

#footer-logo, #footer-social, #footer-sponsor{
  margin-top: 50px;
}

.row{
  margin-left: 0px !important;
  margin-right: 0px !important;
}

#tw2, #fb2{
  cursor: pointer;
}

/* NETWORK */
.toolbox-container{
  position:absolute;
  z-index: 9999;
  margin-left:20px;
  margin-top:20px;
}
.toolbox-container>p>a{
  border-radius: 50%;
  background-color: #FE8978;
}

.social-container{
  position:absolute;
  z-index: 9999;
  right:20px;
  bottom: 10px;
  cursor: pointer;
}
.social-container a{
  font-size:20px;
}
.zoom-container{
  position:absolute;
  z-index: 9999;
  right:20px;
  margin-top: 20px;
  cursor: pointer;
}

.zoom-container a{
  font-size:20px;
}

.concept{
  height:26px;
  cursor:pointer;
  font-size: 16px;
  font-weight: lighter;
  margin-right: 10px;
}
#edges, #communities, #edges2 {
  margin-left:24px;
}
#communities label{
  margin-right:10px;
}

#options{
  width:250px;
}

.badge{
  margin-bottom: 5px;
}

#toolbox,#toolbox2{
  position:absolute;
  width:300px;
  z-index: 99;
  background-color: #F1F1F1;
}

#toolbox .card,#toolbox2 .card{
  background: none !important;
  border: 0 !important;
}

#toolbox .slider.slider-horizontal,#toolbox2 .slider.slider-horizontal {
  width: 180px;
}

#toolbox .filter-input-size,#toolbox2 .filter-input-size{
  width:30px;
  display:inline-block;
}

#view-topic .col-sm-12{
  padding: 0 !important;
}

#graph-container,#graph-container2{
  background-color: #333;
}

#graph-container *,#graph-container2 *, .zoom-container *{
  color: #fff;
}

#graph,#graph2{
  width:100%;
  height:700px;
}


.concepts{
  height:700px;
  padding-top:30px;
  padding-bottom:30px;
  overflow-y: auto;
}
#concepts_used{
  padding: 5px 5px;
  background-color:#9C9C9C;
  font-size:30px;
  color:white;
  width:60px;
  text-align:center;
  border-radius: 50%;
}

.slider{
  margin-left:10px;
  margin-right:10px;
}

#layout_filter{
  padding: 0;
}

#layout_filter .custom-control-input{
  position:relative;
  margin-left: 20px;
  margin-top: -3px;
}

#directed{
  display:inline-block;
}

/* modal */

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-body {
  position:relative;
  padding:0px;
}
.close {
  position:absolute;
  right:-30px;
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color:#fff;
  opacity:1;
}

#help{
  animation-duration: 1500ms;
   animation-name: blink;
   animation-iteration-count: infinite;
   animation-direction: alternate;
}
@keyframes blink {
   from {
      opacity: 1;
   }
   to {
      opacity: 0;
   }
 }

 #myVideo {
   right: 0;
   bottom: 0;
   min-width: 100%;
   max-height: 100px;
   z-index: -100;
   padding: 0 !important;
 }

.right{
  float:right;
}

.terceario, .bloque4, .bloque5, .bloque6{
  font-family: "quattrocento sans";
  font-size: 22px;
}

.bloque4 h4, .bloque5 h4, .bloque6 h4, .first, .second, .third{
  font-family: "barlow";
}

.bloque4 h4, .bloque5 h4, .bloque6 h4{
  font-size: 40px;
}

h1, h3, a{
  font-family: "barlow" !important;
}

p{
  font-family: "quattrocento sans" !important;
}

/* Contenedores con fondo animado de red (network-bg.js) */
.network-bg,
[data-network-bg] {
  position: relative;
  overflow: hidden;
}

/* Menús desplegables del nav (MACRO TEMAS, TU PERFIL) */
.menu .dropdown-menu {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 8px;
  margin-top: 10px;
  min-width: 240px;
}

.menu .dropdown-menu.show {
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.menu .dropdown-item i {
  color: #fe8978;
  width: 22px;
  text-align: center;
  margin-right: 8px;
}

.menu .dropdown-item:hover,
.menu .dropdown-item:focus {
  background-color: rgba(254, 137, 120, 0.18);
  color: #fe8978;
  padding-left: 18px;
}

/* Flechita del toggle girada al abrir */
.menu .nav-link.dropdown-toggle::after {
  transition: transform 0.2s ease;
  vertical-align: middle;
}
.menu .nav-item.show .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}
