  .c-close {
    color: #ddd;
    float: right;
    font-size: 30px;
    padding-right: 20px;
  }

  .c-close:hover,
  .c-close:focus {
    color: #ddd;
    text-decoration: none;
    cursor: pointer;
  }

/*End of the Modal*/
  .modal .modal__dialog{
    transition-duration: 0.5s;
  }
  .modal.fade .modal__dialog {
    transition: all 0.5s ease-in-out 0s;
    transition-duration: 0.5s;
  }
  .modal.in .modal__dialog {
    transform: translate(0px, 0px);
  }
  .modal__dialog {
    margin: 10%;
    position: relative;
    width: auto;
    height: auto;
    padding: 0 10px;
    transform: translate(0px, -200%);
    z-index: 100009;
    max-width: 1265px;
    margin: 0 auto;
  }

  .modal__slide h4 {
    padding-top: 20px;
  }

  .modal__content {
    background-clip: padding-box;
    background-color: #fff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    color: #2d2d2d;
    margin: 0 auto;
    max-width: 1265px;
    margin: 0 auto;
    outline: 0 none;
    padding: 10px;
    position: relative;
  }

  .fade.in {
    opacity: 1;
  }

  .fade {
    opacity: 0;
    transition: opacity 0.15s linear 0s;
    transition-duration: 0.5s;
  }

  .modal-open {
    overflow: hidden;
  }
  .modal {
    bottom: 0;
    display: none;
    left: 0;
    outline: 0 none;
    overflow-x: auto;
    overflow-y: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1050;
  }

  .modal-content {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    outline: 0 none;
    position: relative;
  }
  .modal-backdrop {
    background-color: #000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
  }
  .modal-backdrop.fade {
    opacity: 0;
  }
  .modal-backdrop.in {
    opacity: 0.5;
  }
  .modal-header {
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.4286px;
    padding: 15px;
  }
  .modal-header .close {
    margin-top: -2px;
  }
  .modal-title {
    line-height: 1.42857;
    margin: 0;
  }
  .modal-body {
    padding: 20px;
    position: relative;
  }
  .modal-footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
    padding: 19px 20px 20px;
    text-align: right;
  }
  .modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
  }
  .modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
  }
  .modal-footer .btn-block + .btn-block {
    margin-left: 0;
  }
  @media (min-width: 769px) {
	  .modal__dialog {
	    margin: 10% auto;
	  }
	  .modal-content {
	    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	  }
	  .modal-sm {
	    width: 300px;
	  }
    .modal {
      overflow-y: auto;
    }
  }
  @media (min-width: 992px) {
	  .modal-lg {
	    width: 900px;
	  }
  }
  @media screen and (min-width: 320px) and (max-width : 768px) {

    .modal {
      overflow-y: scroll; 
    }
  }  
