/* 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: 90px;
    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 #main #sub-menu .active, #right-col #main #sub-menu li:hover {
    color: #000 !important;
}

#right-col #sub-menu span {
    background-color: #114C81;
    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: #114C81;
    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="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 {
    border: 1px solid #677285;
}

#col fieldset .input-action {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 12px;
    color: #114C81;
}

#col input[type="text"], #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;
    overflow-y: auto;
    position: relative;
}

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

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

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

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

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

#col #repair-history>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"] {
    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 */


.Wysłano.do.klienta, .Do.rozpatrzenia {
    background-color: lightskyblue ;
}

.Pozytywna {
    background-color: green ;
}

.Negatywna {
    background-color: red ;
}
.Odroczona {
    background-color: purple ;
}
.Rezygnacja {
    background-color: black ;
}
.Wypełniony {
    background-color: orange ;
}



/* 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;
}
