@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

body {
  height: 100%;
  margin:0;
  padding: 0;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

a {
  transition:all 0.2s linear;
  -moz-transition:all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -o-transition:all 0.2s linear;
}

legend{
  display: none;
}

.main-header {
  padding: 14px 15px 6px 10px;
  background: rgb(0,37,57); /* Old browsers */
  background: -moz-linear-gradient(left, rgba(0,37,57,1) 0%, rgba(78,171,220,1) 100%);
  background: -webkit-linear-gradient(left, rgba(0,37,57,1) 0%,rgba(78,171,220,1) 100%); 
  background: linear-gradient(to right, rgba(0,37,57,1) 0%,rgba(78,171,220,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002539', endColorstr='#4eabdc',GradientType=1 );
}
.main-header .logo {
  display: inline-block;
}
.main-header .logo img {
  max-width: 140px;
}
.main-header .site-title {
  display: inline-block;
  color: #fff;
  font-size: 70%;
  line-height: 120%;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  text-align: right;
  text-transform: uppercase;
  width: 140px;
  vertical-align: top;
  margin-top: 13px;
  float: right;
}

.page-title {
  font-size: 190%;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 2px;
  font-size: 180%;
  text-transform: uppercase;
  color: #195475;
}

.main-content {
  min-height: 414px;
  padding: 40px 0;
}

.left,
.right {
  padding: 0;
}

.left.log {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

/*FORMS*/

.webform-submission-activacio-xip-add-form .form-item-dni{
  display: none;
}

.control-label {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 94%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.control-label.option {
  font-size: 74%;
}
.control-label.option input {
  font-size: 125%;
  margin: 0;
  margin-left: -20px;
  margin-top: -2px;
}
.form-control {
  display: inline-block;
  width: 100%;
  margin-right: 0;
  margin-left: auto;
  border-radius: 0!important;
  box-shadow: none!important;
  vertical-align: top;
}

.input-group-addon {
  border-radius: 0!important;
}

.form-xip .form-control {
  width: 90px;
  margin-top: 20px;
}

.form-xip label {
  display: none;
}

.form-submit {
  display: inline-block;
  border-radius: 0;
  background-color: #3788b5;
  border-color: #3287b7;
  color: #fff;
  margin-top: 20px;
  vertical-align: top;
  outline: 0!important;

  transition:all 0.2s linear;
  -moz-transition:all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -o-transition:all 0.2s linear;
}
.form-submit + a {
  display: inline-block;
  border-radius: 0;
  background-color: #ccc;
  border-color: #ccc;
  color: #fff;
  margin-top: 20px;
  padding: 6px 12px;
  text-align: center;
  border: 1px solid transparent;
  text-decoration: none;
}
.form-submit + a:hover {
  background-color: #666;
  border-color: #666;
}

.form-xip .form-submit {
  width: 34px;
  overflow: hidden;
  text-indent: -99999999999px;
  background: #3788b5 url(../images/ico-search.svg) center center no-repeat;
  background-size: 54% auto;
  margin-left: -5px;
}
.form-submit:hover {
  color: #fff;
  background-color: #195475;
  border-color: #195475;
}

.webform-submission-form,
.commerce-checkout-flow,
.commerce-checkout-flow .layout-region-checkout-secondary {
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  background-color: #fff;
}
.commerce-checkout-flow .layout-region-checkout-secondary {
  width: 100%;
  padding: 0;
  border: 0;
}
.commerce-checkout-flow .layout-region-checkout-secondary h3 {
  display: none;
}
.commerce-checkout-flow .missatge-redirect {
  display: inline-block;
  margin: 50px 0 10px 0;
  font-style: italic;
}
.has-glyphicons .select-wrapper:after {
  background: transparent url(../images/ico-select.svg) center center no-repeat;
  background-size: 100% auto;
  overflow: hidden;
  text-indent: -99999999999px;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  vertical-align: middle;
  margin-top: -4px;
}
.form-required:after {
  -webkit-background-size: 6px;
  background-size: 6px;
  height: 6px;
  position: relative;
  width: 6px;
  top: -5px;
}

.error-home {
  font-style: italic;
  font-size: 120%;
  margin-top: 20px;
  display: inline-block;
  padding: 14px 20px;
  background: #fed700;
}

.panel {
  margin-bottom: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
}
.panel-title {
  display: block;
  margin: 0;
  padding: 6px 0px 0px 0px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 110%;
  line-height: 120%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.panel-body {
  padding: 30px 15px;
  padding-bottom: 36px;
}

.layout-region-checkout-secondary {
  padding: 17px 20px;
  border: 1px solid #ccc;
  background: #f5f5f5;
}

.layout-region-checkout-secondary h3 {
  font-size: 110%;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  text-align: center;
  margin: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f5f5f5;
}

.form-item-payment-information-billing-information-address-0-address-organization {
  display: none;
}

.checkout-complete {
  padding: 60px;
  text-align: center;
  font-size: 140%;
  font-weight: 400;
  border: 1px solid #ccc;
  width: 50%;
  margin: auto;
}
.checkout-complete b {
  font-size: 140%;
  color: #3788b5;
  position: relative;
  top: 2px;
  font-weight: 600;
  padding: 0 3px;
}
.go-home {
  display: inline-block;
  position: relative;
  color: #155376;
  padding: 10px 10px 7px 10px;
  text-decoration: none!important;
  border: 1px solid #ccc;
  left: 15px;
  top: -20px;
  background-color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 100%;
  line-height: 120%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-bottom: 30px;
}

.go-home:hover {
  background-color: #eee;
}
.go-home:before {
  display: inline-block;
  content: ' ';
  width: 10px;
  height: 10px;
  background: transparent url(../images/ico-go-home.svg) center center no-repeat;
  background-size: auto 100%;
  margin-right: 8px;
}

footer {
  display: inline-block;
  width: 100%;
  color: #fff;
  background: #165171;
  padding: 10px;
  margin-top: 0;
  font-weight: 100;
  text-align: center;
}

.copy {
  display: inline-block;
  float: left;
  width: 100%;
}

.links {
  display: inline-block;
  float: left;
  width: 100%;
}
.links a {
  color: #fff;
}

@media screen and (min-width: 768px) {
  .main-content {
    min-height: 760px;
  }

  .main-header {
    padding: 14px 20px 6px 20px;
  }

  .main-header .logo img {
    max-width: 190px;
  }

  .main-header .site-title {
    font-size: 110%;
    text-align: center;
    text-indent: -15px;
    float: none;
    margin-top: 30px;
    width: calc(100% - 200px);
  }

  .left {
    padding-right: 30px;
    padding-left: 0;
  }

  .left.log {
    border: 0;
    border-right: 1px solid #ccc;
    text-align: right;
    padding-bottom: 30px;
    margin-bottom: 0;
  }

  .right.log {
    padding-left: 30px;
    padding-right: 0;
    text-align: left;
  }
  .page-title {
    width: 50%;
  }
  .webform-submission-compra-xip-form {
    width: 80%;
    margin: auto;
    padding: 30px;
  }
  .form-xip  {
    text-align: right;
  }
  .go-home {
    padding: 16px 20px 12px 20px;
    left: 24px;
    top: inherit;
    margin-bottom: 20px;
  }
  .panel-body {
    padding: 30px;
  }
  footer {
    text-align: left;
    padding: 30px;
  }
  .copy {
    width: 50%;
  }
  .links {
    text-align: right;
    width: 50%;
  }
}

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

  .main-content {
    min-height: 600px;
  }

  .main-header .logo img {
    max-width: 280px;
  }

  .main-header .site-title {
    font-size: 134%;
    text-indent: 0;
    width: calc(100% - 300px);
    margin-top: 50px;
  }
  .go-home {
    left: 40px;
  }
  .webform-submission-compra-xip-form {
    width: 50%;
  }
}

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

  .main-header .site-title {
    font-size: 140%;
    text-indent: -240px;
    width: calc(100% - 300px);
  }
}

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

  .main-header .site-title {
    font-size: 170%;
    text-indent: -260px;
  }
}

.checkout-pane-payment-information{
  display: none;
}