@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin-ext');

#rdModal {
    display: none;
}

#rdModalAdvanced {
    display: none;
}

.rd-modal {
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.rd-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    font-family: 'Open Sans', sans-serif;
}

@media screen and (max-width: 1024px) {
    .rd-modal-content {
        margin: 70px auto;
        width: 70%;
    }
}

@media screen and (max-width: 767px) {
    .rd-modal-content {
        width: 90%;
        margin: 25px auto;
    }
}

.rd-modal-content h1 {
    font-size: 18px;
    text-align: center;
}

.rd-modal-content p {
    margin-top: 0;
    font-size: 12px;
}

.rd-modal-content .rd-first-paragraph {
    margin: 10px 0 0 0;
}

.rd-modal-content strong {
    font-weight: bold;
}

.rd-modal-content h3 {
    font-size: 12px;
}

.rd-modal-content .customer-information-box {
    position: relative;
    height: 200px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}
.customer-information-box::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
    z-index: 2;
}

.customer-information-box::-webkit-scrollbar-track {
    background: white;
    border: 1px solid #ccc;
  }
  
  .customer-information-box::-webkit-scrollbar-thumb {
    background:rgba(0, 0, 0, 0.2);
    border: 1px solid #aaa;
  }
  
  .customer-information-box::-webkit-scrollbar-thumb:hover {
    background: #fff;
  }
  
  .customer-information-box::-webkit-scrollbar-thumb:active {
    background: linear-gradient(left, #22ADD4, #1E98BA);
  } 

.rd-buttons {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .rd-buttons .rd-buttons-big {
        justify-content: center; 
        align-items: center;
        flex-wrap: wrap;
    }
}

.rd-buttons .rd-button {
    padding: 7px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: none;
    cursor: pointer;
    transition: 0.3s;
}

.rd-button.rd-button-primary {
    background-color: #ec1d28;
    border: 2px solid #ec1d28;
    color: white;
}

.rd-button.rd-button-primary:hover,
.rd-button.rd-button-primary:focus {
    background-color: white;
    border: 2px solid #ec1d28;
    color: #ec1d28;
}

.rd-button.rd-button-primary:disabled {
    background-color: #F3666F;
    border: 2px solid #F3666F;
    color: white;
    cursor: not-allowed;
}

.rd-button.rd-button-secondary {
    background-color: white;
    border: 2px solid #ec1d28;
    color: #ec1d28;
}

.rd-button.rd-button-secondary:hover,
.rd-button.rd-button-secondary:focus
 {
    background-color: #ec1d28;
    border: 2px solid #ec1d28;
    color: white;
}

.rd-button.rd-button-gray {
    background-color: white;
    border: 2px solid #ccc;
    color: #ccc;
}

.rd-button.rd-button-gray:hover, 
.rd-button.rd-button-gray:focus {
    background-color: #ec1d28;
    border: 2px solid #ec1d28;
    color: white;
}

.rd-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.rd-close:hover,
.rd-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rd-link, .rd-link:visited, .rd-link:focus {
    color: #ec1d28;
    text-decoration: underline;
    transition: .3s;
}

.rd-link:hover {
    color: #F55862;
}

/* switcher */

.rd-toggle-status {
	display: none;
}
.rd-toggle-switch {
    margin-bottom: 10px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	vertical-align: bottom;
	cursor: pointer;
	display: inline-block;
	position: relative;
	width:  50px;
	height: 25px;
	box-sizing: border-box;
	border: solid lightgray 3px;
	transition: border 0.5s;
}
.rd-toggle-status:checked + .rd-toggle-switch {
	border: solid #ec1d28 3px;
}
.rd-toggle-switch::after {
	content: "";
	display: inline-block;
	position: absolute;
	top:    1px;
	left:   1px;
	width:  17px; 
	height: 17px; 
	background: lightgray;
	transition: background 0.5s, left 0.5s;
}
.rd-toggle-status:checked + .rd-toggle-switch::after {
	background: #ec1d28;;
	left: 25px; 
}
.rd-toggle-string {
	line-height: 45px;
}

.rd-toggle-rounded {
	border-radius: 10px; 
}
.rd-toggle-rounded::after {
	border-radius: 10px; 
}

.rd-toggle-x2 { 
    font-size: 14px; 
    padding-left: 10px;
    font-weight: bold;
}
