#bottom-button {
	position: fixed;
	width: 100%;
	height: 52px;
	left: 0;
	bottom: 0;
	z-index: 0;
	display: none;
}
#bottom-button .shadow {
	background:url(../img/button-shadow.png) repeat-x;
	width: 100%;
	height: 5px;
}
#bottom-button .white {
	background:#fff;
	width: 100%;
	height: 46px;
	padding-top: 6px;
}
#bottom-button .white table {
	margin: auto;
}
#bottom-button .white table tr td {
	width: 1%;
	text-align: center;
}
#bottom-button .white table tr td p {
	font-size: 14px;
}
#bottom-button .white table tr td p a {
	color: #000;
	display: block;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#bottom-button .white table tr td p a:focus {
  outline: none;
}
#bottom-button .white table tr td p a .icon {
	display: inline-block;
	width: 22px;
	height: 19px;
	margin-bottom: 2px;
}
#bottom-button .white table tr td p.th1 a .icon {
	background:url(../img/svg/icon-bottom-button-1.svg) no-repeat 0px 0px; 
}
#bottom-button .white table tr td p.th2 a .icon {
	background:url(../img/svg/icon-bottom-button-2.svg) no-repeat 0px 0px; 
}
#bottom-button .white table tr td p.th3 a .icon {
	background:url(../img/svg/icon-bottom-button-3.svg) no-repeat 0px 0px; 
}
#bottom-button .white table tr td p a:hover .icon {
	background-position: 0px -20px;
}
#bottom-button .white table tr td p a.active .icon {
	background-position: 0px -20px;
}
#bottom-button .white table tr td p a .text {
	display: inline-block;
	width: 100%;
}

#contacts-block {
	position: fixed;
	top: 0;
	width: 100%;
	height: 110%;
	background:url(../img/black-50.png);
	z-index: 12;
	display: none;
}
#contacts-block .white {
	width: 324px;
	padding: 10px;
	background: #fff;
	margin: auto;
	margin-top: 40px;
	position: relative;
	border-radius: 4px;
	box-shadow: 0px 0px 10px #000
}
#contacts-block .white .close {
	width: 18px;
	height: 18px;
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	background: url(../img/svg/close.svg) no-repeat 0px 0px;
}
#contacts-block .white .close:hover {
	background-position: 0px -18px;
}
#contacts-block .white .title {
	padding-bottom: 18px;
	padding-top: 10px;
	padding-left: 10px;
}
#contacts-block .white .title p {
	font-weight: bold;
}
#contacts-block .white .title .icon {
	width: 15px;
	height: 14px;
	display: inline-block;
	margin-right: 8px;
	background: url(../img/svg/person.svg) no-repeat 0px 0px;
}
#contacts-block .white .text {
	padding: 20px 10px 15px 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

#contacts-block .white .text p a.viber, #contacts-block .white .text p a.telegram, #contacts-block .white .text p a.whatsapp {
	display:block;
	width:18px;
	height:18px;
	margin-top:0px;
	margin-right:3px;
	float:left;
}
#contacts-block .white .text p a.insta {
	padding-right:20px;
	background:url(../img/svg/insta.svg) no-repeat 100% 0px;
	color:#000;
}
#contacts-block .white .text p a.viber {
	background:url(../img/svg/viber.svg) no-repeat 0px 0px;
}
#contacts-block .white .text p a.telegram {
	background:url(../img/svg/telegram.svg) no-repeat 0px 0px;
}
#contacts-block .white .text p a.whatsapp {
	background:url(../img/svg/whatsapp.svg) no-repeat 0px 0px;
	margin-right:6px;
}
#contacts-block .white .text a.viber:hover, #contacts-block .white .text p a.telegram:hover, #contacts-block .white .text p a.whatsapp:hover {
	background-position:0px -18px;
}
#contacts-block .white .text p a.insta:hover {
	background-position:100% -50px;
}

#contacts-block .white .text p.contacts {
	line-height: 20px;
	font-weight: bold;
	font-size: 16px;
	color: #333;
	margin-bottom:5px;
	color: #000;
}

#contacts-block .white .close-button {
	text-align: center;
	margin-bottom: 12px;
}
#contacts-block .white .close-button p {
	display: inline-block;
	width: 160px;
    font-size: 16px;
    color: #fff;
    padding: 10px 0px;
    background: #fcb414;
    text-transform: uppercase;
    font-weight: bold;
	text-align: center;
	border-radius: 4px;
	cursor: pointer;
	letter-spacing: 0.5px;
}
#contacts-block .white .close-button p:hover {
    background: #ffce2e;
}

@media
only screen and (max-width : 780px), only screen and  and (max-device-width : 780px) {

#bottom-button {
	display: block;
	z-index: 2;
}
#footer {
	margin-bottom: 70px;
}
	
}
@media
only screen and (max-width : 500px), only screen and  and (max-device-width : 500px) {
	
#contacts-block .white {
    width: 310px;
	margin: auto;
	position:absolute;
	left: 50%;
	margin-left: -160px;
	bottom: 20%;
}
#contacts-block .white .title {
    padding-bottom: 10px;
    padding-top: 2px;
    padding-left: 2px;
}
#contacts-block .white .text {
    padding: 10px 0px 5px 0px;
	margin-bottom: 15px;
}
#contacts-block .white .close-button {
    margin-bottom: 5px;
}
	
}