.envpopup {display:none;position:absolute;left:50%;top:200px;margin-left:-280px;width:558px;height:401px;background:url(images/envelop.png) no-repeat;z-index:60;padding:72px 60px 10px 60px;font-family:verdana;font-size:14px;color:#636161;}
.envpopup p {text-align:center;margin-bottom:40px;}
.envpopup input[type="email"] {padding:6px 10px;width:240px;color:#7f7e7e;font-size:14px;font-style:italic;margin-bottom:10px;border-radius:2px;border:1px solid #ccc;display:block;}
.envpopup input[type="text"] {padding:6px 10px;width:240px;color:#7f7e7e;font-size:14px;font-style:italic;margin-bottom:10px;border-radius:2px;border:1px solid #ccc;display:block;}
.envpopup textarea {padding:5px 10px;width:100%;height:100px;max-height:100px;color:#7f7e7e;font-size:13px;font-style:italic;margin-bottom:10px;border-radius:2px;border:1px solid #ccc;font-family:verdana;resize:none;}
.envpopup .clsppv3a {top:76px;right:20px;}
.popupv3a input[type="submit"].gbut3, .envpopup input[type="submit"].gbut3 {display:inline-block;vertical-align:top; color:#6b6a6a;font-size:11px;text-decoration:none;padding:6px 20px;margin-top:10px;margin-bottom:8px;border-radius:3px;border:1px solid #b7b7b7;background: #f4f4f4;background: -moz-linear-gradient(top,  #f4f4f4 0%, #d3d3d3 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#d3d3d3));background: -webkit-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: -o-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: -ms-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: linear-gradient(to bottom,  #f4f4f4 0%,#d3d3d3 100%);}
.popupv3a input[type="submit"].gbut3:hover, .envpopup input[type="submit"].gbut3:hover {background:#dbdbdb;}
.popupv3a input[type="submit"].gbut3:active, .envpopup input[type="submit"].gbut3:active {background:#cdcbcb;}
.clsppv3a {display:inline-block;width:20px;height:20px;cursor:pointer;background:url(images/cls3.png) no-repeat;position:absolute;right:10px;top:10px;}
.forgotlink {font-size: 11px; text-decoration: underline; margin-top: 20px; display: inline-block; margin-left: 10px}
.popupv3a {display:none;width:400px;position:absolute;top:150px;left:50%;margin-left:-200px;padding:40px 50px 25px 50px;z-index:60;background: #fbfbfb;background: -moz-linear-gradient(top,  #fbfbfb 1%, #e7e7e7 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#fbfbfb), color-stop(100%,#e7e7e7));background: -webkit-linear-gradient(top,  #fbfbfb 1%,#e7e7e7 100%);background: -o-linear-gradient(top,  #fbfbfb 1%,#e7e7e7 100%);background: -ms-linear-gradient(top,  #fbfbfb 1%,#e7e7e7 100%);background: linear-gradient(to bottom,  #fbfbfb 1%,#e7e7e7 100%);-moz-box-shadow: 0 0 16px 1px #474747;-webkit-box-shadow: 0 0 16px 1px #474747;box-shadow: 0 0 16px 1px #474747;}
.popupv3a h3 {color:#c12f14;font-size:18px;font-weight:normal;margin-bottom:20px;}
.popupv3a input[type="text"],.popupv3a input[type="password"] {width:100%;padding:5px 10px;color:#7f7e7e;font-size:14px;font-style:italic;margin-bottom:10px;border-radius:2px;border:1px solid #ccc;}
a.gbut3.transparent {background:transparent;border: 1px solid transparent;margin:10px 5px;color:#2c2c2c;font-size:13px;}
a.gbut3.transparent:hover {text-decoration:underline;}
a.gbut3 {display:inline-block;vertical-align:top; color:#6b6a6a;font-size:11px;text-decoration:none;padding:6px 20px;margin-top:10px;margin-bottom:8px;border-radius:3px;border:1px solid #b7b7b7;background: #f4f4f4;background: -moz-linear-gradient(top,  #f4f4f4 0%, #d3d3d3 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#d3d3d3));background: -webkit-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: -o-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: -ms-linear-gradient(top,  #f4f4f4 0%,#d3d3d3 100%);background: linear-gradient(to bottom,  #f4f4f4 0%,#d3d3d3 100%);}
a.gbut3:hover {background:#dbdbdb;}
a.gbut3:active {background:#cdcbcb;}
.popupv3c .inputppholder {display:inline-block;position:relative;}
.popupv3c .inputppholder input {width:100%;border:1px solid #d0d0d0;border-radius:5px;padding:10px;outline:none;padding-left:55px;margin-bottom:5px;}
.popupv3c .inputaddc2 {display:inline-block;position:absolute;left:0;top:0;width:45px;height:38px;border-right:1px solid #d0d0d0;background:url(images/sprite/spritepp.png) no-repeat 11px 6px;}
.popupv3c .inputaddc2.inputaddc2pass {display:inline-block;position:absolute;left:0;top:0;width:45px;height:38px;border-right:1px solid #d0d0d0;background:url(images/sprite/spritepp.png) no-repeat 9px -47px;}
.popupv3c .inputaddc2.inputaddc2user {display:inline-block;position:absolute;left:0;top:0;width:45px;height:38px;border-right:1px solid #d0d0d0;background:url(images/sprite/user_icon.png) no-repeat 8px 5px;}
.reveal-modal a.forget {background: rgba(0, 0, 0, 0);border: 1px solid rgba(0, 0, 0, 0);position: relative;top: 13px;left:35px;color: #2C2C2C;font-size: 13px;}
.reveal-modal a.forget:hover {text-decoration: underline;}
.reveal-modal-bg {background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);display: none;height: 100%;    left: 0;min-width: 1000px;width: 100%;position: fixed;top: 0;z-index: 40;}
.reveal-modal {position: fixed;}
.error {border-color: red !important;}
.error_message {font-size: 11px !important;color: red !important;width: 100% !important;margin-top: 0px !important; /*margin-bottom: 10px !important;*/}
.success_message {font-size: 20px !important;color: black !important;width: 100% !important;margin-top: 0px !important;margin-bottom: 10px !important; text-align: center !important;}
.h3 {color: #c12f14 !important;font-size: 16px;vertical-align: baseline !important;}
.h3.active {font-size: 20px;font-weight: 700;}
.text {color: #6B6A6A;}


.reveal-modal.profile-window .green-button {padding: 2px 17px;color: #fff;display: inline-block;border-radius: 3px;background: #97bb43;font-family: Verdana;font-size: 14px;background: -moz-linear-gradient(top, #97bb43 0%, #72a11b 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #97bb43), color-stop(100%, #72a11b));background: -webkit-linear-gradient(top, #97bb43 0%, #72a11b 100%);background: -o-linear-gradient(top, #97bb43 0%, #72a11b 100%);background: -ms-linear-gradient(top, #97bb43 0%, #72a11b 100%);background: linear-gradient(to bottom, #97bb43 0%, #72a11b 100%);}
.reveal-modal.profile-window .gray-button {padding: 2px 17px;color: #fff;display: inline-block;border-radius: 3px;background: #97bb43;font-family: Verdana;font-size: 14px;background: #d0d0d0;}
.profile-slider-bubbles { text-align: center;position: relative;top: -9px;}
.profile-slider-bubbles .profile-bubbles {padding: 0 5px;}
.profile-slider-bubbles .profile-bubble {background: url('images/slider-bubble-inactive.png');width: 16px;height: 16px;display: inline-block;margin: 0 3px;cursor:pointer;}
.profile-slider-bubbles .profile-bubble.active {background: url('images/slider-bubble-active.png');}
.reveal-modal.profile-window .profile-slider-bubbles {text-align: center;margin-top: 0;margin-bottom: 15px;}
.reveal-modal.profile-window .profile-content {min-height: 200px;}
.reveal-modal.profile-window .batch {display: inline-block;width: 420px;}
.reveal-modal.profile-window .batch img {cursor: pointer;}
.reveal-modal.profile-window ul.images {height: 80px;}
.reveal-modal.profile-window {display: none;position: fixed;top: 150px;left: 50%;padding: 40px 50px 25px 50px;z-index: 60;background-color: white;-moz-box-shadow: 0 0 16px 1px #474747;-webkit-box-shadow: 0 0 16px 1px #474747;box-shadow: 0 0 16px 1px #474747;width: 460px;margin-left: -230px;top: 50%;visibility: visible;display: none;margin-top: -210px;padding: 0;}
.reveal-modal.profile-window .header{height: 41px;background: #fbfbfb;background: -moz-linear-gradient(top,  #fbfbfb 2%, #dfdfdf 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#fbfbfb), color-stop(100%,#dfdfdf));background: -webkit-linear-gradient(top,  #fbfbfb 2%,#dfdfdf 100%);background: -o-linear-gradient(top,  #fbfbfb 2%,#dfdfdf 100%);background: -ms-linear-gradient(top,  #fbfbfb 2%,#dfdfdf 100%);background: linear-gradient(to bottom,  #fbfbfb 2%,#dfdfdf 100%);}
.reveal-modal.profile-window .header .username{width: 100%;height: 100%;line-height: 38px;text-align: center;font-size: 14px;}
.reveal-modal.profile-window .main-block{padding:20px;}
.reveal-modal.profile-window .main-block .avatar{width: 165px;height: 165px;text-align: center;float: left;margin-right: 5px;}
.reveal-modal.profile-window .main-block .user-info{float: left;width: 250px;}
.reveal-modal.profile-window .main-block .vk{width: 75px;height: 16px;display: block;float: right;background: url(images/vk.png);margin-right: 8px;}
.reveal-modal.profile-window .main-block .text{color: #222;font-size: 15px;}
.reveal-modal.profile-window .main-block .images{margin: 20px 0 7px 0;padding: 0;margin-left: -1px;}
.reveal-modal.profile-window .main-block .images li{display: inline-block;width: 80px;height: 80px;margin: 0 0 0 3px;}
.reveal-modal.profile-window .main-block .images li.empty-image{background: url(images/empty-image.png);}
.reveal-modal.profile-window .main-block .send-message{padding: 10px;display: block;text-align: center;height: 41px;width: 246px;margin-left: 2px;}
.photos-block{padding: 20px;}
.photos-block .text{margin-bottom: 20px;text-align: center;font-size: 14px;color: #9d9d9d;}
.photos-block .user-photos{margin: 0 0 0 -1px;padding: 0;}
.photos-block .user-photos .item {display: inline-block;margin: 0 2px 0 2px;width: 80px;text-align: center;}
.og-grid .photos-block .user-photos .item:nth-child(6n+4) {margin: 0 2px 0 2px;}
.photos-block .user-photos .item img {max-width: 80px;max-height: 80px;}
.reveal-modal.profile-window .avatar img.popup {width: 165px;height: 165px;}
.reveal-modal.profile-window .user-info img.popup {width: 80px;height: 80px;}
.reveal-modal.profile-window img.popup.slide {max-width: 953px;max-height: 531px;}
.users .reveal-modal-bg {cursor: pointer;}
.reveal-modal.profile-window .profile-slider-images ul li {width: 953px;height: 635px;margin: 0;text-align: center;vertical-align: middle;display: table-cell;}
.reveal-modal.profile-window .profile-content ul.images {color: #5B5B5B;font-size: 14px;text-align: center;}
.reveal-modal.profile-window .profile-slider-images .slidesjs-previous.slidesjs-navigation {position: absolute;top: 68px;left: 0px;z-index: 25;width: 30px;height: 531px;background: url(images/rightarrow.png) no-repeat;margin-top:-27px;background-position: 50%;}
.reveal-modal.profile-window .profile-slider-images .slidesjs-next.slidesjs-navigation {position: absolute;top: 68px;right: 0px;z-index: 25;background: url(images/leftarrow.png) no-repeat;width: 30px;height: 531px;margin-top:-27px;background-position: 50%;}
.reveal-modal.profile-window .profile-slider-images .slidesjs-next:hover {background: url(images/leftarrow2.png) no-repeat;background-position: 50%;}
.reveal-modal.profile-window .profile-slider-images .slidesjs-previous:hover {background: url(images/rightarrow2.png) no-repeat;background-position: 50%;}

/* social popups */
.popupsocial {text-align:center;width:442px;padding:40px;margin-left:-260px;}
.popupsocial .gbut3 {cursor:pointer;}
.popupsocial p {font-size:14px;color:#4d4c4c;margin:10px 0px;line-height:20px;}
.popupsocial .button-container {display:block; width:100%;margin-top:0px;}
#.popupsocial .button-container a {display:inline;border-radius: 7px 7px 7px 7px;font-size:14px;background:#a1a1a1;color:#ffffff;}
#.popupsocial .button-container a.redbtn {background:#d22a26;border: 1px solid #D22A26;margin:10px 5px;}
.popupsocial .button-container a.transparent {background:transparent;border: 1px solid transparent;margin:10px 5px;color:#2c2c2c;font-size:13px;}
.popupsocial .button-container a.transparent:hover {text-decoration:underline;}
.popupsocial input {width:300px !important;}
.popupsocial .error_message {text-align:left;margin-left:33px;}
