html { min-height: 100%; position: relative; }
body { min-width: 320px; font-family: 'Roboto', sans-serif; font-size: 15px; line-height: 24px; margin-bottom: 43px;  overflow-y: scroll; }

form .dropdown-toggle::after { content: url(/i/arrow-green.svg); margin-top: -6px; transform-origin: center 15px; }
form .dropdown-toggle[aria-expanded="true"]::after { content: url(/i/arrow-green-dark.svg); }

input::-webkit-calendar-picker-indicator { display: none; }

h2, h3, p { margin-bottom: 0; }

label { margin-bottom: 0; margin-right: 5px; }
a { text-decoration: none !important; }

[contentEditable=true]:empty:before { content:attr(data-text); color: #6e757c; }

.container-fluid { padding: 0 20px; }
.container-fluid-main { display: inline-block; width: 100%; padding: 0 20px; }
.container-xl { max-width: 740px; padding: 0 20px 0 20px; }
.mobile-before-inbox { text-align: center; display: none; }
.container { padding: 0; }
.main-mob-top-horizont { text-align: center; display: none;}
.letter .mail-mobile-top { display: none; }
.letter .mail-desk-top { text-align: center; }

.main .main-mobile-top-header {display:none; }
.main .ad-banners { position: absolute; top: 187px; left: 0; right: 0; display: none; justify-content: space-between; max-width: 1120px; margin: auto; }
.main .ad-banners a { z-index: 1; }

.dropdown-toggle { display: flex; justify-content: space-between; align-items: center; transition: color .3s; }
.dropdown-toggle:hover { color: var(--color-primary) !important; }
.dropdown-toggle::after { content: url(/i/arrow.svg); width: 11px; height: 24px; border: 0; margin-left: 10px; transition: .4s }
.dropdown-toggle[aria-expanded="true"]::after { content: url(/i/arrow-green.svg); transform: rotate(180deg); }

.dropdown-menu { max-height: 220px; overflow-y: auto; margin-top: .25rem; }
.dropdown-item { padding: 0 1.5rem; }
.dropdown-item:hover { color: var(--color-primary); }
.dropdown-item:active { background-color: white; color: var(--color-primary); outline: 0; }

.dropdown.lng .dropdown-item { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; }
.dropdown.lng .dropdown-item:not(:first-child) { margin-top: 8px; }
.dropdown.lng .dropdown-item::after { content: ""; width: 20px; height: 20px; }
.dropdown.lng .dropdown-item.en::after, #btn-en::after { background: url(/i/lng/en.svg); }
.dropdown.lng .dropdown-item.zh::after, #btn-zh::after { background: url(/i/lng/zh.svg); }
.dropdown.lng .dropdown-item.hi::after, #btn-hi::after { background: url(/i/lng/hi.svg); }
.dropdown.lng .dropdown-item.bn::after, #btn-bn::after { background: url(/i/lng/bn.svg); }
.dropdown.lng .dropdown-item.de::after, #btn-de::after { background: url(/i/lng/de.svg); }
.dropdown.lng .dropdown-item.uk::after, #btn-uk::after { background: url(/i/lng/uk.svg); }
.dropdown.lng .dropdown-item.ru::after, #btn-ru::after { background: url(/i/lng/ru.svg); }
.dropdown.lng .dropdown-item.es::after, #btn-es::after { background: url(/i/lng/es.svg); }
.dropdown.lng .dropdown-item.pt::after, #btn-pt::after { background: url(/i/lng/pt.svg); }
.dropdown.lng .dropdown-item.ar::after, #btn-ar::after { background: url(/i/lng/ar.svg); }
.dropdown.lng .dropdown-item.fr::after, #btn-fr::after { background: url(/i/lng/fr.svg); }
.dropdown.lng .dropdown-item.ja::after, #btn-ja::after { background: url(/i/lng/ja.svg); }

.modal-dialog { max-width: 600px; }
.modal-body { padding: 30px; padding-bottom: 75px; text-align: center; }
.modal-title { font-weight: 500; font-size: 24px; line-height: 28px; padding: 30px 0; }
.modal-flex { display: flex; flex-direction: column; justify-content: center; }
.modal .close { width: 13px; height: 13px; background: url(/i/close.svg) no-repeat; outline: 0; opacity: 1.0 !important; }
.modal .close:hover { background: url(/i/close-green.svg) no-repeat; }
.modal .btn { min-width: 170px; margin-left: 5px; margin-right: 5px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mb-70 { margin-bottom: 70px; }

.alert { border: 0; border-radius: 0; background-color: #DC143C; text-align: center; color: white; display: none; padding: 18px 1.25rem; }

.preloader { height: 50px; background: url(/i/preloader.gif) no-repeat center; display: none; margin-bottom: 125px; }

.error-page { margin: 50px 0; text-align: center; }
.error-title { font-weight: bold; font-size: 120px; line-height: normal; color: var(--color-primary-dark); margin-bottom: 20px; }
.error-text { font-weight: bold; font-size: 30px; line-height:  normal; padding-bottom: 20px; }
.error { display: block; text-align: left; color: #ffd400; margin-top: 5px; }

.invalid { border-color: #ffd400 !important; }

.pin-text { font-weight: 500; cursor: pointer; transition: .3s; }
.pin-text:hover { color: var(--color-primary-dark); }

:root {
	--color-primary: #00C785;
	--color-primary-dark: #00A56E;
}

#pre_form input, #pre_form button { height: 50px !important; font-size: 18px !important; }
#pre_copy, #more, #delete { width: 90%; }
#pre_rand { display: flex; align-items: center; }
#pre_settings { display: flex; align-items: center; background: var(--color-primary); color: white; border-radius: 50px; padding: 6px 20px 6px 16px; }
#pre_settings:hover { background: var(--color-primary-dark); }
#pre_settings .icon { background: url(/i/settings.svg) no-repeat; background-position: center; width: 25px; height: 25px; margin-right: 10px; }
#back { margin-left: -8px; padding-left: 0; }
#back .icon { background: url(/i/back.svg) no-repeat; width: 24px; height: 24px; margin-right: 8px; }
#back:hover .icon { transform: translateX(-5px); }
#delete_mail { margin-right: -12px; }
#delete_mail .icon { background: url(/i/delete.svg) no-repeat; width: 20px; height: 20px; margin-right: 8px; }
#delete_mail:hover .icon { transform: translateX(5px); }
#file_list { margin-top: 15px; }
#file_size { display: inline-block; background: #F7F7F7; border-radius: .25rem; text-align: center; margin-top: 15px; padding: 5px 14px; }
#file_list:empty, #file_size:empty { display: none; }

#alert-compose, #alert-sttings { line-height: 45px; padding: 0 20px; }

#compose { min-width: 0; width: 180px; height: 36px; background: linear-gradient(to right, #33D29D 20%, var(--color-primary) 20%); border: 0; }
#compose:hover { background: linear-gradient(to right, var(--color-primary) 20%, var(--color-primary-dark) 20%); }
#compose:hover .icon { transform: rotate(-90deg); }
#compose .icon { background: url(/i/plus.svg) no-repeat; width: 12px; height: 12px; margin: 6px 0; margin-right: 20px; }

.modal.smart .modal-dialog { max-width: none; height: 100%; max-height: none; margin: 0; }
.modal.smart .modal-content { height: 100%; max-height: none; border: 0; border-radius: 0; }
.modal.smart .modal-header, .modal.smart .modal-body, .modal.smart .modal-footer { border: 0; padding: 0; }
.modal.smart .modal-header { flex-direction: column; z-index: 1; }
.modal.smart .modal-body { text-align: left; padding: 15px 20px; }
.modal.smart .modal-footer { padding: 20px; z-index: 1; }

.modal.smart .bar { background: #37474F; width: 100%; height: 45px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.modal.smart .close { background: url(/i/close-white.svg) no-repeat; width: 13px; height: 13px; margin: 0; padding: 0; transition: .3s; padding: 15px; background-position: center !important; margin-right: -8px; }
.modal.smart .close:hover { transform: rotate(90deg); }
.modal.smart .line { width: 100%; height: 50px; display: flex; align-items: center; padding: 0 20px; }
.modal.smart .form-control:not(.def) { border: 0; box-shadow: none; padding: 0; }
.modal.smart .text { font-weight: 500; font-size: 15px; line-height: 20px; }
.modal.smart .btn { min-width: 0; margin: 0; }

.modal.smart #text { min-height: 100px; display: inline-block; }

#modal-menu:not(.show) .modal-dialog { transform: translate3d(0, 0, 0); }
#modal-menu .modal-dialog { max-width: none; min-height: 100%; margin: 0; }
#modal-menu .modal-content { min-height: 100%; border: 0; border-radius: 0; }
#modal-menu .modal-body { padding: 0 20px; }
#modal-menu .close { background: url(/i/close-white.svg) no-repeat; background-size: cover; width: 18px; height: 18px; }
#modal-menu .lng-list { overflow-x: auto; gap: 20px; padding-bottom: 8px; }
#modal-menu .btn { display: flex; flex-direction: column; flex-shrink: 0; align-items: center; font-weight: 500; font-size: 24px; line-height: 28px; min-width: 0; border: 0; color: white; opacity: .5; padding: 0; margin: 10px 0; }
#modal-menu .btn::after { content: ""; width: 28px; height: 28px; margin-top: 8px; }
#modal-menu .btn.active { opacity: 1.0; }
#modal-menu a { font-weight: 500; font-size: 35px; line-height: 42px; color: white; transition: .3s; user-select: none; }
#modal-menu a:hover { color: var(--color-primary); }

#modal-destroy .close, #modal-destroy-mail .close { padding: 15px; background-position: top center !important; margin-right: -8px; }

#modal-settings .modal-body { padding-top: 20px; padding-bottom: 0; }
#modal-settings .section { margin-bottom: 45px; }
#modal-settings .block { display: flex; align-items: center; margin-bottom: 15px; }
#modal-settings .s-title {display: block; font-weight: 500; font-size: 18px;line-height: 24px; margin-right: 10px; }
#modal-settings .btn-group .btn { background: rgba(0, 199, 133, 0.15); border-radius: 50px; color: var(--color-primary); padding: 6px 10px; }
#modal-settings .btn-group .btn.active { background: var(--color-primary); color: white; }
#modal-settings .btn-group .btn:not(:last-child) { margin-right: 4px; }
#modal-settings .btn { font-size: 15px; }
#modal-settings .btn-s { width: 70%; height: 40px; background: var(--color-primary); color: white; }
#modal-settings .btn-s:hover { background: var(--color-primary-dark); }
#modal-settings .form-control { height: 50px; margin-right: 12px; }

#modal-verify input { height: 50px; }
#modal-verify small { display: block; }
#modal-verify .btn { width: 100%; height: 50px; background: var(--color-primary); color: white; margin: 0; }
#modal-verify .btn:hover { background: var(--color-primary-dark); }

#email, #privacy, #contacts { display: none; }
#privacy .title, #contacts .title { padding: 70px 0 45px; }

#contacts { max-width: 550px; min-height: calc(100vh - 105px); }
#contacts .form-control { border-radius: 2px; }
#contacts .form-control:hover { border: 1px solid #929292; }
#contacts input { height: 50px; }
#contacts textarea { min-height: 150px; height: 150px; }

#inbox-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; }

.inbox, .letter { min-height: 100px; display: flex; flex-direction: column; background-color: #FAFAFB; box-shadow: 0px 2px 8px rgba(0, 0, 0, .05); margin: 0 -20px; margin-bottom: 30px; }
.inbox .mail:last-child { border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.inbox .row { height: 100%; padding: 0 20px; }
.inbox .row > div { display: flex; align-items: center; }
.inbox .bar { height: 35px; border-bottom: 1px solid #dee2e6; }
.inbox .bar span { font-weight: 500; }

.letter { min-height: 0; background-color: white; padding: 15px 20px; }
.letter .row-info { border-bottom: 1px solid #E5E5EA; padding-bottom: 20px; margin-bottom: 20px; }
.letter .date { margin-left: 26px; }
.letter .subject { font-weight: 500; font-size: 18px; line-height: 24px; }

.mail { height: 100px; max-height: 100px; padding: 15px 0; border-bottom: 1px solid #dee2e6; cursor: pointer; }
.mail:hover { background-color: rgba(0, 0, 0, .03); }
.mail .from, .mail .time { margin-bottom: 10px; }
.mail span { font-size: 15px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; }
.mail img, .letter img { margin-right: 10px; } 

.file { background: #F7F7F7; display: flex; align-items: center; justify-content: space-between; border-radius: .25rem; margin-top: 10px; padding: 5px 14px; }
.file .close { min-width: 13px; background: url(/i/close.svg) no-repeat !important; }
.file .text-name { color: var(--color-primary); margin-right: 14px; }
.file .text-size { display: block; color: #939393; }

.info { max-width: 960px; margin-left: auto; margin-right: auto; }
.info a { display: block; transition: .3s; margin-top: -30px; cursor: default; }
.info a:hover { color: var(--color-primary-dark) !important; }
.info p:first-child { margin-top: 20px; }
.info ol, .info p:not(:last-child) { margin-bottom: 12px; }
.info .block-download { text-align: center; }
.info .block-download a { display: inline-block; margin-top: 20px; cursor: pointer; }

.attachments { background: #F7F7F7; border-radius: .25rem; margin-top: 10px; padding: 10px; }
.attachments .text-name { color: var(--color-primary); margin-right: 8px; }
.attachments .text-name:hover { color: var(--color-primary-dark); }
.attachments .text-size { color: #939393; }
.attachments .text-size:hover { color: var(--color-primary); cursor: pointer; }
.attachments .idx { margin-right: 10px; }

.progress { min-height: 5px; height: 5px; border-radius: 0; }
.progress .progress-bar { background: var(--color-primary); }

.icon { float: left; transition: .3s; }

.animation { background: url(/i/animation.svg) no-repeat; width: 768px; height: 768px; position: fixed; margin: auto; left: 0; right: 0; animation: main 5s ease-in-out infinite alternate; }

.loading { text-align: center; }
.loading img { animation: loading 5s ease-in-out infinite; }

.divider { display: flex; background-color: white; border-top: 1px solid #ced4da; border-bottom: 1px solid #ced4da; }
.divider div { width: 1px; height: 34px; background-color: #CCCCCC; opacity: .7; margin: auto; }

.main { margin-top: 60px; margin-bottom: 90px; }
.gradient { background: linear-gradient(180deg, #0F1DAF 0%, #5C6BFF 100%), #2F3CBF; }

.email .container { max-width: 960px; }
.email .btn-txt-green .icon { background: url(/i/random.svg) no-repeat; width: 25px; height: 25px; margin-right: 10px; }
.email .btn-txt-green:hover .icon { transform: rotate(180deg); }

.policy { padding: 50px 0; }
.policy .block { margin-bottom: 65px; }
.policy .block:last-child { margin-bottom: 0; }
.policy .block:hover .title-p { color: var(--color-primary-dark); transform: scale(1.05); cursor: default; }
.policy .title-p { color: #333333; margin-bottom: 20px; transition: .3s; }
.policy p { word-break: break-word; }
.policy p:not(:last-child) { margin-bottom: 12px; }

.btn-green { min-width: 250px; height: 45px; background: var(--color-primary); color: white; }
.btn-green:hover { background: var(--color-primary-dark); color: white; }

.btn-gray { min-width: 250px; height: 45px; background: rgba(0, 0, 0, .1); color: #333333; }
.btn-gray:hover { color: var(--color-primary-dark); }

.btn-txt-green { color: white; }
.btn-txt-green:hover { color: var(--color-primary); }

.btn-attach { min-width: 145px !important; width: 50%; max-height: 45px; background: rgba(0, 0, 0, .03); padding: 10px .75rem; color: var(--color-primary); margin-left: 5px !important; }
.btn-attach:hover { color: var(--color-primary-dark); }
.btn-attach .icon { background: url(/i/attach.svg) no-repeat; width: 12px; height: 20px; margin-right: 8px; margin-top: 2px; }

.btn-letter { color: var(--color-primary); font-size: 15px; }
.btn-letter:hover { color: var(--color-primary-dark); }

.btn.info { background: url(/i/info.svg) no-repeat; background-position: center; min-width: 20px !important; height: 20px; padding: 0; border: 0; box-shadow: none !important; }
.btn.eye { background: url(/i/eye.svg) no-repeat; background-position: center; background-size: contain; width: 24px; height: 24px; padding: 0; border: 0; box-shadow: none !important; }
.btn.eye:not(.active) { background-image: url(/i/eye-slash.svg); }

.title { font-weight: 500; font-size: 24px; line-height: 28px; color: white; text-align: center; padding-top: 40px; padding-bottom: 30px; }
.title-p { font-weight: 500; font-size: 18px; line-height: 24px; color: white; display: inline-block; }

.logo { font-weight: bold; font-size: 35px; line-height: 48px; color: var(--color-primary); margin: 6px 0; user-select: none; cursor: pointer; }

.tooltip.show { opacity: 1; }
.tooltip .arrow::before { display: none; }
.tooltip-inner { background: white; border: 1px solid #E5E5EA; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); color: #333333; text-align: left; }

.header { background: #0F1DAF; }
.header .link { color: white; padding: 10px; margin-left: 35px; transition: .3s; user-select: none; }
.header .link:hover { color: var(--color-primary); }
.header .dropdown-menu { min-width: 100%; }
.header .dropdown-item { padding: 0; text-align: center; }
.header .btn-menu { background: url(/i/menu.svg) no-repeat; width: 18px; height: 17px; border: 0; outline: 0; padding: 0; }

.footer { background: rgba(229, 229, 234, .25); text-align: center; bottom: 0; }
.footer .copy { font-size: 13px; line-height: 23px; color: #333333; opacity: .75; padding: 12px; }

@media (min-width: 1200px) {
	.mb-xl-10 { margin-bottom: 10px !important; }
	.mb-xl-20 { margin-bottom: 20px !important; }
	.mb-xl-30 { margin-bottom: 30px !important; }
	.mb-xl-50 { margin-bottom: 50px !important; }
	.mb-xl-70 { margin-bottom: 30px !important; }

	.error-title { font-size: 185px !important; }
	.error-text { font-size: 55px !important; }

	.preloader { margin-bottom: 140px; }

	#alert-compose, #alert-sttings { line-height: 40px; padding: 0 20px !important; }

	#modal-settings .modal-dialog { height: auto; }
	#modal-settings .modal-body { padding-top: 30px !important;  padding-bottom: 0 !important; padding-right: 40% !important; }
	#modal-settings .section { margin-bottom: 55px; }
	#modal-settings .btn-group .btn:not(:last-child) { margin-right: 8px; }

	.modal.smart { background-color: unset !important; }
	.modal.smart .modal-dialog { min-width: 900px; max-width: 900px; height: 500px; position: absolute; right: 100px; bottom: 0; }
	.modal.smart .modal-content { box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2); border-radius: 8px 8px 0px 0px; }
	.modal.smart .modal-body { padding: 15px 20px !important; }
	.modal.smart .modal-footer { padding: 20px 20px !important; }
	.modal.smart .bar { height: 40px; padding: 0 20px !important; }
	.modal.smart .line { padding: 0 20px !important; }

	#file_list { margin-top: 15px !important; }
	#file_size { margin-top: 15px !important; }

	.email { padding-bottom: 50px !important; }

	.inbox, .letter { margin-top: -20px !important; }
}

@media (min-width: 1120px) {
	.main .ad-banners { display: flex; }
}

@media (min-width: 992px) {
	.header .link { margin-left: 50px; }
	.container-fluid-main { padding: 0 20px; display: flex; height: 440px !important;}
}
@media (max-width: 800px) {

}
@media (min-width: 768px) {
       	.container-fluid { padding: 0 20px;}
	.container-fluid-main { padding: 0 20px; display: flex; height: 460px; }
        
	.mb-md-10 { margin-bottom: 10px; }
	.mb-md-20 { margin-bottom: 20px; }
	.mb-md-30 { margin-bottom: 30px; }
	.mb-md-50 { margin-bottom: 50px; }
	.mb-md-70 { margin-bottom: 70px; }

	.error-title { font-size: 150px; }
	.error-text { font-size: 45px; }

	.preloader { margin-bottom: 125px; }

	#modal-menu { display: none !important; }

	#domain { width: 190px; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; box-shadow: none; }
	#pre_button { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; box-shadow: none; }
	#pre_copy { min-width: 140px; width: 140px; margin-left: 10px !important; }
	#delete, #delete-fix { min-width: 160px; width: 160px; }
	#more { width: 250px; }

	#alert-compose, #alert-sttings { padding: 0 40px; }

	.modal.smart .modal-body { padding: 25px 40px; }
	.modal.smart .modal-footer { padding: 30px 40px; }
	.modal.smart .bar, .modal.smart .line { padding: 0 40px; }
	.modal.smart .btn-green { max-width: 300px; }
	.modal.smart .btn-attach { min-width: 300px !important; width: auto; margin-left: 30px !important; }

	#file_list { margin-top: 25px; }
	#file_size { margin-top: 25px; }

	#privacy .title { padding: 125px 0 125px; }
	#contacts .title { padding: 125px 0 10px; }

	.inbox, .letter { min-height: 95px; border: 1px solid #E5E5EA; border-radius: 4px; margin: 0; margin-top: -15px; margin-bottom: 30px; }
	.inbox .row { padding: 0 15px; }

	.letter { min-height: 0; padding: 20px 30px 30px 30px; }
	.letter .row-info { margin-bottom: 30px; }
	.letter .subject { font-size: 24px; line-height: 28px; }
	.letter .mail-desk_top { max-height: 100px; max-width: 750px; overflow: hidden; }
	.letter .mail-desk_top1 { width: 100%; height: 100%; display: block;}
	
	.mail { height: 60px; max-height: 60px; padding: 0; }
	.mail .from, .mail .time { margin-bottom: 0; }

	.email { padding-bottom: 90px; }
	.email.fix { padding-bottom: 40px !important; }
	.email .btn-txt-green { margin-left: -12px; }

	.policy { padding: 70px 0; }
	.policy .block { margin-bottom: 50px; }

	.loading { padding: 88px 0; }

	.title { font-size: 35px; line-height: 42px; padding-top: 55px; }
	.title-p { font-size: 24px; line-height: 28px; }
}

@media (min-width: 400px) {
	.main { margin-bottom: 70px; }
}

@media (max-width: 500px) {
	#captcha { transform: scale(.8); transform-origin: 0; }
	.main-mob-top-horizont { display: block; max-width: 320px !important; width: 320px; text-align: center; max-height: 100px !important; height: 100px; }
	.mobile-before-inbox { display: block; }
}

@media (max-width: 380px) {
	#captcha { transform: scale(.8); transform-origin: 0; }
}

@media (max-width: 400px) {
	.letter .mail-desk-top { display: none; }
	.letter .mail-mobile-top { display: block; }
	.letter .mail-mobile-top { text-align: center; }
	.main .main-mobile-top-header { width: 320px; height: 50px; text-align: center; display: block; }
}

@media (max-width: 350px) {
	#newCaptcha { transform: scale(.9); transform-origin: 0; }
}

@media (min-height: 576px) {
	.dropdown-menu { max-height: none; }
	.policy p { text-align: justify; }
}

@keyframes main {
    0% {
    	transform: scale(1.0);
    	opacity: 1.0;
    }
    100% {
    	transform: scale(2.0);
    	opacity: 0;
    }
}

@keyframes loading {
	20%, 100% {
		transform: rotate(-360deg);
	}
}
