/* OLD INSERT AD FORM */

.PhotoEditBox {
    position: relative;
    float: left;
    width: 958px;
    background-color: #FFFFFF;
    padding: 0px 0px 0px 0px;
    margin: 14px 0px 14px 14px;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: #7F9DB9;
}

.PhotoEditRow {
    position: relative;
    float: left;
    width: 930px;
}

.PhotoEditThumb {
    position: relative;
    float: left;
    background-color: #E9E9E9;
    width: 220px;
    height: 220px;
    padding: 0px 0px 0px 0px;
    margin: 0px 17px 17px 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #7F9DB9;
}

.PhotoEditThumb:link {}

.PhotoEditThumb:hover {
    background-color: #E6EAEE;
}

.PhotoEditThumb:active {}

.PhotoEditThumbHead {
    position: relative;
    top: 0;
    left: 0;
    width: 220px;
    height: 16px;
    margin: 0px 0px 0px 0px;
    padding: 9px 0px 5px 0px;
    /*background-color:#062f57 ; */
    background-color: #E9E9E9;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: #062f57;
    font-size: 16px;
    color: #000000;
    text-align: center;
    line-height: 20px;
}

.PhotoEditThumbImg {
    position: relative;
    background-color: #FFFFFF;
    width: 198px;
    height: 118px;
    line-height: 118px;
    margin: 10px;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #7F9DB9;
    color: #E9E9E9;
}

/* .PhotoEditThumbImg img {
    max-width: ;
    max-height: 118px;
    height: 118px;
} */

.PhotoEditThumbButton {
    position: relative;
    top: 0;
    left: 0;
    width: 220px;
    height: 40px;
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 0px 0px;
    background-color: #E9E9E9;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: #062f57;
    font-size: 14px;
    color: #000000;
    text-align: center;
    line-height: 30px;
}

/* Buttomn Add Photo */

.ButtonAddPhoto {
    width: 200px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 10px;
    border: solid 4px #009900;
    background: #009900;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
}


.ButtonDeletePhoto {
    width: 200px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF; /* Text color */
    line-height: 10px;
    border: solid 4px #FF0000; /* Border color */
    background: #FF0000; /* Background color */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transitions */
}

.ButtonDeletePhoto:hover {
    background: #CC0000; /* Darker background on hover */
    border-color: #CC0000; /* Darker border on hover */
}
/*  Button Edit Photo */

.ButtonPhotoEdit {
    float: left;
    width: 48px;
    height: 38px;
    line-height: 38px;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    font-weight: bold;
    background: #FFFFFF;
    border: solid 1px #7F9DB9;
    cursor: pointer;
    text-align: center;
}

.ButtonEnabled:hover {
    background: #FF6600;
    border: solid 1px #FF6600;
    color: #FFFFFF;
    text-decoration: none;
}

.ButtonPhotoEdit i {
    line-height: 38px;
    font-size: 20px;
    text-align: center;
    font-style: normal;
}

.ButtonPhotoEdit i:hover {
    text-decoration: none;
}

.ButtonDelete {
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
}

.ButtonNo1 {
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    border-radius: 5px 0px 0px 5px;
    margin-left: 10px;
}

.ButtonLegendWrapper {
    float: left;
    width: 100%;
    margin-bottom: 7px;
    height: 38px;
    line-height: 38px;
}

.ButtonLegend {
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin-right: 7px;
}

.ButtonDisabled i {
    color: #7F9DB9;
}

/*  Button Upload Photos */

.ButtonUploadPhotos {
    width: 350px;
    height: 42px;
    margin: 10px;
    padding: 0px;
    font-size: 16px;
    font-weight: bold;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    border: solid 1px #808000;
    background: #808000;
    color: #FFFFFF;
    cursor: pointer;
}

.ButtonUploadPhotos i {
    float: left;
    width: 28px;
    line-height: 42px;
    font-size: 26px;
    padding: 0px 10px 0px 10px;
    text-align: center;
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: #7F9DB9;
}

.ButtonUploadPhotos span {
    float: left;
    margin: 0 0 0 0px;
    line-height: 42px;
    padding: 0px 9px 0px 14px;
}

.ButtonUploadPhotos:hover {
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
}

/*  Button Hide  */

.ButtonHide {
    display: none;
}

/*  PhotoInputFile  */

.PhotoInputFile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.PhotoInputLabel {
    width: 944px;
    margin-top: 7px;
    border: 1px solid #D3394C;
    background-color: #E9E9E9;
    font-size: 16px;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.PhotoInputCount {
    float: left;
    vertical-align: top;
    width: 500px;
    height: 30px;
    margin: 0px;
    padding: 7px 7px 7px 14px;
    line-height: 30px;
    color: # 000000;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.PhotoInputButton {
    float: left;
    vertical-align: top;
    width: 407px;
    height: 30px;
    margin: 0px;
    padding: 7px;
    line-height: 30px;
    border: 1px solid #d3394c;
    background-color: #d3394c;
    color: #f1e5e6;
    display: inline-block;
}

.PhotoInputButton i {
    padding: 0px 14px 0px 7px;
}

.PhotoInputButton:focus,
.PhotoInputButton.has-focus,
.PhotoInputButton:hover {
    background-color: #062F57;
}

@media screen and (max-width: 50em) {
    .PhotoInputButton {
        display: block;
    }
}