/*
Theme Name: NovaPattern
Description: This is the custom style sheet for your child themes custom CSS code.
Author: Manohar Vanga
Author URI: http://novapattern.com/
Version: 1.0
Template Version: 2.0
*/
html, body {    
  margin: auto;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  height: 100%;
/*  background-color: #1c1e22; */
  background-color: #fcfcfc;
}

body {
  display: table;
}

#main {
/*  background-color: #1c1e22; */
  background-color: #fcfcfc;
  height: 100%;
}

.footer {
  border: 0px;
  text-align: center;
  padding-bottom: 20px;
  color: #444;
  border-top: 1px solid #ccc;
}

.header {
  border: 0px;
  margin-top: 32px;
  margin-bottom: 0px;
  padding-top: 10px;
  text-align: center;
}

.header > h1 > a:hover {
  text-decoration: none
}

.header > h1 {
  line-height: 2.2em;
  padding-left: 1.0em;
  padding-right: 1.0em;
  border: 1px solid #444;
  display:inline-block;
  letter-spacing: 0.15em;
  color: #000;
}

.header > h1 > a {
  color: #444;
}

.header > h4 {
  font-size: 1.5em;
  line-height: 2.2em;
  letter-spacing: 0.15em;
  color: #444;
  transform : scale(1,1.1);
  -webkit-transform:scale(1,1.1); /* Safari and Chrome */
  -moz-transform:scale(1,1.1); /* Firefox */
  -ms-transform:scale(1,1.1); /* IE 9+ */
  -o-transform:scale(1,1.1); /* Opera */
}

@media screen and ( max-width: 689px ) {
  .header {
    margin-top: 46px;
  }

  .header > h1 {
    font-size: 1.9em;
  }

  .header > h4 {
    font-size: 1.1em;
  }
}

.header-content {
  padding-top: 25px;
  padding-bottom: 38px;
  padding-left: 60px;
  padding-right: 60px;
  text-align: center;
  font-size: 14px;
  line-height: 1.42857143;
}

.page-content {
  padding-top: 50px;
  padding-bottom: 38px;
  padding-left: 60px;
  padding-right: 60px;
  font-size: 1.2em;
  line-height: 1.42857143;
}

.header-content-single {
  padding-top: 30px;
  padding-bottom: 0px;
  padding-left: 60px;
  padding-right: 60px;
  text-align: center;
  font-size: 14px;
  line-height: 1.42857143;
}

.lead {
  color: #333;
}

.lead > a {
  color: #333;
  text-decoration: underline;
}

.pattern {
  margin-top: 10px;
  border: 1px solid #ddd;
}

.pattern-img { 
  position: relative; 
  width: 100%; /* for IE 6 */
}

.pattern > h2 { 
  position: absolute; 
  top: 50px; 
  left: 15px; 
  display: inline-block;
}

.pattern > h2 span { 
  color: white; 
  font: bold 24px/45px Helvetica, Sans-Serif; 
  letter-spacing: -1px;  
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(0, 0, 0, 0.7);
  padding: 10px; 
}

.pattern > h2 span.spacer {
   padding:0 5px;
}

.pattern-container {
  margin-bottom: 20px;
}

.pattern-info h2 {
  font-size: 14px;
  color: #fff;
}

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
    max-width: 1200px;
  }
}

#main > div.row.pattern-container > div > div > h2 > span.pattern-link {
  font-size: 0.5em;
  text-decoration: none;
}

#main > div.row.pattern-container-single > div > div > h2 > span.pattern-link {
  font-size: 0.5em;
  text-decoration: none;
}

.pattern-link a {
  color: #eee;
}

.pattern-link a:hover {
  text-decoration: none;
}

.pattern-name a {
  color: #eee;
}

.pattern-name a:hover {
  text-decoration: none;
}

.navigation {
  text-align: center;
  padding-top: 30px;
}

.nav-link {
  font-size: 1.5em;
  font-weight: 200;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.nav-link a {
  color: #ddd;
  text-decoration: none;
}

.nav-link a:hover {
  color: #fff;
  text-decoration: none;
}

.pattern-container-single {
  margin-bottom: 20px;
  margin-top: 0px;
}

.post-title {
  margin-top: 60px;
  text-align: center;
  color: #444;
}

.post-title > h2 {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.modal-body > span {
  margin-bottom: 15px;
}

.likely {
 text-align: center;
margin: auto;
}

.paginate {
  margin-bottom: 20px;
}

.page-numbers {
  background: #fff;
  padding: 10px;
  min-width: 40px;
  border: 1px solid #ddd;
  border-radius: 10px;
  -moz-border-radius: 10px;
  color: #666;
}

.page-numbers a:hover {
  color: #666;
  text-decoration: none;
}

.current {
  background: #f5f5f5;
  color: #666;
}

.pattern-preview {
  height: 180px;
  overflow: hidden;
}

@media screen and ( max-width: 689px ) {
  .pattern-preview {
    height: auto;
    overflow: hidden;
  }  
  .pattern-link a {
    color: #eee;
    font-size: 0.7em;
  }
  
  .pattern-link a:hover {
    text-decoration: none;
  }
  
  .pattern-name a {
    color: #eee;
    font-size: 0.7em;
  }

  .pattern > h2 span { 
    padding-top: 2px;
    padding-bottom: 2px;
  }
  
  .pattern-name a:hover {
    text-decoration: none;
  }

  .pattern > h2 { 
    position: absolute; 
    top: 5px; 
    left: 15px; 
    display: inline-block;
    margin-top: 0px;
  }
}
