﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    position: relative;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

footer {
    position: relative;
    bottom: 0;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.form-group {
    margin-top: 10px !important;
}

.col-md-10 > .k-widget {
    width: 100% !important;
}

.control-label {
    text-align: right;
}

.field-validation-error {
    color: red;
    font-weight: bold;
}

.delete-modal-header {
    color: red;
    font-size: 16px !important;
    font-weight: bold !important;
}

.hidden {
    display: none;
}

.validation-summary li {
    background-color: red;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-weight: bold;
    margin: 50px;
}

    .validation-summary ul {
        list-style-type: none;
        padding: 0 !important;
    }
    /*Loader*/
    /*body {
    margin: 0;
    padding: 0;
    background: #3498db;
}*/
    .cs-loader {
        margin: 0;
        padding: 0;
        /*background-color: #1a6ecc;*/
        background-color: #ffffff;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 1;
        z-index: 9999;
    }

.cs-loader-inner {
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
    width: calc(100% - 200px);
    color: #FFF;
    padding: 0 100px;
    text-align: center;
}

    .cs-loader-inner label {
        font-size: 20px;
        opacity: 0;
        display: inline-block;
        color: #1a6ecc;
    }

@keyframes lol {
    0% {
        opacity: 0;
        transform: translateX(-300px);
    }

    33% {
        opacity: 1;
        transform: translateX(0px);
    }

    66% {
        opacity: 1;
        transform: translateX(0px);
    }

    100% {
        opacity: 0;
        transform: translateX(300px);
    }
}

@-webkit-keyframes lol {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-300px);
    }

    33% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }

    66% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(300px);
    }
}

.cs-loader-inner label:nth-child(6) {
    -webkit-animation: lol 3s infinite ease-in-out;
    animation: lol 3s infinite ease-in-out;
}

.cs-loader-inner label:nth-child(5) {
    -webkit-animation: lol 3s 100ms infinite ease-in-out;
    animation: lol 3s 100ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(4) {
    -webkit-animation: lol 3s 200ms infinite ease-in-out;
    animation: lol 3s 200ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(3) {
    -webkit-animation: lol 3s 300ms infinite ease-in-out;
    animation: lol 3s 300ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(2) {
    -webkit-animation: lol 3s 400ms infinite ease-in-out;
    animation: lol 3s 400ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(1) {
    -webkit-animation: lol 3s 500ms infinite ease-in-out;
    animation: lol 3s 500ms infinite ease-in-out;
}

.help-tip {
    text-align: center;
    background-color: #45AFE3;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.help-tip:before {
    content: '?';
    font-weight: bold;
    color: #fff;
}

.help-tip:hover {
    cursor: pointer;
}

.manage-campaigns-button {
    flex: 1 1 auto;
    width: 100px;
    margin: 8px;
}

.manage-campaigns-button:hover {
    cursor: pointer;
}

.error-container {
    margin: 8vh auto;
}

.error-content {
    display: flex;
    align-items: center;
}

.error-logo {
    margin-right: 32px;
}

.error-title {
    font-weight: 100;
    margin: 0;
}

.error-short-desc {
    font-size: 16px;
    margin: 16px 0;
}

.error-advices {
    font-size: 16px;
    list-style: disc;
    margin: 1em 0;
    padding: 0;
    margin-inline-start: 2em;
}

.error-advices > li {
    margin-bottom: .5em;
}

.reload-button {
    margin: 1.2em 0 0 auto;
}

.reload-button-wrapper {
    display: flex;
}

.loader-overlay {
    position: fixed;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 2;
}

.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: #fff;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.loader-first-desc-line {
    margin-top: 16px;
}

.loader-second-desc-line {
    margin: 0 auto;
}

.loader {
    display: block;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 1s ease-in-out infinite;
    -moz-animation: spin 1s ease-in-out infinite;
    -ms-animation: spin 1s ease-in-out infinite;
    -o-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
}

/* Loader spinner animation */

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.loader-partial {
    display: none;
}

.datetimepicker-wrapper {
    display: flex;
}

#datetimepicker-input {
    z-index: auto;
    background-color: transparent;
}

#datetimepicker-input:hover {
    cursor: pointer;
}

.datetimepicker-clear {
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-size: 16px;
}

.datetimepicker-clear-icon {
    margin: 0 8px;
}

.datetimepicker-clear-icon:hover {
    cursor: pointer;
}

.datetimepicker-clear-icon:active {
    color: #579458;
}