/*!
 * IE10 viewport hack for Surface/desktop Windows 8 bug
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */


/*
 * See the Getting Started docs for more information:
 * http://getbootstrap.com/getting-started/#support-ie10-width
 */

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
    -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  
  max-width:100%;
  overflow-x: hidden;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-size: 16px;
  overflow-x: hidden;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #ffffff;
    background-color: #fdf1e1;
}


/* Tom Cooper Custom page CSS
-------------------------------------------------- */


/* User Site Map CSS */

.osmap-items h2 {
    display: none
}

.osmap-sitemap h1{
  margin-top:2px;
}

ul.level_0{list-style:none;}

/* END User Site Map CSS */

* {outline:none;}

/* Navigation CSS */

.nav {
  display: block;
  font-size: 1.1em;
  padding: 6px 0;
  text-align: center;
  margin:-5px 0 25px 15px;
  line-height:1.2em;
  font-weight: 500;
}

.nav ul {
    text-align: center;
    /* Zero margin and padding (together with 'centering trick') required to center nav on mobile */
    margin: 0;
    padding: 0;
    margin: 0 auto;
}

.nav li {
    display: inline-block;
    margin-right: 0.5em;
    padding-right: 0.5em;
}

.nav li a {
    color: #4b1f0c;
}

.nav li a:hover, .nav li a:focus  {
    background-color: transparent;
  text-decoration:underline;
}

li.item-135, li.item-136, li.item-148, li.item-376 {
    display: none;
}

::-moz-selection {
    background-color: #4c2d03;
    color: #fff;
}

::selection {
    background-color: #4c2d03;
    color: #fff;
}


/* Tom Cooper Logo CSS
-------------------------------------------------- */

.logolink{
    display:block;
    margin:0 auto;
    max-width:500px;
}

.logo {
    display: block;
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}


/* Basic Typography CSS
-------------------------------------------------- */

body {
  overflow-x: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: 'Open Sans', sans-serif;
  font-weight:400;
  background-color: #fcece5;
  color: #666;
}

p {
    margin: 15px;
    line-height: 1.6em;
    font-size: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Eczar', serif;
  font-weight: 500;
  color: #5f2309;
  color: #4b1f0c;
  text-rendering: optimizespeed;
  margin: 15px;
}

h1 {
    font-size: 1.4em;
}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.17em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.83em;
}

h6 {
    font-size: 0.75em;
}

p.lead {
    font-size: 1.1em;
}

.page-header {
  margin-top:-3px;
  border-bottom: 0;
   padding-bottom: 0;
    margin: -10px 0 5px
  
}

   


/* Tom Cooper CSS
-------------------------------------------------- */
.comm img, .about img{
    max-width: 100%;
    height: auto;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.slidey{
  margin:0 auto;
  display:block;
  text-align:center;
}

#vsir_1 {
    display: block;
    margin: 0 auto;
    width: 500px;
    margin-bottom: 10px;
    text-align: center;
}

/* Carousel Fade CSS */

p.slider {
    margin: 0 auto;
    max-width: 500px;
  	/*margin-top:10px;*/
}

#carousel-example-generic {
    display: block;
    max-width: 100%;
    height: auto;
    width: 500px;
    margin: 0 auto;
}

.carousel {
    display: block;
    max-width: 100%;
    height: auto;
    width: 500px;
    margin: 0 auto;
}

.carousel img {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousel.fade {
    opacity: 1;
}

.carousel.fade .item {
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    left: 0 !important;
    opacity: 0;
    top: 0;
    position: absolute;
    width: 100%;
    display: block !important;
    z-index: 1;
    background-color: transparent;
}

.carousel.fade .item:first-child {
    top: auto;
    position: relative;
}

.carousel.fade .item.active {
    opacity: 1;
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    z-index: 2;
}

.carousel-inner > .item {
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    position: absolute;
    z-index: 0;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
}

.carousel-inner > .item:first-of-type {
    position: relative;
}

.carousel-inner > .active {
    opacity: 1;
    z-index: 3;
}

.carousel-control.left,
.carousel-control.right {
    display: none;
    background-repeat: no-repeat;
}


/* END Carousel Fade CSS */

/* JoomGallery CSS
-------------------------------------------------- */

.jg_category-header .well .well-sm{
  background-color: transparent;
border: 1px solid transparent;
border-radius: 4px;
box-shadow: none;
}

.well{
  background-color: transparent;
  box-shadow: none;
  border:none;
  padding:0;
  margin:0;
  font-weight:bold;
}

.jg-header{
  font-size:1.5em;
  margin-bottom:-15px;
}


.caption{
  padding:0;
  padding-bottom:0;
}

.thumbnail {
  padding:4px;
}

.caption .thumbnail ul.list-unstyled{padding:0;}

ul.list-unstyled h3{
  font-weight:normal;
  font-size:0.8em;
  text-align:center;
  margin:0;
  padding:0;
  font-family: 'Open Sans', sans-serif;
}

/*.jg_imgalign_catimgs, .jg_photo_container{
  margin-bottom:10px;}*/

.jg_catelem_txt b{
  font-size:1em;
  font-weight:normal;
  color:#777;
}

.jg_element_txt b {
  font-size:1em;
  font-weight:normal;
  color:#777;
}

.jg_element_txt ul li a:hover b{
  color:#333;
}

.gallery .pagination{
  text-align:center;
  margin:0 auto;
  width:100%;
}

.gallery .pagination ul > li > a, .gallery .pagination ul > li > span{
  background-color: transparent;
border-width: 0;
border-style: none;
  border-color: transparent;}

.pagination ul{
  -moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
  text-align:center;
  width:100%;
  margin:0 auto;
}
.pagination a:link {color: #777;}
.pagination a:hover, .pagination a:focus{color:#333}

.pagination ul > li > a, .pagination ul > li > span{color:#777;}

.pagination ul li {
  display: inline-block;
  margin:5px;
 
}

.jg-pathway{
  font-size:0.8em;
  color:#4b1f0c;
}

a.jg_pathitem{
color:#4b1f0c;
}

a.jg_pathitem:hover{
  text-decoration:underline;
}

/* Pagination Tooltip */

.tooltip {
  visibility:hidden;
  }

/* JoomGallery Breadcrumbs */

.pngfile, .jg_icon, .jg-icon-home {display:none;}

a:link{color:#333;}

span#lbTitleBottom{
  font-weight:normal;
  font-size:14px;
  color:#666;
}

span#lbTitleBottom p {
  font-weight:normal;
  font-size:12px;
  color:#666;
}

span#lbTitleBottom p a{
  font-weight:normal;
  font-size:12px;
  color:#fff;
  text-decoration:underline;
}

span#lbNumBottom{
  font-weight:normal;
  font-size:12px;
  color:#fff;
}


/* END JoomGallery CSS
-------------------------------------------------- */


/* NEW Rapid Contact CSS*/

.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
  border-radius:15px;
  width:300px;
    color: #000;
  
 margin-bottom:20px;
}

input, label{
  font-weight:normal;
  float:left;
  display:block;
  margin: 5px 0;
  clear:both;
}

.btn-primary {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-primary:visited,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus{
  background-color: #000;
    border-color: #000;}


.form-control{
  border-color: #000;
}

.form-control:hover,
.form-control:active,
.form-control:focus{
  border-color: #000;
}

/* END NEW Rapid Contact CSS */


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

/* Social CSS
-------------------------------------------------- */

.fb{
  display:block;
  margin:0 auto;
  opacity:0.5;
}

.fb:hover{opacity:1;}

/* END Social CSS
-------------------------------------------------- */

.footer,
.footer > .container {
    background-color: #fcece5;
	font-size: 1em;
}

footer {
    clear: both;
    padding-top: 20px;
    padding-bottom: 30px;
}

footer p {
    margin-top: -3px;
    padding-top: 3px;
    color: #888;
    text-align: center;
}

footer a:link,
footer a {
    color: #888;
  line-height:1.8em;
}

footer a:hover {
    color: #4b1f0c;
}


/* Footer Adjustment for mobiles */

.split {
    display: none;
}

.sep {
    display: inline;
}


/* END Footer Adjustment for mobiles */


/* Custom Media Queries */

@media screen and (max-width: 767px) {
 .nav ul{
        max-width:320px;
        margin:0 auto;        
    }
 .nav {
  font-size: 1.1em;
  font-weight: 500;
  margin-top:-10px;
  margin-bottom:0;
}

  .nav > li > a{
    padding:7px;
  }
  

  
  footer a:link,
footer a {
    color: #888;  
}
  footer p{padding:5px 0;}
  


  
    .moduletable .rapid_contact {max-width:250px;
  padding-left:0;}
    .split {
        display: inline;
    }
    .sep {
        display: none;
    }
}