/* NivoSlider 3.2 */

.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden
}

.nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important
}

.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
    background: white;
    filter: alpha(opacity=0);
    opacity: 0
}

.nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0
}

.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    overflow: hidden
}

.nivo-box img {
    display: block
}

.nivo-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #000;
    color: #fff;
    width: 100%;
    z-index: 8;
    padding: 5px 10px;
    opacity: .8;
    overflow: hidden;
    display: none;
    -moz-opacity: .8;
    filter: alpha(opacity=8);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.nivo-caption p {
    padding: 5px;
    margin: 0
}

.nivo-caption a {
    display: inline !important
}

.nivo-html-caption {
    display: none
}

.nivo-directionNav a {
    position: absolute;
    top: 45%;
    z-index: 9;
    cursor: pointer
}

.nivo-prevNav {
    left: 0
}

.nivo-nextNav {
    right: 0
}

.nivo-controlNav {
    text-align: center;
    padding: 15px 0
}

.nivo-controlNav a {
    cursor: pointer
}

.nivo-controlNav a.active {
    font-weight: bold
}


/* Nivoslider Theme Default */

.theme-default .nivoSlider {
    width: 100%;
    height: 40%;
    position: relative;
    background: #fff url(../img/nivoslider/loading.gif) no-repeat 50% 50%;
}

.theme-default .nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    display: none
}

.theme-default .nivoSlider a {
    border: 0;
    display: block
}

.theme-default .nivo-controlNav {
    text-align: center;
    padding: 20px 0
}

.theme-default .nivo-controlNav a {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../img/nivoslider/bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin: 0 2px
}

.theme-default .nivo-controlNav a.active {
    background-position: 0 -22px
}

.theme-default .nivo-directionNav a {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../img/nivoslider/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-default:hover .nivo-directionNav a {
    opacity: 1
}

.theme-default a.nivo-nextNav {
    background-position: -30px 0;
    right: 15px
}

.theme-default a.nivo-prevNav {
    left: 15px
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif
}

.theme-default .nivo-caption a {
    color: #fff;
    border-bottom: 1px dotted #fff
}

.theme-default .nivo-caption a:hover {
    color: #fff
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
    width: 100%
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: 0;
    margin-bottom: 5px
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto
}

#home_adv_popup {
    display: none
}

#simplemodal-overlay {
    background-color: #000
}

#simplemodal-container {
    height: auto;
    width: auto;
    color: #bbb;
    background-color: #333;
    border: 4px solid #444;
    padding: 12px
}

#simplemodal-container .simplemodal-data {
    padding: 8px
}

#simplemodal-container code {
    background: #141414;
    border-left: 3px solid #65b43d;
    color: #bbb;
    display: block;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 4px 6px 6px
}

#simplemodal-container a {
    color: #ddd
}

#simplemodal-container a.modalCloseImg {
    background: url(../img/simplemodal/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer
}

#simplemodal-container h3 {
    color: #84b8d9
}

#simplemodal-container img {
    max-width: 100%
}
