/*
 * Globals
 */

html,
body {
    height: 100%;
    font-weight: 300;
}

label {
    font-weight: 500;
}

/* Custom container */
.container-full {
    margin: 0 auto;
    width: 100%;
}

.container-full-padding {
    padding: 0 5px 0 5px;
}

/* Custom navbar */
.navbar-brand {
    padding: 15px 15px 15px 30px;
}

.navbar-brand .glyphicon {
    font-size: 16px;
}

.navbar-nav > li > a {
    padding: 15px;
}

.navbar-nav > .active > a {
    opacity: .6;
}

.navbar-nav > li.dropdown > a:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/*
 *  LOGIN PAGE
 */

#recaptcha .panel {
    margin-bottom: 0;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#recaptcha .input-group {
    margin-bottom: 20px;
}

#recaptcha #recaptcha_response_field {
    border-bottom-left-radius: 5px;
    margin-bottom: 0;
}

#recaptcha .panel-body {
    padding: 0;
}

#recaptcha .panel-body img {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}

#recaptcha .form-group {
    margin-bottom: 0;
}

#recaptcha .recaptcha_only_if_audio,
#recaptcha .recaptcha_only_if_image {
    padding: 5px;
}

#recaptcha .input-group > .input-group-addon:last-child {
    border-top-right-radius: 0;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-left: auto;
    margin-right: auto;
}

/* Padding for spacing */
.inner {
    padding: 30px;
}

/*
 * Header
 */
.masthead {
    text-align: center;
}

.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*
 * Cover
 */

.cover {
    padding: 0 20px 80px 20px;
}

.cover .btn-lg {
    padding: 10px 20px;
    font-weight: bold;
}

/*
 * Footer
 */

.mastfoot {
    color: #333; /* IE8 proofing */
    color: rgba(0, 0, 0, .5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    text-align: center;
}

/*
 * Affix and center
 */

@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        position: fixed;
        top: 0;
    }

    .mastfoot {
        /*position: fixed;*/
        bottom: 0;
    }

    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }

    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 700px;
    }
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
    text-align: center;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

body.animated {
    opacity: 1;
    -webkit-transition: opacity 0.5s ease-in;
    -moz-transition: opacity 0.5s ease-in;
    -ms-transition: opacity 0.5s ease-in;
    -o-transition: opacity 0.5s ease-in;
    transition: opacity 0.5s ease-in;
}

body.animated.load {
    opacity: 0;
}

/* LIST OF ALL CAMPAIGNS
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.templatelist,
.campaignlist {
    padding-left: 15px;
    padding-right: 15px;
}

/* Center align the text within the three columns below the carousel */
.templatelist .col-lg-4,
.campaignlist .col-lg-4 {
    text-align: center;
    margin-bottom: 20px;
}

.templatelist h2,
.campaignlist h2 {
    font-weight: normal;
}

.templatelist .col-lg-4 p,
.campaignlist .col-lg-4 p {
    margin-left: 10px;
    margin-right: 10px;
}

.templatelist .img-circle,
.campaignlist .img-circle {
    border: 1px solid #CCC;
    width: 140px;
    height: 140px;
}

/* CAMPAIGNSETTINGS
-------------------------------------------------- */

.help-block {
    margin-top: 0;
    margin-bottom: 0;
}

/* CMAPAIGN DOMAINAUSWAHL
-------------------------------------------------- */
div.highlight {
    padding: 9px;
    margin-bottom: 14px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

p.domain {
    background: rgb(255, 255, 255) none;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-radius: 4px;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 1px 0 inset;
    box-sizing: border-box;
    color: rgb(85, 85, 85);
    cursor: auto;
    display: block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    height: 34px;
    letter-spacing: normal;
    line-height: 20px;
    margin: 0 0 10px 0;
    padding: 6px 12px;
    text-align: start;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    vertical-align: middle;
    width: auto;
    word-spacing: 0;
    writing-mode: horizontal-tb;
}

/* jTable Bootstrap 3 compatibility
-------------------------------------------------- */
.datepicker-dropdown {
    z-index: 2000 !important;
}

.jtable-bottom-panel {
    margin-bottom: 14px;
}

/*.jtable-left-area span,
.jtable-left-area .pagination {
    float:left;
}*/

.jtable-bottom-panel .col-md-4,
.jtable-bottom-panel .col-md-12 {
    padding: 0;
}

.jtable-right-area {
    line-height: 1;
}

.jtable-right-area .pagination {
    margin: 0;
}

.jtable-page-info {
    margin: 0;
    line-height: 30px;
}

.jtable-goto-page {
    padding-right: 10px;
}

@media (max-width: 768px) {
    .table-responsive {
        margin-bottom: 0;
        border-bottom: 0;
    }

    .table-responsive + .highlight {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        border-width: 1px;
        border-radius: 0 0 4px 4px;
    }
}

@media (min-width: 768px) {
    .table-responsive + .highlight {
        margin-top: 15px;
    }
}

/* Additional Bootstrap 3 Classes
-------------------------------------------------- */
.table-xs > thead > tr > th, .table-xs > tbody > tr > th, .table-xs > tfoot > tr > th, .table-xs > thead > tr > td, .table-xs > tbody > tr > td, .table-xs > tfoot > tr > td {
    padding: 2px;
}

/* jTable Checkbox as recycle bin for emptying file fields
-------------------------------------------------------------- */
input.recyclebin[type='checkbox']:checked + label {
    color: red;
    cursor: pointer;
}

input.recyclebin[type='checkbox'] + label {
    display: block;
    margin-bottom: 0;
    font-weight: normal;
}

input.recyclebin[type='checkbox'] {
    display: none;
}

/* Centered nav-tabs
-------------------------------------------------------------- */
.nav-tabs.centered > li, .nav-pills.centered > li {
    float: none;
    display: inline-block;
    *display: inline; /* ie7 fix */
    zoom: 1; /* hasLayout ie7 trigger */
}

.nav-tabs.centered, .nav-pills.centered {
    text-align: center;
}

/* For smaller device, tab control should not appear
-------------------------------------------------------------- */
@media (max-width: 767px) {
    .nav-tabs > li {
        float: none;
        border: 1px solid #dddddd;
    }

    .nav-tabs > li.active > a {
        border: none;
    }

    .nav > li > a:hover, .nav > li > a:focus,
    .nav > li > a:hover, .nav > li > a:focus,
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        background: none;
        border: none;
    }
}

.tooltip-inner > ul {
    text-align: left;
    padding-left: 15px;
    margin: 0;
}

/* Animated refresh-glyphicon
-------------------------------------------------------------- */
.glyphicon-refresh.animated.rotating {
    transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;

    -webkit-animation: infinite-spinning .5s infinite linear; /* Safari 4+ */
    -moz-animation: infinite-spinning .5s infinite linear; /* Fx 5+ */
    -o-animation: infinite-spinning .5s infinite linear; /* Opera 12+ */
    animation: infinite-spinning .5s infinite linear; /* IE 10+ */
}

@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dppx) {
    .glyphicon-refresh.animated.rotating {
        -webkit-transform-origin: 50% 48%;
    }
}

@-webkit-keyframes infinite-spinning {
    from {
        -webkit-transform: scale(1) rotate(0deg);
    }
    to {
        -webkit-transform: scale(1) rotate(360deg);
    }
}

@-moz-keyframes infinite-spinning {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-ms-keyframes infinite-spinning {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}

@-o-keyframes infinite-spinning {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(360deg);
    }
}

@keyframes infinite-spinning {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* jTable FILTER additional styles
-------------------------------------------------------------- */
.jtable-column-header-filterable.ui-dragging {
    padding: 3px 5px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    z-index: 2;
}

.jtable-filter-drop-area {
}

.jtable-filter-drop-area span {
    /*color: #d4291f;*/
    /*font-weight: bold;*/
    color: #428bca;
}

.jtable-filter-drop-area a {
    color: #333;
    text-decoration: none;
}

.jtable-filter-drop-area.ui-droppable {
    border-radius: 3px;
    /*display: inline-block;*/
    /*position: relative;*/
    /*width: 811px;*/
    background: #efefeb;
    padding: 5px;
    text-align: center;
}

.ui-droppable.ui-state-default {
    background-color: #eaeaea;
}

.ui-droppable.ui-state-hover {
    /*border: 2px dashed #e1e1e8;*/
    /*border-color: #66afe9;*/
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.jtable-filter-group {
    padding: 4px;
    background: #fff;
    border: 1px solid #a9a399;
    border-radius: 3px 3px 3px 3px;
    position: relative;
}

.jtable-filter-andbond {
    display: inline-block;
    margin: -1px 0 -1px 6%;
    z-index: 1;
    position: relative;
    background: #fff;
    padding: 5px 35px;
    color: #4f4f4f;
    font: bold 14px Arial;
    text-shadow: 0 1px 0 #fff;
}

.jtable-filter-andbond:before,
.jtable-filter-andbond:after {
    content: '';
    position: absolute;
    border: 1px solid #a9a399;
    width: 10px;
    top: 0;
    bottom: 0;
    background-color: #f7f7f9;
}

.jtable-filter-andbond:before {
    border-left: none;
    left: 0;
    border-radius: 0 5px 5px 0;
    /* Begin - CHECKIN - 24.09.2015 08:50 peto */
    background-color: #c5c5c7;
    /* End - CHECKIN */
}

.jtable-filter-andbond:after {
    border-right: none;
    right: 0;
    border-radius: 5px 0 0 5px;
    /* Begin - CHECKIN - 24.09.2015 08:50 peto */
    background-color: #c5c5c7;
    /* End - CHECKIN */
}

.jtable-filter-orbond {
    display: inline-block;
    margin: 0 0 0 6%;
    position: relative;
    background: #efefeb;
    padding: 5px 28px;
    color: #4f4f4f;
    font: bold 14px Arial;
    text-shadow: 0 1px 0 #fff;
}

.jtable-filter-orbond:before,
.jtable-filter-orbond:after {
    content: '';
    position: absolute;
    background: #fff;
    border: 1px solid #efefeb;
    width: 10px;
    top: -1px;
    bottom: -1px;
}

.jtable-filter-orbond:before {
    border-left: none;
    left: 0;
    border-radius: 0 5px 5px 0;
}

.jtable-filter-orbond:after {
    border-right: none;
    right: 0;
    border-radius: 5px 0 0 5px;
}

.jtable-filter-condition {
    border-radius: 3px;
    /*display: inline-block;*/
    /*position: relative;*/
    /*width: 811px;*/
    background: #efefeb;
    padding: 5px;
}

.jtable-top-panel {
    padding: 9px;
    margin-top: 5px;
    margin-bottom: 14px;
/* Begin - CHECKIN - 24.09.2015 08:50 peto */
    /*background-color: #f7f7f9;*/
    background-color: #c5c5c7;
/* End - CHECKIN */
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

.jtable-filter-buttonpanel {
    text-align: right;
    margin-top: 5px;
}

/*Responsive tables for all screensizes*/
.table-responsive {
    overflow-x: auto;
}

.modal-dialog.fullscreen {
    width: 90%;
}

.jtable-xs {
    font-size: 10px;
}

.jtable-xs > tbody > tr > td {
    vertical-align: middle;
}

.jtable-xs .btn-xs {
    font-size: 10px;
}

.jtable-sm {
    font-size: 12px;
}
/* jtable table cell*/
div.jtable-main-container table.jtable tbody tr > td.jtable-command-column {
    text-align: left;
    vertical-align: top;
}
.bootstrap-switch-group {
    padding: 6px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background: #fff none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.bootstrap-switch-group label.control-label {
    margin-top: 5px;
    padding-top: 0;
}

#variablesform .control-label {
    padding-top: 0;
}

.bootstrap-switch-group .bootstrap-switch {
    float: right;
}

.form-group ul {
    margin-top: 5px;
    padding-left: 16px;
}

.form-group ul > li {
    line-height: 1;
}

.form-group .mce-tinymce {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.has-error .mce-tinymce {
    border-color: #a94442;
}

.form-group .mce-panel {
    background: #f7f7f9 none;
}

/*
 * Nav-Wizard (Variables)
 */
.nav-wizard > li {
    float: left;
}

.nav-wizard > li > a {
    position: relative;
    background-color: #eeeeee;
}

.nav-wizard > li > a .badge {
    margin-left: 3px;
    color: #eeeeee;
    background-color: #428bca;
}

.nav-wizard > li:not(:first-child) > a {
    padding-left: 34px;
}

.nav-wizard > li:not(:first-child) > a:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #ffffff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}

.nav-wizard > li:not(:last-child) > a {
    margin-right: 6px;
}

.nav-wizard > li:not(:last-child) > a:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #eeeeee;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}

.nav-wizard > li:first-child > a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.nav-wizard > li:last-child > a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.nav-wizard > li.done:hover > a,
.nav-wizard > li:hover > a {
    background-color: #d5d5d5;
}

.nav-wizard > li.done:hover > a:before,
.nav-wizard > li:hover > a:before {
    border-right-color: #d5d5d5;
}

.nav-wizard > li.done:hover > a:after,
.nav-wizard > li:hover > a:after {
    border-left-color: #d5d5d5;
}

.nav-wizard > li.done > a {
    background-color: #e2e2e2;
}

.nav-wizard > li.done > a:before {
    border-right-color: #e2e2e2;
}

.nav-wizard > li.done > a:after {
    border-left-color: #e2e2e2;
}

.nav-wizard > li.active > a,
.nav-wizard > li.active > a:hover,
.nav-wizard > li.active > a:focus {
    color: #ffffff;
    background-color: #428bca;
}

.nav-wizard > li.active > a:after {
    border-left-color: #428bca;
}

.nav-wizard > li.active > a .badge {
    color: #428bca;
    background-color: #ffffff;
}

.nav-wizard > li.disabled > a {
    color: #777777;
}

.nav-wizard > li.disabled > a:hover,
.nav-wizard > li.disabled > a:focus {
    color: #777777;
    text-decoration: none;
    background-color: #eeeeee;
    cursor: default;
}

.nav-wizard > li.disabled > a:before {
    border-right-color: #eeeeee;
}

.nav-wizard > li.disabled > a:after {
    border-left-color: #eeeeee;
}

.nav-wizard.nav-justified > li {
    float: none;
}

.nav-wizard.nav-justified > li > a {
    padding: 10px 15px;
}

@media (max-width: 768px) {
    .nav-wizard.nav-justified > li > a {
        border-radius: 4px;
        margin-right: 0;
    }

    .nav-wizard > li:not(:first-child) > a:before {
        width: 0;
        height: 0;
        border-left: 10px inset transparent;
        border-right: 10px inset transparent;
        border-top: 10px solid #ffffff;
        position: absolute;
        content: "";
        margin-left: auto;
        margin-right: auto;
        top: 0;
        left: 0;
        right: 0;
    }

    .nav-wizard > li:not(:last-child) > a {
        margin-bottom: 6px;
    }

    .nav-wizard > li:not(:last-child) > a:after {
        width: 0;
        height: 0;
        border-left: 8px inset transparent;
        border-right: 8px inset transparent;
        border-top: 8px solid #eeeeee;
        border-bottom: 0;
        position: absolute;
        content: "";
        margin-left: auto;
        margin-right: auto;
        left: 0;
        top: 40px;
        right: 0;
        z-index: 2;
    }

    .nav-wizard > li.active:hover > a:after,
    .nav-wizard > li.active > a:after {
        border-top-color: #428bca;
    }

    .nav-wizard > li.done:hover > a:after,
    .nav-wizard > li:hover > a:after {
        border-top-color: #d5d5d5;
    }
}

/*
 * IMPORT
 */

#drop {
    color: #ccc;
    border: 3px dashed #ccc;
    border-radius: 8px;
}

#drop > p {
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 50px;
    margin: 0;
}

#fileupload hr {
    margin-bottom: 10px;
}

#fileupload ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

#fileupload ul li {
    margin-top: 5px;
    position: relative;
}

#fileupload ul li input {
    display: none;
}

#fileupload ul li p {
    overflow: hidden;
    white-space: nowrap;
    font-weight: 400;
    margin: 0;
}

#fileupload ul li i {
    display: block;
    font-size: 10px;
}

#fileupload .progress {
    height: 3px;
    margin-bottom: 0;
}

#fileupload ul li span {
    width: 15px;
    height: 12px;
    position: absolute;
    top: 10px;
    right: 2px;
    cursor: pointer;
    color: #5cb85c;
}

#fileupload ul li.working span {
    color: #333;
}

#fileupload ul li.error span,
#fileupload ul li.error p {
    color: #d9534f;
}

/*
 * CAMPAIGN RIGHTS
 */
.campaignrights-toolbar {
    margin-bottom: 20px;
}

.campaignrights-campaignuser {

}

.campaignrights-campaignuser > .head {
    font-size: 20px;
}

.campaignrights-campaignuser > .head > .glyphicon {
    margin-right: 10px;
    top: 3px;
}

.campaignrights-campaignuser > .head > .glyphicon:hover {
    color: #d43f3a;
    cursor: pointer;
}

.campaignrights-campaignuser > .rights label {
    font-weight: normal;
    display: block;
    margin-bottom: 0;
    padding-left: 15px;
    text-indent: -15px;
}

.campaignrights-campaignuser > .rights label > input {
    width: 13px;
    height: 13px;
    padding: 0;
    margin-left: 3px;
    margin-right: 14px;
    vertical-align: bottom;
    position: relative;
    top: -3px;
    *overflow: hidden;
}

.vgMenuModuleIconSize {
    font-size: 18px;
}

.vgExcelExport-color {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

.vgDropzone-border {
    width: 383px;
    border-radius: 10px;
    border: dashed #888888;
}

.vgDropzone-select-border {
    width: 383px;
    border-radius: 10px;
    border: solid thin #888888;
    padding-top: 5px;
    padding-bottom: 5px;
}

.vgDropzone-form {
    height: 150px;
}

.vgDropzone-input {
    position: relative;
    width: 350px;
    height: 150px;
    z-index: 10;
}

.vgDropzone-label {
    position: relative;
    top: -120px;
    z-index: 1;
}

.vgDropzone-submitBtn {
    position: relative;
    top: -110px;
    z-index: 11;
}

.vgEditFormTextArea {
    width: 100% !important;
}

.vgCheckbox .checkbox {
    display: none;
}

.vgJqTableDialog {
    margin-left: auto;
    margin-right: auto;
}

.vgJqTableDialogRowLabel {
    float: right;
    margin-left: 0px;
    margin-right: 0px;
    white-space: nowrap;
}

.vgJqTableDialogRowInput {
    width: 500px;
}
