.content {
  max-width: 1500px;
  width: 100%;
  margin: 50px auto;
  padding: 0 35px;
}

#graph_wrap {
  position: relative;
  /*max-width: 1200px;*/
  width: 100%;
  margin: 0 auto;
  height: 900px;
  /*height: 1000px;*/
  text-align: left;
  max-width: 900px;

/*  border: 1px solid;
  border-radius: 50%; */
}

#graph_wrap .graph_item {
  cursor: pointer;
  z-index: 5;
  display: inline-block;
  /*width: 70px;*/
  /*height: 70px;*/
  border: 2px solid #b0aec7cc;
  border-radius: 50%;
/*  overflow: hidden;
*/  transition: all 0.2s;
}

.graph_item.center,
.wrap_item {
    position: relative;
    width: 50px;
    height: 50px;
}

.for_scale {
    /*border: 2px solid #b0aec7cc;*/
    /*border-radius: 50%;*/
    height: 100%;
}

.rel_name {
    text-shadow: 2px 1px 1px black;
    font-size: 11px;
    /*display: inline-block;*/
    line-height: 1;
    color: white;
    z-index: 99;
    position: relative;
    display: none;
    text-align: center;
    background-color: transparent!important;

/*    position: absolute;
    bottom: -100%;  */
}

.rel_name:hover {
    color: white;
}

#graph_wrap .graph_item:nth-child(even) .inner_item {
  background-color: green;
}

#graph_wrap .graph_item.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#graph_wrap .inner_item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  font-weight: bold;
  color: white;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  background-color: red;
  overflow: hidden;

}

#graph_wrap .inner_item img {
  max-width: 100%;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

#graph_wrap svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#line {
  stroke-width: 2px;
  stroke: #b3b3b3;
  /*stroke: #b3b3b3;*/
}

.overlay_graph {
  position: absolute;
  width: calc(100% + 120px);
  height: calc(100% + 80px);
  z-index: 0;
  top: 0;
  left: 0;
  transition: all 0.2s;
  transform: translate(-60px, -40px);
}

.overlay_graph.show {
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.8);
}

@media ( max-width: 768px ) {
    
    .content {
        padding: 0;
    }

    #graph_wrap {
/*        padding: 50px 0;
            box-sizing: content-box;*/
    }

    #graph_wrap {
        height: 600px;
        width: 600px;
    }

    .relations_css .content {
        overflow: scroll;
    }

    #graph_wrap .graph_item.center,
    #graph_wrap .wrap_item {
        width: 40px;
        height: 40px;
    }

    #line {
        stroke-width: 1px;
    }

   /* #graph_wrap .inner_item {
        pointer-events: none;
    }

    #graph_wrap .graph_item.opened .inner_item {
        pointer-events: all;
    }*/

    .close_overlay {
        font-size: 16px;
        color: white;
        line-height: 1.5;
        text-align: center;
        text-decoration: underline;
        z-index: 11;
        position: relative;
    }

}

.eluidec22da6e .action_box-button{ 
  display: none;
}