﻿/*Общие базовые стили*/

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	text-decoration: none;
	color: black;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

html {
	font-family: Verdana;
}

body {
	background-color: white;
	font-size: 14px;
	margin: 0;
	padding: 0;
}

.my-container {
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.container-body{
	margin: 10px auto;
	padding: 10px 10px;
}

/* общие стили */
.bold{
	font-weight: bold;
}

.flex{
	display: flex;
}

.display-none{
	display: none;
}

.button{
	cursor: pointer;
	z-index: 3;
}

.no-padding{
	padding: 0;
}

.no-break{
	white-space: nowrap;
}

.flex-container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.all-center{
	display: flex;
	justify-content: center;
	align-items: center;
}

.align-center{
	justify-content: center;
}

.img-link,.link,.ajax-send-button,.send-ajax-button{
	cursor: pointer;
}

/*Цвета фона*/

.grey-background{
	background-color: #f6f6f6;
}

.white-background{
	background-color: white;
}

/* Стили тултипов */

.tooltip-symbol{
	display: inline-block;
	color: white;
	background-color: #c1cbd0;
	border-radius: 50%;
	padding: 2px 11px;
	margin: 2px;
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
}

.tooltip-inner{
	color: black;
	background-color: white;
	border: 1px solid #e1e1e1;
	border-radius: 10px;
}

.tooltip.in{
	opacity: 1;
}


/* Header */

.header{
	border-bottom: 1px solid #e1e1e1;
}

.header-icon{
	height: 45px;
	margin-right: 10px;
}

.mobile-header-item{
	display: none;
}
@media (max-width: 780px) {
	.desktop-header-txt {
		display: none;
	}
}

@media (max-width: 880px) {
 	.mobile-header-item {
 		display: inline;
	}
	.desktop-header-item {
		display: none;
	}
}

.header-avatar{
	border-radius: 50%;
}

/* Выпадающее из аватара меню */
.my-dropdown{
	position: relative;
	cursor: pointer;
}
.my-dropdown-toggle{
	white-space: nowrap;
}
.my-dropdown-menu{
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	padding: 5px 0;
	box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
	border: 1px solid rgba(0,0,0,.15);
	background-clip: padding-box;
}
.my-dropdown-item{
	display: block;
	width: 100%;
	clear:both;
	background-color: transparent;
	border: none;
	white-space: nowrap;
	text-align: inherit;

}
.dropdown-item{
	cursor: pointer;
}

.errors{
	color: red;
	margin-bottom: 5px;
	margin-top: 5px;
	font-size: 10px;
}

/* Футер */

.footer{
	border-top: 1px solid #e1e1e1;
	margin-bottom: 30px;
	border-bottom: 1px solid #e1e1e1;
	padding-bottom: 20px;
	background-color: #fafafa;
}

.footer-container{
	margin-top: 10px;
	padding-top: 10px;
}

/* Навигация по страницам */

.page-list{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}

.page-item{
	margin:0 3px;
	padding: 2px;
}

.current-page{
	font-weight: bold;
	background-color: #f6f6f6;
}

/* Бургер-меню, стили исправляющие бутстраповские или дополняющие */
.navbar-item{
	margin-bottom: 5px;
}

#basic-navbar{
	margin-bottom: 20px;
}

/* Мобильный/десктопные переключатели */

.mobile-switch,.mobile-switch-inline{
	display: none;
}


@media (max-width: 500px) {
 .desktop-switch-inline{
	display: none;
	}
 .mobile-switch-inline{
	display: inline;
	}
}

@media (max-width: 430px) {
 .desktop-switch {
	display: none;
	}
 .mobile-switch{
	display: block;
	}
 .center-in-mobile{
 	text-align: center;
 	}
}

.cat-foot{
	cursor: url('../img/cat-paw-icon.png') 16 16, progress;
}