/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#cboxWrapper {
    height: 100% !important;
    padding-top: 25px;
}

#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 103;
    padding: 10px 0;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
    cursor: pointer;
    outline: none;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox, #cboxContent, #cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#colorbox {
    outline: 0;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 9px 0 #E3E8E4;
    background-color: #fff;
}

#cboxContent {
    margin-top: 32px;
    overflow: hidden;
    width: 100% !important;
    margin: 0 auto;
    float: none !important;
    background:#fff;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    width: 480px !important;
    overflow: auto;
    border: 0px solid #fff;
    margin:0px;
    margin-top: 60px;
    height: auto !important;
}

#cboxLoadingGraphic {
    background: url(../img/loading.gif) no-repeat center center;
}

#cboxLoadingOverlay {
    background: #000;
}

#cboxTitle {
    position: relative;
    color: #fff;
    margin: 0 auto;
    float: none !important;
    width: 1024px;
    padding: 10px 0 0 15px;
}

#cboxCurrent {
    position: absolute;
    top: -22px;
    right: 205px;
    text-indent: -9999px;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    z-index: 999999;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
}

    /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
    #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
        outline: 0;
    }

#cboxPrevious {
    background-position: 0px 0px;
    left: -35px;
    background: url(../img/imageboxprev.png) no-repeat center;
    width: 33px;
    height: 203px;
    top: 134px;
}

    #cboxPrevious:hover {
    }

#cboxNext {
    background-position: 0px 0px;
    right: -41px;
    background: url(../img/imageboxnext.png) no-repeat center;
    width: 33px;
    height: 203px;
    top: 134px;
}

    #cboxNext:hover {
    }

#cboxClose {
    right: 15px;
    background: url(../image/icon/popup_close.png) no-repeat center;
    top: 12px;
}


    #cboxClose:hover {
    }

.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious {
    right: 66px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position: -75px -25px;
    right: 44px;
}

    .cboxSlideshow_on #cboxSlideshow:hover {
        background-position: -100px -25px;
    }

.cboxSlideshow_off #cboxSlideshow {
    background-position: -100px 0px;
    right: 44px;
}

    .cboxSlideshow_off #cboxSlideshow:hover {
        background-position: -75px -25px;
    }
.mofforma #subscribeHeader{
    position: absolute;
    width: 100%;
    top: 0px;
    border-bottom: 1px solid #cccccc;
    height: 54px;
}
.mofforma{
    margin-top: 0px;
}

#cboxWrapper{
    padding-top:0px;
}
.cbox-inputs{
    margin-top:20px;
}
#subscribenews.mofforma input[type=text], #subscribenews.mofforma select{
    font-size: 15px;
    border-bottom: 2px solid #575757;
    height:40px;
}
#subscribenews.mofforma input[type=text]{
    width: 374px;
}
#subscribenews.mofforma select{
    width: 392px;
}
#cboxLoadingOverlay {
background: #fff;
}