.angularTemplate {
    visibility: hidden;
}
.pWrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    z-index: 999;
}
.flex {
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.pWrapper .pBg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
    background: #333;
    opacity: 0.5;
    z-index: 1000;
}
.pWrapper .pWin {
    position: relative;
    margin: 0px auto;
    max-height: 95%;
    max-width: 96%;
    background: #fff;
    z-index: 10001;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.pWrapper .pWin.overflow {
    height: 90%;
}
.pWrapper .pWin.withBtn {
    padding-bottom:61px;
}
.pWrapper .pWin.overflow img{
	width: 100%;
}
.pWrapper .pWin .pText {
    position: relative;
    width: 100%;
    float: left;
    padding: 2px 10px;
    box-sizing: border-box;
    margin: 0px;
}
.pWrapper .pWin.overflow .pText {
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    overflow-y: hidden;
}
.pWrapper .pWin.withBtn .pText {
    height: calc(100% - 61px);
}
.panelPopupTitle {
    font-size: 20px;
    padding: 0 0 10px;
}

.pButtons .btn {
    background: #d8bc7b;
}

.pWrapper .pWin .pButtons {
    position: absolute;
    overflow: hidden;
    border-top: 1px solid #eee;
    z-index: 1234;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 0 0;
    background: #fff;
}
/*.pWrapper .pWin .pButtons button{     padding: 5px 10px;    margin: 0px 5px;    line-height: 20px;}*/

.pWrapper .pWin.debugActive .pButtons,
.pWrapper .pWin.debugActive .pClose {
    display: none;
}
.pWrapper .pWin.debugActive {
    height: 32px !important;
    padding: 0px !important;
}
.pWrapper .pWin.debugActive .pText {
    line-height: 30px;
    margin: 0px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}
.pWrapper .pClose {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    z-index: 333;
    cursor: pointer;
    background: url('../png/popupclose.png');
}
.pWrapper .close {
    cursor: pointer;
}
.br5 {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
/*ESKI KODLAR*/
/*.hiddenPopup,.popupDetails {    display: none;}.popup {    display: none;    width: 100%;    height: 100%;    position: fixed;    top: 0;    left: 0;    bottom: 0;    right: 0;    z-index: 3333;    padding-right: 20px;    overflow: auto;}.popupShadow {    width: 100%;    height: 100%;    background: rgba(0, 0, 0, .7);    position: fixed;    top: 0;    left: 0;}.popupWrap {    position: relative;    top: -100%;    max-width: 1100px;    background: #fff;    border-radius: 5px;    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);}*/

.hideThis {
    display: none;
}
.popupClose,
.close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    z-index: 333;
    cursor: pointer;
    background: url('../png/popupclose.png');
}
#lightControl {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 30px;
    margin-top: -15px;
}
#lightControl span {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    cursor: pointer;
}
#prevLight {
    background-image: url('../png/popupprev.png');
}
#nextLight {
    background-image: url('../png/popupnext.png');
}
.popupTitle,
.videoTitle {
    border-bottom: 1px solid #ececec;
    font-size: 16px;
    color: .666;
}
.popupBtns,
.modal-footer {
    border-top: 1px solid #ececec;
}
.memberPopupWrapper {
    max-width: 580px;
}
.memberPopupWrapper .col,
.memberPopupWrapper .box {
    margin: 0;
}
.memberPopupWrapper .popupInnerBlock {
    width: 100%;
}
.videoPopup {
    width: 668px;
    margin-top: -10px;
    margin-bottom: -10px;
}
.popupMain,
.popupTitle,
.popupInner,
.popupBtns {
    clear: both;
    width: 100%;
}

.pWrapper .pWin .pText .popupVideoWrapper{
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
}
.safari .pWrapper .pWin .pText .popupVideoWrapper{
    height: auto;
}
.pWrapper .pWin .pText .popupVideoWrapper video{
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}