/* All the fonts are changed to inherit */
h1, h2, h3, h4, h5, h6 {
    font-family: 'inherit';
}
p, div {
    font-family: 'inherit';
}

/* so no space between navbar and search bar */
.navbar {
    margin-bottom: 0;
}

.navbar-static-top {
	min-height: 80px;
}

/* navbar height and padding for all the items inside of the menu */
.dropdown-menu multi-level li a {
	font-size: 1.5em;
}

/* controls the height and padding for menu on the right side */
.navbar-nav {
	padding-top: 20px;
	padding-bottom: 20px;
}

.navbar-brand {
	padding-top: 25px;
	padding-bottom: 35px;
	font-size: 2.2em;
	font-color: black;
}

#logo {
	vertical-align: middle;
}

/*
#exhibition_pasadena {
	overflow: scroll; overflow-x:hidden;
	height: 300px;
}
*/

/* navbar background image */
.navbar-inner{
	border:0;
	background: url(../img/navbar_background1.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

/* vertical lines between items in navbar 
.navbar-nav ul li {
   border-right: 1px solid #000;
}
*/

/* search form */
    #custom-search-form {
        margin:0;
        margin-top: 5px;
		margin-bottom: 5px;
        padding: 0;
    }
 
    #custom-search-form .search-query {
        padding-right: 3px;
        padding-right: 4px \9;
        padding-left: 3px;
        padding-left: 4px \9;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
 
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
 
    #custom-search-form button {
        border: 0;
        background: none;
        /** belows styles are working good */
        padding: 2px 5px;
        margin-top: 2px;
        position: relative;
        left: -28px;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
 
    .search-query:focus + button {
        z-index: 3;   
    }


/* stop the glowing blue shadow */
.add-on .form-control:focus {
 box-shadow:none;
 -webkit-box-shadow:none; 
 border-color:#cccccc; 
}

.page-header {
	margin-top: 0;
}
.panel-body {
	padding-top: 0;
}

/* controls the background image of homepage */
.full {
	/* background: url(../img/bg1.jpg) no-repeat center center fixed; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
	background-size: cover;
}

body {
	background: none;
}

.high_container {
	position:relative;
}

.container {
	clear:both;
	position: relative;
	margin: 0 auto;
	text-align: left;
	vertical-align: middle;
	display: table;
}

#carousel_container {
	/*
	clear:both;
	position: relative;
	margin: 0 auto;
	vertical-align: middle;
	margin-top: 200px;
	*/
	width: 900px;
	height: 300px;
	position: absolute;
}

.vertical-center {
  height:100%;
  width:100%;

  text-align: center;  /* align the inline(-block) elements horizontally */
  font: 0/0 a;         /* remove the gap between inline(-block) elements */
}

.vertical-center:before {    /* create a full-height inline block pseudo=element */
  content: ' ';
  display: inline-block;
  vertical-align: middle;  /* vertical alignment of the inline element */
  height: 100%;
}

.vertical-center > .container {
  max-width: 100%;
  background-color: gold;

  display: inline-block;
  vertical-align: middle;  /* vertical alignment of the inline element */
                           /* reset the font property */
  font: 16px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#contact_form {
	float: none;
	margin-left: auto;
    margin-right: auto;
}


/* carousel control */
/*
#myCarousel {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-content: center;
	align-content: center;
}
*/

#myCarousel .thumbnail {
	margin-bottom: 0;
}

.carousel-control.left, .carousel-control.right {
	background-image:none !important;
}

.carousel-control {
	color:#fff;
	top:40%;
	color:#428BCA;
	bottom:auto;
	padding-top:4px;
	width:30px;
	height:30px;
	text-shadow:none;
	opacity:1;
}

.carousel-control:hover {
	color: #d9534f;
}

.carousel-control.left, .carousel-control.right {
	background-image:none !important;
}

.carousel-control.right {
	left:auto;
	right:-32px;
}

.carousel-control.left {
	right:auto;
	left:-32px;
}
 
.carousel-indicators {
	bottom:-30px;
}

.carousel-indicators li {
	border-radius:0;
	width:10px;
	height:10px;
	background:#ccc;
	border:1px solid #ccc;
}

.carousel-indicators .active {
	width:12px;
	height:12px;
	background:#3276b1;
	border-color:#3276b1;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}