.modal_custom
{
  opacity: 1;
  position: fixed;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
span.custom_product_chart_show {
    font-family: "trade_gothic_lt_stdBdCnno.20",sans-serif;
}
.modal-content {
    position: relative;
    width: 591px;
    /* background-color: #fff; */
    /* -webkit-background-clip: padding-box; */
    /* background-clip: padding-box; */
    /* border: 1px solid #999; */
    /* border: 1px solid rgba(0,0,0,.2); */
    /* border-radius: 6px; */
    margin: 0 auto;
    /* outline: 0; */
    /* -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5); */
    /* box-shadow: 0 3px 9px rgba(0,0,0,.5); */
}
.modal-body {
    position: relative;
/*     padding: 15px; */
}
.modal-content img{ 
 width: 591px;
 
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
    margin-top: -2px;
}
button.custom_product_chart_close {
    position: absolute;
    right: -60px;
    /* width: 10px; */
    /* height: 23px; */
    top: -20px;
    background: none;
    font-size: 30px;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.modal_custom{background: rgba(0, 0, 0, 0.65);}
.modal_custom .modal-dialog {
   position: relative;
   width: 100%;
   margin: 2% auto 0;
   max-width: 780px;
   text-align: center;
}
.modal_custom .modal-dialog .modal-header, .modal_custom .modal-dialog .modal-footer {
   text-align: right;
   padding: 10px;
}
/* .modal-dialog{
    overflow-y: initial !important
}
.modal-body{
   max-height:600px;
    overflow-y: auto;
} */
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
 .modal_custom .modal-dialog {
    position: relative;
    width: 80%;
    margin: 20% auto 0;
    max-width: 780px;
    text-align: center;
}
  .modal-content img {
    width: 100%;
}
  .modal-content {
    position: relative;
    width: 100%;
  }
}


div#myModal2 .modal-content img {
   width: 660px;
}
div#myModal2 .modal-body {
   position: relative;
   overflow: auto;
}
div#myModal2 .modal-content {
   position: relative;
   width: 660px;

}
div#myModal2 .modal-dialog {
   max-width: 660px;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
div#myModal2 .modal-content {
   position: relative;
    width: 100%;
    height: auto;
}div#myModal2 .modal-body {
   position: relative;
   height: auto;
   overflow: auto;
}
div#myModal2 .modal-content img {
   width: 100%;
}

  div#myModal2 .modal-dialog {
   position: relative;
   width: 95%;   
    
}
  div#myModal2 button.custom_product_chart_close {
    position: absolute;
    right: -45px;
     top: -52px;
    background: none;
    font-size: 30px;
}
}
.chartbtn {
    background: #121212;
    color: #efefef;
    display: inline-block;
    padding: 1em;
    line-height: 1em;
    transition: background .2s;
    cursor: pointer;
    margin-right: .25em;
  margin-top:20px;
}

@media only screen and (min-width: 1600px) {
  
div#myModal2 .modal-content img {
   width: 970px;
}
div#myModal2 .modal-body {
   position: relative;
   overflow: auto;
}
div#myModal2 .modal-content {
   position: relative;
   width: 970px;

}
div#myModal2 .modal-dialog {
   max-width: 970px;
}

}