/*
 Theme Name:   InBusiness
 Theme URI:    http://www.inbusiness.no
 Description:  Enfold Child Theme
 Author:       Yngve WikÃ¸ren Nilsen @InBusiness
 Author URI:   http://no.linkedin.com/in/ywndotno
 Template:     enfold
 Version:      4.1.2
 Tags:         business, clean, corporate, creative, ecommerce, iphone, mega menu, parallax, photography, portfolio
 Text Domain:  enfold-child
*/
/* =Theme customization starts here
-------------------------------------------------------------- */
@media only screen and (max-width: 767px){
        
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.CookieDeclarationTable thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

    table.CookieDeclarationTable tr {
      /* margin: 0 0 1rem 0; */
      /* padding-bottom: 20px; */
    }
      
    table.CookieDeclarationTable tr:nth-child(odd) {
      background: #f9f9f9;
    }
    table .CookieDeclarationTypeDescription{
		display: inline-block;
		font-size: 12px;
		background: transparent;
	}
	table.CookieDeclarationTable{
		background-color:transparent !important;
	}
	table.CookieDeclarationTable tr	td {
		/* Behave  like a "row" */
		position: relative;
		padding-left: 50%;
		border-top-style: solid;
		border-top-width: 1px;
	
	}
	table.CookieDeclarationTable tr	td:not(:last-child){
	    min-height:35px;
	}
	table.CookieDeclarationTable tr	td{
		border-bottom:none;
		border-left: 1px solid #e1e1e1;
	}
	table.CookieDeclarationTable tr	td:last-child{
		background-color:#fff;
		border:none;
		border-top: 1px solid #e1e1e1;
	}
	
	table.CookieDeclarationTable tr	td:before {
		/* Now like a table header */
			position: absolute;
			top: 0;
			left: 6px;
			width: 45%;
			padding-right: 10px;
			white-space: nowrap;
	}
	table.CookieDeclarationTable tr	td .title{
	    position: absolute;
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
	}

	/*
	Label the data
	You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
	*/
	table.CookieDeclarationTable tr	td:nth-of-type(1):before { content: "Navn"; }
	table.CookieDeclarationTable tr	td:nth-of-type(2):before { content: "Leverandør"; }
	table.CookieDeclarationTable tr	td:nth-of-type(3):before { content: "Formål"; }
	table.CookieDeclarationTable tr	td:nth-of-type(4):before { content: "Utløpsdato"; }
		
}