/* Reguły globalne: body, pola formularzy, odstępy, ceny promocyjne (priceDiscount), przełącznik netto/brutto (switchBtn)
   i układ stron (contentAbsolute, contentBox). Dawne legacy/styles.css i legacy/mobile.css, tylko reguły nadal działające.
   Ładowany w layout.html w miejscu dawnego mobile.css, przed modal.css, account.css i toast.css. */

body,
html {
    background-color: #f5f6fa;
    background-size: 100% auto;
    background-repeat: no-repeat;
    font-family: 'Comfortaa', sans-serif !important;
    overflow-x: hidden;
    overflow-y: auto;
    color: #545874;
    font-size: 14px;
    margin: 0px;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
}

a,
:focus {
    outline: 0;
}

/* widoczny fokus z klawiatury (EAA) dla elementów bez własnego stylu :focus-visible; reguła wyżej gasi obramowanie przy kliknięciu */
:focus-visible {
    outline: 3px solid #6556e7;
    outline-offset: 2px;
}

/* bez !important przy rozmiarze: pola nowego wyglądu mają własny (15-16 px), a wcześniej zawsze dostawały 14 px */
input,
textarea,
select {
    font-size: 14px;
    font-family: 'Comfortaa', sans-serif !important;
}

.space10 {
    width: 100%;
    height: 10px;
}

.space20 {
    width: 100%;
    height: 20px;
}

.domainBox,
.summaryBox {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    display: none;
}

.domainBox,
.summaryBox {
    background: #f5f6fa;
}

.emptyContainerRegister {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    color: #b0b4c9;
    text-align: center;
    display: table;
    z-index: 1;
    background: #f5f6fa;
}

.emptyContainerRegister {
    background: transparent;
}

.emptyContainerRegister > div {
    display: table-cell;
    vertical-align: middle;
}

.emptyContainerRegister > div > i {
    font-size: 120px;
    display: inline-block;
    color: #cccfde;
}

.priceDiscount,
.priceNetto,
.priceTransfer {
    position: relative;
    font-weight: bold;
    margin-left: 10px;
    float: right;
}

.priceDiscount {
    display: none;
}

.priceDiscount span:nth-child(2) {
    color: #6556e7;
    margin-left: 10px;
}

.priceDiscount span:nth-child(3) {
    color: #fff;
    background: #6556e7;
    width: 30px;
    height: 25px !important;
    border-radius: 30px;
    font-size: 11px;
    position: absolute;
    text-align: center;
    line-height: 25px !important;
    font-weight: bold;
    top: -18px;
    right: -30px;
}

.formLoaderBox {
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.mat-dialog-container {
    border-radius: 5px !important;
    padding: 0px !important;
    line-height: normal;
    overflow-x: hidden !important;
}

i.fa-spin {
    -webkit-animation: fa-spin 0.8s infinite linear;
    animation: fa-spin 0.8s infinite linear;
}

.mat-dialog-container {
    max-height: 90vh !important;
}

.oldPrice {
    text-decoration: line-through;
    color: #b0b4c9;
}

.inputAutocomplete {
    position: absolute;
    opacity: 0;
    z-index: -10;
}

::placeholder {
    color: #b0b4c9;
    opacity: 1;
}

.contentAbsolute {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.contentBox {
    position: relative;
    float: left;
    width: 100%;
}

.contentBox .fullContent {
    width: 1350px;
    height: 450px;
    position: relative;
    margin: 0 auto;
}

.contentBox .fullContent {
    height: auto;
}

.domainSpace {
    height: 100px;
    width: 100%;
}

.switchBtn {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switchBtn input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sliderBtn {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b6bad1;
    -webkit-transition: .4s;
    transition: .4s;
}

.sliderBtn:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.switchBtn input:checked + .sliderBtn {
    background-color: #6556e7;
}

.switchBtn input:checked + .sliderBtn:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.sliderBtn.round {
    border-radius: 34px;
}

.sliderBtn.round:before {
    border-radius: 50%;
}

.domainExistTr {
    display: none;
}

.domainExistTr td {
    border: 0px !important;
    padding-top: 30px !important;
    position: relative;
}

.domainExistTr td input[type="checkbox"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
}

.domainExistTr td:last-of-type {
    padding-left: 0px !important;
}

.domainExistTr td:last-of-type label {
    line-height: 20px;
    font-weight: bold;
}

.domainExistTr .requiredIcon {
    font-weight: bold;
    color: red;
}

.domainExistTr .requiredInfo {
    top: auto;
    bottom: -20px;
    background: red;
    color: #fff;
    position: absolute;
    left: 0px;
    width: -moz-calc(100% - 30px);
    width: -webkit-calc(100% - 30px);
    width: -o-calc(100% - 30px);
    width: calc(100% - 30px);
    font-size: 12px;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    text-align: center;
    display: none;
    z-index: 1;
    font-weight: bold;
}

#CookiebotWidget {
    -webkit-transition: bottom 0.3s ease-in-out, right 0.3s ease-in-out !important;
    -o-transition: bottom 0.3s ease-in-out, right 0.3s ease-in-out !important;
    -moz-transition: bottom 0.3s ease-in-out, right 0.3s ease-in-out !important;
    transition: bottom 0.3s ease-in-out, right 0.3s ease-in-out !important;
}

@media (max-width: 1600px) {
    .domainInfo {
        height: 450px !important;
    }

}

@media (max-width: 1310px) {
    .domain {
        width: -moz-calc(100% - 20px) !important;
        width: -webkit-calc(100% - 20px) !important;
        width: -o-calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .certificateTitle > h3 {
        margin-top: 28px !important;
    }

}

@media (max-width: 1130px) {
    .contentBox:not(.certificatePanelBox)  .fullContent {
        width: 100% !important;
    }

    .contentBox {
        background: #f5f6fa !important;
    }

    #transferService {
        padding-top: 120px !important;
        padding-bottom: 20px !important;
        background: #fff !important;
    }

    #contact {
        margin-top: 0px !important;
        padding-top: 20px !important;
        padding-bottom: 0px !important;
        height: auto !important;
    }

    .mainRegisterFooter {
        display: none !important;
    }

    .emptyContainerRegister {
        padding: 20px;
        width: -moz-calc(100% - 40px) !important;
        width: -webkit-calc(100% - 40px) !important;
        width: -o-calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
        height: -moz-calc(100% - 40px);
        height: -webkit-calc(100% - 40px);
        height: -o-calc(100% - 40px);
        height: calc(100% - 40px);
        top: 0px !important;
        position: relative;
    }

    .certificateList {
        display: block !important;
    }

    .spaceCertificate {
        display: inline-block !important;
    }

    .server,
    .certificateBox .certificate {
        display: inline-block !important;
        width: -moz-calc(50% - 50px) !important;
        width: -webkit-calc(50% - 50px) !important;
        width: -o-calc(50% - 50px) !important;
        width: calc(50% - 50px) !important;
    }

}

@media (max-width: 805px) {
    .restDomains > div {
        width: 100% !important;
        margin-top: -20px !important;
    }

}

@media (max-width: 710px) {
    .server,
    .certificateBox .certificate {
        width: -moz-calc(100% - 40px) !important;
        width: -webkit-calc(100% - 40px) !important;
        width: -o-calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
        margin-top: 0px !important;
        margin-left: 0px !important;
    }

}

@media (max-width: 575px) {
    #contact .captcha {
        margin-right: 0px !important;
    }

}

@media (max-width: 415px) {
    .jquery-modal.blocker {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }


}

/* pozostałe pola: autouzupełnianie bez niebieskiego tła Chrome (tło zmienia się dopiero po bardzo długim przejściu),
   tekst w kolorze nagłówków; pola formularzy nowego wyglądu mają dokładniejszą regułę w components/home.css */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #2e3049;
    transition: background-color 600000s 0s, color 600000s 0s;
}

/* telefon: pola tekstowe min. 16 px, inaczej Safari na iPhonie powiększa stronę po dotknięciu pola */
@media (max-width: 640px) {
    html body input[type="text"],
    html body input[type="email"],
    html body input[type="tel"],
    html body input[type="search"],
    html body input:not([type]),
    html body textarea {
        font-size: 16px;
    }
}
