/*   
Theme Name: CPZ
Theme URI: домашняя-страница-темы
Description: Центр психического здоровья Алматинской области
Author: ARTeam Dev
Author URI: arteam.kz
Version: 1.0

*/

html, body
{
	position: relative;
	min-height: 100%;
}
body
{
	background-image:url('images/main.png');
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 14px;
	line-height: 22px;
	color: #666;
	position: relative;
	-webkit-text-size-adjust: none;
}
body *
{

}
h1, h2, h3, h4, h5, h6
{
	line-height: 1;
	font-weight: bold;
}
h1, h2, h3
{
	font-size: 18px;
}
h4, h5, h6
{
	font-size: 16px;
}
p
{
	margin: 0 0 10px 0;
}
a, a:link, a:active, a:visited, a:hover
{
	color: inherit;
}

nav:not(.mm-menu)
{
	display: none;
}

@font-face {
			font-family: "DejaVuSansBook";
			src: url("./fonts/DejaVuSansBook.eot");
			src: url("./fonts/DejaVuSansBook.eot?#iefix")format("embedded-opentype"),
			url("./fonts/DejaVuSansBook.woff") format("woff"),
			url("./fonts/DejaVuSansBook.ttf") format("truetype");
			font-style: normal;
			font-weight: normal;
	}
	
@font-face {
			font-family: "DejaVuSansCondensedBold";
			src: url("./fonts/DejaVuSansCondensedBold.eot");
			src: url("./fonts/DejaVuSansCondensedBold.eot?#iefix")format("embedded-opentype"),
			url("./fonts/DejaVuSansCondensedBold.woff") format("woff"),
			url("./fonts/DejaVuSansCondensedBold.ttf") format("truetype");
			font-style: normal;
			font-weight: normal;
	}	


.header,
.content
{
	
}
.header
{
	background-color: #fff;
	background: #fff;
	font-size: 16px;
	color: #333;
	line-height: 40px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
	width: 100%;
	border-bottom:1px solid #094a80;
}
.footer
{
	background-color: #0d619d;
	background: #0d619d;
	font-size: 14px;
	color: #fff;
	


	-moz-box-sizing: border-box;
	box-sizing: border-box;	
	width: 100%;
}
.footer p
{
	margin: 0;
}
.inner{
	padding-top:15px;
}
.header.fixed
{
	position: fixed;
	top: 0;
	left: 0;
}
.footer.fixed
{
	position: fixed;
	bottom: 0;
	left: 0;
}
/*Навигация меню и шапка сайта*/



.navbar-header{	
	padding-left:36px;
	width:98%;
	float:none;
}
.navbar-header a:before,
.navbar-header a:after
{
	content: '';

	background:none;

}

.navbar-brand{
	padding:20px 5px;
	width:321px;
	font-size:14px;
	text-transform: uppercase!important;
	text-align:left;
	font-weight:bold;
	height: 100%;
}
.navbar-brand p {
	padding-top:8px;
}

.navbar-brand a {
  position:relative;
  float:left;
  padding:0px;
  font-size:14vw!important;
  
  text-decoration:none!important;
  text-transform: uppercase!important;
  color:#333;
  font-family: 'PT Sans Narrow', sans-serif;
}
.navbar-brand span {
  position:relative;
  float:left;
  padding:0px;
  font-size:18px;
  font-family: 'PT Sans Narrow', sans-serif;
  text-decoration:none!important;
  text-transform: uppercase;
  color:#094a80;
}
.navbar-brand>img {
  height: 75px;
  width: auto;
  float:left;
  padding-right: 10px;
}
#navbar{
	background:#016599;
	color:#fff;
	font-size:14px;
	text-transform:uppercase;
	font-weight:bold;
}
#navbar2{
	background:#2f4161;
	color:#fff;
	font-size:14px;
	text-transform:uppercase;
	font-weight:bold;
	height: 53px!important;
	padding-top:15px;
}
#navbar2 .nav > li{
	padding-right:20px;
}
.nav > li > a{
	
}
.nav > li > a:hover{
	text-decoration:underline;
	background:none;
}
.mm-navbar{
	background:#327f9e;
	text-transform:uppercase;
}
.mm-navbar a{
	color:#fff!important;
}
.mm-btn:before{
	border-color:#fff;
	
}
.content
{
	padding: 20px;
	background:#fff;
}
.articlename{
	text-align:left;
	font-size:18px;
	color:#000;
	padding:10px;
}
.articlename span{
	font-size:14px;
}
.news{
	height:565px;
	overflow:hidden;
	background:#fff;
	margin-bottom:10px;
}
.news p{
	padding: 0 10px!important;
	text-align: left;
}
.imgart{
	height: 185px;
    overflow: hidden;
}
/*Кнопки сервисов*/

.services {
	padding-bottom:30px;
	height:auto;
	display:block;
	overflow: hidden;
}
.services img{
	float:left;
	padding:10px 20px;
}
.services p{
	float:left;
	text-align:center;
	padding-top:30px;
}

.services .block{
	background:#fff;
}

.page {
	max-width:1245px;
	margin:0 auto;
	
}

.deputaty:hover{
	content: url('images/deputaty-hover.png');
}

.header_phone_wrapp {
  color: #000;
  display: inline-block;
  font-size: 12px;
  margin: 15px 20px 0 180px;
  text-align: left;
  vertical-align: middle;
}

.header_phone_item_top {
    background: rgba(0, 0, 0, 0) url(./images/headphones.png) no-repeat 2px 10px;
    padding: 0px 0 0 33px;
    margin: 0px 0 8px 0;
}
.header_phone_item_bottom {
    background: rgba(0, 0, 0, 0) url(./images/call.png) no-repeat 2px 10px;
    padding: 0 0 0 33px;
    margin: 0px 0 8px 0;
}

.header_phone_item_top span, .header_phone_item_bottom span {
	font-size:12px;
	font-family: "DejaVuSansBook";
	font-weight:bold;	
}

.header_phone_item{
	font-size:16px;
}

.search-form {
    position: relative;
   // width: 5em;
}
.search-form__input {
    border: none;
    background:#e4e7e7;
    outline: 0;
    box-sizing: border-box;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    width: 200px;
    padding-left: 18px;
}
.search-form__input, .search-form__input .text {
    font-size: 12px;
    line-height: 2;
}
.search-form__input::-webkit-input-placeholder {
    font-family: OpenSans-Regular, Arial, sans-serif, serif;
    font-size: 12px;
    line-height: 1.5;
    color: inherit;
}
.search-form__input::-moz-placeholder {
    line-height: normal;
}
.search-form__input:-moz-placeholder, .search-form__input::-moz-placeholder {
    font-family: OpenSans-Regular, Arial, sans-serif, serif;
    font-size: 12px;
    line-height: 1.5;
    color: inherit;
}
.search-form__input:-ms-input-placeholder {
    font-family: OpenSans-Regular, Arial, sans-serif, serif;
    font-size: 12px;
    line-height: 1.5;
    color: inherit;
}
.search-form__button {
    position: absolute;
    margin-left: 5px;
    right: 0px;
    top: 50%;
    margin-top: -11px;
    width: 26px;
    height: 26px;
    background: RGBA(0,75,113,1) url(./images/search.png) 6px 6px no-repeat;
    border: none;
    padding: 5px;
}

.header_find_top{
	display: inline-block;
	position: absolute;
    top: 30px;
    right: 70px;
}

.navbar-right{
	margin-top:-10px;
}

.navbar-right:after{
	clear:both;
	display:table;
}

.order-call-button {
    white-space:  nowrap;
    font-weight: 600;
	font-family:"DejaVuSansBook";
    display: inline-block;
    padding: 0.3em 1.25em;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid transparent;
    background-color: #0d4963;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .16);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .16);
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    color: #fff!important;
    
}
.order-call-button:active {
    margin-bottom: 0;
    margin-top: 1px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .16);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .16);
}
.header-mobile__order{display:none;}
.header-mobile__order a {
    display: block;
    width: 100%;
    text-align: center;
    background: #006170;
    color: white;
	font-family:"DejaVuSansBook";
    font-weight: bold;
    font-size: 14px;
    padding: 5px;
	margin-top:5px;	
}

.header_phone_wrapp_mobile{
	display:none;
}

.header_phone_wrapp_mobile .header_phone_item ul li{
	display:inline-block;
}
.header_phone_wrapp_mobile .header_phone_item ul li:last-child{
	margin-left:20px;
}

.header_phone_wrapp_mobile .header_phone_item{
	text-align:center;
}
.header_phone_wrapp_mobile{margin-top:10px}

@media only screen and (min-width: 1281px) {
	.zhetysubunner{
		float: left;
    	padding-left: 100px;
	}
	.navbar-header {
     	float: none!important; 
		height:116px!important;
	}

	.dateweather {
 	   height: 25px;
 	   width: 350px;
 	   margin: 0 auto;
	   float:left;
	}
	#weather{
		float:left;
		padding-right:15px;
	}
	
	
	.navbar-right {
		float:right;
	}
	
	.phone br {
    display: none;
}
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {

	.header_phone_wrapp{
		margin: 15px 20px 0 140px;
	}

	.navbar-right {
		position:absolute;
		right:10px;
		top:0px;
	}
	
}

@media only screen and (min-width: 375px) and (max-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2){
	.navbar-brand{
		width:100%;
	}
	.header{
		height:auto!important;
	}
	#navbar{
		height:auto!important;
	}
.navbar-header{
	padding-left:0px!important;
	width:100%!important;
	
	padding:0px 5px;
}
	.navbar-brand {
		width:100%!important;
		height: auto!important;
   		
	}
	.dateweather{
		width: 100%;
    	padding-left:10px;
		padding-top:5px;   	
	}
		#weather{
		float: left;
    	padding-left: 10px;
	}
	#weather img{
		width:30px;
	}
	#doc_time{
		float:left;
	}
	.socialicons{
		position: absolute;
   		right: 60px;
   		top: 5px;
	}
	.navbar-toggle{
		position: absolute;
    right: 10px;
    top: 10px;
    margin: 0;
	}
	.sfsi_wDiv{
		width:140px!important;
	}
	.mainnews{
		height:auto!important;
	}
}


@media only screen and (min-width: 360px) and (max-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3){
	.navbar-brand{
		width:100%;
	}
	.header{
		height:auto!important;
	}
	#navbar{
		height:auto!important;
	}
.navbar-header{
	padding-left:0px!important;
	width:100%!important;
	height:auto!important;
	padding:0px 5px;
}
	.navbar-brand {
		width:100%!important;
		height: auto!important;
   		
	}
	.dateweather{
		width: 100%;
    	padding-left:10px;
		padding-top:5px;   	
	}
		#weather{
		float: left;
    	padding-left: 10px;
	}
	#weather img{
		width:30px;
	}
	#doc_time{
		float:left;
	}
	.socialicons{
		position: absolute;
   		right: 60px;
   		top: 5px;
	}
	.navbar-toggle{
		position: absolute;
    right: 10px;
    top: 10px;
    margin: 0;
	}
	.sfsi_wDiv{
		width:140px!important;
	}
	.mainnews{
		height:auto!important;
	}
}


@media (max-width: 480px) {
	.header{
		height:auto!important;
	}
	#navbar{
		height:auto!important;
	}
.navbar-header{
	padding-left:0px!important;
	width:100%!important;
	height:auto!important;
}
	.navbar-brand {
		width:100%!important;
		height: auto!important;
   		padding: 0px!important;
	}
	.navbar-brand span{
		text-align: center!important;
   		float: none!important;
	}
	.navbar-brand p{
		text-align: center!important;
   		float: none!important;
	}
	.navbar-brand>img {
  float:none!important;
  padding-right: 0px!important;
		margin:0 auto;
}
	.dateweather{
		width: 100%;
    	
    	margin: 0 auto;
	}
	#weather{
		float: left;
    	padding-left: 10px;
	}
	#weather img{
		width:30px;
	}
	.socialicons{
		margin:0 auto;
		float:none!important;
	}
	.navbar-toggle{
		float:none!important;
	}
}




/* Large desktops and laptops */
@media (min-width: 1200px) {

.services div{
	width:calc(99%/3);
}	
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
.services div{
	width:calc(99%/3);
}	

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	.header-mobile__order{display:block;}
	
.services div{
	width:calc(99%/3);
	
}	
.services p{
	float:left;
	width:118px;
	padding-top:10px;
}
.news{
	height:330px;
}

.news p{
	padding: 0 10px!important;
	text-align: left;
}
.news a{
	padding: 0 10px!important;
}

}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	.services div{
	width:calc(99%/2);
	}
	.services p{
	font-size:15px!important;
	font-weight:bold;
	}
	.header_phone_wrapp{
		display:none;
	}
	.header-mobile__order,.header_phone_wrapp_mobile{display:block;}
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
.services div{
	width:100%;
	font-size:12px!important;
}
.services p{
	font-size:14px!important;
	font-weight:bold;
}
}
.services div{
	text-align:left;
	font-size:18px;
	color:#171716;
	background:#fff;
	float:left;
	margin:1px;
	display:inline-block;
	height:91px;
}


.blog-post {
	margin-bottom: 25px;
	background: #fff;
	padding:0px 5px;
}

.blog-post a { color:#337ab7;}

.blog-post-title {
  	margin-bottom: 5px;
  	font-size: 30px;
  	margin-top:0px;
  	color:#000;
	text-align:left;
}
.blog-post-title:hover a {
  	text-decoration:none;
}
.blog-post-meta{
	font-weight:bold;
	text-transform:uppercase;
	font-size:14px;
	color:#007c96;
	text-align:left;
}
.edit-link{
	background-image:url('images/edit-document.png');
	background-repeat: no-repeat;
	padding-left: 32px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.post-edit-link{
	padding-left: 5px;
}
.share42init{
	display:block;
	float:left;
	margin-bottom:20px;
}
.share{
	display:block;
	float:left;
}
.share p{
	float:left;
	padding-right:10px;
}

.footer1 {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}
.container {
  width: auto;
}
.container .text-muted {

}


.widget_calendar {
  margin-bottom: 36px;
}
.widget_calendar .block-title {
  margin-bottom: 17px;
}
.widget_calendar table {
  width: 100%;
  text-align: center;
}
.widget_calendar th {
  text-align: center;
}
.widget_calendar td {
  padding: 8px 0;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
		.header_phone_wrapp{
		margin: 15px 20px 0 50px;
	}
  .widget_calendar td {
    padding: 5px 0;
  }
}
.widget_calendar #today {
  background-color: #ededed;
  font-weight: bold;
  color: #000000;
}
.widget_calendar caption {
  font-weight: bold;
  padding-bottom: 10px;
}
.widget_calendar thead tr {
  line-height: 34px;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .widget_calendar thead tr {
    line-height: 28px;
  }
}
.widget_calendar tfoot td {
  border: none;
}
.widget_calendar tfoot #prev {
  text-align: left;
}
.widget_calendar tfoot #next {
  text-align: right;
}
.widget_calendar tfoot a:hover {
  color: #4db2ec;
}

.advanced-sidebar-menu{
	background:#fff;
	margin-bottom:20px;
	padding-bottom:20px;
}
.advanced-sidebar-menu h3{
	padding:10px;
	margin:0px;
	background:#327f9e;
	color:#fff;
}
.advanced-sidebar-menu ul{
	padding:0px;
	margin:10px!important;
}
.advanced-sidebar-menu ul li a{
	font-size:16px!important;
	color:#000;
	font-weight:normal;
	text-align:left!important;
}
.wpb_category_n_menu_accordion{
	width:294px;
	margin: 0 auto;
}
.socialicons{
    width: 140px;
    float: right;
}
.navbar-toggle span {
	background-color: #094a80;
}
.navbar-toggle {
	border:1px solid #094a80;
	margin-top: 40px;
}
.mainnews{
	height:264px;
}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}