@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900);

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: #F5F5F5;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin-bottom: 150px;
 /* margin-top: 50px;
  padding-top: 15px;
  */
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.animate {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.no-margin {
  margin-bottom: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-top: 0px !important;
}
.margin-bottom-20 {
  margin-bottom: 20px !important;
}

.btn {
  border-radius: 3px;
}
.navbar-nav.nav-justified > li{
    float:none;
}
.navbar-default {
  background-color: #FFFFFF;
  border-color: #D8D8D8;
}

/* NAVBAR */

.animbrand a::before, 
.animbrand a::after {
  display: inline-block;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
  -moz-transition: -moz-transform 0.3s, opacity 0.2s;
  transition: transform 0.3s, opacity 0.2s;
  color: #5FB0E4;
  font-size: 22px;
  line-height: 16px;
}

.animbrand a::before {
  margin-right: 3px;
  content: '<';
  -webkit-transform: translateX(50px);
  -moz-transform: translateX(50px);
  transform: translateX(50px);
}

.animbrand a::after {
  margin-left: 3px;
  content: '>';
  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  transform: translateX(-50px);
}
.animbrand a:hover::before, 
.animbrand a:hover::after, 
.animbrand a:focus::before, 
.animbrand a:focus::after {
  opacity: 1;
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
}

.navbar-bootsnipp {
  background-color: #FFFFFF;
  border-color: #5FB0E4;
  border-radius: 0px;
  margin-bottom: 0px;
  z-index: 100;
}

.navbar-bootsnipp:nth-of-type(2) {
  border-top-width: 1px;
  z-index: 50;
}

.navbar-bootsnipp.affix, .navbar-bootsnipp.affix-top {
  top: 0px;
  width: 100%;
}

.navbar-bootsnipp.affix-top {
  position: absolute;
}

.navbar-bootsnipp .navbar-toggle .icon-bar {
  background-color: #5FB0E4;
}

.navbar-bootsnipp .navbar-brand {
  color: #5FB0E4;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.navbar-bootsnipp .navbar-nav > li > a {
  border: 0px solid #5FB0E4;
  color: #787878;
  padding: 15px 14px;
}

.navbar-bootsnipp .navbar-nav > li > form > .input-group > input,
.navbar-bootsnipp .navbar-nav > li > form > .input-group > .input-group-btn > .btn {
  border-radius: 0px;
}

.navbar-bootsnipp .navbar-nav > li:not(.disabled).open > a,
.navbar-bootsnipp .navbar-nav > li:not(.disabled).active > a,
.navbar-bootsnipp .navbar-nav > li:not(.disabled) > a:hover, 
.navbar-bootsnipp .navbar-nav > li:not(.disabled) > a:focus {
  border-left-width: 5px;
  color: #5FB0E4;
  padding-left: 10px;
}
.navbar-bootsnipp .navbar-nav > li.disabled > a {
  color: #C8C8C8;
}

.navbar-bootsnipp .navbar-nav > li > .dropdown-menu {
  border-radius: 0;
  margin-right: -1px;
  min-width: 220px;
  padding: 0px;
}

.navbar-bootsnipp .navbar-nav > li:not(.dropdown-right) > .dropdown-menu {
  left: 0px;
  margin-left: -1px;
  right: auto;
}

.navbar-bootsnipp .navbar-nav > li > .dropdown-menu > li > a {
  border-left: 0px solid #5FB0E4;
  color: #787878;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 20px;
  white-space: nowrap;
}
.navbar-bootsnipp .navbar-nav > li > .dropdown-menu > li.active > a, 
.navbar-bootsnipp .navbar-nav > li > .dropdown-menu > li > a:hover, 
.navbar-bootsnipp .navbar-nav > li > .dropdown-menu > li > a:focus {
  background-color: #F5F5F5;
  border-left-width: 5px;
  padding-left: 15px;
}

.navbar .bootsnipp-profile > a {
  padding-bottom: 9px;
  padding-top: 9px;
}
.navbar .bootsnipp-profile > a > img {
  border-radius: 50%;
  width: 32px;
}
.navbar .bootsnipp-profile > .dropdown-menu {
  width: 320px;
}
.navbar .bootsnipp-profile > .dropdown-menu > li > .row {
  padding: 5px 15px;
}
.navbar .bootsnipp-profile > .dropdown-menu > li > .row img {
  width: 100%;
}

.navbar-bootsnipp .bootsnipp-search {
  display: none;
}
.navbar-bootsnipp .bootsnipp-search .form-control {
  background-color: rgb(235, 235, 235);
  border-radius: 0px;
  border-width: 0px;
  font-size: 24px;
  padding: 30px 0px;
}
.navbar-bootsnipp .bootsnipp-search .form-control {
  background-color: rgb(235, 235, 235);
  border-radius: 0px;
  border-width: 0px;
  font-size: 24px;
  padding: 25px 0px;
}
.navbar-bootsnipp .bootsnipp-search .form-control:focus {
  border-color: transparent;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn {
  padding: 14px 16px;
  border-radius: 0px;
}
.navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn.active,
.navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn:hover,
.navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn:focus {
  padding: 14px 16px 14px 15px;
}
.navbar-bootsnipp .bootsnipp-search .input-group-btn > .btn-default {
  background-color: rgb(245, 245, 245);
}
.nav-padding {
  padding-top: 61px;
}


/* END NAVBAR */

/*
  Header
*/

.bs-header {
  background-color: rgb(95, 176, 228);
  background-image: url('../dist/img/header-bg.jpg?ver=2.0.0');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFF;
  font-size: 16px;
  margin-top: -15px;
  min-height: 150px;
  padding: 15px 15px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.bs-header a{
  color: #76B7E8;
}

.bs-header a:hover{
  color: #a2d5e8;
}

.bs-top-callout {
  background-color: rgb(255, 255, 255);
  border-top: 1px solid rgb(66, 139, 202);
  border-bottom: 1px solid rgb(66, 139, 202);
  box-shadow: 0px 0px 3px rgba(51, 51, 51, 0.65);
  color: rgb(119, 119, 119);
  margin-bottom: 20px;
  padding-bottom: 15px;
  padding-top: 15px;
}
.bs-indent {
  background-color: rgb(225, 225, 225);
  box-shadow: inset 0px 0px 3px rgba(51, 51, 51, 0.65);
  color: rgb(119, 119, 119);
  margin-bottom: 20px;
  padding-bottom: 0px;
  padding-top: 0px;
  text-align: center;
}
.bs-indent .row {
  margin: 0px;
}
.bs-indent ul {
  list-style: none;
  margin: 5px 0px;
  padding: 0px;
}
.bs-indent ul > li {
  display: inline-block;
  margin: 0px 3px;
}
.bs-indent ul > li:first-child {
  display: block;
  padding: 15px 0px;
}
.bs-indent ul > li > a {
  background-color: rgb(245, 245, 245);
  border-radius: 3px;
  box-shadow: 0px 0px 3px rgba(51, 51, 51, 0.65);
  color: rgb(51, 51, 51);
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
}
.bs-indent ul > li > a > span {
  padding-right: 5px;
}
.bs-indent ul > .active > a,
.bs-indent ul > .active > a:focus,
.bs-indent ul > .active > a:hover {
  background-color: rgb(235, 235, 235);
  box-shadow: inset 0px 0px 3px rgba(51, 51, 51, 0.65);
  color: rgb(51, 51, 51);
}
.bs-indent ul > li > a:focus,
.bs-indent ul > li > a:hover {
  background-color: rgb(235, 235, 235);
}

.bs-top-callout p,
.bs-indent p  {
  margin: 0px;
}

.bs-callout {
  padding: 15px 30px 15px 15px;
}

.bs-callout-warning {
  background-color: #FFEFA3;
  border-color: #f1e7bc;
  color: #9B8017;
}

.bs-callout-info {
  border: 3px solid #d0e3f0;
  background-color: #f0f7fd;
  color: #4D72AA;
}

.bs-callout-danger {
  background-color: #fcf2f2;
  color:#b94a48;
}

.bs-callout-success {
  background-color: #8BC34A;
  color: #DCEDC8;
}

.user-avatar-sm{
  width: 40px;
  height: 40px;
  border: 2px #769fd1 solid;
}

.user-avatar-mini{
  width: 18px;
  height: 18px;
  border: 1px #769fd1 solid;
}

.search-btn{
  border-radius: 18px;
}

.search-results>li>a{
  margin-top: 5px;
}

.tag-list li, .resource-list li{
  float:left;
}

.tag-list a:hover{
  background-color: #16a085 !important;
}

#social-sharing {
  padding-top: 5px;
}

.carbonad {
  display: block;
  background: #FDFDFD;
  background-image: -moz-linear-gradient(top, #f8f8f8, #fdfdfd);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, rgb(248, 248, 248)),color-stop(1, rgb(253, 253, 253)));
  border: 1px solid rgb(213, 213, 213);
  font-family: Lucida Grande, Arial, Helvetica, sans-serif;
  font-size: 11px;
  min-height: 120px;
  line-height: 15px;
  background: #FFF !important;
  background-image: none;
  border-color: rgb(216, 216, 216) !important;
  border-radius: 2px;
  width: 100% !important;
}

.carbonad img {
  float: left;
  margin-right: 8px;
}

div.animbrand a:hover,
div.animbrand a:focus {
  outline: none;
}

/* 
  Colorgraph
*/

.colorgraph {
  height: 5px;
  border-top:0;
  background: #c4e17f;
  border-radius: 5px;
  background-image: -webkit-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: -moz-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: -o-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: linear-gradient(to right, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
}

/*
  Thumbnails
*/


.view-counts {
  padding-top: 5px;
  margin-right: 10px;
}

.view-counts a {
  text-decoration: none;
  color: #000;
}

.snipp-title{
  margin-left: 10px;

}

@media screen and (max-width: 992px){
  .tag-list li, .resource-list li{
    float:none;
  }
}

@media screen and (max-width: 580px){
  .snipp-title{
    font-size: 13px;
    padding-top:4px;
    width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (min-width: 992px){
  .snipp-title{
    font-size: 14px;
    padding-top:4px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .snipp-title{
    font-size: 14px;
    width:220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.bootsnipp-thumb{
  margin-bottom:20px;
}

.bootsnipp-thumb img{
  width: 100%;
}

/*
  Footer
*/

.bs-footer {
  height: 90px;
  color: #777;
  background-color:#FFF;
  text-align: center;
  margin-bottom: -20px;
  border-top: 1px solid #e5e5e5;
}
.footer-links {
  margin: 10px 0;
  padding-left: 0;
}
.footer-links li {
  display: inline;
  padding: 0 2px;
}
.footer-links li:first-child {
  padding-left: 0;
}

@media (min-width: 768px) {
  .bs-footer {
    text-align: left;
  }
}

/*
  Social sharing
*/

.bs-social {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
.bs-social-buttons {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.bs-social-buttons li {
  display: inline-block;
  line-height: 1;
  padding: 5px 8px;
}

.bs-social-buttons .facebook-btn {
  width: 130px !important;
}

.bs-social-buttons .twitter-follow-button {
  width: 225px !important;
}
.bs-social-buttons .twitter-share-button {
  width: 98px !important;
}

@media screen and (min-width: 768px) {
  .bs-social {
    text-align: left;
  }
  .bs-social-buttons li:first-child {
    padding-left: 0;
  }
}

.bs-top-callout {
  padding-top: 15px;
  color: #777;
  background-color: #F1F1F1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

.bs-callout {
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eee;
}
.bs-callout h4 {
  margin-top: 0;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code,
.bs-callout .highlight {
  background-color: #fff;
}

.bs-callout-danger {
  background-color: #fcf2f2;
  border-color: #dFb5b4;
  color:#b94a48;
}
.bs-callout-warning {
  background-color: #FFEFA3;
  border-color: #f1e7bc;
  color: #9B8017;
}
.bs-callout-info {
  background-color: #f0f7fd;
  border-color: #d0e3f0;
  color: #4D72AA;
}

.bs-callout-success {
  background-color: #8AE287;
  border-color: #3BB65C;
}

/* Snippet preview/edit  page */

.preview-iframe{
    border:0;
    width: 100%;
}

#playground-container{
    height:500px;
    overflow:scroll;
    -webkit-overflow-scrolling:touch;
}

#preview-container{
    border-top: 2px solid #CCC;
    border-bottom: 2px solid #CCC;
    width: 100%;
    height: 100%;
}

.preview-iframe{
    border:0;
    width: 100%;
    height: 100%;
}

.playground-editor { 
    border: 0;
    padding: 0;
    top: 0;
    /*left: 0;*/
    width: 100%;
    height: 500px;
    border: 2px solid #CCC;
    border-radius:5px;
    position: absolute !important;
    display: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.title-bar {
    background-color: #f5f5f5;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 6px;
}

.title-bar > h4, .title-bar > .avatar-sm-container {
    padding: 10px;
    margin:0;
}

.social-sharing{
    padding-top: 10px;
    padding-right: 10px;
}

.carbonads-container{
  margin-top:5px;
}

@media screen and (min-width: 768px) {
  .theme-control{
    float:right;
  }

  #tags{
    float:right;
    padding-top: 5px;
  }
}

@media screen and (max-width: 767px) {
  .theme-control{
    margin-top: 10px;
  }
  #tags {
    float:left;
    width:100%;
    margin-bottom: 10px;
  }

}

@media screen and (min-width: 768px) {
  body { margin-bottom: 100px; }

  .bs-header {
    font-size: 21px;
    padding: 20px 15px;
    text-align: center;
  }

  .navbar-bootsnipp .navbar-brand {
    font-size: 20px;
    height: auto;
    padding: 15px 5px;
  }
  .navbar-bootsnipp .navbar-nav > li > a {
    font-size: 16px;
    letter-spacing: 1px;
  }
  .navbar-bootsnipp .navbar-nav > li:not(.disabled).open > a,
  .navbar-bootsnipp .navbar-nav > li:not(.disabled).active > a,
  .navbar-bootsnipp .navbar-nav > li:not(.disabled) > a:hover,
  .navbar-bootsnipp .navbar-nav > li:not(.disabled) > a:focus {
    border-bottom-width: 5px;
    border-left-width: 0px;
    padding-bottom: 10px;
    padding-left: 14px;
  }

  .navbar-bootsnipp .navbar-nav > li.disabled > a {
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar-bootsnipp .bootsnipp-search {
    background-color: rgb(235, 235, 235);
    display: block;
    position: absolute;
    top: 100%;
    width: 100%;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    -ms-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 0 0 0;
    -moz-transform-origin: 0 0 0;
    -o-transform-origin: 0 0 0;
    -ms-transform-origin: 0 0 0;
    transform-origin: 0 0 0;
    visibility: hidden;
  }
  .navbar-bootsnipp .bootsnipp-search.open {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    transform: rotateX(0deg);
    visibility: visible;
  }
  .navbar-bootsnipp .bootsnipp-search > .container {
    padding: 0px;
  }

  .bs-indent ul > li:first-child {
    display: inline-block;
  }

}

