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

* {
	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;
}

/* Цвета текста */
.light-grey{
	color: #999999;
}

.green{
	color: #04870A;
}
.yellow{
	color: #ffa800;
}

.actual-False{
	color: red;
}
.actual-False:after{
	content: ' (неактуально)';
}

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

.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%;
}

/* Общие Headers */

.list-header{
	margin-top: 10px;
	background-color: white;
	text-align: center;
}

.list-header>*{
	padding: 5px 5px;
	display: flex;
	align-items: center;
	border-left: 5px solid #f6f6f6;
}

.list-item{
	margin-top: 10px;
	padding: 10px 5px;
	background-color: white;
	position: relative;
}

.list-item:hover{
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/* Выпадающее из аватара меню */
.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;
}

/* Окно логина */

.login-list{
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 12px;
}

.login-input{
	margin-bottom: 8px;
	padding: 8px 35px 8px 11px;
	height:  40px;
	display: block;
	width: 100%;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	background: white;
}

.password-div{
	position: relative;
	display: flex;
	align-items: center;
}

.password-input-eye{
	position: absolute;
	right: 12px;
	top: 0;
	height: 100%;
	width: 20px;
	z-index: 9;
	user-select: none;
	cursor: pointer;
	background-image: url('../img/closed-eye.png');
	background-position: center;
	background-repeat: no-repeat;
}

.password-input-eye:hover{
	background-image: url('../img/opened-eye.png');
}

.login-button{
	width: 100%;
	border-radius: 5px;
	margin-bottom: 8px;
	height: 48px;
}

.grey-button-login, .big-grey-button{
	padding: 10px 25px;
	background-color: #999999;
	color: white;
	border-radius: 4px;
	border: 1px solid #999999;
	cursor: pointer;
	;
}

.green-button-login,.big-green-button{
	padding: 10px 25px;
	background-color: #04870A;
	color: white;
	border-radius: 4px;
	border: 1px solid #04870A;
	cursor: pointer;
	white-space: nowrap;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
}


.green-button-login:hover,.big-green-button:hover{
	background-color: #04A70A;
	border: 1px solid #04A70A;
}

.small-green-button{
	padding: 2px 10px;
	background-color: #04870A;
	color: white;
	border-radius: 4px;
	border: 1px solid #04870A;
	cursor: pointer;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
	text-align: center;
}

.small-green-button:hover{
	background-color: #04A70A;
	border: 1px solid #04A70A;
}

.round-green-button{
	padding: 10px 25px;
	background-color: #04870A;
	color: white;
	border-radius: 20px;
	border: 1px solid #04870A;
	cursor: pointer;
	white-space: nowrap;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
}


.round-green-button:hover{
	background-color: #04A70A;
	border: 1px solid #04A70A;
}

/* синее оформление */
.big-blue-button{
	padding: 10px 25px;
	background-color: #009df5;
	color: white;
	border-radius: 4px;
	border: 1px solid #009df5;
	cursor: pointer;
	white-space: nowrap;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
}

.big-blue-button:hover{
	background-color: #50bdf5;
	border: 1px solid #50bdf5;
}


.small-blue-button{
	padding: 2px 10px;
	background-color: #1eaad8;
	color: white;
	border-radius: 4px;
	border: 1px solid #1eaad8;
	cursor: pointer;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
	text-align: center;
}

.small-blue-button:hover{
	background-color: #1eaa38;
	border: 1px solid #1eaa38;
}

.small-black-button{
	padding: 2px 10px;
	background-color: #04000A;
	color: white;
	border-radius: 4px;
	border: 1px solid #04000A;
	cursor: pointer;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
	white-space: nowrap;
}

.small-black-button:hover{
	background-color: #e1e1e1;
	border: 1px solid #e1e1e1;
}

.small-grey-button{
	padding: 2px 10px;
	background-color: grey;
	color: white;
	border-radius: 4px;
	border: 1px solid grey;
	cursor: pointer;
	text-align: center;
}

.chooseisdone-button{
	padding: 10px 25px;
	border-radius: 20px;
	border: 1px solid #04870A;
	cursor: pointer;
	white-space: nowrap;
	transition-property: background-color,border;
	transition-duration: 1s;
	transition-delay: 0.5s;
	transition-timing-function: ease-out;
	background-image: url('../img/blue-V-icon.png');
	background-position: left;
	background-repeat: no-repeat;
	background-size: 15%;
}


.chooseisdone-button:hover{
	background-color: #04A70A;
	border: 1px solid #04A70A;
}

.more-button{
	background-image: url('../img/more-icon.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	width: 48px;
	height: 48px;
	border-radius: 50px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.control-button{
	background-repeat: no-repeat;
	background-position: center;
	background-size: 48px;
	display: inline-block;
	width: 48px;
	height: 48px;
  	cursor: pointer;
}

.middle-size-button{
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
	display: inline-block;
	width: 32px;
	height: 32px;
  	cursor: pointer;
}

.checkbox-item{
	padding: 12px 0;
}

.level-checkbox{
	display: flex;
	align-items: center;
}

.login-text{
	padding: 8px 0;
	text-align: center;
}

.login-link{
	color: #177DE5;
	border-bottom: 1px dashed #177DE5;
}

.wrong-password, .errorlist,.error-list{
	color: red;
	margin-bottom: 5px;
	margin-top: 5px;
	font-size: 10px;
	white-space: break-spaces;
}

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

.successfully-change{
	color: green;
	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;
}

/* Красивые ползунки  */
.checkbox-ios {
	display: inline-block;    
	height: 28px;    
	line-height: 28px;  
	margin-right: 10px;      
	position: relative;
	vertical-align: middle;
	font-size: 14px;
	user-select: none;	
}
.checkbox-ios .checkbox-ios-switch {
	position: relative;	
	display: inline-block;
	box-sizing: border-box;			
	width: 56px;	
	height: 28px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 25%/50%;	
	vertical-align: top;
	background: #eee;
	transition: .2s;
}
.checkbox-ios .checkbox-ios-switch:before {
	content: '';
	position: absolute;
	top: 1px;
	left: 1px;	
	display: inline-block;
	width: 24px;	
	height: 24px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	transition: .15s;
}
.checkbox-ios input[type=checkbox] {
	display: block;	
	width: 0;
	height: 0;	
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.checkbox-ios input[type=checkbox]:not(:disabled):active + .checkbox-ios-switch:before {
	box-shadow: inset 0 0 2px rgba(0, 0, 0, .3);
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch {
	background: limegreen;
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch:before {
	transform:translateX(28px);
}
 
/* Hover */
.checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch {
	cursor: pointer;
	border-color: rgba(0, 0, 0, .3);
}
 
/* Disabled */
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch {
	filter: grayscale(70%);
	border-color: rgba(0, 0, 0, .1);
}
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch:before {
	background: #eee;
}
 
/* Focus */
.checkbox-ios.focused .checkbox-ios-switch:before {
	box-shadow: inset 0px 0px 4px #ff5623;
}



/*Меню закладок*/

.tab-menu{
		margin: 0px 0 20px 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
}

.tab-menu-link{
	margin-right: 20px;
	padding-right: 15px;
	padding-left: 15px;
	font-size: 18px;
	color: #d1d1d1;
	padding-bottom: 10px;
	border-bottom: 1px solid #d1d1d1;
	cursor: pointer;
	transition-duration: 0.15s;
}

@media (max-width: 1200px) {
 .tab-menu-link {
    font-size: 16px;
    margin-right: 10px;
		padding-right: 5px;
		padding-left: 5px;
		padding-bottom: 5px;
	}
}

@media (max-width: 1000px) {
 .tab-menu-link {
    font-size: 14px;
	}
}

@media (max-width: 800px) {
 .tab-menu-link {
    font-size: 12px;
	}
}

@media (max-width: 550px) {
 .tab-menu-link {
    font-size: 12px;
    margin-right: 5px;
		padding-right: 0px;
		padding-left: 0px;
		padding-bottom: 5px;
	}
}

.tab-menu-link:hover{
	color: black;
	border-bottom: 2px solid #878947;
	text-decoration: none;
}

.active-link{
	color: black;
}

.passive-link{
		color: #d1d1d1;
}

.tab-content{
   margin: 10px 0;
 }

 .card{
	width: 18rem;
}

.card-img-top{
	width:48px;
	height: 48px;
}

/* Убирает стрелочки из числовых инпутов */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; // Yeah, yeah everybody write about it
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

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

.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;
}

/*Окно регистрации, там все классы те же, что у логина кроме этих*/

.blue-link{
	color: rgb(23,125,229);
	cursor: pointer;
}

.agree-checkbox{
	margin-right: 10px;
}

.agree-text{
	font-size: 10px;
}

.register-text{
	padding: 8px 0;
	text-align: center;
	margin-top: -10px;
}

input.red-placeholder::placeholder{
	color: red;
}


/* Статусы сырья */
.quarantine{
	background-color: yellow;
}
.permitted{
	background-color: lightgreen;
}
.rejected{
	color: red;
}

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

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


/* Кнопки */
.back-icon{
	width: 48px;
	height: 48px;
}

.small-button-icon{
	height: 12px;
	width: 12px;
	cursor: pointer;
}

@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;
}