
/**********************************************************************************************/
/***        							OVERRIDE STYLESHEET									***/
/***	This is the stylesheet for customer specific changes, like color, logo, and fonts.	***/
/***					It's also possible to add more changes if necessary.				***/
/**********************************************************************************************/

@import "stylesheetDB?stylesheetName=elements_2";
@import "stylesheetDB?stylesheetName=header_2";
@import "stylesheetDB?stylesheetName=navBar_2";
@import "stylesheetDB?stylesheetName=controlls_2";
@import "stylesheetDB?stylesheetName=flex_2";
@import "stylesheetDB?stylesheetName=button_2";
@import "stylesheetDB?stylesheetName=overlay_2";
@import "stylesheetDB?stylesheetName=accordian_2";
@import "stylesheetDB?stylesheetName=footer_2";

:root {
	--blue500: #003057; /* Tullverket primary. Används i sidhuvudet som bakgrund till Tullverkets logotyp och i vänsterjusterade sidomenyn. Detta är även en komplementfärg i grafiska profilen för tryckt material. */
	--blue700: #002d47; /* Används som sekundär färg i sidhuvudet som bakgrund till inloggningsmenyn. Detta är även bakgrundsfärg till fasadskylt till klareringsexpeditioner och tullfilter */
	--blue400: #003f85; /* Används till knappar, blå text mot ljus bakgrund (länkar mm), meny under sidhuvud */
	--blue300: #0057B8; /* Hoverfärg på knappar */
	--black: #000000;
	--grey700: #0d0d0d; /* Används till text mot ljus bakgrund. Vid de specifika fall då den inte uppfyller WCAG 2.1 AAA används istället #000000 */
	--grey800: #3b3b3b; /* Sekundär text bland annat i inaktiva knappar */
	--grey600: #757575; /* Används till formulärfältens konturer, samt som fältrubriker (eng: field labels) */
	--grey400: #c7c7c7; /* Används till inaktiv knappar */
	--grey200: #f5f5f6; /* Bakgrundsfärg */
	--grey100: #f8f8f8; /* Används till text på mörk bakgrund. Vid de specifika fall då den inte uppfyller WCAG 2.1 AAA används istället #FFFFFF */
	--white: #ffffff;
	
	--red500: #B10021; /* Tullverket warn - Tullverket red 500 - Varning */
	--yellow500: #f9d616; /* Tullverket accent - Tullverket yellow 500 - Information */
	--green600: 006326; /* Tullverket green 600 - Ok */
}

.ingress {
	font-size: 1rem;
	font-weight: 700;
}

/* Används för vanlig text i tabeller */
.small-text {
	font-size: 0.875rem;
	font-weight: 400;
}

/* Sets box-sizing: border box to all elements */
* {
	box-sizing: border-box !important;
}


/* Sets page height */
#digiforms-page-regions {
	height: 100vh;
}

/* Sets size and margin for header and region-body */
#header-wrapper > div, nav, #region-body {
	margin: auto;
	max-width: 100%;
	width: 1440px;
}

/* Adjusts #region-body */
#region-body {
/*	padding: 0.6rem 2.5%; */
	padding: 16px;
	margin-top: 2vh;
	min-height: 100.0mm;
	min-height: calc(72vh - -40px);
}

/* Sets font-family for buttons and linktext */
/*
#region-body, button, a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
*/
/* Adjusts page styling */
#page-wrap {
    padding: 0;
	background-color: transparent;
}

/* Adjusts card/case styling */
.case {
    transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    margin: 0 0 16px !important;
    padding: 16px 24px !important;
    border-radius: 4px;
    background: var(--white);
}

.case>:first-child {
    margin-top: 0px;
}

/* Digiforms override page loading */
#digiforms_progress {
    background-image: none !important;
    background-color: #ffffffe0;
    position: fixed;
}

/* Digiforms override page loading */
#digiforms_progress::before {
	  content: "";
    border: 10px solid #ebf8f2; /* Light grey */
	border-top: 10px solid var(--blue500);	/* Main color - changeable*/
    border-radius: 50%;
    width: 70px;
    height: 70px;
    position: fixed;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    top: calc((100vh/2)*0.8);
    animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    -o-animation: spin 1s linear infinite;
    -ms-animation: spin 1s linear infinite;
    box-shadow: 0px 0px 8px #004A75;
}

/* Digiforms override page loading */
@keyframes spin {
    0% { transform: rotate(0deg); -moz-transform: rotate(0deg); -webkit-transform: rotate(0deg); -o-transform: rotate(0deg); -ms-transform: rotate(0deg); }
    100% { transform: rotate(360deg); -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); }
}

/* Classes for increasing indentation, for instance */
/* for sub-categories of radio- or check-buttons  */
.indented {
	padding-left: 1.5em;
}

.indentedForCheckbox {
	padding-left: 2em;
}

/*************************************************/
/*           	 	  		  GRIDS   	  			       */
/*************************************************/

/* Settings for 50/50 grid */
.grid-50 {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 1fr 16px 1fr;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	grid-column-gap: 16px;
	margin: 0px !important;
	padding: 0px !important;
}

/* Settings for 33/33/33 grid */
.grid-33 {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 1fr 16px 1fr 16px 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
	grid-column-gap: 16px;
	margin: 0px !important;
	padding: 0px !important;
}

/* Settings for 25/25/25/25 grid */
.grid-25 {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 100%;
	grid-column-gap: 16px;
}

/* Settings for 75/25 grid */
.grid-75-25 {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 3fr 20px 1fr;
	grid-template-columns: 3fr 1fr;
	width: 100%;
	grid-column-gap: 20px;
}

/* Settings for grid for title row with help text */
.grid-title {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 1fr 100px 150px;
	grid-template-columns: 1fr 150px;
	width: 100%;
	grid-column-gap: 100px;
}
    

/*************************************************/
/*      			  			CASES								       */
/*************************************************/

/* Styling for the case container */
.case {
	background-color: white;
	padding: 16px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow:0 3px 7px 0px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	/* margin-left: auto;
	margin-right: auto; */
	padding-left: 24px;
	padding-right: 24px;
}




/*************************************************/
/*      Responsiveness - break point 768px       */
/*************************************************/
@media only screen and (max-width: 768px) {
	/* Adjusts size of the main and side content */
	.main-content{
		width: 100%;
	}

	.side-content{
		width: 100%;
		max-width: none !important;
	}

	.content-container{
		flex-direction: column !important;
	}

	/* Adjusts size of region body */
	#region-body {
		width: 100%;
	}

	/* Hides the title on small resolutions */
	.title {
		font-size: 0;
	}

	/* Hides the username on small resolutions */
	#username {
		font-size: 0;
	}

	/* Shows the title on small resolutions */
	#menu-username {
		font-size: 16px;
		padding-bottom: 5px;
		border-bottom: 1px solid #515151;
	}

	/* Sets full width on menu on small resolutions */
	.menu {
		width: 100%;
	}

	/* Changes orientation and font-size on nav-btn on small resolutions */
	.nav-btn {
		display: block;
		font-size: 20px;
		line-height: 28px;
	}

	/* Sets font-size for the icon on nav-btn on small resolutions */
	#cases-btn:before {
		font-size: 30px;
	}

	/* Sets font-size for the icon on nav-btn on small resolutions */
	#new-btn:before {
		font-size: 30px;
	}

	.case {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Changes grid orientation on small resolutions */
	.grid-50 {
		grid-template-columns: 100%;
		width: 100%;
		grid-row-gap: 20px;
	}

	/* Changes grid gap on small resolutions */
	.accordion-case .grid-50 {
		grid-row-gap: 0px;
	}

	/* Changes grid gap on small resolutions */
	.case .grid-50 {
		grid-row-gap: 0px;
	}

	/* Changes grid orientation on small resolutions */
	.grid-33 {
		grid-template-columns: 100%;
		width: 100%;
		grid-row-gap: 20px;
	}

	/* Changes grid orientation on small resolutions */
	.grid-25 {
		grid-template-columns: 100%;
		width: 100%;
		grid-row-gap: 20px;
	}

}

/*************************************************/
/*      Internet explorer specific Styling	     */
/*************************************************/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

	/* Setting grid columns for IE */
	.grid1 {
		-ms-grid-column: 1;
	}

	.grid2 {
		-ms-grid-column: 3;
	}

	.grid3 {
		-ms-grid-column: 5;
	}

	.grid4 {
		-ms-grid-column: 7;
	}


	/* Keeps the menu still when the buttons are activated */
	#menu-container {
		position: absolute;
		right: 0px;
		top: 10px;
	}

	/* Sets position of username */
	#username {
		height: 30px;
	}

	/* Sets the nav-btn to display block because flex isn't supported */
	.nav-btn {
		display: block;
	}

}

/*************************************************/
/*       				Standard Form STYLESHEET  			 */
/* 				These settings are mainly for the      */
/* 					       service catalogue.            */
/*************************************************/

/* Aligns the titles in the summary in the center */
.summary-title {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #515151;
}

/* Styling for notification banner */
#cookie-banner {
  background-color: #0E76B7;
  position: fixed;
  margin: auto;
  bottom: 0px;
  z-index: 2;
  float: none;
  padding: 8px 26px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-width: 1053px;
	width: 95%;
  min-width: 300px;
	-webkit-box-shadow: 0 3px 7px rgb(0 0 0 / 30%);
	box-shadow: 0 3px 7px 0px rgb(0 0 0 / 30%);
}

/* Styling for notification banner title */
#cookie-banner_legend {
    color: white !important;
}

/* Styling for notification banner close button */
#cookie-banner .btn-cross {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 30px;
  padding: 0px;
  background-color: #004A75;
  color: white;
  font-size: 20px;
  border-top-right-radius: 10px !important;
}

/* Styling for notification banner close button hover */
#cookie-banner .btn-cross:hover {
	background-color: #0E76B7;
}

/*** Styling for telephone fields ***/
.landskod {
    padding: 0 !important;
    width: 5rem;
}

.telefonnummer {
    padding: 0  !important;
    width: 100%;
}



.list-without-bullets ul{
	list-style-type: none !important;
	margin-left: -1.9em;
}