*, *:before, *:after {box-sizing:  border-box !important;}

.masonry-grid {
 -moz-column-width: 25em;
 -webkit-column-width: 25em;
 -moz-column-gap: .5em;
 -webkit-column-gap: .5em; 
  
}



.panel {
 display: inline-block;
 margin:  .2em;
 padding:  0; 
 width: 99%;
 border: medium none;
  box-shadow: none;
}

.panel.no-width {
    margin: auto;
    padding: 0 15px;
    width: 50%;
}

* { outline: none !important; }

/* body {
  padding-top: 120px;
} */

body#home {
	background: #555 url("../images/img-hero-home-alt13.jpg") no-repeat fixed 0% 45% / cover;
}

body#home .navbar-default {
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom: medium none;
}

.navbar-brand:hover { opacity: 0.6; }

h1 { text-transform: uppercase; color: #333; padding-left: 15px; margin-bottom: 40px; font-size: 34px; text-align: center; }

.thumbnail-container { margin-bottom: 50px; }
.item-thumbnail { position: relative; margin-bottom: 30px; }
.item-thumbnail a { display: block; position: relative; }
.item-thumbnail h2, .for-videos .item-thumbnail h2 { transition: all 0.5s ease 0s; text-transform: uppercase; width: 100%; height: 100%; background: rgba(0,0,0,0.75); color: #fff; position: absolute; top: 0; left: 0; margin: 0; padding: 0; text-align: center; opacity: 0; line-height: 25px; }
.item-thumbnail h2 span, .for-videos .item-thumbnail span { position: relative; top: 40%; transform: translateY(-40%); font-size: 50px; }
.portfolio-main .item-thumbnail h2 span { position: relative; top: 45%; transform: translateY(-45%); }
.item-thumbnail a:hover h2 { opacity: 1; }

.panel .item-thumbnail, .for-videos .item-thumbnail { margin: 0; }
.panel .item-thumbnail h2 span, .for-videos .item-thumbnail h2 span { font-size: 23px; padding: 0 10px; display: block; }
.panel.layout-fix { margin-bottom: 400px; }

.panel img { width: 100%; }

.main-content p { font-size: 17px; line-height: 1.55; margin-bottom: 19px; }

.logos { list-style-type: none; padding: 0; text-align: center; }
.logos li { display: inline-block; }
.logos li img { vertical-align: top; display: inline !important; margin: 10px 20px; }

.logo-parade { border-bottom: #ddd 1px solid; border-top: #ddd 1px solid; padding: 14px 0; text-align: center; }
.logo-parade img { margin: 0 30px 30px 0; max-width: 120px; }
.logo-parade strong { display: block; margin-bottom: 20px; }

p.quote { margin: 30px 0; border-top: #ddd 1px solid; border-bottom: #ddd 1px solid; padding: 28px 0; text-align: center; font-size: 26px; }

.navbar-nav {
    margin: 20px 0 0 20px;
}

.navbar-header {
    width: 35%;
}

.navbar-brand {
    float: left;
    font-size: 18px;
    height: 90px;
    line-height: 90px;
    margin-right: 30px;
    margin-top: 10px;
    max-width: 100%;
    padding: 0;
}
.navbar-brand > img {
    display: inline-block;
    vertical-align: middle;
}

.social-icon img { width: 35px; }

.well h4 {
    font-weight: bold;
    margin: 0 0 20px;
}

.masonry-grid { position: relative; overflow: hidden; }

.for-videos .item-thumbnail { position: relative; margin-bottom: 30px; }

.my-grid { max-width: 1000px; margin: auto; }
.grid-item { width: 490px; }

@media (max-width: 768px) {
	.grid-item { width: 49%; }
}

.for-videos .img-responsive { width: 100%; }



.well { margin-top: 30px; }

p.quote { text-align: center; }
p.quote img { margin: auto; }
.logo-parade { text-align: center; }
	
}

@media (max-width: 1100px) {
	.nav > li > a { padding: 10px 25px; }
	}

@media (max-width: 990px) {
	.nav > li > a { padding: 10px 25px; }
	p.quote { text-align: center; }
	p.quote img { margin: auto; }
	.logo-parade { text-align: center; }
	.container { width: 98%; }
	
}

.email-text { font-size: 16px; }

#gallery00 { cursor: default; }

p.error {
    background: #ffc0c0 none repeat scroll 0 0;
    border: 1px solid #994444;
    border-radius: 4px;
    color: red;
    font-size: 15px;
    padding: 20px;
}

p.success {
    background: #ccff9a none repeat scroll 0 0;
    border: 1px solid #8ce337;
    border-radius: 4px;
    color: green;
    font-size: 15px;
    padding: 20px;
}

@media (max-width: 1200px ) {
	.panel.layout-fix { margin-bottom: 0; }
	.container { width: 100%; }
}


@media (max-width: 768px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
        margin-right: 0;
        margin-top: 30px;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-nav {
        float: none!important;
        margin: 0 -15px;
        background: #555;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .navbar-collapse.collapse.in { 
        display: block!important;
        background: #555;
    }
    .collapsing {
        overflow: hidden!important;
    }
    
    body#home {
    background: #555 url("../images/img-hero-home-alt12-mobile.jpg") no-repeat fixed 0% 0% / cover ;
}
.navbar-brand { max-width: 100px; margin-bottom: 8px; margin-top: 12px; } 
}

.nav > li > a {
	padding: 10px 30px;
}


.dropdown-toggle:after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}

.navbar-home .dropdown-item, .dropdown-item {
	display: block;
	width: 100%;
	padding: .55rem 1.5rem .55rem 30px;
	clear: both;
	font-weight: 400;
	color: #212529 !important;
	text-align: inherit;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	font-size: 18px;
	text-transform: lowercase;
}

.dropdown-item:focus, .dropdown-item:hover {
	color: #16181b;
	text-decoration: none;
	background-color: #f8f9fa;
}

.navbar-brand { width: 220px; }

body#home .navbar-home { background: #444; opacity: 0.8; }

.navbar-home a { color: #fff !important; }
.navbar-home li.active a { border-bottom: none !important; }

.navbar-home .navbar-nav > .open > a, .navbar-home .navbar-nav > .open > a:hover, .navbar-home .navbar-nav > .open > a:focus {
	color: #333 !important;
	background-color: #fff;
}

/* .navbar-home .dropdown-item { color: #333 !important; } */

@media (max-width: 767px) {
	
	body#home .navbar-home { background: transparent; }
	
	.navbar a { color: #fff !important; }
	
}

@media (max-width: 767px) {
.grid-item {
    width: 100%;
	}
	
	.navbar-home .dropdown-item { color: #fff !important; }
	

}

@media (max-width: 768px) {
.navbar-header {
    width: 100%;
    margin-left: 0 !important;
}

}


.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus
{
	border-bottom: none;
	}

.navbar-default .navbar-collapse, .navbar-default .navbar-form { border: none;  }

.navbar-nav > li > a {
    height: 60px;
    line-height: 42px;
}

.hide-desktop { display: none !important; }

@media (max-width: 768px) {
	.hide-desktop { display: block !important; }
	}
	
.navbar-home .navbar-nav { margin: 0; } 












