.center {
    text-align: center;
}

.tbits-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-spread {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.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;
}

.campaign-setup-edit-section {
    padding: 30px 35px;
}

.campaign-setup-edit-section .checkbox-inline, .campaign-setup-edit-section .radio-inline {
    font-weight: bold;
}

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

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

.image-form-wrapper {
    cursor: pointer;
    position: relative;
    top: 0;
    left: 0;
    background: var(--grey-100) url('/static/images/share-image-bg.png') no-repeat top center;
    background-size: 1005px 121px;
    color: #fff;
    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: 3px;
}

img {
    max-width: 100%;
}

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

.tbits-icon.btn-facebook-icon {
    color: #1877f2;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border: transparent;
    font-size: 50px;
}

.tbits-icon.btn-twitter-icon {
    color: #14a9e1;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border: transparent;
    font-size: 50px;
}

.tbits-icon.btn-spotify-icon {
    color: #1ED75F;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border: transparent;
    font-size: 50px;
}

.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.btn-twitter {
    padding: 0;
    background-color: #14a9e1;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-twitter:hover {
    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 {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.btn-tbits-white {
    background: var(--bg-color);
    color: var(--blue-500);
    font-weight: 700;
    padding: 12px 12px;
    border: 1px solid var(--blue-500);
    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: var(--blue-500);
    color: #fff;
    transition: background 0.3s ease;
    border-bottom: 1px solid var(--blue-500);
    /*margin-top: 1px;*/
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    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: var(--bg-color, #fff);
    opacity: .75;
    display: none;
    z-index: 2000;
}

#white-wall img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
}

img.tbits-throbber {
    width: 80px;
    height: 80px;
    animation: tbits-throbber-spin 1s ease-in-out infinite;
    user-select: none;
}

img.tbits-throbber.nospin {
    animation: none;
}

img.media-manager-throbber {
    width: 60px;
    height: 50px;
    animation: tbits-throbber-spin 1s ease-in-out infinite;
    user-select: none;
}

@keyframes tbits-throbber-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* Tools link btn */
.tbits-mc-tools-link {
    background-color: var(--grey-000);
    border-color: var(--grey-200);
    border-radius: 0;
    border-bottom: 0;
}

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

.tbits-mc-tools-link:hover {
    border-color: var(--grey-200);
    background-color: var(--grey-100);
}

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

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

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

.tbits-delete-indicator {
    color: var(--red-500);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: inline-block;
    user-select: none;
}

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

.tbits-module-menu {
    background-color: var(--bg-color);
    border-radius: 3px;
    box-shadow: var(--shadow-20);
    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: 500;
    padding: 10px 10px 10px 16px;
    text-align: left;
}

.tbits-module-nav-group .tbits-icon {
    color: #6D6E70;
}
.tbits-module-nav-group .active .tbits-icon {
    color: var(--white);
}

.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 svg {
    padding-right: 8px;
    height: 14px;
}

.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 .tbits-icon {
    color: white;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn .tbits-header-icons.tbits-icon {
    font-size: 16px;
    margin: 3px 5px 3px 0;
}

.tbits-module-footer .tbits-module-nav-container .tbits-module-nav-group .tbits-module-nav-btn.active .tbits-header-icons.tbits-icon {
    color: #FFF;
}

.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 var(--grey-500);
        height: 0;
        width: 80%;
    }
}

.tbits-sectioned-area {
    width: 100%;
    padding: 10px;
    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;
    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 var(--blue-500);
    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 var(--grey-200);
    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 var(--grey-500);
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    flex-direction: column;
    background-color: var(--grey-200);
    user-select: none;
    cursor: pointer;
}

.btn-sectioned-cell:hover {
    background-color: var(--grey-400);
}

.blue-sectioned-well {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    align-content: stretch;
    background-color: var(--blue-000);
    border: 1px solid var(--blue-500);
    border-radius: 3px;
    margin: 5px 0;
    padding: 0;
    box-shadow: var(--shadow-20);
    width: 100%;
    height: 90px;
}

.white-sectioned-well {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    align-content: stretch;
    background-color: var(--bg-color);
    border-radius: 4px;
    margin: 10px 0 5px 0;
    padding: 0;
    width: 100%;
    height: 60px;
    box-shadow: var(--shadow-20);
}

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

.grey-text {
    color: grey;
}

.red-text {
    color: red;
}

.invalid {
    border: 1px solid red;
}

#edit-bottom-bar {
    display: none;
    position: fixed;
    z-index: 900;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.ui-autocomplete.ui-front {
    z-index: 1060;
}
