/** * Place your custom styles here. */
/*------------------------- generic changes -------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	/*font-weight:350;							/* 400 is normal, 700 is bold */
	font-family: Helvetica,freesans,sans-serif;
}

h1 {font-size: 2.0em;}
h2 {font-size: 1.8em;}
h3 {font-size: 1.6em;}
h4 {font-size: 1.4em;}
h5 {font-size: 1.2em;}
h6 {font-size: 1.0em;}

/* text in pop up boxes too small, increase to 1.5 */
.leaflet-popup-content {
    font-size: 1.5em;
}

/* ensures that within paragraphs, lines are not too widely spaced */
p {
  font-family: Arial,Helvetica,freesans,sans-serif;
  font-size:1.0em;
  line-height:1.5em;
}
body {
  background-color: #f4f4f4;
}
/*------------------------------ header and navbar ----------------------------- */
.page-header {
  margin-top: 10px;
}
/* ensure search box is not positioned right at the top */
.search-block-form {
   padding-top:8px; 
   float: right;
   width: 150px;
}
.navbar-text {
   font-size: 0.8em;
   margin: 0px;
   margin-top: 5px;
   
}.navbar-brand {
   font-family: ravie;
   font-size: 2.5em;
   margin-top: 10px;
}
.navbar-header {
    float: none;
}

.region-sidebar-second  {
  background-color: white;
  padding: 5px 5px 5px 5px;
  margin: 5px 0px 5px 0px;
  box-shadow: 0px 0 10px rgba(0,0,0,.3);
   /* 
    background-color: #f2f2f2;
  border-right: 1px solid lightgrey;
  background-color: white;
  padding: 20px 10px 20px 10px;
  margin: 15px 15px 15px 15px; 
  box-shadow: 0px 0 10px rgba(0,0,0,.3);
  transition: 400ms ease;
  */
}
.nav-link.dropdown-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* the display suite left and right columns bump up against each other, give them a bit of space */
.group-right {
  padding-left: 5px;
}

/*-------------- styling for display suite pages ---------------------------*/
.mm-ds-layout-25 {
  background-color: white;
  padding: 10px 10px 10px 10px;
  margin-bottom: 15px;
  box-shadow: 0px 0 10px rgba(0,0,0,.3);
 }
/*-------------- styling for photo gallery --------------------------------*/
.photo_gallery {
  background-color: white;
  padding: 0px 0px 20px 0px;
  width: 245px;
  height: 285px;
  margin: 15px 15px 15px 15px; 
  box-shadow: 0px 0 10px rgba(0,0,0,.3);
  /*transition: 400ms ease;*/
}

/* ---- give the topos and the guidebook photo a bit of breathing space before the next text -----*/
/*.field--name-field-topo, .field--item, .field--name-field-guidebook-photo {*/
.field--name-field-topo {
  margin-bottom: 5px;
}
/* the next line is a fudge to put a space between topo photos, but it is applied to every field managed by "Manage Display"*/
.field__item {
  margin-bottom: 5px;
}
/*-------- style the photo gallery, assumes a photo and two generic fields-------------- */
.mm-grid-field-1 {
  font-weight: 600;
  font-size: 1.0em;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 10px;
  padding-left: 10px; 
  padding-right: 5px; 
}
/* make sure the link to crags on the photo page does not overrun */
.mm-grid-field-2 {
  margin-top: 5px;
  font-size: 12px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px; 
  padding-right: 5px; 
}
/* the caption in the photo carousel, at the bottom of the crag pages */
.carousel-caption h3 {
  text-shadow: 0px 0px 0 rgba(0,0,0, 80%);
  color: White;
  font-size: 1.0em;
}


/*------------------------------ footer ----------------------------- */
/* make footer text smaller than normal */
.footer h2 {
   font-size:1.4em;
}
.footer {
   padding: 10px;
	 background-color: lightgrey;
   font-size: 0.95em;
}
.region-footer {
  background-color: lightgrey;
}
/* divider between footers */
.region-footer1, .region-footer2, .region-footer3 {
   border-right: 1px solid darkgrey;
}
/* make line spacing smaller than by default */
.footer ul.menu.nav > li > a {
  padding: 0px;
}
/* remove links from printed output  */
@media print {
  a[href]::after {
    content: none !important;
  }
}

/*------------------------- webform changes ---------------------------- */

.webform-input {
  /* background-color: lightyellow; */
  width: 200px;
  margin-right: 20px;
}

.webform-output {
  /*background-color: PaleGreen;*/
  /*width: 200px;
    width: fit-content;*/
  margin-right: 20px;
  background-color: #9954bb;
  border: 3px solid ghostwhite;
  color: white;
  text-align: center;
  padding: 2px;
  display: flex;
  flex-direction: column;
}  

.webform-container {
  display: inline-flex; 
  width: 200px;
}
