@media (max-width: 768px){
  .content {
	padding: 40% 0 0;
	}
}

@media (max-width: 603px){
#tf-menu.navbar-default {
	background-color: rgba(0, 0, 0, 0.79);
	}
#tf-works li.pull-right, #tf-works li.pull-left {
    margin-top: 10px;
    float: none !important;
    text-align: center;
    display: block;
}
label{
    float: none !important
}
.pull-left.fnav,
.pull-right.fnav {
    float: none !important;
    text-align: center;
}

.hover-bg .hover-text {
    padding: 12% 10%;
}
}
@media (max-width: 360px){
.hover-bg .hover-text {
    padding: 22% 10%;
}
}

/* Peter's 2019-09-24 hacks to get the navbar to not be horribly broken */
@media (min-width: 992px) {
    .bs-sidebar.affix {
        /* reduce from 25% because it's now viewport-relative */
        width: 20%;
    }
}

@media (max-width: 991px) {
    .bs-sidebar {
        /* put sidebar back into normal flow when things get too narrow */
        position: static;
    }
}

