/* The Circuit TriColumn */
.the-circuit {
    max-width: 1160px;
    padding: 5px 20px 25px 20px;
    margin:0px auto;
}

.the-circuit a {
    color:#000;
    text-decoration: none;
    font-weight: bold;
}

.the-circuit a:hover {
    text-decoration: underline;
}

.circuit-title {
  border-bottom:solid 2px #999;
  margin-bottom:15px;
  text-align:center;
}

.circuit-title img {
  height:50px;
  margin-top:5px;
}

.richtextcontent {
    width: 100%;
    display: table;
}

.the-circuit div:not(.circuit-title) {
  margin: 0 auto;
  padding-left: 4%;
  display: table-cell;
}

.rtl .the-circuit div:not(.circuit-title) {
  padding-left: 4%;
}

.the-circuit div:nth-child(2) {
    padding-left: 2%;
}

.rtl .the-circuit div:nth-child(2) {
    padding-right: 2%;
}

.the-circuit div p {
    max-width: 50%;
}

.rtl .the-circuit div p {
    max-width: 100%;
}

.circuit-image {
  border:solid 1px #999;
  border-radius: 100%;
  display: block;
  height: 120px;
  width:120px;
  box-sizing: border-box;
  overflow: hidden;
  float: left;
  margin-right:15px;
  background-color:white;
}

.rtl .circuit-image {
  float: right;
  margin-left:15px;
}

.circuit-image img {
  height: 100%;
  width:100%;
}

.circuit-link {
  color:#000;
  font-weight:bold;
  font-size:14px;
  text-decoration: none;
}

.circuit-link:hover {
  text-decoration: underline;
}

.the-circuit div p {
  display: table;
}

  .the-circuit div:not(.circuit-title) {
    text-align: left;
  }
  
  .rtl .the-circuit div:not(.circuit-title) {
    text-align: right;
  }


@media screen and (max-width:960px) {
  .circuit-image {
   height:90px;
    width:90px;
  }
}

@media screen and (max-width:750px) {

  .richtextcontent {
     display: block;
  }
  
  .the-circuit div:not(.circuit-title) {
    display: block;
    width:100%;
    float:none;
    text-align: left;
    clear: both;
  }
  
  .rtl .the-circuit div:not(.circuit-title) {
    text-align: right;
    clear: both;
  }

  .circuit-image {
    margin-bottom:10px;
    height:75px;
    width:75px;
  }
    
  .the-circuit div:nth-child(2) {
    padding-left: 4%;
  }
    
  .rtl .the-circuit div p {
    text-align: right;
  }
    
}

@media screen and (max-width:450px) {
  .circuit-image {
    height:50px;
    width:50px;
  }
  
  .circuit-link {
    padding-top: 15px;
    display: block;
  }

  .the-circuit div p {
    display: none;
  }
}

.billboard {
  clear: both;
  border-top:solid 1px #000;
}

/*SEARCHBOX*/
.searchbox {
    display:table;
    width:100%;
}

.searchbox input {
    border:none;
    border:solid 3px #000;
    font-size:18px;
    display:table-cell;
    padding:0 10px;
    width:100%;
    vertical-align:top;
    border-bottom-left-radius:4px;
    border-top-left-radius:4px;
    height:50px;
    box-sizing:border-box;
    box-shadow:2px 2px 4px #333;
}

    .rtl .searchbox input {
       border-bottom-left-radius:0;
        border-top-left-radius:0;
        border-bottom-right-radius:4px;
        border-top-right-radius:4px;
        box-shadow:-2px 2px 4px #333;
    }

.searchbox .search {
    display:table-cell;
    width:50px;
    padding:0px;
    vertical-align:top;
}

.searchbox .search img {
    height:30px;
    width:30px;
    padding:10px;
    background-color:#000;
    margin:0;
    border-bottom-right-radius:4px;
    border-top-right-radius:4px;
    box-shadow:2px 2px 4px #333;

}

    .rtl .searchbox .search img {
        border-bottom-right-radius:0;
        border-top-right-radius:0;
        border-bottom-left-radius:4px;
        border-top-left-radius:4px;
        box-shadow:-2px 2px 4px #333;
    }

.searchbox .search img:hover {
    cursor:pointer;
}

/*BOTTOM PORTION*/
.layout-onecolumn .content-column h2 {
    font-size:18px;
}

.icon-search img {
    display:none;
}

#content .searchbar {
    float: right;
}

.rtl #content .searchbar {
    float: left;
}

.basic-search-text {
    width:200px;
    padding: 3px;
    height: 19px;
    float: left;
    margin-right: -1px;
}

.rtl .basic-search-text {
    float: right;
    margin-left: -1px;
}

.basic-search-button {
    background-color: #cdcdcd;
    height: 20px;
    padding: 3px;
    width: 40px;
    font-size: 20px;
    display: inline-block;
    text-align: center;
    background-image: url(/-/media/designer/header/mvc/images/header-search.png);
    background-repeat: repeat-x;
    border: solid 1px #999;
    border-radius: 0 4px 4px 0;
}

.rtl .basic-search-button {
    border-radius: 4px 0 0 4px;
}

.basic-search-button:hover {
    cursor: pointer;
    background-color:#aeaeae;
    background-image: url(/-/media/designer/header/mvc/images/header-search-hover.png);
}

@media screen and (max-width:600px) {
    #content .searchbar {
        float: none;
        width: 100%;
        position: relative;
    }
    
    .basic-search-text {
        width:75%;
        float: none;
    }
    
    .basic-search-button {
        width:25%;
        padding:3px 0;
        position: absolute;
        top: 0;
        right: 0;
    }
    
    .rtl .basic-search-button {
        width:23%;
        right: auto;
    }    
    
} 


.basic-search-text {
 height:20px;
}

.featured_content--image {
    height:12em;
    width:100%;
    display:block;
    margin-top: -144px;
}

.featured_content--image img {
    height:100%;
    width:100%;
}

.featured_content--type {
    font-size:13px;
}

.featured_content--title {
    font-size:15px;
    font-weight:bold;
}

.featured_content--text {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

}

.featured_content--tags a:not(:first-child) {
    padding-left:5px;
}

.result > div > div {
    padding:10px 10px;
    height:133px;
    border-top: 1px solid #000;
    position:relative;
}

.featured_content--tags {
    position:absolute;
    bottom:10px;
    width: 90%;
}

#load-more-blogs-btn {
    padding:5px;
    width:100%;
    margin-top:10px;
}

.featured_content--tag {
    color: #999;
    text-decoration:none;
}

.featured_content--tag:hover {
    text-decoration: underline;
}

/*ELLIPSIS and Stuff*/

.ellipsis_read-more {
    display: none;
}

.overflow-fade {
    /*! overflow: hidden; */
    /*! position: relative; */
    /*! background-color:#fff; */
    /*! line-height:1.1em; */
}

.overflow-fade div {
  /*! position: relative; */
  /*! height: 26.9em; */
}



.overflow-fade div:after {
  /*! content: ""; */
  /*! text-align: right; */
  /*! position: absolute; */
  /*! bottom: 0; */
  /*! right: 0; */
  /*! width: 70%; */
  /*! height: 1.2em; */
  /*! background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%); */
}


.two-column-cell,
.three-column-cell,
.four-column-cell {
    float:left;
    border:solid 1px #000;
    box-sizing:border-box;
}

.two-column-cell {
    width:48.75%;
    margin-left:2.5%;
    height:300px;
}

.three-column-cell {
    width:31.6%;
    margin-left:2.5%;
    height:300px;
}


.four-column-cell {
    width:23.125%;
    margin-left:2.5%;
    padding-top:10px;
    height:200px;
}

.six-column-cell {
    width:14.583%;
    margin-left:2.5%;
    padding-top:10px;
}


.three-column-cell.overflow-fade div {
    /*! height:24.8em;*/
}

.four-column-cell.overflow-fade div {
    /*! height: 15em;*/
}

.featured_content--tags {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 20px);
}

.three-column-cell > div > a {

}

div[class*='column-row']:not(:first-of-type) {
    padding:20px 0;
    clear:both;
}

div[class*='column-row'] div[class*='column-cell']:first-of-type {
    margin-left:0;
}

div[class*='column-cell'] a.featured_content--type,
div[class*='column-cell'] a.featured_content--title,
div[class*='column-cell'] p.featured_content--text {
    display:block;
    margin-bottom:4px;

    color:#000;
    text-decoration:none;
    /*!  */
}

div[class*='column-cell'] a.featured_content--title {
    max-height: 4.8em;
    line-height: 1.2em;
    overflow: hidden;
}

.featured_content--two-column-row:not(:first-of-type),
.featured_content--three-column-row:not(:first-of-type),
.featured_content--four-column-row:not(:first-of-type) {
    padding:20px 0;
    clear:both;
}

.sidebar_gray-box {
    border:solid 1px #000;
    background-color:#fff;
    box-sizing: border-box
}

.sidebar_gray-box h4 {
    margin:0px;
    padding:10px;
      font-size: 14px;
}

.sidebar_gray-box p {
    padding: 0 10px;
    margin: 0px;
}

.gray-box_link-buttons {
    padding: 10px;
}

.gray-box_link-buttons a {
    display: block;
    text-align: center;
    color:#000;
    text-decoration: none;
    font-weight: bold;
    border:solid 1px #000;
    background-color:#eee;
    padding:7px;
    margin-bottom:7px;
}

.gray-box_link-buttons a:hover {
    text-decoration: underline;
    background-color:#ccc;
}

.gray-box_link-buttons a:last-of-type {
    margin-bottom:0px;
}


/* ERL Search RTE Styles */
#el-search-container {
    border: 1px solid #000;
    background-color:#fff;
    box-sizing: border-box;
    margin-bottom:15px;
}

#el-search-summary {
    padding: 10px;
}

#el-search-summary h4 {
    margin:0px;
    padding-bottom: 10px;
      font-size: 14px;
}

#el-search-summary p {
  margin:0px;
}

#el-search {
    padding: 0 10px 10px 10px;
}

#erl-manufacturers {
    width:100%;
    margin-bottom: 5px;
}

#erl-text {
    width:65%;
}

#erl-search-submit {
    background: url('/~/media/Designer/Supplier%20Marketing%20Center/Search%20Bar/images/button_background.png');
    background-repeat: no-repeat;
    height: 23px;
    padding: 0 15px;
    cursor: pointer;
    border: 1px solid #999;
    border-radius: 0 2px 2px 0;
    background-position: center;
}

.result {
    width:31.667%;
    float: left;
    border: solid 1px #999;
    box-sizing: border-box;
    height:300px;
    background-image:url(//media.digikey.com/photos/nophoto/pna_en.jpg);
    background-size: auto 145px;
    background-repeat: no-repeat;
    background-position: center top;
    padding-top:144px;
}

.result:nth-child(3n+1) {
    margin-right:0;
}

.result span {
    display: none;
}

@media (max-width: 600px) {
    .billboard {
        background-size:100% 100%;
    }
    #nav_links {
        padding:10px 20px;
    }
    #nav_links a {
        padding:5px 10px;
    }
    
    .four-column-cell {
        width:48.75%
    }

    .four-column-cell:nth-child(2n+1) {
        margin-left:0;
    }

    .four-column-cell:nth-child(3n),
    .four-column-cell:nth-child(4n) {
        margin-top:20px;
    }

    .two-column-cell,
    .three-column-cell {
        width:100%;
        margin:20px 0 0 0;
    }
    
    .two-column-cell:first-of-type,
    .three-column-cell:first-of-type {
        margin:0;
    }
    
    
    .four-column-cell:nth-child(3n),
    .four-column-cell:nth-child(4n) {
        margin-top:20px;
    }
    
    .result {
        width:100%
    }
    
    .result:nth-child {
        margin-right:0;
    }
    
}

@media (max-width:400px) {
    div[class*='column-row']:not(:first-of-type) {
        padding:0;
    }

div[class*='column-row'] div[class*='column-cell']:first-of-type {
    margin-top:20px;
}
    
    .featured_content--four-column-row {
        padding:0px;
    }

    .four-column-cell {
        width:100%;
        margin:20px 0 0 0;
    }
}

.result img {
    height: 100%;
    width:100%;
}

.featured_content--image {
    position: relative;
    overflow: hidden;
}

.portrait, 
.square, 
.landscape {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%,-50%);
}

.result img.square {
    width: 100%;
    height: auto;
}

.result img.landscape {
    width: auto;
    height: 100%;
}

.result img.portrait {
    width: 80%;
    height: auto;
}

@media screen and (max-width:600px) {
    
    .result img.portrait {
  	width: auto;
  	height: 100%;
    }
}