

/*************************************************/
/*           STANDARD FORM STYLESHEET  		       */
/*		 	This is the stylesheet for the standard  */
/*     form. It's mainly built on the My Pages   */
/*        stylesheet, with some supplements 		 */
/*									in the bottom.               */
/*************************************************/

/*************************************************/
/*                    GENERAL                    */
/*	 	General settings for all elements and   	 */
/* 					region-specific adjustments.				 */
/*************************************************/

: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 */
}

/* Sets default values, like margins, backgrounds and fonts */
body,html {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 0 !important;
	height: auto !important;
	background-color: #EAEAE8; /* Background color - changeable */
	color: var(--grey700);
	line-height: 24px;
	font-size: 16px; /* Default textstorlek för all text på Tullverket.  För att texten ska vara lätt att läsa och förstå bör inte textbredden överstiga 80 tecken (i brödtext blir textareabredden ca 530px). */
	font-weight: 400;
}

/* Disables settings from Digiforms for all elements that has not been given an id (starts with "id-") and that doesn't have a class */
*[id^="id-"]:not([class]) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	margin: 0px !important;
	/* height: auto !important; */
	color: var(--grey700) !important;
	line-height: 24px !important;
	font-size: 16px !important; /* Default textstorlek för all text på Tullverket.  För att texten ska vara lätt att läsa och förstå bör inte textbredden överstiga 80 tecken (i brödtext blir textareabredden ca 530px). */
	font-weight: 400 !important;
    font-style: unset !important;
    text-decoration: none !important;
    text-align: left !important;
    white-space: pre-wrap !important;
}


div[id^="id-"]:not([class]) {
    padding: 0px !important;
}

div {
    border-radius: 4px;
}

hr {
    color: var(--grey400);
}

pre {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0 0 16px !important;
    font-weight: 400;
}

/* Adjusts h1 - Används endast en gång per tjänst. I detta fall för sidorubriken, exempelvis ICS, Tullager, Sjöfart. */
h1 {
	font-size: 24px;
	font-weight: 500;
    margin: 0 0 16px;
	color: var(--grey100);
}

/* Adjusts h2 - Används endast en gång per sida. Exempelvis Ärendeöversikt, Varuposter, Historik mfl. */
h2 {
	font-size: 22px;
	font-weight: 500;
    margin: 0 0 16px;
}

/* Adjusts h3 - Används för panel-rubriker */
h3 {
	font-size: 20px;
	font-weight: 500;
    margin: 0 0 16px;
}

/* Adjusts h4 - Används för underrubriker i paneler. */
h4 {
	font-size: 18px;
	font-weight: 500;
    margin: 0 0 16px;
}

.ingress {
	font-size: 16px;
	font-weight: 700;
}

/* Används för vanlig text i tabeller */
.small-text {
	font-size: 14px;
	font-weight: 400;
}

/* Sets margin for all paragraphs */
p {
    margin: 0 0 16px;
}

/* Adjusts a - Linktext */
a {
	color: var(--blue400);
}

/* Sets box-sizing: border box to all elements */
* {
	box-sizing: border-box !important;
}

/* Etiketter (labels) */
label {
	font-size: 12px !important;
/*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important; */
    color: var(--grey600) !important;
    font-weight: 400 !important;
/*    height: 44px;
    vertical-align: bottom; */
}

.label_text {
	font-size: 12px !important;
/*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important; */
    color: var(--grey600) !important;
    font-weight: 400 !important;
    height: 16pt;
}

.label_control {
    margin: 0 0 16px;
}

/* Sets the style of inputfields and dropdowns */
input:not([type="radio"]):not([type="checkbox"]), select, textarea, fieldset, legend {
/*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important; */
/*    color: var(--grey700) !important; /* Font-color - changeable */
	background-color: var(--white) !important;
	border: 1px solid var(--grey600) !important;
	border-radius: 4px !important;
	padding: 0px 10px !important;
	height: 54px !important;
}

/* Sets the style of inputfields and dropdowns
input, select, textarea {
	background-color: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	padding: 14px 10px !important;
	margin-top: 5px;
}
*/

/* Sets the style of hover for inputfields and dropdowns */
input:hover, select:hover, textarea:hover {
	border: 1px solid var(--blue300) !important;
}

/* Sets the style of focus for inputfields and dropdowns */
input:focus, select:focus, textarea:focus {
	border: 1px solid var(--blue400) !important;
	outline:var(--blue400) solid 2px;
}

.control-row {
    white-space: initial;
    padding: 0px;
	min-height: 44px;
}

.control-row .label_control {
    margin-top: 0;
	display: inline-block !important;
	margin: 4px 0px 0px 0px;
	vertical-align: top !important;
}

.control-row .label_text {
    height: unset;
    width: unset;
    margin-top: 0;
	vertical-align: top !important;
}

.control-row .label_text label {
    font-size: 16px !important;
    height: unset;
}
/*
input[type="radio"] {
	appearance: none;
	display: inline-block;
	background-color: #fff;
	margin: 0;
	font: inherit;
	color: var(--blue400);
	width: 16px !important;
	height: 16px !important;
	border: 1px solid var(--blue400);
	border-radius: 50%;
	display: grid;
	place-content: center;
  }
  
  input[type="radio"]::before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	border-radius: 50%;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em var(--blue400);
  }
  
  input[type="radio"]:checked::before {
	transform: scale(1);
  }
*/
/* Sets page height */
#digiforms-page-regions {
	height: 100vh;
}

/* Adjusts header styling */
#header-wrapper {
	border-radius:0;
    border-bottom: 5px solid var(--blue500);
    /* Main color - changeable */
    background-color: var(--blue500);
	height: 100px;
	display: flex;
}

/* Sets size and margin for header and region-body */
#header-wrapper > div, nav, #region-body {
	margin: auto;
	max-width: 100%;
	width: 70em;
}

/* Adjusts #region-body */
#region-body {
	padding: 0.6rem 2.5%;
	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;
}

/* 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); }
}

/*************************************************/
/*           	 	  		  GRIDS   	  			       */
/*************************************************/

/* Settings for 50/50 grid */
.grid-50 {
	display: -ms-inline-grid;
	display: inline-grid;
	-ms-grid-columns: 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	grid-column-gap: 20px;
	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 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
	grid-column-gap: 20px;
	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 20px 1fr 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 100%;
	grid-column-gap: 20px;
}

/*************************************************/
/*           	 	  		  HEADER   	  			       */
/*************************************************/

/* Adjusts the header container */
.header-container {
	padding-right: 15px;
	padding-left: 15px;
	position: relative;
}

/* Flexbox for displaying in flex orientation */
.flexbox {
	display: flex;
	justify-content: space-between;
}

/* Adjusts icon for logged in user */
.active-user {
	background-color: transparent;
	width: 60px;
	color: transparent;
	font-size: 0px;
}

/* Sets size and color to active user icon */
.active-user:before {
	content: "\e7fd";
	font-family: "Material Icons";
	color: #0E76B7; /* Icon color - changeable */
	font-size: 45px;
	font-weight: normal;
	margin-left: auto;
	display: block;
}

/* Sets hover on active-user */
.active-user:hover {
	border-bottom: 3px solid #0e81a1;
}

/* Justifies the logo position */
.home-link {
	margin-top: auto;
	margin-bottom: auto;
}

#logo-container {
	display: flex;
}

/* Sets logo height */
#logo {
	max-height: 70px;
	padding-right: 15px;
}

/* Sets position for username */
#username {
	margin: auto;
}

/* Hides username in menu on desktop */
#menu-username {
	font-size: 0;
}

/* Adjusts skip link */
.skip-link a {
	display: block;
	position: absolute;
	left: -999px;
	top: -999px;
}

/* Adjusts skip links focus */
.skip-link a:focus {
	left: 0;
	top: 0;
	padding: 3px;
	background: #ffffff;
	border: 3px solid #1c286f;
	color: black;
}

/*************************************************/
/*           	 	    POP OUT MENUS    			       */
/*************************************************/

/* Sets size, position and transition to the menu */
.menu {
	display: none;
	float: right;
	width: 60px;
	position: absolute;
	z-index: 2;
	right: 15px;
	margin-top: 60px;
	background-color: var(--blue500);
	-webkit-box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	-webkit-transition: all .05s ease-in-out;
	-moz-transition: all .05s ease-in-out;
	-ms-transition: all .05s ease-in-out;
	-o-transition: all .05s ease-in-out;
	transition: all .05s ease-in-out;
}

/* Sets size, position and transition to the menu button */
.menu-btn {
	display: flex;
	margin-top: 5px;
	width: 100%;
	padding: 10px;
	background-position: 19px;
	background-color: white;
	-webkit-transition: all .05s ease-in-out;
	-moz-transition: all .05s ease-in-out;
	-ms-transition: all .05s ease-in-out;
	-o-transition: all .05s ease-in-out;
	transition: all .05s ease-in-out;
	border: solid 2px white;
	text-align: left;
	color: var(--blue500); /* Icon color - changeable */
	font-size: 18px;
}

/* Sets focus and hoves on the menu-btn */
.menu-btn:focus, .menu-btn:hover {
	outline: none;
	border: solid 2px var(--blue300);
	border-radius: 3px;
	background-color: var(--blue300);
}

/* Sets color and position for the btn-text */
.menu-btn .btn-text {
	color: #515151;
	position: relative;
	top: -4px;
	padding-left: 15px;
	font-size: 20px;
}

#account-btn:before {
	content: "\e869";
	font-family: "Material Icons";
	color: #0E76B7; /* Icon color - changeable */
	font-size: 25px;
	font-weight: normal;
	margin-right: 0.3em;
}

#logout-btn:before {
	content: "\e5c9";
	font-family: "Material Icons";
	color: #0E76B7; /* Icon color - changeable */
	font-size: 25px;
	font-weight: normal;
	margin-right: 0.3em;
}


/* Sets padding to the flag container */
#flag-container {
/**	padding-left: 10px;
	padding-right: 10px; */
}

/* General settings for the flags */
.flag {
	background-size: 35px 35px;
	width: 60px;
	transition: .15s ease-in-out;
	-moz-transition: .15s ease-in-out;
	-webkit-transition: .15s ease-in-out;
	cursor: pointer;
	min-height: 44px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	color: transparent;
	font-size: 0;
}

/* Sets hover on flags */
.flag:hover {
	background-color: var(--blue300);
}

/* Sets the size on the menu flag
#menu-container .flag {
	width: 60px;
	background-size: 35px;
}
 */
/* Sets border on the active language flag */
.lang-active {
	border: 3px solid var(--blue300);
}

/* Sets background image on each flag */
#se {
	background-image: url(ImageDB?imageName=%22SF_073-sweden.png%22);
}

#no {
	background-image: url(ImageDB?imageName=%22SF_058-norway.png%22);
}

#dk {
	background-image: url(ImageDB?imageName=%22SF_072-denmark.png%22);
}

#fi {
	background-image: url(ImageDB?imageName=%22SF_052-finland.png%22);
}

#uk {
	background-image: url(ImageDB?imageName=%22SF_262-united-kingdom.png%22);
}

/*************************************************/
/*           	 	    NAVIGATION      			       */
/*************************************************/

/* Settings for the navigation container */
#nav-container {
	height:auto;
	background-color: transparent;
	text-align: center;
	display: flex;
	flex-wrap: nowrap;
}

/* Settings for the general navigation button */
.nav-btn {
	display: flex;
	border:none;
	background-color:#ffffff;
	height: 6rem;
	width: 50%;
	border-right:solid 1px #eaeae8;
	font-size: 24px;
	color: #515151;
	font-weight: bold;
	line-height: 4em;
}

/* Sets hover on nav-btn */
.nav-btn:not(.current-btn):hover {
	background-color: #eaeae8;
	border-bottom: solid 3px #0E76B7; /* Main color - changeable */
}

/* Settings for the current navigation button */
.current-btn {
	background-color:#eaeae8;
	color:black;
	border-bottom: solid 2px #eaeae8;
}

/* Sets the icon of the navigation button */
#cases-btn:before {
	content: "\e873";
	font-family: "Material Icons";
	color: #0E76B7; /* Icon color - changeable */
	font-size: 45px;
	font-weight: normal;
	margin-left: auto;
	display: block;
	height: 25px;
}

/* Sets margin auto on the right side */
#cases-btn:after {
	content:"\e145";
	font-size: 0px;
	visibility: hidden;
	margin-right: auto;
}

/* Sets the icon of the navigation button */
#new-btn:before {
	content: "\e145";
	font-family: "Material Icons";
	color: #0E76B7; /* Icon color - changeable */
	font-size: 45px;
	font-weight: normal;
	margin-left: auto;
	display: block;
	height: 25px;
}

/* Sets margin auto on the right side */
#new-btn:after {
	content:"\e145";
	font-size: 0px;
	visibility: hidden;
	margin-right: auto;
}

/*************************************************/
/*      			  			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;
}

/* ACCORDION SPECIFIC */

/* Sets the style of the accordion case title */
.accordion-case .case-title {
	font-weight: bold;
	font-size: 16px;
	color: #515151;
}

/* Sets the style of the accordion case date */
.accordion-case .case-date {
	color: #555555;
	font-weight: normal;
}

/* Sets the style of the accordion case content */
.accordion-case .accordion-text-content {
	background-color: white;
	margin-bottom: 8px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.3);
	padding: 10px;
	margin-bottom: 8px;
	border: 1px solid #cccccc;
	border-top: 0;
	border-radius: 0px 0px 4px 4px;
}

/* Sets flex on the accordion case decision docs */
.decision-listing {
	display: flex;
}

/* Sets the style of the decision doc icon */
.decision-listing .icon-btn {
	color: #0E76B7; /* Icon color - changeable */
	font-size: 36px;
	margin-right: 10px;
}

/* CASE SPECIFIC */

/* Sets the style of the case button title */
.case-btn .case-title {
	font-weight: bold;
	font-size: 16px;
	color: #515151;
}

/* Sets the style of the case button date */
.case-btn .case-date {
	color: #555555;
	font-weight: normal;
}

/* Sets the style of the close button */
.btn-close {
	border: none;
	background-color: transparent;
	color: #515151;
	width: 100px;
	text-align: left !important;
	text-indent: 15px;
	font-weight: bold;
	background-image: url(ImageDB?imageName=%22SF_arrow-left-blue.png%22);
	background-repeat: no-repeat;
	background-size: 1em;
	background-position-y: center;
	padding: 5px;
	font-size: 16px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.btn-close:hover {
    border: 2px solid #0b8fbc;
    border-radius: 4px;
}

/*************************************************/
/*     							 Buttons    							   */
/*************************************************/

/* General button settings */
.btn {
	font-size: 16px;
	font-weight: bold;
	color: #515151;
	padding: 16px;
	width: 100%;
	background-color: white;
	text-align: left;
	border: 2px solid #cccccc;
	margin-bottom: 8px;
	line-height: 20px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.3);
}

.btn:focus {
	border-color: #0b8fbc !important;
}

/* Sets styles for base button */
.base-btn{
	border-radius: 4px;
	font-size: 16px;
	padding: 0 16px;
	line-height: 44px;
	width: 100%;
	text-align: center;
	cursor:pointer;
	min-width: 120px;
	padding-left: 10px;
	padding-right: 10px;
}

/* Sets styles for primary-btn */
.primary-btn {
	background-color: var(--blue400);
	box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
	color: var(--grey100);
}

.primary-btn:hover {
	background-color: var(--blue300);
	text-decoration: underline;
}

.primary-btn:focus {
	text-decoration: underline;
	border: 1px solid var(--grey100);
	outline: 2px solid var(--blue400);
  	outline-offset: 1px;
}

/* Sets styles for secondary-btn */
.secondary-btn {
	background-color: white;
	color: var(--grey700);
	box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
}
.secondary-btn:hover {
	text-decoration: underline;
	border: 1px solid var(--grey700);
}

.secondary-btn:focus {
	color: var(--blue400);
	text-decoration: underline;
	border: 2px solid var(--blue400);
}

/* Sets focus for secondary-btn */
.function-btn {
	background-color: transparent;
	color: var(--blue400);
}

.function-btn:hover {
	text-decoration: underline;
	border: 1px solid var(--blue400);
}

.function-btn:focus {
	text-decoration: underline;
	border: 2px solid var(--blue400);
}

/* Sets the style of the case button */
.case-btn {
	background-image: url(ImageDB?imageName=%22SF_arrow-right-blue.png%22);
	background-repeat: no-repeat;
	background-size: 1em;
	background-position: calc(100% - 1em) 50%;
}

/* Sets the style of the case button hover */
.case-btn:hover {
	border: 2px solid #0b8fbc;
}

/* Sets the style of the accordion */
.accordion-btn {
	background-image: url(ImageDB?imageName=%22SF_arrow-down-blue.png%22);
	background-repeat: no-repeat;
	background-size: 1em;
	background-position: calc(100% - 1em) 50%;
}

/* Sets the style of the accordion when active */
/* .accordion-btn.active {
	background-color: white;
	-webkit-box-shadow: 0 0px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 3px 0px 7px 0px rgba(0, 0, 0, 0.3);
	margin-bottom: 0px;
	background-image: url(ImageDB?imageName=%22SF_arrow-up-blue.png%22);
} */

/* Sets the style of the accordion hover */
.accordion-btn:hover {
	border: 2px solid #0b8fbc;
	background-image: url(ImageDB?imageName=%22SF_arrow-down-blue.png%22) !important;
}

/* Sets the style of the accordion active hover */
/* .accordion-btn.active:hover {
	border: 2px solid #0b8fbc;
	background-image: url(ImageDB?imageName=%22SF_arrow-up-blue.png%22) !important;
} */

/* Sets the style for case buttons inside accordions */
.accordion-text-content .case-btn {
	margin-bottom: 0px;
	border-radius: 0px;
}

/* Adds bottom margin to the accordion when unfolded */
.accordion-text-content {
	margin-bottom: 8px;
}


/* Sets the style of the confirm button */
.confirm-btn {
	background-color: #348644; /* Confirm button color - changeable */
	border-color: #2A6C36; /* Confirm button hover color - changeable */
	margin-top: 8px;
	color: white;
	font-weight: bold;
	background-image: url(ImageDB?imageName=%22SF_arrow-white-right.png%22);
	background-repeat: no-repeat;
	background-size: 1em;
	background-position: calc(100% - 1em) 50%;
}

.confirm-btn:hover {
	background-color: #2A6C36; /* Confirm button hover color - changeable */
}

/* Sets the style of the open button, primary button*/
.open-btn {
	border-radius: 4px;
	background-color: #003F85; /* blue 400 */
	border-color: #004A75; /* Open button hover color - changeable */
	color: white;
	font-weight: bold;
	margin-top: 8px;
	-webkit-box-shadow: none;
	text-align: center;
	box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
}

/* Sets the style of the open button hover */
.open-btn:hover {
	background-color: #004A75; /* Open button hover color - changeable */
}

/* Sets the style of the delete button */
.delete-btn {
	background-color: #E91218; /* Delete button color - changeable */
	border-color: #9C0000; /* Delete button hover color - changeable */
	color: white;
	/* font-weight: bold; */
	margin-top: 8px;
	text-align: center;
	-webkit-box-shadow: none;
	text-align: center;
}

/* Sets the style of the delete button hover */
.delete-btn:hover {
	background-color: #9C0000; /* Delete button hover color - changeable */
}

/* Sets the style of the cancel button */
.cancel-btn {
	background-color: #515151; /* Cancel button color - changeable */
	border-color: #313131; /* Cancel button hover color - changeable */
	color: white;
	font-weight: bold;
	margin-top: 8px;
	text-align: center;
	-webkit-box-shadow: none;
	text-align: center;
}

/* Sets the style of the cancel button hover */
.cancel-btn:hover {
	background-color: #313131; /* Cancel button hover color - changeable */
}

/* Sets style on "see all messages", "see all closed cases" and "see all open cases"*/
.btn-link {
	font-size: 16px;
	color: #3F51B5;
	text-decoration: underline;
	background-color: transparent;
	border: 2px solid transparent;
}

.btn-link:hover{
	border: 2px solid #0b8fbc;
}

/*************************************************/
/*                    FOOTER                     */
/*************************************************/

/* Sets the width of the footer region */
#region-after {
	width: 100%;
}

/* Sets color and spacing for the footer */
#footer {
	margin-top: 12em;
	padding: 5em;
	background-color: #0e76b7; /* Main color - changeable */
}

/* Aligns the footer info in the middle */
#footer-div {
	max-width: 70em;
	margin-left: auto;
	margin-right: auto;
}

/* Styles the footer info */
.footer-text {
	text-align: center;
	color: white;
	font-size: 16px;
}

/*************************************************/
/*      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.            */
/*************************************************/


/* Changes the style of the nav button in the nav menu */
.nav-btn {
    display: inline-block;
    font-size: 20px;
    line-height: 1em;
}

/* Changes the style of the page numbering in the nav menu */
.page-nr {
    color: #0E76B7;
    font-size: 30px;
    display: block;
    width: 50px;
    height: 50px;
    margin: 0px auto;
    line-height: 50px;
}

/************* Digiforms override error message ***************/
.digiforms_validation_message {
    color: white;
    background-image: none;
    background-color: #E91218;
    padding: 2px;
    padding-left: 4px;
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    word-wrap: break-word;
    margin-top: -2px;
}

/************* Puts the validation under the input field ***************/
.label_control {
    width: 100%;
    display: flex !important;
    flex-direction: column-reverse;
}

/* Aligns the titles in the summary in the center */
.summary-title {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #515151;
}

/* Centers the dot in the radio buttons */
.control-row.radio-row .label_control.checked::after {
  margin-top: 4px;
}

/* 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;
}


/*************************************************/
/*                   Attachments         				 */
/*************************************************/

@import url("https://use.typekit.net/wvk6vde.css");

/* Styling the attachment button */
.attachment label:not(.btn) {
    color: var(--grey100) !important;
	background-color: var(--blue400) !important;
    /* border: 1px solid #004A75 !important; */
    border-radius: 4px;
    padding: 10px 20px !important;
    min-width: 7em;
    font-size: 16px !important;
    transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -webkit-transition: .2s ease-in-out;
    cursor: pointer;
    font-weight: bold;
	display: inline !important;
	border: 1px solid transparent !important;
}

/* Styling the attachment button hover */
.attachment label:hover:not(.btn) {
	background-color: var(--blue300)!important;
    text-decoration: underline!important;
}

/* Styling the attachment button focus */
.attachment label:focus:not(.btn) {
    outline: none!important;
	background-color: var(--blue400) !important;
	box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
    color: var(--grey100) !important;
}

/* Styling the attachment button when active */
/* .attachment label:active:not(.btn) {
    background-color: #004A75 !important;
    border: 1px solid #0E76B7 !important;
} */

/* Sets flex to the attachment flexbox */
.flexbox-attachments {
    display: flex;
    justify-content: space-between;
}

/* Styling the attachment remove button */
.remove-attachment {
    color: white;
    background-color: #E91218;
    border: 1px solid #9C0000;
    border-radius: 7px;
    padding: 10px;
    margin: 10px;
    min-width: 3em;
    transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -webkit-transition: .2s ease-in-out;
    cursor: pointer;
    font-weight: bold;
}

/* Styling the attachment remove button on hover */
.remove-attachment:hover {
    background-color: #9C0000;
    border: 1px solid #E91218;
}

/* Styling the uploaded attachment */
[id^="uploaded"] {
    background-color: #f2f2f2 !important;
    margin-bottom: 16px;
    border: solid 1px #ccc !important;
    border-radius: 8px !important;
    padding-left: 4px;
}

/* Styling the uploaded attachment link */
#file-link {
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    color: #000;
    font-weight: bold;
    background-color: transparent;
}

