@media only screen and (min-device-width: 900px){
#container{
width: 1000px;
    margin: 0 auto;
}
#sliderb_container {
            position: relative;
            width: 100%;
            display:inline-block; 
	   height: 300px; overflow: hidden;
		}
}
@media only screen and (max-device-width: 900px){
#container{
width: 100%;
    margin: 0 auto;
}
#sliderb_container {
            position: relative;
            width: 100%;
            display:inline-block; 
	   height: 300px; overflow: hidden;
		}
}
@media only screen and (max-device-width: 500px){
#container{
width: 100%;
    margin: 0 auto;
    padding: 1px;
}
	#sliderb_container {
            
	display: none;
	}
        #menu_left-d {
            display: none;
        }
        
}
/* animation */
@keyframes example {
  from {color: black;}
  to {color: #990000;}
}

h1 {
  color: black;
  animation-name: example;
  animation-duration: 4s;
   animation-iteration-count: infinite;
}
/* transition
h1:hover{
	color:#00ff00;
	transition:color 3s;
}
*/
html,body{
		font-family: 'Open Sans', sans-serif;
}
p{
	text-indent:20px;
	text-align:justify;
}
h1{
	color:#0b2533
}
strong{
	font-weight:600;
}
#header{
	width:100%;
	min-height:100px;
	background:#0b2533;
	border-bottom:4px solid #023d58;
}
#headerin{
	width:100%;
	margin:0 auto;
	background:#0b2533;
}
#logo_img{
	float:left;
	width:150px;
}
#logo_img img{
	margin:0;
	padding:0;
	width:150px;
}
#logo_text1{
	/*margin:15px 250px 5px 10px;
	float:left;*/
            text-align: center;
	font-size:2.5em;
	
}
#logo_text1 a{
	color:#f0f0f0;
	text-decoration:none;
	text-shadow:1px 1px 2px #000;
}
#logo_text2{
	margin:5px 10px 10px;
	float:left;
	color:#eaeaea;
	font-size:1.2em;

}
#head_menu{
	width:100%;
	padding:15px 0 10px;
	
}
#head_menu ul{
	display:table;
	width:100%;
	list-style:none;
	margin:0;
	padding:0;
}
#head_menu li{
	display:table-cell;
	border-left:1px solid #0b2533;
	text-align:center;
	padding:5px;
	background:#dcdcdc;
}
#head_menu li:hover{
	background:#b6c2c7;
}
#head_menu li a{
	color:#000;
	text-decoration:none;
}
#header_part_2{
	width:100%;
	margin:20px auto;
}
#kontakts{
	display:inline-block;
	margin-right:0px;
	padding-left:15px;
	padding-right:3px;
	width:100%;
	background:#bc0707;
	background: linear-gradient(to right, #bc0707 0%, #e01616 50%, #bc0707 100%);
	color:#fff;
}
#kontakts p{
	text-indent:0;
}
#slides {
    cursor: move; position: absolute; left: 0px; top: 0px; width: 100%; height: 300px;
					overflow: hidden;
}
#slides img {
    width: 100%;
}
.slides-t {
    position:absolute;
    top:150px;
    left:20px;
    font-size:2em;
    background:rgba(255,255,255,0.8);
    color:#0b2533;
    padding:0 5px;
}
#main{	
	float:left;
	width:100%;
	background:url(../pic/background.png) repeat;
	padding:20px 0;
}
#main_in{
	width:100%;
	margin:0 auto;
}
#menu_left{
	width:100%;
	float:left;
	padding:0;
	border:5px solid #00202e;
}
#menu_left ul{
	list-style:none;
	margin:0;
	padding:0;
	z-index:10;
}
#menu_left li{
	margin:1px;
	padding:10px 15px;
	z-index:10;
	background:#7db12f;
	background:rgba(255,255,255,0.6);
	background: linear-gradient(to top, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.6) 100%);
	position:relative;
}
#menu_left li img{
	float:left;
	margin:3px 5px 0 0;
}
#menu_left li:hover{
	background: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.7) 100%);
}
#menu_left a{
	color:#000;
	text-decoration:none;
}
#menu_left li ul{
	display:none;
	position:absolute;
	left:256px;
	top:0px;
	background:none;
	border:2px solid #00202e;
	border-left:1px solid #00202e;
	z-index:0;
}
#menu_left li ul::after {
    content: ''; 
    position: absolute;
    left: -16px; 
	top: -2px;
	width:16px;
	height:32px;
	background:url(../pic/arrow.png) no-repeat;

}
#menu_left li:hover ul{
	display:block;
	z-index:0;
	-webkit-animation: runin 1s 1 ease;
	-moz-animation: runin 1s 1 ease;
	-o-animation: runin 1s 1 ease;
}
@-webkit-keyframes runin {
from { -webkit-transform: translate(40px, 0px); }
to { -webkit-transform: translate(0px, 0px); }
}
@-moz-keyframes runin {
from { -moz-transform: translate(40px, 0px); }
to { -moz-transform: translate(0px, 0px); }
}
@-o-keyframes runin {
from { -o-transform: translate(40px, 0px); }
to { -o-transform: translate(0px, 0px); }
}
#menu_left li li{
	width:250px;
	margin:0;
	border-bottom:1px solid #000;
	padding:5px 10px;
	z-index:0;
	background: linear-gradient(to top, rgba(179,196,205,0.9) 0%, rgba(179,196,205,0.95) 50%, rgba(179,196,205,0.9) 100%);
	background:#b3c4cd;
	box-shadow: 10px 8px 5px rgba(0,0,0,0.2);
}
#menu_left li li a{
	font-size:0.8em;
	color:#000;
	z-index:0;
}
#menu_left li li:hover{
	background: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.7) 100%);
	background:#c0d1da;
}
#content{
	width:100%;
	padding:10px;
	background:rgba(255,255,255,0.9);
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
	text-align:left;
}
#content p{
        text-align:left;
}
#content u{
        text-decoration: none;
}

#contents{
	margin-left:288px;
	padding:20px;
	background:rgba(255,255,255,0.9);
        
}

#content #contents a{
	text-decoration:none;
	color:#000;
}
.content_img{
	/*float:left;*/
	width:250px;
	margin:0;
	padding:0;
	margin-right:25px;
	margin-bottom:10px;
	border:3px solid #00202e;
}
.benefits_container{
	text-align:center;
}
.benefit_block{
	display:inline-block;
	width:182px;
	margin:5px 15px;
}
.benefits_border{
	width:182px;
	height:183px;
	background:url(../pic/icons/border.png);
}
.benefits_border img{
	float:left;
	margin-left:48px;
	margin-top:48px;
}
.benefit_title{
	font-size:1.9em;
	font-weight:400;
	color:#bc0707;
}
.benefit_block hr{
	height:4px;
	width:25px;
	border: none;
	color:#bc0707;
    background:#bc0707;
}
.benefit_block p{
	text-indent:0;
	text-align:center;
	color:#252525;
}
#content #tags{
	font-size:0.8em;
}
#content #tags a{
	color:#727272;
}
#read_more{
	font-size:0.9em;
}
#read_more h3{
	margin-bottom:0;
}
#read_more h3 a{
	color:#243246;
}
.read_more_cont{
	position:relative;
	overflow:auto;
}
#read_more img{
	float:left;
	width:150px;
	margin-right:10px;
	border:3px solid #000;
}
#read_more .read_more_buttom a{
	color:#fff;
}
#read_more hr{
	width:100%;
}
.read_more_buttom{
	position:absolute;
	right:5px;
	bottom:5px;
	margin:2px 2px 4px;
	padding:5px 10px;
	background:#e7736e;
	border:1px solid #ed2920;
	border-radius:5px;
}
.read_more_buttom:hover{
	background:#e13d35;
}
#last_news{
	font-size:0.8em;
}
.user_date{
	font-size:0.7em;
	font-style:italic;
}
#links_adds{
	margin-top:20px;
	padding-bottom:20px;
	border-radius:10px;
	background:rgba(205,226,236,0.9);
	float:left;
	width:100%;
}
.links_adds_colls{
	float:left;
	margin:16px;
	width:300px;
	height:100px;
}
.links_adds_colls_img{
	display:inline-block;
	width:100px;
	height:100px;
	overflow:hidden;
}
.links_adds_colls_text{
	display:inline-block;
	width:180px;
	height:100px;
	margin:0 5px;
	overflow:hidden;
}
.links_adds_colls_text a{
	text-decoration:none;
	color:#26575b;
	font-size:0.8em;
}
.links_adds_colls_text:hover a{
	color:#d33c67;
}
.links_adds_colls_img img{
	margin:0;
	padding:0;
	transform: scale(1);
	-webkit-animation: imgScales 1s 1 ease;
	-moz-animation: imgScales 1s 1 ease;
	-o-animation: imgScales 1s 1 ease;
}
@-webkit-keyframes imgScales {
from { -webkit-transform: scale(1.1); }
to { -webkit-transform: scale(1); }
}
@-moz-keyframes imgScales {
from { -moz-transform: scale(1.1); }
to { -moz-transform: scale(1); }
}
@-o-keyframes imgScales {
from { -o-transform: scale(1.1); }
to { -o-transform: scale(1); }
}
.links_adds_colls:hover img{
	transform: scale(1.1);
	-webkit-animation: imgScale 1s 1 ease;
	-moz-animation: imgScale 1s 1 ease;
	-o-animation: imgScale 1s 1 ease;
}
@-webkit-keyframes imgScale {
from { -webkit-transform: scale(1); }
to { -webkit-transform: scale(1.1); }
}
@-moz-keyframes imgScale {
from { -moz-transform: scale(1); }
to { -moz-transform: scale(1.1); }
}
@-o-keyframes imgScale {
from { -o-transform: scale(1); }
to { -o-transform: scale(1.1); }
}
#footer{
	float:left;
	width:100%;
	min-height:100px;
	background:#0b2533;
	border-top:4px solid #023d58;
}
#footerin{
	width:100%;
	margin:0 auto;
	background:#0b2533;
}
#footer_logo{
	float:left;
	line-height:100px;
	padding:0 20px;
	color:#ccc;
}
#footer_logo a{
	color:#ccc;
	text-decoration:none;
}
#social{
	float:right;
	margin:0px 10px;
}
#social ul{
	list-style:none;
	margin:0;
	padding:0;
}
#social li{
	float:left;
	padding:0px;
}
#social li a{
	display:block;
	padding:6px;
}
.logovk{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:0px -192px;
}
.logovk:hover{
	background-position:0px -288px;
}
.logofb{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:0px -384px;
}
.logofb:hover{
	background-position:0px -352px;
}
.logogl{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:0px -96px;
}
.logogl:hover{
	background-position:0px -64px;
}
.logoyt{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:0px -128px;
}
.logoyt:hover{
	background-position:0px -480px;
}
.logood{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:0px -224px;
}
.logood:hover{
	background-position:0px -256px;
}
.logosk{
	height:32px;
	width:32px;
	background:url(../pic/logo/socialicons.png) no-repeat;
	background-position:-36px -96px;
}
.logosk:hover{
	background-position:-36px -63px;
}
.logovb{
	height:32px;
	width:32px;
	background:url(../pic/logo/viber.png) no-repeat;
	background-position:center;
}
.logowa{
	height:32px;
	width:32px;
	background:url(../pic/logo/whatsapp.png) no-repeat;
	background-position:center;
}
.logoks{
	height:30px;
	width:30px;
	background: url(../pic/logo/kyivstar.png) no-repeat;
	background-size:70%;
	background-position:center;
}
.logolf{
	height:20px;
	width:40px;
	background: url(../pic/logo/LifeBY_logo.png) no-repeat;
	background-size:cover;
	background-size:70%;
	background-position:center;
}
.logomt{
	height:30px;
	width:30px;
	background: url(../pic/logo/1396036998_1.png) no-repeat;
	background-size:cover;
	background-size:70%;
	background-position:center;
}
.logocd{
	height:30px;
	width:30px;
	background: url(../pic/logo/cdma.png) no-repeat;
	background-size:cover;
	background-size:70%;
	background-position:center;
}
#partners a{
	width:200px;
	height:200px;
	display:inline-block;
	margin:10px;
	text-align:center;
	font-size:0.8em;
}
#bigmir{
	position:relative;
	top:40px;
}




#wrap{
	display: none;
	opacity: 0.8;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 16px;
	background-color: rgba(1, 1, 1, 0.725);
	z-index: 100;
	overflow: auto;
}
	
#window{
	width: 400px;
	height: 420px;
	margin: 10% auto;
	display: none;
	background: #fff;
	z-index: 200;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
}
.close{
	position:absolute;
	top:10px;
	right:10px;
	cursor: pointer;
}
#feedback-form {
	text-align:center;
	font-size:2em;
	max-width: 400px;
	padding: 2%;
	border:10px solid #fff;
	border-radius: 5px;
	background: #f1f1f1;
}
#feedback-form [required] {
  width: 100%;
  box-sizing: border-box;
  margin: 2px 0 2% 0;
  padding: 2%;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 3px;
  box-shadow: 0 1px 2px -1px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:hover {
  border-color: #7eb4ea;
  box-shadow: 0 1px 2px -1px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:focus {
  outline: none;
  border-color: #7eb4ea;
  box-shadow: 0 1px 2px -1px rgba(0,0,0,.2) inset, 0 0 4px rgba(35,146,243,.5);
  transition: .2s linear;
}
#feedback-form [type="submit"] {
  padding: 2%;
  border: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset;
  background: #fa5d5d;
  color: #fff;
  cursor: pointer;
}
#feedback-form [type="submit"]:hover {
  background: #f63535;
}
#feedback-form [type="submit"]:focus {
  box-shadow: 0 1px 1px #fff, inset 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 0 rgba(0,0,0,.05);
}
.menu-phone a{
   font-size:16px;
   font-weight:bold;
   color:blue;
}
p {
	text-indent:20px;
} 
h1, h2, h3{
	text-align:center;
}
ul{
	padding-left:15px;
}