#favorites_popup_wrap{
    /*width: 600px!important;*/
    min-height: 100%;
    padding: 0px;
    position: relative;
    display: inline-block;
    color: #4d4c4c;
}
#favorites_popup_wrap .modal-header {
    min-height: 16.42857143px;
    padding: 0px 0px;
    border: none;
    font-size: 30px;
}
#favorites_popup_wrap .modal-body{
	position: relative;
    padding: 30px;
    font-size: 18px;
}
#favorites_popup_wrap .modal-body p{

}
#favorites_popup_wrap .form-row{
	max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin: 10px 0;
}
#favorites_popup_wrap .form-row:after {
    content: "";
    display: table;
    clear: both;
}
#favorites_popup_wrap .form-row:first-child {
    margin-top: 0;
}
#favorites_popup_wrap .form-cell-3 {
    float: left;
    display: block;
    margin-right: 2%;
    width: 30%;
}
#favorites_popup_wrap .form-cell-3:last-child {
    margin-right: 0;
}
#favorites_popup_wrap .form-cell-9 {
    float: left;
    display: block;
    margin-right: 2%;
    width: 68%;
}
#favorites_popup_wrap .form-cell-9:last-child {
    margin-right: 0;
}
#favorites_popup_wrap label{
	font-weight: normal;
	font-size: 18px;

}
#favorites_popup_wrap input[type=text]{
	height: 32px;
}
#favorites_popup_wrap input[type=text].error{
	box-shadow: 0 0 0 1px red;
}
#favorites_popup_wrap textarea{
	height: 112px;
}
#favorites_popup_wrap input[type=text], #favorites_popup_wrap textarea{
	width: 100%;
	border: 1px #b7b7b7 solid;
  	padding: 0px 5px;
  	transition: all .25s;
 	-webkit-transition: all .25s;
    -o-transition: all .25s;
}
#favorites_popup_wrap .button_wrap{
	text-align: right;
}
#favorites_popup_wrap button{
	font-size: 18px;
	border: none;
	background-color: rgb(221, 221, 221);
	transition: all .25s;
 	-webkit-transition: all .25s;
    -o-transition: all .25s;
}
#favorites_popup_wrap button:hover {
    box-shadow: 0 0 0 3px rgba(204,204,204,1);
}
#favorites_popup_wrap small.error{
	color: red;
}
.kochnev_add_favor {
	/* Сброс дефолтных стилей у button */
	all: unset;
	appearance: none;
	border: none;
	background: none;
	padding: 0;
	margin: 0;

	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;

	cursor: pointer;
	outline: none;

	transition: .25s;
}
/* Стили для SVG */
.kochnev_add_favor svg {
	width: 100%;
	height: 100%;
	fill: red;
	opacity: .4;
	transition: .25s;
}
.kochnev_add_favor.in-favor svg,
.kochnev_add_favor:hover svg {
	opacity: 1;
}

.kochnev_add_favor:active {
	transform: scale(.8);
}
@media screen and (min-width: 600px){
	#favorites_popup_wrap{
		width: 600px;
	}
}
@media screen and (max-width: 600px){
	#favorites_popup_wrap .form-cell-3{
		float: none;
	}
	#favorites_popup_wrap .form-cell-9{
		float: none;
		width: 100%;
	}
	#favorites_popup_wrap .modal-header{
		font-size: 25px;
	}
}