/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; } body {line-height: 1;} ol, ul {list-style: none;} blockquote, q {quotes: none;} blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;} table {border-collapse: collapse;border-spacing: 0;} /* /css reset */ body, html { margin:0; padding:0; color:#1b365d; background:#efefef; font-family: 'Exo 2', sans-serif; letter-spacing: .2px } b{ font-weight:700 } .wrap { margin:0 auto; } .toppage{ float:left; display: inline; position: relative; width:100%; clear: both; } .mainframe{ float:left; position: relative; width:100%; clear: both; background: #ffffff } .toppage .toploc { float: right; width: 45% } .toppage .toploc div{ float: left; margin-right: 10%; font-weight: 300 } .toppage .toploc div strong{ text-transform: uppercase } .toppage header h1{ float:left; position: relative; left:-5.6%; width: 13.89% } .span6 { width: 50%; float: left; color: #000; } .naglowek-h2 { font-size: 20px; margin-bottom: 18px; font-weight: 500; margin-top: 20px; } .normal-text { text-indent: 0px; padding: 5px; color:#1b365d } @media only screen and (max-width: 800px) { .span6 { width:100%; float:left; color:#000; } } .toppage header h1 img{ float: left; width: 100%; max-width: 200px; min-width: 170px; } .toppage header h1 span{ display: none } nav { float: left; position: absolute; z-index: 50; width: 18%; height: 100%; background:#1b365d url(../img/navbg.png) left 50% no-repeat; background-size: contain } nav img{ position: absolute; } nav ul { float:left; width:100%; /*background: url(../img/navpin.gif) 77% top no-repeat;*/ text-align: right; list-style:none; } nav li { display:inline; float:right; clear: both; width:85%; margin:0; padding:0; } nav li a{ float:left; width:74%; padding:2px 26% 2px 0; font-size:1.08em; color:#f3f3f3; text-decoration: none; } nav ul li a:hover { background:#ffffff url(../img/ahover.gif) 87% center no-repeat; color:#1b365d; text-decoration: none; } nav ul ul { display:none; float:right; clear: both; width:100%; margin:0; padding:0; } nav ul li:hover > ul { display:inline; } article { position: relative; float:right; width: 50%; } aside { position: relative; z-index: 30; width: 32%; float: right; text-align: center; } aside img.mp{ position: relative; float:left; width: 100%; left:-4.5%; -webkit-box-shadow: 56px 56px 139px -6px rgba(0,0,0,0.21); -moz-box-shadow: 56px 56px 139px -6px rgba(0,0,0,0.21); box-shadow: 56px 56px 139px -6px rgba(0,0,0,0.21); } aside img.ap{ width:62%; max-width:277px; margin-bottom:100px } article .content{ float:right; background: url(../img/header2.gif) right top no-repeat; width:80%; padding: 0 10% 20% 10%; } article hgroup{ float: left; width:100%; clear: both; font-family: 'Roboto Slab', sans-serif; /*background: url(../img/hgroup.gif) 0 0 no-repeat;*/ line-height:3.5em } article hgroup h1{ font-weight: 100; } article hgroup h2{ font-weight: 400; } article .mobhead, article .mobhead div{ float:left; width:100%; clear: both; margin: 5% 0; } article .mobhead div{ position: relative; margin:0 } article .mobhead img.minilogo{ float: left; margin: 0 0 5% 15%; width: 170px } article .mobhead img.minifoto{ float:left; width:43%; } article .mobhead hgroup{ float: right; background: url(../img/header.gif) left top no-repeat; background-size: 15px; width:50%; margin: 0px; padding-top: 15%; clear: none } article .mobhead .minipin{ position:absolute; top:0; left:0; display:none; left:80%; width: 15px; } article p{ margin-bottom:30px } article div.col2{ float:left; width:45%; padding-left:10% } article div.col2:nth-child(2){ padding-left:0 } article a, article a:hover{ color:#1b365d; text-decoration:underline } .news-box{ float:left; clear:both; display:inline; margin-bottom:40px } .news-box span, span.date{ font-size:12px; line-height:12px; padding:3px 6px 6px 6px; color:#fff; background:#1b365d } .news-box h3, p.newstitle{ font-size:1.7em; text-decoration:none !important; margin:10px 0 } article hr{ height:1px; border:0; background:#1b365d; margin-bottom:30px } article h3, article h2{ font-size:1.3em; font-weight:700; margin-bottom:30px } article ul{ list-style-type:disc; margin:0 0 30px 50px } footer { clear:both; width:100%; float:left; color:#3f3f3f; font-size:0.9em; margin:4% 0 3%; letter-spacing: .5px } footer a, footer a:hover{ color:#3f3f3f; text-decoration: underline } footer strong{ font-weight: 600 } footer img{ float: right; margin:5px 0 0 0 } footer p img{ float:left; margin:0 20px 30px 0; } footer p { float:left; position: relative; left:18%; margin:0; } footer .duck{ display:none } * html footer { height:1px; } /* ----------------- form --------------- */ #formbox, #formbox form, #formbox form div{ float:left; width:100%; clear:both } #formbox { width:80%; padding:10%; border:1px solid #1b365d } #formbox form p{ font-size:37px; margin-bottom: 60px } #formbox form input{ float:left; clear: both; font:500 1em 'Exo 2', sans-serif; width:100%; border:0; border-bottom: 2px solid #dddddd; letter-spacing: .25px; color:#1b365d; margin-bottom: 20px } #formbox form textarea{ float:left; clear: both; border:0; font:500 1em 'Exo 2', sans-serif; width:100%; line-height: 21px !important; letter-spacing: .25px !important; color:#252525 !important; height: 130px; resize: none; margin-bottom: 20px; } #formbox form ::-webkit-input-placeholder { letter-spacing: .25px; color:#b6b6b6; } #formbox form :-moz-placeholder { /* Firefox 18- */ letter-spacing: .25px; color:#b6b6b6; } #formbox form ::-moz-placeholder { /* Firefox 19+ */ letter-spacing: .25px; color:#b6b6b6; } #formbox form :-ms-input-placeholder { letter-spacing: .25px; color:#b6b6b6; } #formbox form #home-send{ float:right; width:auto; font-weight: 700; font-size:14px; padding:8px 20px; text-transform: uppercase; letter-spacing: 2px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 3px solid #1b365d; background: none; cursor:pointer; transition: background-color 0.3s ease; margin:0 } #formbox form #home-send:hover{ color:#fff; background: #1b365d; } form input.error{ border-color:#df444a } form label.error{ display:none !important } .flex-box-child { flex: 0 0 50%; font-size:14px; } @media (max-width:767px) { .flex-box { flex-direction:column; } } .flex-box-child { flex: 0 0 50%; } .flex-box { flex-wrap:wrap; } .flex-box a { text-decoration:none; }