html {
    font-family: "Rubik", sans-serif;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    font-family: "Rubik", sans-serif;
    font-size: 0.9rem;
    font-weight: 150;
    line-height: 1.5;
    color: #333;
    text-align: left;
    background-color: white;
    postion: relative;
}

a {
    outline: none;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-active:focus {
    box-shadow: none;
}

.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: none;
}

/* Navigation block */
.nav-link.dropdown-toggle.btn.btn-primary {
    color: #FFF;
    font-weight: 500;
    border-radius: 1rem;
}

.navbar.navbar-expand-lg.navbar-light {
    background-color: #FFF;
    padding: 0.3rem 5rem;
}

header.header {
    font-weight: 500;
    position: fixed;
    width: 100%;
    z-index: 999;
}

a.navbar-light.navbar-nav.nav-link {
    color: black;
}

.navbar-brand {
    font-size: 1rem;
}

.logo {
    max-height: 60px;
}

.logo-description {
    margin: 0;
}

.text-black {
    color: #000 !important;
    transition: color 0.2s ease-in-out;
}

.text-black:hover {
    color: #767676 !important;
}

.dropdown-menu {
    margin-top: 0.5rem;
}

.nav-dropdown {
    align-items: center;
}
.errspan {
	float: right;
	margin-right: 6px;
    margin-top: -1.6rem;
	position: relative;
	z-index: 2;
	cursor: pointer;
}
.dropdown-item {
    display: inline;
}

/* Slider */
.slider {
    height: 50vh;
}

#slide-1 {
    background-image: url(/img/slider-1.jpg);
    background-size: cover;
    background-position: 50% 50%;
    height: 50vh;
}

#slide-1:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.5;
    z-index: 1;
}

#slide-2 {
    background-image: url(/img/slider-2.jpg);
    background-size: cover;
    background-position: 50% 50%;
    height: 50vh;
}

#slide-2:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.5;
    z-index: 1;
}

#slide-3 {
    background-image: url(/img/slider-3.jpg);
    background-size: cover;
    background-position: 50% 50%;
    height: 50vh;
}

#slide-3:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.5;
    z-index: 1;
}

.carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.25);
    transition: all 0.2s linear;
}

.carousel-indicators li:hover {
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-indicators li.active {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.5);
}

.col-lg-10.align-self-center {
    z-index: 5;
    text-align: center;
}

.slider-header {
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #FFF;
}

.slider-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #FFF;
}

.slider-button {
    height: 50px;
    width: 230px;
    font-weight: bold;
    border-radius: 50px;
}

.btn-warning.slider-button {
    background-color: #F7ED4A;
    border: none;
    transition: all 0.2s linear;
    margin-right: 1rem;
}

.btn-warning.slider-button:hover {
    background-color: #EADD0A;
}

.btn-outline-light.slider-button {
    border-width: 2px;
}

.btn-info.slider-button {
    background-color: #149DCC;
    border: none;
    transition: all 0.2s linear;
    margin-right: 1rem;
}

.btn-info.slider-button:hover {
    background-color: #0D6786;
}

.carousel-control-prev {
    width: 10%;
}

.carousel-control-prev-icon.slider-nav {
    /*background-image: url(../img/l-arr.svg);*/
    padding: 2rem;
    background-size: 50%;
    border-radius: 50%;
    background-position: 45% 50%;
    border: 2px solid #FFF;
    background-color: transparent;
    transition: all 0.2s linear;
}

.carousel-control-prev-icon.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-next {
    width: 10%;
}

.carousel-control-next-icon.slider-nav {
    /*background-image: url(../img/r-arr.svg);*/
    padding: 2rem;
    background-size: 50%;
    border-radius: 50%;
    background-position: 55% 50%;
    border: 2px solid #FFF;
    background-color: transparent;
    transition: all 0.2s linear;
}

.carousel-control-next-icon.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Advantages block */
.advantages {
    padding: 6rem 0;
    background-color: #F9F9F9;
}

.card {
    border: none;
    background-color: transparent;
}

.card-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.card-img-top {
    margin-bottom: 0.5rem;
}

.card-text {
    color: #767676;
    text-align: center;
}

/* Feedback block */
.feedback {
    padding: 3rem 0;
}

#carouselExampleControls {
    padding-top: 3rem;
}

.feedback-header {
    text-transform: uppercase;
    color: #232323;
    font-size: 3rem;
    text-align: center;
    font-weight: 300;
}

.feedback-img {
    height: 200px;
    margin-bottom: 2rem;
}

.feedback-comment {
    text-align: center;
    padding-bottom: 1rem;
}

.feedback-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feedback-profession {
    text-align: center;
    font-weight: 300;
}

.carousel-control-prev-icon {
    background-color: #BDBDBD;
    padding: 1rem;
    background-size: 50%;
    border-radius: 50%;
    background-position: 45% 50%;
}

.carousel-control-next-icon {
    background-color: #BDBDBD;
    padding: 1rem;
    background-size: 50%;
    border-radius: 50%;
    background-position: 55% 50%;
}

/* Footer */
.footer {
    padding: 1rem 0;
    background-color: #2E2E2E;
}

.footer-social {
    padding: 0.5rem 0;
    text-align: center;
}

.social {
    color: #969696;
    margin: 0 0.4rem;
    font-size: 1.5rem;
    transition: color 0.2s ease-in-out;
}

.social:hover {
    color: #FFF;
}

a.social {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    color: #FFF;
}

.footer-nav-link:hover {
    text-decoration: underline;
}

/* Dropdown menu (authorization, payment) */
.user-vk, .user-ok {
    display: none;
}

.soc-pic {
    padding: 0.5rem 1rem 0.5rem 0;
}

.user-photo {
    height: 2rem;
}

.user-name {
    font-size: 0.9rem;
    display: inline;
    margin: 0.5rem;
    font-weight: normal;
    color: #000;
}

.user-exit {
    height: 1rem;
    margin: 0.5rem 0 0.5rem 0.5rem;
}

.user-exit:hover {
    opacity: 0.75;
}

label.modal-payment {
    background-color: transparent;
    color: #545B62;
    font-weight: bold;
}

/* Authorized menu block */
.menu {
    margin-top: 0.5rem;
    background-color: #FAFAFA;
    position: sticky;
    top: 0;
    z-index: 870;
    padding: 1rem 0;
}

.left-menu {
    position: sticky;
    top: 10%;
	overflow-y: scroll;
    overflow-x: unset;
	height: calc(100vh - 95px);
	scrollbar-width: none;
	z-index:899;
}

.a-menu {
    position: sticky;
    top: 10%;
    overflow-y: scroll;
    height: calc(100vh - 140px);
    scrollbar-width: none;
    z-index:899;
}
.a-menu::-webkit-scrollbar {
    width: 0px;
    background: rgba(255, 255, 255, 0.0);
}
.clear-menu {
  overflow-y: visible;
}


.left-menu::-webkit-scrollbar {
  width: 0px;
  background: rgba(255, 255, 255, 0.0);
}


.slim {
    padding: 0 3%;
}

.top-nav {
    margin: 0.12rem 0.75rem;
}

/* Tools and photos block */
.main-photo {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tools-description {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}
.mtop {
	margin-top: 1rem;
}
.tools-header {
    background-color: #4680C2;
    border: 1px solid #4680C2;
    border-radius: 5px 5px 0 0;
    padding: 0.25rem;
    color: #FFF;
}
.foot-gr{
    border-top: 1px solid #dfe0e2;
    padding-top: 10px;
}
.form-style {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.375rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 200;
  text-overflow: ellipsis;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-top: 0;
  border-radius: 0 0 0.25rem 0.25rem;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }

.tools-settings {
    font-size: 0.9rem;
    padding: 0.5rem 0.25rem;
    border: 1px solid #4680C2;
    border-radius: 0 0 5px 5px;
}

.tools-preheader, .form-control {
    margin-bottom: 0.5rem;
}

input.btn.btn-link.btn-sm {
    padding: 0;
}

input.btn.btn-link.btn-sm:hover {
    text-decoration: none;
}

button.tools-extra {
    margin: 1rem 0 0.5rem 0;
    padding: 0;
    border-bottom: 1px dashed #007BFF;
}

button.tools-extra:hover, button.tools-extra:focus {
    text-decoration: none;
    border-bottom: 1px dashed #0056B3;
}

.card-main {
    padding: 0 0.25rem;
}

.card {
    width: 100%;
}

.card-body {
    padding: 0;
}



.photo-comment-group {
    margin-bottom: 0.5rem;
}

.photo-comment {
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0 0 0.25rem 0.25rem;
    resize: none;
    overflow: hidden;
	border-color: #C0C0C0;
	cursor: pointer;
	height: 100%;
    z-index:0;
}
.photo-comment:focus {
	cursor: text;
}

.photo-gallery-comment {
    display:inline-block;
    width: 100%;
    height: 90%;
    max-height: 90%;
    min-height: 90%;
    padding: 0;
    margin: 0;
    border-radius: 0 0 0.25rem 0.25rem;
    resize: none;
    box-sizing:border-box;
    box-shadow: none;
    overflow-y: visible;
    overflow-x: hidden;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
}

.share-img {
	height: 75px;
    width: 55px;
	border-radius: 7px;
	margin: 7px;
    object-fit: cover;
}

.photo-gallery-comment::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
	cursor: pointer;
}
.photo-gallery-comment::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,0.5);
    cursor: pointer;
}

textarea.photo-comment {
    padding: 0.25rem;
    font-size: 0.9rem;
}

.photo-comment:focus .photo-comment:hover {
    border: 1px solid #CED4DA;
    box-shadow: none;
}

.photo-check {
    display: none;
}

.card label {
    position: absolute;
    cursor: pointer;
    margin: 0.5rem 0 0 0.5rem;
    padding: 0.25rem;
}

.photo-checkmark {
    opacity: 1;
}

label.tools-extra-label {
    margin: 0;
    padding: 0;
}

.tools-start {
    margin-top: 1rem;
}

/* UP Button */
#up-button {
    background: url(../img/up.svg) center no-repeat;
    background-size: cover;
    z-index: 999;
    position: fixed;
    bottom: 0.25rem;
    left: 0.25rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: none;
}

#up-button:hover {
    opacity: 0.5;
}

.main-center {
    position: fixed;
    right: calc(100%/3);
    top: calc(100%/3);
    text-align: right;
}

.main-overlay {
    filter: grayscale(100%) blur(1.5px);
}

input.error {
    border: 1px solid #FF7C7C;
}

input.success {
    border: 1px solid #00FF00;
}

.hidden-field {
    display: none;
}

.bg-img {
	background-image: url('/img/overlay.png');
}
.g-recaptcha2 {
    margin: 15px auto !important;
    width: auto !important;
    height: auto !important;
    text-align: -webkit-center;
    text-align: -moz-center;
    text-align: -o-center;
    text-align: -ms-center;
}

.auth-form-error {
    color: red;
    margin-top: 1.5rem !important;
}

.auth-form-margin {
    margin: 0 40px;
}

.round-image {
    border-radius: 50%;
    cursor: pointer;
    max-width: 50px;
}



.round-image-big {
    border-radius: 50%;
    cursor: pointer;
	width: 100px;
	height: 100px;
}
.round-image-sm {
     border-radius: 50%;
     cursor: pointer;
     width: 30px;
     height: 30px;
 }
.round-image-50 {
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
}
.round-image-min {
    border-radius: 50%;
    cursor: pointer;
    width: 14px;
    height: 14px;
}
.block-center {
    margin: auto;
}

.cursor-pointer {
    cursor: pointer;
}
.cursor-move {
    cursor: move;
}

.nullrow {
    padding: 10px;
}

.grad-container {
    background-image: linear-gradient(to bottom, rgba(150, 150, 255, 0.6), rgba(250, 150, 250, 0.8));
    background-position: top left;
    background-size: 100%;
    background-repeat: repeat;
}

.datetime {
    width: 75%;
    max-width: 90%;
}

.datetime-list {
    width: 100%;
    max-width: 100%;
}

.vk-circle {
    height: 500px;
    width: 500px;
    box-sizing: content-box;
    border-radius: 50%;
    background: #4B74A5;
}

.in_top {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 25px;
    height: 100%;
    opacity: 0.5;
    filter: alpha(opacity=50);
    cursor: pointer;
    display: none;
    z-index: 1400;
}

.in_top:hover {
    opacity: 0.5;
	background-color: #dadde0;
    opacity: 0.5;
}

.in_top span {
    display: block;
    width: 25px;
    margin-top: 15px;
    margin-top: 15px;
    text-align: center;
    color: #45688E;
    font-weight: bold;
    position: fixed;
    z-index: 1400;
}

.no-wrap-item {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
}

.margin-right {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F00;
    color: #FFF;
    text-align: center;
    line-height: 20px;
    position: absolute;
    right: 5px;
}

.margin-right:hover {
    text-decoration: none;
    color: #FFF;
}

.padding-5px {
    padding: 4px;
}
.padding-6px {
	padding: 5px 0 0 0;
}
.padding-20px {
    padding: 20px 0 0 0;
}
.padding-636 {
	padding: 6px 36px;
}

.padding-612 {
	padding: 6px 12px;
}

.padding-15 {
	padding: 1px 5px;
}

.padding-612120 {
	padding: 6px 12px 0 12px;
}

.height-90p {
	height: 90%;
}
a.nodecor {
	text-decoration: none;
}
.price {
	border-left: 1px solid #C0C0C0;
    border-right: 1px solid #C0C0C0;
	padding: 0.275rem 0.25rem;
	margin: 0, 0, 0, 3px;
	cursor: default;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
	color: #0130b7;
	text-align: right;
	background-image: url('/img/price.png');
	background-position: left;
	background-repeat: no-repeat;
	height: 28px;
}
.price-null {
	background-image: url('/img/price-null.png');
}

.w-30 {
	width: 30%;
}
.watermark-box {box-sizing: border-box;}
.panel {margin: 10px auto 10px; max-width: 500px; text-align: center;}
.button_outer {background: #83ccd3; border-radius:30px; text-align: center; height: 50px; width: 200px; display: inline-block; transition: .2s; position: relative; overflow: hidden;}
.button_outer2 {background: #acfdc6; border-radius:30px; text-align: center; height: 50px; width: 200px; display: inline-block; transition: .2s; position: relative; overflow: hidden;}
.btn_upload {padding: 14px 30px 12px; color: #fff; text-align: center; position: relative; display: inline-block; overflow: hidden; z-index: 3; white-space: nowrap;}
.btn_upload input {position: absolute; width: 100%; left: 0; top: 0; width: 100%; height: 105%; cursor: pointer; opacity: 0;}
.file_uploading {width: 100%; height: 10px; margin-top: 20px; background: #ccc;}
.file_uploading .btn_upload {display: none;}
.processing_bar {position: absolute; left: 0; top: 0; width: 0; height: 100%; border-radius: 30px; background:#83ccd3; transition: 3s;}
.file_uploading .processing_bar {width: 100%;}
.success_box {display: none; width: 40px; height: 40px; position: relative;}
.success_box:before {content: ''; display: block; width: 9px; height: 18px; border-bottom: 6px solid #fff; border-right: 6px solid #fff; -webkit-transform:rotate(45deg); -moz-transform:rotate(45deg); -ms-transform:rotate(45deg); transform:rotate(45deg); position: absolute; left: 15px; top: 15px;}
.file_uploaded .success_box {display: inline-block;}
.file_uploaded {margin-top: 0; width: 50px; background:#83ccd3; height: 50px;}
.uploaded_file_view {max-width: 300px; margin: 40px auto; text-align: center; position: relative; transition: .2s; opacity: 0; border: 2px solid #ddd; padding: 15px;}
.file_remove{width: 30px; height: 30px; border-radius: 50%; display: block; position: absolute; background: #aaa; line-height: 30px; color: #fff; font-size: 12px; cursor: pointer; right: -15px; top: -15px;}
.file_remove:hover {background: #222; transition: .2s;}
.uploaded_file_view img {max-width: 100%;}
.uploaded_file_view.show {opacity: 1;}
.error_msg {text-align: center; color: #f00}
div.watermark
 {
 border:1px dashed #000;
 }
 img.watermark:hover{
   cursor:move;
 }
 
 .img-box {
	 border: 3px outset #6b94fd;
	 width: 90%;
	 height: 220px;
 }
 .img-share-box {
	 width: 100%;
	 height: auto;
	 border-radius: 15px;
 }
 .share-txt {
	 min-height: 100%;
	 width: 100%;
	 resize: none;
	 overflow-y: visible;
	 cursor: pointer;
	 -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.share-txt::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
	cursor: pointer;
}
.share-txt::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: rgba(0,255,255,0.5);
    -webkit-box-shadow: 0 0 1px rgba(0,0,255,0.5);
    cursor: pointer;
}

.mobile-txt {
    min-height: 300px;
    heigth: auto;
    width: 100%;
    resize: none;
    overflow-y: visible;
    cursor: pointer;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.mobile-txt::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
    cursor: pointer;
}
.mobile-txt::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: rgba(0,255,255,0.5);
    -webkit-box-shadow: 0 0 1px rgba(0,0,255,0.5);
    cursor: pointer;
}

.img-del {
	position: absolute;
    top: 8px;
    right: 38px;
    font-size: 2em;
}

.wm-text {
	position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 18px;
}

 .font1 {
	 font-family: Lobster;
 }
  .font2 {
	 font-family: Comfortaa;
 }
  .font3 {
	 font-family: Caveat;
 }
  .font4 {
	 font-family: Marck Script;
 }
  .font5 {
	 font-family: Rubik Mono One;
 }
  .font6 {
	 font-family: Montserrat;
 }
  .font7 {
	 font-family: Bad Script;
 }
  .font8 {
	 font-family: Press Start 2P;
 }
  .font9 {
	 font-family: Neucha;
 }
  .font10 {
	 font-family: Jura;
 }
  .font11 {
	 font-family: Cormorant;
 }
  .font12 {
	 font-family: Seymour One;
 }


/*!
 * iOS picture selector
 */
.btn-group-select.active {
    color: #FFF;
    background-color: #0062CC;
    border-color: #005CBF;
}

.nolink {
    pointer-events: none;
}
.products .product input.photo-check[checked=checked] ~ .photo-checkmark {
    opacity: 1;
}

.products .product .product-image {
    overflow: hidden;
    }

.products .product .product-image a > img {
    border: 1px solid #ced4da;
    border-bottom-width: 0;
    pointer-events: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    object-fit: cover;
    height: 170px;
    max-height: 170px;
    width: 100%;
}
.photo-card {
    min-width: 80%;
    min-height: 170px;
    max-height: 170px;
    margin: 0;
    object-fit: cover;
    box-sizing: inherit;
}
.products .product-controls {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}
.products ._move {
    display: none;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px black, 0px 0px 10px rgba(0,0,0,0.9);
    cursor:move;
}
.products .car-control {
    display: none;
    position: absolute;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    top: 25%;
    color: #fff;
    text-shadow: 1px 1px 2px black, 0px 0px 10px rgba(0,0,0,0.9);
    cursor:pointer;
}

.products .car-control .list-prev {
    display: inline-block;
    position: absolute;
    left: 5px;
    color: #fff;
    z-index: 2;
}

.products .car-control .list-next {
    display: inline-block;
    position: absolute;
    right: 5px;
    color: #fff;
    z-index: 2;
}

.icon-sm {
    font-size:0.75rem;
}

.blck {
	color: black;
}

.date-time {
	overflow:hidden;
	padding: 15px 0 0 0;
}

/*!
 * Group selected area
 */
.ui-selectable-helper {
    background: rgba(0, 98, 204, 0.25);
    border: 1px solid rgba(0, 98, 204, 0.75);
    cursor: crosshair !important;
    position: absolute;
    z-index: 1000;
}

.products.ui-selectable {
    cursor: crosshair !important;
    z-index: 30009999;
}

.products.ui-selectee {
    cursor: crosshair !important;
}

.products.ui-selectable .products {
    cursor: crosshair !important;
}

.product {
    opacity: 1;
}
/*!
 * Picture editor
 */
.modal-picture-editor .modal-dialog .modal-content .modal-header .modal-title {
    text-align: center;
    padding-left: 3rem;
    width: 100%;
}

@media all and (max-width: 720px) {
    .modal-picture-editor .modal-dialog .modal-content .modal-header .modal-title {
        font-size: 1rem;
    }
}

.modal-picture-editor .modal-dialog .modal-content .modal-body {
    padding: 0;
    text-align: center;
}

.modal-picture-editor .modal-dialog .modal-content .modal-body img {
    max-height: 640px;
    max-width: 100%;
}

.modal-picture-editor .modal-dialog .modal-content .modal-body .picture-editor-loading {
    animation: spinner-border 1.5s linear infinite;
}

.modal-picture-editor .modal-dialog .modal-content .modal-controls {
    border-bottom: 1px solid #DEE2E6;
    padding: 10px 0;
    text-align: center;
}

.modal-picture-editor .modal-dialog .modal-content .modal-footer {
    justify-content: center;
}

.picture-editor-loading > img {
    width: 100%;
}

@media all and (max-width: 720px) {
    .modal-picture-editor .modal-dialog .modal-content .modal-footer .btn {
        width: 100%;
    }
}

/* tag input */
.bootstrap-tagsinput {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: inline-block;
    padding: 4px 6px;
    color: #555;
    vertical-align: middle;
    border-radius: 4px;
    max-width: 100%;
    line-height: 22px;
    cursor: text;
    width: 100%;
}
.bootstrap-tagsinput input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    max-width: inherit;
}
.bootstrap-tagsinput.form-control input::-moz-placeholder {
    color: #777;
    opacity: 1;
}
.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
    color: #777;
}
.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
    color: #777;
}
.bootstrap-tagsinput input:focus {
    border: none;
    box-shadow: none;
}
.bootstrap-tagsinput .tag {
    margin-right: 2px;
    color: #ffffff;
    background-color: #56dfe8;
    border-radius: 3px;
}
.bootstrap-tagsinput .tag [data-role="remove"] {
    margin-left: 8px;
    cursor: pointer;
}
.bootstrap-tagsinput .tag [data-role="remove"]:after {
    content: "x";
    padding: 0px 2px;
}
.bootstrap-tagsinput .tag [data-role="remove"]:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.upload-panel {
	position: fixed;
	z-index:1900;
	bottom: 0;
	right: 24px;
	width: 415px;
	max-height: 300px;
	background: #fff;
	border: 1px solid #c7c7c7;
	border-radius: 3px;
	overflow-y: scroll;
}
@media screen and (max-width: 424px){
	.upload-panel {
		width: 100%;
		right: 0;
    }
}

.upload-panel::-webkit-scrollbar {
	background-color: #F5F5F5;
    -webkit-appearance: none;
    width: 2px;
	cursor: pointer;
}

.upload-panel::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 1px rgba(245,245,245,0.2);
	background-color: #c7c7c7;
    cursor: pointer;
}

.app-menu {
    position: fixed;
    z-index:1901;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-top: 1px solid #c7c7c7;
    padding-left: 20px;
    padding-right: 20px;
}

.upload-panel-app {
    position: fixed;
    z-index:1900;
    bottom: 69px;
    right: 0;
    width: 100%;
    max-height: 85%;
    background: #fff;
    border-top: 1px solid #c7c7c7;
    border-radius: 3px;
    -webkit-overflow-scrolling: touch
}


.upload-header {
	position: sticky;
	top:0;
	height: 32px;
	background-color: #f2f2f2;
	line-height: 32px;
	border-bottom: 1px solid #c7c7c7;
	cursor: pointer;
	z-index: 1901;
}

body .popover-header {
	font-size: 10px;
	color: red;
}
body .popover-body {
	font-size: 10px;
}
.upload-item {
	position: relative;
	height: 32px;
	background-color: #fff;
	line-height: 32px;
	border-bottom: 1px solid #c7c7c7;
	white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.auto-item {
	background-color: #f9fcfb;
}
.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.auto-item:hover::after {
 position: absolute;
 left: 4px;
 background-color: #f9fcfb;
 padding: 0;
 font-size: 18px;
 z-index: 2901;
 transition: 2s;
 pointer-events: none;
}
.history-err {
	background-color: #fce9f2;
}
.auto-item-nw {
    background-color: #f9fcfb;
}
.angle-panel {
	position: relative;
	display: inline-block;
	left: 7px;
	color: #848484;
}
.upload-header-text {
	position: relative;
	display: inline-block;
	padding: 0 0 0 10px;
	font-size: 13px;
	width: 100px;
	max-width: 120px;
}
.upload-header-main {
	position: relative;
	display: inline-block;
	padding: 0 0 0 7px;
	font-size: 13px;
	width: 120px;
}
.upload-header-error {
	position: relative;
	display: inline-block;
	padding: 0 0 0 15px;
	font-size: 13px;
	color: red;
}
.upload-header-tools {
    position:relative;
    display:inline-block;
    padding: 0 0 0 20px;
    font-size: 13px;
}
.upload-header-progress {
	position: absolute;
	display: inline-block;
	right: 7px;
}

.item-img {
	position: relative;
	display: inline-block;
	left: 5px;
	color: #848484;
    cursor:pointer;
}
.item-text {
	position: relative;
	display: inline-block;
	padding: 0 0 0 10px;
	font-size: 13px;
	width: 140px;
	max-width: 140px;
	white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    text-overflow: ellipsis;
}
.item-pause {
	position: relative;
	display: inline-block;
	padding: 0 0 0 20px;
	font-size: 13px;
	width: 30px;
	max-width: 30px;
	cursor: pointer;
}
.item-view {
    position: relative;
    display: inline-block;
    padding: 0 0 0 12px;
    font-size: 13px;
    width: 20px;
    max-width: 20px;
    cursor: pointer;
    opacity: 0;
}
.item-view:hover::after {
    opacity: 1;
    transform: scale(1.1);
}
.item-del {
	position: absolute;
	display: inline-block;
	right: 9px;
	cursor: pointer;
	color: red;
}
.item-del:hover {
	transform: scale(1.1);
}
.item-zip {
	position: absolute;
	display: inline-block;
	right: 55px;
	cursor: pointer;
	color: red;
}
.item-zip:hover {
	transform: scale(1.1);
}
.item-play {
	position: relative;
	display: inline-block;
	padding: 0 0 0 20px;
	font-size: 13px;
	width: 30px;
	max-width: 30px;
	cursor: pointer;
}
.item-img-target {
	width: 14px;
	height: 14px;
	bottom:4px;
}
.item-main {
	position: relative;
	display: inline-block;
	padding: 0 0 0 15px;
	font-size: 13px;
	width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.item-error {
	position: relative;
	display: inline-block;
	padding: 0 0 0 15px;
	font-size: 13px;
	color: red;
	cursor: pointer;
}
.item-progress {
	position: relative;
	display: inline-block;
	left: 5px;
	animation: 1s linear 0s normal none infinite running rot;
	-webkit-animation: 1s linear 0s normal none infinite running rot;
	vertical-align: middle;
	transform-origin: 51% 54%;
}
@keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.panel-heading {
    padding: 10px 10px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.panel-success>.panel-heading {
    color: #202af7;
    background-color: #f3f3f3;
    border-color: #d6e9c6;
}
.panel-heading div {
	margin-top: -30px;
	font-size: 15px;
}
.panel-heading div span{
	margin-left:5px;
}
.panel-body{
	display: none;
}

.panel-title{
	font-size: 12px;
	color: #8e8e8e;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    min-height: 1.8rem;
}
.panel-title::-webkit-scrollbar {
    display: none;
}

.p3px {
	padding: 0 5px 0 0;
}

.loading {
  font-size: 13px;
}

.loading:after {
    content: '.';
    animation: loading 1s ease alternate infinite;
}

@keyframes loading {
    60%  { text-shadow: 0.35em 0 0 currentColor; }
    100% { text-shadow: 0.35em 0 0 currentColor, 0.75em 0 0 currentColor; }
}
.auto-del {
	position: relative;
	display: inline-block;
	padding: 0 0 0 12px;
	cursor: pointer;
}
.auto-del > a {
	color:red;
}
.auto-del:hover {
	transform: scale(1.1);
}
.auto-pause {
	position: relative;
	display: inline-block;
	cursor: pointer;
	color: red;
	padding: 0 0 0 12px;
}
.auto-pause:hover {
	transform: scale(1.1);
}
.auto-sets {
	position: relative;
	display: inline-block;
    padding: 0 0 0 12px;
}
.auto-sets:hover {
    transform: scale(1.1);
}
.disable {
  pointer-events: none;
  opacity: 0.5;
}
.more-item:hover{
    background-color: #d3fdd2;
}
.show-all {
	position: fixed;
	bottom: 10px;
	left: 47%;
	opacity: 0.7;
	display: none;
	z-index:1990;
}

.fav {
	position: relative;
	left: 50px;
}
#accs-selector {
    padding-bottom: 5px;
}
@media (max-width: 768px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        padding-top: 25px;
        width: 60%;
        height: 100%;
        background-color: rgba(255,255,255,0.8);
        z-index: 1049;
        backdrop-filter: blur(5px);
    }

    .navbar-collapse.collapsing {
        left: -75%;
        transition: height 0s ease;
    }

    .navbar-collapse.show {
        left: 0;
        transition: left 500ms ease-in-out;
    }

    .navbar-toggler.collapsed ~ .navbar-collapse {
        transition: left 500ms ease-in-out;
    }
}

.img-cont {
    position: relative;
    text-align: center;
}
.text-cont {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2em;
    text-shadow: 1px 1px 2px black, 0 0 1em white;
    color: #fff;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.mmenu {
    display: inline-block;
    padding:1px 4px;
    font-size:0.9rem;
    color: rgba(0, 0, 0, 0.5);
}

ul.nav-pills {
    top: 16%;
    position: sticky;
}
textarea {
    -webkit-user-select: auto;
}

.cardblock {
    padding-left: 5px;
    padding-right: 5px;
}

.blog img {
    max-width: 95%;
    height: auto;
}

.main-card {
    border: 1px solid #cecece;
    border-radius: 7px;
    margin: 5px;
    padding: 8px;
}
.morris-hover {
    position:absolute;
    z-index:1000;
}

.morris-hover.morris-default-style {     border-radius:10px;
    padding:6px;
    color:#666;
    background:rgba(255, 255, 255, 0.8);
    border:solid 2px rgba(230, 230, 230, 0.8);
    font-family:sans-serif;
    font-size:12px;
    text-align:center;
}

.morris-hover.morris-default-style .morris-hover-row-label {
    font-weight:bold;
    margin:0.25em 0;
}

.morris-hover.morris-default-style .morris-hover-point {
    white-space:nowrap;
    margin:0.1em 0;
}

.noscroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    overflow-x: hidden;
}
.noscroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.favdiv {
    max-width: 85%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.panel-accs {
    display: inline-flex;
    vertical-align: text-bottom;
    max-width: 70%;
    overflow-x: auto;
    --webkit-overflow-scrolling:touch;
}
.panel-accs::-webkit-scrollbar {
    display: none;
}
.like {
    position: relative;
    right: 5px;
    float: right;
    bottom: 15px;
    color: #fa60e4;
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
}

.view {
    position: relative;
    right: 5px;
    float: right;
    bottom: 15px;
    color: #cecece;
    text-decoration: none;
    font-size: 0.7rem;
    cursor: pointer;
}

#upload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-width: 400px;
    height: 200px;
    outline: 2px dashed #5d5d5d;
    outline-offset: -12px;
    border-radius: 5px;
    background-color: #f0fbff;
    font-family: 'Segoe UI';
    color: #1f3c44;
}

#upload-container img {
    width: 40%;
    margin-bottom: 20px;
    user-select: none;
}
#upload-container label {
    font-weight: bold;
}

#upload-container label:hover {
    cursor: pointer;
    text-decoration: underline;
}
#upload-container div {
    position: relative;
    z-index: 10;
}

#upload-container input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    position: absolute;
    z-index: -10;
}
#upload-container input[type=file]:focus + label {
    outline: -webkit-focus-ring-color auto 5px;
}
#upload-container.dragover {
    background-color: #fafafa;
    outline-offset: -17px;
}

.app-main {
    position: fixed;
    width: 100%;
    top: 40%;
    text-align: center;
    cursor:pointer;
}
.app-active,.app-active.a {
    color: #394bfd;
}
@keyframes runline {
    to {transform: translateX(-100%);}
}
.modal-content iframe{
    margin: 0 auto;
    display: block;
    width: 100%;
}
.btn-white {
    color: #fff;
    border-color: #fff;
}
.helptag {
    border-bottom: 1px dotted red;
}

.viber {
    color: #59267c;
}

.btn-viber {
    border-color: #59267c;
    color: #59267c;
}
.btn-viber:hover, .btn-viber:not(:disabled) {
 background-color: #59267c;
 color: #fff;
 cursor: pointer;
}

.btn-vkid {
    display: flex;
    width: 184px;
    padding: 0px 8px;
    align-items: center;
    gap: 12px;
}
.vkid-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.vkid-body {
    display: flex;
    padding: 4px 0px 5px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    flex: 1 0 0;
    align-self: stretch;
}
.vkid-right {
    width: 28px;
    height: 44px;
    flex-shrink: 0;
}
.zoomcard {
    transition: all .3s linear;
}
.ads-close {
    position: absolute;
    right: 10px;
    background: none;
    padding: 0;
    border: none;
    font-size: 1.5rem;
    color: #fff;
}
.group-list:hover {
    background: #c2ffb1;
}
.sender-img {
    max-width:95%;
    height:auto;
}
.hscroll {
    max-height: 250px;
    min-height: 250px;
    overflow-y: scroll;
    scrollbar-width: none;
}
.share-control {
    position: absolute;
    left: 20px;
    top:10px;
}
.cntr {
    position: absolute;
    width: 100%;
    top: 40%;
    text-align: center;
}
.users-noscroll {
    max-height: 350px;
    min-height: 90%;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #95adff #fff;
}
.double-img {
    height: 105px;
    width: 65px;
    border-radius: 7px;
    margin: 7px;
    object-fit: cover;
}
.photo-line {
    display: block;
    overflow-x: scroll;
}
.text-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rounded-checkbox {
    width:35px;
    height: 35px;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #4c5050;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}
.rounded-checkbox:checked {
    appearance: auto;
    clip-path: circle(50% at 50% 50%);
    background-color: #2196F3;
}
label.ads {
    width: 100%;
}
.ads-input-element {
    display: none;
}
.ads-input {
    margin: 10px;
    padding: 10px;
}
.ads-input:hover {
    cursor: pointer;
}
.ads-input-element:checked + .ads-input {
    box-shadow: 0 0 1px 1px #2ecc71;
}
._icon-vk {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_vk.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-ok {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_ok.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-tg {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_tg.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-mx {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_max.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-vb {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_vb.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-vg {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_vg.png);
    border: 1px solid white;
    border-radius: 50%;
}
._icon-og {
    position: relative;
    display: inline-block;
    top: -5px;
    left: -30px;
    width: 1em;
    height: 1em;
    background-size: cover;
    background-image: url(/img/logo_og.png);
    border: 1px solid white;
    border-radius: 50%;
}





