@media only screen and (min-width: 500px) and (max-width: 954px){
    #header_content img{
        width:100%;
        min-height: 35px;
        height: unset;
        margin-bottom: 10px;
        margin-top: 100px;
    }
}

@media only screen and (max-width: 500px){
    #header_content img{
        width:100%;
        min-height: 35px;
        height: unset;
        margin-bottom: 10px;
        margin-top: 100px;
    }
    #about_content{
        background-position-y: 85px;
    }
    #header_line1{
        /*color:rgba(248,173,12,1);*/
        color:white;
        font-size:1.7rem;
    }
    #header_line2{
        /*color:rgba(248,173,12,1);*/
        color:white;
        font-size:1.2rem;
    }
    #header_line3{
        /*color:crimson;*/
        color:white;
        font-size:1.7rem;
    }
    #header_line4{
        /*color:rgba(248,173,12,1);*/
        color:white;
        font-size:1.2rem;
    }
    #header_lines {
      line-height: 24px;
      line-height: 30px;
      padding-top: 200px;
      padding-left: 20px;
      font-family: "roboto";
    }
}

/*
@media (max-width: 576px){
    #layout{
        width: 546px;
    }
    #header{
        max-width:546px;
    }
    .slide_block{
        width: 500px;
    }
    .timeline #col_middle ol li{
        width:275px;
    }
    
    .timeline #col_middle ol li:first-child{
        width:110px;
    }
    
    .timeline #col_middle ol li:nth-child(2n+1) div,
    .timeline #col_middle ol li:nth-child(2n) div
    {
        top: -3px;
        border-left: 1px solid black;
        background: transparent;
        transform: translateY(-100%);
        line-height: normal;
    }
    #col_middle{
        height: 350px;
        overflow-y: hidden;
        width: 350px;
        background-position: 0px 315px;
    }
    
}
*/

@media screen and (max-width: 599px) {
  .timeline #col_middle ol,
  .timeline #col_middle ol li {
    width: auto;
  }

  .timeline #col_middle ol {
    padding: 0;
    transform: none !important;
  }

  .timeline #col_middle ol li {
    display: block;
    height: auto;
    background: transparent;
  }

  .timeline #col_middle ol li:first-child {
    margin-top: 5px;
      margin-left: auto;
  }

  .timeline #col_middle ol li:not(:first-child) {
    margin-left: auto;
  }

  .timeline #col_middle ol li div {
    position: static;
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }

  .timeline #col_middle ol li:nth-child(odd) div {
    transform: none;
  }

  .timeline #col_middle ol li:nth-child(odd) div::before,
  .timeline #col_middle ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px;
  }

  .timeline #col_middle ol li:last-child,
  .timeline #col_middle ol li:nth-last-child(2) div::before,
  .timeline #col_middle ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none;
  }
    
    #arrow_left{
        display: none;
    }
    #arrow_right{
        display:none;
    }
    .gradient_overlay{
        background:none;
    }
    
    #col_middle{
        background-image:none;
    }
}