/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*
@font-face {
font-family: 'BrandonGrotesqueRegularRg';
src: url('/fonts/Brandon_reg-webfont.eot');
src: url('/fonts/Brandon_reg-webfont.eot?#iefix') format('embedded-opentype'),
      url('/fonts/Brandon_reg-webfont.woff') format('woff'),
      url('/fonts/Brandon_reg-webfont.ttf') format('truetype'),
      url('/fonts/Brandon_reg-webfont.svg#BrandonGrotesqueRegularRg') format('svg');
font-weight: normal;
font-style: normal;
}
*/


a{
  color:#444;
  text-decoration:none;
}

p{
  font-size:1.125rem;
  line-height:1.875rem;
}

p a, .container ul li a{
  border-bottom:1px solid #a0b8ae;
}

p a:hover, .container ul li a:hover{
  border-bottom:1px solid #444;
}

.no-mb{
  margin-bottom:0;
}

h1{
  font-family:'Quicksand', sans-serif;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom:1.875rem;
  font-size:1.6875rem;
}

h4{
  margin-top:12px;
  font-weight: 300;
  text-transform:uppercase;
}

.grey-bg{
  background-color:#f7f7f7;
}

.text-left{
  text-align:left;
}

.text-leftncenter{
  text-align:center;
}

.no-mt{
  margin-top:0!important;
}

.container{
  font-size:18px;
  line-height:30px;
}

ul{
  padding-left:0;
  list-style:none;
}

.brandon{
  font-family:'brandon-grotesque', sans-serif;
  font-style:normal;
  font-weight:300;
}

.placeholder{
  background-color:#dcdcdc;
  height:198px;
}

.img-rs{
  width:auto;
}

body{
  font-family:'brandon-grotesque', sans-serif;
  color:#444;
}

.logo{
  padding:100px 10px 50px 10px;
  text-align:center;
}

.logo img{
  width:100%;
  max-width:353px;
}

.logo-alt{
	width: 277px;
}

nav ul{
  list-style-type:none;
  padding:0;
  text-align:center;
  margin:0;
}

nav ul li{
  display:inline-block;
  margin:0 15px 0 15px;
}

.container nav ul li a{
  text-transform:uppercase;
  font-family:'Quicksand', sans-serif;
  font-size:0.8125rem;
  padding-bottom:5px;
  border-bottom:0px;
}



.container nav ul li a:hover{
  border-bottom:1px solid #a0b8ae;
}

nav{
  padding-bottom:100px;
}

.brudpar{
  padding-bottom:120px;
}

@media (min-width: 992px) {
	.brudpar-single{
		max-width:345px;
	}
}

.brudpar-single{
  position:relative;
  text-align:center;
  margin-bottom:30px;
}

.brudpar-single img{
  width:100%;
  height:auto;
}

.brudpar-name{
  font-size:17px;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
  z-index:2;
  position: absolute;
  top: 50%;
  left:  50%;
  -webkit-transform: translate(-50%, -50%); /* iOS */
  transform: translate(-50%, -50%);
  font-family:'Quicksand', sans-serif;
  text-transform:uppercase;
  opacity:0;
}

.brudpar-white-bg{
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
  width: 100%;
  background: #fff;
  height: 100%;
  position: absolute;
  top: 0;
  opacity: 0;
}

.brudpar-single:hover .brudpar-white-bg{
  opacity:0.4;
}

.brudpar-single:hover .brudpar-name{
  opacity:0.98;
}

.full-image{
  overflow:hidden;
}

#full-width-carl-hanna{
  position:relative;
  left:-50px;
  width:260%
}

#full-width-rickard-hanna{
  position:relative;
  left:-51%;
  width:200%
}

.small-text{
  margin:0 auto;
  max-width:912px;
  text-align:center;
  padding-top:100px;
  padding-bottom:100px;
}

.small-text h2{
  font-family:'Quicksand', sans-serif;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom:1.875rem;
  margin-top:0;
}

.divider{
  width:150px;
  margin:0 auto;
  border-top:1px solid #444;
  margin-bottom:50px;
}

.divider-small{
  width:60px;
  margin:0 auto;
  border-top:1px solid #444;
  margin-bottom:45px;
  margin-top:25px;
}

.quote{
  background:url('/img/terra-pattern.png') center center no-repeat;
  background-position-x: -581px;
  background-size: 1634px;
  height:429px;
  font-family: 'brandon-grotesque', sans-serif;
  font-weight: 300;
  font-style: italic;
}

.quote p{
  margin:0 auto;
  text-align:center;
  font-size:1.125rem;
  padding-top:160px;
  max-width:600px;
}

.quote p span{
  font-size:0.75rem;
}

.instagram-images{
  padding-top:50px;
  padding-bottom:100px;
}

.instagram-images img{
  width:100%;
}

.instagram-contain{
  position:relative;
}

.instagram-contain .instagram-icon{
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
  opacity: 0;
  top: 50%;
  left:  50%;
  -webkit-transform: translate(-50%, -50%); /* iOS */
  transform: translate(-50%, -50%);
  position:absolute;
  z-index:1;
  width:35px;
}

.instagram-contain:hover .instagram-icon{
  opacity:1;
}

/* Frågor + Svar */

.question{
  font-size:1.5rem;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 300;
  font-style: italic;
  margin-bottom:30px;
  margin-top:70px;
}

.question-col{
  text-align: center;
}

footer{
  padding-top:100px;
  padding-bottom:100px;
  border-top:1px solid #e9e9e9;
  text-align:center;
  font-size:0.875rem;
}

footer nav{
	display:inline-block;
	align-self: flex-end;
	bottom:0;
  padding-bottom:0;
}

.flex{
  display:flex;
  justify-content:space-between;
  position:relative;
}

footer nav ul{
  text-align:right;
}

footer nav ul li{
  display:block;
}

footer .copyright{
	font-size:10px;
	text-align:left;
	margin-left:20px;
	line-height:24px;
}

footer .container nav ul li a{
  font-size:11px;
  padding-bottom:0px;
  border-bottom:0px;
}

footer .container nav ul li{
	line-height:24px;
}

/* Bröllopsfotograf sida */

#jg{
  width:100%;
  max-width:380px;
}

.aboutme .question{
  margin-top:5px;
}

.aboutme .imgtext{
  max-width:380px;
  text-align: right;
  font-size:0.75rem;
}

.imgtext{
  margin:0 auto;
  padding-bottom:15px;
}

.aboutdp{
  margin-top:75px;
}

#full-width-sandra-collin{
  position:relative;
  left:-85%;
  width:200%
}

/* Kontakt */

#full-width-kontakt{
  position:relative;
  width: 200%;
  left: -55%;
}

.form-s{
  color: #444;
  display: block;
  width: 100%;
  word-break: normal;
  padding: 0.92857em 0.78571em;
  border: 1px solid transparent;
  border-radius: 0;
  border-color: rgba(204, 204, 204, 0.938);
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  box-sizing: border-box;
  margin-bottom: 15px;
  outline: 0 none;
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #fff;
  padding: 0.5rem 0.875rem;
  border-radius: 0;
  cursor: pointer;
  text-transform:uppercase;
  border:1px solid rgba(204, 204, 204, 0.938);
}

.btn:hover{
  background-color:rgba(235, 235, 235, 0.979);
}

.contact-form{
  padding-top:15px;
}

.contact-form .btn{
  margin-top:20px;
}

.contact-form form{
  max-width:700px;
  margin:0 auto;
}

.contact-form textarea{
  min-height:170px;
}

/* Bröllop - kollage */

.collage{
  text-align:center;
}

.collage ul{
  list-style:none;
}

.collage ul li{
  margin-bottom:6px;
}

.collage ul li img{
  max-width:100%;
}

.tothetop{
  margin-top:50px;
  margin-bottom:50px;
  text-align:center;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) { 
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (min-width: 540px) {

.instagram-contain .instagram-icon{
  width:75px;
}

}

@media only screen and (min-width: 768px) {
	
  .quote{
   background-position-x: 50%;
   background-size: unset;
  }

  #full-width-kontakt{
   position:relative;
   width: 100%;
   left: 0px;
  }
	
  .text-leftncenter{
    text-align:left;
  }
  .imgtext{
    margin:initial;
    padding-bottom:0px;
  }
  .quote p{
    font-size:1.5rem;
  }

  .container nav ul li a{
    font-size:0.875rem;
  }
}

@media only screen and (min-width: 992px) {


  #full-width-carl-hanna{
    position:relative;
    left:0px;
    width:100%
  }

  #full-width-rickard-hanna{
    position:relative;
    left:0px;
    width:100%
  }

  .question-col{
    text-align: left;
  }

  #full-width-sandra-collin{
    position:relative;
    left:0px;
    width:100%
  }
  
  footer .container nav ul li a{
	  font-size:0.8125rem;
  }

}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

