/*
 * Style tweaks
 * --------------------------------------------------
 */
html {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  padding-top: 70px;
  max-width: 100%;
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}
footer {
  padding: 30px 0;
}

.sans, .btn, h1, h2, h3, h4, .nav a, #sidebar a  {
  font-family: 'Exo 2', sans-serif;
}

.serif {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  line-height: 1.5em;
}
.serif strong {
    font-weight: 400;
}
p {
    line-height: 1.4em;
    font-family: inherit;
}
.serif p {
    line-height: 1.45em;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

h5.sans {
    font-size: 1.2em;
}


.navbar {
  background-color: #CDDFEE;
}

.navbar-default .navbar-nav>li>a {
  color: #666;
}

.navbar-default .navbar-toggle .icon-bar {
background-color: #666;
}

#sidebar-inner {
  min-width:40%;
  min-height: 100%;
  background-color: #fff;
  z-index: 1001;
  -moz-box-shadow: 0 0 5px 5px #555;
  -webkit-box-shadow: 0 0 5px 5px #555;
  box-shadow: 0 0 5px 5px #555;
}

#sidebar-inner a {

  border-radius: 0px;
}

.row-offcanvas.active #sidebar-inner.affix {
  position: fixed;
  top:50px;
  right:0;
}

.row-offcanvas.active #sidebar-inner.affix-top {
  right:10px;
}

.row-offcanvas.active #sidebar-inner.affix-bottom {
  position: absolute;
  bottom: 0;
}

.darkClass
{
    background-color: #000;
    filter:alpha(opacity=50); /* IE */
    opacity: 0.5; /* Safari, Opera */
    -moz-opacity:0.50; /* FireFox */
    z-index: 20;
    height: 100%;
    width: 100%;
    background-repeat:no-repeat;
    background-position:center;
    position:fixed;
    top: 0px;
    left: 0px;
    display: none;
    z-index: 1000;
}

.darkClass.active {
  display: block;
}

#expander .jumbotron {
  border-radius: 0px;
  box-shadow: 0px 0px 100px 60px #eee;
  padding: 0;
  word-wrap: break-word;
}

.jumbotron h1 {
  line-height: 1.15;
  margin: 0px -100% 0;
  background: aliceblue;
  z-index: 10;
  position: relative;
  padding: 10px 100% 15px;
}

.jumbotron p {
  line-height: 1.5;
  font-family: 'Merriweather', serif;
  font-weight: 500;
  font-size: 0.9em;
}

.jumbotron img {
  margin-top:20px;
  z-index: 20;
  position: relative;
}

#expander .jumbotron h1:first-letter {
  letter-spacing: normal;
  margin-left: -3px;
}


.jumbotron .text-muted  {
  margin: 0 -100% 0;
  background: transparent;
  border: 5px inset lightgray;
  z-index: 9;
  position: relative;
  padding: 10px 100% 10px;
}

.jumbotron .text-muted br {
  display: none;
}

@media screen and (max-width: 473px) {
  .jumbotron .text-muted br {
    display: block !important;
  }
}

.topPanels h3 {
  margin-top: 0;
}

#profphoto:hover {
  border: 1px solid blue;
}

.fancybox-title-float-wrap {
  right: auto;
}

.fancybox-title-float-wrap .child {
  margin-right: auto;
  padding: 0;
  background: transparent;
}

.PDFviewer .fancybox-title-float-wrap {
  right: 50%;
}

.PDFviewer .fancybox-title-float-wrap .child {
  margin-right: -100%;
}

#connect .panel-body {
  text-align: center;
}

#connect .btn {
  background-color: #ddd;
  margin: 10px;
}

#connect .btn:first-child {
  margin-left:0;
}

#connect .btn:last-child {
  margin-right:0;
}

#connect .btn:hover {
  background-color: #eee;
}

#connect i {
  font-size: 2em;
}

div[id].row {
  margin-top: 100px;
  padding-top: 90px;
  clear: both;
}

div[id].row:first-child {
  padding-top: 0;
  margin-top: 0;
}

div[id].row:last-child {
  margin-bottom: 50px;
}

div[id].row h3:first-child, #connect, #portfolio {
  margin-top: 0;
}

#about .pull-right p {
  font-size: 0.85em;
}
#about .well h5 {
    margin-top: 15px;
}

#skills {
  margin-top: -20px;
  padding-top: 90px;
  margin-bottom: -230px;
}

#skills .center-block {
  text-align: center;
}

#skills button {
  margin-bottom: 5px;
  color: #050505;
  font-weight: 700;
  font-family: 'Exo 2', serif;
}

#skills .well {
  cursor: default;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 70%;
}

#resumePrompt .alert-default {
  background-color: #eee;
  border-color: #ddd;
}

#resumePrompt .btn-group {
  margin-top: 5px;
}

#resumePrompt .btn.disabled {
  background-color: #555;
}

#expPills small {
  color: #555;
}

#expPills .active small {
  color: #ddd;
}

.tab-content .panel, .tab-content .panel-heading {
  border-right: none;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
}

#experience>div>.row div{
  margin-bottom: 2em;
  font-size: 0.9em;
}

#experience>div>.row div:first-child {
  text-align: right;
  font-size: 0.8em;
}

#experience>div>.row .frln {
  font-weight: 700;
  font-size: 1.2em;
}

#contact.row {
  margin-top: 180px;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas{
    position: relative;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}

/* Hebrew */
@import url(https://fonts.googleapis.com/css?family=Alef&subset=hebrew);
.hebrew {
    font-family: 'Alef', sans-serif;
    direction: rtl;
    font-size: 1.2em;
    line-height: inherit;
    font-weight: 300;
    color:#555;
}