/*
 Theme Name:   AGKA
 Theme URI:    http://www.sanjmur.com/
 Description:  Тема для сайта Алматинской Городской Коллегии Адвокатов.
 Author:       Sanjmur
 Author URI:   http://www.sanjmur.com/
 Template:     lawbusiness
 Version:      1.0.0
 Tags:         
*/

@import url("../lawbusiness/style.css");

/* Custom css
-------------------------------------------------------------- */

.header_html, .header_html .contact_widget_email  a, .header_html .contact_widget_email  a:hover {
color:#45839d;
}

.header_html > span{
font-size:14px;
line-height: 20px;
}

 /*<?php putRevSlider("blog1","homepage") ?>*/

.custom_header .contact_widget_phone:before {
top: 0; 
}

#header a.logo, #header a.logo > img {
height: 100px !important;
width: 241px !important; 
}

article  .one_first {
margin-top: 20px;
}

.post_content {
margin-bottom: 35px;
}

.page-template-blog-php .content_wrap.r_sidebar #content {
padding-left: 0;
}

.social_toggle span:before, .social_toggle.current span:before {
color: #FFFFFF;
}

article.post img {
	max-width: 100%;
	height: auto;
}

ol li, ul li {
margin-bottom: 16px;
}

ol li a {
font: 16px/24px 'PT Sans', Verdana, Geneva, 'DejaVu Sans', sans-serif;
font-weight: bold;
font-style: normal;
}

/* Magazines styling */

.magazine_post {
	max-height:490px;
}
.magazines_button {
width: 100%;
margin-top: 35px;
}

.magazine_post img{
width:100%;
height:auto;
}

.blog .magazine_post .entry-title{
font-size: 20px;
}

.cmsms_our_team_wrap .entry-content {
text-align: left;
}

.wrap_person:hover .cmsms_team_rollover,
.wrap_person.cmsms_mobile_hover .cmsms_team_rollover {
	background:rgba(0,0,0,0.1) !important;
}

.devlink {
	float:right;
}

.custom_header {
position:relative;
z-index: 999;
}

.custom_header_inner {
position: relative;
z-index: 999;
}

.custom_header_inner .langPanel {
position: absolute;
z-index: 999;
top: 0;
right: 0;
}

.custom_header_inner .langPanel:after {
display: block;
content: '';
clear: both;
}

.custom_header_inner ul {
list-style: none;
display: block;
float: right;
}

.custom_header_inner ul li{
	display: block;
	float: left;
	margin-right: 10px;
}
.custom_header_inner ul li:last-child {
margin-right: 0;
}


.custom_header_inner ul li.current-lang a {
font-weight: bold;
}

.custom_header_inner ul li a {
color: #fff;
}

.entry.englishPage {
max-width: 1160px;
margin: 0 auto;
padding-top: 30px;
padding-right: 20px;
padding-left: 20px;
}

/* 		News styling 		*/
.entry-summary {
	display: inline-block;
}
.news-full {
	display:inline-block;
	margin-bottom: 50px;
}

.news.news-half {
	width: 46.89%;
    float: left;
	margin-bottom: 25px;
}
.news.news-left {
	padding-right: 3%;
}
.news.news-right {
	padding-left: 3%;
	border-left: 1px solid #8d9096;
}

.news-recent-block {
    border-bottom: solid 1px #ccc;
    margin-bottom: 15px;
	padding-bottom: 10px;
}
.news-content {
    float: left;
    width: 69%;
    margin: 1% 3%;
}
.news-recent-content {
    margin: 0 15px;
}
.news-half .news-content {
    margin: 0 0 0 5%;
    width: 70%;
}
.news-single-block {
	border-bottom: solid 1px #ccc;
    margin-bottom: 8px;
	padding-bottom: 8px;
	list-style:none;
	display: inline-block;
	width:100%;
}

	/*		 NEWS IMAGES		 */
.news-image {
	float: left;
	width: 25%;
	max-width: 100px;
}
.news-image img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    object-position: left;
}
.news-half .news-image img{
	height:65px;
	padding-top: 5px;
}
.news-recent-image {
	width:100%
}
.news-recent-image img{
    width: 100%;
    object-fit: cover;
}
.news-half .news-recent-image img{
	height:250px;
}


	/*		 NEWS FONTS		 */
.news h1, .news h3, .news h4 {
	font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}
.news p {
	padding: 10px 0 5px 0;
	font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}
.news h1 {
    font-size: 24px;
    border-bottom: solid 3px #1e73be;
    padding-bottom: 10px;
    text-align: center;
}
.news h3 {
	margin: 10px 0 5px;
}
.news h4 {
	font-size: 12px;
    color: #45839d;
	margin:0;
}
.news-full .news-recent-content h3{
	font-size: 28px;
}
.news-half .news-recent-content h3{
	font-size: 22px;
	margin-top: 15px;
}
.news-half .news-content h3{
	font-size: 16px;
	margin: 0 0 5px;
}
.news-continue h4{
	color: #45839d;
	font-size: 14px;
    font-weight: bold;
	padding: 15px 0 0;
	text-align:center;
}
.news-recent-content .news-continue h4{
	text-align: left;
	padding: 0 0 15px;
}


@media only screen and (max-width: 540px)
{
.cmsms_info, .cmsms_info .published {
float: left; 
}
.news-recent-content {
    margin: 0 5px;
}
.news-half .news-recent-image img {
    height: 225px;
}	
.news-continue h4, .news-recent-content .news-continue h4 {
    border: 2px solid #1e73be;
    font-weight: bold;
    padding: 15px 0;
    text-align: center;
    margin: 15px 0;
	font-size: 14px;
}	
}

@media only screen and (max-width: 960px)
{
.header_html > span {
margin-top: 10px;
}
.wrap_social_icons ul{
padding: 0;
}
.news-full {
	margin-bottom: 0;
}	
.news.news-half {
	width: 100%;
    float: left;
	margin-bottom: 40px;
}
.news.news-left {
	padding-right: 0;
}
.news.news-right {
	padding-left: 0;
	border-left: none;
}
.news-half .news-content {
    margin: 0 0 0 3%;
    width: 72%;
}
.news-recent-content {
    margin: 0 auto;
    max-width: 400px;
}
.news-half .news-recent-image img {
    height: 250px;
    max-width: 400px;
    margin: 0 auto;
}
.news-half .news-recent-content h3 {
	font-size: 18px;
}
.news-half .news-content h3 {
	font-size: 14px;
}

}

@media only screen and (min-width: 541px) and  (max-width: 1024px){
#header a.logo {
line-height: 80px;
}
}

@media only screen and (min-width: 541px) and  (max-width: 1150px){
#header a.logo, #header a.logo > img {
height: 80px !important;
width: 193px !important; 
}
}

@media only screen and (min-width: 1024px) and  (max-width: 1439px){
.custom_header_inner {
width:1000px;
}
}