/* -------------------------
    GLOBAL
------------------------- */
input,
select {
    border: 1px solid #a6a6a8;
    border-radius: 20px;
    margin-bottom: 30px;
    padding-left: 10px;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
div {
    color: #5F5858;
    font-family: Helvetica;
}

main {
    margin-bottom: 50px;
}

a:hover {
    text-decoration: none;
}

/* -------------------------
    TYPOGRAPHY
------------------------- */
/* brand colors */
.red-bg {
    background-color: #eb3f43;
}

/* brand typography */
.white-txt {
    color: #fff;
}

.red-txt,
a .red-text {
    color: #eb3f43;
}

.blue-btn {
    display: block;
    padding: 10px;
    font: #fff;
    background-color: #24298F;
}

.blue-btn:hover {
    color: #fff;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
}

.shadow {
    box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
}

.brand-txt-serif-light {
    font-family: 'OgilvySerif-Light', Georgia, Cambria, "Times New Roman", Times, serif;
}

.p1 {
    font-size: 18px;
}

.p2 {
    font-size: 16px;
}

.p3 {
    font-size: 12px;
}

/* -------------------------
    IMAGES
------------------------- */
.img-wrapper {
    overflow: hidden;
    margin: 0 auto;
}

/* -------------------------
    UX
------------------------- */
.btn {
    background-color: #24298F;
}

.btn-danger {
    background-color: #eb3f43;
}

.blue-btn {
    height: 40px;
    width: 40px;
    background-color: #24298F;
    border-radius: 50%;
}

#login-pg .blue-btn {
    border-radius: 0;
}

.blue-btn i {
    position: relative;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.right-modal-btn {
    position: fixed;
    right: -25px;
    bottom: 20%;
    border-radius: 50%;
    height: 75px;
    width: 75px;
    background-color: #eb3f43;
    color: #fff;
    box-shadow: 0px 4px 24px -9px #eb3f43;
}

.right-modal-btn i {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%);
    font-size: 30px;
}

.member-photo {
    display: flex;
    justify-content: center;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    margin-right: 5px;
    overflow: hidden;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    margin-right: 20px;
    color: #fff;
}

.icon:hover {
    position: relative;
    left: 2px;
}

.icon-green {
    color: #fff;
    background-color: #59EA3F;
}

.icon-red {
    color: #fff;
    background-color: #D0021B;
}

.form-btn {
    height: 40px;
    width: 112px;
    border: none;
}

.uploaded-vids {
    width: 100%;
    height: 320px;
}

.general-input {
    width: 100%;
    margin-bottom: 5px;
}

.general-checkbox {
    margin-bottom: 5px;
    border-radius: 5px;
}

.general-label {
    margin-bottom: 5px;
}

.general-input-small {
    display: block;
    margin-left: 12px;
}

.general-small {
    display: block;
}

/* -------------------------
    SECTIONS
------------------------- */
#main-footer {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #fff;
}

#main-footer a#footer-back-btn span {
    position: relative;
    top: 3%;
    left: 25%;
    font-size: 25px;
    /* transform: translate(-50%, -50%); */
}

/* -------------------------
    BREADCRUMB
------------------------- */
#breadcrumbs ul {
    padding-top: 10px;
    padding-left: 20px;
    list-style: none;
}

#breadcrumbs li {
    display: inline;
}

/* -------------------------
    PAGES
------------------------- */
#login-pg {
    height: 100vh;
    width: 100vw;
    text-align: center;
}

#login-pg .bg-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login-pg h1 {
    margin-bottom: 40px;
    font-size: 50px;
}

@media(min-width: 992px) {
    #login-pg h1 {
        margin-bottom: 40px;
        font-size: 100px;
    }
}

#login-pg .img-wrapper {
    margin: 0 auto;
    width: 50%;
}

#login-pg .tagline {
    margin-top: 40px;
}

#login-pg .credits {
    position: fixed;
    bottom: 20px;
    right: 20px;
    margin: 0;
}

#login-lightbox {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: hsla(360, 100%, 0%, 0.5);
    opacity: 0;
    animation-name: loginFade;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
    animation-duration: 1.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

#login-form {
    border-radius: 20px;
    max-width: 300px;
    padding: 60px 40px;
    background-color: #fff;
}

#login-form button {
    width: 100%;
    border: none;
}

@keyframes loginFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* -------------------------
    BOARDS
------------------------- */
.board-home {
    margin-top: 15px;
    min-height: 200px;
}

.board-home .content .img-wrapper {
    height: 100%;
}

.board-home .row {
    margin-top: 15px;
}

.board-meta-icon {
    margin-top: 7px;
    padding-bottom: 5px;
}

.board-selection {
    overflow: hidden;
}

@media (min-width: 768px) {
    .board-selection {
        max-height: 270px;
    }
}
@media (min-width: 992px) {
    .board-selection {
        max-height: 370px;
    }
}
@media (min-width: 1200px) {
    .board-selection {
        max-height: 445px;
    }
}

.board-selection .content {
    height: 100%;
    border-radius: 20px;
    background-color: rgb(36, 41, 143);
    overflow: hidden;
}

.board-selection .img-wrapper img {
  display: block;
  position: relative;
  float: left;
  top: 50%;
  left: 0px;
  transform: translate(0px, -50%);
  width: 100%;
}

.board-selection .content .board-overlay {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: calc(100% - 30px);
    border-radius: 20px;
    background-color: rgba(4, 101, 172, .6);
}

.board-selection .content .board-details {
    position: absolute;
    text-align: left;
    bottom: 10px;
    padding-left: 20px;
    width: 100%;
}

.post-selection .content {
    border-radius: 20px;
    box-shadow: 0px -3px 12px 5px rgba(95, 88, 88, .2);
    overflow: hidden;
}

.post-selection .content .board-details {
    position: relative;
    text-align: left;
    left: 20px;
    width: 100%;
}

.board-selection .content .board-details h2,
.board-selection .content .board-details p,
.board-selection .content .board-details small {
    color: #fff;
}

.board-home h2,
.board-selection .content .board-details h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

#create-board-modal {
    position: fixed;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    width: 300px;
    height: 430px;
    border-radius: 20px;
    margin: auto;
    background-color: #fff;
    overflow: hidden;
}

#create-board-modal p {
    text-align: center;
}

#create-board-modal .img-wrapper {
    background-position: center 100%;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 185px;
}
#create-board-modal select {
    margin-bottom: 20px;
}

#img-upload {
    position: absolute;
    z-index: 200;
    top: 30px;
    right: 5px;
}

#img-upload input {
    position: fixed;
    top: 30px;
    left: 15px;
    height: auto;
    width: 280px;
    opacity: 0;
}

#comment-img-upload input {
    position: relative;
    top: -34px;
    left: -10px;
    height: 40px;
    width: 40px !important;
    opacity: 0;
}

.translucent {
    opacity: .7;
}

.input-wrapper {
    margin-top: 30px;
}

.create-board-input {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#create-board-btns {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
}

.board-messages section {
    padding-bottom: 10px;
}

.board-messages section .msg-wrapper {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
    margin: 5px 0;
}

.board-messages section .msg-wrapper .img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin: 0;
    overflow: hidden;
}

.board-messages section .msg-wrapper .msg-txt {
    max-width: 362px;
    border-radius: 20px;
    margin: 0 10px 0 10px;
    padding: 7px 10px;
    list-style: none;
    background-color: rgba(36, 41, 143, .15);
}

#post-comment {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 20000;
}

#post-comment .post-comment-form {
    width: 100%;
    max-width: 525px;
    display: flex;
    flex-direction: row;
}

#post-comment .post-comment-form input {
    margin-bottom: 5px;
    width: 100%;
}

#post-comment .post-comment-form button {
    margin-bottom: 5px;
    border: None;
    color: #fff;
    background-color: #24298F
}

/* -------------------------
    /Admin
------------------------- */
#admin-menu {
    padding-bottom: 25px;
}

#admin-menu .container .row .col-6 {
    display: flex;
    justify-content: center;
}

.admin-menu-item {
    height: 138px;
    width: 146px;
    border-radius: 15px;
    color: #fff;
    background: #24298F;
    overflow: hidden;
    text-align: center;
}

.admin-menu-item i,
.admin-menu-item h3 {
    color: #fff;
}

.admin-menu-item i {
    padding-top: 25px;
    font-size: 60px;
}

.admin-menu-item h3 {
    padding-top: 7px;
    font-size: 16px;
}

/* -------------------------
    /admin/teams
------------------------- */
.admin-hero .img-wrapper {
    display: flex;
    justify-content: center;
}

.member {
    display: flex;
    flex-flow: column;
    margin-bottom: 15px;
}

.member .content {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.member-email {
    margin-right: 5px;
}

#create-member-modal {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    width: 300px;
    height: 425px;
    border-radius: 20px;
    margin: auto;
    background-color: #fff;
    overflow: hidden;
}

#create-member-modal h5,
#create-member-modal small,
#create-member-modal button,
#create-member-modal input {
    font-family: "Helvetica Neue";
}

#create-member-modal .wrapper {
    display: flex;
    justify-content: center;
}

#create-member-modal .wrapper form {
    width: 100%;
}

#create-member-modal h5 {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    width: 150%;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    background-color: #24298F;
}

#create-member-modal form .input-wrapper input {
    width: 100%;
    margin-bottom: 2px;
}

#create-member-modal form .input-wrapper small,
#create-member-modal form .input-wrapper select {
    display: block;
    margin-left: 12px;
    margin-bottom: 10px;
}

#create-member-btns {
    display: flex;
    flex-flow: row;
    justify-content: space-around;
}

#livesearch {
    position: absolute;
    width: 100%;
    background-color: #fff;
}

#livesearch div {
    width: 270px;
    margin-bottom: 3px;
}

#livesearch div:hover {
    padding-left: 2px;
    color: #fff;
    background-color: #24298F;
}

/* -------------------------
    /admin/boards
------------------------- */
.board-header,
.board-header-members {
    display: flex;
    flex-flow: column;
    border-radius: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    overflow: hidden;
}

.board-header {
    box-shadow: 0px -3px 12px 5px rgba(95, 88, 88, .2);
}

.board-header .header-preview,
.board-header-members .header-preview {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.board-header .header-preview .board-photo,
.board-header-members .header-preview .board-photo {
    display: flex;
    justify-content: center;
    height: 130px;
    width: 130px;
    margin-right: 5px;
    overflow: hidden;
}

.board-header .header-preview .board-photo .form-group .blue-btn {
    position: absolute;
    top: -10px;
    left: -6px;
    box-shadow: 0px -3px 12px 5px rgba(255, 255, 255, .5);
}

.board-header .header-preview .board-photo .form-group,
.board-header .header-preview .board-photo .form-group input {
    position: absolute;
    height: 130px;
    width: 130px;
}

.board-header .header-preview .board-photo .form-group input {
    top: 0;
    padding: 0;
    opacity: 0;
}

.board-header .header-preview .board-meta {
    margin-left: 20px;
}

.board-header .header-preview .board-meta input,
.board-header .header-preview .board-meta p,
.board-header-members .header-preview .board-meta h3,
.board-header-members .header-preview .board-meta p {
    font-size: 16px;
    margin-bottom: 3px;
}

.board-header .header-preview .board-meta .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
}

.board-header .header-preview .board-meta input {
    margin-left: 7px;
}

.board-header hr {
    width: 100%;
    border-top: 2px solid #a6a6a8;
}

.board-header .board-options,
.board-header-members .board-options {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.board-header .board-options button,
.board-header-members .board-options button {
    margin-bottom: 5px;
}

.board-header .header-preview .delete-post,
.board-header-members .header-preview .delete-post {
    display: inline;
}

/* -------------------------
    /admin/boards/posts
------------------------- */
.post-admin .post-edit {
    display: flex;
    flex-direction: column;
}

.post-admin {
    margin-bottom: 20px;
}

@media(min-width: 768px) {
    .post-admin .post-edit {
        flex-direction: row;
    }

    .post-admin .post-edit .form-group {
        margin-left: 20px;
    }
}

.post-admin .post-edit .form-group .blue-btn {
    position: absolute;
    top: -7px;
    left: calc(50% + 67px);
}

.post-admin .post-edit .form-group .edit-post-input {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    margin: 0 !important;
    padding: 0;
    opacity: 0;
}

@media (min-width: 768px) {
    .post-admin .post-edit .form-group .blue-btn {
        left: 30px;
    }

    .post-admin .post-edit .form-group .edit-post-input {
        position: absolute;
        top: 0;
        left: 35px;
        transform: translateX(0);
    }
}

.post-admin .post-edit .form-group .img-wrapper {
    width: 200px;
    border-radius: 20px;
    box-shadow: 0px -3px 12px 5px rgba(95, 88, 88, .2);
}

.post-admin .post-edit .form-group input {
    width: 100%;
    margin-bottom: 3px;
}

@media(min-width: 768px) {
    .post-admin .post-edit .form-group input {
        margin-bottom: 3px;
    }
}

.post-admin .post-edit .form-group small {
    display: block;
    margin-left: 10px;
    margin-bottom: 7px;
}

.post-admin .post-edit .delete-group {
    display: flex;
    margin-bottom: 7px;
}

#profile br{
  clear: both;
}
#profile,
#profile .wrapper,
#profile .wrapper form,
#profile-data{
  display: block;
  position: relative;
  float: left;
  box-sizing: border-box;
}

#profile .wrapper form,
#profile .wrapper{
  width: 100%;
}
#profile .profile-column{
  width: 50%;
}


#profile-pic,
#profile-pic-img,
#profile-pic-upload{
  display: block;
  position: relative;
  float: left;
  box-sizing: border-box;
}
#profile-pic-img img,
#profile-pic-img[data-src$="/"]:after,
#profile-pic-upload input{
  display: block;
  position: absolute;
  float: none;
}
#profile-pic{
  width: 400px;
}
#profile-pic-img{
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid #a6a6a8;
  overflow: hidden;
  transition: background-image 300ms;
}
/*
#profile-pic-img img{
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
*/
#profile-pic-img[data-src$="/"]:after{
  content: '\f1c5';
  font-size: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*
#profile-pic[data-src$="/"] #profile-pic-img img{
  opacity: 0;
}
*/

#profile-data{
  float: right;
  width: calc(100% - 420px);
}
#profile-data input{
  width: 100%;
}


#profile-pic-upload{
  margin: 10px 0px 0px;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
}
#profile-pic-upload input{
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  border: none;
  outline: none;
  opacity: 0;
  cursor: pointer;
}
/*
#profile-pic-upload i{
  font-size: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
*/
#profile-pic-upload{
  background: #fff;
  margin: 10px 0px 0px 0px;
  padding: 3px 12px;
  left: 50%;
  transform: translate(-50%, 0px);

  border-radius: 12px;
  border: 1px solid #a6a6a8;
  white-space: nowrap;
}

#profile-data label{
  display: block;
  position: relative;
  float: left;
  width: 100%;
  box-sizing: border-box;
}
#profile-data label.profile-data-half{
  width: 50%;
  padding: 0px 5px 0px 0px;
}
#profile-data label.profile-data-half + label.profile-data-half{
  padding: 0px 0px 0px 5px;
}
