/* Prawa kolumna */

#right-col {
    background-color: inherit;
    height: 100%;
    width: calc(100vw - 270px);
    min-width: 1140px;
    overflow-y: auto;
}

#right-col>div {
    padding: 5px 20px;
}

/* Prawa kolumna - okno aplikacji */

#right-col #about-rma {
    display: flex;
    height: 68px;
}

#right-col #about-rma>div:nth-child(2) {
    margin-left: 18px;
}

#right-col #about-rma h2 {
    font-size: 30px;
    cursor: default;
}

#right-col #about-rma p {
    font-size: 23px;
    display: flex;
    cursor: default;
}

#right-col #about-rma p, #about-rma h2 {
    font-weight: 500;
}

#right-col #about-rma span {
    color: #fff;
    font-weight: 300;
    font-size: 15px;
    border-radius: 10px;
    padding: 0 25px;
    margin: 4px 25px auto;
    text-transform: uppercase;
}

#right-col #about-rma>div:nth-child(2)>div {
    height: 50%;
    position: relative;
}

#right-col #about-rma>div:nth-child(2)>div:nth-child(2) {
    display: flex;
    align-items: flex-end;
}

#right-col #about-rma>div:nth-child(1) {
    height: 68px;
    width: 68px;
    /*
    padding-top: 8px;
    padding-bottom: 4px;
    */
    margin-right: 15px;
}

#right-col #about-rma img {
    height: 100%;
    width: 100%;
}

#right-col #sub-menu {
    height: 80px;
    display: flex;
}

#right-col #sub-menu ul {
    padding: 0;
    margin: auto 0;
}

#right-col #sub-menu li {
    display: inline;
    margin-right: 40px;
    font-size: 21px;
    font-weight: 300;
    color: #a7afbd;
    cursor: pointer;
    position: relative;
}

#right-col #sub-menu li:last-child {
    margin-right: 0;
}

#right-col #sub-menu a {
    display: inline-flex;
}

#right-col #sub-menu a:active, #right-col #sub-menu a:hover {
    color: #000;
}

#right-col #sub-menu span {
    background-color: var(--main);
    color: #fff;
    font-size: 13px;
    min-width: 15px;
    border-radius: 7px;
    padding: 1px 3px;
    margin-bottom: auto;
    margin-left: 5px;
    text-align: center;
}

#right-col #main #about-rma, #right-col #main #sub-menu {
    padding-left: 10px;
}

/* kolumny aplikacji */

#col {
    height: auto;
    width: 100%;
    display: flex;
}

#col .col:nth-child(1) {
    width: 30%;
    margin-right: 1%;
}

#col .col:nth-child(2) {
    width: 30%;
    margin-left: 1%;
    margin-right: 1%;
}

#col .col:nth-child(3) {
    width: 36%;
    margin-left: 1%;
}

#col .col>div {
    background-color: #fff;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 1vw 10px;
}

#col h3 {
    text-align: center;
    color: var(--main);
    font-size: 21px;
    font-weight: 400;
    margin: 5px 0 40px;
    cursor: default;
}

#col .col>div>div:nth-child(1) {
    width: 100%;
    position: relative;
}

#col input[type="text"], #col input[type="number"], #col input[type="password"], #col select, #col textarea {
    width: 100%;
    cursor: pointer;
    border: none;
    margin: 0 6px;
    padding: 0;
}

#col fieldset {
    border-radius: 5px;
    border: 1px solid #e8ebef;
    padding: 0;
    margin: 0 0 10px ;
    cursor: pointer;
    display: flex;
    position: relative;
}

#col fieldset:hover, .fieldset_hover {
    border: 1px solid #677285 !important;
}

#col fieldset .input-action {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 12px;
    color: var(--main);
}

#col input[type="text"], #col input[type="number"], #col input[type="password"], #col select {
    height: 25px;
    margin-bottom: 3px;
}

#col select {
    -webkit-appearance: none;
    appearance: none;
}

#col textarea {
    resize: none;
    overflow: none;
    font-family: 'Barlow', sans-serif;
    margin-top: 4px;
}

#col legend {
    background-color: #fff;
    color: #677285;
    font-size: 11px;
    padding: 0 5px;
    margin: 0 10px;
}

#col #contact-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #677285;
    margin-bottom: 10px;
    line-height: 1;
    font-weight: 300;
    padding: 0 20px;
    cursor: default;
}

#col #repair-history {
    max-height: 560px;
    position: relative;
}

#col #repair-history>div {
    overflow-y: auto;
}

#col #repair-history>div::-webkit-scrollbar {
    width: 0 !important;
}

#col #repair-history>div>div {
    display: flex;
    margin-bottom: 20px;
}

#col #repair-history>div>div>div {
    position: relative;
}

#col #repair-history>div>div>div:last-child {
    width: 100%;
    border-radius: 15px;
    background-color: var(--main);
    color: #fff;
    padding: 14px 16px 7px;
}

#col #repair-history img {
    height: 40px;
    width: 40px;
}

#col #repair-history>div>div:nth-child(odd)>div:first-child {
    order: 2;
    margin-left: 10px;
}

#col #repair-history>div>div:nth-child(even)>div:first-child {
    margin-right: 10px;
}

#repair-history h4 {
    font-weight: 400;
    font-size: 16px;
    cursor: default;
}

#repair-history p {
    margin: 4px 0 35px;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.1;
    cursor: default;
}

#repair-history span {
    position: absolute;
    bottom: 6px;
    right: 15px;
    height: 20px;
    font-size: 12px;
    cursor: default;
}

input[name="device_sn"], input[name="device_imei"]{
    text-transform: uppercase !important;
}

/* klasy dla stanu uzupełnienia forlumarza */

.required {
    border: 1px solid red !important;
}

.required legend {
    color: red !important;
}



/* klasy dla stanu diagnozy */

/* stwórz własne do nadawania aktualnego stanu naprawy i przypisuj klasę do znacznika span w #about-rma */


.Odebrano.lub.wysłano {
    background-color: #191919 ;
}
.W.trakcie.diagnozy {
    background-color: #8d8400 ;
}
.Wysłana.do.serwisu {
    background-color: #0077ff ;
}
.Zgłoszono.wysyłkowo {
    background-color: #003f86 ;
}
.W.trakcie.naprawy {
    background-color: #ff5e00 ;
}
.W.serwisie.zewnętrznym {
    background-color: #742a00 ;
}
.Zakończono.naprawę {
    background-color: #00910f ;
}
.Przyjęta.do.serwisu {
    background-color: #e80e0e ;
}
.Gotowa.do.wysłania {
    background-color: #3220EC ;
}
.Oczekująca.na.części {
    background-color: #1d544e ;
}
.Oczekująca.na.decyzję {
    background-color: #1eebd3 ;
}
.Zutylizowana {
    background-color: #9900ff ;
}



/* klasy do sprawdzenia gotowości do przyjęcia */

/* stwórz własne - przykład analogicznie jak wyżej, klasa ląduje tutaj w znaczniku p w #check-readiness*/

#check-readiness {
    height: 45px;
    width: 100%;
    margin: 30px 0;
    display: flex;
}

#check-readiness p {
    margin: auto;
    text-align: center;
    font-size: 14px;
}

.sn-check-waiting:before {
    content: "Oczekuję na wpisanie numeru seryjnego lub IMEI. Numer seryjny ma 10-12 znaków, a IMEI 15 cyfr.";
    color: #677285;
}
.sn-check-checking:before {
    content: "Sprawdzam informacje o urządzeniu... Potrwa to kilka sekund.";
    color: #677285;
}
.sn-check-fine:before {
    content: "Urządzenie jest gotowe do przyjęcia w serwisie!";
    color: #00c52a;
}
.sn-check-activationlock:before {
    content: "Usługa Znajdź jest aktywna! Serwisowanie będzie możliwe dopiero po jej wyłączeniu!";
    color: #e4004b;
}
.sn-check-wrong:before {
    content: "Numer seryjny jest nieprawidłowy lub serwer Apple nie odpowiada.";
    color: #e4004b;
}

#control {
    text-align: center;
    margin: 40px 0 60px;
}

#control button {
    margin: auto;
    display: inline;
}

#sugested_address div {
    max-height: 60px;
    overflow-y: auto;
    font-size: 12px;
    text-align: center;
}

#sugested_address p {
    margin: 3px;
}

#sugested_address p:hover { 
    color: var(--main);
    cursor: pointer;
}


input[name="repair-part-manual"] {
    height: 23px !important; 
    width: 100%; 
    margin: 0 0 3px !important;
    padding: 0px 6px !important;
    font-size: 12px !important;
}
.repair-part {
    display: inline-block;
    margin: 0 0 3px !important;
    padding: 0px 6px !important;
    font-size: 12px !important;
    cursor: pointer;
}
.repair-part-tag {
    display: inline-block;
    margin: 0 0 3px !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
    cursor: pointer;
}
.repair-part-tag:hover {
    color: red !important;
}
.repair-part-tag-remove {
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
}
#service_parts {
    max-height: 100px; 
    width: 100%; 
    overflow-y: auto; 
    border: 0 !important;
}
#repair-my-storage>div>div {
    padding: 10px 0
}