#payment_chk_title {
    width: 100%;
    text-align: right;
}

#myPayment{
    padding-right: 0px !important;
}

#payment_chk{
    width: 100%;
    float: right;
}

#payment_chk_sub{
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: .25rem;
    float: right;
    width: 98.7%;
    padding-top: 1rem;
    padding-right: 1rem;
}

@media (max-width: 756px){
        #payment_chk_sub{
            display: grid;
        }
}

.form-right .dropdown-menu{
    text-align: right;
}

#payment_con{
    direction: rtl;
}

.form-row input {
    height: 50px;
}

#form_payment select {
    height: 50px;
}

form.needs-validation {
    padding: 20px;
    direction: rtl;
}

h4.modal-title {
    width: 100%;
    text-align: center;
}

.form-row {
    margin: 0 !important;
}

.form-check-label {
    margin-right: 20px;
    margin-top: -2px;
}

.form-group {
    text-align: right;
}

#btn_pay {
    font-size: 18px;
    width: 200px;
}

.form-center{
    text-align: center;
}

#img_payment {
    text-align: center;
    margin-bottom: 10px;
}

/******LOADING*****/

@keyframes anima1 {
  0%   { top: 0;                 left: 0;                 }
  25%  { top: 0;                 left: calc(100% - 20px); }
  50%  { top: calc(100% - 20px); left: calc(100% - 20px); }
  75%  { top: calc(100% - 20px); left: 0;                 }
  100% { top: 0;                 left: 0;                 }
}
@keyframes anima2 {
  0%   { top: 0;                 left: calc(100% - 20px); }
  25%  { top: calc(100% - 20px); left: calc(100% - 20px); }
  50%  { top: calc(100% - 20px); left: 0;                 }
  75%  { top: 0;                 left: 0;                 }
  100% { top: 0;                 left: calc(100% - 20px); }
}
@keyframes anima3 {
  0%   { top: calc(100% - 20px); left: calc(100% - 20px); }
  25%  { top: calc(100% - 20px); left: 0;                 }
  50%  { top: 0;                 left: 0;                 }
  75%  { top: 0;                 left: calc(100% - 20px); }
  100% { top: calc(100% - 20px); left: calc(100% - 20px); }
}
@keyframes anima4 {
  0%   { top: calc(100% - 20px); left: 0;                 }
  25%  { top: 0;                 left: 0;                 }
  50%  { top: 0;                 left: calc(100% - 20px); }
  75%  { top: calc(100% - 20px); left: calc(100% - 20px); }
  100% { top: calc(100% - 20px); left: 0;                 }
}

.container_loading {
  height: 60px;
  width: 60px;
  margin: 0 auto;
  position: relative;
}
.item {
  position: absolute;
  border-radius: 50%;
  height: 20px;
  width: 20px;
}
.item:nth-child(1) {
  background-color: brown;
  top: 0;
  left: 0;
  animation: anima1 2s ease infinite; 
}
.item:nth-child(2) {
  background-color: cornflowerblue;
  top: 0;
  right: 0;
  animation: anima2 2s ease infinite;
}
.item:nth-child(3) {
  background-color: darkolivegreen;
  bottom: 0;
  left: 0;
  animation: anima3 2s ease infinite;
}
.item:nth-child(4) {
  background-color: coral;
  bottom: 0;
  right: 0;
  animation: anima4 2s ease infinite;
}

#loading p {
    text-align: center;
    color: #00579f;
}

#loading {
    display: none;
}

.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #ced4da !important;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #ced4da !important;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #ced4da !important;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #ced4da !important;
}
.form-control::-ms-input-placeholder { /* Microsoft Edge */
   color:    #ced4da !important;
}

.form-control::placeholder { /* Most modern browsers support this now. */
   color:    #ced4da !important;
}

@media (max-width: 756px){
    .form-row {
        width: 100%;
        float: right;
        padding-left: 10px;
    }
}

@media (min-width: 756px){
    .model_size{
        max-width: 800px !important;
    }
    
    .form-row {
        width: 50%;
        float: right;
        padding-left: 10px;
    }
    
    .form-group {
        padding-left: 10px;
    }
    
    .form-rg{
        width: 50%;
        float: right;
    }
}

/* Chrome, Safari, Edge, Opera */
.form-controlinput::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.form-controlinput[type=number] {
  -moz-appearance: textfield;
}