﻿img {
  /*image-rendering: -moz-crisp-edges;         
  image-rendering:   -o-crisp-edges;         
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;*/  
  image-rendering: -webkit-optimize-contrast;
}

/* Large.. */
@media all and (min-width:997px) {
  /* Header Logo Text */
  .navbar-brand h1 {
    margin-top: 12px !important;
    color: #c52627 !important;
  }

  /* Header Logo Image */

  .navbar-brand img {
    width: 75px;
  }
}

/* Not large.. */
@media all and (max-width:996px) {
  /* Header Logo Text */
  .navbar-brand h1 {
    font-size: 35px;
    margin-top: 6px !important;
    color: #c52627 !important;
  }

  /* Header Logo Image */

  .navbar-brand {
    /*padding: 16px 15px;*/
    line-height: 1px;
  }

  .navbar-brand img {
    width: 45px;
  }
}


/* Sidebar for News and Article-lists */
.sideBarAlternative {
  margin-top: 6px;
  margin-bottom: 20px;
}

  .sideBarAlternative ul li {
    font-size: 14px;
    line-height: 22px;
    /*text-transform:uppercase;*/
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0px 10px 0px;
    font-weight: 700;
  }

    .sideBarAlternative ul li:last-child {
      border-bottom: none;
    }

    .sideBarAlternative ul li a {
      color: #000;
    }

      .sideBarAlternative ul li a:hover, .sideBar ul li a:focus, .sideBar ul li a:active {
        color: #6f6f6f;
        text-decoration: none;
      }

      .sideBarAlternative ul li a.active {
        color: #c52419;
      }

  .sideBarAlternative ul ul {
    padding-bottom: 20px;
  }

  .sideBarAlternative ul li li {
    font-size: 14px;
    line-height: 26px;
    text-transform: none;
    border: none;
    font-weight: 400;
  }

  .sideBarAlternative .menuDate {
    font-size: 10px;
    font-weight: normal;
    display: block;
  }

/* A type of bulletlist for normal content */



ul.bulletList {
  margin-top: 10px;
  display: table;
  list-style: none inside;
  border-spacing: 0 8px;
  margin: 15px 15px 15px 15px;
}

  ul.bulletList > li:before {
    font-family: FontAwesome;
    font-weight: 500;
    font-size: 11px;
    content: "";
    padding-right: 8px;
    display: table-cell;
  }

ul.bulletListLessIndented {
    margin: 15px 5px 15px 0px !important;
}


/* Internet Explorer specific shit.*/
.ie .bulletList > li:before {
  font-family: FontAwesome;
  font-weight: 500;
  content: "\00BB";
}


ul.bulletList > li {
  line-height: 19px !important;
  font-weight: 500;
  display: table-row;
}


ul.bulletList li a {
  color: #5eb5cd;
}

.standardContent li:before, 
.newsContent li:before {
  font-family: 'FontAwesome';
  content: '\f101';
  margin: 0 8px 0 15px;
}
.standardContent ul, 
.newsContent ul {
  padding-bottom: 10px;
}

.standardContent li,
.newsContent li {
  padding-top: 10px;
}




/*File input custom handeling*/
.btn-file {
  position: relative;
  overflow: hidden;
  background-color: #69c9e4 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 24px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background-color: #69c9e4;
}

  .btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
  }

.validateError {
  background-color: #ffaea0;
}

.modal-dialog {
  margin-top: 100px;
}

input[readonly] {
  background-color: white !important;
  cursor: text !important;
}

/* Override the normal style in styles.css, show the dots to control slide-navigation in career-slider */
.flexslider2 .flex-control-nav {
  display: block !important;
}

.flex_text span {
  line-height: 20px !important;
}

#mobileSubNav {
  display: inline-block !important;
  width: 100% !important;
}

  #mobileSubNav h4 {
    color: #c52419;
  }

/* When in SMALL-mode: */

@media (max-width: 767px) {
  /* Show light/generic version of career-container */
  /*
    .careerSmall {
        display: block !important;
    }
    */
  /* Hide full scale version of career-container */
  /*
    .careerNormal {
        display: none !important;
    }
    */

  .secondaryContent {
    margin-top: 0px !important;
  }
}

/* When NOT in SMALL-mode: */

@media (min-width: 768px) {
  /* JS - Removed things below - solved it properly with bootstrap-classes instead.*/

  /* Hide light/generic version of career-container */
  /*
    .careerSmall {
        display: none !important;
    }
    */
  /* Show full scale version of career-container */
  /*
    .careerNormal {
        display: block !important;
    }
    */
  /* In all BUT small-mode top-offset the product-images in the right column */


  .productHasMobileImages {
    /*display: block !important;*/
    position: relative !important;
    top: -80px !important;
    /*margin-top: -80px !important;*/
  }
}

::-webkit-input-placeholder {
  color: gray;
}

:-moz-placeholder { /* Firefox 18- */
  color: gray;
}

::-moz-placeholder { /* Firefox 19+ */
  color: gray;
}

:-ms-input-placeholder {
  color: gray;
}

.panel-default {
  border-color: #eee;
}

.panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group {
  border-top: 1px solid #eee;
}

.panel-heading, .panel-heading a {
  background-color: #f8f8f8 !important;
  color: black !important;
  font-family: 'Montserrat';
  text-transform: none;
  font-size: 0.9em;
  font-weight: 400;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px; 
}

.panel-group .panel {
  margin-bottom: 0;
  border-radius: 0px;
}

.more-less > i {
  font-size: 12px;
  font-weight: 200;
  color: #ccc;
}

.readMore{
    color: var(--trionaRed);
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    gap: 0.5rem;
    align-items:center;

}

.casesSection{
    width: 100%;
    margin-bottom: 6rem;

    p{
    }


    .casesIntroduction{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        
        padding-block: 2rem !important;
        margin-bottom: 2rem;

        h2{
            font-family: var(--h2HeaderFamily);
            font-weight: var(--h2FontWeight);
            font-size: var(--h2FontSize);
            line-height: var(--h2LineHeight);
            color: var(--h2Color);
        }
        
        h3 {
            font-size: var(--sectionHeaderSize);
            font-weight: var(--sectionHeaderWeight);
        }
        
    }

    .casesList{
        --maxNrOfCasesHorizontally: 3;
        --customerCaseGap: 4rem;
        display: flex;
        gap: var(--customerCaseGap);
        width: 100%;
        flex-wrap: wrap;
    }

    .customerCase{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: calc((100% - ((var(--maxNrOfCasesHorizontally) - 1) * var(--customerCaseGap))) / var(--maxNrOfCasesHorizontally));

        img{
            width: 100%;
            aspect-ratio: 16 / 10;
        }

        h3{
            font-size: 1.8rem;
            font-weight: var(--sectionHeaderWeight);           
            margin-top: 1rem;
        }
        p{
            font-size: 1.3rem;
            margin-top: 1rem;
        }
        

    }

}


@media all and (width < 780px){
    .casesSection{
        padding-inline:var(--blockInlinePadding);

        .casesList{
            --maxNrOfCasesHorizontally: 1;
            
            /*          
            --customerCaseGap: 4rem;
            display: flex;
            gap: var(--customerCaseGap);
            width: 100%;
            flex-wrap: wrap;
            */
        }
    }
}


/* 2016-07-07: A (hopefully) temporary replacement in Firefox for the faulty rendering of the google-font Montserrat (in uppercases)*/

/*
@font-face {
    font-family: "MontserratReplacement";
     src: url('../fonts/Montserrat-Regular.otf');
}

.gecko #header > nav > div > div > .navbar-nav > li, .navbar-nav > li {
    font-family: 'MontserratReplacement', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.gecko #footer h5 *, 
.gecko .sideBar ul li
{
    font-family: 'MontserratReplacement', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

*/

/* End Firefox Font-replacement */
