:root {
    --main-color: rgb(0,172,168);
    --favicon-file: url("../../favicon/ewrat/favicon.ico");
}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('../..//fonts/ewrat/opensans-bold-webfont.eot');
    src: url('../..//fonts/ewrat/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../..//fonts/ewrat/opensans-bold-webfont.woff2') format('woff2'),
    url('../..//fonts/ewrat/opensans-bold-webfont.woff') format('woff'),
    url('../..//fonts/ewrat/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../..//fonts/ewrat/opensans-regular-webfont.eot');
    src: url('../..//fonts/ewrat/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../..//fonts/ewrat/opensans-regular-webfont.woff2') format('woff2'),
    url('../..//fonts/ewrat/opensans-regular-webfont.woff') format('woff'),
    url('../..//fonts/ewrat/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body.login:after {
    background: url("../../img/ewrat/login-big.jpg") center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media all and (max-width: 2000px) {
    body.login:after {

        background: url("../../img/ewrat/login.jpg") center center no-repeat fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}

@media all and (max-width: 1000px), all and (max-height: 700px) {
    body.login:after {
        background: url("../../img/ewrat/login-mobile.jpg") center center no-repeat fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}

body {
    color: #555;
}

#header {
    z-index: 999;
    margin-bottom: 0;
}

#header:after {
    content: none;
}

.ui-dialog .ui-dialog-titlebar {
    color: rgb(217,0,51)   !important;
}

body.login #header .logo {
    width: 130px;
    margin: 0;
}

#header .logo {
    width: 130px;
    margin-top: 10px;
}

#header .selectContainer {
    margin-top: 41px;
}

.nav_left ul li a .label,
.nav_left ul li span .label {
    background: rgb(217,0,51)  ;
    color: #fff;
}

.nav_left ul li.active a .label,
.nav_left ul li.active:hover a .label,
.nav_left ul li.active span .label {
    background: #fff !important;
    color: rgb(217,0,51)   !important;
}

.content-header {
    background-color: rgb(0,172,168)   !important;
}

.bg-sdk-light {
    background: rgb(217,0,51)   !important;
}

.content-header h2#pageTitle {
    color: #fff !important;
}

.user-profile {
    background-color:rgb(0,172,168)   !important;
    color: #fff;

}

.logout,
.user-profile h3 {
    color: #fff !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single,
body .select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true] {
    background: rgb(0,172,168)  !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single #select2-AccNoSelect-container, .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__arrow b {
    color: #fff !important;
}

.nav_left ul li.active:hover a,
.nav_left ul li.active:hover span,
.nav_left ul li.active span {
    background: rgb(217,0,51)   !important;
    border-color: rgb(217,0,51)   !important;
}

.pagination > li > a, .pagination > li > span {
    color: rgb(217,0,51)   !important;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    background: #f3f3f3 !important;
    color: rgb(217,0,51)   !important;
    border-color: rgb(217,0,51)   !important;
}

.table-hover > tbody > tr:hover {
    color: #959595;
    background: #f3f3f3 !important;
    border-color: #f3f3f3 !important;
}

.nav_left ul li.active a,
.nav_left ul li.active:hover a {
    color: #fff !important;
    background: rgb(217,0,51)   !important;
}

div.bg-light-blue-active,
div.modal-primary div.modal-header,
div.modal-footer > .form-group > button.btn-custom {
    background: rgb(217,0,51)   !important;
}

.startMessages li.Message i,
.product-box .product-box-icon {
    color: rgb(217,0,51)   !important;
}

.information ul li:before,
.table-hover > tbody > tr:hover .downloadLink {
    color: rgb(217,0,51)  ;
}

a {
    color: rgb(217,0,51)  ;
}

.form-control:focus, .form-control:active {
    border-color: #911356 !important;
    box-shadow: inset 0 1px 1px rgba(225, 106, 16, 0.075), 0 0 6px rgb(217,0,51)   !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(225, 106, 16, 0.075), 0 0 6px rgb(217,0,51)   !important;
}

input[type=radio]:checked + label:before,
input[type=checkbox]:checked + label:before {
    background: rgb(217,0,51)  ;
}

input[type=checkbox]:hover + label:before, input[type=radio]:hover + label:before {
    box-shadow: 0 0 8px rgb(217,0,51)  ;
}

a:focus, a:hover {
    color: #666666;
    text-decoration: underline;
}

.btn-primary,
.btn.btn-custom,
.btn.btn-custom,
.cc_btn.cc_btn_accept_all.btn {
    background: rgb(217,0,51)   !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn.btn-custom:hover,
.btn.btn-custom:focus,
.btn.btn-custom:active,
.cc_btn.cc_btn_accept_all.btn:hover,
.cc_btn.cc_btn_accept_all.btn:focus,
.cc_btn.cc_btn_accept_all.btn:active {
    background: transparent !important;
    color: rgb(217,0,51)   !important;
    border-color: rgb(217,0,51)   !important;
    box-shadow: none !important;
    outline: none !important;
}

#footer {
    background: #fff !important;
}


#footer .element h5 {
    /*color: rgb(217,0,51)   !important;*/
    font-family: 'Open Sans', sans-serif !important;
    font-size: 22px;
}

#footer a {
    color: #999999;
}

#footer a:hover {
    color: rgb(217,0,51)  ;
    text-decoration: underline !important;
}

label.btn-primary.active {
    background: #959595 !important;
    border-color: #959595 !important;
}

#InvoiceYears label:hover, #DocumentTypes label:hover {
    color: rgb(217,0,51)   !important;
}

input[type=radio] + label:before,
input[type=checkbox] + label:before,
.bg-aqua, div.callout.callout-info,
.alert-info,
.label-info,
.modal-info .modal-body,
div.callout.callout-info a {
    border-color: #666666 !important;
}

.btn-primary {
    border-color: rgb(217,0,51)   !important;
}

::selection {
    color: #fff;
    background: #959595 !important;
}

::-moz-selection {
    color: #fff;
    background: #911356 !important;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    background: transparent;
}

::-webkit-scrollbar:vertical {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(217,0,51)  ;
    border-radius: 6px;
    border: solid 3px #fff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: none;
}

.wrapper:before {
    content: none !important;
}

@media all and (max-width: 1200px) {
    #header .inside {
        min-height: 1px;
    }

    body.login #header .logo {
        width: 100px;
    }

    #header .logo {
        width: 100px;
        margin-top: 0;
        margin-bottom: 20px;
        visibility: visible;
        opacity: 1;

        -webkit-transition: ease-out 0.5s;
        -moz-transition: ease-out 0.5s;
        -ms-transition: ease-out 0.5s;
        -o-transition: ease-out 0.5s;
        transition: ease-out 0.5s;
        position: relative;
        top: auto;
        left: auto;
        z-index: 1234569;
    }
}

@media all and (max-width: 1050px) {
    #footer {
        height: auto;
    }
}

@media (max-width: 890px) {
    #left {
        top: 75px;
    }
}


@media only screen and (min-width: 1000px) {

    body .wrapper {
        padding-top: 123px;
    }

    body.login .wrapper {
        padding-top: 92px;
    }
}

.spin {
    background: url(../../img/ewrat/gears.svg) center center no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}


* {
    font-family: 'Open Sans', sans-serif;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
.consumptionValue,
.consumption,
.last-reading-value,
.status,
.last-reading-date,
.last-reading-type,
#readingsTable input[id*="newValue"],
.user-profile h3{
    font-family: 'Open Sans Bold', sans-serif !important;
}

#cookieConsentLink,
#cookieConsentLink:active,
#cookieConsentLink:focus,
#cookieConsentLink:visited {
    color: rgb(217,0,51) !important;
    font-weight: bold;
}
#cookieConsentLink:hover {
    color: #eee !important;
    font-weight: bold;
}

#offertLoginForm button, #contractConclusionForm button {
    background-color: #00aca8 !important;
}

#offertLoginForm button:active,
#offertLoginForm button:hover,
#offertLoginForm button:focus,
#contractConclusionForm button:active,
#contractConclusionForm button:hover,
#contractConclusionForm button:focus {
    background-color: white !important;
    color: #00aca8 !important;
    border-color: #00aca8 !important;
}
