/*
Skin Name: Nivo Slider Sugarcube Theme
Description: The Sugarcube skin for the Nivo Slider.
Version: 1.3
Author: John Hobson
Author URI: http://damselflydevelopment.com
Supports Thumbs: true
*/

.theme-sugarcube .nivoSlider {
    position: relative;
    background: #fff url(loading.gif) no-repeat 50% 50%;
}

.theme-sugarcube .nivoSlider img {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}

.theme-sugarcube .nivoSlider a {
    border: 0;
    display: block;
}

.theme-sugarcube .nivo-controlNav {
    text-align: center;
    padding: 20px 0;
}

.theme-sugarcube .nivo-controlNav a {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin: 0 2px;
}

.theme-sugarcube .nivo-controlNav a.active {
    background-position: 0 -22px;
}

.theme-sugarcube .nivo-directionNav a {
    display: block;
    width: 30px;
    height: 30px;
    top: 90%;
    background: url(arrows.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.theme-sugarcube:hover .nivo-directionNav a { opacity: 1; }

.theme-sugarcube a.nivo-nextNav {
    background-position: -30px 0;
    right: 15px;
}

.theme-sugarcube a.nivo-prevNav {
    left: 15px;
}

.theme-sugarcube .nivo-caption {
    background: #38b5e6; left: 0; top: 40%; width: 33%; height: 33%; min-width: 280px; min-height: 200px; max-width: 330px;
}

.theme-sugarcube .nivo-caption p { color: #fff; padding: 0; }

.theme-sugarcube .nivo-caption a {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

.theme-sugarcube .nivo-caption a:hover {
    color: #fff;
}

.theme-sugarcube .nivo-controlNav.nivo-thumbs-enabled {
    width: 100%;
}

.theme-sugarcube .nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
}

.theme-sugarcube .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto;
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    .theme-sugarcube .nivoSlider {
        background: #fff;
    }

    .theme-sugarcube .nivo-caption {
        max-width: 100%; min-height: 150px; top: 0; bottom: 0; left: 0; right: 0; position: relative; width: 100%; height: 100%; padding-left:50px; padding-right:50px;
    }

    .theme-sugarcube .nivoSlider img {
        opacity: 0; height: 0; display: none !important;
    }

    .theme-sugarcube .nivo-directionNav a { top: 42%; }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .theme-sugarcube .nivo-caption h3 { font-size: 20px; margin-top: 15px; margin-bottom: 5px; }
}