body, html {
    height: 100%;
    font-size: 16px;
}

body, h1, h2, h3, h4, h5, h6  {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
}

a:hover {
    text-decoration: none;
}
hr {
    margin: 8px 0;
}

.page-header {
    margin-top: 0;
}

.page-header h1 {
    margin-top: 0;
}

.img-thumbnail,
.thumbnail {
    padding: 1px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/** MAIN **/
main {
    padding: 100px 0;
}

/** END MAIN **/

/** FOOTER **/

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: right;
    padding: 10px 0;
}

footer a {
    margin-right: 20px;
}

/** END FOOTER **/

.errorlist {
    list-style-type: none;
    color: red;
    margin: 0;
    padding: 0;
    font-size: 90%;
}

.tab-content {
    margin-left: 0px;
}

.timelineitem {
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}

.timelineitem:hover {
    background-color: #eee;
}

.glyphicon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

.event h3 {
    margin: 5px 0;
}

select,
option {
    color: #000;
}

.helper {
    display: inline-block;
    height: 100%;
    opacity: 0;
    vertical-align: middle;
}

/** ADD FORM **/

#item-form .form-group-text,
#item-form .form-group-place,
#item-form .form-group-effective_date,
#item-form .form-group-payload,
#item-form .form-group-item_type,
#item-form .form-group-group,
#item-form .form-group-submit {
    display: none;
}

#id_effective_date_0 {
    width: 40%;
    display: inline-block;
    margin-right: 15px;
}

#id_effective_date_1 {
    width: 40%;
    display: inline-block;
}

.tab-content {
    padding: 10px;
    border-radius: 0 0 4px 4px;
    border-top-width: 0;
    margin-bottom: 15px;
}

.panel-footer {
    font-size: 90%;
}

.photo-title {
    max-width: 100%;
    overflow: hidden;
}

#dropzone {
    position: relative;
}

.dropzone .dz-default.dz-message {
    display: none;
}

#back-to-top {
    display: none;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.form-horizontal .form-group {
    margin-left: -10px;
    margin-right: -10px;
}

.carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-inner .item {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.carousel-close {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 32px;
}

.shared-item .item-detail {
    z-index: 1;
    position: fixed;
    top: 30px;
    left: 30px;
    width: 400px;
    padding: 15px;
    background-color: #fff;
    color: #000;
    opacity: .25;
    border-radius: 4px;
    transition: all .5s;
}

.shared-item .item-detail:hover {
    opacity: .9;
}

.nav-pills > li.active a {
    border-radius: 0;
}

.profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: block;
    float: left;
    margin-right: 15px;
    overflow: hidden;
    border: 1px solid #666;
    background-color: #666;
    text-align: center;
}

.navbar-nav .profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-top: -10px;
}

.comment .profile-photo {
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.photo-detail .profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.profile-photo img {
    width: 100%;
}

.initials {
    display: block;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 60px;
}

.navbar-nav .profile-photo .initials {
    font-size: 20px;
    line-height: 40px;
}

.photo-detail .profile-photo .initials,
.comment .profile-photo .initials {
    font-size: 15px;
    line-height: 30px;
}

.panel-heading {
    font-size: 14px;
    padding: 4px 15px;
}

.panel-body h3 {
    margin: 0;
}

#login-form {
    max-width: 400px;
    margin: auto;
}

.comment {
    padding: 15px 0;
    border-bottom: 1px solid #444;
}

#comment-form {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #000;
}

#comment-form textarea {
    width: 100%;
    margin: 0;
    padding: 10px;
    border: none;
    transition: 0.5s all;
    height: 40px;
}

#comment-form p {
    text-align: right;
    padding: 0px 16px;
}

#comment-form textarea:focus {
    height: 200px;
}

.comment .author {
    font-size: 13px;
    line-height: 1.1;
    margin-bottom: 10px;
}

/** PHOTOS **/

body.photo-detail #photo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

body.photo-detail .next,
body.photo-detail .prev {
    position: absolute;
    top: 50%;
    font-size: 50px;
    opacity: .3;
}

body.photo-detail .next:hover,
body.photo-detail .prev:hover {
    opacity: 1;
}

body.photo-detail .next {
    right: 10px;
}

body.photo-detail .prev {
    left: 10px;
}

body.photo-detail #info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 55px;
    padding: 8px;
    opacity: 0.5;
    transition: 0.5s all;
}

body.photo-detail #info:hover {
    opacity: 1;
}

body.photo-detail #info #actions {
    float: right;
}

body.photo-detail #info .title {
    font-size: larger;
}
