/*
 * DK Theme - iPhone style?
 */
 body {
    background-image: url('/mobile/assets/images/dk/middark_overlay.png');
    margin: 0;
 }
 .header {
     background-image: url('/mobile/assets/images/dk/menu_bg.png');
     background-repeat: repeat-x;
     background-position: left bottom;
     overflow: hidden;
     position: relative;
 }
    .header .logo {
        display: inline-block;
        max-width: 50%;
        vertical-align: middle;
    }
        .header .logo .logo-inner {
            padding: 20px 10px;
            max-width: 90% !important;
        }
        
    .callstoaction {
        position: absolute;
        right: 0;
        top: 0;
        vertical-align: top;
        text-align: right;
        height: 100px;
        border-left: 1px solid rgba(0,0,0,0.25);
        max-width: 50%;
    }
        .callstoaction .c2a { 
            width: 50%; 
            max-width: 100px;
            display: inline-block; 
            color: #ffffff;
            text-align: center;
            height: 100%;
            cursor: pointer;
            border-left: 1px solid rgba(255,255,255,0.4);
            
            background-image: url('/mobile/assets/images/dk/menu_bg.png');
            background-repeat: repeat-x;
            background-position: left bottom;
            
            vertical-align: top;
        }
        .callstoaction div.c2a { max-width: 50%; margin-right: -1px; }
        .callstoaction .c2a.active {
            background-image: url('/mobile/assets/images/dk/dark_overlay.png');
            background-position: left top;
            background-repeat: repeat;
        }
        .callstoaction .c2a .inner {
            height: 30%;
            margin: 0% 15% 15% 15%;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
        }
        .callstoaction .c2a.menu .inner { background-image: url('/mobile/assets/images/dk/icons/menu.png'); }
        .callstoaction .c2a.contact .inner { background-image: url('/mobile/assets/images/dk/icons/contact.png'); }
     
        
        
        
 .main > .menu { 
     clear: both;
     min-height: 300px;
     background-color: #ffffff;
     padding-bottom: 30px;
 }
    .links.contact, .links.location { 
        padding: 20px 5%;
        background-image: url('/mobile/assets/images/dk/dark_overlay.png');
        background-position: left top;
        background-repeat: repeat;
    }
    .links.contact { 
        display: none; 
    }
    .page.inline .contentz ul.links.location { margin-left: 0; }
    .links .action.external { 
        margin: 2px 0; 
        overflow: hidden;
    }
    .connectedsortable .links .action.external:first-child {
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    .connectedsortable .links .action.external:last-child {
        -webkit-border-bottom-right-radius: 10px;
        -webkit-border-bottom-left-radius: 10px;
        -moz-border-radius-bottomright: 10px;
        -moz-border-radius-bottomleft: 10px;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }
    .connectedsortable .links .action.external a { 
        background-image: url('/mobile/assets/images/dk/arrow_action.png');
        background-position: right center;
        background-repeat: no-repeat;
        color: #fff;
        font-size: 16px;
        line-height: 20px;
        min-height: inherit;
    }
    .connectedsortable .links .action.external a span {
        display: inline-block;
        background-position: 15px center;
        background-repeat: no-repeat;
        padding: 10px 10px 10px 60px;
    }
    .connectedsortable .links .action.external a.phone span { background-image: url('/mobile/assets/images/dk/icons/contact_large.png'); }
    .connectedsortable .links .action.external a.map span { background-image: url('/mobile/assets/images/dk/icons/marker_large.png'); }
    .connectedsortable .links .action.external a.email span { background-image: url('/mobile/assets/images/dk/icons/mail_large.png'); }
    .inline.page { background-color: #fff; }
    
 
 
    .padd-out {
        padding: 15px;
    }
 
 
 
 
    .product-images.clearfix, .main-image.clearfix { display: block; padding-bottom: 20px; text-align: center; }
    
    .product-images img { 
        float: none;
        max-width: 100%;
    }
    .product .contactlink { margin-top: 20px; }
    .product .buylink { margin-top: 10px; }
    .splash .minic2a:first-child { margin-top: 0px; }
    .splash .minic2a { margin-top: 10px; }
    
    .product .contactlink, .product .buylink, .splash .contactlink, .splash .minic2a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;

        padding: 15px 20px;
        font-size: 18px;
        line-height: 20px;
    }
    .product .contactlink span, .product .buylink span, .splash .contactlink span, .splash .minic2a span {
        display: block;
        background-image: url('/mobile/assets/images/dk/arrow_action.png');
        background-position: right center;
        background-repeat: no-repeat;
        padding: 0 30px 0 10px;
    }
        
    .product .note {
        clear: both;
        padding-top: 20px;
        text-align: center;
    }
    .product .price { font-size: 18px; margin-top: 20px; }
 
 
    .footer {
        margin: 0;
        width: 100%;
        color: #ffffff;
        padding: 20px 0;
    }
        .footer a { color: #ffffff; }
        .footer .footer-links {
            padding: 0 5%;
        }
        .footer .footer-links .contactlink { float: right; }
        
        
        .footer .webspring {
            text-align: center;
            padding-top: 30px;
        }
        .footer .webspring, .footer .webspring a {
            color: rgba(255,255,255,0.75);
        }

 
        #searchAction {
            background-color: #EEEEEE;
            background-image: url('/mobile/assets/images/dk/title_bg.png');
            background-position: left bottom;
            background-repeat: repeat-x;
            padding: 5px;
            border-bottom: 1px solid #CCC;
        }
        #searchForm { 
            margin: 0; 
            padding: 0; 
            height: 30px; 
            position: relative; 
        }
        #searchAction #searchText {
            width: 100%;
            padding: 5px 5px 5px 5px;
            margin: 0;
            line-height: 20px;
            border: 1px solid #CCC;
            background-color: #fff;
            position: absolute;
            top: 0;
        }
        
        #searchAction #searchSubmit {
            width: 30px;
            height: 30px;
            background-image: url('/mobile/assets/images/dk/icons/search.png');
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
            background-color: transparent;
            border: 0;
            cursor: pointer;
            position:absolute;
            right: 2px;
        }
        
        #search-results { padding: 15px; }
        #search-results .paginationControl {  }
        #search-results .paginationControl .disabled { color: #999; }
        #search-results .paginationControl .prev { float: left; }
        #search-results .paginationControl .next { float: right; }
 
 
 /* M4 CSS */
 
 .dark {
     background-color: #222;
     color: #fff;
 }
 
 .logo {
     text-align: left;
     cursor: pointer;
 }
 
 .logo img {
     max-height: 100px;
     max-width: 100%;
     margin: 0 auto;
 }
 
 blockquote {
     margin: 5px 0;
     padding: 0;
     font-style: italic;
 }
 
/* Defaults */
a, .heading {
    color: #999999;
}

 /* Menu Options */
 .connectedSortable {
     margin-top: 0;
     padding-top: 0;
 }
        
 .connectedSortable li.external, .connectedSortable li.action {
     padding-left: 0;
     border-bottom: 0;
     margin-bottom: 0;
     margin-top: 0;
 }
    .connectedSortable li.external.firstlink {
    }
    .menu .connectedSortable li.action a  {
        text-decoration: none;
        background-repeat: no-repeat;
    }
    
    ul.links { 
        list-style: none; 
        margin: 0;
        padding: 0;
    }
    
    .connectedSortable li.contact-us { display: none; }
 
    .connectedSortable li a.heading, .connectedSortable li.action a {
        display: block;
        padding: 10px 0;
    }
    .connectedSortable li .heading {
        padding-right: 15px;
    }
    .connectedSortable li.action.pagelink {
        background-color: #EEEEEE;
        background-image: url('/mobile/assets/images/dk/title_bg.png');
        background-position: left bottom;
        background-repeat: repeat-x;
        border-bottom: 1px solid #CCCCCC;
    }
    .connectedSortable li.external a.heading, .connectedSortable li.action a {
        background-position: right center;
        background-repeat: no-repeat;
    }
    .connectedSortable li.external a.heading { background-image: url('/mobile/assets/images/dk/arrow_action.png'); }
    .connectedSortable li.action a { background-image: url('/mobile/assets/images/dk/arrow_page.png'); }
    .connectedSortable li.link.action.back a { 
        background-image: url('/mobile/assets/images/dk/arrow_back.png');
        background-position: 10px center;
        text-align: center;
    }
    .connectedSortable li a.heading,.connectedSortable li div.heading {
        text-decoration: none;
    }
    
    /* Subpages */
    
    .connectedSortable ul.subpages {
        padding-bottom: 10px;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
        list-style: none;
    }
        .connectedSortable ul.subpages li.subpage {
            list-style: none;
            
        }
        .connectedSortable ul.subpages li.subpage:first-child { border-top: 1px solid #CCCCCC; }
        .connectedSortable ul.subpages li.subpage.external { border-top: none; }
        .connectedSortable ul.subpages li.subpage:last-child { border-bottom: none; }
    
    
/* Inline Page Content */
.menu .connectedSortable { 
    position: relative; 
    margin: 0;
    padding: 0;
}
.menu .connectedSortable .links li.action.pagelink a {
    padding: 20px 5%;
}
.menu .connectedSortable .links li a {
    font-size: 18px;
    margin-right: 20px;
    min-height: 20px;
    line-height: 20px;
    vertical-align: middle;
}
li.internal { 
    display: none; 
    position: relative; 
    left: 0;
}
    .animate li.internal {
        transition: left 0.4s linear;
        -moz-transition: left 0.4s linear;
        -webkit-transition: left 0.4s linear;
        -o-transition: left 0.4s linear;
    }
li.internal.transitioning {
    /*height: 0;*/
    position: absolute;
    top: 0;
}
li.internal.active { /*display: block;*/ }

    .page.inline .contentz {
        min-height: 30px;
        font-size: 1em;
        line-height: 1.2em;
        padding: 0;
        background-color: #fff;
    }
    .page.inline .contentz ul { margin-left: 10px; }
    .page.inline .contentz h1, .page.inline .contentz h2, .page.inline .contentz h3, .page.inline .contentz table {
        display: none;
    }
        .contentz a, .contentz div, .contentz p {
            max-width: 100%;
        }
        .contents .images img {
            float: left;
            margin: 0 10px 10px 0;
        }
        .contents img { float: none; max-width: 100%; }
/*
 * Specific Modules
 */
    /* Mobile Splash */
    .main-image.slideshow {
        overflow: hidden;
    }
    .main-image.slideshow .images {
        position: relative;
        width: 90000px;
        max-width: none;
    }
    .main-image.slideshow .images .imgdiv { 
        float: left;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .main-image.slideshow .images img.preview { 
        float: none;
        width: 100%;
        visibility: hidden;
        margin: 0;
        padding: 0;
    }
    .main-image.single.attached img.preview { width: 100%; }
    
    
    
    /* Gallery */
    .gallery .page.inline img.preview {
        margin: 5px;
        float: left;
    }
 
    /* New Gallery 
    
    /* New Gallery - v.DK */
    .gallery .images {
        text-align: center;
    }
    .gallery .images a { 
        display: inline-block; 
        width: 45%;
        margin: 5px;
        min-width: 100px;
        max-width: 200px;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .gallery .images a img { visibility: hidden; }
    
    
    
    .imglightbox { 
        display: block;
        vertical-align: middle;
        position: fixed;
        top: 0;
        left: 0;
        width: 110%;
        height: 110%;
        margin-left: -5%;
        margin-top: -5%;
        background: rgba(0,0,0,0.75);
        text-align: center;
    }
    .imglightbox div { height: 100%; }
    .imglightbox img {
        max-width: 80%;
        max-height: 80%;
    }
    
    
    
    /* News Page */
    .connectedSortable ul.newspages {
        list-style: none;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Location Page */
    .location-images.attached a {
        width: 100%;
        display: block;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
    }
    .location-images.attached a img { visibility: hidden; width: 100%; }
 
/* Footer */
.dk .footer {
    border-top: 0;
    border-bottom: 0;
}
    .dk .footer .link.fwd {
        text-align: center;
        float: none;
        width: 100%;
        position:inherit;
    }