html,
body {
    height: 100%;
}

a {
    cursor: pointer;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.error-summary ul {
    list-style: none;
}

    /*** CUSTOM ***/
.boosting-conditions {
    border-top: 0px;
}
.boosting-conditions li .handle{
    cursor: move;
}

.boosting-condition-container {
    padding: 10px !important;
    border: 1px solid #ccc;
    margin-bottom: 11px !important;
}

.boosting-condition-container .placeholder {
    background-color: #fff !important;
    text-align:center;
    width:100%;
    height:100px;
    border: 5px dashed #e6e7e8 !important;
}

.condition-and {
    font-weight: bold;
}

.post-types-list-form .icheckbox_minimal {
    top: -3px;
}

.date-time-picker {
    cursor: pointer !important;
}

.budget-popup-message
{
    margin-left: 0px !important;
    display: none;
}

.succ-message-span
{
    display: none;
}

td.not-current-timeframe
{
    font-style: italic;
    color:#aaa;
}

.switchery-label
{
    padding-left: 0px !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

.switchery-label > .switchery
{
    margin-right: 15px;
}

.boosted-page-detail-label
{
    width: 10%;
    white-space: nowrap;
    padding-right: 50px !important;
}

.account-boosted-page-title
{
    padding-left: 5px !important;
}

#login-loader
{
    display: none;
    padding: 20px 0;
    color: #3c8dbc;
    line-height: 62px;
    text-align: center;
}

.logo-lg img
{
    height: 38px;
    position: relative;
    top: -3px;
    left: -5px;
}

#instagram_account_selector
{
    display: none;
}

.targeting_tab
{
    padding: 15px 0;
}

.targeting_tab label
{
    line-height: 34px;
}

.targeting_tab .dropdown-menu
{
    max-height: 300px;
    overflow-y: auto;
}

.targeting_tab .dropdown-menu .selected
{
    display: block;
    position: absolute;
    left: 10px;
}

.targeting_tab .dropdown-menu li a
{
    padding: 3px 26px;
}

.targeting_tab .targeting_content
{
    margin-top: 6px;
    display: none;
}

.targeting_tab .targeting_json_link
{
    margin-top: 20px;
    display: none;
}

#budget_targeting_details .field-loader
{
    background-image: url(../images/loader_field.gif);
    background-position: 0 50%;
    background-repeat: no-repeat;
    line-height: 34px;
    padding: 25px 0;
    color:#999;
    display: block;
    width: 100%;
    text-align: center;
}

.targeting_tab .sugg-type
{
    float: right;
    color: #aaa;
    text-transform: capitalize;
}

.targeting_tab .sugg-loading
{
    background-image: url(../images/loader_field.gif);
    background-position: 99% 50%;
    background-repeat: no-repeat;
}

.targeting_tab .fa-map-marker
{
    margin-right: 10px;
}

.targeting_tab .geo-include
{
    color: #3c8dbc;
}

.targeting_tab .geo-exclude
{
    color: #f4543c;
}

.targeting_tab #geo_locations .sugg-input-wrapper
{
    padding-left:0px;
    border:0px !important;
}

.targeting_tab #geo_locations .sugg-input
{
    width: 313px;
    float: left;
    position: relative;
    top: -34px;
    left: 86px;
    border: 1px solid #ccc;
    border-left:0px;
    padding: 5px;
}

#geo-location-suggestor button
{
    width:87px;
}

.reveal-settings
{
    display: none;
}

.basic-presets-container
{
    display: block;
}

.advanced-boosting .reveal-settings
{
    display: block;
}

.advanced-boosting .basic-presets-container
{
    display: none;
}

#advanced_label
{
    font-weight: normal;
}

.advanced-boosting #advanced_label
{
    font-weight: bold;
}

#boost_every_label
{
    font-weight: bold;
}

.advanced-boosting #boost_every_label
{
    font-weight: normal;
}

#budget-targeting-details .box-body
{
    border-top: 0px !important;
}

label.no-left-padding
{
    padding-left: 0px;
}

button#budget-button
{
    width:auto;
    display: inline-block;
    font-size:18px;
    float:left;
}

#budget-targeting-row
{
    padding-top: 15px;
}

#budget-button-wrapper
{
    padding-bottom: 10px;
    line-height: 47px;
}

#budget-button-wrapper label
{
    cursor:pointer;
}

.overlay.not-active
{
    display: none;
}

.target_loading_popup
{
    border-top:0px !important;
}

#budget-import-tab
{
    display:none;
    float:right;
    background-color: #f5f5f5;
    position: relative;
    left: 6px;
}

#import-or-text
{
    position: absolute;
    margin-left: -40px;
    margin-top: 10px;
}

.number-row
{
    line-height: 30px;
}

.number-field,
.number-field-whole
{
    width:40px !important;
    margin-right: 10px;
}

.dashoboard-page-row
{
    cursor:pointer;
}

.bp-status-label
{
    display: inline-block;
    width: 55px;
    padding: 4px 0px 4px;
}

.row-bordered
{
    padding: 4px;
    margin: 4px;
    border-bottom: 1px solid #F5F5F5;
}

.ui-datebox-container .modal-title{
    font-size: 17px;
}

.ui-datebox-container .modal-title .glyphicon{
    float: right !important;
    cursor: pointer;
    padding: 3px 0 0 1px;
}

.input-group-addon .glyphicon-time{
    cursor: pointer;
}

/* CSS tooltip */

a.css_tooltip{
    padding-left: 4px;
    position: relative; /*necessary to position next the span in an absolute way*/
    text-decoration: none;
    border-bottom: 0;
    font-weight: normal;
}

a.css_tooltip span{
    font-size: 13px;
    display: none; /*hide the span element in opening*/
    border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
}

a.css_tooltip:hover{
    padding-left: 4px;
}

a.css_tooltip:hover span{
    background-color: #FFFFD0;
    border: 1px solid #777777;
    color: #000000;
    display: block; /*the span element are converted from inline to block element*/
    left: 2em; /*style of the css tooltip*/
    padding: 5px;
    position: absolute; /*absolute positioning in rapport to their parent link*/
    top: 1.4em;
    width: 200px;
    z-index: 90000; /*needed to position the element span above other links*/
}

#agency-picker .caret {
    position: absolute;
    right: 10px;
    top: 46%;
}

#agency-picker .dropdown-menu {
    width: 100%;
}

#wrapper-tabs-custom {
    box-shadow: none;
}

.icon-8x{
    font-size: 8em;
}

.description-block > .description-header{
    font-size: 24px;
}


.todo-list>li {
    background-color: #fff !important;
    padding:0px !important;
    border:0px !important;
}

.todo-item {
    background: #f4f4f4;
    margin-bottom: 2px;
    border-left: 2px solid #e6e7e8;
    padding:10px;
}

.or-statement {
    display: none;
    padding: 15px 0;
}

.stop-end-day-label {
    padding-top:20px;
    padding-left:0px !important;
}

.stop-end-day-label span {
    margin-left:10px;
}

#delay-radio {
    float: left;
    margin-right: 11px;
}

.circle-loader {
    text-align: center;
    position: relative;
    padding-bottom: 35px;
}

.circle-loader span {
    position: absolute;
    bottom:0px;
    display: block;
    width: 100%;
    color:#999;
}

#report-page-selector img
{
    width: 30px !important;
    margin-right: 10px;
}

.selected-page {
    margin-right:15px;
}

.selected-page img {
    width: 40px !important;
    margin: 4px 10px 4px 0;
}

#report-page-selector li a {
    padding: 3px 9px;
}

.stop-money-field {
    width: 85px !important;
}

@media screen and (max-width: 1600px) {
    #collapse-basic-post-preset .col-md-7,
    #collapse-basic-link-preset .col-md-7,
    #collapse-basic-post-preset .col-md-5,
    #collapse-basic-link-preset .col-md-5
    {
        width: 100% !important;
    }
}

.basic-settings-preset-container {
    padding: 0px 0px 0px 10px;
}

.basic-settings-preset-container label {
    display: block;
    padding: 6px 0;
    clear:left;
}

.basic-settings-preset-container span {
    margin-left: 15px;
}

.preset-desc-p {
    display: none;
}

#not-enough-statistic-data {
    margin-top:30px;
    display: none;
    padding: 0px 15px;
}

.statstics-container {
    padding-top: 10px;
    font-style: italic;
}

.statistics-not-enough-message,
.statistics-data
{
    display: none;
}

.statistics-data b,
.statistics-data strong {
    color: #000;
}

.show-more-stats {
    margin: 10px 0;
    position: relative;
    top: -2px;
}

.more-stats {
    display: none;
}

.fa-info-circle {
    font-size: 14px;
}
.star {
    display: inline-block;
    height: 14px;
    width: 0px;
    background-image: url(../images/preset_category_rating.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    position:relative;
    top:3px;
}

.star-1 {
    width: 15px;
}
.star-2 {
    width: 28px;
}
.star-3 {
    width: 41px;
}
.star-4 {
    width: 54px;
}
.star-5 {
    width: 66px;
}

#not-enough-link-post-statistic-data {
    margin-top:30px;
    display: none;
    padding: 0px 15px;
}

.succ-posts-levels {
    margin:0px;
    padding:0px;
    margin: 25px 0px 25px 50px;
    display: block;
}

.succ-posts-levels li {
    margin:0px;
    padding:0px;
    display: block;
    float: left;
    padding-right:20px;
    margin-right: 20px;
    text-align: center;
    line-height: 17px;
    position: relative;
    width: 100px;
}

.succ-posts-levels li span{
    display: block;
    margin-left:0px;
    line-height: 20px;
}

.succ-posts-levels li:first-child {
    text-align: right !important;
    width: auto !important;
    margin-right: 32px;
}

.succ-posts-levels li i.fa-info-circle {
    position: absolute;
    top: 0px;
    right: 5px;
}

.page-settings-view h1 a {
    font-size: 14px;
    color: #555555;
}

.status-mini-widget a.label {
    display: inline-block;
    padding:3px 4px;
    position: relative;
    top: 1px;
    margin-left:2px;
}

.page-stats-loader {
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
    margin-bottom: 10px;
    background: url(../images/analyzing-loader.gif) no-repeat 0 0;
    position: relative;
    top: -3px;
    padding-left: 26px;
    color: #4387af;
    height: 16px;
}

.statstics-container .page-stats-loader {
    margin: 10px 0 0 0;
    padding-left: 22px;
}

.fa-info-circle {
    font-size: 14px !important;
}

h1 .fa-info-circle,
h3 .fa-info-circle
{
    position: relative;
    top: -2px;
    left: 2px;
}

.no-wrap
{
    white-space: nowrap;
}

.visible-text
{
    display: none;
}

#adset-hints
{
    float: left;
    margin-left: 165px;
    position: relative;
    top: -41px;
    font-style: italic;
}

#adsets-more-hints
{
    width: 100%;
    display: none;
    background-color: buttonface;
    margin-top: 8px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-size: 13px;
}

#adsets-more-hints ul
{
    padding-left: 28px;
    padding-top: 9px;
    padding-bottom: 10px;
}

.blue-title
{
    color: #3c8dbc;
}

.box-title a.collapsed
{
    color: #b5b5b5;
}

.box-title a.collapsed:hover
{
    color: #444;
}

.active-page-box,
.active-page-box:active,
.active-page-box:visited,
.active-page-box:focus
{
    border: 1px solid #e9ebed;
    padding: 20px;
    margin-bottom:10px;
    font-size: 18px;
    display: block;
    cursor: pointer;
}

.active-page-box:hover
{
    border: 1px solid #f4f4f4;
    background-color: #f4f4f4;
}

.active-page-box img {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    float:left;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
    border-radius: 0.75rem;
}

.btn-white {
    background-color: #ffffff;
    color:#848484;
    border-color: #959595 !important;
}

#targeting-summary-loading {
    color: #3c8dbc;
}

#targeting-summary-title
{
    font-weight:bold;
    font-size: 16px;
    font-style: italic;
    padding-bottom: 18px;
    display: block;
}

#targeting-summary {
    padding-bottom: 15px;
}

#targeting-summary dt {
    float:left;
    margin-right: 5px;
}

#targeting-summary dl {
    margin-bottom: 0px;
}

#preset-accordion label.box-title {
    width: 100%;
    cursor: pointer;
    color: #3c8dbc;
    font-weight: normal;
}

#preset-accordion label.box-title .iradio_square-blue{
    margin-right: 8px;
}

#import-budget-button
{
    display: block;
    width: 100%;
    text-align: left;
}

.switch-to-another-label
{
    padding: 10px 9px;
    border-bottom: 1px solid #f4f4f4;
    font-size: 13px;
}

.account-settings-link
{
    text-align: right;
    font-size: 20px;
}

.operator-selector
{
    width: auto;
    display: inline-block;
    padding: 0px;
    height: auto;
}


#earned-bonus-pages {
    background-color: #eee;
    padding: 20px 40px;
    width: auto !important;
    display: inline-block;
}

#earned-bonus-pages span {
    font-weight: bold;
}

#share-affiliate-container .row {
    padding-bottom:20px;
}

#btn-email-affiliate {
    font-size: 12px;
    padding: 3px 14px;
    line-height: 13px;
}


/* custom tooltip */
[data-tip] {
    position:relative;

}
[data-tip]:before {
    content:'';
    /* hides the tooltip when not hovered */
    display:none;
    content:'';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #1a1a1a;
    position:absolute;
    bottom:-6px;
    left:35px;
    z-index:8;
    font-size:0;
    line-height:0;
    width:0;
    height:0;
}
[data-tip]:after {
    display:none;
    content:attr(data-tip);
    position:absolute;
    bottom:-35px;
    left:0px;
    padding:5px 8px;
    background:#1a1a1a;
    color:#fff;
    z-index:9;
    font-size: 12px;
    height:29px;
    line-height:19px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space:nowrap;
    word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
    display:block;
}

.adset-group-content {
    display: none;
    background-color: #f5f5f5;
    padding: 11px 11px !important;
    border-top:1px !important;
    border-bottom:1px !important;
}

.table > tbody.adset-group-content + tbody {
    border-top-width: 1px;
}

.adset-group-content a,
.adset-group-content a:active,
.adset-group-content a:visited,
.adset-group-content a:hover,
.adset-group-content td,
.adset-group a,
.adset-group a:active,
.adset-group a:visited,
.adset-group a:hover,
.adset-group td
{
    color: #999;
}

i.close-arrow,
i.open-arrow
{
    position: relative;
    top: 4px;
}

i.open-arrow
{
    top: -3px;
    right: 6px;
}

.adset-group-opener,
.adset-group-closer
{
    cursor:pointer;
    background-color: #f5f5f5;
    border-top:1px !important;
    border-bottom:1px !important;
}

.adset-group-closer
{
    display: none;
}

.first-adset-group-row
{
    background-color: #f5f5f5;
}

.first-adset-group-row td
{
    border-top:3px solid #fff !important;
}

.perc-fans-container
{
    display: none;
}

.alert-warning a,
.alert-warning a:active,
.alert-warning a:visited,
.alert-warning a:focus
{
    color: #000 !important;
}

.alert-warning a:hover
{
    color: #aaa !important;
}

.no-shadow
{
    -webkit-box-shadow: 0px 0px 0px 0px rgba(41, 117, 163, 1) !important;
    -moz-box-shadow: 0px 0px 0px 0px rgba(41, 117, 163, 1) !important;
    box-shadow: 0px 0px 0px 0px rgba(41, 117, 163, 1) !important;
}

.email-status
{
    margin-top:12px;
    font-size: 14px;
}

.account-owner-user
{
    line-height: 57px;
    color: #5fa560;
    display: inline-block;
    font-weight: bold;
    width: 127px;
    text-align: center;
    margin-right: 0px !important;
    padding-right: 0px;
}

.user-permissions-holder
{
    padding-right:0px;
    padding-top:21px;
    padding-left: 53px;
}

.user-permissions-holder .saved-message
{
    display:none;
    font-size: 12px;
    color: #5fa560;
    font-weight: bold;
    margin-right: 2px;
    position: absolute;
    right: -22px;
}

.user-permissions-holder .icheckbox_flat-blue
{
    margin-left: 20px;
    float:left;
}

.user-access-header
{
    float:left;
    font-size: 13px;
}

#campaign_objective
{
    width:auto;
}

#campaign-goal-container {
    overflow: auto;
}

#campaign-goal-container label
{
    display: inline-block;
    float: left;
    clear: left;
}

#campaign-goal-container select
{
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    float: left;
    clear: left;
}

#campaign-goal-container .help-block
{
    float:left;
}

#campaign-goal-container .help-block span
{
    display: none;
}

#empty-pixel-list-message
{
    display: none;
}

#no-app-list-message
{
    display: none;
}

#step-two-and-more
{
    display: none;
}

#step-two-and-more-placeholder
{
    color: #737373;
}

#duplicate_adset .bootstrap-datetimepicker-widget {
    top: 32px !important;
    overflow: hidden;
    height:286px !important;
}

.login-page .login-box {
    width: 640px;
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
}

.login-box-body {
    border-radius: 6px;
    -webkit-box-shadow: 0px 0px 20px 6px rgba(201,201,201,0.74);
    -moz-box-shadow: 0px 0px 20px 6px rgba(201,201,201,0.74);
    box-shadow: 0px 0px 20px 6px rgba(201,201,201,0.74);
    position: relative;
}

.register-box .signup-head {
    color: #1c485f;
    display: inline-block;
    text-align: left;
}

.signup-head h2 {
    font-size: 18px;
    font-weight: bold;
}

.new-login-body {
    max-width: 400px;
    margin:auto;
}

.new-login-body .form-group {
    text-align: left;
    margin-bottom: 25px;
}

.new-login-body label {
    color: #969696;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 10px;
}

.new-login-body .form-control {
    border-radius: 3px;
    height: 48px;
    border-color: #dcdcdc;
}

.red-link {
    color: #de1c1c
}

.error {
    color: #de1c1c
}

.login-box .btn {
    background: #3b5998;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    padding-left: 50px;
}

.login-box .btn i {
    border: none;
    margin-left: 10px;
    font-size: 18px;
    top: 5px;
}

.login-box .error-summary {
    border-radius: 6px;
    border-left: none;
    text-align: left;
    font-weight: bold;
}

.login-box .error-summary ul {
    list-style: none;
    font-weight: normal;
    padding-left: 10px;
}

.btn-round {
    border-radius: 20px !important;
}

.signup-login-box {
    width: 280px;
    color: white;
    background-color: #1c485f;
    position: absolute;
    right: -280px;
    top: 40px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    padding-top: 40px;
}

.signup-login-box .check-icon {
    color: white;
    margin-bottom: 20px;
}

.signup-login-box h3 {
    max-width: 160px;
    margin: auto;
    font-size: 20px;
    margin-bottom: 40px;
}

.signup-login-box .btn {
    margin: auto;
    width: 90%;
    text-align: center;
}

@media (max-width: 768px) {
    .signup-login-box {
        position: relative;
        right: auto;
        top: auto;
        border-radius: 6px;
        max-width: 100%;
        margin: auto;
        padding-top: 20px;
    }
    .signup-login-box .check-icon {
        margin-bottom: 10px;
    }
    .signup-login-box h3 {
        margin-bottom: 10px;
    }
}

.btn-white {
    background: white !important;
    color: #3b5998 !important;
}

.field-signupform-recaptcha {
    display: inline-block;
}

.login-page {
    font-family: 'Open Sans', sans-serif;
}

.login-page .login-logo {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    padding-top: 10px;
}

.login-page .login-logo img {
    width: 200px;
}

#login-button {
    margin:auto;
}

.social-auth-links {
    margin-top: 20px;
}

.login-box-body .btn.dropdown-toggle {
    color: white;
    border-radius: 8px;
}

.login-box-body .btn.dropdown-toggle:hover {
    color: #3b5998
}

.login-box-body .red-link {
    text-decoration: underline;
    text-underline: #de4646;
}

.login-page .login-box.choose-agency-box {
    width: 425px;
}

@media (min-width: 1024px) {
    .action-static .content-header h1 {
        padding: 0 20px;
    }

    .static_content {
        padding: 10px 20px;
    }
}

.with-fa-icons {
    font-family: 'FontAwesome', 'Source Sans Pro' !important;
}

#custom_call_to_action .row {
    margin-top: 15px;
}

.field-boostedpages-campaign_budget {
    display: flex;
    align-items: center;
}

#campaign-budget-value-container {
    margin-top: -25px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.campaign-budget-help {
    display: inline-block; !important;
    margin-left: 20px;
    margin-bottom: 5px;
}

.dropdown-menu .dropdown-item {
    padding: 5px;
    display: block;
}

.form-group-inline .control-label {
    width: 167px;
}

.form-group-inline .form-control {
    display: inline-block;
    width: auto;
}

#payment-modal .fa-arrow-down {
    margin: auto;
    display: block;
    width: 25px;
    height: 25px;
    text-align: center;
    border: 1px solid black;
    border-radius: 50%;
    padding: 5px;
    opacity: 0.5;
    transition: opacity 0.25s;
}

@media (max-height: 900px) {
    #payment-modal.scrolled .fa-arrow-down {
        opacity: 0;
    }
}

.loading-overlay {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    text-align: center;
    z-index: 100;
}

.loading-overlay>.fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 50px;
}

.fullservice-tab {
    display: none;
}
.fullservice-tab.active {
    display: block;
}

.btn-fullservice {
    margin-left: 20px;
    background-color: rgba(237, 95, 2, 1) !important;
    position: relative;
    line-height: 1;
    padding: 4px 30px;
}

.square-badge {
    background: rgba(217, 0, 27, 1);
    position: absolute;
    top: -15px;
    left: -15px;
    padding: 5px;
    font-size: 14px;
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.37);
}

@media (max-width: 768px) {
    .btn-fullservice {
        margin: 20px 0;
    }
}

@media (max-width: 1331px) and (min-width: 992px) {
    .btn-fullservice {
        margin: 20px 0;
    }
}

#fullserviceModal .modal-header {
    text-align: center;
}

.nav-tabs .nav-item a {
    font-weight: bold;
}

.nav > li > a {
    padding: 13px 22px;
}

.tab-pane .box.box-default {
    border-top: 0;
}

.create-campaign-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
}

.create-campaign-modal-body a.btn {
    margin: 10px 0;
    width: 290px;
}

.blue-table.table > thead > tr > th {
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    background-color: #3c8dbc;
    color: #ffffff;
    width: 20%;
    padding: 13px;
}

.blue-table.table > thead > tr > th a {
    color: #ffffff;
}

.blue-table.table > tbody > tr > td {
    text-align: center;
}

.blue-table.table-bordered > thead > tr > th,
.blue-table.table-bordered > tbody > tr > th,
.blue-table.table-bordered > tfoot > tr > th,
.blue-table.table-bordered > thead > tr > td,
.blue-table.table-bordered > tbody > tr > td,
.blue-table.table-bordered > tfoot > tr > td {
    border: 1px solid #e9ebed;
}

.blue-table.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f5f5f5;
}

.custom-checkbox input[type=checkbox] { display:none; }
.custom-checkbox input[type=checkbox] + label:before {
    font-family: FontAwesome;
    display: inline-block;
    cursor: pointer;
    color: #3c8dbc;
    width: 1.25em;
}

.custom-checkbox input[type=checkbox] + label:before { content: "\f096"; }
.custom-checkbox input[type=checkbox] + label:before { letter-spacing: 10px; }
.custom-checkbox input[type=checkbox]:checked + label:before { content: "\f046"; }
.custom-checkbox input[type=checkbox]:checked + label:before { letter-spacing: 5px; }

.modal .error-page {
    display: flex;
    align-items: center;
    margin-top: 0;
    width: auto;
}
.modal .error-page>.error-content {
    margin-left: 20px;
}
.modal .error-page .headline {
    margin: 0;
}
.modal-body section.content {
    padding: 0;
    min-height: 0;
}

.kv-file-content img {
    max-height: 100%;
    max-width: 100%;
}

.field-boostedpages-special_ad_category_country .sugg-widget {
    width: 250px;
    display: inline-block;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 0 !important;
}

#replace-keywords-container .row {
    margin-bottom: 15px;
}

#replace-keywords-container label {
    width: 80px;
}

#replace-keywords-container .label-manual-replace {
    width: auto;
    margin-right: 15px;
}

#replace-keywords-container input.form-control[type=text] {
    display: inline-block;
    width: calc(100% - 90px);
}

#replace-keywords-container .col-xs-5 {
    position: relative;
}

#replace-keywords-container .fa-angle-double-right {
    position: absolute;
    top: 10px;
    right: 0px;
}

.master-agency-form .gps-coordinates {
    margin-bottom: 40px;
}

.master-agency-form #map{
    height: 400px;
    width: 100%;
}

.modal {
    overflow: auto !important;
    text-align: center;
    background: transparent !important;
}

.modal::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    margin: 0;
}

@media (max-width: 640px) {
    .modal::before {
        display: none !important;
    }
    .modal.in {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        overflow-y: auto !important;
        padding: 1rem !important;
    }
    .modal .modal-dialog {
        display: block !important;
        width: auto !important;
        max-width: calc(100% - 2rem) !important;
        margin: auto 0 !important;
        transform: none !important;
        flex-shrink: 0 !important;
    }
    .modal .modal-dialog .modal-content {
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 2rem) !important;
        overflow-y: auto !important;
    }
}

.modal .close {
    display: none;
}

.modal-backdrop {
    background-color: color-mix(in oklab, #f2f3fd 75%, transparent) !important;
}

.modal-backdrop.in {
    opacity: 1;
}

.modal-header {
    border-bottom: none;
}

.tooltip.in {
    opacity: 1;
}

.tooltip-inner {
    background-color: rgba(97, 97, 97, 0.9);
    color: #fff;
    font-size: 13px;
    max-width: 320px;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    text-align: left;
    white-space: normal;
}

.tooltip .arrow {
    display: none;
}

#preloader {
    position:fixed;
    inset:0;
    background:white;
    z-index:9999;
}

.btn-circle {
    padding: 13px 18px !important;
    border: 1px solid #e7d9d9 !important;
    border-radius: 50%;
}
.btn-circle:hover {
    background: rgb(103 118 230) !important;
    color: #fff !important;
}