/* popup styling*/
  body._has-modal {
    height: 100%;
    overflow: scroll;
    width: 100%;
}
.modals-wrapper .modal-popup.customer-popup.ecw-basic-login .modal-inner-wrap{
	top: 7px;
	visibility: hidden;
	transition: all 0.5s;
}

@media only screen and (max-width:767px){
    .modals-wrapper .modal-popup.customer-popup.ecw-basic-login .modal-inner-wrap{
        top: 7px;
        visibility: visible!important;
        transition: all 0.5s;
    }
}

/* only for IE 11 */
@media only screen and (min-width:768px) {
	.ie11 .modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{
		left:60%;
	}
	.ie11 .modals-wrapper .modal-popup.customer-popup{
		width:100%;
	}
	
}
/* end only for IE 11 */

@media only screen and (min-width:768px){

	.header.panel > .header.links > .authorization-link:after{
		content:none!important;
	}
	.authorization-link .customer-login-link {
		position: relative;
		width: 100%;
		
	}
	.header.panel > .header.links > li > a:hover{
		text-decoration:none;
	}
	
	.modals-wrapper {
		position: relative;
		width: 100%;
		clear: both;
	}

	.modals-wrapper .modal-popup.customer-popup{
		clear: both;
		overflow: auto;
		display: block;
		max-width: 1260px;
		width:100%;
		margin: 0 auto;
	}

	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{
		display:block;
		left: unset;
		position: absolute;
		right: 8%;
		top: 62px;
		clear: both;
		overflow: auto;
		margin:0;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-header{
		display:none;
	}
	.modals-overlay {
		background-color: transparent;
	}
	#ecomwise-customer-popup-login .block.block-customer-login {
		margin-bottom: 0;
	}
	.ecomwise-customer-popup-login .action.login.primary{
		background: #ededed;
		border: 1px solid #cfcfcf;
		color: #000;
	}
	.ecomwise-customer-popup-login .action.login.primary:hover {
		background: #e2e1e1;
	}
	.ecomwise-customer-popup-login .actions-toolbar .primary {
		float: right;
		margin-right: 0 !important;
	}
}

/*responsive */
@media only screen and (min-width:984px){
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{		
		top:41px;
	}
}
@media only screen and (min-width:768px) and (max-width:839px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 11%;
	}
}
@media only screen and (min-width:840px) and (max-width:920px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 12%;
	}
}
@media only screen and (min-width:921px) and (max-width:981px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 13%;
	}
}

@media only screen and (min-width:982px) and (max-width:1023px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 7%;
	}
}
@media only screen and (min-width:982px) and (max-width:1023px){
	.modals-wrapper .modal-popup.customer-popup{
		width:90%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 7%;
	}
}
@media only screen and (min-width:1024px) and (max-width:1099px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 6%;
	}
}

@media only screen and (min-width:1100px) and (max-width:1180px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 6%;
	}
}
@media only screen and (min-width:1181px) and (max-width:1240px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 6%;
	}
}
@media only screen and (min-width:1241px) and (max-width:1285px){
	.modals-wrapper .modal-popup.customer-popup{
		width:100%;
		margin: 0 auto;
	}
	.modals-wrapper .modal-popup.customer-popup .modal-inner-wrap{			
		right: 6%;
	}
}

@media only screen and (max-width: 767px){
	header.page-header{
		position:relative;
		z-index:899
	}

	.nav-toggle:before{
		padding-left:15px;
	}

	.nav-toggle{
		left:0;
	}
	.nav-open .nav-toggle:after{
		right: unset;
	}

	.rc-anchor-logo-portrait{
		margin: 10px 0 0 0px;
	}

	.rc-anchor-normal .rc-anchor-checkbox-label{
		width:100px;
	}

	.rc-anchor-normal.rc-anchor-error .rc-anchor-error-msg-container{
		width: 150px;
	}

	.rc-anchor-normal .rc-anchor-checkbox-label {
   		width: 90px;
	}

	.rc-anchor-normal .rc-anchor-content {
    		width: 142px;
	}

	.modals-overlay {
   		z-index:899!important;
	}

}
