/*
 * This stylesheet derived from:
 *
 * jQuery FlexSlider v2.2.0
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 *
 * This stylesheet is the default Weaver Slider stylesheet.
 * Copyright 2014 Weaver
 * It has been modified to use the 'atwk' namespace to help avoid conflicts with other themes using FlexSlider
 *
 */

/* --------------------- Browser resets for better theme compatibility. -------------------------- */

body .atwkslider .atwk-control-nav li,
body .atwkslider .atwk-direction-nav li {
    list-style: none;
}

body .atwkslider:before,                    /* some themes use :before to nefarious things like add list bullets, grumble... */
body .atwkslider:after,
body .atwkslider .atwk-control-nav li:before,
body .atwkslider .atwk-direction-nav li:before {
    content:''; content:none;
}

body .atwkslider ul,                /* unbreak some themes... */
body .atwkslider ul li,
body .atwkslider ol li,
body .atwkslider ol {
    padding: 0;
    margin: 0;
}

body .atwkslider .atwk-control-nav,
body .atwkslider .atwk-direction-nav {
    padding: 0 !important;
	margin: 0 0 3.5em 0 !important;
}


body .atwkslider.carousel .slides img {
    cursor: pointer; padding: 0!important;
}
body .atwkslider.carousel .slides .atwk-active-slide img {
    cursor: default;
}

.atwk-container a:active,
.atwkslider a:active,
.atwk-container a:focus,
.atwkslider a:focus  {
    outline: none;
}

.slides,
.atwk-control-nav,
.atwk-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/flexslider-icon.woff') format('woff'),
		url('fonts/flexslider-icon.ttf') format('truetype'),
		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* -------------------------- .atwkslider - for all slides -------------------- */

.atwkslider {                   /* basic options */
    background: transparent;
    clear: both;
    margin: 0 0 2em 0;           /* margin at bottom of sliders */
    overflow: visible !important;
    padding:0 !important;
    position: relative;
    zoom: 1;
}

.atwkslider img,
.atwkslider {
	-moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
	box-sizing:         border-box;
}

.atwkslider.carousel {
    z-index: 2;
}

.atwkslider .slides .atwk-slide {
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-backface-visibility: hidden;
    display: none;           /* Hide the slides before the JS is loaded. Avoids image jumping */
}

.atwkslider .slides .atwk-slide img {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    height: auto;
    -moz-backface-visibility: hidden;
}

/* from original flexslider.css */

/* Clearfix for the .slides element */
.slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
html[xmlns] .slides {
    display: block;
}
* html .slides {
    height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides .atwk-slide:first-child {
    display: block;
}

/* -------------------------- Image Slides -------------------------- */

.slider-content-images .slides .atwk-slide img { /* This rule makes images centered at their natrual size, but leaves them alone for Post Sliders. Cool. */
    box-shadow:none;
    display: block;
    height:auto;
    margin-left:auto!important;
    margin-right:auto!important;
    max-width:100%;                     /* this will display slides their full natural width */
    padding:0;
    width:auto;
}

.slider-content-images .slides .atwk-slide .slide-image-border img {       /* all about the image */
    border: 6px solid white;                        /* this gets overridden depending on border option */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.atwkslider .slide-image {         /* and the margin around image for the "border" */
    margin: 5px;
}

.atwkslider .slide-image p,
.atwkslider .slide-image iframe {   /* for videos */
    margin:0 !important;
    padding:0 !important;
}


/* -------------------------- Post Slides -------------------- */

.slider-content-posts,
.slider-content-images {                /* add a "border" to posts and images */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


.atwkslider .slide-post {               /* margin around posts for  "border" */
    margin: 15px;
}

 /* .slide-content margins and settings */
body .atwkslider .slide-content {       /* .slide-content is all slides, on same div class= as .slide-image and .slide-post  */
    padding: 0;
    border: 0;
    width: auto;
    height: auto;
}


.atwk-viewport {                    /* internal to flexslider */
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.atwkloading .atwk-viewport {
    max-height: 300px;
}

.atwkloading:before  {      /* a loading indicator for big slideshows */
    content: url(data:image/gif;base64,R0lGODlhLgAuALMAAP///+/v79/f38rKyrq6uqqqqpqamoqKinV1dWVlZf4BAgAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAKACwAAAAALgAuAAAE1xDISau9OOvNu/9gKI5kaZ5oqq5aMLxDELBYUCDHYRSEINOVQmKIwBkGAiAlgBg6E7ukUiJoOo/TCtN5mGUrVujXIhwWxtorOpgoeteSIuIMlzCL0jpBXp/sdSdvHzdzJj8hBTkGhocff3QkMoIdAzkHjJMcAZZ5IpIilgSRAT4iBDoGmR0CPqobmwYGoiGkrCQEsbIgtaUkBbmzmki2JQG5PBwCL8SGvwXPMRakMEgqAbjPzwTUBN0wnSkD2QQ83eYwrigD5Obt1WO1y+l99PX29/j5+kARACH5BAUKAAoALAkACAAdAB4AAAS6UMlJJSHmXFG7n0koJogWfKgyjqUxpNKhINRhHyJiEO93IjREgVMJGHQEAbFzAOpggUFg6mkCC7AsoanJZrle7S0MuxHIqdsJ7RkcMuyP24CNUwASw84+AeAxe3wKfgADemeChAJ6BomECoxrdo8FdD1xhHgDBZx4cVOZnHWfAZ4Km5yXYVOlFAQFG2SskhOvF6o+AqwfF70CphQBSrq0Hr2+wwPDSsUeAscD0dLLaAIDPNLRzHxT2zARACH5BAUKAAoALA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EQAh+QQFCgAKACwJAAkAHgAdAAAEuhDIOUOgOGsqhtjgFhDEcIWoFBhGYaZocMwGAaMHots3WCRAQ6+CCQATh6HKcgL8gM0hc4IIKitTI3BwxV4Ix+5EYAGAkWKVgGywpgNrmVsMJ4MRwvTaXkWkAXtwOghRUgMeEoM8Vx2ITjoHhTeHLwABCDkFjJQUBJgHizACJY4TMzOhIaMDJRkypwWSGKwkXBqvBywEH0W0JKlFLLksNb8EBcbAGgTELAXPz8ckvDfMzi3QrV1wtHEoEQA7);

    display: block;
    top:375px;
    left:45%;
    opacity: 0.3;
    position:absolute;
	z-index: 99999;
}

.atwkslider .slides {
    zoom: 1;
}

/* ------------- Direction Nav ---------------- */
.atwk-direction-nav a {             /* there is limited customization available - much is internal to the script */
    width: 52px;
    height: 52px;
    margin: -20px 0 0;
    display: block;
    background: url(../images/bg_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 48%;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    z-index: 10;
}

.atwk-content-thumbs .atwk-direction-nav a,
.atwk-content-thumbs-above .atwk-direction-nav a {
    top:42%;
}

.atwk-direction-nav .atwk-next {    /* these are the initial hidden positions of the arrow icons */
    background-position: 100% 0;
    right: -36px;
}

.atwk-direction-nav .atwk-prev {
    left: -36px;
}

#ie8 .atwk-direction-nav .atwk-next,    /* many WP themes wrap with ie7/8, so fix the prev/next for those that do */
.ie8 .atwk-direction-nav .atwk-next,
#ie7 .atwk-direction-nav .atwk-next,
.ie7 .atwk-direction-nav .atwk-next {
    right: 0px;
}

#ie8 .atwk-direction-nav .atwk-prev,
.ie8 .atwk-direction-nav .atwk-prev,
#ie7 .atwk-direction-nav .atwk-prev,
.ie7 .atwk-direction-nav .atwk-prev {
    left: 0px;
}

.atwkslider:hover .atwk-next {
    opacity: 0.8; right: 0px;
}

.atwkslider:hover .atwk-prev {
    opacity: 0.8; left: 0px;
}

.atwkslider:hover .atwk-next:hover,
.atwkslider:hover .atwk-prev:hover {
    opacity: 1;
}

.atwk-direction-nav .disabled {
    opacity: .3!important;
    filter:alpha(opacity=30);
    cursor: default;
}


/* --------------------  Pause/Play ---------------------- */
.atwk-pauseplay span {
    text-transform: capitalize;
}

.atwk-pauseplay a {     /* position the pause play button */
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #ccc;
    text-shadow: 5px 2px 4px black;
}
.atwk-pauseplay a:before  {
    font-family: "flexslider-icon";
    font-size: 20px;
    display: inline-block;
    content: '\f004';
}
.atwk-pauseplay a:hover {
    color:#888;
    opacity: 1;
}
.atwk-pauseplay a.atwk-play:before {
    content:  '\f003';
}

/* ---------------------------- Control Nav - paging ----------------------------- */


.atwk-content-thumbs {          /* slider pager */

    margin-top:-35px;           /* margins between slider and slider thumbs slider */
    overflow: visible;
}

.atwk-content-thumbs-above {      /* slider pager - above */
    margin-top:0px;             /* margins between slider and slider thumbs slider */
    margin-bottom:5px;
    overflow: visible;
}

.atwkslider .atwk-control-nav {     /* pager dots */
    width: 100%;
    position: absolute;
    bottom:auto;
	top:105%;                	/* space above dots */
    text-align: center;
    z-index:11;
}   /* location of pager -40 original */



.atwkslider .atwk-control-nav li {      /* pager dots */
    margin: 0 6px !important;           /* space between dots - need !important for some browsers */
    display: inline-block;
    zoom: 1;
    *display:inline;
}
.atwkslider .atwk-control-paging li a { /* paging dots */
    width: 11px;                        /* can make a "bar " */
    height: 11px;
    display: block;
    background: #888;   /* light themes: #666, dark themes: */
    cursor: pointer;
    text-indent: -9999px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -moz-box-shadow: inset 0 0 3px #EEE;
    box-shadow: inset 0 0 3px #EEE;
}

.atwkslider .atwk-control-paging li a:hover {
    background: #555;
}

.atwkslider .atwk-control-paging li a.atwk-active {
    background: #333;               /* light themes: #000, dark themes: #fff */
    cursor: default;
}

.atwkslider .atwk-control-nav.atwk-control-thumbs li { /* thumbnail paging images */
    padding:0px!important;
    margin: 0px 0 0px 0 !important;       /* to put some space between thumbs */
}

.atwkslider .atwk-control-thumbs {
    margin: 5px 0 0 0 !important;
    position: static;
    overflow: hidden;
}

.atwkslider .atwk-control-thumbs li {
    width: 16%;                         /* controls number of thumbs in thumbnail pager */
    float: left;
    margin: 0 !important;
    padding: 0px !important;
}

.atwkslider .atwk-control-thumbs img,
.atwk-content-thumbs .slides .atwk-slide img,
.atwk-content-thumbs-above .slides .atwk-slide img {  /* slider pager */
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
    -moz-box-shadow:none!important;
    box-shadow:none!important;
}

.atwkslider .atwk-control-thumbs img {  /* Thumbnail pager */
    width: 100%;
    max-width:100%;
    display: block;
    opacity: .65;
    cursor: pointer;
    padding:0;
    margin:0 !important;
    border:none;
}

.atwk-content-thumbs img,
.atwk-content-thumbs-above img {      /* opacity for siding pager images */
    opacity: .65;
}

.atwk-content-thumbs .atwk-active-slide img,
.atwk-content-thumbs img:hover,
.atwk-content-thumbs-above .atwk-active-slide img,
.atwk-content-thumbs-above img:hover {
    opacity: 1;
}

.atwkslider .atwk-control-thumbs img:hover {
    opacity: 1;
}

.atwkslider .atwk-control-thumbs .atwk-active {
    opacity: 1;
    cursor: default;
}

/* ------------------------ Caption style -------------------------- */

.atwkslider .atwk-caption-overlay { /* fix for older IE */
    background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
    zoom: 1;
}


.atwkslider .atwk-caption-overlay {
    background: rgb(32,32,32);              /* fallback */
    background: rgba(32,32,32, .6);         /* dark, transparent bg for caption */
    color: #fff;
    font-family:Tahoma, Arial,sans-serif;
    font-size: 80%;
    bottom:5px;                          /* how far up from bottom - gets dynamcally changed depending on margins and presence of description */
    right:5px;                          /* how far from right */
    letter-spacing:0.06em;
    line-height: 1.4em;
    padding: 0.8em;
    position: absolute;
    text-shadow: 1px 1px 1px black;         /* match the title, make a bit more readable */
    max-width:75%;                          /* width when no description */
    z-index:10;
}

.atwkslider .atwk-caption-description {     /* when we have both a caption and a description */
    background: none;
    color: #fff;
    font-family:Tahoma, Arial,sans-serif;
    font-size: 15px;
    top:5px;
    right:15px;
    letter-spacing:0.06em;
    line-height: 1.4em;
    padding: 1.0em;
    position: absolute;
    text-shadow: 1px 1px 1px black;
    max-width:58%!important;  /* match with padding */
    z-index:10;
}

.atwkslider .atwk-caption {           /* putting the caption below the image */
    color: #555;
    font-family:Tahoma, Arial,sans-serif;
    font-size: 90%;
    letter-spacing:0.06em;
    line-height: 1.2em;
    padding: 0.8em 10% 0.8em 10%;
    text-align: center;
    max-width:100%;                          /* width when no description */
    -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
    z-index:10;
}

/* ------------------------- Image Title Style ------------------------- */
.atwkslider .atwk-title-overlay {
    background:none;
    color: #fff;
    font-family:Tahoma, Arial,sans-serif;
    font-size: 1.2em;
    font-weight:bold;
    left:10px;                       /* how far from left edge */
    top: 5px;
    letter-spacing:0.1em;
    line-height: 1.4em;
    max-width:35%;                      /* this will be dynamically adjusted depending if there is a description or not */
    padding:1.0em;
    position: absolute;
    text-shadow: 3px 3px 3px black;     /* border around title makes it readable on multiple bgs */                        /* how far down from top of slide */
    z-index:10;
}


.atwkslider .atwk-title {             /* for titles above image */
    color: #555;
    font-family:Tahoma, Arial,sans-serif;
    font-size: 15px;
    font-weight:bold;
    letter-spacing:0.09em;
    line-height: 18px;
    padding: 0px 0 2px 0;
    text-shadow: 1px 1px 1px black;       /* match the title, make a bit more readable */
    max-width:90%;
    margin: 10px 5% 10px 5%;
    height: 17px;                          /* for all to be same hight - ugly otherwise 1.4 + .33 + .33 */
    overflow:hidden;
    text-align: center;
    text-wrap: none;
    text-shadow: 1px 1px 1px #eee;
    -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px; border-top-right-radius: 4px;

    z-index:10;
}

/* ------------------------- Image Description Style ------------------------- */

.atwkslider .atwk-description {         /* very basic for description */
    padding:2%;
    z-index:10;
}

/* ------------------------- Overrides for Posts ------------------------- */
.atwkslider .atwk-slide .slide-post .post,
.atwkslider .atwk-slide .slide-post .atw-post,
.atwkslider .atwk-slide .slide-post .atw-entry-header,
.atwkslider .atwk-slide .slide-post .atw-entry-header,
.atwkslider .atwk-slide .slide-post .atw-entry-title {
    margin:0;
    padding:0;
    max-width:100%;
}
.atwkslider .atwk-slide .slide-post .atw-post .atw-featured-image .attachment-thumbnail {
    float:none;
    max-width: 200px;
}

/* ------------------------- Responsive rules ------------------------- */
@media screen and (max-width: 860px) {
.atwk-direction-nav .atwk-prev { opacity: 1; left: 10px;}
.atwk-direction-nav .atwk-next { opacity: 1; right: 10px;}
}
@media screen and (max-width: 640px) {
.atwkslider .atwk-description
.atwkloading {
    display:none;
}
}
@media screen and (max-width: 580px) {
.atwkslider .atwk-title,
.atwkslider .atwk-title-overlay,
.atwkslider .atwk-caption-overlay,
.atwkslider .atwk-caption {
    display:none;
}
}
