/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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,
button,
input,
select,
textarea {
    color: #1d1d1b;
}

html{
	font-size: 1em;
    line-height: 1.4;
	/*height:101%;*/
	overflow-y: scroll;
	color:#1d1d1b;
	background-color:#FFFFFF;
	font-size:14px;
}

body{
	margin:0;
	padding:0;
}

a, a:hover, a:visited, a:focus, a:active { color:#1d1d1b; outline: 0; text-decoration:underline; }

h1, h2, h3 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	font-weight:normal;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
/*bkm*/
#container{
	position:relative;
	float:left;
	width:100%;
	opacity:0;
	overflow:hidden;
	/*text-align:center;*/
}

.container2{
	position:relative;
	width:95%;
	max-width:1254px;
	margin:0 auto;
	/*padding:0 25px;*/
}

.container3{
	position:relative;
	width:905px;
	margin:0 auto;
}

#avisnavegador{
	position:relative;
	float:left;
	width:100%;
	background-color:#ccc;
	color:#000;
	padding:7px 0;
	text-align:center;
}

#avisnavegador a{
	color:#000;
}

#alerts{
	position:fixed;
	top:0;
	left:0;
	background-color:#FFFF00;
	padding:3px;
	z-index:400;
	display:none;
} 

.disable-selection {
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer */
	-khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
	-webkit-user-select: none; /* Chrome, Safari, and Opera */
	-webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}

@font-face {
    font-family:'OpenSansRegular';
    src: url('../fonts/OpenSansRegular-webfont.eot');
    src: url('../fonts/OpenSansRegular-webfont.eot') format('embedded-opentype'),
         url('../fonts/OpenSansRegular-webfont.woff') format('woff'),
         url('../fonts/OpenSansRegular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSansRegular-webfont.svg#OpenSansRegular') format('svg');
}

@font-face {
    font-family: 'Vrinda';
    src: url('../fonts/vrinda-webfont.eot');
    src: url('../fonts/vrinda-webfont.eot') format('embedded-opentype'),
         url('../fonts/vrinda-webfont.woff') format('woff'),
         url('../fonts/vrinda-webfont.ttf') format('truetype'),
         url('../fonts/vrinda-webfont.svg#Vrinda') format('svg');
}

@font-face {
    font-family: 'YepFontby7NTypes';
    src: url('../fonts/YepFontby7NTypes-webfont.eot');
    src: url('../fonts/YepFontby7NTypes-webfont.eot') format('embedded-opentype'),
         url('../fonts/YepFontby7NTypes-webfont.woff') format('woff'),
         url('../fonts/YepFontby7NTypes-webfont.ttf') format('truetype'),
         url('../fonts/YepFontby7NTypes-webfont.svg#YepFontby7NTypes') format('svg');
}

@font-face {
    font-family: 'rod';
    src: url('../fonts/rod-webfont.eot');
    src: url('../fonts/rod-webfont.eot') format('embedded-opentype'),
         url('../fonts/rod-webfont.woff') format('woff'),
         url('../fonts/rod-webfont.ttf') format('truetype'),
         url('../fonts/rod-webfont.svg#rod') format('svg');
}

.text{
	font-family:"Vrinda";
	font-size:16px;
	line-height:1.6;
	color:#000000;
}

#header{
	position:relative;
	float:left;
	width:100%;
	/*overflow:hidden;*/
}

#fotoheader{
	position:relative;
	float:left;
	width:100%;
	overflow:hidden;
	/*z-index:100;*/
}

.fons_header{
	width:100%;
	position:absolute;
	top:0;
}

#logo{
	position:absolute;
	top:50%;
	left:50%;
	transform-origin:center center;
}

#logologo{
	position:absolute;
	width:281px;
	top:1469px;
	left:1608px;
}

#logologo img{
	width:100%;
}

#menu{
	position:relative;
	float:right;
	width:598px;
	margin-top:27px;
	margin-bottom:35px;
}

#menu img{
	width:100%;
}

#contfotoheader{
	position:relative;
	float:left;
	width:100%;
}

.botomenu{
	position:absolute;
	height:50px;
	top:-10px;
	background-color:#0FF;
	opacity:0;
	cursor:pointer;
	z-index:300;
}
   
.sobremenu{
	position:absolute;
	top:0;
	left:0;
	opacity:0;
}

#iniciotextos{
	position:relative;
	float:left;
	width:100%;
}

.inicioitem{
	position:relative;
	float:left;
	width:279px;
	min-height:279px;
	margin-right:46px;
}

.inicioitemimg{
	position:absolute;
	width:100%;
	top:0;
	left:0;
}

.inicioitemimg img{
	width:100%;
}
   
.inicioitemtitol{
	position:relative;
	float:left;
	width:90%;
	margin-left:7%;
	font-family:'OpenSansRegular';
	font-size:22px;
	line-height:1.2;
	letter-spacing:9px;
	word-wrap:break-word;
	text-align:center;
	margin-top:168px;
}

.inicioitemtext{
	position:relative;
	float:left;
	width:90%;
	margin-left:7%;
	margin-top:30px;
}

#contdestacats{
	position:relative;
	float:left;
	width:100%;
}

#contproductos{
	position:relative;
	float:left;
	width:100%;
	margin-top:18px;
}

#destacatsgrid, #productosgrid{
	width:100%;
	margin:0 auto;	
}

.itemdestacat, .itemproducto{
	position:relative;
	float:left;
	width:390px;
	margin-bottom:32px;
}

.itemdestacatfoto, .itemproductofoto{
	position:relative;
	float:left;
	width:100%;
	/*overflow:hidden;*/
}

.itemdestacatfoto img, .itemproductofoto img{
	width:100%;
}

.contitemdestacatfotofoto, .contitemproductofotofoto{
	position:relative;
	float:left;
	z-index:300;
}

.iteminterdestacats, .iteminterproductos{
	width:42px;
}

.itemdestacatdalt, .itemproductodalt{
	position:relative;
	float:left;
	width:100%;
	margin-bottom:14px;
}

.itemdestacatdalt img, .itemproductodalt img{
	width:100%;
}

.itemdestacattitol, .itemproductotitol{
	position:relative;
	float:left;
	width:100%;
	margin-top:18px;
}

.itemdestacattitol img, .itemproductotitol img{
	width:100%;
}

.itemdestacattitolmig, .itemproductotitolmig{
	position:relative;
	float:left;
	width:100%;
	background:url(../img/producte_titol_requadre_mig.png) repeat-y top left;
	background-size:100%;
	padding-top:10px;
}

.itemdestacattitoltitol, .itemproductotitoltitol{
	position:relative;
	float:left;
	width:90%;
	margin-left:5%;
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:1.2;
	letter-spacing:4px;
	text-align:center;
	margin-bottom:0px;
}

.itemdestacattitolreferencia, .itemproductotitolreferencia{
	position:relative;
	float:left;
	width:90%;
	margin-left:5%;
	font-family:'YepFontby7NTypes';
	font-size:28px;
	line-height:1.2;
	text-align:center;
	margin-top:-15px;
	margin-bottom:18px;
}

.itemdestacatfletxa, .itemproductofletxa{
	position:relative;
	float:right;
	width:50px;
	margin-top:16px;
}

.itemdestacatfletxa img, .itemproductofletxa img{
	width:100%;
}

.itemdestacatinfo, .itemproductoinfo{
	position:relative;
	float:left;
	width:100%;
}

.itemdestacatsobre, .itemproductosobre{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	/*top:12px;
	left:-12px;*/
	opacity:0;
	z-index:100;
}

.itemdestacatsobre2, .itemproductosobre2{
	position:absolute;
	width:100%;
	height:100%;
	/*top:14px;
	left:-14px;*/
	top:10px;
	left:-10px;
	opacity:0;
	background-color:#000;
}

#separa1{
	position:relative;
	float:left;
	width:100%;
	margin-top:80px;
	margin-bottom:20px;
	text-align:center;
}

.boto{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#0FF;
	opacity:0;
	cursor:pointer;
	z-index:400;
}

#vermas{
	position:relative;
	float:left;
	width:100%;
	margin-top:-1px;
	z-index:200;
}

#footer{
	position:relative;
	float:left;
	width:100%;
	margin-top:50px;
	margin-bottom:20px;
}

#footerlinia{
	position:relative;
	float:left;
	width:100%;
	margin-bottom:29px;
}

#footerlinia img{
	width:100%;
}

.footercont{
	position:relative;
	float:left;
}

.footercont a{
	text-decoration:none;
}

#footerdiagonal{
	position:absolute;
	width:1946px;
	left:76%;
	bottom:-200px;
}

#footerdiagonal img{
	width:100%;
}

#footermob{
	position:relative;
	float:left;
	width:100%;
	margin-top:60px;
	margin-bottom:20px;
	display:none;
}

.privacitattitol{
	font-family:'OpenSansRegular';
	font-size:22px;
	line-height:1.2;
	color:#000;
	letter-spacing:9px;
	margin-top:70px;
	margin-bottom:50px;
	font-weight:400;
	text-transform:uppercase;
}

.privacitatsubtitol{
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:1.2;
	color: #000;
	letter-spacing:4px;
	margin-bottom:15px;
	text-transform:uppercase;
}

#menumob{
	position:absolute;
	top:35px;
	right:35px;
	display:none;
	transform-origin:top right;
	z-index:550;
}

#menumob.open{
	position:fixed;
}

#menumobampliat{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:#FFF;
	display:none;
	z-index:500;
}

#menumobampliatcont{
	position:relative;
	width:100%;
	float:left;
	line-height:0.8;
}

.itemmenumobampliat{
	position:relative;
	float:left;
	clear:both;
	font-family:'OpenSansRegular';
	font-size:14px;
	letter-spacing:4px;
	color:#000;
	text-align:center;
	width:80%;
	left:50%;
	margin-left:-40%;
	margin-bottom:10px;
	line-height:1.5;
}

.itemmenumobampliat a{
	text-decoration:none;
	color:#000;
}

.itemmenumobampliatimg{
	position:relative;
	margin:0 auto;
	width:120px;
}

.hyphenate{
	hyphens: auto; 
	-webkit-hyphens: auto; 
	-moz-hyphens: auto; 
	-ms-hyphens: auto;
	-webkit-font-variant-ligatures: no-common-ligatures;
	font-variant-ligatures: no-common-ligatures;
}

.donthyphenate{
	hyphens: none; 
	-webkit-hyphens: none; 
	-moz-hyphens: none; 
	-ms-hyphens: none;
	-webkit-font-variant-ligatures: no-common-ligatures;
	font-variant-ligatures: no-common-ligatures;
}

.nobr { 
	white-space: nowrap; 
}

#somostext{
	position:relative;
	float:left;
	width:100%;
	margin-top:50px;
	margin-bottom:30px;
}

#somosfot{
	position:relative;
	float:left;
	width:90%;
	margin-left:5%;
	margin-top:10px;
}

#somosfot img{
	width:100%;
}

.somosfot{
	position:relative;
	float:left;
	width:90%;
	margin-left:5%;
	margin-top:10px;
	margin-bottom:10px;
}

.somosfot img{
	width:100%;
}

#somostitol{
	position:relative;
	float:left;
	width:100%;
	font-family:'rod';
	font-size:70px;
	line-height:1.0;
	text-align:center;
	font-weight:100;
}

#somosmasfotos{
	position:relative;
	float:right;
	margin-top:5px;
	margin-right:5%;
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:2.0;
	letter-spacing:4px;
	cursor:pointer;
	z-index:200;
}

#botigacategories{
	position:relative;
	float:left;
	width:100%;
	margin-top:30px;
	/*margin-bottom:30px;*/
	margin-bottom:-50px;
	z-index:300;
}

#botigacategoriescont{
	position:relative;
	margin:0 auto;
	text-align:center;
}

.botigacategoriesitem{
	position:relative;
	margin-left:20px;
	margin-right:20px;
	display:inline-block;
	vertical-align:top;
	margin-bottom:12px;
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:2.0;
	letter-spacing:4px;
}

.botigacategoriesitem a{
	text-decoration:none;
}

#botigacategoriesitemactual{
	position:absolute;
	top:-27px;
	left:50%;
	margin-left:-42px;
}

#botigacategoriesitemactualfletxa{
	position:absolute;
	top:-62px;
	left:50%;
	margin-left:-9px;
}

#botigasubcategoriescont{
	position:relative;
	margin:0 auto;
	text-align:center;
	margin-top:50px;
	margin-bottom:40px;
}

.botigasubcategoriesitem{
	position:relative;
	margin-left:20px;
	margin-right:20px;
	display:inline-block;
	vertical-align:top;
	margin-bottom:12px;
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:2.0;
	letter-spacing:4px;
}

.botigasubcategoriesitem a{
	text-decoration:none;
}

.botigasubcategoriesitem span{
	background-repeat:repeat-x;
    background-image:url(../img/sotalinks.png);
    background-position: left 23px;
	/*background-image:none;*/
	background-size:1332px;
	padding-bottom:10px;
}

#noproductos{
	position:relative;
	float:left;
	width:100%;
	display:none;
	margin-top:30px;
	padding-bottom:60px;
}

#productecont{
	position:relative;
	float:left;
	width:100%;
	margin-top:40px;
	margin-bottom:50px;
}

#producteesq{
	position:relative;
	float:left;
	width:542px;
}

#productedre{
	position:relative;
	float:right;
	width:600px;
}

#producteinfo{
	position:relative;
	float:left;
	width:390px;
}

#productequadre{
	position:relative;
	float:left;
	width:98px;
}

#productequadre img{
	width:100%;
}

#producteref{
	position:relative;
	float:left;
	font-family:'YepFontby7NTypes';
	font-size:37px;
	line-height:1.2;
	margin-left:20px;
	margin-top:-4px;
}

#productecontfot{
	position:relative;
	float:left;
	width:100%;
}

.productefot{
	position:relative;
	float:left;
	width:100%;
	margin-bottom:20px;
	z-index:200;
}

.productefot img{
	/*width:100%;*/
}

#masfotos{
	position:relative;
	float:right;
	width:132px;
	margin-top:5px;
	cursor:pointer;
	z-index:200;
}

#masfotos img{
	width:100%;
}

#productetitol{
	position:relative;
	float:left;
	width:100%;
	margin-top:24px;
	margin-left:-5px;
	font-family:'rod';
	font-size:65px;
	line-height:1.07;
	font-weight:500;
	word-wrap:break-word;
}

#productetext{
	position:relative;
	float:left;
	width:100%;
	margin-top:34px;
}

#productetext2{
	position:relative;
	float:left;
	width:100%;
	margin-top:24px;
	display:none;
}

#separa3{
	position:relative;
	float:left;
	width:100%;
	text-align:center;
	margin-top:100px;
}

#productequadre1{
	position:absolute;
	width:100%;
	top:0;
	left:0;
}

#productequadre1 img{
	width:100%;
}

#productequadre2{
	position:absolute;
	width:65px;
	top:0;
	right:24px;	
}

#productequadre2 img{
	width:100%;
}

#menucontingut{
	position:relative;
	float:left;
	width:100%;
}

#cercaformulari{
	position:relative;
	float:right;
	display:none;
	height:60px;
	margin-top:-7px;
	z-index:200;
}

#cercaformularimob{
}

#formcercaenvia{
	position:relative;
	float:right;
	margin-left:10px;
	cursor:pointer;
	width:18px;
}

#formcercaenvia img{
	width:100%;
}

#formcercaenviamob{
	position:relative;
	float:right;
	margin-left:10px;
	cursor:pointer;
}

#cercaactual{
	position:relative;
	float:left;
	width:100%;
	text-align:left;
	margin-bottom:0px;
	font-family:'OpenSansRegular';
	font-size:14px;
	line-height:1.2;
	letter-spacing:4px;
}

form{
	line-height:195%;
}

input{ 
	border:none;
	border-bottom:1px solid #000;
	background:none;
	width:68%;
	float:right;
	color:#000;
	font-family:"Vrinda";
	font-size:16px;
}

input,textarea,select{
	padding: 3px 2px 0px 2px;
}

textarea{
	border:none;
	border-bottom:1px solid #000;
	background:none;
	resize:none;
	padding:4px 0px 0px 0px;
	color:#000;
	width:100%;
	font-family:"Vrinda";
	font-size:16px;
	line-height:1.4;
}

.input1{
	width:77%;
}

.input2{
	width:30%;
	margin-right:47%;
}

.input5{
	width:72%;
}

.input6{
	width:74%;
}

.input7{
	width:55%;
}

.preinput{
	position:relative;
	float:left;
	width:100px;
	clear:both;
}

input[type="radio"]{ 
	border:0;
	width:auto;
}
input[type=radio] {
	display: none;
}
input[type=radio] + label {
	background: #fff;
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: -2px 9px 0 0px;
	vertical-align:middle;
	background: url(radio.png) 0px 0px no-repeat;
	background-size:14px;
	text-indent: -1000em;
}

input[type=radio]:checked + label {
	background: url(radio.png) 0px -20px no-repeat;
	background-size:14px;
}

.inputsradio2 input[type=radio] + label {
	background: url(radio_2.png) 0px 0px no-repeat;
	background-size:14px;
}

.inputsradio2 input[type=radio]:checked + label {
	background: url(radio_2.png) 0px -20px no-repeat;
	background-size:14px;
}

input[type="checkbox"]{ 
	border:0;
	width:auto;
}
input[type=checkbox] {
	display: none;
}
input[type=checkbox] + label {
	background: #fff;
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: -4px 1px 0 0px;
	vertical-align:middle;
	background: url(checkbox.png) 0px 0px no-repeat;
	background-size:14px;
	text-indent: -1000em;
}

input[type=checkbox]:checked + label {
	background: url(checkbox.png) 0px -20px no-repeat;
	background-size:14px;
}

.inputscheckbox input[type=checkbox] + label {
	background: url(checkbox.png) 0px 0px no-repeat;
	background-size:14px;
}

.inputscheckbox input[type=checkbox]:checked + label {
	background: url(checkbox.png) 0px -20px no-repeat;
	background-size:14px;
}

.inputscheckbox2 input[type=checkbox] + label {
	background: url(checkbox_2.png) 0px 0px no-repeat;
	background-size:14px;
}

.inputscheckbox2 input[type=checkbox]:checked + label {
	background: url(checkbox_2.png) 0px -20px no-repeat;
	background-size:14px;
}

#contactoquadres{
	position:relative;
	float:left;
	width:100%;
	transform-origin:top center;
	text-align:center;
	margin-bottom:60px;
	z-index:200;
}

.contactocontform{
	position:relative;
	float:left;
}

.contactoquadresmob{
	margin:auto;
	width:100%;
	text-align:center;
	margin-left:auto;
	margin-top:20px;
}

#contactoquadrescont{
	position:relative;
	margin:0 auto;
}

.contactoquadresitem{
	position:relative;
	/*float:left;*/
	width:277px;
	margin-right:32px;
	display:inline-block;
	transform-origin:center center;
}

.contactoquadresitem img{
	transform-origin:center center;
	width:100%;
}

.contactoquadresitemtext{
	position:absolute;
	width:100%;
	font-family:'OpenSansRegular';
	font-size:22px;
	line-height:1.2;
	letter-spacing:9px;
	word-wrap:break-word;
	text-align:center;
	text-align:center;
	top:94px;
	left:0;
}

.contactoquadresitemtext a{
	text-decoration:none;
	color:#000;
}

.contactoformulari{
	position:relative;
	float:left;
	width:100%;
	z-index:200;
	margin-top:50px;
}

.botoformulari{
	position:relative;
	float:right;
	clear:both;
	margin-top:30px;
	cursor:pointer;
}

.formulariresposta{
	position:relative;
	float:right;
	clear:both;
	margin-top:10px;
}

.accepto{
	position:relative;
	float:left;
	margin-top:30px;
}

.menyslineheight{
	line-height:142%;
}

#contactocontmapa{
	position:relative;
	float:left;
	width:100%;
	text-align:center;
	margin-top:50px;
	transform-origin:top center;
	margin-bottom:30px;
}

.contactocontmapamapa{
	position:relative;
	float:left;
	width:100%;
}

.senselupa{
	display:none;
}

.productefotimg{
	width:100%;
}

#containervideo{
	position:relative;
	float:left;
	width:100%;
	margin-top:80px;
}

#containervideo2{
	position:relative;
	width:900px;
	margin:0 auto;
}

#containervideofoto{
	position:absolute;
	width:100%;
	top:0;
	left:0;
	cursor:pointer;
}

#containervideofoto img{
	width:100%;
}

.contvideo{
	position:relative;
	float:left;
	width:100%;
}

#instagram{
	position:absolute;
	width:16px;
	top:0;
	left:620px;
} 

#instagram img{
	width:100%;
}

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

/*bkm*/

/*
 * Hide visually and from screen readers
 */

.hidden,
[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: " ";
  display: table;
}

.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 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: #fff !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;
  }
}

