/* Подключение шрифта Google
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin,cyrillic");
*/
/* Базовые стили демо-страницы */
body {
    /*font: 1em/1.67 'Open Sans', Arial, Sans-serif;*/
    margin: 0;
    background: #e9e9e9 url("../img/fon.png") no-repeat fixed center top / 80%;
}

.dropdown-menu .dropdown-menu {
    left: 100%;
    top: auto;
}

.img_gallery.text-center > a {
    display: inherit; /*initial;*/
}


/* tree */
.ul-tree {
    background-color: rgba(0, 0, 0, 0.9);
    bottom: 0;
    color: #ccc;
    min-width: 260px;
    overflow-y: auto;
    padding: 5px 20px;
    position: fixed;
    top: 50px;
    margin: 0;
    
            box-shadow: 0 0 7px rgba(0,0,0,1);
       -moz-box-shadow: 0 0 7px rgba(0,0,0,1);
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,1);
}
ul.ul-tree ul { margin:0; padding-left:6px; }
ul.ul-tree li { position:relative; list-style:none outside none; border-left:solid 1px #999; margin:0; padding:0 0 0 11px; line-height:1.4; }
ul.ul-tree li:before { content:''; display:block; border-bottom:solid 1px #999; position:absolute; width:10px; height:11px; left:0; top:0; }
ul.ul-tree li:last-child { border-left:0 none; }
ul.ul-tree li:last-child:before { border-left:solid 1px #999; }
ul.ul-tree p { margin: 0; cursor: pointer; }
ul.ul-tree p:hover { color: #fff; }
ul.ul-tree p.active { color: #fff; font-weight: bold; }
ul.ul-tree div.drop {
    width:11px;
    height:11px;
    position:absolute;
    z-index:10;
    top:6px;
    left:-6px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAALCAIAAAD0nuopAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE1JREFUeNpinDlzJgNlgAWI09LScEnPmjWLoAImrHpIAkwMFAMqGMGC6X44GzkIsHoQooAFTTVQKdbAwxOigyMsmIh3MC7ASHnqBAgwAD4CGeOiDhXRAAAAAElFTkSuQmCC');
    background-position:-11px 0;
    background-repeat:no-repeat;
    cursor:pointer;
}

/* Заголовок демо-страницы */
h1 {
    text-align: center;
    font-weight: 400;
}
.container.content {
    padding-top: 50px
}
.container.content-page {
    padding-top: 50px;
    box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
    margin-bottom: 30px;
    min-height: 800px;    
}

.masonry {
	position: relative;
	width: 1140px;
	margin: 0 auto 25px;
	padding-bottom: 10px;
        box-sizing: initial;
}

.grid {
	width: 182px;
	min-height: 100px;
	padding: 15px;
	background: #fff;
	margin: 8px;
	font-size: 12px;
	float: left;

            box-shadow: 0 1px 3px rgba(34,25,25,0.4);
       -moz-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
	-webkit-box-shadow: 0 1px 3px rgba(34,25,25,0.4);

	-webkit-transition: top 1s ease, left 1s ease;
       -moz-transition: top 1s ease, left 1s ease;
         -o-transition: top 1s ease, left 1s ease;
        -ms-transition: top 1s ease, left 1s ease;

    box-sizing: initial;
    position: relative;
    overflow: hidden;
}

.grid-auction::after {
    background-color: rgba(48, 167, 49, 0.9);
    border: 3px solid rgb(58, 166, 59);
    box-shadow: 0 0 4px rgb(119, 119, 119);
    box-sizing: unset;
    color: rgb(255, 255, 255);
    content: "аукцион";
    cursor: pointer;
    display: block;
    font: 12px/15px Tahoma;
    height: 18px;
    opacity: 0.8;
    position: absolute;
    right: -27px;
    text-align: center;
    top: 24px;
    transform: rotate(45deg);
    width: 120px;
}

.grid .grid-title {
	border-bottom: 1px solid #ccc;
	margin: 10px 0;
	display: block;
	padding: 0 0 5px;
	font-size: 17px;
        font-weight: bold;
}

.grid .grid-img img {
	max-width: 100%;
	background: #ccc;
	display: block;
        cursor: pointer;
}

@media screen and (max-width : 1240px) {
	body {
		overflow: auto;
	}
}
@media screen and (max-width : 900px) {

}


.row-header {
    background-color: /*#30a731*/ rgba(48, 167, 49, 0.9);
    color: #fff;
}
.row-header h2 {
    font-family: Tahoma;
    font-size: 56px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 5px 5px 20px #333;
}
.row-header img {
    margin: 30px 0px 10px;
}
.row-header hr {
    border-top: 2px solid #fff;
    box-shadow: 3px 3px 20px #000;
}

.row-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0 60px;
}

.page-header h1 {
    color: #42ae43;
}