/*#photo-edit-popup {
    width: 451px;
    height: 625px;
}

#photo-edit-popup .modal-dialog,
#photo-edit-popup .modal-content,
#photo-edit-popup .modal-header,
#photo-edit-popup .modal-title,
#photo-edit-popup .modal-footer {
    width: 451px;
}*/

#photo-edit-popup .modal-content {
    padding: 0;
    width: 451px;
    /*height: 625px;*/

    border-radius: 0;

    background-color: #f2f2f2;
    color: #666666;
}
#photo-edit-popup .modal-header {
    padding: 0;
    width: 451px;
    height: 33px;
}
#photo-edit-popup .modal-footer {
    padding: 0;
    margin-top: 0;
    width: 451px;
    height: 39px;
    text-align: center;
}
#photo-edit-popup .modal-body {
    padding: 0;
    width: 451px;
    height: 553px;
}

#photo-edit-popup .modal-header .modal-title {
    margin: 10px 0 10px 15px;
}

#photo-edit-popup .modal-header .close {
    margin-right: 15px;
    margin-top: 3px;
    margin-bottom: 10px;
}

#photo-edit-popup .modal-header .close img{
    margin-bottom: 10px;
}

.photo-modal-content {
    width: 313px;
    margin: auto;

    font-size: 10px;

    font-weight: bold;
    color: #666666;
    font-size: 10px;

}

.photo-modal-content .my-btn {
    display: inline-block;
    margin: 0;
    padding: 0;

    text-align: center;
    vertical-align: middle;

    cursor: pointer;
    background-image: none;

    white-space: nowrap;
    /*padding: 6px 12px;*/
    /*font-size: 14px;*/
    line-height: 1.42857143;
    border-radius: 2px;
    /*border-color: #f2dfca;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.photo-modal-content .ctrl-replace2-wrapper .my-btn {
    background-color: #5cb85c;
    color: #ffffff;
}



/* "Notify Me"-box */

.photo-modal-content .box-notifyme {
    margin: 2px 0 0 2px;
    padding: 0;

    width: 131px;
    height: 21px;

    font-size: 10px;
    font-weight: normal;

    background-color: #f2f2f2;
    color: #666666;

    float: left;
}

/* Visibility buttons */

.photo-modal-content .btn-visibility {
    margin: 2px 0 2px 2px;
    padding: 2px 0 0 0;


    width: 41px;
    height: 19px;

    border: 1px solid #f2dec8;

    font-size: 10px;
    font-weight: normal;

    background-color: #f2f2f2;
    color: #666666;

    float: left;

    text-align: center;
    text-decoration: none;
}

.photo-modal-content .btn-visibility-active {
    background-color: #e46e14;
    color: #ffffff;
}

/* Delete button */

.photo-modal-content .btn-delete {
    margin: 2px 2px 2px 8px;
    padding: 2px 0 0 0;

    width: 41px;
    height: 19px;

    font-size: 10px;
    font-weight: normal;

    background-color: #cc2329;
    color: #ffffff;

    float: right;

    text-align: center;
    text-decoration: none;
}


.photo-modal-content .btn-moveintoposition {
    margin: 0 0 3px 0;
    padding: 3px 0 0 0;

    width: 127px;
    height: 27px;

    font-size: 10px;
    font-weight: normal;

    border: 1px solid #f2dec8;

    background-color: #f2f2f2;
    color: #666666;

    float: left;

    text-align: center;
    text-decoration: none;
}

.photo-modal-content .btn-flip {
    margin: 0 0 3px 5px;
    padding: 3px 0 0 0;

    width: 87px;
    height: 27px;

    font-size: 10px;
    font-weight: normal;

    border: 1px solid #f2dec8;

    background-color: #f2f2f2;
    color: #666666;

    float: left;

    text-align: center;
    text-decoration: none;
}

.photo-modal-content .btn-replace2 {
    margin: 0 0 3px 6px;
    padding: 5px 0 0 0;

    font-size: 10px;
    font-weight: normal;

    width: 87px;
    height: 27px;

    border: 1px solid #f2dec8;

    background-color: #5cb85c;
    color: #ffffff;

    float: right;

    text-align: center;
    text-decoration: none;
}

.btn-replace2 img {
    margin-bottom: 3px;
    padding-right: 2px;
}

#editor-wrapper {
    position: relative;
}

#photo-edit-popup .photo-box-wrap {
    float: left;
    width: 29px;
    height: 40px;
    padding: 0;
    margin: 0 1px;
}

#photo-edit-popup .photo-box-editor {
    /*cursor: pointer;*/
}

.photo-box-editor .x-image img {
    width: 29px;
    height: 40px;
}

/* Zoom slider */

.zoom-wrap {
    background-color: #e46e14;
    opacity: 0.5;
    width: 265px;
    height: 30px;
    border-radius: 3px;

    position: absolute;
    bottom: 17px;
    left: 25px;
}

.btn-zoom {
    /*float: left;*/
}

#editor-zoom-slider {
    /*float: left;*/
    height: 1px;
    margin-top: 15px;
}

.noUi-horizontal .noUi-handle,
.noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    opacity: 1.0;
    top: -11px;
    left: -13px;
}

.noUi-handle:after, .noUi-handle:before {
    display: none;
}

.btn-save {
    width: 57px;
    height: 24px;
    background-color: #e46e14;
    color: #ffffff;
    border: 1px solid #c97330;
    border-radius: 3px;
    margin: 2px;
}

.btn-cancel  {
    width: 57px;
    height: 24px;
    background-color: #FFFFFF;
    color: #666666;
    border: 1px solid #a6a6a6;
    border-radius: 3px;
    margin: 2px;
    padding: 0;
}


/* wrapper & main container */
.m40-wrap {
    margin: 0;
    padding: 0;

    color: #000000;
}

.m40 {
    margin: 0 0 0 2px;
    width: 650px;
}

/* base structure */

.m40 .m40-header {
    width: 100%;
}

.m40 .m40-content {
    width: 100%;
    padding: 0 0 28px 19px;
    background-color: #f6ede6;
}

.m40 .m40-footer {
    width: 100%;
}

/* m40 header */

.m40-header {
    padding: 0;
    margin: 22px 0 0 2px;

    /*font-size: 17px;*/
}

/* m40 content */

.m40-content h4 {
    padding: 0;
    margin: 6px 0 6px 6px;

    font-size: 12px;
    font-weight: bold;
}

.m40-content h4.vip-photos {
    color: #ea6d14;
}

.m40-content h4.awaiting-approval {
    color: #860000;
}

.m40-content .left-side {
    float: left;
}

.m40-content .photo-box-wrap {
    float: left;
    margin: 0 0 0 6px;
    position: relative;

    width: 73px;
    height: 111px;
}

.m40-content .photo-box-wrap img{
    width: 73px;
    height: 97px;
    /*cursor: pointer;*/
}

.m40-content .photo-box-viponly-wrap {
    float: left;
    margin: 0 0 0 6px;
    position: relative;

    width: 73px;
    height: 111px;
}

.m40-content .photo-box-viponly-wrap img{
    width: 73px;
    height: 97px;
}

.m40-challengers {
    margin: 0 0 0 22px;
    padding-top: 14px;
}

.photo-challenger-box {
    float: left;
    margin: 0 7px 2px 0;
}

.photo-challenger-box img{
    width: 33px;
    height: 45px;
}

.m40-challengers h4 {
    margin-left: 0;
}

a.btn-photo-action, a.btn-photo-action:hover {
    position: absolute;
    bottom: 28px;
    left: 10px;
    width: 53px;
    height: 13px;
    background-color: #ffffff;
    color: #ea6d14;
    border-top: solid 1px #a8a09e;
    font-size: 9px;
    text-decoration: none;
    text-align: center;
}

.nd-clickable {
    cursor: pointer;
}

.m40-content .right-side {
    float: left;
}

.m40-content .become-vip-wrap {
    padding: 0;
    margin: 44px 0 34px 40px;
}

a.become-vip, a.become-vip:hover {
    display: block;
    width: 158px;
    height: 47px;

    /*background-color: #30cf31;*/
    background-image: url('../images/photo_edit_popup/become-vip-btn-bg.jpg');
    background-repeat: no-repeat;

    margin: 16px 0 0 0;

    color: #FFFFFF;

    border-top: solid 8px #dfd2c8;
    border-right: solid 10px #dfd2c8;
    border-bottom: solid 8px #dfd2c8;
    border-left: solid 9px #dfd2c8;

    font-size: 14px;
    text-align: center;
    text-decoration: none;

    padding-top: 8px;

    -webkit-box-shadow: 0px 3px 3px 0px rgba(102,102,102,1);
    -moz-box-shadow: 0px 3px 3px 0px rgba(102,102,102,1);
    box-shadow: 0px 2px 2px 0px rgba(102,102,102,1);

    text-shadow: 0px 2px 2px rgba(0, 0, 0, 1);
}

/* shadow */

.photo-box-shadow {
    height: 13px; min-height: 13px;


    background: rgba(206,206,206,1);
    background: -moz-linear-gradient(top, rgba(206,206,206,1) 0%, rgba(246,246,246,0.67) 47%, rgba(237,237,237,0.3) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(206,206,206,1)), color-stop(47%, rgba(246,246,246,0.67)), color-stop(100%, rgba(237,237,237,0.3)));
    background: -webkit-linear-gradient(top, rgba(206,206,206,1) 0%, rgba(246,246,246,0.67) 47%, rgba(237,237,237,0.3) 100%);
    background: -o-linear-gradient(top, rgba(206,206,206,1) 0%, rgba(246,246,246,0.67) 47%, rgba(237,237,237,0.3) 100%);
    background: -ms-linear-gradient(top, rgba(206,206,206,1) 0%, rgba(246,246,246,0.67) 47%, rgba(237,237,237,0.3) 100%);
    background: linear-gradient(to bottom, rgba(206,206,206,1) 0%, rgba(246,246,246,0.67) 47%, rgba(237,237,237,0.3) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cecece', endColorstr='#ededed', GradientType=0 );


}


.photo-box-viponly-shadow {

    height: 13px; min-height: 13px;

    /*background: rgba(255,175,143,1);
    background: -moz-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,175,143,1)), color-stop(38%, rgba(255,217,201,0.21)), color-stop(73%, rgba(255,255,255,0.21)));
    background: -webkit-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -o-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -ms-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: linear-gradient(to bottom, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf8f', endColorstr='#ffffff', GradientType=0 );
*/
    background: rgba(255,175,143,1);
    background: -moz-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,175,143,1)), color-stop(38%, rgba(255,217,201,0.21)), color-stop(73%, rgba(255,255,255,0.21)));
    background: -webkit-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -o-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: -ms-linear-gradient(top, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    background: linear-gradient(to bottom, rgba(255,175,143,1) 0%, rgba(255,217,201,0.21) 38%, rgba(255,255,255,0.21) 73%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf8f', endColorstr='#ffffff', GradientType=0 );

}

.shadow {
    background: #7e7e7e;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 10px;
}

/* m40 footer */

.m40-footer {
    margin: 0 0 0 2px;
}

.m40-footer p {
    font-size: 11px;
    margin: 0 0 20px 0;
}

.m40-footer a {
    font-size: 11px !important;
}

.m40-footer h3 {
    font-size: 17px;
    margin: 20px 0 20px 0;
}

.m40-footer .left-side {
    width: 400px;
    float: left;
    margin: 0 0 0 3px;
}

.m40-footer .right-side {
    width: 215px;
    float: left;

    margin: 0 0 0 20px;
}

.m40-footer .side-delimiter {
    width: 11px;
    height: 209px;
    float: left;
    margin: 22px 0 0 0;
    border-right: solid 1px #3e3e3e;
}

.editor-dummy-content {
    width: 313px;
    height: 419px;
    text-align: center;
    color: #666666;
    background-color: #cecece;
    padding-top: 25px;
}

.line1 {
    font-size: 23px;
}

.line2 {
    margin: 30px 0 0 0;
    font-size: 28px;
}

.line3 {
    margin: 5px 0 0 0;
    font-size: 17px;
}

.camera-icon {
    margin: 45px 0 0 0;
}

.camera-icon img {
    cursor: pointer;
}

.line4 {
    margin: 55px 0 0 0;
    font-size: 15px;
}

.hide-screen,
.preloader {
    position: fixed;
    /*position: absolute;*/
    display: none;
}


.preloader-editor {
    position: absolute;
    display: none;
}

.hide-screen {
    z-index: 9998;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.7;
    left:0;
    top:0;
}
.preloader {
    z-index: 9999;
    left: 50%;
    top: 50%;
}

.preloader-editor {
    z-index: 9999;
    /*left: 194px;
    top: 275px;*/
    left: 45%;
    top: 45%;
}

.zz {
    height: 111px;
}

.become-vip img {
    margin-bottom: 3px;
    margin-left: 5px;
}

.photo-info {
    width: 73px;
    height: 97px;
    min-width: 73px;
    min-height: 97px;

    opacity: 0.65;

    position: absolute;
    bottom: 13px;
    left: 0;
    color: #fff;
    background-color: #000;
    text-align: center;
    padding-top: 22px;
    font-size: 12px;
    line-height: 1.3;

    cursor: pointer;
}

.photo-info-primary, .photo-info-alternative {
    padding-top: 12px;
}

#messages-modal {
    z-index: 1000;
    position: relative;
    width: 440px;
    margin: auto;
}