﻿body {
}

header .header-wrapper {
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 992px) header .header-inner-wrapper {
    height: 119px;
    -ms-flex-align: center;
    align-items: center;
    overflow: visible;
}


@media print {
    .no-print {display: none !important;};
}

header .header-inner-wrapper {
    height: 60px;
    margin: 0;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
}

.container-fluid {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1224px;
}



header {
    padding-bottom: 14px;
    position: relative;
    font-family: "Open Sans", sans-serif;
}

    header:after {
        content: "";
        display: table;
        clear: both;
    }

@media screen and (min-width: 992px) {
    header .header {
        height: auto;
    }
}

header .header-bg {
    background-color: #fff;
}

@media screen and (min-width: 992px) {
    header .header-bg {
        border-bottom: 1px solid #dbdbdd;
        background: #fff url(/Site/Static/images/header-bg.png) no-repeat 50%;
    }
}

header .header-wrapper {
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 0) and (max-width: 991px) {
    header .header-wrapper {
        padding: 0 !important;
    }
}

header .header-inner-wrapper {
    height: 60px;
    margin: 0;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media screen and (min-width: 992px) {
    header .header-inner-wrapper {
        height: 119px;
        -ms-flex-align: center;
        align-items: center;
        overflow: visible;
    }
}

header .site-logo-wrapper {
    width: 100%;
    height: 60px;
    background-color: #fff;
    padding: 0 6px;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media screen and (min-width: 992px) {
    header .site-logo-wrapper {
        width: auto;
        height: 84px;
        padding: 0;
        background-color: transparent;
        display: block;
    }
}

header .site-logo {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 12px;
    padding-left: 12px;
    width: 50%;
    height: 46px;
    margin: 7px auto;
    display: block;
}

@media screen and (min-width: 992px) {
    header .site-logo {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        height: 84px;
        margin: 0;
        padding: 0;
    }
}

header .site-logo--alt {
    margin: 2rem 0 0;
}

header .site-logo__link {
    width: auto;
    height: 46px;
    margin: 0;
    display: inline-block;
    position: relative;
}

    header .site-logo__link:focus {
        outline: 0;
        border: 0;
    }

@media screen and (min-width: 992px) {
    header .site-logo__link {
        height: 84px;
        float: left;
    }

        header .site-logo__link:focus {
            outline: 0;
        }

            header .site-logo__link:focus:after {
                width: calc(100% + 8px);
                height: 100%;
                border: 2px solid #002d59;
                border-radius: 2px;
                content: "";
                position: absolute;
                left: -2px;
                top: -2px;
            }
}

header .site-logo__img {
    width: auto;
    height: 46px;
    margin: auto;
}

@media screen and (min-width: 992px) {
    header .site-logo__img {
        width: auto;
        max-width: none;
        height: 84px;
    }
}

.hide {
    display: none;
}

/*.active {
    display: block;
}
*/

.box ul li:hover {
    cursor: pointer;
}


.croppie-container {
    width: 100%;
    height: 100%;
}

#upload-demo {
    display: none;
    max-width: 500px;
    height: 500px;
    margin: 30px;
}

@media (max-width: 800px) {
    #upload-demo {
        height: 300px;
    }
}

.card {
    margin-bottom: 20px !important;
}


.croppie-container {
    width: 100%;
    height: 100%;
}

    .croppie-container .cr-image {
        z-index: -1;
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: 0 0;
        max-height: none;
        max-width: none;
    }

    .croppie-container .cr-boundary {
        position: relative;
        overflow: hidden;
        margin: 0 auto;
        z-index: 1;
        width: 100%;
        height: 100%;
    }

    .croppie-container .cr-viewport,
    .croppie-container .cr-resizer {
        position: absolute;
        border: 2px solid #fff;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
        z-index: 0;
    }

    .croppie-container .cr-resizer {
        z-index: 2;
        box-shadow: none;
        pointer-events: none;
    }

    .croppie-container .cr-resizer-vertical,
    .croppie-container .cr-resizer-horisontal {
        position: absolute;
        pointer-events: all;
    }

        .croppie-container .cr-resizer-vertical::after,
        .croppie-container .cr-resizer-horisontal::after {
            display: block;
            position: absolute;
            box-sizing: border-box;
            border: 1px solid black;
            background: #fff;
            width: 10px;
            height: 10px;
            content: '';
        }

    .croppie-container .cr-resizer-vertical {
        bottom: -5px;
        cursor: row-resize;
        width: 100%;
        height: 10px;
    }

        .croppie-container .cr-resizer-vertical::after {
            left: 50%;
            margin-left: -5px;
        }

    .croppie-container .cr-resizer-horisontal {
        right: -5px;
        cursor: col-resize;
        width: 10px;
        height: 100%;
    }

        .croppie-container .cr-resizer-horisontal::after {
            top: 50%;
            margin-top: -5px;
        }

    .croppie-container .cr-original-image {
        display: none;
    }

    .croppie-container .cr-vp-circle {
        border-radius: 50%;
    }

    .croppie-container .cr-overlay {
        z-index: 1;
        position: absolute;
        cursor: move;
        touch-action: none;
    }

    .croppie-container .cr-slider-wrap {
        width: 75%;
        margin: 15px auto;
        text-align: center;
    }

.croppie-result {
    position: relative;
    overflow: hidden;
}

    .croppie-result img {
        position: absolute;
    }

.croppie-container .cr-image,
.croppie-container .cr-overlay,
.croppie-container .cr-viewport {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.buttons-align-centre {
    position: relative;
    text-align: center;
}

@media (max-width:992px) {
    .right-side-only {
        float: none;
        width: 100%;
        margin-left: 0
    }
}

.loader {
    top: 50%;
    left: 47%; /* or: left: 50%; */
    font-size: 10px;
    position: relative;
    border-top: 1.1em solid rgba(58,102,167,.2);
    border-right: 1.1em solid rgba(58,102,167,.2);
    border-bottom: 1.1em solid rgba(58,102,167,.2);
    border-left: 1.1em solid #3a66a7;
    animation: spin 2s linear infinite;
}

@media all and (min-width:321px) and (max-width: 800px) {
    .loader {
        left: 35%;
    }
}

.loader, .loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*.form-control {
    min-height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1.6rem;
    border-radius: .3rem;
}

.form-select {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.6rem;
}*/

.select2-selection {
    padding-top: .4rem;
    padding-bottom: .5rem;
    padding-left: .3rem;
    font-size: 1rem;
    height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    position: absolute;
    top: .4rem;
    right: .4rem;
    width: 20px;
}

/*.singleform {
    font-size: 1.6rem;
}*/

div.mycardloading {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
    cursor: pointer;
}

[data-toggle=buttons] > .btn input[type=checkbox], [data-toggle=buttons] > .btn input[type=radio], [data-toggle=buttons] > .btn-group > .btn input[type=checkbox], [data-toggle=buttons] > .btn-group > .btn input[type=radio] {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

label.btn span {
    font-size: 1.5em;
}

label input[type="radio"] ~ i.fa.fa-circle-o {
    color: black;
    display: inline;
}

label input[type="radio"] ~ i.fa.fa-dot-circle-o {
    display: none;
}

label input[type="radio"]:checked ~ i.fa.fa-circle-o {
    display: none;
}

label input[type="radio"]:checked ~ i.fa.fa-dot-circle-o {
    color: black;
    display: inline;
}

label:hover input[type="radio"] ~ i.fa {
    color: black;
}

label input[type="checkbox"] ~ i.fa.fa-square-o {
    color: #c8c8c8;
    display: inline;
}

label input[type="checkbox"] ~ i.fa.fa-check-square-o {
    display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-square-o {
    display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-check-square-o {
    color: black;
    display: inline;
}

label:hover input[type="checkbox"] ~ i.fa {
    color: black;
}

div[data-toggle="buttons"] label.active {
    color: black;
}

div[data-toggle="buttons"] label {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 2em;
    text-align: left;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
    background-color: none;
    border: 0px solid #c8c8c8;
    border-radius: 3px;
    color: black;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

    div[data-toggle="buttons"] label:hover {
        color: #17582e;
    }

    div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }