/*
Theme Name: GRS
Description: Гильдия риэлторов Сочи
Version: 1.0
Author: oleg@chernavsky.com
*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,cyrillic);
/* Сбрасываем стили */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
  margin:0;
  padding:0;
}
ol,ul {
  list-style:none;
}
h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:normal;
}

/* Настройка для Wordpress */

.alignleft {
  float: left;
  margin: 0 5px 5px 0;
}

.alignright {
  float: right;
  margin: 0 5px 5px 0;  
}

/* Каркас темы */

body {
	font-family: 'Roboto', sans-serif;
	color: #282828;
}
h1,h2,h3, .title, .nav, .row-main-menu {
  text-transform: uppercase;
}
#header { 
	color: #fff;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 2%;
}
body.home #header{
	background: url("img/bg-top.jpg") no-repeat;
	background-size: cover;
}
#top {
	background-color: rgba(0, 0, 0, 0.82);
	padding: 1% 0;
}
#top-nav, .head-main-menu {background-color: rgba(0, 0, 0, 0.7);}
.logo-title {margin-top: 2px; font-size: 16px; font-weight: 600;}
.logo-sub-title {margin-top: 10px; font-size: 13px; font-weight: 500;}

.head-left {
    text-align: end; margin-top: 1%;
}
.head-right {
    text-align: right;
	font-size: 19px;
    text-transform: uppercase;
    margin-top: 1%;
    padding-right: 0;
}
.phone-num {
	font-size: 18px;
    font-weight: 600;
	margin: 6px 0px;
}
.textwidget{
    font-size: 15px;
}
.phone-num:before {
display: inline-block;
content: '';
/* position: absolute; */
Bottom: 0;
background: url("img/phone-m.png") no-repeat;
height: 35px;
width: 35px;
vertical-align: middle;
margin-right: 15px;
}

nav.navbar-default {
	background-color: transparent;
	border: none;
	border-radius: 0;
}
.navbar {
    margin-bottom: 0;
}

.nav > li > a {
    color: #fff;
}
.nav > li > a:hover, .nav > li > a:focus, .nav-main li a:hover , .nav-main li a:focus, #footer a:hover, #footer a:focus {
    color: #b88e0c;
	text-decoration: none;
}
.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
	
}
.nav > li {
    border-bottom: 3px solid transparent;
	
}
.nav > li:hover, .nav > li:focus, #menu-top .current-menu-item {
    border-bottom: 3px solid #b88e0c;
	
}

/* ----------------Main menu--------------------------------------------------------------- */
.main-nav-cont {
    margin-bottom: 10%;
	margin-top: 3%;
}
.nm {
    margin-top: 4%;
	position: relative;

}
.head-main-menu:after {
display: inline-block;
content: '>';
position: absolute;
right: 3%;
height: 35px;
width: 35px;
}
.head-main-menu {
    font-size: 22px;
		padding: 3%;
}
.nav-main li {
	background-color: rgba(255, 255, 255, 0.82);
	margin: 3% auto;
	text-align: center;
	padding: 2%;
}
.nav-main li a {
	color: #282828;
}
.nav-justified > li {
    /* vertical-align: middle; */
}

/* --------------- Pres --------------- */

.row-pres-content, .row-vc-pres-content {
	margin-top: 2%;
}
.row-vc-pres-content  {
    margin-bottom: 5%;
}
.pres-wrap {
	margin-bottom:2%;
}
 .pres-image{
    float: left;
    margin-right: 3%;
	width: 62%;
	text-align: end;
}
.pres-image img {
    /* width: 100%; */
    height: auto;
}
.pres-title {
    color: #b88e0c;
    border-left: 3px solid;
    padding-left: 2%;
	font-size: 26px;
}
/* .post-image {
    float: left;
    margin-right: 3%;
} */
.post-image {
    margin-bottom: 3%;
	padding: 0;
}
.row-vc-pres-content .post-image {
	max-height: 230px;
	overflow: hidden;
}
.post-image img {
    width: 100%;
    height: auto;
	max-width: 282px;
}
.vc-post {
    text-align: start;
	padding-left: 6%;
}
.vc-name{
    font-size: 105%;
    font-weight: 600;
    margin: 0 0 1%;
}
.vc-title {
	color: #b88e0c;
	margin-bottom: 4%;
}

/* --------------- Slider --------------- */
#slider {
    background: #000;
}
.metaslider {
	padding: 5%;
}
#slider .metaslider .prev {
	background: url("img/prev.png") no-repeat;
	color: transparent;
	height: 61px;
	width: 43px;
}
#slider .metaslider .next {
	background: url("img/next.png") no-repeat;
	color: transparent;
	height: 61px;
	width: 43px;
}

/* --------------- News --------------- */
#news{
	
	background: url("img/bg-top.jpg") no-repeat;
	background-size: cover;
	color: #fff;
	position: relative;
}
.news-bg {
border-bottom: 8px solid #b88e0c;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
}
.row-news-content {
    padding-top: 6%;
    padding-bottom: 8%;
}	
.news-title {
    font-size: 24px;
    color: #b88e0c;
    border-left: 8px solid;
    padding-left: 1%;
}
.news-cat-desc {
    color: #b88e0c;
	font-size: 115%;
	border-bottom: 3px solid;
	padding-bottom: 2%;
	margin-top: 15%;
	margin-bottom: 3%;
	min-height: 45px;
}
.news-post-title {
    text-decoration: underline;
    margin-bottom: 8%;
	
}
.news-post {
    text-align: left;
	min-height: 139px;
}
.news-image img {
    width: 100%;
    margin-bottom: 2%;
    margin-top: 5%;
	height: auto;
}
.rmore {
    display: block;
    text-align: end;
    color: #b88e0c;
}
.rmore:hover {
    color: #b88e0c;
}


/* --------------- Footer --------------- */

#footer {
    background: #000;
    color: #fff;
	margin-top: 4%;
}
body.home #footer {
	margin-top: 0;
}
#footer a {
    color: #fff;
}
.footer-1, .footer-2 {
	margin-top: 2%;
}
.footer-3 {
	margin-top: 6%;
	text-align: end;
}
.logo-footer {
    margin: 1%;
}
.footer-2 {
	margin-bottom: 2%;
}
.footer-nav li:first-child {
    margin-bottom: 10%;
	text-transform: uppercase;
}
.footer-menu + .footer-menu {
	margin-top: 10%;
}
.footer-sn {
	text-align: end;
}
.footer-sn-img {
	margin-left: 6%;
}

/* --------------- Sidebar --------------- */

#sidebar ul li a, .current {
	color: #69540c;
}
#sidebar ul li {
	text-transform: uppercase;
	margin-bottom: 10px;
}
#sidebar .menu {
    margin-bottom: 30px;
}
/* .dvdr {
    vertical-align: text-bottom;
margin-right: 2%;
} */
#sidebar .current, #sidebar .current-cat {
    padding-left: 2%;
border-left: 6px solid #a99e5b;
}
.side-nav, #sidebar .cat-item {
    margin-left: 4%;
}
#sidebar .current-cat {
   margin-left: 0;
}

.custom-title {
    background-color: #a99e5b;
    color: #fff;
	text-transform: uppercase;
	font-size: 105%;
	padding: 5%;
}
.custom-title:after {
display: inline-block;
content: '>';
position: absolute;
right: 3%;
height: 35px;
width: 35px;
}

/* --------------- post --------------- */
body.postid-68 .pres-thumb {
    float: left;
    margin-right: 2%;
}
.row-docs {
    clear: both;
}
.img-docs a:before{
	content:'';
	display: block;
	background: transparent url("img/attestat-m.png") no-repeat scroll 0% 0% / contain;
	width: 104px;
	height: 127px;
}
.img-docs {
	text-align: center;
}
.post-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.custom-posted {
    margin-top: 61px;
}
.prmr .posted, .news-posted, .cat-posted {
    margin-top: 15px;

}

.post-contact {
    text-align: center;
}
.contact-title {
	color: #69540c;
	margin: 2% auto;
}

/* --------------- Archive --------------- */
.arch-news-title a {
    color: rgb(40, 40, 40);
    text-decoration: underline;
}
.arch-news-title {
	margin-bottom: 2%;
	margin-top: 0.5%;
}
.arch-image {
    float: left;
    margin-right: 1%;
    margin-bottom: 1%;
}
.arch-cat-desc {
	margin-bottom: 2%;
}
body.category-9 .arch-cat-desc {
	margin-bottom: 0;
}
body.category-9 .arch-news-title {
    margin-top: 0;
}

/* --------------- Table --------------- */

.ftbl .column-6 {
    text-align: center;
}
#tablepress-1 .tablepress .row-hover tr {
	
    border-bottom: 10px solid rgb(255, 255, 255);
}
.tablepress-id-1.row-1 th {
	background-color: #a99e5b;
}
.dataTables_length label select {
    background-color: #e8e8e8;
    border: none;
}
.dataTables_filter label {
    width: 100%;
}

.btn-s {
    background-color: #a99e5b;
    color: #fff;
    font-weight: 300;
    font-size: 90%;
    padding: 1% 9.3%;
}
.dataTables_filter input {
    /*background-color: #E8E8E8;
    border: none;*/
    padding: 0.9% 1%;
    font-size: 80%;
    margin-right: 10px !important;
}
.tab-info {
    margin: 2% 0.5%;
}



/* --------------- Form --------------- */
.wpcf7-form input, .wpcf7-form textarea {
    background-color: rgb(232, 232, 232);
    border: medium none;
    padding: 1% 3%;
    margin-bottom: 3px;
	width: 100%;
}
.wpcf7-form .wpcf7-submit {
    background-color: rgb(105, 84, 12);
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    margin-top: 7%;
}

.law-post-title {
    color: #69540C;
    text-align: center;
	margin-bottom: 3%;
}
/* --------------- Gallery --------------- */

.post .ngg-album-compact .ngg-album-compactbox::before, .post  .ngg-album-compact .ngg-album-compactbox::after {
	content: none;
}
.ngg-breadcrumb a{
	color: #69540C;
}

 .copy{
   
}

/**
 * Post layout
 */
.post__title {
    font-weight: 600;
    margin-bottom: 20px;
}
.post__content {
    margin-bottom: 20px;
}
/* --------------- Documents --------------- */

.table-documents {
    width: 100%;
    margin-bottom: 30px;
}

.table-documents__outer {
    margin-bottom: 1em;
}

.table-documents thead th {
    background: #a99e5b;
    color: #fff;
    font-weight: normal;
    padding: 8px;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #fff;
}
.table-documents tbody tr {
    border-top: 10px solid #fff;
}
.table-documents tbody td {
    background-color: #dcdcdc;
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}
.table-documents tbody tr:hover td {
    background-color: #f3f3f3;
}

/* --------------- Single documents --------------- */
.s-document__title {
    margin-bottom: 30px;
}
.s-document__content {
    margin-bottom: 30px;
}
.s-document__files {
    margin-bottom: 30px;
}

/* --------------- Comments --------------- */
.comments {

}
.comments__title {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.comment-form__inner {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 10px;
}
.comment-form__avatar img {
    max-width: 40px;
    height: auto;
    display: block;

}
.comment-form__content {
    flex: 1;
    margin-left: 15px;
}
.comment-form__text {
    resize: horizontal;
    padding: 9px 12px;
}
.comment-form__submit {
    text-align: right;
}

.comment-list .comment-wrap{
    display: flex;
    flex-flow: row nowrap;
}
.comment-list .comment-avatar{
    margin-right: 15px;
}
.comment-list li {
    margin-bottom: 15px;
}
.comment-list .comment-avatar img {
    max-width: 40px;
    height: auto;
    display: block;
}
/* --------------- Login popup --------------- */
.modal-close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #fff;
}
.modal-close:hover,
.modal-close:focus{
    opacity: 0.7;
    color: #fff !important;
}

.modal-opened {
    overflow: hidden;
}
.modal-fade {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.modal-login {
    color: rgb(40, 40, 40);
}
.modal-login__wrapper {
    width: 300px;
    position: fixed;
    top: 100px;
    left: 50%;
    margin-left: -150px;
    background: #dcdcdc;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    z-index: 1;
}
.modal-login__header {
    background: #a99e5b;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    position: relative;
}

.modal-login__form form {
    display: block;
    padding: 15px;
}
.modal-login__form label {
    color: #b88e0c;
}
.modal-login__remember-wrap {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin-bottom: 10px;
}
.modal-login__remember {
    margin: 0 5px 0 0 !important;
}
.modal-login__remember-label{
    margin: 0;
}
.modal-login__input {
    width: 100%;
    padding: 8px 15px;
    border: 0;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #1b1f24;
}
.modal-login__submit {
    width: 100%;
    padding: 8px 15px;
    border: 0;
    border-radius: 5px;
}

.modal-login__socials {
    padding: 15px;
}
.modal-login__socials .social-auth-widget {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
    justify-content: flex-end;
}
.modal-login__socials .social-auth-widget__label {
    margin-right: 10px;
}

.modal-login__links {
    padding: 0 15px 15px 15px;
    text-align: center;
}
.modal-login__links a {
    color: #b88e0c !important;
    text-decoration: underline !important;
}
.modal-login__links a:hover,
.modal-login__links a:active,
.modal-login__links a:focus{
    text-decoration: none !important;
}
/* --------------- Loggged info --------------- */
.modal-logged__content {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.modal-logged__name {
    margin-right: 10px;
    color: #ededed
}
.modal-logged__avatar {
    border-radius: 50%;
    overflow: hidden;
    width: 32px;
    height: 32px;
}

.modal-logged__links-delimiter {
    margin: 0 3px;
}

/**
 * Modal register
 */
.modal-register {
    color: rgb(40, 40, 40);
}
.modal-register__wrapper {
    width: 300px;
    position: fixed;
    top: 100px;
    left: 50%;
    margin-left: -150px;
    background: #dcdcdc;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    z-index: 1;
}
.modal-register__header {
    background: #a99e5b;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    position: relative;
}
.modal-register__form form {
    display: block;
    padding: 15px;
}
.modal-register__form label {
    color: #b88e0c;
}
.modal-register__input-wrapper {
    margin-bottom: 10px;
}
.modal-register__input-wrapper .error {
    font-weight: normal;
    color: #ff765b;
}
.modal-register__input-wrapper label.error {
    font-size: 12px;
}
.modal-register__input {
    width: 100%;
    padding: 8px 15px;
    border: 0;
    border-radius: 5px;
    color: #1b1f24;
}
.modal-register__submit {
    width: 100%;
    padding: 8px 15px;
    border: 0;
    border-radius: 5px;
}
.modal-register__links {
    padding: 0 15px 15px 15px;
    text-align: center;
}
.modal-register__links a {
    color: #b88e0c !important;
    text-decoration: underline !important;
}
.modal-register__links a:hover,
.modal-register__links a:active,
.modal-register__links a:focus {
    text-decoration: none !important;
}

/* --------------- Userinfo --------------- */
.userinfo {
    margin-bottom: 30px;
}
.userinfo__avatar {
    text-align: right;
}

/* --------------- Gallery --------------- */
.galleries-list {
    font-size: 0;
    margin: 0 -10px;
}
.galleries-list__item {
    display: inline-block;
    width: 33.3333%;
    padding: 0 10px;
    margin-bottom: 20px;
}
.gallery-preview {
    position: relative;
}
.gallery-preview img {
    max-width: 100%;
    display: block;
    height: auto;
	max-height:161px;
}
.gallery-preview__title {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: block;
    font-size: 13px;
    padding: 10px 15px;
    line-height: 1.1;
}
.gallery-preview__title:hover,
.gallery-preview__title:focus {
    color: #fff;
}

/* --------------- Events --------------- */

.event-time {
    text-align: end;
    margin: 2% auto;
}
.event-time__wrapper {
    color: rgb(169, 158, 91);
    margin-bottom: 1%;
    padding-bottom: 1px;
    display: inline-block;
}
.event-time__title {
    margin-right: 5px;
}
.event-time__range {
    border: 0;
    border-bottom: 1px solid;
    outline: none;
    color: #282828;
}
.event-time__range:focus {
    outline: none;
}
.event-time__clear {
    margin-left: 8px;
    color: red;
    cursor: pointer;
}

.event-tbl {
    text-align: center;
}
.event-tbl th {
    background-color: #A99E5B;
    color: #fff;
    border-left: 3px solid;
    text-align: center;
}
#events .event-tbl td {
    background-color: rgb(232, 232, 232);
    border-top: 5px solid rgb(255, 255, 255);
    font-weight: 300;
}
#events .event-tbl td a{
    color: #282828;
}

.event-form-title, .event-post-title {
    color: #69540C;
}
.event-post-title {
    margin: 2% auto;
}
.event-form-title {
    margin-bottom: 2%;
}
.event-sidebar {
    margin-bottom: 30px;
}
/**
 * Admin bar for subscribers
 */
.subscribers-bar {
    padding: 3px 0;
    background: #000;
    text-align: right;
}
.subscribers-bar a {
    color: #fff;
}
.subscribers-bar a:hover,
.subscribers-bar a:focus,
.subscribers-bar a:active {
    color: #fff;
    text-decoration: underline;
}

/**
 * Pagenavi
 */
.wp-pagenavi {

}
.wp-pagenavi span,
.wp-pagenavi a {
    display: inline-block;
    padding: 3px 5px;
    border: 0 !important;
    vertical-align: middle;
    font-size: 15px;
}
.wp-pagenavi .pages {
    color: #929292;
    font-size: 13px;
}

/**
 * Datepicker
 */
.daterangepicker {
    padding-top: 40px !important;
}
.daterangepicker .ranges {
    position: absolute;
    top: 4px;
    right: 4px;
}
@media (max-width: 760px) {
   .hidemob{
      display: none;
   }
}

@media (max-width: 1199px) {
.main-nav-cont{
      display: none;
   }
}
