/*

    Arbetsförmedlingens anpassning av Statens
    servicecenters tjänst Sök servicekontor
    
    Tillämpad på version 1.7.7

*/

#ssc-web {
    font-size: 1.125rem !important;
    color: #333;
    font-family: 'open sans';
}

#ssc-web a,
#ssc-web a:visited {
    color: #1616B2;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: underline;
    gap: 0.5rem;
    text-underline-offset: 2px;
}

#ssc-web a:hover {
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
}

.ssc__StartView-mapListContainer {
    margin-top: 0.75rem;
}

.cms-article-template .cms-content-column .af-video-module {
    margin-top: 2rem !important;
}

@media (min-width: 664px) {
    .af-video-module {
        margin-bottom: 2rem !important;

    }
}

@media (min-width: 992px) {
    .cms-article-template .cms-content-column .af-video-module {
        margin-bottom: 2rem !important;
    }
}

/* #region Inputfält med sök */

.cms-article-template h2:not(.ssc__MatchedPlaceInfo-name) {
    background-color: #f4f4f4;
    padding: 1.5rem;
    padding-top: 2rem;
    margin-bottom: 0;
    margin-top: 3rem;
}

.ssc__ViewCollection.ssc__ViewCollection--align-left.ssc__ViewCollection--align-top {
    background-color: #f4f4f4;
    padding: 0 1.5rem 0.625rem 1.5rem;
}

.ssc__SearchSection {
    padding: 0;
    border: none;
    background: none;
    background-color: #f4f4f4;
}

hr.ssc__SearchSection-separator {
    display: none;
}

fieldset.ssc__SearchSection-filter {
    display: none;
}

.ssc__InputField--singleline .ssc__InputField-inputContainer {
    padding: 0;
    border: none;
}

div.ssc__InputField-inputContainer {
    flex-direction: inherit;
    align-items: inherit;
    background: unset;
}

.ssc__ViewCollection--align-left .ssc__ViewCollection-View {
    align-self: end;
}

.ssc__InputField-above {
    position: relative;
    top: unset;
    left: unset;
    font-weight: 600;
    font-size: 1.125rem;
    color: #333;
    margin-bottom: .5rem;
    font-family: 'open sans';
}

.ssc__InputField-input {
    width: 100%;
    background-color: #fff;
    border-radius: 6px 0 0 6px;
    border: 1px solid #5C5C5C;
    border-right: none;
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
    height: 50px;
}

input.ssc__InputField-input:focus {
    outline: 2px solid black !important;
    outline-offset: 2px;
    box-shadow: 0px 0px 0px 5px white;
}

input.ssc__InputField-input:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
    box-shadow: 0px 0px 0px 5px white;
}

.ssc__ViewCollection-View {
    padding: 0;
}

label {
    margin-bottom: 0;
}

.ssc__InputField--singleline.ssc__InputField--focus:not(.ssc__InputField--disabled) .ssc__InputField-inputContainer {
    padding: 0;
    border: none;
}

.ssc-sok-servicekontor .ssc__Button--primary {
    border-radius: 0 6px 6px 0;
    border: none;
    background: #00005A;
    height: 50px;
    width: auto;
}

.ssc__Button-inner {
    height: auto;
    min-height: unset;
    padding: 0;
}

.ssc__Button-inner::before {
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNi42NjA4IDE0LjcxNzdMMTMuNTkzNiAxMS42NTY1QzEzLjQ1NTIgMTEuNTE4MyAxMy4yNjc1IDExLjQ0MTUgMTMuMDcwNiAxMS40NDE1SDEyLjU2OTJDMTMuNDE4MyAxMC4zNTc3IDEzLjkyMjggOC45OTQ0NCAxMy45MjI4IDcuNTExNDNDMTMuOTIyOCAzLjk4MzU0IDExLjA1ODcgMS4xMjUgNy41MjM5MSAxLjEyNUMzLjk4OTEzIDEuMTI1IDEuMTI1IDMuOTgzNTQgMS4xMjUgNy41MTE0M0MxLjEyNSAxMS4wMzkzIDMuOTg5MTMgMTMuODk3OSA3LjUyMzkxIDEzLjg5NzlDOS4wMDk4MSAxMy44OTc5IDEwLjM3NTcgMTMuMzk0MyAxMS40NjE3IDEyLjU0NjlWMTMuMDQ3NEMxMS40NjE3IDEzLjI0MzkgMTEuNTM4NiAxMy40MzEyIDExLjY3NyAxMy41NjkzTDE0Ljc0NDIgMTYuNjMwNUMxNS4wMzM0IDE2LjkxOTEgMTUuNTAxIDE2LjkxOTEgMTUuNzg3MSAxNi42MzA1TDE2LjY1NzcgMTUuNzYxNkMxNi45NDY5IDE1LjQ3MyAxNi45NDY5IDE1LjAwNjMgMTYuNjYwOCAxNC43MTc3Wk03LjUyMzg5IDExLjQ0MTZDNS4zNDg4NyAxMS40NDE2IDMuNTg2MSA5LjY4NTI5IDMuNTg2MSA3LjUxMTQ0QzMuNTg2MSA1LjM0MDY3IDUuMzQ1OCAzLjU4MTMzIDcuNTIzODkgMy41ODEzM0M5LjY5ODkgMy41ODEzMyAxMS40NjE3IDUuMzM3NiAxMS40NjE3IDcuNTExNDRDMTEuNDYxNyA5LjY4MjIyIDkuNzAxOTcgMTEuNDQxNiA3LjUyMzg5IDExLjQ0MTZaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K) / "";
    bottom: -4px;
    position: relative;
    margin-right: 0.5rem;
    padding: 12px 0px 12px 24px;
}

#ssc-web button:focus-visible .ssc__Button-inner::before {
    padding-top: 9px;
    bottom: -3px;
}

#ssc-web button:focus-visible .ssc__Button-inner::after {
    top: -2px;
}

div.ssc__Button-label {
    display: none;
}

.ssc__Button-inner::after {
    content: 'Sök';
    font-size: 1.125rem;
    padding: 12px 24px 12px 0;
    min-width: max-content;
    max-height: 48px;
    position: relative;
}

.ssc-sok-servicekontor .ssc__Button--primary:hover:not(.ssc__Button--busy):not(.ssc__Button--disabled) {
    background: #0058A3;
}

.ssc__Button-inner:hover {
    border-radius: inherit;
}

.ssc__ViewCollection-View {
    width: 100% !important;
}

.ssc__ViewCollection-View+.ssc__ViewCollection-View {
    width: fit-content !important;
}

div.ssc__ViewCollection-container {
    flex-flow: row;
}

.ssc__ViewCollection-container {
    width: 100%;
    margin: 0;
}

.ssc__InputField-inputContainer:focus-within {
    outline: none;
    outline-offset: 0;
}

.ssc__Feedback {
    max-width: calc(100% - 3rem);
    left: 1.5rem;
    border-radius: 0;
}

.ssc__Feedback--info {
    border-color: #1616B2;
}

.ssc__Icon.ssc__Feedback-icon>svg {
    display: none;
}

.ssc__SearchSection-feedback,
.ssc__SearchSection-feedback-locationSearch {
    margin-top: 0.25rem;
    margin-bottom: 0.625rem;
}

.ssc__Feedback--info .ssc__Feedback-icon-container {
    background: #1616B2;
}

.ssc__Feedback-icon-container {
    background: #1616B2;
    width: auto;
    font-size: inherit;
}

span.ssc__Icon.ssc__Feedback-icon::before {
    font-family: 'af-webfont-new';
    content: '\f128'/ '';
    font-weight: 400;
    font-size: 1.625rem;
    padding: 0.625rem 1rem;
}

.ssc__Feedback-content {
    width: calc(100% - 58px);
    margin-left: 58px;
    padding: 0.625rem 1rem;
}

div.ssc__Feedback-title {
    display: none;
}

/* #endregion */

/* #region Tabbar */

#ssc-web button:focus {
    outline: 0;
    outline-offset: 0;
}

#ssc-web .ssc__Tabs-Item:focus-visible {
    z-index: 10;
    outline: 2px solid black;
    outline-offset: -3px;
    box-shadow: 0px 0px 0px 5px inset white;
}

.ssc__Tabs-Item-label {
    font-size: 1rem;
}

.ssc__Tabs-Item {
    position: relative;
    display: flex;
    height: 2.75rem;
    flex-direction: column;
    flex-shrink: 0;
    font-weight: 400;
    border: 0;
    border-bottom: 5px solid transparent;
    width: unset;
    margin: 0;
    padding: 0;
    background: 0;
    color: #333;
    font-family: Open Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    white-space: nowrap;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: none;
}

.ssc__Tabs-Item-label {
    flex: 1;
    display: flex !important;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    font-size: 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ssc__Tabs-Item::not(.ssc__Tabs-Item--active) .ssc__Tabs-Item-label:hover {
    color: #1616B2;
    text-decoration: underline;
}

.ssc__Tabs-Item--active {
    font-weight: 700;
    border-color: #95C23E;
}

.ssc__Tabs-Item:focus-visible {
    border: none !important;
    border-bottom: 5px solid transparent !important;
}

.ssc__Tabs-Item--active:focus-visible {
    border: none !important;
    border-bottom: 5px solid #95C23E !important;
}

.ssc__Tabs.ssc__SearchSection-tabs {
    width: 100%;
    margin-left: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    padding-top: 1.75rem;
    background-color: #fff;
}

@media (min-width: 768px) {
    .ssc__Tabs.ssc__SearchSection-tabs {
        padding-top: 2.5rem;
    }
}

.ssc__Tabs.ssc__SearchSection-tabs span.ssc__Icon.ssc__Tabs-Item-icon {
    display: none !important;
}

.ssc__Tabs-Item:not(.ssc__Tabs-Item--active):hover {
    border-color: transparent;
    text-decoration: underline;
    color: #1616B2;
}

/* #endregion */

/* #region Rensa filter-knapp */

/*.ssc__ClearButton-Item-button {
    background: transparent;
    cursor: pointer;
    text-align: left;
    border: none;
    transition: none;
    min-width: unset;
    min-height: unset;
    font-size: 1rem;
    padding: 0;
    color: #1616B2;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
}*/

/*.ssc__ClearButton-Item-button:hover:not([disabled]) {
    color: #424AE0;
    text-decoration: underline 0.156rem !important;
    text-underline-offset: 3px;
}*/

/*.ssc__ClearButton-Item-button:focus {
    color: #424AE0;
}*/

.ssc__ClearButton-Item-button {
    text-align: left;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All {
    margin: 0;
    margin-top: 1.5rem;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All:hover:not([disabled]) {
    background: none;
}

/*.ssc__ClearButton-Item-button svg {
    fill: #1616B2 !important;
    margin: 0 !important;
    margin-right: 0.5rem !important;
    width: 1.125rem;
    height: 1.125rem;
}*/

/*.ssc__ClearButton-Item-button:hover:not([disabled]) svg {
    fill: #424AE0 !important;
}*/

.ssc__ClearButton-All {
    margin: 0 !important;
    margin-top: 1.5rem !important;
}

/*.ssc__ClearButton-Upper
, .ssc__ClearButton-Lower
    {
    width: auto !important;
    padding: 0 !important;
}*/

/*button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All {
    border: none;
    padding: 0;
    display: inline-block;
    margin: 0;
    text-decoration: unset;
    background-color: transparent;
    border-radius: 0;
}*/

.ssc__ClearButton-Upper span,
.ssc__ClearButton-Upper svg {
    display: none !important;
}

.ssc__ClearButton-Upper:before {
    content: "\f1c1"/ "";
    font-family: 'af-webfont-new';
    text-decoration: none;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #1616B2;
    font-size: 1rem;
    font-weight: 400;
}

.ssc__ClearButton-Upper:after {
    margin-left: 0.5rem;
    content: "Rensa sökning och visa alla servicekontor";
    font-family: inherit;
    color: #1616B2;
    font-size: 1rem;
    font-weight: 600;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper {
    border: none;
    background-color: #f4f4f4;
    margin-top: 0 !important;
    margin: 0 1.5rem 1.5rem 1.5rem !important;
    padding: 0 !important;
    border-radius: 0;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:hover:before,
button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:hover:after,
button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:focus-visible:before,
button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:focus-visible:after {
    color: #424AE0;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:focus-visible {
    color: #424AE0;
    outline-offset: 0;
    outline: 2px solid #fff;
    -webkit-box-shadow: 0 0 0 4px #000;
    box-shadow: 0 0 0 4px #000;
    border-radius: 0;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Upper:hover {
    color: #424AE0;
    text-decoration: underline;
    background-color: #f4f4f4;
}

.ssc__ClearButton-Lower {
    display: none !important;
}

/*.ssc__ClearButton-Lower span,
.ssc__ClearButton-Lower svg {
    display: none !important;
}

.ssc__ClearButton-Lower:before {
    content: "\f180"/ "";
    font-family: 'af-webfont-new';
    text-decoration: none;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: ##1616B2;
    font-size: 1rem;
    font-weight: 400;
}

.ssc__ClearButton-Lower:after {
    margin-left: 0.5rem;
    content: "Rensa sökning";
    font-family: inherit;
    color: ##1616B2;
    font-size: 1rem;
    font-weight: 600;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Lower {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid ##1616B2;
}

button.sscPlacesList-Item-button.sscPlacesList--ClearButton.ssc__PlacesList--ClearButton-All.ssc__ClearButton-Lower:hover {
    background-color: #bdd3e7;
}

.ssc__ClearButton-Upper {
    display: none !important;
}*/

/* #endregion */

/* #region Filterknappar A-Ö */

.ssc__PlacesList-LetterFilterer-Item-span {
    font-size: 1.125rem;
    color: #333;
}

.ssc__PlacesList-LetterFilterer-Item-button:hover:not([disabled]) {
    background: none;
}

.ssc__PlacesList-LetterFilterer {
    margin-bottom: 2rem;
}

/* #endregion */

/* #region Sökträffar */

/*.ssc__MatchedPlaceInfo a.ssc__Link.ssc__Link--ssc__Link.ssc__Link--default.ssc__Link--no-icon:before {
    background: none;
    content: "\f13a";
    font-weight: 600;
    margin-right: 0.5rem;
    top: -1px;
    font-family: 'af-webfont-new';
    position: relative;
}*/

/*.ssc__MatchedPlaceInfo a.ssc__Link.ssc__Link--ssc__Link.ssc__Link--default.ssc__Link--no-icon:after {
    content: " (statenssc.se)";
    font-family: inherit;
}*/

/*.ssc__MatchedPlaceInfo .ssc__Link.ssc__Link--ssc__Link.ssc__Link--default.ssc__MatchedPlaceInfo-link.no-icon:before {
    background: none;
    content: "\f13a";
    font-weight: 600;
    margin-right: 0.5rem;
    top: -1px;
    font-family: 'af-webfont-new';
    position: relative;
}*/

/*.ssc__MatchedPlaceInfo .ssc__Link.ssc__Link--ssc__Link.ssc__Link--default.ssc__MatchedPlaceInfo-link.no-icon:after {
    content: " (statenssc.se)";
    font-family: inherit;
}*/


@media (max-width: 767px) {
    h3.ssc__PlacesList-letter {
        float: none;
    }
}

h3.ssc__PlacesTable-caption {
    margin-bottom: 2rem;
}

.ssc__Link--no-icon {
    display: inline-flex;
}

#ssc-web td:focus-within {
    outline: 2px solid black;
    outline-offset: 2px;
    box-shadow: 0px 0px 0px 5px white;
}

#ssc-web button:not(.ssc__Tabs-Item):not(.sscPlacesList--ClearButton):focus-visible {
    background: #0058A3;
    color: #FFF;
    border-style: solid;
    border-color: #0058A3;
    outline: 2px solid black;
    outline-offset: 2px;
    box-shadow: 0px 0px 0px 5px white;
}

.ssc__Table-Row--expanded,
.ssc__Table-Row--hover,
.ssc__Table-Row:hover {
    background: none;
}

:not(td) .ssc__Link.ssc__Link--ssc__Link.ssc__Link--default.ssc__MatchedPlaceInfo-link.no-icon:focus-visible {
    outline-offset: 0;
    outline: 2px solid #fff;
    -webkit-box-shadow: 0 0 0 4px #000;
    box-shadow: 0 0 0 4px #000;
    border-radius: 0;
}

.ssc__Table-HeadColumn-label {
    font-size: 1.125rem;
}

.ssc__Table-HeadColumn {
    padding: 0;
    border-bottom: none;
}

.ssc__Table-Row {
    font-size: 1.125rem;
}

.ssc__Table-Row-data {
    padding: 1rem 0 1.125rem 0;
    color: inherit;
    border-bottom: 1px solid #D1D1D1;
}

/* #endregion */

/* #region Träfflista */

.ssc__PlacesTable {
    padding: 0;
}

.ssc__MatchedPlaceInfo-placesTable {
    margin-top: 0;
    padding-top: 3rem;
}

.ssc__PlacesList-place {
    padding: 1rem 0 1.125rem 0;
    border-bottom: 1px solid #D1D1D1;
}

.ssc__PlacesList-place-county {
    font-size: 1.125rem;
    padding-left: 0.75rem;
}

.ssc__PlacesList-row {
    margin-bottom: 3.75rem;
}

h3.ssc__PlacesList-letter {
    font-size: 1.75rem;
    width: 3rem;
    padding-right: 1.5rem;
    margin: 0;
    line-height: 3.875rem !important;
}

.ssc__PlacesList-places {
    width: auto;
    margin: 0;
}

.ssc__PlacesList-place:focus-within {
    -webkit-box-shadow: 0 0 0 3px #000;
    box-shadow: 0 0 0 3px #000;
    border: 3px solid #fff;
    outline: none;
    outline-offset: 0;
    padding: calc(1rem - 3px) 0 calc(1.125rem - 2px) 0;
    left: -3px;
}

.ssc__MatchedPlaceInfo {
    margin-top: 0.75rem;
}

.ssc__MatchedPlaceInfo .ssc__MatchedPlaceInfo {
    margin-top: 0;
}

/* #endregion */

/* #region Autocomplete */

.ssc__SearchSection-autoCompleteItem-title {
    height: auto;
    font-size: 1rem;
    font-weight: 400;
}

.ssc__SearchSection-autoCompleteItem:hover .ssc__SearchSection-autoCompleteItem-title {
    font-weight: 600;
}

div.ssc__SearchSection-autoCompleteItem-subtitle {
    display: none;
}

.ssc__SearchSection-autoCompleteItem {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #ddd;
}

.ssc__AutoComplete-ListItem--highlight .ssc__AutoComplete-ListItem-button,
.ssc__AutoComplete-ListItem-button:hover {
    background-color: #ededed;
}

/* #endregion */