#dynPhoto {
 padding: 0 10px;
}

#photoModalWrap, #photoModalWrap td {
 font: 13px/1.5 Arial, Tahoma, Verdana, sans-serif;
 color: #555;
}

#photoModalWrap a {
 color: #3d84c9;
 text-decoration: none;
 transition: color 0.2s ease;
}

#photoModalWrap a:hover {
 color: #1a5fb4;
 text-decoration: underline;
}

#photoModalWrap hr {
 margin: 10px 0;
 border: none;
 border-top: 1px solid #eee;
 height: 0;
}

#photoModalWrap .uphoto-entry {
 margin-bottom: 20px;
}

#photoModalWrap input[type="text"],
#photoModalWrap input[type="password"],
#photoModalWrap textarea {
 box-sizing: border-box;
 vertical-align: middle;
 height: 36px;
 margin: 3px 0;
 padding: 8px 10px;
 font-family: Arial, Tahoma, Verdana, sans-serif;
 font-size: 13px;
 line-height: 18px;
 color: #333;
 background: #fff;
 border: 1px solid #dcdada;
 border-radius: 6px;
 outline: none;
 transition: border-color 0.2s ease;
}

#photoModalWrap input[type="text"]:focus,
#photoModalWrap input[type="password"]:focus,
#photoModalWrap textarea:focus {
 border-color: #3d84c9;
}

#photoModalWrap textarea {
 padding: 8px 10px;
 height: auto;
 overflow: auto;
 resize: none;
}

#photoModalWrap .securityCode {
 height: auto !important;
}

#photoModalWrap #message {
 width: 100%;
 height: 100px !important;
}

#photoModalWrap input[type="button"],
#photoModalWrap input[type="submit"],
#photoModalWrap input[type="reset"],
#photoModalWrap .button,
#photoModalWrap select {
 box-sizing: border-box;
 position: relative;
 display: inline-block;
 vertical-align: middle;
 min-width: 20px;
 padding: 0 16px;
 text-align: center;
 text-decoration: none !important;
 font: 13px/34px Arial, Tahoma, Verdana, sans-serif;
 font-weight: bold;
 height: 34px;
 color: #fff !important;
 border: none;
 border-radius: 6px;
 background: #3d84c9;
 cursor: pointer;
 transition: background 0.2s ease;
 overflow: visible;
}

#photoModalWrap select {
 height: auto !important;
 color: #333 !important;
 background: #fff;
 border: 1px solid #dcdada;
 font-weight: normal;
}

#photoModalWrap ::-moz-focus-inner {
 border: 0;
 padding: 0;
}

#photoModalWrap input[type="button"]:hover,
#photoModalWrap input[type="submit"]:hover,
#photoModalWrap input[type="reset"]:hover,
#photoModalWrap .button:hover {
 background: #1a5fb4;
}

#photoModalWrap input[type="button"]:active,
#photoModalWrap input[type="submit"]:active,
#photoModalWrap input[type="reset"]:active,
#photoModalWrap .button:active {
 background: #144d94;
}

#photoModalWrap .codeButtons {
 min-width: 20px;
 margin: 2px 1px !important;
 padding: 4px 8px !important;
 width: auto !important;
 height: auto !important;
 line-height: 1.4 !important;
 color: #555 !important;
 background: #f5f6f7;
 border: 1px solid #dcdada;
}

#photoModalWrap .codeButtons:hover {
 background: #eaf3fc;
}

#photoModalWrap .cBlock1,
#photoModalWrap .cBlock2,
#photoModalWrap .cBlock1 td,
#photoModalWrap .cBlock2 td {
 font-size: 12px;
 font-family: Arial, Tahoma, Verdana, sans-serif;
}

#photoModalWrap .cTop {
 border: 0;
}

#photoModalWrap .cBlock1,
#photoModalWrap .cBlock2,
#photoModalWrap .cMessage {
 border: 0 !important;
 background: none !important;
}

#photoModalWrap .cBlock1,
#photoModalWrap .cBlock2 {
 border-top: 1px solid #eee !important;
}

#photoModalWrap .cMessage a:first-child img {
 margin: 0 5px 2px;
 border-radius: 4px;
}

#photoModalWrap #addform,
#photoModalWrap .commTable,
#photoModalWrap .smiles {
 margin: 0 !important;
 background: none !important;
 border: 0 !important;
}