/* lock scroll */
html.tf-modal-open,
body.tf-modal-open {
  overflow: hidden;
}

/* modal container (id/modal class bootstrap-like) */
#modal-login.modal {
  display: none;              /* hidden by default */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;             /* allow scroll within modal */
  outline: 0;
}

#modal-login.modal.show,
#modal-login.modal.in {
  display: block;
}

/* dialog positioning */
#modal-login .modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}

@media (min-width: 768px) {
  #modal-login .modal-dialog {
    width: 600px;            /* tipico bootstrap */
    margin: 30px auto;
  }
}

/* basic content styling if bootstrap css non c'è */
#modal-login .modal-content {
  position: relative;
  background: #fff;
  border-radius: 6px;
  outline: 0;
}

/* backdrop */
#tf-modal-backdrop.modal-backdrop {
  display: none;
  position: fixed;
  z-index: 1040;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: opacity 150ms linear;
}

#tf-modal-backdrop.modal-backdrop.in,
#tf-modal-backdrop.modal-backdrop.show {
  opacity: 0.5;
}


#modal-login .modal-header .modal-title {
  font-family: sole_headline_sc,sole_headline,Georgia,Times,"Times New Roman",serif;
  text-transform: lowercase;
  font-size: 22px;
  line-height: .5em;
  font-weight: 700;
  margin-bottom: 6px;
}

#modal-login .modal-header {
  border: none;
  color: #234357;
  padding: 32px 24px 0 24px;
  flex-direction: column;
}

#modal-login .modal-header p {
  font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.3em;
  margin: 0 0 11px 0;
}

#modal-login .modal-body .utils a, #modal-login .modal-body .utils label {
  font-size: 11px;
  line-height: 22px;
  color: #356e89;
}

#modal-login .modal-body .utils {
  justify-content: space-between;
  margin: 0;
}

#modal-login .modal-body .utils label {
  text-transform: uppercase;
  font-weight: 400;
}

#modal-login .modal-header button.close {
  margin-top: -20px;
  margin-right: -1px;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
  position: absolute;
  right: 20px;
}

.btn-over-dropdown,
.btn-over-dropdown {
  position: relative;
  overflow: visible;
  display: block;
  padding: 0 16px;
  z-index: 99990;
  height: 30px;
  line-height: 30px !important;
}

.btn-over-dropdown>.icon-angle-down,
.btn-over-dropdown>.icon-angle-down {
  display: block;
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 17px;
  color: #356e89
}

.btn-over-dropdown .over-dropdown,
.btn-over-dropdown .over-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  width: 192px;
  right: 0;
  background-color: #fff;
  z-index: 10010;
  border: 1px solid rgba(53, 110, 137, .2);
  padding: 0 15px
}

.btn-over-dropdown .over-dropdown:after,
.btn-over-dropdown .over-dropdown:after {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  margin-left: -10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff
}

.btn-over-dropdown .over-dropdown li,
.btn-over-dropdown .over-dropdown li {
  line-height: 44px;
  display: block;
  float: none!important;
  border-bottom: 1px solid #efefef
}

.btn-over-dropdown .over-dropdown li a,
.btn-over-dropdown .over-dropdown li a {
  text-transform: none;
  display: block;
  height: 44px;
  font-weight: 400
}

.btn-over-dropdown .over-dropdown li a:hover,
.btn-over-dropdown .over-dropdown li a:hover {
  color: #356e89
}

.btn-over-dropdown .over-dropdown li a span,
.btn-over-dropdown .over-dropdown li a span {
  display: block;
  float: left;
  width: 22px;
  line-height: 44px;
  height: 44px;
  font-size: 16px
}

.btn-over-dropdown .over-dropdown li a.logout,
.btn-over-dropdown .over-dropdown li a.logout {
  text-transform: uppercase;
  text-align: center;
  font-weight: 700
}


.btn-over-dropdown .icon-angle-down:before,
.btn-over-dropdown .icon-angle-down:before {
  content: "\e628"
}

.btn-over-dropdown:hover .icon-angle-down:before,
.btn-over-dropdown:hover .icon-angle-down:before {
  content: "\e629"
}

.btn-over-dropdown:hover .over-dropdown,
.btn-over-dropdown:hover .over-dropdown {
  display: block
}

.login-user-profile-dropdown {
  display: inline-block;
  &.hide {
    display: none;
  }
  .dropdown-title {
    cursor: pointer;
    color: #234357;
    text-transform: uppercase;
    font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-weight: 700;
    font-size: 12px;
  }
  ul {
    margin: 0;
    padding: 0;
    li {
      a {
        color: #234357;
        font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif;
        font-size: 14px;
      }
    }
  }
}

.icon-products:before {
  content: "\e958";
}

.icon-archive:before {
  content: "\e908" !important;
}

.icon-account:before {
  content: "\e901";
}
  .modal-dialog {
      max-width: 500px;
      margin: 1.75rem auto;
  }
.modal-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

#modal-login .modal-header {
    border: none;
    color: #234357;
    padding: 32px 24px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}
#modal-login .modal-header .modal-title {
    font-family: var(--wp--preset--font-family--sole-serif-display);
    text-transform: lowercase;
    font-size: 22px;
    line-height: .5em;
    font-weight: 700;
    margin: 0;
    margin-bottom: 6px;
}
#modal-login .form-group {
    margin-bottom: 1rem;
}

#modal-login .text-center {
    text-align: center !important;
}
#modal-login .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: 5px 15px;
    margin-bottom: 10px;
    border: 1px solid #e0e1e1;
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;    
}

#modal-logininput[type="text"],
#modal-login input[type="password"] {
    color: #8b8d94;
    border-width: 1px;
    border-color: rgba(51, 51, 51, 0.12);
    background-color: #fdfdfd;
    border-radius: 1px;
}
#modal-login .modal-body .utils {
  display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin: 0;
}
#modal-login .modal-content {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}
#modal-login .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor:pointer;
}
#modal-login .btn-primary {
    color: #fff;
    background-color: #005781;
    border-color: #005781;
}
#modal-login .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    padding: 1rem;
}
#modal-login .socialLogin ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#modal-login .socialLogin ul li {
    display: inline-block;
    margin: 0 6px;
    padding: 0;
}

.tf-paywall-wrapper{
  width: 100%;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .25);
  background-color: #fff;
  border-top: 2px solid #000;
  padding: 30px;
  margin-bottom: 40px; 
  box-sizing: border-box; 
}

.tf-paywall h2{
  font-family: var(--wp--preset--font-family--sole-serif-headline);
  font-size: 28px;
  font-weight: 400;
  color: #005781;
  margin:0;
  border-bottom: 1px solid #c6c6c6;
  padding-bottom: 20px;
  margin-bottom: 20px;
  line-height: 36px;  
}

.tf-pw-product-cta{
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tf-pw-product-cta span{
  display: block;
  background: center left no-repeat url(../images/logo-telefisco-generic.png);
  padding-left: 52px;
  background-size: contain;
  line-height: 3rem !important;
  font: 24px / 32px var(--wp--preset--font-family--sole-sans);
  font-weight: 500;

}
.tf-pw-btn-acquista{
    display: block;
    background-color: #00354e;
    border-color: #002c41;
    color: #fff;
    font: 24px / 28px var(--wp--preset--font-family--sole-sans);
    padding: 10px 60px;
    text-decoration: none;
    font-weight: 600;    
    border-radius: 4px;
}

.tf-pw-footer{
background: #f5f5f5;
    border-top: 1px solid #bcbcbc;
    margin: 30px -30px -30px;
    border-radius: 0 0 4px 4px;
    padding: 20px 30px;
    display: -webkit-box;
    display: flex;
    gap: 16px;
    -webkit-box-align: center;
    align-items: center;
    font-size: 18px;
}
.tf-pw-btn-accedi{
    border: 1px solid #000;
    padding: 5px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    margin-left: 10px;
    font-size: 15px;  
}
