/* Global Styles */

html,
body {
  height: 100%;
  width: 100%;
}
a {outline: none !important}
.text-muted {line-height: 1.2;}

.navbar{
	background-color: rgb(255, 255, 255);
	/*background-color: rgba(0, 0, 0, 0.9);*/
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
	border: none;
}
#top-menu > li.active, #top-menu > li:hover{border-bottom: 2px solid #82a91c; border-bottom: 2px solid #f39c12;}
#cart_ul{float:right; margin: 0 0 0 10px;}
#cart_ul > a{display: block;}
#cart_ul > a:hover{border-bottom: 2px solid #f39c12;}
/*#top-menu > li{border-bottom: 2px solid rgba(243, 156, 18, 0);}*/

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover/*,
.navbar-default .navbar-nav > .active > a:focus */{
    background: transparent;
    /*color: #f39c12;*/
}
.navbar-default .navbar-nav > .active > a:focus {
    background: transparent;
    color: #B5B5B5;
}
.navbar-default .navbar-nav > li > a {
    color: #676767;
	/*color: #7b7b7b;*/
}
.navbar-default .navbar-nav > li > a:hover/*,
.navbar-default .navbar-nav > li > a:focus*/ {
  /*color: #f39c12;*/
   color: #676767;
   /*color: #9e9e9e;*/
  background-color: transparent;
}
.navbar-default .navbar-nav > li > a:focus{
  color: #B5B5B5;
  background-color: transparent;
}
.sub-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 40px;
}
#top-menu > li.active > a {
    color: #f39c12;
	color: #82a91c;
	color: #02acc1;
}
#fa-home, #fa-user{border:none;font-size: 22px;width:auto;height:auto;line-height: 0px;}
.vert-text {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.vert-text h1 {
  color: #fff;
  padding: 0;
  margin: 0;
  font-size: 5.5em;
  /*font-weight: 700;*/
  text-shadow: 0 1px 4px rgb(0, 0, 0);
}
.vert-text h3 {color: #fff}

.col-sm-3s {padding:0 5px;}
.col-sm-3s > .thumbnail{padding: 10px;}
.col-sm-3s > .thumbnail > .bl-thumbnail{padding: 0px;}
.col-sm-3 > .thumbnail > .caption h3{font-size: 18px;}
.col-sm-3s > .thumbnail > .caption h4{font-size: 14px; /*font-weight: 600;*/}
.col-sm-3s > .thumbnail > .caption  > .text-muted{line-height: 1.2; font-size: 12px;}

/* Стили для форм */

/* Плавное удаление placeholder при фокусе*/
input::-webkit-input-placeholder {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder{opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder {opacity: 1; transition: opacity 0.3s ease;}
input:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
input:focus::-moz-placeholder{opacity: 0; transition: opacity 0.3s ease;}
input:focus:-moz-placeholder{opacity: 0; transition: opacity 0.3s ease;}
input:focus:-ms-input-placeholder{opacity: 0; transition: opacity 0.3s ease;}

textarea::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
textarea::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
textarea:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
textarea:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}
textarea:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
textarea:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
textarea:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
textarea:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}

/* Удаление цвета фона ввода для автозаполнения Chrome */
input {outline: none;}
input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #fff !important; /* Цвет фона */
    -webkit-text-fill-color: rgba(0, 0, 0, 0.8) !important; /* цвет текста */
    color: rgba(0, 0, 0, 0.8) !important; /* цвет текста */
}

/* убрать свечение вокруг текстового поля */
*:focus {outline: none;}

/* цвет рамки вокруг текстового поля */
.jqcart-orderform input[type=text]:focus, .jqcart-orderform input[type=tel]:focus, .jqcart-orderform input[type=email]:focus{border-color: #2196F3;}
.jqcart-orderform input[type=text].error, .jqcart-orderform input[type=tel].error, .jqcart-orderform input[type=email].error{border-color: #F44336;}
.jqcart-orderform input[type=text].error:focus, .jqcart-orderform input[type=tel].error:focus, .jqcart-orderform input[type=email].error:focus{border-color: #F44336;}
.contact_form input[type=text]:focus, .contact_form input[type=tel]:focus, .contact_form input[type=email]:focus{border-color: #2196F3;}
.contact_form input[type=text].error, .contact_form input[type=tel].error, .contact_form input[type=email].error{border-color: #F44336;}
.contact_form input[type=text].error:focus, .contact_form input[type=tel].error:focus, .contact_form input[type=email].error:focus{border-color: #F44336;}
.contact_form textarea:focus{border-color: #2196F3;}
.contact_form textarea.error{border-color: #F44336;}
.contact_form textarea.error:focus{border-color: #F44336;}

/* стиль текстового поля(input с классом input_txt) */
.input_txt{
	width: 100%;
	display:block;
	padding: 8px 5px 8px 30px;
	border: 1px solid #CCC;
	border-radius: 5px;
	margin-bottom: 20px;
	/*height: 32px;*/
	box-shadow: unset;
	font-size: 16px;
}

/* стили модального окна jqery(fansybox) */
.contacts_msg_modal, #contacts_msg{
	width: 416px; 
	display: inline-block; 
	padding: 20px; 
	background: #fff;
	vertical-align: middle;
}
#send_msg{width: 100%; line-height: 30px; font-size: 16px;}
.text_cont_inner{height: 30px; word-wrap: break-word; letter-spacing: 2px; float:left;}
.after:after{content:'_'}

/* стили для блока с сылкой на страницу вконтакте */
.info-link{
	background: #3685ac;
	color: #fff;
	text-align:center;
	font-size: 22px;
	margin-bottom:-50px;
	padding-top: 15px;
	border-top:1px solid #3685ac;
	text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);
}
.info-link a{color: #fff; cursor:pointer; letter-spacing:3px;}

/* Mobile Menu */
#sub-menu-open{display:none;}
#sub-menu{display: none; border-bottom: solid 1px rgba(204, 204, 204, 0.3);}
#sub-menu > li > a{color: rgba(0, 0, 0, 0.5);}

/* Sidebar, Menu */
.sidebar{width: 250px;margin-left: -100%; padding-top: 20px;box-shadow: -4px 1px 9px -7px rgba(0,0,0,0.6);}
.sidebar h3{margin: 0;padding: 0px 0px 5px 0px;letter-spacing: 2px;text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);font-size: 20px;color: #000;}
.nav-bar{list-style: none;}
.nav-bar > li > a{padding: 10px 0px; color: #999; display: block;}
.nav-bar > li > a:hover{color:#000}

/* Search */
.bl-search{padding: 14px 15px;}

/* Social */
#bl-social-top > ul > li > a{color: rgba(255, 255, 255, 0.7); text-shadow: 0 1px 4px rgb(0, 0, 0);}
#bl-social-top > ul > li > a:hover{color: rgba(255, 255, 255, 0.9);}
#bl-social-cat > ul > li > a{color: rgba(255, 255, 255, 1.0); text-shadow: 0 1px 4px rgb(0, 0, 0);}
#bl-social-cat > ul > li > a:hover{color: rgba(255, 255, 255, 0.7);}

/* Side Menu */

#sidebar-wrapper {
  margin-right: -250px;
  right: 0;
  width: 250px;
  background: #000;
  position: fixed;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  color: #999999;
  display: block;
  text-decoration: none;
}

.sidebar-nav li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  height: 55px;
  line-height: 55px;
  font-size: 18px;
}

.sidebar-nav > .sidebar-brand a {
  color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#menu-toggle {
  top: 0;
  right: 0;
  position: fixed;
  z-index: 1;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.toggle {
  margin: 5px 5px 0 0;
}

/* Full Page Image Header Area */

.header {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  background: url(../img/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: #fff;
}
.bg{
	display: table;
	width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}
#bl-bg{background: rgba(0, 0, 0, 0);}
.navbar-default .navbar-toggle .icon-bar{
	background-color: #eaeaea;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: rgba(221, 221, 221, 0)
}
.phone-left{float: left; margin: 0; padding: 0px;}
.phone-left > li{color:rgba(0, 0, 0, 0.9); list-style:none; font-size:18px; line-height:52px; letter-spacing:1px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); text-transform:uppercase;}
.phone-left > li > a{color:#000000; text-decoration: none;}
.phone-left > li > a:hover{cursor: pointer;}
.phone-left > li > a > .fa-power-off{font-size:28px; width:40px; height:46px; line-height:44px; color:#02acc1; border:none;}
/*.phone-left > li > a > .fa-power-off:hover{color: #f39c12;}*/
.next{
	background-color: rgba(66, 139, 202, 0);
	border-color: #b5b5b5;
	color: #b5b5b5;
	width: 80%;
}
.span-txt{font-size: 24px; font-style: italic; text-shadow: 0 1px 4px rgb(0, 0, 0); letter-spacing: 2px; margin-bottom: 0;}
.p-txt{font-size: 22px; font-style: italic; text-shadow: 0 1px 4px rgb(0, 0, 0);  color: rgba(255, 255, 255, 0.9);}
/* Intro */

.intro {
  padding: 50px 0;
}

/* Main */
#content{width:100%; float:left; overflow:hidden; padding-left:265px; position:relative;}
.bl-article{/*float: left;width: 100%;padding-left:265px; position:relative;*/}
/* Services */

.uslugi {background: #fff; color: #000000; padding: 50px 0;}

#phone_call, .mobile{display:none;}

.service{background: #3685ac; color: #fff; padding: 0 0 30px 0;}

.service-item {margin-bottom: 15px;}

.service-item > p{color: rgba(0, 0, 0, 0.6); color:rgba(255, 255, 255, 0.8);}

i.service-icon {
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: inline-block;
  font-size: 56px;
  width: 140px;
  height: 140px;
  line-height: 136px;
  vertical-align: middle; 
  text-align: center;
}
span.service-icon-namber{
    border: 3px solid #3685ac;
    font-size: 20px;
    font-weight: 600;
    width: 40px;
    height: 40px;
    line-height: 34px;
    color: #3685ac;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}

/*.service-icon.fa.fa-check{font-size:20px; width:40px; height:40px; line-height:34px; color:#fff; background:#3685ac;}*/
.service-icon.fa.fa-check{font-size:20px;width:40px;height:40px;line-height:34px;color: #3685ac;background: #ffffff;border-color: #3685ac;}
.service-icon.fa.fa-phone{font-size:20px;width:40px;height:40px;line-height:34px;color: #3685ac;background: #ffffff;border-color: #3685ac;}

.big-icon{color: #3685ac; color: #fff; border: 3px solid #3685ac; border: 3px solid #fff; margin-bottom: 20px;}
.icon-check:before{
	font-family: FontAwesome;
    content: '\f00c';
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 34px;
    color: #3685ac;
    background: #ffffff;
    border: 3px solid #3685ac;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}
/* Callout */

.callout {
  color: #ffffff;
  display: table;
  height: 400px;
  width: 100%;
  background: url(../img/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.btn-callout{letter-spacing: 1px; font-size: 16px; margin: 10px 3px;}
.btn-callout:hover{text-decoration: underline;}
.btn_add, .add_item[disabled]{/*display: inherit;*/ /* color: #000;
    background-color: rgba(66, 139, 202, 0);
    border-color: rgba(53, 126, 189, 0);*/
	float: right;
	color: rgba(0, 0, 0, 0.5);
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.3);
}
.btn_add:before{float: left; width: 1em; text-align: center; margin: 0 1em 0 -0.5em; padding: 0 .2em; pointer-events: none;}
.add_item:before{ content: "\f291"; font-family: FontAwesome;}
.btn-hover{
	color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}
/* Portfolio */

.katalogs {
  padding: 50px 0;
}
/*
.portfolio-item {
  margin-bottom: 25px;
  border: 1px solid rgba(204, 204, 204, 0);
  border-radius: 5px;
  padding: 20px;
}

.portfolio-item:hover{border: 1px solid #2196F3;}

.img-portfolio {
  margin: 0 auto;
}
*/
.thumbnail{
	padding: 10px;
	border: 1px solid rgba(221, 221, 221, 0);
}
.thumbnail:hover{/*border: 1px solid #2196F3; box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);*/}
.thumbnail .caption{
	padding: 0px;
}

.thumbnail > .caption > h4 > span{font-family:'Open Sans', Tahoma, Arial, Sans Serif; font-size:15px; color:#000;}

.thumbnail > img, .thumbnail a > img{
	width: 100%;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}
.thumbnail > img:hover, .thumbnail a > img:hover{
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}

/*.bl-thumbnail{padding: 0 15px;}*/

.price{font-size: 24px; margin-right: 4px;}
.fa-star, .fa-star-half-o{color: #ffbd01;}
.fa-rub{font-size: 18px;}
.fa-shopping-cart{margin-right: 10px;}
/* Block hight */
/*.row-flex{
display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.col-md-3{
display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
}
.btn_add{
position: absolute; bottom: 10px; left: 20px; right: 20px;
}
.row-flex, .row-flex > div[class*='col-'] { 
 display: -webkit-box;
 display: -moz-box;
 display: -ms-flexbox;
 display: -webkit-flex;
 display: flex;
 flex:1 1 auto;
}

.row-flex-wrap {
    -webkit-flex-flow: row wrap;
 align-content: flex-start;
 flex:0;
}

.row-flex > div[class*='col-'] {
     margin:-.2px; 
}*/

/* Call to Action */

.call-to-action {
  color: #ffffff;
  background: #0a5175;
  padding: 50px 0;
}
.bl-info p{font-size: 22px; text-shadow:0 1px 4px rgba(0, 0, 0, 0.5); color:rgba(255, 255, 255, 0.8);}

.call-to-action .btn {
  margin: 10px;
}

/* Map */

.map {
  height: auto;
  padding: 50px 0 0;
}

/* Footer */

footer {
  padding: 50px 0;
}

.top-scroll {
  margin-top: 50px;
}

.top-scroll a {
  text-decoration: none;
  color: inherit;
}

i.scroll {
  color: #333333;
}

i.scroll:hover {
  color: #0a5175;
}
/* Responsive */
@media only screen and (min-width: 1025px) and (max-width: 1150px) {
	.btn_add{width: 100%;}
}

@media (max-width: 1024px) {
	.col-sm-3s{width: 33.33333333333333%;}
}

@media (max-width: 992px) {
	.col-sm-3s{width: 50%;}
	.header {padding-top: 50px;}
	/*.lead{padding: 0 10px;}*/
	.phone_number, #cont{font-weight: 700;}
	.next{width: auto; padding: 10px 40px;}
	footer {padding: 50px 0;}
}
@media (min-width: 992px) {
    .col-sm-3 {width: 25%!important;}
	/*.container{width: 1170px;}*/
}

@media (max-width: 991px) {
	.mobile{display:block;}
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
	.container {width: 100%; max-width:1170px; margin: 0 auto;}
}
#label-place_mob{float: right; margin-right: 20px;}
@media (min-width: 768px) {
	#label-place_mob{display:none;}
	.vert-text h2 {font-size: 3em;}
	.col-sm-4 {width: 33.33333333333333%;}
}

@media (max-width: 767px) {
	/*.header {background: url(../img/bg.jpg) no-repeat center center scroll;}
	.callout {background: url(../img/bg.jpg) no-repeat center center scroll;}*/
	.bg, #bl-bg{background: rgba(0, 0, 0, 0.85);}
	#phone_call{display:block;}
	/*.map {height: 75%;}*/
	#top-menu li a:hover{color: rgb(255, 255, 255); background-color: #3685ac;}
	#top-menu > li.active, #top-menu > li:hover{border-bottom:none;}
	.navbar-nav{margin: 0px -15px; background-color: #fdfdfd;}
	#bl-article{padding-right: 0px;}
    #bl-article{padding-left: 0px;}
	/*#sub-menu, #li-sub-menu{display:none;}
	#sub-menu-open{display:block!important;}*/
}
@media (max-width: 767px) {
	h2{font-size: 24px;}
	#cart_ul{display: inline-block; margin: 0; position: absolute; top: 0; right: 70px; border-bottom: none;}
	.vert-text h1 {font-size: 3.5em;}
	.span-txt, .p-txt{font-size: 18px;}
	.caption h4{/* font-size: 14px; font-weight: 600; */ margin-bottom: 5px;}
	.text-muted{font-size: 12px;}
	.navbar-nav > li > a{padding-top: 15px; padding-bottom: 15px; padding-left: 25px; border-bottom: solid 1px rgba(204, 204, 204, 0.3);}	
	/*.thumbnail{display: inline-block; width: 96%; margin-right: 2%; margin-left: 2%;}
	.bl-thumbnail{width: 40%; display: inline-block; float: left; margin-right: 20px;}
	.bl-thumbnail > img{width: 100%;}
	.caption h4{margin-top: 0;}*/
	.col-sm-6 {width:50%; float:left;}
	.thumbnail {padding: 10px;}
	#contacts_msg{width: 100%;}
	#contacts_msg_modal{width: 90%;}
	.info-link{line-height:normal!important; padding-top:10px; padding-bottom:10px;}
}

@media (max-width: 768px) {
	#content{padding-left: 0px;}
	#sidebar{display: none;}	
}

@media (max-width: 359px) {
	.col-sm-6 {width: 100%;}
	.col-sm-3s{width: 100%;}
}


@media only screen and (min-width: 320px) and (max-width: 768px) {
	.thumbnail {padding: 10px;}
	.row{margin-right: 0px; margin-left: 0px;}
	.container, .col-sm-6{padding-right: 5px; padding-left: 5px;}
}
@media only screen and (min-width: 375px) and (max-width: 414px) {
	/*.btn_add {padding: 5px;}
	.price{font-size: 20px; line-height: 33px;}
	.fa-rub{font-size: 16px;}*/
}
@media (max-width: 480px) {
	/* .vert-text h1 {
	font-size: 3.5em;
	} */
}
@media (max-width: 400px) {
	.btn {
	/*padding: 6px 32px;
	font-size: 16px;*/
	width: 100%;
	}
	.clear_cart{width: auto;}
}
@media (max-width: 360px) {
	.btn {
	padding: 6px 32px;
	font-size: 14px;
	width: auto;
	}
}
/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){
	   
	   }
/*----------------------------------------------------------------------*/
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5
.col-xl-5  {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5 {
    width: 20%;
    float: left;
}

@media (min-width: 576px) {
    .col-sm-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 768px) {
    .col-md-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-lg-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-xl-5 {
        width: 20%;
        float: left;
    }
}
/*----------------------------------------------------------------------*/
/*
Flexi Bootstrap - The Missing Bootstrap Thumbnail Demos

Author : Bryan Willis

Working Demos of Equal Height Flexbox and Tables as well as Masonary Thumbnails in Bootstrap 3. See the Github repo for complete version supporting legacy browser fallback.
*/


/* EXAMPLE 1 - BOOTSTRAP FLEXBOX
   - Equal Height Columns in Rows
   - Equal Height Thumbnails
   - Flex Grow to Fill Paragraph Height
*/

/* Flexbox Equal Height Bootstrap Columns (fully responsive) */
@media only screen and (min-width :  360px/*481px*/) {
  .flex-row.row {
    display: flex;
	 flex-wrap: wrap;
  }
  .flex-row.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
  }
  .flex-row.row:after, 
  .flex-row.row:before {
	 display: flex;
  }
  .flex-row.row > [class*='col-'] > .box {
    display: flex;
	 flex: 1;
  }
	.flex-row .thumbnail,
	.flex-row .thumbnail .caption {
		display: flex;
		flex: 1 0 auto;
		flex-direction: column;
	} 
	.flex-row .thumbnail .caption p.flex-text {
	flex-grow: 1;
	}
	.flex-row img {
	width: 100%;
	height: auto;
	}	
}




/* Grow thumbnails to fill columns height */
/*.flex-row .thumbnail,
.flex-row .caption {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
}*/

/* Flex Grow Text Container */
/*.flex-row .caption p.flex-text {
	flex-grow: 1;
}*/

/* Flex Responsive Image */
/*.flex-row img {
	width: 100%;
	height: auto;
}*/




/* EXAMPLE 2 - CSS TABLES EQUAL HEIGHT
   - ie9 support 
   - not responsive (mobile fallback)
*/

.table-row.row,
.table-row-equal {
	display: table;
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
}
.table-row.row [class*="col-"] {
	width: 25%;
}
.table-row.row [class*="col-"],
.table-row-equal .thumbnail {
	float: none;
	display: table-cell;
	vertical-align: top;
}
.table-row-equal {
	border-spacing: 30px 0px;
}
.table-row-equal .thumbnail {
	width: 1%;
}
/* mobile fallback to support partial responsiveness */
@media only screen and (max-width: 480px) {
	.table-row-equal .thumbnail {
		display: block;
		width: 100%;
	}
}


/* MASONARY BOOTSTRAP 3 GRID
   - Who needs V4?
*/
.masonary-row.row {
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	column-gap: 30px;
	padding-left: 15px;
	padding-right: 15px;
	word-wrap: break-word;
	column-fill: balance;
}
.masonary-row [class*="col-"] {
	display: inline-block;
	width: 100%;
	height: 100%;
	float: none;
	padding: 0px;
	column-fill: balance;
}


/* demo */
.bootflex .well {
	    flex-grow: 1;
	}

/* pre hack for small devices */
pre {
	display: flex;
	flex: 1;
}
.flex-row.flex-code.row > [class*='col-'] .flex-text {
	flex-grow: 1;
	display: flex;
}

@media (min-width: 480px) {
	.masonary-row.row {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
@media (min-width: 768px) {
	.masonary-row.row {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}
}