/* Modal */

#searchInput {
	background-color: #40aed9;
	background-image: url(../imgs/search-money.png);
	background-position: right 10px top 7px;
	background-repeat: no-repeat;
	border: 2px #ffffff solid;
	padding: 5px 45px 5px 15px;
	border-radius: 5px;
	font-size: 16px;
	color: #fff;
	outline: none;
	text-transform: uppercase;
}
#searchInput::placeholder {color: #fff;}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.md-show {
	visibility: visible;
}
.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden !important;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0 !important;
	background: #3e3a3acc;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.md-show ~ .md-overlay {
	opacity: 1 !important;
	visibility: visible !important;
}
/* Content styles */
.md-content {
	color: #fff;
	background: #4EBAE5;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	padding: 0.1em 1em;
	line-height: 2;
	width: 100%;	
}
.md-content h3{text-align: center;}


/* Effect 11: Super scaled */
.md-effect-11 .md-content {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	transform: scale(2);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.md-show.md-effect-11 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
.ssl_cert_tab
{
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	padding-bottom: 1em;
	align-items: stretch;
}
.ssl_cert_tab_img{height: 1.2em; margin-bottom: -3px;}
.ssl_cert_tab div{padding:0.2em 1em;}
.ssl_cert_tab :nth-child(4n+1) {background-color: #f1f0ed; color: #000;}
.ssl_cert_tab :nth-child(4n+2) {background-color: #f1f0ed; color: #000;}
/* Modal END*/


/* Money Select */
.md-modal_money
{
	max-width: 1200px;
	width: 100%;
}
.modal_money_tab_top
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 0.5em;
  	grid-row-gap: 0.5em;
  	padding: 0.5em;
  	background-color: #fff;
	color: #000;
	box-shadow: 2px 3px 12px -6px #222222;
	border-radius: 5px;
    margin-bottom: 8px;
}
.mod_money_btn
{
	padding: 5px;
	background-color: #cfebf600;
	transition: 400ms;
}
.modal_money_tab_footer>.mod_money_btn:hover
{
	background-color: #cfebf6;
    padding-left: 5px;
    border-radius: 5px;
    cursor: pointer;
    color: #000;
    transition: 400ms;
}
.mod_money_btn:hover
{
	background-color: #cfebf6;
    padding-left: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: 400ms;
}
.modal_money_tab_footer
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 0.5em;
  	grid-row-gap: 0.5em;
  	padding: 0.5em; 
  	max-height: 250px;
  	overflow-y: auto;
  	margin-bottom: 1em;
}
.modal_money_footer_bg
{
	width: 100%;
    height: 50px;
    background: linear-gradient(to top, #4ebae5, #4ebae521);
    margin-top: -43px;
    position: relative;
    z-index: 200;
}
/* Стилизация скроллбара */
.modal_money_tab_footer::-webkit-scrollbar {
  width: 15px; /* Ширина скроллбара */
}

.modal_money_tab_footer::-webkit-scrollbar-thumb {
  background-color: #222222; /* Цвет ползунка скроллбара */
  border-radius: 3px; /* Скругленные углы ползунка */
}

.modal_money_tab_footer::-webkit-scrollbar-thumb:hover {
  background-color: #000; /* Цвет ползунка при наведении курсора */
}

.modal_money_tab_footer::-webkit-scrollbar-track {
  background-color: #96CEE5; /* Цвет фона скроллбара */
}
.money_flag
{
	width: 25px;
    margin-bottom: 3px;
    margin-right: 8px;
    margin-left: 2px;
    border: 1px #E9EBED solid;
}
.modal_money_search_block
{
	display: grid;
    grid-template-columns: auto 260px;
    align-items: center;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    margin: 10px 0;
}
@media (max-width: 1300px)
{
	.md-modal_money {max-width: 95%; width: 95%;}
}
@media (max-width: 1200px)
{
	.modal_money_tab_top, .modal_money_tab_footer{grid-template-columns: repeat(3, 1fr);}
}
@media (max-width: 800px)
{
	.modal_money_tab_top, .modal_money_tab_footer{grid-template-columns: repeat(2, 1fr);}	
}
@media (max-width: 600px)
{
	.modal_money_tab_top, .modal_money_tab_footer{grid-template-columns: repeat(1, 1fr);}		
	.modal_money_tab_mobi
	{
		height: 85vh;
    	overflow-y: auto;
	}
	.modal_money_tab_footer{overflow-y: unset;}
	.modal_money_search_block{grid-template-columns: auto; justify-items: center; grid-row-gap: 0em; margin-bottom: 0.7em; }
	.md-modal_money{max-width: 90%; width: 90%; height: 95%;}
}
/* Money Select END */