/*

 Theme Name:   FreeNews Child

 Theme URI:    https://themespiral.com/themes/freenews

 Description:  FreeNews Child Theme

 Author:       Theme Spiral

 Author URI:   https://themespiral.com/

 Template:     freenews

 Version:      2.0.4

 License:      GNU General Public License version 2.0

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         one-column, right-sidebar, flexible-header, custom-header, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, news, blog, education

 Text Domain:  freenews-child

 Domain Path: /languages/

*/

/************************************** General styles ****************************************************************/

:root {
  --main-color: #00b2ee;

  --second-color: #0056b3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font:
    normal bold 16px "Helvetica Neue",
    Arial,
    sans-serif;
}

h1,
h2,
h3,
h4 {
  clear: both;

  line-height: 1;

  margin: 0.6em 0;
}

#content {
  margin: 32px 0;
}

.error404 #primary {
  max-width: 100%;

  flex: unset;
}

a,
.color-default {
  color: var(--main-color);
}

hr.hr_red {
  border-bottom: 4px solid var(--main-color);

  margin-top: 10px;

  margin-bottom: 10px;
}

.row {
  margin-right: -15px;

  margin-left: -15px;
}

.col12_freenews_box {
  padding-left: 0;

  padding-right: 0;
}

/* Footer */

.footer-sidebar {
  border-top: 6px solid var(--main-color);
}

.footer-sidebar .col-4 {
  max-width: unset;
}

/*style items company */

div.setEqualBoxHeightContentList {
  display: flex;

  flex-wrap: wrap;
}

.content_item {
  background: #ffffff;

  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

  border: 1px solid #ececec;

  padding: 0 0 0 15px;
}

.sidebox_title {
  background-color: #ffffff;

  color: inherit;

  margin-bottom: 0;

  padding: 0 15px;
}

.sidebox_title a,
.content_item a {
  text-decoration: none;
}

.sidebox_title a h5,
.content_item a h5,
.content_item div h5 {
  color: #222;

  margin: 0.8em 0;

  line-height: 22px;
}

.sub_menu {
  border: 1px solid #e7eaec;

  margin-top: 10px;
}

.entry-content a {
  text-decoration: none;
}

.altom_product .entry-content p a.col-md-6 {
  float: left;
}

.entry-content .altom_company_profiles p a {
  float: unset;
}

.entry-content p a img {
  margin: 0 0 10px;
}

.entry-content p {
  margin-bottom: 12px;
}

.entry-content ul,
.entry-content ol {
  margin: 10px 20px;

  padding: 0;
}

.sidebox_content ul {
  list-style: none;
}

/* company styles */

.box-header-archive {
  margin-bottom: 20px;
}

.box-header-archive h2 {
  font-size: 30px;
}

.freenews-box,
.theme-box {
  background: #ffffff;

  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

  border: 1px solid #ececec;

  padding: 15px;
}

.freenews-post-singular {
  position: relative;

  padding: 15px;

  margin: 0 0 30px 0;

  word-break: normal;

  word-wrap: break-word;

  overflow: hidden;
}

.entry-title {
  position: relative;

  font:
    normal bold 26px "Helvetica Neue",
    Arial,
    Helvetica,
    sans-serif;

  color: #000000;

  margin: 5px 0 10px 0;

  line-height: 1.2;

  text-align: left;

  letter-spacing: -0.5px;

  padding: 14px 15px 7px;

  border-bottom: 1px solid #e7eaec;
}

hr.hr_link_post {
  height: 5px;

  background-color: var(--main-color);
}

button.btn-primary {
  background-color: var(--main-color);

  border-color: var(--second-color);

  color: #fff;

  font-weight: bold;
}

.indhold_submenu_list {
  list-style: none;

  font-size: 12px;

  display: none;

  line-height: 12px;

  padding: 0;

  padding-top: 5px;

  margin-left: 0;
}

.indhold_submenu_list li {
  display: inline;
}

.indhold_submenu_list li::after {
  content: ",";
}

article .products-same-cat .control-button {
  text-align: right;
}

/*Make news container contain thumbnail*/

.linked-posts .linked-post {
  overflow: auto;
}

.timep {
  float: left;
  font-size: 14px;
}

.linkp {
  float: right;
}

.btn-social-icon {
  font-size: 25px;

  padding: 0 3px;

  text-decoration: none;
}

.entry-content .btn-facebook,
.btn-facebook {
  color: #3b5998;
}

.entry-content .btn-facebook:hover,
.btn-facebook:hover {
  color: #2d4373;
}

.entry-content .btn-twitter,
.btn-twitter {
  color: #55acee;
}

.entry-content .btn-twitter:hover,
.btn-twitter:hover {
  color: #2795e9;
}

.entry-content .btn-linkedin,
.btn-linkedin {
  color: #007bb6;
}

.entry-content .btn-linkedin:hover,
.btn-linkedin:hover {
  color: #005983;
}

/*file front_product_children.php */

li.list-child-product:hover,
li.list-child-product:active {
  font-weight: bold;

  color: #00a8df;
}

li.list-child-product a:visited,
li.list-child-product a:hover {
  text-decoration: none;
}

.product_children_list .sidebox_title {
  padding: 14px 15px 7px;
}

.single-altom_product .sidebox_content {
  border-color: #e7eaec;

  border-style: solid solid none;

  border-width: 1px 0;

  color: inherit;

  padding: 0;
}

.post-navigation {
  display: none;
}

/***** News *****/

.time-post .breadcrumb {
  margin-bottom: 0;

  margin-left: 0;

  padding: 0;

  background-color: #ffffff;
}

.breadcrumb > li + li::before {
  padding: 0 5px;

  color: #ccc;

  content: "/\00a0";
}

.img-post {
  max-width: 70px;

  max-height: 70px;
}

.freenews-box table {
  margin: 0 0 1.5em;

  width: 100%;
}

.color-default-b {
  background-color: var(--main-color);
}

.show_post .more-link {
  display: none;
}

/*.single-post .socialIcons-single-page {
  float: right;
}*/

/*.single-post img.wp-post-image {
  float: right;
  padding: 10px;
  border: 1px solid #e7eaec;
  margin-left: 15px;
  max-width: 465px;
}

.attachment-post-thumbnail {
  display: block;
  margin: 0 auto 10px;
  text-align: center;
}

.single #primary .post-thumbnail {
  margin: 30px 0;
}*/

@media (min-width: 777px) {
  .type-altom_product .linked-posts .freenews-box > .row {
    margin-left: -0.625em;
    margin-right: -0.625em;
  }
}

.page #primary .post-thumbnail,
.single #primary .post-thumbnail {
  float: right;
  padding: 10px;
  border: 1px solid #e7eaec;
  margin-left: 15px;
  max-width: 465px;
}

.single #primary .post-thumbnail .description,
.page #primary .post-thumbnail .description,
.freenews-box .pull-right.has-alt-text .description {
  font-size: 12px;
  color: #a7a7a7;
}
.freenews-box .pull-right.has-alt-text {
  width: 50%;
  max-width: 300px;
  padding: 5px;
  border: 1px solid #e7eaec;
  margin: 6px 0 10px 10px;
  padding: 10px 10px 0 10px;
}

.freenews-box .pull-right.has-alt-text .description {
  margin-bottom: 5px;
}

.freenews-box .pull-right.has-alt-text .news_image_box {
  padding: 0px;
  border: 0px solid transparent;
  margin: 0;
  margin-bottom: 5px;
}

.attachment-post-thumbnail {
  display: block;
  margin: 0 auto 10px;
  text-align: center;
}
.comments-area {
  width: 100%;
}

img.news_image_box {
  padding: 5px;

  border: 1px solid #e7eaec;

  margin: 6px 0 10px 10px;
}

.news-header {
  margin-bottom: 30px;
}

/***** Search result *****/

.page-header {
  color: #ffffff;

  margin: 0 0 30px 0;

  padding: 10px 5px;

  text-align: center;

  background: var(--second-color);
}

.page-header h1 {
  font:
    normal normal 24px "Helvetica Neue",
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1;

  padding: 5px 0;

  margin: 0;

  color: #ffffff;
}

.search-results {
  display: flex;

  flex-wrap: wrap;
}

.search-results .no-search-result {
  line-height: 40px;
}

.search-results .searchandfilter ul {
  margin-left: 0;
}

.search-results .searchandfilter select,
.search-results .searchandfilter input {
  height: 40px;
}

.posts-holder {
  margin: 0;
}

#primary .posts-holder .post,
#primary .posts-holder .page {
  width: 100%;
}

.freenews-search-post-thumbnail {
  width: 25%;

  margin-right: 2%;

  float: left;

  position: relative;

  overflow: hidden;
}

.freenews-search-post-details {
  height: auto;

  float: left;

  position: relative;

  width: 73%;
}

.freenews-search-page {
  margin: 20px;
}

.post-page-search .search-form {
  display: flex;
}

/* sidebar */

.site-content-cell .wrap {
  display: flex;
}

.clearfix:before,
.clearfix:after {
  content: none;

  display: table;
}

.freenews-sidebar-one-wrapper-inside img,
.freenews-sidebar-two-wrapper-inside img {
  margin-bottom: 10px;
}

.product-categories {
  margin-top: 15px;

  margin-bottom: 15px;
}

.product-categories .label-custom {
  background-color: var(--main-color);

  margin: 3px 2px;

  font-size: 90%;

  color: #fff;

  display: inline-block;

  font-weight: bold;

  text-align: center;

  padding: 5px;

  border-radius: 0.25em;
}

/* converter page */

.info_ma {
  float: right;

  margin-bottom: 50px;
}

.inp_category {
  width: 100%;
}

/* homepage */

.main-section .wrap .main-content-area {
  order: 1;
}

.main-section .wrap .left-widget-area {
  order: 0;
}

.main-section .wrap .right-widget-area {
  order: 2;
}

@media only screen and (min-width: 1024px) {
  hr.hr_company_post {
    display: none;
  }

  .freenews-header-inside {
    padding-left: 32px;
  }

  .content-area {
    position: relative;

    width: 74%;

    margin: 0;

    padding: 0;

    float: left;

    word-wrap: break-word;

    overflow: hidden;

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 74%;

    -ms-flex: 0 0 74%;

    flex: 0 0 74%;

    max-width: 74%;

    -webkit-box-ordinal-group: 2;

    -webkit-order: 1;

    -ms-flex-order: 1;

    order: 1;
  }

  .freenews-sidebar-one-wrapper {
    position: relative;

    width: 13%;

    padding: 0;

    float: left;

    word-wrap: break-word;

    overflow: hidden;

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 13%;

    -ms-flex: 0 0 13%;

    flex: 0 0 13%;

    max-width: 13%;

    -webkit-box-ordinal-group: 1;

    -webkit-order: 0;

    -ms-flex-order: 0;

    order: 0;
  }

  .freenews-sidebar-one-wrapper-inside {
    padding: 0 15px 15px 0;
  }

  .freenews-sidebar-two-wrapper {
    position: relative;

    width: 13%;

    margin: 0;

    padding: 0;

    float: right;

    text-align: right;

    word-wrap: break-word;

    overflow: hidden;

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 13%;

    -ms-flex: 0 0 13%;

    flex: 0 0 13%;

    max-width: 13%;

    -webkit-box-ordinal-group: 2;

    -webkit-order: 2;

    -ms-flex-order: 2;

    order: 2;
  }

  .freenews-sidebar-two-wrapper-inside {
    padding: 0 0 15px 15px;
  }
}

@media only screen and (min-width: 890px) and (max-width: 1024px) {
  .banner-wrap {
    margin: 50px auto;
  }
}

@media only screen and (max-width: 889px) {
  .site-content-cell .wrap {
    display: unset;
  }

  .content-area .site-main {
    margin: 0 24px;
  }

  .atom-logo-custom {
    font-size: 24px;
  }

  .freenews-sidebar-one-wrapper {
    width: 100%;

    float: none;

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 100%;

    -ms-flex: 0 0 100%;

    flex: 0 0 100%;

    max-width: 100%;

    -webkit-box-ordinal-group: 2;

    -webkit-order: 1;

    -ms-flex-order: 1;

    order: 1;

    margin: 0 24px;
  }

  .freenews-sidebar-two-wrapper {
    width: 100%;

    float: none;

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 100%;

    -ms-flex: 0 0 100%;

    flex: 0 0 100%;

    max-width: 100%;

    -webkit-box-ordinal-group: 3;

    -webkit-order: 2;

    -ms-flex-order: 2;

    order: 2;

    margin: 0 24px;
  }

  .home .freenews-sidebar-one-wrapper,
  .home .freenews-sidebar-two-wrapper {
    margin: 50px 0 0;
  }

  .main-contain-home {
    width: 100%;
  }

  .freenews-sidebar-two-wrapper-inside {
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .freenews-sidebar-one-wrapper-inside,
  .freenews-sidebar-two-wrapper-inside {
    display: none;
  }
}

/********************************************** General ***************************************************************/

/*Menu font as same as main category*/

.main-navigation {
  font-family: "Heebo", sans-serif;
}

.main-navigation ul li a {
  font-weight: 700;
}

/*Add separate line after each item*/

.main-navigation ul li {
  border-right: #00b2ee solid 1px;
}

/********************************************* Homepage ***************************************************************/

/*Hide default logo area, and show custom logo, on large screen*/

@media only screen and (min-width: 767px) {
  .main-header-brand .header-brand {
    display: none;
  }
}

.atom-logo-custom {
  position: absolute;

  top: 5%;

  color: #fff;

  text-align: center;

  width: 100%;

  font-size: 32px;

  text-decoration: none;

  font-weight: bold;
}

.atom-logo-custom:hover,
.atom-logo-custom:active,
.atom-logo-custom:focus {
  color: #fff;

  text-decoration: none;
}

/*On small screen, reverse*/

@media screen and (max-width: 768px) {
  .atom-logo-custom {
    display: none;
  }

  .main-header-brand .header-brand {
    display: block;
  }
}

/*Custom clock title*/

.altom-clock-title {
  color: white;

  line-height: 2.7;

  font-size: 20px;

  text-align: center;
}

@media only screen and (max-width: 1200px) {
  .altom-clock-title {
    margin-top: unset;

    font-size: 15px;
  }
}

/*Hide category links*/

.home .cat-links {
  display: none;
}

/*Hide sidebar in page content*/

.home .site-content .freenews-sidebar-one-wrapper-inside,
.home .site-content .freenews-sidebar-two-wrapper-inside {
  display: none;
}

/*Adjust main banner widget & sidebar*/

.main-banner {
  background-color: unset;
}

.banner-wrap {
  margin: 0 2%;

  display: flex;

  flex-wrap: wrap;
}

/*Homepage content*/

.home.has-sidebar #content {
  margin-top: 0;
}

.home.has-sidebar #content article {
  padding-top: 0;
}

@media only screen and (min-width: 1024px) {
  /*Sidebar*/

  .home .freenews-sidebar-one-wrapper,
  .home .freenews-sidebar-two-wrapper {
    width: 10%;

    -webkit-flex: 0 0 10%;

    -ms-flex: 0 0 10%;

    flex: 0 0 10%;

    max-width: 10%;

    position: absolute;
  }

  .home .freenews-sidebar-two-wrapper {
    left: 88%;
  }

  /*Main banner widget*/

  .main-contain-home {
    width: 80%;

    margin-left: 10%;
    margin-bottom: 20px;
  }

  /*Homepage content*/

  .home .content-area {
    width: 80%;

    margin-left: 10%;

    -webkit-flex: 0 0 80%;

    -ms-flex: 0 0 80%;

    flex: 0 0 80%;

    max-width: 80%;
  }
}

@media only screen and (min-width: 890px) and (max-width: 1203px) {
  .home .freenews-sidebar-one-wrapper,
  .home .freenews-sidebar-two-wrapper {
    width: 15%;

    -webkit-flex: 0 0 15%;

    -ms-flex: 0 0 15%;

    flex: 0 0 15%;

    max-width: 15%;

    position: absolute;
  }

  .home .freenews-sidebar-two-wrapper {
    left: 83%;
  }

  .main-contain-home {
    width: 70%;

    margin-left: 15%;
  }

  /*Homepage content*/

  .home.has-sidebar #primary {
    width: 70%;

    max-width: 70%;

    margin-left: 15%;

    margin-right: 15%;
  }
}

@media screen and (max-width: 889px) {
  .home .freenews-sidebar-one-wrapper,
  .home .freenews-sidebar-two-wrapper {
    display: none;
  }
}

/*Featured image*/

.home.has-sidebar #content .post-thumbnail {
  display: none;
}

/*Home content*/

.home.has-sidebar #content .wrap {
  margin-left: 2%;

  margin-right: 2%;
}

.home.has-sidebar #primary hr {
  background-color: var(--main-color);
}

/*Recent posts*/

.home #primary .altom-recent-post .altom-recent-post-thumbnail-title table {
  border: none;
}

.home #primary .altom-recent-post .altom-recent-post-thumbnail-title table tr {
  border-bottom: none;
}

.home #primary .altom-recent-post .altom-recent-post-thumbnail-title table tr td {
  border-right: none;
}

/********************************************* Product page ***********************************************************/

/*Remove top <hr/> of first company profile.*/

/*This has a flaw. If content already contain some company profiles, then editor should manually add a <hr/> after content*/

.altom_company_profiles .altom_company_profile:first-child hr:first-child {
  display: none;
}

.altom-recent-post-inner {
  display: flex;
  margin-bottom: -7px;
  margin-top: -11px;
}
.altom-recent-post-img {
  margin-right: 20px;
  /*width: 70%;*/
  width: 30%;
  min-width: 30%;
  max-width: 30%;
}
.altom-recent-post-img img {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  max-height: 100%;
}
.altom-recent-post-content {
  position: relative;
}
.altom-recent-post-content .socialIcons {
  position: absolute;
  right: 0px;
  bottom: -3px;
}

.altom-recent-post-excerpt p {
  margin-bottom: 0px;
  font-size: 14px;
}

.altom-recent-post-content .read-more {
  position: absolute;
  left: 0px;
  bottom: -2px;
  line-height: 1;
  font-weight: bold;
  color: black;
}

.timep-linkp {
  display: block;
  width: 100%;
}
.altom-recent-post-excerpt {
  clear: both;
}
.altom-recent-post-title a h3 {
  margin-top: 0 !important;
}

.rss-feeds {
  background: #fff;
  padding: 0;
  margin: 0;
  height: 350px;
  overflow-y: scroll;
  border: 1px solid #b7b7b7;
}
h2.rss-title {
  font-size: 18px;
  text-transform: uppercase;
}
.rss-feeds li {
  list-style: none;
  padding: 10px 10px;
  border-bottom: 1px solid #b7b7b7;
  line-height: 18px;
  font-size: 14px;
}
.rss-feeds li a {
  color: #333;
  font-weight: 600;
  display: block;
  color: #333;
}
.rss-feeds li a.read-more {
  color: #00b2ee;
}
.rss-feeds li a:hover {
  color: #00b2ee;
  text-decoration: none;
}
.rss-dec {
  margin-top: 10px;

  line-height: 22px;
}

.highlighted-category-left {
  position: relative;
  height: 100%;
}
.highlighted-category-left .rss-feeds {
  position: absolute;
  height: 84%;
  left: 0px;
  right: 0px;
  width: 100%;
}

.rss-title {
  background: #01b1ee;
  margin: 0px;
  padding: 7px 15px;
  color: white;
}

.highlighted-category-left {
  display: none;
}

.highlighted-category-left.show {
  display: block;
}

.main-contain-home {
  margin-bottom: 0px;
}

@media (min-width: 1420px) {
  .highlighted-category-left .rss-feeds {
    height: 85%;
  }
}
@media (min-width: 1650px) {
  .highlighted-category-left .rss-feeds {
    height: 86%;
  }
}

@media (min-width: 1750px) {
  .highlighted-category-left .rss-feeds {
    height: 87%;
  }
}
@media (min-width: 1850px) {
  .highlighted-category-left .rss-feeds {
    height: 88%;
  }
}

@media only screen and (min-width: 100px) and (max-width: 768px) {
  .altom-recent-post-inner {
    flex-direction: column;
  }
  .altom-recent-post-img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;

    max-width: inherit;
  }
  .altom-recent-post-img img {
    width: 100%;
  }
  .altom-recent-post-content {
    padding-bottom: 40px;
  }
  .altom-recent-post-content .read-more {
    bottom: 7px;
  }
}

@media (max-width: 1200px) {
  .main-contain-home {
    display: flex;
    flex-wrap: wrap;
    order: 2;
  }
  .home.has-sidebar #content {
    margin-top: 235px;
  }
}

body.home .entry-header {
  display: none !important;
}

.single-kursus .post-thumbnail {
  margin: 30px 0 !important;
}

.kursus-page .child-item.w-100 {
  width: 100%;
}

.kursus-page .child-item.w-100 .sidebox_title {
  padding: 0;
}

.kursus-page .setEqualBoxHeightContentList {
  margin: 0;
}

.kursus-billeder {
  margin-top: 10px;
  background-color: white;
  padding: 10px;
  box-sizing: border-box;
}

.kursus-billeder img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.kursus-billeder hr {
  background-color: var(--main-color);
  height: 2px;
}
/*
body.search .page.has-post-thumbnail .post-thumbnail img {
  height: 200px;
  object-fit: cover;
  width: 25%;
  margin-right: 2%;
  float: left;
}

body.search .page.has-post-thumbnail {
  display: flex;
}

body.search .page.has-post-thumbnail > div:last-of-type {
  background-color: red;
}
*/

.alle-kurser-oversigt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 15px;
}

@media (min-width: 777px) {
  .alle-kurser-oversigt .child-item.w-100 {
    width: calc(50% - 5px);
  }
}
.kursus-page.all-kursus .sidebox_title a h5 {
  padding-right: 10px;
}
.kursus-page.all-kursus .sidebox_title img {
  min-width: 50%;
}

@media (min-width: 777px) {
  .header-media-search {
    height: 200px;
    //overflow: hidden;
    margin-bottom: -8px;
  }

  .header-media-search .custom-header,
  .header-media-search .custom-header img {
    height: 100%;
  }

  .header-media-search .atom-logo-custom {
    font-size: 28px;
    top: 45px;
    z-index: 10;
  }

  .header-media-search .search-container {
    width: 100%;
    max-width: 578px;
    border-radius: 16px;
    top: 120px !important;
    z-index: 11;
  }

  .header-media-search .search-container .search-submit {
    border-radius: 12px;
    margin: 0;
  }
  .header-media-search .custom-header-media::after {
    content: "";
    background-color: black;
    opacity: 20%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
}

.header-media-search .search-container {
  width: calc(100% - 40px);
  max-width: 578px;
  border-radius: 16px;
}

.header-media-search .search-container .search {
  display: flex;
  flex-wrap: nowrap;
  overflow: inherit;
}

.header-media-search .search-container .search-submit {
  border-radius: 12px;
  margin: 0;
}

.entry-header.product-category,
.entry-header.custom-heading-header {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.custom-entry-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.custom-entry-title {
  font-size: 32px;
  margin: 0 0 4px 0;
}

.custom-entry-wrapper #breadcrumbs {
  margin: 0;
}

.custom-entry-wrapper #breadcrumbs a,
.custom-entry-wrapper #breadcrumbs span {
  font-size: 12px;
}

#breadcrumbs-custom-a {
  margin: 0;
}

#breadcrumbs-custom-a a,
#breadcrumbs-custom-a span {
  font-size: 12px;
}
#breadcrumbs-custom-a a {
  cursor: pointer;
}

.custom-entry-wrapper #breadcrumbs a {
  cursor: pointer;
}

.single #primary .custom-entry-image .post-thumbnail {
  float: inherit;
  max-width: inherit;
  margin: 0;
  padding: 10px;
}

.custom-entry-image img {
  height: 325px;
  width: 100%;
  object-fit: cover;

  padding: 0;
  margin: 0;
}

.single #primary .custom-entry-image .post-thumbnail .description {
  margin-bottom: 0;
  max-width: 250px;
}

/*
* New company profiles
*/

/*.altom_company_profiles.entry-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}*/

.altom_company_profiles.entry-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 16px; /* Adjust the gap between items as needed */
  margin-top: 30px;
}

.altom_company_profiles.entry-content::before,
.altom_company_profiles.entry-content::after {
  display: none;
}

.altom_company_profiles.entry-content .altom_company_profile {
  height: 100%;
  border-radius: 4px;
  background: #f8f8f8;
  padding: 25px 25px 35px 25px;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.44;
  display: flex;
  flex-direction: column;
}

.altom_company_profiles.entry-content .altom_company_profile > p strong {
  font-size: 14px;
}

.altom_company_profiles.entry-content .altom_company_profile img:first-of-type {
  height: 100px;
  max-width: 200px;
  object-fit: contain;
}

.last-column-p {
  margin-top: auto !important;
  font-size: 14px;
}

.altom_company_profiles.entry-content .altom_company_profile .btn-andreas {
  color: #0056b3;
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #0056b3;
}

.altom_company_profiles.entry-content .altom_company_profile .btn-andreas:hover {
  opacity: 80%;
}

/*.entry-content.custom-entry-cat .custom-wrapper-andreas {
  display: flex;
  margin-top: 20px;
  gap: 16px;
}

.entry-content.custom-entry-cat .custom-wrapper-andreas .custom-entry-image {
  width: 40%;
}
.entry-content.custom-entry-cat .custom-wrapper-andreas > p {
  width: 60%;
}

@media (max-width: 777px) {
  .entry-content.custom-entry-cat .custom-wrapper-andreas {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .entry-content.custom-entry-cat .custom-wrapper-andreas .custom-entry-image {
    width: 100%;
  }
  .entry-content.custom-entry-cat .custom-wrapper-andreas > p {
    width: 100%;
  }
}
*/

/*
* Search page
*/
.search-page-search {
  padding: 10px;
  margin-top: -20px;
  margin-bottom: 20px;
}

.search-page-search .search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 0;
}
.search-page-search .search-field {
  background: #f8f8f8;
  height: 48px;
}

.search-page-search button {
  height: 44px !important;
  margin: 0px !important;
  border-radius: 4px !important;
}

.search-page-search select {
  height: 45px;
  border-radius: 4px;
  border-color: 2px solid #f8f8f8;
}

.search-page-content .no-search-result {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 4px;
  background: #f8f8f8;
  padding: 25px 25px 35px 25px;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
}

.search-page-content .no-search-result a {
  color: #0056b3;
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #0056b3;
}

.custom-entry-cat-aa {
  margin-top: 20px;
}

.custom-entry-cat-aa > h2 {
  clear: inherit;
}

.custom-entry-cat-aa > div > h2 {
  clear: inherit;
}

.single #primary .custom-entry-cat-aa .post-thumbnail {
  max-width: 280px;
}

.search-page-content article.altom_product .post-thumbnail {
  display: none;
}

.freenews-box.has-image > h2,
.freenews-box.has-image > h3,
.freenews-box.has-image > h4 {
  clear: inherit;
}

ul.social-links-menu {
  display: flex;
}

li.menu-item.menu-item-67631 a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

li.menu-item.menu-item-67631 a:before {
  content: "";
  background: url("https://altomteknik.dk/wp-content/uploads/2024/10/twitter.png");
  background-position: center;
  background-size: contain;
  height: 18px;
  width: 18px;
  display: block;
}
.socialIcons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socialIcons .btn-social-icon {
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.socialIcons .btn-twitter {
  padding: 0;
  line-height: 1;
}
.timep-linkp .btn-social-icon img {
  margin-top: -2px;
}
.socialIcons .btn-twitter img,
.timep-linkp .btn-social-icon img {
  height: 18px;
  width: 18px;
}

body.search-results .freenews-posts-container .entry-title,
body.search-results .freenews-posts-container .entry-title a,
body.search-results .entry-content-holder .entry-title,
body.search-results .entry-content-holder .entry-title a {
  color: var(--main-color);
}

.search-helper-text {
  display: none;
  font-size: 15px;
  position: absolute;
  background: white;
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 4px;
  bottom: -51px;
  line-height: 1.2;
}

.search-helper-text.show {
  display: block;
}

.header-search-form-wrapper {
  z-index: 999999999999;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 520px;
}
