/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html{
    background: #cc0007;
}
body{
    margin:0;
    padding: 0;
    background:#cc0007;
}
a{
    color:#fff;
}
.alignleft {
    float:left;
    margin:0 20px 10px 0;
}
.alignright {
    float:right;
    margin:0 0 10px 20px;
}
.aligncenter {
    text-align:center;
    margin:0 auto;
}

.container{
    width:960px;
    margin:0 auto;
}
.header{
    height: 28px;
}
.content-container .left{
    width:242px;
    float:left;
    background:#cc0007;
}
.content-container .right{
    width:718px;
    float:left;
    background:#ee7500;
}
.content-container{
    background:#300b0a;
}
.left a.logo{
    background: #cc0007 url(http://dakini.pl/wp-content/uploads/2013/08/logo_dakini.png) 40px 0px no-repeat;
    width:242px;
    height:140px;
    display: block;
    text-indent: -9999px;
}
div.main-nav{
    background: #ff4000;
    color:#fff;
    height:140px;
    overflow: hidden;
}
div.main-nav ul{
    list-style: none;
    padding:0!important;
    margin: 0;
}
div.main-nav ul a{
    color:#fff;
    font-size: 12px;
    text-decoration: none;
}
div.main-nav ul a:hover{
    text-decoration: underline;
}
div.main-nav .main-nav-ul > li{
    color:#fff;
    float:left;
    margin:5px;
    padding-left:10px;
    background: url(../img/menu-separator.png) top left repeat-y;
    width:22%;
    height: 130px;
}
.main-nav-ul ul.sub-menu{
    margin: 0;
}
div.main-nav .main-nav-ul > li > a{
    font-weight: bold;
    font-size:16px;
}
.home-page-slider{
    background:#ee7500;
    color: #000;
    padding:4px;
    overflow: hidden;
}
.home-page-slider>div{
    float:left;
}
.featured-title{
    width:165px;
    margin: 5px 7px;
}
.featured-image{
    margin: 6px;
}
.featured-title h3{
    margin: 0;
}
.featured-content{
    width:130px;
    margin: 5px 2px;
    height:252px;
}
.featured-content p{
    margin:0;
}
p.featured-excerpt, a.featured-link{
    font-size: 12px;
    font-weight: bold;
    color:#000;
}
.featured-content p{
    font-size: 12px;
    color:#000;  
}
span.featured-stripe{
    width: 5px;
    height: 100%;
    display: block;
    float: left;
    min-height: 150px;
    margin-right: 10px;
}
.contact-info{
    background: #ff7700;
    margin-top:-21px;
    margin-left:-37px;
    display:block;
}
.contact-info ul{
    list-style: none;
}
.contact-info ul li{
    float: left;
}
.sidebar{
    background: #300b0a;
    color:#fff;
    font-size: 0.8em;
    padding-bottom:30px;
}
.footer-container{
    background: #300b0a;
    width: 960px;
    height: 150px;
    margin: 0 auto;
}
.footer-container .footer{
    width: 960px;
    margin:0 auto;
    color:#fff;
    padding:10px;
}
.footer ul{
    list-style: none;
}
.footer ul li{
    float:left;
    padding:10px;
    width: 22%;
}
.footer ul li a{
    color:#fff;
    font-size: 0.8em;
    text-decoration: none;
    width:120px;
    height: 45px;
    display: block;
}
ul.affiliates li.akademia{
    background: url(../img/partners-akademiajogi.jpg) top right no-repeat;
    
}
ul.affiliates li.assam{
    background: url(../img/partners-assam.jpg) top right no-repeat;
    
}
ul.affiliates li.cafe-vagina{
    background: url(../img/partners-vagina.jpg) top right no-repeat;
    
}
ul.affiliates li{
    height:55px;
    margin-right:20px;
}
ul.affiliates li a{
    display: block;
    width:140px;
}
ul.affiliates{
    list-style: none;
    margin: 10px 0;
    padding:0 0 0 10px;
}

.fb_iframe_widget iframe{
    background: #fff!important;
    width: 242px!important;
}
.news-container{
    overflow:hidden;
    background: #cc0007;
    padding-bottom:40px;
}
.news-list{
    list-style: none;
    padding: 0 0 0 5px!important;
}
.news-image{
    text-align: center;
    margin: 0 auto;
}
.news-list .news-item{
    float:left;
    width:48%;
    margin:6px;
    height:320px;
}
.news-item .news-title a{
    color:#fff;
    text-decoration: none;
}
.news-item .news-title a h3{
    margin:0;
}
.news-item{
    width: 345px;
    float: left;
    margin: 0px 0px;
    background: #cc0007;
    border: 7px solid #cc0007;
    height: 350px;
}
.news-item .news-title{
    border-bottom:1px solid #000;
    margin:10px 0;
}
.news-item .news-meta p{
    border-bottom:1px solid #000;
    border-top:1px solid #000;
    margin:10px 0;
    color:#fff;
    text-align: right;
    font-size: 12px;
    font-weight: bold;
}
.news-excerpt{
    font-size: 12px;
    font-weight: bold;
    color:#fff;
}
a.news-link{
    color:#969797;
}
.single, .page{
    min-height:680px;
    background:#ee7500;
    color: #000;
    padding:10px;
    overflow: hidden;
}
h3.widget-title{
    font-weight: normal;
    text-align: center;
    padding: 5px 0px;
    background: #ff4000;
    margin: 0;
}
.archive-page .news-list li.news-item{
    height:100%;
}
.googlemaps-sc{
    margin-top: -77px!important;
}
.footer ul.menu{
    padding:0;
    margin:0;
}
.footer ul.menu li{
    float:none;
    padding:0 10px;
}
.footer ul.menu li a{
    margin-top:0px;
    height: inherit;
    font-size: 1em;
}
.page-content p{
    font-size: 0.8em;
    margin:4px 0;
}
.page-content ul li{
    font-size: 0.8em;
}
.single-content p{
    font-size: 0.8em;
}
#wpfc-calendar-wrapper *, .ui-selectmenu-menu {
    font-size: 11px!important;
}
.fc-grid .fc-event-time {
    display: block!important;
    background: RGBA(0, 0, 0, 0.4)!important;
}
.fc-button-content .fc-icon-wrap {
    top: 14%!important;
}
.event-data-content{
    float: left;
    width: 532px;
}
.event-meta-data{
    float: right;
    width: 150px;
}
.event-data-content img{
    width:98%;
    border-right: 4px solid #fff;
    padding-right: 5px;
}
.page-content .event-meta-data p{
    margin-left:5px;
}
.page-content .event-data-content img:first-child{
    border-right: 4px solid #fff;
    padding-right: 5px;
}
.page-content .event-data-content{
    width:532px!important;
}
.page-content .event-meta-data{
    width:160px!important;
}
.page-content .event-data-content.joga-2 img:first-child{
    width:inherit;
}
.page-content .event-data-content.kung-fu-kid img:first-child{
    width:523px;
}


.modal-window{
    display:block;
    width:100%;
    height:1000px;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 100000;
    top:0;
}
.modal-content{
    background: url(../img/rekrutacyjny.png) center 50px no-repeat;
    display: block;
    width: 600px;
    height: 550px;
    position: relative;
    top: 50px;
    left: 30%;
}
.modal-close{
    display:block;
    width:35px;
    height:35px;
    position: absolute;
    top:55px;
    right:10px;
    text-indent: -9999px;
    z-index: 9999;
}
.modal-link{
    display:block;
    width:600px;
    height:100px;
    position: absolute;
    text-indent: -9999px;
    bottom:0;
    left:0;
}
.widget.widget_em_widget ul{
    padding: 20px;
    list-style: none;
}
.widget.widget_em_widget ul li{
    margin-bottom: 10px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
