body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

header {
    width: 100%;
    height: 210px;
    
    font-family: 'Lora', serif;
}

.clear {
    clear: both;
}

#h_top {
    width: 100%;
    height: 10px;
    
    background-color: rgb(44,67,97);
}

#h_bottom {
    width: 100%;
    height: 200px;
    display: inline-block;

}

.h_bottom {
    height: 200px;
}

#h_left {
    float: left;
    width: calc((100% - 1550px) / 2);
    background-color: rgb(121,150,182);
}

#h_center {
    float: left;
    width: 1550px;
    
    background-image: url("images/bg_top.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    
    text-align: center;
    color: #e7e7e7;
}

header p {
    margin: 0;
    padding: 0;
    
    text-shadow: 2px 2px 2px rgba(30,30,30,0.7);
}

#h_p1 {
    margin: 50px 0 5px 0;
    
    letter-spacing: 7px;
    font-size: 26px;
}

#h_p2 {
    letter-spacing: 10px;
    font-size: 60px;
}

#h_right {
    float: right;
    width: calc((100% - 1550px) / 2);
    background-color: rgb(23,42,69);
}

@media (max-device-width: 1550px) {
    #h_left {
        display: none;
    }
    
    #h_center {
        width: 100%;
    }
    
    #h_right {
        display: none;
    }
}

@media (max-width: 1550px) {
    #h_left {
        display: none;
    }
    
    #h_center {
        width: 100%;
    }
    
    #h_right {
        display: none;
    }
}

nav {
    width: 100%;
    height: 60px;
    
    border-top: 1px solid rgb(120,150,180);
    border-bottom: 3px solid white;
    
    background: linear-gradient(rgb(70,60,50), rgb(30,30,30));
    background: -webkit-linear-gradient(rgb(70,60,50), rgb(30,30,30));
    
    box-shadow: 0 8px 13px rgba(0,0,0,0.17);
    
    text-align: center;
    font-family: 'Times New Roman';
}

#nav_content img {
    display: none;
    margin-top: 5px;
    width: 46px;
}

nav ul {
    margin-top: 21px;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
    margin: 0 30px 0 30px;
    
    border-bottom: 2px solid rgba(90,130,190,0);
    
    transition: 0.5s;
}

nav li:hover {
    border-bottom: 2px solid rgba(110,150,210,1);
}

nav #active {
    border-bottom: 2px solid rgba(70,120,170,1);
}

nav #active:hover {
    border-bottom: 2px solid rgba(110,150,210,1);
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

#content {
    width: 1060px;
    min-height: 500px;
    margin: 20px auto 0 auto;
    
    -webkit-box-shadow: 0px 25px 39px -27px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 25px 39px -27px rgba(0,0,0,0.5);
    box-shadow: 0px 25px 39px -27px rgba(0,0,0,0.5);
}

.c_left {
    float: left;
    width: 290px;
    height: 410px;
    
    background-image: url("images/bg_cont_left.png");
    background-repeat: no-repeat;
    background-position: center center;
    
    font-family: 'Georgia';
    font-size: 13px;
}

#cl_content {
    padding: 18px 0 0 27px;
    
    color: rgb(50,80,110);
}

#cl_content p {
    line-height: 25px;
}

#cl_p1 {
    color: rgb(60,60,60);
    font-weight: 700;
}

#cl_p2 {
    font-weight: 700;
}

#cl_p4, #cl_p5 {
    margin-top: 35px;
}

.c_right {
    float: right;
    width: calc(100% - 315px);
    padding: 0 25px 50px 0;
    
    font-family: 'Times New Roman';
    font-size: 16px;
    color: rgb(50,50,50);
}

.cr_content {
    padding: 18px 0 0 25px;
}

.c_right li {
    margin-bottom: 12px;
}

#crz_content p {
    font-weight: 700;
}

.crk_content { padding: 18px 0 0 25px; }
.crk_content .clause { font-size: 24px; font-weight: 700; text-transform: uppercase; }
.crk_content .section-title { font-weight: 700; }
.crk_content a { text-decoration: none; color: rgb(50,80,110); transition: .3s; }
.crk_content a:hover { color: rgb(50,80,110); opacity: .7; transition: .3s; }
.crk_content ul li ul { margin-top: 12px; }

footer {
    width: 1060px;
    height: 50px;
    margin: 25px auto 30px auto;
    
    font-family: 'Georgia';
    font-size: 12px;
    color: rgb(150,160,170);
}

#f_content {
    padding-top: 15px;
}

#fc_left {
    float: left;
    padding-left: 20px;
}

#fc_right {
    float: right;
    padding-right: 20px;
}

#fcl_small {
    display: none;
    line-height: 18px;
}

#map {
    float: right;
}

#gmap_canvas {
    width: 520px;
}

#map1 {
    width: 520px;
}

@media (max-device-width: 1060px) {
    #content {
        width: 100%;
    }
    
    footer {
        width: 100%;
    }
    
    #map {
        margin-right: 30px;
    }
}

@media (max-width: 1060px) {
    #content {
        width: 100%;
    }
    
    footer {
        width: 100%;
    }
}

@media (max-device-width: 860px) {
    #gmap_canvas {
        width: 350px;
    }
    
    #map1 {
        width: 350px;
    }
}

@media (max-width: 860px) {
    #gmap_canvas {
        width: 350px;
    }
    
    #map1 {
        width: 350px;
    }
}

@media (max-device-width: 825px) {
    footer {
        text-align: center;
    }
    
    #f_content {
        padding-top: 0;
    }
    
    #fc_left {
        float: none;
        padding: 0;
    }
    
    #fc_right {
        float: none;
        padding: 10px 0 20px 0;
    }
    
    #fcl_large {
        display: none;
    }
    
    #fcl_small {
        display: block;
    }
}

@media (max-width: 825px) {
    footer {
        text-align: center;
    }
    
    #f_content {
        padding-top: 0;
    }
    
    #fc_left {
        float: none;
        padding: 0;
    }
    
    #fc_right {
        float: none;
        padding: 10px 0 20px 0;
    }
    
    #fcl_large {
        display: none;
    }
    
    #fcl_small {
        display: block;
    }
}

@media (max-device-width: 700px) {
    #content {
        min-height: 300px;
    }
    
    .c_left {
        float: none;
        margin: auto;
        text-align: center;
    }
    
    #c_left_zakres, #c_left_zaufali {
        display: none;
    }
    
    #cl_content {
        padding-left: 0;
    }
    
    .c_right {
        float: none;
        margin: auto;
        width: 100%;
        padding-right: 0;
    }
    
    #nav_content {
        position: absolute;
        width: 46px;
        margin: auto;
        left: calc(50% - 23px);
    }
    
    #nav_content img {
        display: block;
    }
    
    #nav_content:hover ul {
        display: block;
        width: 180px;
        margin-left: -70px;
        padding: 10px 0 5px 0;
        opacity: 1;
        
        background: linear-gradient(rgb(70,60,50), rgb(30,30,30));
        background: -webkit-linear-gradient(rgb(70,60,50), rgb(30,30,30));
        
        box-shadow: 0 8px 13px rgba(0,0,0,0.25);
        
        z-index: 5;
    }
    
    nav ul {
        display: none;
        margin-top: 0;
    }

    nav li {
        display: list-item;
        margin: 0 0 12px 0;
    }
    
    #map {
        float: none;
        margin-right: 0;
        margin-left: calc(50% - 175px);
    }
}

@media (max-width: 700px) {
    #content {
        min-height: 300px;
    }
    
    .c_left {
        float: none;
        margin: auto;
        text-align: center;
    }
    
    #c_left_zakres, #c_left_zaufali {
        display: none;
    }
    
    #cl_content {
        padding-left: 0;
    }
    
    .c_right {
        float: none;
        margin: auto;
        width: 100%;
        padding-right: 0;
    }
    
    #nav_content {
        position: absolute;
        width: 46px;
        margin: auto;
        left: calc(50% - 23px);
    }
    
    #nav_content img {
        display: block;
    }
    
    #nav_content:hover ul {
        display: block;
        width: 180px;
        margin-left: -70px;
        padding: 10px 0 5px 0;
        opacity: 1;
        
        background: linear-gradient(rgb(70,60,50), rgb(30,30,30));
        background: -webkit-linear-gradient(rgb(70,60,50), rgb(30,30,30));
        
        box-shadow: 0 8px 13px rgba(0,0,0,0.25);
        
        z-index: 5;
    }
    
    nav ul {
        display: none;
        margin-top: 0;
    }

    nav li {
        display: list-item;
        margin: 0 0 12px 0;
    }
    
    #map {
        float: none;
        margin-left: calc(50% - 190px);
    }
}

@media (max-device-width: 600px) {
    #h_p1 {
        margin: 65px 0 5px 0;
        font-size: 20px;
    }

    #h_p2 {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    #h_p1 {
        margin: 65px 0 5px 0;
        font-size: 20px;
    }

    #h_p2 {
        font-size: 48px;
    }
}

@media (max-device-width: 500px) {
    #h_p1 {
        margin: 90px 0 5px 0;
        font-size: 14px;
    }

    #h_p2 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    #h_p1 {
        margin: 90px 0 5px 0;
        font-size: 14px;
    }

    #h_p2 {
        font-size: 30px;
    }
    
    #map {
        margin-left: calc(50% - 165px);
    }
    
    #gmap_canvas {
        width: 300px;
    }
    
    #map1 {
        width: 300px;
    }
}

@media (max-device-width: 330px) {
    #h_p1 {
        margin: 90px 0 5px 0;
        font-size: 14px;
    }

    #h_p2 {
        font-size: 24px;
    }
    
    #map {
        margin-left: calc(50% - 165px);
    }
    
    #gmap_canvas {
        width: 300px;
    }
    
    #map1 {
        width: 300px;
    }
}