div.rtb-vertical-tabset-pane input, div.rtb-edit-creative input {
    padding-left: 5px;
    padding-right: 5px;
}

div.rtb-campaign-creatives-edit > div:nth-child(1) {
    margin-bottom: 25px;
}

div.rtb-campaign-creatives-edit > div:nth-child(2) {
    margin-bottom: 0;
}

.rtb-campaign-creatives-edit .rewarded_video {
    position: relative;
    top: -43px;
}

div.rtb-campaign-creatives-edit div.rtb-grid-table-cont > table {
    width: 100%;
}

div.rtb-grid-table-cont tr.rtb-grid-row-added {
    background-color: #fffff0;
}

div.rtb-grid-table-cont tr.rtb-grid-row-removed {
    background-color: #f3fff3;
}

div.new_campaign_section div#tab4 {
    margin-top: 30px;
}

div.new_campaign_section div#tab4 > div.rtb-alert-danger div.alert {
    margin-top: 30px;
    white-space: nowrap;
    display: inline-block;
    font-weight: bold;
    text-align: left;
}

div.new_campaign_section div#tab4 > div.rtb-alert-danger div.alert {
    padding: 7px 15px;
}

/*--------------------------------------------------------------------------*/

div.rtb-select-existing-creatives {
    padding-left: 10px;
}

div.rtb-select-existing-creatives div[cont_id="top"] {
    display: flex;
    flex-direction: row;
}

div.rtb-select-existing-creatives div[cont_id='left'] {
    flex: 0.5;
}

div.rtb-select-existing-creatives div[cont_id='preview'] {
    flex: 0.5;
    height: 540px;
}

div.rtb-select-existing-creatives div[cont_id='preview'] > * {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] {
    height: 500px;
    width: 100%;
    padding-right: 30px;
    overflow-y: auto;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] > div {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] > div > div:first-child {
    margin-right: 10px;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] > div > div > * {
    vertical-align: middle;
}

/* space below the Select All checkbox */
div.rtb-select-existing-creatives div[cont_id='checkboxes'] > div:first-child {
    margin-bottom: 20px;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span[cont_id="name"] {
    color: #333;
    white-space: normal;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span[cont_id="name"] > span {
    margin-right: 5px;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span[cont_id="size"] {
    color: #888;
    margin-left: 7px;
    white-space: nowrap;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span[cont_id="type"] {
    color: #666;
    background-color: #f8f8f8;
    border: 1px solid #cacaca;
    border-radius: 3px;
    padding: 2px 3px;
    margin-left: 7px;
    font-size: 12px;
    white-space: nowrap;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span:last-child > div {
    color: #666;
}

div.rtb-select-existing-creatives div[cont_id='checkboxes'] span.rtb-search-icon-active {
    color: #0077DD;
    font-weight: bold;
}

/*--------------------------------------------------------------------------*/

div.rtb-upload-banner {
    padding: 10px 10px 0 0;
}

div.rtb-upload-banner div[cont_id="previews"] > div {
    margin: 20px 40px 20px 0;
    padding: 10px;
    border: 1px solid #bbb;
    display: inline-block;
}

div.rtb-admin-native-upload div[cont_id="previews"] div[cont_id="preview"] >img {
    /*margin: 20px 40px 20px 0;*/
    /*padding: 10px;*/
    /*border: none;*/
    /*display: inline-block;*/
}

div.rtb-upload-banner div[cont_id="preview"] > img {
    max-width: 500px;
    max-height: 200px;
}

.rtb-new-third-party-tag .row,
.rtb-new-third-party-tag div[cont_id="lbl"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rtb-new-third-party-tag .row {
    margin-bottom: 20px;
}

.rtb-new-third-party-tag div[cont_id="lbl"] {
    width: 150px;
}

.rtb-new-third-party-tag div[cont_id="lbl"] label {
    margin-left: 5px;
}

.rtb-new-third-party-tag div[cont_id="lbl"] i {
    margin: 0 15px;
}

.rtb-new-third-party-tag div[cont_id="lbl"] .input_required {
    margin-left: 5px;
}

.rtb-new-third-party-tag .row > *,
.rtb-new-third-party-tag div[cont_id="lbl"] > * {
    margin: 0;
}
.rtb-new-third-party-tag div[cont_id="code"] button {
    margin: 0 0 0 10px;
}

.rtb-new-third-party-tag div[cont_id="code"] .row:first-child textarea,
.rtb-new-third-party-tag div[cont_id="name"] .row:first-child input {
    max-width: 580px;
    flex: 1;
}

.rtb-new-third-party-tag div[cont_id="code"] .row:last-child textarea,
.rtb-new-third-party-tag div[cont_id="name"] .row:last-child input {
    max-width: 580px;
    flex: 1;

}

/*--------------------------------------------------------------------------*/

.rtb-new-video-creative .row,
.rtb-new-video-creative div[cont_id="lbl"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rtb-new-video-creative .row {
    margin-bottom: 20px;
}

.rtb-new-video-creative div[cont_id="lbl"] {
    width: 120px;
}

.rtb-new-video-creative div[cont_id="lbl"] label {
    margin-left: 5px;
}

.rtb-new-video-creative div[cont_id="lbl"] i {
    margin: 0 15px;
}

.rtb-new-video-creative div[cont_id="lbl"] .input_required {
    margin-left: 5px;
}

.rtb-new-video-creative .row > *,
.rtb-new-video-creative div[cont_id="lbl"] > * {
    margin: 0;
}

.rtb-new-video-creative div[cont_id="video-cont"] button {
    margin-left: 10px;
}

.rtb-new-video-creative div[cont_id="video-file-cont"] {
    margin-top: 50px;
}

.rtb-new-video-creative div[cont_id="video-cont"] .row:first-child input {
    max-width: 580px;
    /*flex: 1;*/
}

.rtb-new-video-creative div[cont_id="video-cont"] .row:last-child input {
    max-width: 580px;
    flex: 1;
}

#video_textbox_link{
    width:580px;
}

.rtb-new-video-creative div.end-filler {
    min-width: 20px;
}

/*--------------------------------------------------------------------------*/

.rtb-new-third-party-url .row,
.rtb-new-third-party-url div[cont_id="lbl"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rtb-new-third-party-url .row {
    margin-bottom: 20px;
}

.rtb-new-third-party-url div[cont_id="lbl"] {
    width: 120px;
}

.rtb-new-third-party-url div[cont_id="lbl"] label {
    margin-left: 5px;
}

.rtb-new-third-party-url div[cont_id="lbl"] i {
    margin: 0 15px;
}

.rtb-new-third-party-url div[cont_id="lbl"] .input_required {
    margin-left: 5px;
}

.rtb-new-third-party-url .row > *,
.rtb-new-third-party-url div[cont_id="lbl"] > * {
    margin: 0;
}
.rtb-new-third-party-url div[cont_id="url"] button {
    margin: 0 0 0 10px;
}

.rtb-new-third-party-url div[cont_id="url"] .row:first-child input,
.rtb-new-third-party-url div[cont_id="name"] .row:first-child input {
    max-width: 580px;
    flex: 1;
}

.rtb-new-third-party-url div[cont_id="url"] .row:last-child input,
.rtb-new-third-party-url div[cont_id="name"] .row:last-child input {
    max-width: 580px;
    flex: 1;
}

.rtb-new-third-party-url div.end-filler {
    min-width: 20px;
}

/*--------------------------------------------------------------------------*/

.rtb-new-html5 .row,
.rtb-new-html5 div[cont_id="lbl"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rtb-new-html5 .row {
    margin-bottom: 20px;
}

.rtb-new-html5 div[cont_id="country"] .row {
    margin-bottom: 3px;
}

.rtb-new-html5 div[cont_id="lbl"] {
    width: 160px;
}

.rtb-new-html5 .row .modal-dialog .modal-content  {
    border: 0;
}

.rtb-new-html5 div[cont_id="lbl"] label {
    margin-left: 5px;
}

.rtb-new-html5 div[cont_id="lbl"] i {
    margin: 0 15px;
}

.rtb-new-html5 div[cont_id="lbl"] .input_required {
    margin-left: 5px;
}

.rtb-new-html5 .row > *,
.rtb-new-html5 div[cont_id="lbl"] > * {
    margin: 0;
}
.rtb-new-html5 div[cont_id="url"] button {
    margin: 0 0 0 10px;
}

.rtb-new-html5 div[cont_id="url"] .row:first-child input,
.rtb-new-html5 div[cont_id="custom"] .row:first-child input,
.rtb-new-html5 div[cont_id="name"] .row:first-child input {
    max-width: 580px;
    flex: 1;
}

.rtb-new-html5 div[cont_id="url"] .row:last-child input,
.rtb-new-html5 div[cont_id="custom"] .row:first-child input,
.rtb-new-html5 div[cont_id="name"] .row:last-child input {
    max-width: 580px;
    flex: 1;
}

.rtb-new-html5 div[cont_id="format"] .row .html5_checkbox label {
    margin-left: 20px;
}

/*--------------------------------------------------------------------------*/

div.rtb-url-macro-selector {
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
}

div.rtb-url-macro-selector h4 {
    margin: 0;
}

div.rtb-url-macro-selector > div {
    margin: 0 auto;
}

div.rtb-url-macro-selector div.modal-body > div.rtb-example-code {
    padding: 10px 0;
}

div.rtb-url-macro-selector div.modal-body > div > p:first-child {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.rtb-macro-selector-tables,
div.rtb-url-macro-selector div.rtb-macro-selector-tables {
    display: flex;
    flex-direction: row;
    border: 1px solid #eee;
    padding: 0 5px;
}

.rtb-macro-selector-tables div:first-of-type,
div.rtb-url-macro-selector div.rtb-macro-selector-tables div:first-of-type {
    width: 30px;
}

.rtb-macro-selector-tables table td:last-child,
div.rtb-url-macro-selector div.rtb-macro-selector-tables table td:last-child {
    max-width: 400px;
    white-space: normal;
}

/*--------------------------------------------------------------------------*/

div.rtb-new-video-creative,
div.rtb-new-html5,
div.rtb-new-third-party-url,
div.rtb-new-third-party-tag,
div.rtb-new-native_creative {
    padding-left: 10px;
}

div.rtb-upload-banner label {
    vertical-align: top;
    position: relative;
    top: 10px;
}

div.rtb-upload-banner label {
    width: 8em;
}

div.rtb-upload-banner > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.rtb-new-native_creative .row,
.rtb-new-native_creative div[cont_id="lbl"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rtb-new-native_creative .row {
    margin-bottom: 20px;
}

.rtb-new-native_creative div[cont_id="lbl"] {
    width: 180px;
    margin-right: 15px;
}

.rtb-new-native_creative div[cont_id="lbl"] label {
    margin-left: auto;
    margin-right: 5px;
    margin-top: -17px;
}

.rtb-new-native_creative div[cont_id="lbl"] i {
    margin: 0 15px;
    margin-right: 15px;
}

.rtb-new-native_creative div[cont_id="lbl"] .input_required {
    margin-left: 5px;
}

.rtb-new-native_creative .row > *,
.rtb-new-native_creative div[cont_id="lbl"] > * {
    margin: 0;
}

.rtb-new-native_creative div[cont_id="url"] .row:first-child input,
.rtb-new-native_creative div[cont_id="headline"] .row:first-child input,
.rtb-new-native_creative div[cont_id="youtube"] .row:first-child input,
.rtb-new-native_creative div[cont_id="advertiser"] .row:first-child input,
.rtb-new-native_creative div[cont_id="call"] .row:first-child input,
.rtb-new-native_creative div[cont_id="description"] .row:first-child textarea,
.rtb-new-native_creative div[cont_id="name"] .row:first-child input {
    max-width: 486px;
    flex: 1;
}

.rtb-new-native_creative div[cont_id="url"] .row:last-child input,
.rtb-new-native_creative div[cont_id="headline"] .row:last-child input,
.rtb-new-native_creative div[cont_id="youtube"] .row:last-child input,
.rtb-new-native_creative div[cont_id="advertiser"] .row:last-child input,
.rtb-new-native_creative div[cont_id="call"] .row:last-child input,
.rtb-new-native_creative div[cont_id="description"] .row:last-child textarea,
.rtb-new-native_creative div[cont_id="name"] .row:last-child input {
    width: 580px;
    flex: 1;
    margin-top: -6px;
}

.rtb-new-native_creative .file-metadata{
    font-size: 10px;
    margin-bottom: 6px;
}

.rtb-new-native_creative div[cont_id="url"] button {
    margin: 0 0 0 10px;
}

.rtb-new-native_creative div[cont_id="image-dimensions"] {
    color: #A4A4A4;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 10px;
}

.rtb-new-native_creative div[cont_id="error"]{
    display: table-cell;
    vertical-align: middle;
    text-align:center;
    font-size: 10px;
}

.rtb-new-native_creative div[cont_id="native_upload_image_container"]{
    display: table-cell; vertical-align: bottom;width: 300px;
}

.rtb-new-native_creative div[cont_id="native_upload_icon_container"]{
    display: table-cell; vertical-align: bottom;width: 200px;
}

.rtb-new-native_creative div[cont_id="native_upload_image_container"] img{
    height:150px;
    width:286px
}

.rtb-new-native_creative div[cont_id="native_upload_icon_container"] img{
    width: 50px;
    height: 50px;
}

.rtb-new-native_creative div[cont_id='native_creative_assets']{
    margin-top: 32px;margin-bottom: 48px;
}

.rtb-new-native_creative div .error{
    margin-top: 7px;
    position: relative !important;
    bottom: inherit !important;
}
.stars_scale {
    font-size: 30px;
    font-weight: bold;
    padding-right: 3px;
    cursor: pointer;
    color: #a9a9a9;
}
.star_label {
    margin-left: 3px;
}


div.rtb-creative-star-rating .row span.filled {
    color: #ff9900;
}

.get_assets {
    font-size: 11px;
    border-color: #4B90CE;
    background-color: #4B90CE;
}

/*--------------------------------------------------------------------------*/

div.rtb-vertical-tabset-pane div.rtb-add-creative-btn-cont {
    border-top: 1px solid #F2F3F3;
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    text-align: center;
}

div.rtb-vertical-tabset-pane div.rtb-add-creative-btn-cont button {
    margin: auto;
}

/*--------------------------------------------------------------------------*/

div.rtb-edit-creative-btn-cont {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

div.rtb-edit-creative-btn-cont button:first-of-type {
    width: 120px;
    margin-right: 20px;
}

/*--------------------------------------------------------------------------*/

.rtb-add-macro-btn {
    background-color: #5B8CB3;
    border-color: #5B8CB3;
    color: #fff;
}

.rtb-add-macro-btn:hover {
    background-color: #426987;
    border-color: #426987;
    color: #fff;
}

/*--------------------------------------------------------------------------*/

[id^='popover'] {
    max-width: 400px !important;
    min-width: 200px !important;
}

.popover-title {
    background-color: white !important;
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 4px !important;
    margin-top: 4px !important;
}

.popover-content {
    padding-right: 0;
}

.scrollit {
    overflow-y:scroll;
    max-height:150px;
}

.campaigns-grid .clickable {
    cursor: pointer;
}

.campaigns-grid .bid-link {
    color: #026b9c;
}

.campaigns-grid .bid-link:hover {
    color: black;
}



/*-----------------------------------------------------------------------------*/
.campaign-form {
    margin:5px;
}

.campaign-form .modal-header {
    font-family: 'Segoe UI', 'Trebuchet MS', 'Arial';
    font-weight: 500;
    font-size: 15px;
    padding:5px 10px;

}

.campaign-form .input-group {
    display: flex;
    align-items: center;
}

.campaign-form .campaign-name {
    display:inline-block;
    width:100%;
    white-space: nowrap;
    overflow:hidden !important;
    text-overflow: ellipsis;
}
.campaign-form .form-group {

    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.campaign-form .form-group light {
    float: left;
    opacity: 0.5;
    margin-left: 7px;
    color: #313534;
}

.creative-disable{
    opacity: 0.5;
}

.campaign-form .form-group light.dollar {
    position: absolute;
    top: 11px;
}

.campaign-form.modal-disabled input,
.campaign-form.modal-disabled button {
    cursor: not-allowed;
    pointer-events:none;
}

.campaign-form .modal-body label {
    font-family: 'Segoe UI', 'Trebuchet MS', 'Arial';
    font-size: 13px;
    text-align: left;

}

.campaign-form .modal-body input {
    width:200px;
    margin: 5px 0;
    padding-left: 17px;
}

.campaign-form .modal-budget-separator {
    border-bottom: 1px solid #dddddd;
}

.campaign-form .modal-body p.warning-msg {
    background-color: #FDFFCF;
    color: #D89E69;
    clear: both;
    margin: 0 auto;
    padding-left: 7px;
    position: absolute;
    bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    left: 5px;
    right: 5px;
}

.campaign-form .modal-footer {
    border: none;
}

.campaign-form .bold{
    font-weight: bold;
}

.bars-container {
    margin: 5px;
}

.bars-container fieldset:last-child .progress {
    margin-bottom: 0px;

}

.campaign-form .goal_cpm_container .error,
.campaign-form .warp-budget-fields .error:not(.bottom-error) {
    position: absolute;
    left: 0;
    top: 43px;
}
.campaign-form .warp-budget-fields {

    padding-bottom: 75px;
    position: relative;
}

.warp-bid-fields {
    padding-top: 15px;
}

.campaign-form .invalid-input {
    border: 1px solid #ff0000;
    box-shadow: 0 1px 1px rgba(255, 0, 0, 0.075) inset, 0 0 8px rgba(255, 0, 0, 0.6);
}
