@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

/* Kolory */
/* blue: #01289A */
/* yellow: #F4DE6E */
/* pink: #FA9ED1 */
/* lightblue: #6CACE4 */
/* gray: #EFEFEF */
/* darkgray: #B4B1AC; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
.container {
    max-width: 1170px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    background-image: url('img/baner.jpg');
}

.box {
    display: flex;
    min-height: 500px;
}
@media only screen and (max-width: 850px) {
    .box {
        flex-direction: column;
        flex-direction: column-reverse;
    }
}
.item-one {
    flex: 1;
    /* overflow: hidden; */
}

.item-one img {
    width: 100%;
    height: 100%;
    /* transform: scale(1.5); */
    object-fit: cover;
}
.item-two {
    flex: 1;
    position: relative;
}


.yellow-box {
    padding: 20px;
    width: calc(100% + 20px);
    background-color: #F4DE6E;
    text-align: center;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    color: #01289A;
}
@media only screen and (max-width: 850px) {
    .yellow-box {
        font-size: 16px;
        position: relative;
        width: 100%;
        left: 0;
        transform: translateY(0%);
    }
}
.yellow-box h1 {
    font-weight: 300;
    margin: 0 !important;
    font-size: 50px;
}

@media only screen and (max-width: 1200px) {
    .yellow-box h1 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 992px) {
    .yellow-box h1 {
        font-size: 35px;
    }
}

@media only screen and (max-width: 870px) {
    .yellow-box h1 {
        font-size: 35px;
    }
}
.yellow-box span {
    font-weight: 700;
}
.pink-box {
    background-color: #FA9ED1;

    width: 318px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 72%;

    transform: translate(-50%);
}
@media only screen and (max-width: 850px) {
    .pink-box {
        position: relative;
        margin: 20px 0;
    }
}

.pink-box p {
    font-weight: 500;
	color: #01289A !important;
	font-family: "Roboto", sans-serif;
	margin-bottom: 0;
	font-size: 30px;
}

@media only screen and (max-width: 992px) {
    .pink-box p  {
        font-size: 22px;
    }
}

.case {
    position: relative;
    display: flex;
    min-height: 500px;
}
@media only screen and (max-width: 850px) {
    .case {
        flex-direction: column;
    }
}
.case:nth-of-type(odd) {
    flex-direction: row-reverse;
}
@media only screen and (max-width: 850px) {
    .case:nth-of-type(odd) {
        flex-direction: column;
    }
}

.case-content {
    padding: 60px;
}
.case-content h2 {
    /* padding-bottom: 15px; */
    margin: 0;
    padding: 0;
    font-size: 30px;
    font-weight: 500;
    color: #01289A;
}
.case-content p {
    color: #808080;
    font-weight: 500;
    font-size: 13px;
    margin: 27px;
}
.case-item-one {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #EFEFEF;
}

.case-item-two {
    flex: 1;
}
.case-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}
@media only screen and (max-width: 850px) {
    .case-images {
        padding: 20px;
    }
}
.case-images img {
    height: 100%;
}
.img {
    flex: 50%;
    text-align: center;
    font-size: 16px;
}
.img:nth-of-type(1), .img:nth-of-type(3) {
    padding-left: 5px;
}
.img:nth-of-type(2), .img:nth-of-type(4) {
    padding-left: 5px;
}
.img:nth-of-type(5) {
    max-width: 250px;
}
@media only screen and (max-width: 850px) {
    .img:nth-of-type(5) {
        max-width: 413px;
    }
}
@media only screen and (max-width: 700px) {
    .img:nth-of-type(5) {
        max-width: 320px;
    }
}
@media only screen and (max-width: 500px) {
    .img:nth-of-type(5) {
        max-width: 209px;
    }
}
.img p {
    padding: 6px 0;
    color: #01289A;
    font-size: 12px;
    font-weight: 500;
}
.img img {
    height: auto;
    width: 100%;
}
.notes {
    display: flex;
}

.notes-one {
    padding-bottom: 20px;
    height: 50%;
}
.notes-two {
    padding-top: 20px;
    height: 50%;
}

.notes-column-one {
    flex: 1;
    padding-right: 40px;
}
.notes-column-two {
    flex: 1;
}

.img-notes img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.open-note-box {
    display: flex;
    justify-content: center;
}
.open-note {
    padding: 0 40px 40px 40px;
}
@media only screen and (max-width: 992px) {
    .open-note {
        padding: 0 20px 20px 20px;
    }
}
.open-note img {
    width: 100%;
    height: 100%;
}
.note-banner-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 40px 40px 40px;
}
@media only screen and (max-width: 992px) {
    .note-banner-box {
        padding: 0 20px 20px 20px;
    }
}
.note-title {
    flex: 1;
    z-index: 10;
}
.note-title:nth-of-type(1) {
    padding-bottom: 20px;
}
.note-title img {
    width: 100%;
    height: 100%;
}
.red-box {
    position: relative;
}
.red-note, .gray-note {
    height: 100%;
    padding: 0 40px 40px 40px;
}
@media only screen and (max-width: 992px) {
    .red-note, .gray-note {
        padding: 0 20px 20px 20px;
    }
}
.gray-note {
    position: relative;
}
.red-note img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gray-note img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-one {
    position: absolute;
    height: 40px;
    width: 100px;
    background-color: #6CACE4;
    bottom: 0;
}

.box-two {
    position: absolute;
    height: 60px;
    width: 40px;
    background-color: #FA9ED1;
    bottom: 0;
    right: 0;
}
.box-three {
    position: absolute;
    height: 30px;
    width: 100px;
    background-color: #F4DE6E;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
}
.box-four {
    position: absolute;
    height: 80px;
    width: 60px;
    background-color: #FA9ED1;
    bottom: 0;
    right: 0;
}
.box-five {
    position: absolute;
    height: 40px;
    width: 50px;
    background-color: #F4DE6E;
    bottom: 0;
    right: 0;
}
.box-six {
    position: absolute;
    height: 60px;
    width: 80px;
    background-color: #6CACE4;
    bottom: 0;
    left: 0;
}
.box-seven {
    color: #01289A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 120px;
    width: 120px;
    background-color: #FA9ED1;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
	font-weight: 400;
}


.box-seven span:nth-of-type(1) {
    font-size: 55px;
	line-height: 30px;
}
.box-seven span:nth-of-type(2) {
    font-size: 30px;
}
.box-seven span:nth-of-type(3) {
    font-size: 15px;
	line-height: 0px;
}

.box-eight {
    color: #01289A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 120px;
    width: 120px;
    background-color: #6CACE4;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
	font-weight: 400;
}

@media only screen and (max-width: 992px) {
    .box-eight {
        right: 20px;
    }
}

.box-eight span:nth-of-type(1) {
    font-size: 55px;
	line-height: 30px;
}
.box-eight span:nth-of-type(2) {
	font-size: 30px;
}
.box-eight span:nth-of-type(3) {
    font-size: 15px;
	line-height: 0px;
	font-weight: 400;
}

.box-nine {
    position: absolute;
    height: 30px;
    width: 100px;
    background-color: #F4DE6E;
    bottom: 0;
    left: 52%;
    transform: translate(-50%);
}
/* .btn  {
    background-color: #01289A;
	display: inline-block;
    color: #FFF;
    text-decoration: none;
    padding: 1px 8px !important;
    font-size: 20px !important;
    font-weight: 400;
	border-radius: 0 !important;
}
.btn:hover {
	color: #fff !important;
} */

.express_btn {
	text-transform: uppercase !important;
}
 .break {
    width: 2px;
}
