.center {
    text-align: center;
}

.tbits-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tbits-center-absolute {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px ) {
    .center-sm {
        text-align: center;
    }

    .no-pull-sm {
        float: none !important;
    }
}

@media (max-width: 768px) {
    .center-xs {
        text-align: center;
    }
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.white-well {
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    margin: 10px 0;
    padding: 20px;
    box-shadow: 0 2px 2px #D6D6D6;
}

.binary-delete {
    display: none;
}

.deleteable > .binary-delete {
    display: inline-block;
}

.grey {
    color: rgb(135, 135, 135);
}

.blue {
    color: rgb(36, 102, 161);
}

.image-form-wrapper {
    cursor: pointer;
    position: relative;
    top: 0;
    left: 0;
    background: #d0d0d0 url('/static/icons/upload-plus.png') no-repeat center;
    color: #fff;
    border: 1px solid #999;
    font-size: 150px;
    overflow: hidden;
}

.well.compact {
    padding: 10px;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.well.tabs {
    margin-bottom: 50px;
}

.popover-content {
    padding: 5px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-top: 2px;
}

img {
    max-width: 100%;
}

.wrapper {
    min-height: 100%;
    overflow-x: hidden;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.socialnetwork-bubble-svg {
    display: inline-block;
    color: #fff !important;
    border-radius: 15px;
    width: 28px;
    height: 28px;
    margin-right: 6px;
    padding: 4px;
}

.socialnetwork-bubble-svg.facebook {
    background: #3b5998;
}

.socialnetwork-bubble-svg.twitter {
    background: #22aae1;
}

.socialnetwork-bubble-svg.google {
    background: #d64131;
}

.socialnetwork-bubble-svg.pinterest {
    background: #cc242c;
}

.socialnetwork-bubble-svg.email {
    background: #474a4c;
}

.socialnetwork-bubble-svg.instagram {
    background: #956455;
}

.socialnetwork-bubble-svg.flickr {
    background: #ffffff;
}

.socialnetwork-bubble-svg.vine {
    background: #16b487;
}

.socialnetwork-bubble-svg.youtube {
    background: #d82028;
}

.socialnetwork-bubble-svg.tumblr {
    background: #34465d;
}

.socialnetwork-bubble-svg.rss {
    background: #faa41a;
}

.socialnetwork-bubble-svg.website {
    background: #030303;
}

.socialnetwork-bubble-svg.stream {
    background: #8bc63f;
}

.socialnetwork-bubble-svg.strava {
    background: #ef5127;
}

.socialnetwork-bubble-svg.spotify {
    background: #acd037;
}

.btn-facebook {
    background-color: rgb(52, 79, 143);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border: transparent;
}

.btn-facebook:hover {
    background-color: rgb(42, 67, 111);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-google {
    background-color: rgb(209, 57, 43);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: rgb(184, 47, 39);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-share-link {
    background-color: #ccc;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-share-link:hover {
    background-color: #999;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-twitter {
    background-color: #14a9e1;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-twitter:hover {
    background-color: #0094c1;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-linkedin {
    background-color: #007bb6;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-linkedin:hover {
    background-color: #01608e;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-tbits-white {
    background: #ffffff;
    color: #0dadde;
    font-weight: 700;
    padding: 12px 12px;
    border: 1px solid #0dadde;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-tbits-white:hover, .btn-tbits-white:focus, .btn-tbits-white.active {
    background: #0dadde;
    color: #fff;
    transition: background 0.3s ease;
    border-bottom: 1px solid #0dadde;
    /*margin-top: 1px;*/
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.btn-tbits-blue {
    background: #0dadde;
    color: #fff;
    font-weight: 700;
    padding: 12px 12px;
    border: 1px solid #0dadde;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-tbits-blue:hover, .btn-tbits-blue:focus {
    background: #fff;
    color: #0dadde;
    border: 1px solid #0dadde;
    transition: background 0.3s ease;
    /*margin-top: 1px;*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.0);
    text-shadow: none;
}
.btn-tbits-green {
    background: #00A09B;
    color: #fff;
    font-weight: 700;
    padding: 12px 12px;
    border: 1px solid #00A09B;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-tbits-green:hover, .btn-tbits-green:focus {
    background: #fff;
    color: #00A09B;
    border: 1px solid #00A09B;
    transition: background 0.3s ease;
    /*margin-top: 1px;*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.0);
    text-shadow: none;
}

.btn-tbits-facebook {
    background: #3b5998;
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border: 1px solid #3b5998;
    border-radius: 4px;
    transition: background 0.3s ease;
    border-bottom: 2px solid #3b5998;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-tbits-facebook:hover, .btn-tbits-facebook:focus {
    background: #fff;
    color: #3b5998;
    border: 1px solid #3b5998;
    transition: background 0.3s ease;
    margin-top: 1px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.0);
    text-shadow: none;
}

.btn-link:hover {
    text-decoration: none;
}

.tbits-emphasis-span {
    color: #ccc;
    letter-spacing: 1px;
}

.popover-title {
    background-color: #fff;
    border: 0;
}

.tbits-control-image:hover {
    width: 60px;
    right: -61px;
    text-decoration: none;
}

.tbits-control-image {
    text-align: left;
    font-size: 12px;
    color: #444;
    top: 0;
    right: -15px;
    width: 14px;
    visibility: hidden;
    position: absolute;
    background-color: #bbb;
    z-index: 1;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
}

.deleteable .tbits-control-image {
    visibility: visible;
}

#white-wall {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 4000px;
    width: 100%;
    background: #fff;
    opacity: .75;
    display: none;
    z-index: 2000;
}

#white-wall img {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2001;
}

/* Tools link btn */
.tbits-mc-tools-link {
    background-color: #F7F7F7;
    border-color: #D4D4D4;
    border-radius: 0;
    /*letter-spacing: -1px;*/
}

.btn.tbits-mc-tools-link {
    font-size: 13px;
    font-weight: 600;
}

.tbits-mc-tools-link:hover {
    border-color: #D4D4D4;
}

.tbits-mc-tools-link:first-child {
    border-left: 0;
}

.tbits-mc-tools-link:last-child {
    border-right: 0;
}

.tbits-standard-well {
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 2px #D6D6D6;
    border: 1px solid #d4d4d4;
    margin: 10px 0 20px;
}

.tbits-standard-well .tbits-standard-well-header {
    padding: 5px 15px;
    border-bottom: 1px solid #F0F0F0;
}

.tbits-standard-well-title {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    margin: 8px 4px 3px;
    color: #365464;
}

.mod-search-query {
    position: relative;
}

.mod-search-query input {
    padding: 4px 25px;
}

.mod-search-query .glyphicons-search {
    position: absolute;
    left: 22px;
    top: 10px;
}

.tbits-toggle-indicator {
    color: #00ADE5;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: inline-block;
    user-select: none;
}

.tbits-delete-indicator {
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: inline-block;
    user-select: none;
}

/************************************************************/
/* Tbits Module Menu */
/************************************************************/

.tbits-module-menu {
    background-color: #FFF;
    border: 1px solid #D4D4D4;
    border-radius: 3px;
    box-shadow: 0 1px 4px 1px #D6D6D6;
    margin: 30px 0 20px;
}

.tbits-module-header {
    padding: 4px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
}

.tbits-module-header-icon {
    width: 20px;
    margin: 10px;
    font-size: 20px;
    color: #999;
    line-height: 20px;
}

.tbits-module-header h3 {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    font-weight: 600;
    font-size: 16px;
    color: #354C56;
}

.tbits-module-body {
    padding: 4px;
}

.tbits-module-body .tbits-module-object-logo {
    width: 50px;
    margin: 16px 10px 16px 16px;
}

.tbits-module-body .tbits-module-object-info {
    display: inline-block;
    vertical-align: middle;
}

.tbits-module-body .tbits-module-object-info .tbits-module-object-name {
    font-size: 16px;
    font-weight: 600;
}

.tbits-module-body .tbits-module-object-info .tbits-module-object-url {
    font-size: 12px;
    font-weight: 800;
}

.tbits-module-body .tbits-module-object-btn {
    margin-top: 20px;
    margin-right: 16px;
}

.tbits-module-body .tbits-module-object-btn .glyphicon {
    margin-left: 6px;
}

/* actual menu is here */

.tbits-module-footer .tbits-module-nav-container {
    display: flex;
    width: calc(100% + 1px);
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group {
    flex-basis: 0;
    flex-grow: 1;
}

.tbits-module-nav-group .tbits-module-nav-btn {
    display: block;
    position: relative;
    height: 100%;
    background-color: #F5F5F5;
    border: 1px solid #CCC;
    border-left: 0;
    color: #6D6E70;
    font-weight: 600;
    padding: 10px 10px 10px 16px;
    text-align: left;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .glyphicons {
    padding-right: 8px;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn:hover {
    cursor: pointer;
    background-color: #DDD;
    border-color: #CCC;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn:active {
    box-shadow: none;
    color: #6D6E70;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn.active {
    background-color: #50BD91;
    border-color: #50BD91;
    border-bottom: 4px solid #1A9B91;
    box-shadow: none;
    color: #FFF;
    padding-bottom: 6px;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn.active:hover {
    background-color: #00A87D;
    border-color: #00A87D;
    border-bottom: 4px solid #008664;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav {
    display: none;
    position: relative;
    height: 0;
    width: 100%;
    top: 12px;
    left: 0;
    z-index: 1001;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul {
    list-style-type: none;
    margin-top: 9px;
    padding: 0;
    background-color: #FFF;
    border: 1px solid #CCC;
    box-shadow: 0 1px 4px 1px #D6D6D6;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav .tbits-module-subnav-arrow {
    padding: 0;
    border: none;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav .dropdown-arrow-outer {
    position: absolute;
    top: -9px;
    right: 19px;
    border-bottom: 9px solid #CCC;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav .dropdown-arrow-inner {
    position: absolute;
    top: -7px;
    right: 19px;
    border-bottom: 9px solid #FFF;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul {
    margin: 0;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li {
    padding: 0;
    border-bottom: 1px solid #CCC;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li:last-child {
    border-bottom: none;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li:hover {
    background-color: #DDD;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li.active {
    padding: 0;
    background-color: #64B39C;
    border-left: 4px solid #24936F;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li.active a {
    padding-left: 12px;
    color: #FFF;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li a {
    display: block;
    color: #686868;
    font-weight: 600;
    padding: 10px 10px 10px 16px;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li a .glyphicon {
    margin-right: 10px;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li:hover ~ li.tbits-module-subnav-arrow .dropdown-arrow-inner {
    border-bottom: 9px solid #DDD;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li.active ~ li.tbits-module-subnav-arrow .dropdown-arrow-inner {
    border-bottom: 9px solid #64B39C;
}

/* Tbits Module Menu (Mobile) */
@media (max-width: 767px) {
    .tbits-module-body .tbits-module-object-info {
        width: calc(100% - 150px);
    }

    .tbits-module-body .tbits-module-object-info .tbits-module-object-name,
    .tbits-module-body .tbits-module-object-info .tbits-module-object-url {
        display: inline-block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tbits-module-body .tbits-module-object-btn {
        margin-right: 12px;
    }

    .tbits-module-body .tbits-module-object-btn .btn-text {
        display: none;
    }

    .tbits-module-body .tbits-module-object-btn .glyphicon {
        margin-left: 0;
    }

    .tbits-module-footer .tbits-module-nav-container {
        display: block;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group {
        display: block;
        width: 100%;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn {
        border-bottom: 0;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul {
        margin-left: -1px;
        box-shadow: none;
        border-bottom: 0;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav .tbits-module-nav-link {
        padding-left: 36px;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav ul li.active a {
        padding-left: 31px;
    }

    .tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-subnav .tbits-module-subnav-arrow {
        display: none;
    }
}

/************************************************************/
/* End of Menu */
/************************************************************/

.tbits-hr-separator-sm {
    margin: 70px auto 70px auto;
}

.tbits-separator {
    margin-top: 70px;
    margin-bottom: 70px;
}

@media (max-width: 768px) {
    .tbits-hr-separator-sm {
        margin: 70px auto 70px auto;
        border: 1px solid #ccc;
        height: 0;
        width: 80%;
    }
}

.tbits-sectioned-area {
    width: 100%;
    padding: 10px;
    /*font-size:smaller;*/
    align-items: center;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.tbits-sectioned-area > div {
    max-width: calc(100% - 50px);
}

.tbits-sectioned-area h4 {
    margin: 3px 0;
    color: #555;
    white-space: nowrap;
    overflow-x: hidden;
    font-weight: 600;
    max-width: calc(100%);
    font-size: 14px;
    line-height: 17px;
}

.blue-sectioned-cell {
    width: 150px;
    flex: 2 0 150px;
    height: 100%;
    border-left: 1px solid #009EE2;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    flex-direction: column;
    user-select: none;
}

.white-sectioned-cell {
    width: 150px;
    flex: 2 0 150px;
    height: 100%;
    border-left: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    flex-direction: column;
    user-select: none;
}

.btn-sectioned-cell {
    flex: 2 0 100px;
    height: 100%;
    border-left: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    flex-direction: column;
    background-color: #eee;
    user-select: none;
    cursor: pointer;
}

.btn-sectioned-cell:hover {
    background-color: #ddd;
}

.blue-sectioned-well {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    align-content: stretch;
    background-color: #F1FAFD;
    border: 1px solid #009EE2;
    border-radius: 3px;
    margin: 5px 0;
    padding: 0;
    box-shadow: 0 2px 2px #D6D6D6;
    width: 100%;
    height: 90px;
}

.white-sectioned-well {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    align-content: stretch;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 10px 0 5px 0;
    padding: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0 2px 2px #D6D6D6;
}

.blue-sectioned-well .row, .white-sectioned-well .row {
    height: 100%;
}

.grey-text {
    color: grey;
}

.red-text {
    color: red;
}
.invalid {
    border: 1px solid red;
}