/*
Theme Name: BestOkna
Author: Grzegorz Religa
*/

@font-face {
	font-family: 'gothic';
	src: url('font/gothic.eot');
	src: local('font/gothic'), url('font/gothic.woff') format('woff'), url('font/gothic.ttf') format('truetype');
}

html, body { margin: 0; padding: 0; }

hr { border: 0; border-bottom: solid 5px #E4E4E4; margin-left: -15px; margin-right: -15px; }

.clear { clear: both; }
.loader { background: url(img/ajax.gif); width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.button-loader { background-image: url(img/button-loader.gif); background-repeat: no-repeat; background-position: center; text-indent: -9999px; padding-left: 50px; padding-right: 50px; }


/* HEADER */
.logo { display: block; margin: 22px 0; }

.top-box-left, .top-box-middle, .top-box-right { float: right; padding-top: 25px; padding-bottom: 10px; }

.top-box-left { font-size: 12px; padding-right: 15px; }
.top-box-left h1 { font-size: 20px; color: #dd2a1b; margin: 0; letter-spacing: 0.3pt; margin-bottom: 3px; margin-top: 3px; }

.top-box-middle { padding-right: 25px; }
.top-box-middle a { color: inherit; font-size: 19px; }
.top-box-middle a:hover { text-decoration: none; color: inherit; }
.top-box-middle .header-icon { display: inline-block; padding-right: 5px; }
.top-box-middle .header-icon img { height: 32px; }
.top-box-middle p { font-size: 12px; padding-left: 43px; margin-top: -5px; }
.top-box-middle span { font-size: 17px; color: #8E8E8E; }

.top-box-right { padding-left: 0px; }

@media(max-width: 1200px) {
	.top-box-left { display: none; }
}

.top { background: #8c8d8d; }
.top a { float: right; color: white; font-size: 12px; margin-left: 15px; }
/*.top a:hover { text-decoration: none; }*/

.header-social { padding: 5px 0; text-align: right; }

.nav-menu { margin: 0; padding: 0; background: #dd2a1b; }
.nav-menu:after { content: ''; display: table; clear: both; }
.nav-menu li { float: left; list-style: none; }
.nav-menu li a {  padding: 10px 15px; color: #fff; display: block; border-right: 1px solid #FFF; }
.nav-menu li a:hover { text-decoration: none; background: #C42518; }
.nav-menu li.current_page_item a { border-top: 3px solid orange; margin-top: -3px; }

.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .menu-item-has-children:hover .sub-menu { display: block; }
.nav-menu .sub-menu { display: none; position: absolute; z-index: 999; background: #dd2a1b; padding: 0; top: 100%; right: 1px; border: 2px solid #C42619; box-shadow: 0 6px 12px rgba(0,0,0,.175); }
.nav-menu .sub-menu li { float: none; }
.nav-menu .sub-menu li a { white-space: nowrap; border-right: 0; }
@media(max-width: 1200px) {
	.nav-menu li a { font-size: 13px; }
}

.header-contact { font-weight: bold; font-size: 16px; color: #DB0012; padding: 10px 0; position: relative; padding-left: 19px; }
.header-contact a { color: #4173c9; }
.header-contact img { vertical-align: bottom; }
@media(max-width: 1200px) {
	.header-contact { padding-left: 0; }
}



/* HOME */
.slider-sidebar { margin-top: 42px; margin-left: -10px; }
.slider-sidebar h1 { font-size: 18px; color: #DB0012; text-align: center;}
.slider-sidebar .menu { padding: 0 20px; }
.slider-sidebar .menu li { list-style: none; padding: 7px 0; }
.slider-sidebar .menu a { width: 100%; color: #fff; background-color: #428bca; border-color: #357ebd; display: inline-block; display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; border: 1px solid transparent; white-space: nowrap; padding: 11px 12px; font-size: 14px; line-height: 1.42857143; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.slider-sidebar .menu a:hover { color: #fff; background-color: #3276b1; border-color: #285e8e; text-decoration: none; }

/* HOME CARDS */
.home-cards a { text-decoration: none; }
.home-cards h1 { font-size: 20px; color: #DB0012; text-transform: uppercase; }
.home-card { min-height: 425px; }
.home-card img { max-width: 100%; max-height: 215px; display: block; margin: 0 auto; }
.home-card p { padding: 5px 10px; color: #333;}
@media(max-width: 1200px) {
	.home-card img { max-height: 188px; }
}






.upper-box { background: #fff; width: 100%; height: 100%; font-size: 14px; font-weight: bold; text-align: center; margin-bottom: 20px; border: solid 4px #e4e4e4; padding: 10px 0 10px 0; }
.upper-box h1 { color: red; font-weight: bold; font-family: calibri, sans-serif; }



@media (max-width: 1200px) {
	.container { width: 1000px; }
}


.modal.fade { display: none; }


.modal p { margin: 0; }

#calculator .modal-title { font-size: 16px; }



.page-content .row { margin: 0px; font-family: calibri, sans-serif; color: black; }
.page-content .row img { display: block; float: left; margin: 0 5% 5% 5%; }
.page-content .row p { display: block; float: left; padding-right: 10%; text-align: justify; }
.page-content .row h1 { color: red; display: block; width: 80%; float: right; clear: both; font-weight: bold; }
.page-content .row h2 { display: block; width: 80%; clear: both; float: right; }

.kontakt ul { display: block; float: left; margin-left: 65px; list-style: square; }
.kontakt h2 { margin: 20px 0 20px 0; }


.div-border { border: 5px solid #E4E4E4; }


/* SINGLE PAGE */
.page-title { margin: 6px 0; font-size: 14px; color: #cb272d; font-weight: bold; }
.page-thumbnail { text-align: center; }
.page-content, .page-thumbnail { border-top: 5px solid #E4E4E4; margin: 0 -15px; padding: 0 15px; }
.page-content { padding-top: 5px; padding-bottom: 5px; }
.page-content h2 { color: #F00; }

/* SIDEBAR */
.sidebar { padding: 0; border-top: 5px solid #E4E4E4; }
/*.sidebar .menu-sidebar-container .menu-header { background: #DB0012; font-size: 13px; color: #fff; font-weight: bold; text-align: center; padding: 7px 0; border-bottom: solid 4px #e4e4e4; }
.sidebar .menu-sidebar-container .menu-header:first-child { border-top: solid 4px #e4e4e4; }
.sidebar .menu-sidebar-container .menu-header a { color: #fff; cursor: default; }
.sidebar .menu-sidebar-container ul { display: block; margin: 0; margin-left: -4px; padding: 0; border-right: solid 4px #e4e4e4; border-left: solid 4px #e4e4e4; }
.sidebar .menu-sidebar-container ul li { border-bottom: solid 4px #e4e4e4; padding: 7px 0; font-size: 13px; color: #DB0012; font-weight: bold; text-align: center; display: block; }
.sidebar .menu-sidebar-container ul li:last-child { border-left: 0; }
.sidebar .menu-sidebar-container a { text-decoration: none; color: #DB0012; }*/

.red-box { background: #DB0012; color: #FFF; display: block; padding: 25px 0 25px 85px; position: relative; font-weight: bold; margin-top: 25px; }
.red-box:hover { text-decoration: none; color: #fff; }
.red-box.red-phone:before, .red-box.red-email:before { content: url('img/phone-icon.png') no-repeat; display: block; position: absolute; left: 20px; top: 25px; }
.red-box .big { font-size: 20px; }
.red-box.red-email:before { content: url('img/mail-icon.png'); }
.red-pricing { padding: 3px 25px; text-align: center; }
.red-pricing .btn { margin: 5px 0; }

@media(max-width: 1200px) {
	.red-box.red-phone, .red-box.red-email { padding-left: 73px; }
	.red-box.red-phone:before, .red-box.red-email:before { left: 12px; }
	.red-pricing { padding-left: 18px; padding-right: 18px; }
}





/* FOOTER */
.footer { border: solid #E4E4E4 4px; margin-top: 10px; padding: 2px 8px; }


/* BLOG */
.blog { padding-left: 0; padding-right: 0; width: 100%; }
.blog article { border-top: solid 5px #E4E4E4; margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; margin-bottom: 15px; }
.blog article:first-child { border-top: 0; }
.blog .entry-thumbnail { float: left; margin-right: 10px; }
.blog .entry-title { margin-top: 5px; }
.blog .entry-title a { color: #F00; font-size: 25px; }
.blog .entry-date { color: #C20000; font-size: 12px; margin-bottom: 5px; }
.blog .blog-pagination { border-top: solid 5px #E4E4E4; margin-left: -15px; margin-right: -15px; padding: 5px 15px; text-align: center; }
.blog .blog-pagination a, .blog .blog-pagination span { margin: 0 2px; }
.blog .newer-post { float: left; width: 103px; }
.blog .older-post { float: right; width: 100px; }

.blog-single { padding: 0 15px; }


/* CUSTOM */
.image-box { display: inline-block; height: 200px; width: 350px; color: inherit; border: 5px solid #E4E4E4; margin: 20px 27px; }
.image-box:hover { color: inherit; }
.image-box .col-xs-4 { padding: 5px; height: 100%; line-height: 190px; }
.image-box .col-xs-8 { font-size: 13px; }
.image-box img { max-width: 100%; height: auto; vertical-align: middle; }
.image-box h2 { font-size: 25px; font-weight: bold; text-transform: uppercase; }

/* PRICING TABLE */
.pricing-container { width: 580px; margin: 0 auto; border: 5px solid #E4E4E4; margin-bottom: 10px; }
.pricing-table-div { margin: 0 -15px; }
.pricing-table { width: 100%; }
.pricing-table thead th { text-align: center; text-transform: lowercase; background: #DB0012; padding: 4px; border-top: solid 5px #e4e4e4; color: #fff; font-weight: bold; font-size: 13px; }
.pricing-table td { width: 150px; text-align: right; padding: 1px 2px; font-size: 14px; font-weight: bold; border-right: solid 4px #e4e4e4; }
.pricing-table tr td:last-child { border-right: 0; }
.pricing-table tbody tr:nth-child(even) td { background: #edd5d5; }
.pricing-table tbody tr:last-child { border-right: none; }
.pricing-table .window_brutto { color: #428BC9; }
.pricing-table tfoot td { border-top: 5px solid #DB0012; color: #428BC9; font-size: 17px; }
.pricing-footer { float: right; text-align: center; margin-top: 10px; }

/* SLIDER */
.cycloneslider { width: 100% !important; }
.cycloneslider-caption-description { font-size: 14px !important; }
.cycloneslider { display: block; float: left; height: 360px overflow: hidden; border-right: 5px solid #E4E4E4; }
.cycle-pager-active { background-color: #F50000 !important; }
.cycloneslider-caption-title { text-transform: uppercase; font-weight: bold; }

/* CALCULATOR */
.windows { margin-top: -30px; }
.windows .col-lg-4 { text-align: center; }
.windows .window-header { min-height: 185px; margin-top: 30px; }
.windows .window-header img { height: 130px; }
.windows .window-header img.img-small { height: 120px; }
.windows .window-header a { color: #000; text-decoration: none; }
.cennik .cennik-content .form-group { margin-bottom: 5px; text-align: right; color: #7E7E7E; padding-right: 10px; }
.windows .window-content .form-control,
.windows .window-content .control-label,
.windows .window-content .input-ap { font-size: 13px; height: 30px; }
.windows .window-content label { font-weight: normal; }
.windows .window-content .input-sm { max-width: 50px; display: inline-block; padding: 5px; border-radius: 0; box-shadow: none; color: #7E7E7E; }
.windows .window-content .input-sm:focus { border-color: #ccc; }
.windows .window-content select.input-sm { max-width: none; width: auto; color: #7E7E7E; }
.windows .window-content .input-ap { display: inline-block; border: 1px solid #ccc; padding: 4px 5px; margin-left: -2px; line-height: 1.5; background: #fff; border-left: 0; }
.windows .window-summary { display: none; }
.windows .window-back { text-decoration: underline; }
.windows .window-summary { height: 285px; }
.windows .window-summary table { margin: 10px 0; }
.windows .window-summary table th { text-align: right; }
.windows .window-summary table td { text-align: left; padding-left: 10px; /*color: #428bca;*/ }
.windows .window-summary table th span { text-align: left; /*color: #428bca;*/ }
.windows .window-subtitle { /*margin-left: -20px;*/ font-size: 20px; color: #fff; background: #DB0012; font-weight: bold; padding: 10px; margin-top: 40px; }

.windows-basket { display: none; }
.windows-basket h1 { font-size: 27px; margin-bottom: 20px; text-align: center; }
.windows-basket p { text-align: center; }
.windows-basket-total { font-size: 22px; color: #428bca; }
.windows-basket table { width: 100%; }
.windows-basket td { padding: 2px 10px; vertical-align: middle; width: 14%; border-bottom: 1px solid #E4E4E4; text-align: center; }
/*.windows-basket tr:last-child td { border: 0; }*/
.windows-basket img { max-height: 100px; margin-bottom: 5px; }
.windows-basket .pull-right { text-align: center; }
.windows-basket-summary { display: none; }
.windows-basket-count { color: #dd2a1b; }