#footer a.portfolioSubscribe{
    display: inline-block;
    position: relative;
    padding: 0 0 0 30px;
    font-size: 14px;
}
body.tablet #footer a.portfolioSubscribe,
body.phone #footer a.portfolioSubscribe {
    display: block;
}
#footer a.portfolioSubscribe:before {
    display: block;
    position: absolute;
    left: 0px;
    top: -1px;
    content: '';
    width: 24px;
    height: 24px;
    background: url(../../i/nonstop/portfolio/icons/Subscribe-icon.svg) no-repeat 0 ;
    opacity: 1;
}

.subscribeHelper{
	position: fixed;
	top: 0;
	bottom: 100vh;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 1001;
    transition: all 1.6s cubic-bezier(0.19, 1, 0.22, 1), bottom 0.01s linear;
	--display:none;
	opacity:0;
}
body.openUnsubscribeOverlay .subscribeHelper,
body.openPortfolioSubscribeForm .subscribeHelper{
	display:block;
	bottom: 0;
	opacity:1;
}
.unsubscribeOverlay,
.subscribeOverlay{
	position: fixed;
	top: 100%;
	left: 50%;
	background: #FFFFFF;
	box-shadow: 0px 0 0 rgba(0, 0, 0, 0.25);
	width: 480px;
    transform: translate(-50%, 0);
    color: #000000;
    opacity: 0;
    padding: 24px;
	z-index: 1002;
    transition: all 1.0s cubic-bezier(0.19, 1, 0.22, 1);
}
body.openUnsubscribeOverlay .unsubscribeOverlay,
body.openPortfolioSubscribeForm .subscribeOverlay{
	top: 50%;
    transform: translate(-50%, -50%);
	--box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    opacity: 1;
}
.unsubscribeOverlay .text .left,
.subscribeOverlay .text .left{
	width: 120px;
	height: 120px;
}
.unsubscribeOverlay .text .left > div,
.subscribeOverlay .text .left > div{
	background: transparent url(../../images/trans.gif) no-repeat 0 0;
	background-size: contain; 
	width: 100px;
	height: 100px;
	border-radius: 50px;
}
.unsubscribeOverlay .text .right,
.subscribeOverlay .text .right{
	width: 345px;
		
}
.subscribeOverlay .text .right .title{
	font-family: Roboto-bold;
	font-size: 24px;
	line-height: 42px;
}
.unsubscribeOverlay .text .right .call,
.subscribeOverlay .text .right .call{
	font-size: 16px;
	line-height: 21px;
	padding-top: 12px;
}
.subscribeOverlay .subscribeForm{
	padding-top: 22px;
}
.subscribeOverlay .subscribeForm .input {
    position: relative;
    width: 100%;
    background: #fff;
    height: 46px;
    border: 1px solid #BDBDBD;
}
.subscribeOverlay .subscribeForm .input input {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    width: 323px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 16px;
    padding: 4px 0 0 16px;
}
.subscribeOverlay .subscribeForm .input button {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    width: 46px;
    height: 46px;
    position: absolute;
    right: 1px;
    top: 0px;
    border: 0;
    border-left: 1px solid #BDBDBD;;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1), bottom 0.01s linear;
	opacity: 0.6;
}
.subscribeOverlay .subscribeForm .input button:hover {
	opacity: 1;
}
.subscribeOverlay .subscribeForm .input button:before {
    display: block;
    position: absolute;
    left: 11px;
    top: 11px;
    content: '';
    width: 24px;
    height: 24px;
    background: url(../../i/nonstop/portfolio/icons/send_24px.svg) no-repeat 0 ;
    opacity: 1;
}
.subscribeOverlay .subscribeForm .subscribethanx {
    display: none;
    text-align: center;
    padding: 10px 0;
}
.subscribeOverlay .personal_data_agreement{
    font-size: 11px;
    margin: 10px 0 0 0;
}

.unsubscribeOverlay .closer,
.subscribeOverlay .closer {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
    z-index: 1600;
    position: absolute;
    cursor: pointer;
}
.unsubscribeOverlay .closer:before,
.subscribeOverlay .closer:before,
.unsubscribeOverlay .closer:after,
.subscribeOverlay .closer:after{
  position: absolute;
  left: 15px;
  content: ' ';
  height: 22.6px;
  top: 4px;
  width: 2px;
  background-color: #5D5651;
}
.unsubscribeOverlay .closer:before,
.subscribeOverlay .closer:before{
	transform: rotate(45deg);
}
.unsubscribeOverlay .closer:after,
.subscribeOverlay .closer:after{
	transform: rotate(-45deg);
}
.shake{
	-webkit-animation-name: shake;
	-o-animation-name: shake;
	animation-name: shake;
	-webkit-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
}
@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0)
    }
    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0)
    }
}
@-o-keyframes shake {
    0%, 100% {
        transform: translate3d(0, 0, 0)
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate3d(-10px, 0, 0)
    }
    20%,
    40%,
    60%,
    80% {
        transform: translate3d(10px, 0, 0)
    }
}
@keyframes shake {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0)
    }
    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0)
    }
}
body.phone .subscribeOverlay {
	top: 100%;
	left:0;
	transform: translate(0,0);
    box-shadow: none;
    height: calc(100vh - 24px);
    width:  calc(100vw - 24px);
    padding: 12px;
}
body.phone.openPortfolioSubscribeForm .subscribeOverlay {
	top: 0;
	left:0;
	transform: translate(0,0);
}
body.phone .subscribeOverlay .text .left {
	float: none;
	margin: 24px auto 12px;
	width: 88px;
    height: 88px;
}

body.phone .subscribeOverlay .text .right {
	float: none;
	margin: 0 12px;
	text-align: center;
	width:auto;
}
body.phone .subscribeOverlay .subscribeForm .input {
    width:  calc(100vw - 24px);
}
.subscribeOverlay input[type="submit"]{
	display: block;
    background:  #000000;
    border:  none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    margin-top: 2px;
    padding: 12px 16px 12px 16px;
    margin: 24px auto;
}
.subscribeOverlay .subscribeForm.disabled input[type="submit"]{
    background:  #E0E0E0;
}

body.phone .subscribeOverlay input[type='submit'] {
    background: #000000;
    color: #ffffff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    margin-top: 10px;
    padding: 8px 16px 8px 16px;
    display: block;
}
