*{
    margin: 0;
    padding: 0;
}

html, body{
    font-family: "Segoe UI", sans-serif;
    width: 100%;
    height: 100%;
    color: #535353;
	font-size: 16px;
}

h1{
    color: #fff;
    font-weight: 600;
    font-size: 26px;
    text-align: center;
}

h2{
    font-size: 20px;
    font-weight: 400;
    color: #535353;
    text-align: center;
    margin-top: 5px;
}

h3{
    font-size: 20px;
    font-weight: 600;
    color: #4abdb8;
    margin-bottom: 10px;
    text-align: center;
}

a{
    text-decoration: none;
}
.message {
	padding: 20px 0 10px 0;
	font-weight: bold;
	color: #f00;
	font-size: 18px;
	text-align: center;
}
p, table{
    color: #535353;
    font-size: 18px;
}

.tel{
    color: #535353;
    font-size: 26px;
    display: inline-block;
    clear: both;
}

.btn{
    color: #fff;
    font-size: 18px;
    background-color: #4abdb8;
    border-radius: 6px;
    padding: 8px 30px;
    margin: 20px 0;
    display: inline-block;
    clear: both;
    font-weight: 600;
    border-bottom: 2px solid #227b79;
    transition: ease 0.2s;
}

.btn:hover{
    background-color: #47a9a4;
}

table{
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    border-collapse: collapse;
}

td {
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
	word-wrap: normal;
}

tr td:first-child{
    text-align: left;
}

tr td:last-child{
    text-align: right;
}

header{
    width: 100%;
    height: 80px;
    background-color: #4abdb8;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

main{
    width: 100%;
    min-height: calc(100% - 80px);
    height: auto;
    background: url("img/bg.jpg") no-repeat center top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 10px;
}

article{
    display: flex;
    max-width: 100%;
    width: 740px;
    margin-top: 40px;
}

section{
    background-color: #fff;
    padding: 40px 20px 20px 20px;
    box-sizing: border-box;
    margin: 10px;
    border: 1px solid #4abdb8;
    text-align: center;
    position: relative;
    border-radius: 1px;
}

section:before{
    content: "";
    width: 45px;
    height: 45px;
    position: absolute;
    background: url("img/sprite.png");
    top: -22.5px;
    left: calc(50% - 22.5px);
}

.adresa:before{
    background-position: 0 0;
}

.doba:before{
    background-position: 50px 0;
}

.telefon:before{
    background-position: 100px 0;
}

.doba{
    margin-top: 40px;
}

.adresa{
    padding-bottom: 200px;
    background-image: url("img/lekarna.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}

article div, article > section{
    flex: 1 1 50%;
}

article div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

article div section{
    flex: 1 0 auto;
}

.alert{
    background-color: #ff6d00;
    border: 1px solid #d75c00;
    padding: 5px 40px;
    margin: 20px 10px 0 10px;
    max-width: 700px;
    border-radius: 1px;
}

.alert p{
    color: #fff;
    text-align: center;
}

footer{
    margin-top: 20px;
}

footer p{
    margin: 5px 0;
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 720px){
    article{
        flex-direction: column;
    }

    article div, article > section{
        flex-basis: auto;
    }

    article .adresa{
        margin-top: 40px;
    }

    p, table{
        font-size: 16px;
    }
}

@media screen and (min-width: 500px) and (max-width: 700px){
    .adresa{
        padding-bottom: calc(185px + 20vw);
    }
}
.column2
{
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: 20px 0;
	width: 100%;
	justify-content: space-between;
}
.column2 .column {
	width: 50%;
}
.column2 .column table {
	width: 100%;
}
@media screen and (max-width: 450px){
	.column2 .column {
		width: 100%;
	}
}
.column2 .column table {
	width: 200px;
	margin: 0 auto;
}
@media screen and (max-width: 720px){
	.column2 .column table {
		width: 160px;
	}
}
.column2 .column table td {
	text-align: right;
}