/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/*
Theme Name: aa_theme
Author: arturkosinski.pl
Author URI: https://arturkosinski.pl
Version: 1.0
*/




/*

font-family: 'Crimson Text', serif;

#4b0101 
#fef5cf 
#08c

*/

#gallery-1 img { border: none!important; }
.gallery-item { padding: 1rem; }
.gallery { margin-bottom: 2rem!important; }

/* Colorbox */
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#cboxOverlay{background:rgba(0,0,0,.9); }
#colorbox{outline:0;}
#cboxContent{background:#fff; overflow:hidden;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:28px;}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
#cboxNext { outline:none!important; position: absolute; top: 50%; right: 20px; background: url(images/icons/right.svg) center center no-repeat; background-size: auto 8px; width: 40px; height: 40px;  display: -webkit-box;  display: -ms-flexbox;  display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; border: 1px solid #111; font-size: 0; }
#cboxPrevious { outline:none!important; position: absolute; top: 50%; left: 20px; background: url(images/icons/left.svg) center center no-repeat; background-size: auto 8px; width: 40px; height: 40px;  display: -webkit-box;  display: -ms-flexbox;  display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; border: 1px solid #111; font-size: 0; }
#cboxClose { utline:none!important; position: absolute; top: 20px; right: 20px; background: url(images/icons/close.svg) center center no-repeat; background-size: auto 8px; width: 40px; height: 40px;  display: -webkit-box;  display: -ms-flexbox;  display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; border: 1px solid #111; font-size: 0; }



/**
 * Owl Carousel v2.2.1
 * Copyright 2013-2017 David Deutsch
 * Licensed under  ()
 */
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:-webkit-transform .1s ease;transition:-webkit-transform .1s ease;-o-transition:transform .1s ease;transition:transform .1s ease;transition:transform .1s ease, -webkit-transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);-webkit-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;-webkit-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}    

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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #e7e7e7;margin:2rem 0;padding:0;}input,select,a img{vertical-align:middle;} ul { list-style: none; }


body, input, textarea, select { font-family: "Times New Roman", serif; }
html { font-size: 16px; }
body { font-size: 1rem; line-height: 1.5; color: #2e2405; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.container { margin: 0 auto; }
.flex { display: -webkit-box; display: -ms-flexbox; display: flex; }
.flexWrap { -ms-flex-wrap: wrap; flex-wrap: wrap; }
.vCenter { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.spaceBetween { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
.alignCenter { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; text-align: center; }

/* Basic colors */
.btn, .textFormat .btn, .cookiesClose { background: #4b0101; color: #fff; }
.textFormat a, #main a { color: #08c; text-decoration: none; }
ul.menu a { color: #fff; }
.textFormat a:not(.btn):hover, ul.menu a:hover { color: #4b0101; background: #fef5cf }
.btn:hover, .textFormat .btn:hover, .cookiesClose:hover { color: #4b0101; background: #fef5cf }

/* Buttons */
.btn { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;  margin: 0 auto; width: 220px; height: 50px; text-align: center; text-decoration: none!important; border: none; }

/* Header */
header .container { padding-top: 1rem; padding-bottom: 1rem; }

/* Menu */
#desktopMenu { margin-left: auto; }
#desktopMenu ul.menu { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
#desktopMenu ul.menu > li { margin: 0; }
#desktopMenu ul.menu a { text-decoration: none; }

/* Sub-menu */
#desktopMenu ul.sub-menu { list-style: none; }
#desktopMenu  li.menu-item-has-children { position: relative; }
#desktopMenu  li.menu-item-has-children:hover ul.sub-menu { visibility: visible; opacity: 1; -webkit-transition-delay: 0s; -o-transition-delay: 0s; transition-delay: 0s;  }
#desktopMenu  ul.sub-menu { visibility: visible; opacity: 1; -webkit-transition-delay: 0s; -o-transition-delay: 0s; transition-delay: 0s;  position: absolute; top: 2rem; left: -.5rem; min-width: 220px; padding: .5rem 1rem; background: none; z-index: 999999; visibility: hidden; -webkit-transition: 0.2s .2s; -o-transition: 0.2s .2s; transition: 0.2s .2s; opacity: 0; text-align: left; font-size: 0.875rem; background: #fff; -webkit-box-shadow: 0 1rem 1rem 0 rgba(0,0,0,.1); box-shadow: 0 1rem 1rem 0 rgba(0,0,0,.1); }

/* Mobile menu */
#openMenu{ display: -webkit-box; display: -ms-flexbox; display: flex; width: 24px; height: 24px; -ms-flex-line-pack: center; align-content: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #fff; text-decoration: none; font-size:1.5rem; font-family: "Crimson Pro", serif; margin: 0 auto; padding: 2rem 0; }
#openMenu img { margin-right: 1rem; }
/*#mobileMenu { display: none; position: fixed; top: 0; right: 0; width: 100%; background: #fff; height: 100vh; box-shadow: 0 0 40px 0 rgba(0,0,0,.1); z-index: 99999; padding: 3rem 2rem 10rem; overflow-y: scroll; z-index: 99999999 }
#mobileMenu  li { text-align: center; margin: 0; }
#mobileMenu li a { display: block; padding: .5rem 0; text-decoration: none; }
#mobileMenu ul { font-size: 1.125rem }
#mobileMenu ul.sub-menu { font-size: .875rem; margin-bottom: 1rem; list-style: none; }
.hiddenBody { overflow-y: hidden; position: relative; height: 100%; }*/
    

/* Content */
.textFormat p, .textFormat ul, .textFormat ol, .textFormat table, .textFormat blockquote, .textFormat h1, .textFormat h2, .textFormat h3, .textFormat h4, .textFormat h5, .textFormat h6, h1, h2, h3, h4, h5, h6 { margin-bottom: 1.5rem; }
.textFormat ul, .textFormat ol { padding-left: 2.5rem; }
.textFormat ul { list-style-type: disc; }
.textFormat blockquote p:last-child { margin-bottom: 0; }
.textFormat blockquote { background: #4b0101; padding: 2rem; color: #fff; }
img { max-width: 100%; vertical-align: middle; height: auto; }
* { -webkit-box-sizing: border-box; box-sizing: border-box; }
table { width: 100%; margin-bottom: 20px; }
hr { border-color: #4b0101; }
td, th { border: 1px solid #4b0101; padding: .5rem; text-align: left; }
.textFormat a:hover { text-decoration: underline; }
.textFormat h1, h1 { font-size: 2.5rem; }
.textFormat h2, h2 { font-size: 1.75rem; }
.textFormat h3, h3 { font-size: 1.5rem; }
.textFormat h4, h4 { font-size: 1.25rem; }
.textFormat h5, h5 { font-size: 1rem; }
.textFormat h6, h6 { font-size: 1rem; }

/* Slider */
.owl-dot { margin: 0 5px; display: inline-block; }
.owl-dot span { display: block; width: 16px; height: 16px; background: #fff; border-radius: 8px; -webkit-transition-duration: .3s; -o-transition-duration: .3s; transition-duration: .3s;  opacity: .5;}
.owl-dot.active span, .owl-dot  span:hover { background: #fff; -webkit-transition-duration: .3s; -o-transition-duration: .3s; transition-duration: .3s; opacity: 1!important; }
.owl-dots { text-align: center; position: absolute; bottom:  20px; left: 0; width: 100%; }
.owl-prev, .owl-next { position: absolute; top: 50%; width: 30px; height: 30px; text-align: center; z-index: 99999;   }
.owl-prev { left: 1rem; background: url(images/icons/white/left.svg) center center no-repeat; background-size: 16px auto; }
.owl-next { right: 1rem; background: url(images/icons/white/right.svg) center center no-repeat; background-size: 16px auto; }

/* Forms */
input, textarea, select { -webkit-appearance: none; -moz-appearance: none; }
label, label span { display: block; }
input, textarea { -webkit-appearance: none; -moz-appearance: none; display: block; margin-top: .5rem; width: 100%; height: 50px; border: 1px solid #e7e7e7; background: #fff; display: block; line-height: 50px; padding-left: 1rem; margin-bottom: 1rem; font-size: 1rem; }
textarea { height: 245px; line-height: 1.5; padding: 1rem; }
input[type="checkbox"] { width: 22px!important; height: 22px!important; border: 1px solid #e7e7e7!important; -webkit-appearance: checkbox; -moz-appearance: checkbox; border-color: #e7e7e7; padding: 0; margin: 0; -ms-flex-preferred-size: 22px; flex-basis: 22px; }
input[type="submit"] { padding: 0; font-size: 1rem; font-weight: bold; margin-top: 1rem; cursor: pointer; border: none; height: 60px; line-height: 60px; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid { border-color: red; background: rgba(237, 88, 95, .2); margin-bottom: 0; }
span.wpcf7-list-item { margin: 0!important; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { opacity: 1; color: #666; }
input::-moz-placeholder, textarea::-moz-placeholder { opacity: 1; color: #666; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { opacity: 1; color: #666; }
input::-ms-input-placeholder, textarea::-ms-input-placeholder { opacity: 1; color: #666; }
input::placeholder, textarea::placeholder { opacity: 1; color: #666; }
.wpcf7-acceptance label { display: -webkit-box; display: -ms-flexbox; display: flex; margin-top: .5rem }
.wpcf7-acceptance label input + span { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; font-size: .875rem; text-align: justify; }
.wpcf7-acceptance label input[type="checkbox"] { margin: .25rem 1rem 0 0; }


/* Footer & Cookies */
.footerAuthor { margin-left: auto; }
#cookies { position: fixed; bottom: 0; left: 0; width: 100%; background: #fef5cf; opacity: .9; font-size: .875rem;  line-height: 1.4; z-index: 99999;   }
.cookiesText { margin: .5rem 1rem 0 0; }
.cookiesInner { padding: 1rem 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -ms-flex-line-pack: center; align-content: center; }
.cookiesClose { margin-left: auto; color: #fff; padding: .5rem; text-decoration: none; -ms-flex-item-align: center; -ms-grid-row-align: center; align-self: center; }
.cookiesClose:hover { opacity: .8; }

footer { margin-bottom: 3rem; }
body { background: url(images/bg.png) repeat; }
footer .container, #topBar .container { background: #4b0101; }
#content .container, header .container {
background: rgb(254,245,207);
background: -webkit-gradient(linear, left top, right top, from(rgba(254,245,207,1)), to(rgba(255,250,228,1)));
background: -o-linear-gradient(left, rgba(254,245,207,1) 0%, rgba(255,250,228,1) 100%);
background: linear-gradient(90deg, rgba(254,245,207,1) 0%, rgba(255,250,228,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fef5cf",endColorstr="#fffae4",GradientType=1); }

footer .container { color: #fff; padding-top: 2rem; padding-bottom: 2rem; }
#main { -ms-flex-preferred-size: 70%; flex-basis: 70% }
#sidebar { -ms-flex-preferred-size: 25%; flex-basis: 25%; margin-left: auto; text-align: center; }
.container { padding-left: 2rem; padding-right: 2rem; }
#topBar ul { display: -webkit-box; display: -ms-flexbox; display: flex; }
#topBar ul li { margin-right: 1rem; }
#topBar .container { padding-top: 1rem; padding-bottom: 1rem; }
#desktopMenu .container { background: #4b0101; }
#desktopMenu ul li a { padding: 1rem; display: block; text-transform: uppercase; font-weight: bold; }
#desktopMenu ul { -ms-flex-wrap: wrap; flex-wrap: wrap; }

#logo { text-decoration: none; }
#logo span { display: block; font-family: "Crimson Pro", serif; font-weight: 700; font-style: italic; color: #d1b42f; text-decoration: none; text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.logoH1 { font-size: 3.5rem; }
.logoH2 { font-size: 1.25rem; }
.logoH1 small { font-size: 1.5rem; }
header .container { padding-bottom: 2rem; }
.homeSlider { padding-top: 2rem; padding-bottom: 0; }
#topBar ul li img { width: 24px; }
#main, #sidebar { padding-top: 2rem; }
.gotopWrapper { padding: 0 0 2rem; text-align: right; }
#gotop { margin-left: auto; }









/*******************
 *******************

        RWD 

 *******************
 *******************/



@media all and (min-width: 1200px){
    
    .container { width: 1180px; }
    #desktopMenu ul.menu { display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; }
    #openMenu { display: none!important; }

}

@media all and (min-width: 1024px) and (max-width: 1199px){
    
    .container { width: 90%; }
    #desktopMenu ul.menu { display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; }
    #openMenu { display: none!important; }

}

@media all and (max-width: 1023px){
    
    .container { width: 90%; }
    #desktopMenu ul.menu { display: none; padding-bottom: 2rem }

    .contentContainer { display: block }
    #sidebar { padding: 3rem 0;  }

    .flex { display: block }

}

@media all and (max-width: 767px){
        
    /* Footer & Cookies */
    .cookiesInner, footer .container { -ms-flex-wrap: wrap; flex-wrap: wrap; }
    .cookiesText, .footerCopy { margin: 0 0 10px; -ms-flex-preferred-size: 100%; flex-basis: 100%; }
    .footerAuthor, .footerCopy, .cookiesClose { -ms-flex-preferred-size: 100%; flex-basis: 100%; text-align: center; }

    .logoH1 { font-size: 2.5rem }
    .logoH2 { font-size: 1rem }
    .owl-dots { display: none }
    .owl-next { right: 0; margin-top: -15px; background-size: 12px auto }
    .owl-prev { left: 0; margin-top: -15px; background-size: 12px auto }

    .container { padding-left: 1.5rem; padding-right: 1.5rem }
    .homeSlider { padding-top: 1.5rem; padding-bottom: 1.5rem }

    #gallery-1 .gallery-item { width: 100%!important; padding: 0!important; margin: 0 0 2rem!important; }

}

@media all and (max-width: 479px){

}



