/* fonts */
@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/nunito/Nunito-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

html {
    height: 100%;
}

body {
    font-size: 8pt;
    font-family: arial, sans-serif;
    color: #545454;
    margin: 0px;
    padding: 0px;
    border: 0px;
    background-color: #a3bcd6;
    background-image: url('../../images/login/bodyBg.jpg');
    background-repeat: repeat-x;
    background-position: top;
}

a, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #545454;;
}

#logoHtmlTop {
    position: absolute;
    top: 0px;
    left: 0px;
}

#centerFormPaddingTop {
    background: url('../../images/login/centerFormPaddingTop.png') 0% 0% no-repeat;
}

#centerFormPaddingRight {
    background: url('../../images/login/centerFormPaddingRight.png') 100% 0% no-repeat;
}

#centerFormPaddingBottom {
    padding-top: 14px;
    padding-right: 22px;
    padding-bottom: 30px;
    background: url('../../images/login/centerFormPaddingBottom.png') 100% 100% no-repeat;
}

#centerForm {
    width: 429px;
    margin: 0 auto;
    margin-top: 12%;
    font-size: 14px;
    font-family: arial, sans-serif;
}

#centerFormTop {
    background-image: url('../../images/login/centerFormTopBg.png');
    background-repeat: no-repeat;
    height: 65px;
    border-bottom: 1px solid #ffffff;
    border-radius: 4px 4px 0 0;
    padding-right: 5px;
    padding-left: 5px;
}

#centerFormMiddle {
    background-image: url('../../images/login/centerFormMiddleBg.png');
    background-repeat: repeat-x;
    padding: 18px 20px 18px 15px;
}

#centerFormMiddle::after {
    content: "";
    display: block;
    clear: both;
}

#centerForm .dd, #centerForm .ddTitle, #centerForm span.ddTitleText {
    font-size: 14px;
}

.hr {
    background-image: url('../../images/login/centerFormMiddleHrBg.png');
    background-repeat: repeat-x;
    width: 100%;
    height: 4px;
    margin: 20px 0 20px 0;
}

label {
    padding: 0;
}

input[type=text], input[type=password], select {
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #c3c3c3;
    border-radius: 4px;
    background: url('../../images/login/inputBg.png') repeat-x;
    color: #545454;
    font-family: arial, sans-serif;
    font-size: 14px;
    float: right;
}

select {
    padding: 1px 0;
}

@-moz-document url-prefix() {
    select {
        padding: 1px 4px;
    }
}

div.fieldWrapper {
    display: flex;
    align-items: center;
    justify-content: right;
    min-height: 26px;
    margin: 10px 0 10px 0;
    padding-right: 14px;
    box-sizing: border-box;
}

div.fieldWrapper::after {
    content: "";
    display: block;
    clear: both;
}

input[type=submit], input[type=button] {
    color: #ffffff;
    background-color: #212830;
    background-image: url("../../images/forms/button_bg.png");
    background-repeat: repeat-x;
    border: 1px solid #6b7179;
    border-radius: 6px 6px 6px 6px;
    padding: 3px 12px 3px 12px;
    font-size: 14px;
}

input[type=submit]:hover, input[type=button]:hover {
    cursor: pointer;
    background-color: #d4d4d4;
    background-image: url('../../images/forms/button_hover_bg.png');
    color: #4d4d4d;
    border: 1px solid #b1b1b1;
}

#crm7Logo {
    margin: 10px;
    margin-left: 20px;
}

#zalogujBtn {
    float: right;
    outline: none;
    cursor: pointer;
}

#zalogujBtn div, #zalogujGoogleBtn div {
    float: right;
    width: 100%;
    color: #757575;
    overflow-wrap: anywhere;
}

#googleSigninForm {
    float: right;
    display: inline;
    text-align: center;
}

#zalogujGoogleBtn {
    background: url('../../images/login/btn_google_login_empty.png') no-repeat 10px 5px;
    background-size: 20px;
}

#zalogujGoogleBtn {
    width: 250px;
    height: auto;
    margin-top: 5px;
    color: #4d4d4d;
    font-weight: bold;
    padding: 5px 12px;
    background-color: #f5f7fa;
    transition: 0.15s;
    border: 1px solid #cbd0dd;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
    margin-right: 6px;
}

#zalogujGoogleBtn:hover {
    background-color: #e3e6ed;
}

#googleSigninForm img {
    width: 100px;
}

#passwordResetSendCodeBtn {
    margin: 5px 0 10px 0;
    width: 250px;
    background-color: #f5f7fa; /* var(--btn-color); */
    border: 1px solid #cbd0dd; /* var(--input-color-border); */
    color: #757575;
    background-image: none;
    line-height: 20px;
    border-radius: 5px;
    padding: 5px 12px;
    font-weight: bold;
    transition: 0.15s;
}

#passwordResetSendCodeBtn:hover {
    background-color: #e3e6ed;
}

#footer {
    height: 49px;
    width: 100%;
    background-color: #75a3d3;
    background-image: url('../../images/login/footerBg.png');
    background-repeat: no-repeat;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer p {
    padding: 7px 7px 6px 7px;
    display: inline;
}

#footer #conowego {
    display: inline-block;
    font-weight: bold;
}

#footer .copyright {
    float: left;
}

.appVersion {
    float: right;
    padding-top: 31px;
    padding-right: 20px;
    margin: 0;
}

#centerForm .appVersion {
    color: #6b9ed2;
}

.error {
    margin-right: 14px;
    margin-bottom: 8px;
    text-align: right;
    font-weight: bold;
    color: red;
}

.error:empty {
    display: none;
}

.centerFormUpDown {
    min-width: 450px;
    margin: 0 auto;
    text-align: center;
}

#sync_desc {
    color: rgb(60, 60, 60);;
    font-size: 11px;
    margin: 5px 0px;
}

#sync_progressbar {
    height: 14px;
    width: 298px;
    border: 1px solid black;
    padding: 1px;
    margin: 0px auto;
    text-align: left;
}

#sync_progress {
    background-color: rgb(66, 115, 148);
    height: 14px;
    width: 1px;
    margin: 0px;
}

#sync_lastdate {
    margin: 10px 0px;
}

#sync_trigger {
    margin-top: 5px;
}

#sync {
    display: none;
}

.warning {
    color: red;
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

#centerForm * .dd .ddTitle {
    border: 1px solid #C3C3C3;
}

#checkAuthorSite {
    display: block;
    padding: 10px;
    font-size: 16px;

}

#checkAuthorSite a {
    font-weight: bold;
    color: #6B9ED2;
}

#passwordResetLinkContainer {
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 20px;
    right: 10px;
    font-size: 12px;
    text-decoration: underline;
}

#passwordResetSendCodeContainer {
    text-align: right;
    margin-right: 14px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #fff;
    background-image: none;
    font-size: 18px;
}

img {
    max-width: 100%;
}

input[type="text"], input[type="password"], select {
    width: 100%;
    height: auto;
    background-image: none;
    padding: 16px;
    font-size: 18px;
    line-height: 26px;
    border: 1px solid #cbd0dd;
}

input:focus, select:focus {
    border-color: #5A8CB0 !important;
    box-shadow: none;
    outline: none;
}

h1 {
    font-size: 40px;
    font-weight: 600;
    margin: 30px 0 0 0;
}

h2 {
    font-size: 36px;
    font-weight: 400;
    margin: 20px 0 0 0;
}

#s-v2-container {
    width: 100vw;
    height: 100vh;
    display: flex;
}

#s-left, #s-right {
    width: 50%;
    height: 100%;
    overflow-x: scroll;
}

@media (max-width: 980px) {
    #s-v2-container {
        flex-wrap: wrap;
    }

    #s-left {
        width: 100%;
        height: auto;
        overflow-x: auto;
        order: 2;
    }

    #s-right {
        width: 100%;
        order: 1;
    }
}

#s-left {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#s-right {
    background-image: linear-gradient(150deg, #fff0, #48789acc), url('../../images/right-bg.jpg');
    background-size: cover;
    background-position: top center;
}

#logo {
    display: block;
    position: relative;
}

#logo div {
    position: absolute;
    background: #000;
    width: 21px;
    height: 21px;
    border-radius: 100px;
    transform: scale(0);
    transition: 0.22s;
}

#logo div:nth-child(2), #logo div:nth-child(3), #logo div:nth-child(4) {
    top: 0;
}

#logo div:nth-child(2) {
    left: 128px;
    transition-delay: 0s;
}

#logo div:nth-child(3) {
    left: 154px;
    transition-delay: 0.1s;
}

#logo div:nth-child(4) {
    left: 179px;
    transition-delay: 0.2s;
}

#logo div:nth-child(5) {
    top: 20px;
    left: 165px;
    transition-delay: 0.3s;
}

#logo div:nth-child(6) {
    top: 42px;
    left: 154px;
    transition-delay: 0.4s;
}

#logo:hover div {
    transform: scale(1);
}

div.fieldWrapper {
    flex-wrap: wrap;
    justify-content: left;
}

div.fieldWrapper label {
    width: 100%;
    text-align: left;
    margin: 10px 0 10px 0;
}

#passwordResetLinkContainer {
    position: static;
    text-align: left;
    font-size: 16px;
}

#conowego, #s-left .appVersion {
    margin: 0;
    padding: 0;
}

#s-left-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#zalogujBtn {
    background-size: auto 32px;
    background-repeat: no-repeat;
    background-position: 16px 8px;
    margin: 5px 14px 0 0;
}

#zalogujBtn:hover {
    background-color: #e3e6ed;
}

/* *** nowe strony logowania - nadpisania styli *** */
/* nie modyfikuję tyli wyżej, tak jak poprosiliście, robie tylko nadpisania, a Wy sobie to zintegrujecie tak jak będziecie chcieli */

body { font-family: 'Nunito', sans-serif; }

input[type="text"], input[type="password"], select { padding: 6px 8px; }
div.fieldWrapper label { margin: 4px 0 3px 0; color: #889; font-size: 16px; }

#s-left { padding: 20px; }
#s-left-top { display: flex; gap: 20px; }
#s-left-top header { max-height: 120px; display: flex; }
.logo { height: 100%; display: flex; align-items: center; }
.logo img { width: auto; height: 100%; max-height: 120px; display: block; }
#s-left-form { width: 100%; max-width: 520px; margin: 0 auto; flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; padding: 0 0 30px 0; }
#s-left-bottom { padding: 0 7px 0 7px; }
#s-left-bottom > * { flex: 1 1 0; }
#s-left-bottom > .appVersion { text-align: right; }
#s-client-link a { /* background: linear-gradient(to bottom, #d4d4d4, #dbdbdb, #ababab 85%, #ababab 100%); */
    display: inline-block;
    /*border: 1px solid #eaeaea;*/
    padding: 8px 16px;
    border-radius: 2px;
    text-decoration: underline;
}
#logo-crm7 { max-width: 200px; }

#s-right { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 30px; }
#s-right-top { width: 100%; max-width: 750px; }

#s-client-desc {
    background: #ffffff8a;
    padding: 15px;
    color: #333;
    max-height: 250px;
    overflow-y: auto;
}

#s-client-desc p {
    margin-top: 0;
}

#s-client-desc a {
    color: revert;
}


#s-client-desc p:last-child {
    margin-bottom: 0;
}

#zalogujBtn {
	width: 100%;
	max-width: 250px;
	height: auto;
	background-color: #f5f7fa; /* var(--btn-color); */
	border: 1px solid #cbd0dd; /* var(--input-color-border); */
	color: #4d4d4d; /* var(--text-color); */
	background-image: none;
	line-height: 20px;
	border-radius: 5px;
	padding: 5px 12px;
	font-weight: bold;
	transition: 0.15s;
}

#zalogujBtn div {
	width: 100%;
	font-size: 12px;
}

#zalogujBtn:hover {
	background-color: #e3e6ed; /* var(--btn-color-hover); */
}

@media (max-width: 980px) {
	#s-left { height: calc(100% - 120px); }
	#s-right { max-height: 120px; padding: 0; justify-content: center; }
	#s-right-top, #s-right-bottom { display: none; }
}

@media (max-width: 767px) {
	#s-left-bottom { flex-direction: column; gap: 12px; }
}