
/**
 * @file
 * CSS for MyTechCatalog.com.
 */

/* General Styles ----------------------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
  font-size: 100%;
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  font-family: Arial, Helvetica, sans-serif;
  /*margin: 1em 0;*/
  padding: 0;
}

header, section, footer, article { /* Helpful for IE. */
  display: block;
}

p {
  margin: .8em 0;
  padding: 0;
  line-height: 1.58em;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.4em;
  font-weight: normal;
}

h1 {
  font-size: 2em;
  font-weight: bold;
}

h2 {
  font-size: 1.5em;
  color: #444;
  margin-bottom: .25em;
}

h2 a {
  text-decoration: none;
}

a {
  color: #000;
}

a:visited {
  color: #444;
}

a:hover, a:focus {
  color: #888;
}

blockquote {
  margin: 1em 0 1em 1.5em;
  padding: .5em .5em .5em 1em;
  border-left: .25em solid #ccc;
}

textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95em;
  line-height: 1.4em;
}

/*input:not([type=submit]) {
  font-size: 1em;
  background-color: #fff;
}*/

textarea {
  background-color: #fff;
}

hr {
  display: block;
  background-color: #aaa;
  border: 0;
  height: 1px;
}

img {
  max-width: 100%;
}

/* Code */
pre, code {
  font-family: "Lucida Console", "Consolas", "Courier New", monospace;
  background-color: #eee;
  padding: 5px 5px;
  font-size: .85em;
  line-height: 1.4em;
}

pre {
  display: block;
  white-space: pre;
  margin: 1em 0px 1em;
}

pre, code {
  background-color: #eee;
  padding: 5px 5px;
  font-size: .85em;
  line-height: 1.4em;
}

div.codeblock {
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #eee;
}

pre, .codeblock {
  overflow-x: scroll;
}

pre .codeblock {
  border: none;
  padding: 0;
}

.codeblock code {
  padding: 0;
  font-size: .85em;
}

pre > code {
  padding: 0;
  font-size: 1em;
}

article li {
    margin: 0 0 .4em;
    line-height: 1.58em;
}

/* Tables */
/*table {
  border: 0;
  border-spacing: 0;
  font-size: 0.857em;
  margin: 10px 0;
  width: 100%;
}

table table {
  font-size: 1em;
}

table tr th {
  background: #757575;
  background: rgba(0, 0, 0, 0.51);
  border-bottom-style: none;
}

table tr th,
table tr th a,
table tr th a:hover {
  color: #FFF;
  font-weight: bold;
}

table tbody tr th {
  vertical-align: top;
}

tr td,
tr th {
  padding: 4px 9px;
  border: 1px solid #fff;
  text-align: left; /* LTR */
  /*line-height: 1.58em;
}

th code {
  color: #444;
}

tr.odd {
  background: #e4e4e4;
  background: rgba(0, 0, 0, 0.105);
}

tr,
tr.even {
  background: #efefef;
  background: rgba(0, 0, 0, 0.063);
}

table ul.links {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

table ul.links li {
  padding: 0 1em 0 0;
}*/

/* Layout Styles ------------------------------------------------------------ */
.layout-container {
  font-size: 1em;
  margin: 0 auto 1em;
  /*padding: 1.5em;*/
  overflow-y: auto;
  width: 920px;
}

header {
  margin-bottom: 1em;
}

.page-title {
  margin: 0;
}

.site-logo img {
    width: 100px;
}

.site-name {
  /*border-bottom: 1px solid #ccc;*/
  font-family: Helvetica, Arial, sans-serif;
  font-size: 4.2em;
  line-height: .7em;
  margin-top: .15em;
}

.site-name a {
  color: #000;
  text-decoration: none;
}

.yt-embed {
  max-width: 650px;
  margin: 0 auto;
}

/* Footer. */
.region-footer {
  clear: both;
  color: #444;
  font-size: .85em;
  margin: 1.5em 0 0;
  padding-top: 1.5em;
  text-align: center;
}

.region-footer a {
  color: #222;
}

.region-footer .form-item {
  display: inline-block;
  float: none;
  margin: 0 auto;
}

.region-footer p:first-child {
  margin-top: 0;
}

.region-footer p:last-child {
  margin-bottom: 0;
}

#block-mytechcatalog-site-branding div {
    display: inline-block;
}

#block-mytechcatalog-site-branding > * {
    vertical-align: middle;  /* Align children to middle of line */
}

/* Search form. */
#views-exposed-form-search-page,
#views-exposed-form-search-page .form-actions {
  display: inline-block;
}

#views-exposed-form-search-page label {
  display: none;
}

#search-block-form .form-submit {
    margin: 0;   
}

.primary-menu {
    display: inline-block;
    /*border: 2px solid darkcyan;*/
    width: 100%;   
}
.primary-menu h1{
    display: inline-block;    
}

#block-mytechcatalog-search-form-narrow {
    display: inline-block;    
}

#block-mytechcatalog-search-form-narrow .form-item{
    margin: 0;    
}

#block-mytechcatalog-main-menu {
    display: inline-block;    
}

/* Navigation --------------------------------------------------------------- */
nav.block-menu {
  margin: 0 0 1em;
}

nav.block-menu ul {
  list-style-type: none;
  margin: 0 0 .75em;
  padding: 0 0 .8em;
  text-align: left;
  width: 100%;
}

nav.block-menu li,
nav.menu-item li {
  display: inline;
}

nav.block-menu li a,
nav.menu-item li a {
  border-radius: 2em;
  color: #444;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 100%;
  margin: 0 .1em;
  padding: .5em 1em;
  text-align: center;
  text-decoration: none;
}

nav.block-menu li a:hover,
nav.menu-item li a:hover {
  background-color: #ddd;
  color: #444;
}

nav.block-menu li a.is-active {
  background-color: #444;
  color: #fff;
}
/* MyTechCatalog Navigation Menu */
/*nav.block-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background-color: #f3f3f3;
}
  
nav.block-menu li {
    float: left;
}
  
nav.block-menu li a,
nav.menu-item li a {
    display: block;
    color: #666;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: Verdana,sans-serif;
    font-weight: bold;
    font-size: 100%;
    margin: 0 .1em;
}
  
nav.block-menu li a:hover:not(.active) {
    background-color: #ddd;
}
  
nav.block-menu li a.active {
    color: white;
    background-color: #04AA6D;
}*/
/*@END MyTechCatalog Navigation Menu */

/* System Styles ------------------------------------------------------------ */

/* Local tasks */
/*ul.primary {
  padding: 0 0 0 1em;
  margin: 5px;
}

.tabs ul.tabs {
  border-bottom: 1px solid #000;
}

.tabs ul li {
  margin: 0;
  padding: 0;
}

.tabs ul li a {
  display: inline-block;
  padding: .25em 1em;
  margin: 0 .25em -1px 0;
  border-style: solid solid none;
  border-width: 1px;
  height: auto;
}

.tabs a.is-active,
.tabs ul li a:hover {
  color: #fff;
  border-color: #000;
  background-color: #222;
}*/

.feed-icon img,
.file-icon {
  padding: 0;
  border: none;
}

.feed-icon {
    display: block;
    overflow: hidden;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
    background: url(/static/img/icons/feed.svg) no-repeat;
}

/* Drupal Pager Styles */
.pager__items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    list-style: none;
    text-align: center;
}

.pager__item {
    display: inline-block;
    vertical-align: top;
}

.pager {
  font-family: Helvetica, Arial, sans-serif;
  clear: both;
  margin: 1em 0;
  color: #555;
  white-space: nowrap;
}

.pager ul {
  padding: 0;
}

.pager li {
  padding: .15em;
  margin: 0;
}

.pager li a {
  color: #000;
  padding: .6em 1em .5em;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.pager .is-active li a {
  background-color: #eee;
  border: 1px solid #eee;
}

.pager a:hover {
  background-color: #eee;
  border-color: #777;
}

.pager__item.is-active{
    font-weight: bold;
}

/* Wysiwyg/editor styles */
.rtecenter {
  text-align: center;
}

/* General Node Styles ------------------------------------------------------ */
/* Header */
.node header h2 a {
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
}

#comments {
    background-color:rgba(246, 246, 239, 1.0);    
}

.permalink {
    display: none;
}

/* Submitted info */
.node__submitted,
.comment__submitted {
  color: #777;
  margin: 1em 0;
  font-size: .9em;
}

.comment__meta > * {
    display: inline-block;
}

/* Footer */
.node footer {
  margin: 0 0 1em;
}

.comment-wrapper {
    padding: 2em;
}

.comment footer {
  margin-bottom: .5em;
}

/* Links */
ul.links,
ul.links.inline {
  display: inline-block;
}

ul.links li {
  padding-left: 0;
}

.node .node-readmore a {
  font-weight: bold;
}

.node .new {
  color: #a21111;
}

.field--name-field-tags {
    margin-top: 0.9em;
    margin-bottom: 1.0em;
}

.field--name-field-tags .field__items, 
.field__label, .field__item {
    display: inline-block;
}

.field__label {
    font-weight: bold;
}

/* Responsive Styles -------------------------------------------------------- */
@media screen and (max-width: 800px) {
    img {
        max-width: 95%;
        height: auto;
    }

    table.mobile-stack td {
        display: table-row;
    }

    .layout-container {
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .site-name {
        line-height: 1em;
        font-size: 2.5em;
        margin-top: 0;
        text-align: center;
    }

    .page-title {
        width: 95%;
        margin: 0 auto;
    }

    nav.block-menu ul {
        text-align: center;
    }

    #block-mytechcatalog-content>.block-content {
        float: none;
        margin: 0 auto;
        width: 95%;
    }

    .pager .pager__item {
        display: none;
    }

    .pager .pager__item--previous,
    .pager .pager__item--next {
        display: inline;
    }

    .field--name-field-tags .field__items, 
    .field__label, .field__item {
        display: inline;
    }
}

/* Article items */
.connection-table {
    border-collapse: collapse;
    border-spacing:0;
    width:100%; 
    display: table;
    border:1px solid #ccc
}
.connection-table tr {
    border-bottom: 1px solid #ddd;
}
.connection-table td, th {
    border-right: 1px solid #ddd;
    text-align: center;
}
.connection-table th {
    background-color: #aaa;
    color:#000;
}
.connection-table tbody tr:nth-child(even){ background-color:#f1f1f1 }
.connection-table tr:nth-child(odd){ background-color:#fff}
.connection-table tr:nth-child(even){background-color:#f1f1f1}

/* Begin Tab Gallery */
.gallery-row {
    display: grid;
    column-gap: 1rem;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(5, 1fr);
}

/* Style the images inside the grid */
.gallery-column img {
    opacity: 0.8;
    cursor: pointer;
    width: 100%;
    height: auto;
}

.gallery-column img:hover {
    opacity: 1;
}
/* @END Begin Tab Gallery */

.yt-embed {
    max-width: 650px;
    margin: 0px auto;
}

.youtube-video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.youtube-video-container::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hidden-anchor{ display:none; }
.heading-element:hover .hidden-anchor{ display: inline; }

.site-copyright {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    opacity: 0.60;
}

.hover-opacity-off:hover{
    opacity:1
}

.center1 {
    display: table;
    margin: 0 auto;
}

.not-found-message {
    display: table;
    margin: 4rem auto;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bolder;
    border:1px solid #ccc!important
}
.read-more-btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}

.view-content, .feed-icons, .tag-page-title-block{
    margin: 0 1rem;
}
.views-row {
    margin-bottom: 2rem;
}

.node__submitted, .comment__submitted {
    color: rgb(119, 119, 119);
    font-size: 0.9em;
}

.block-page-title-block {
    margin-top: 1rem;
}

.visually-hidden{position:absolute !important;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;word-wrap:normal;}
.visually-hidden.focusable:active,.visually-hidden.focusable:focus-within{position:static !important;overflow:visible;clip:auto;width:auto;height:auto;}
.invisible{visibility:hidden;}