/* CSS for Astrology Love Match Plugin */

#match-form {
  background-color: #ffb049;
    padding: 8px;
    border-radius: 7px;
    color: #8a1774;
    border: 4px solid #b71375;
    display: block;
    width: 500px;
    margin: 0 auto;
    background-image: url(//astrolovely.com/wp-content/plugins/love-astro-match/img/astrology-calc-bg.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom:12px;

}
#match-form .form-layer {
  background-color:#ffffffc9;
  border-radius: 7px;
  padding: 12px 4px;
  border: 2px solid #8a1774;
    
}
#match-form .title {
  text-align:center;
 
}
#match-form .title p {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 30px;
  color: #4d1342;
  font-family: inherit;
}
.match-right {
  display: block;
  float: left;
  width: 46%;
  margin-left: 2%;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  font-family: inherit;
}
.match-left {
  display: block;
  float: left;
  width: 46%;
  margin-right: 2%;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  font-family: inherit;
}
 select#signA, select#signB {
  width: 90%;
    padding: 5px;
    font-size: 14px;
    border: 2px solid #5f1d5a;
    text-align: center;
    font-weight: bold;
    color: #b71375;
}
.form-wrapper {
  margin-bottom: 20px;
}

.second-row {
  display: table;
    margin: 0 auto;
}
label {
  display: block;
  margin-bottom: 5px;
}



button.calculate {
  display: block;
  margin-top: 20px;
  padding: 4px 8px;
  background-color: #5f1d5a;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

button.calculate:hover {
  background-color: #8a1774;
}

button.calculate-again {
  display: block;
  margin-top: 20px;
  padding: 0px 8px;
  background-color: #8a1774;
  color: white;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

button.calculate-again:hover {
  background-color: #b112a5;
}

.above-space {
  display:block;
  height:20px;
}

h2.main-title {
  text-align: center;
  margin-bottom:12px;
}

div.match-section {
  margin-bottom: 30px;
  margin-top: 30px;
}

.match-section b{
    color:#fb4f00;
}
h3.sub-title {
    margin-bottom: 10px;
    margin-top:20px;
    font-size: 1.5em;
    color: #5f1d5a;
    width: auto;
    display: inline-block;
    border-bottom: 4px solid #ffb049;
}

h3.sub-title-pic {
    text-align: center;
    margin-top: 20px;
    font-size: 1.5em;
}

h4.summary {
  font-size: 1.4em;
    font-weight: 900;
    line-height: 24px;
    font-style: italic;
}
.signaa-image, .signbb-image {
    width: 60px;
    margin-right: 10px;
    border-radius: 50px;
}
h3.sub-title-pic span.score-number{
background-color: #5f1d5a;
    padding: 5px 14px;
    border-radius: 50px;
    color: #ffffff;
}
img.signa-image,img.signb-image  {
  max-width: 50%!important;
  height: auto;
  margin-bottom: 0px;
}
img.signa-image {
  border-top: 4px solid #ffb049;
  border-left: 4px solid #ffb049;
  border-bottom: 4px solid #ffb049;
  border-radius: 7px 0 0 7px;
}
img.signb-image {
  border-top: 4px solid #ffb049;
  border-right: 4px solid #ffb049;
  border-bottom: 4px solid #ffb049;
  border-radius: 0 7px 7px 0;
}

p.explanation {
  font-size: 14px;
  line-height: 1.5;
}

hr {
  border: none;
  border-top: 1px solid #ffb049!important;
  margin: 30px 0;
}
.title_section {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

.title_header_icon {
    position: absolute;
    z-index: -100;
    margin-left: 40%;
    margin-right: 40%;
    margin-top: -20px;
}
.section-image {
  width: 150px;
  height: 32px;
  margin-right: 0;
  border-radius: 40px;
  margin-bottom: 5px;
  opacity:0.7;
  
}

div.score-wrapper {
  display: flex;
  align-items: center;
  margin: 10px auto;
  width: fit-content;
}

h3.score-label {
  margin-right: 10px;
  font-size: 1.2em;
  margin-bottom:0;
  margin-top:10px;
  
}

h3.score {
    background-color: #5f1d5a;
    padding: 2px 10px;
    border-radius: 7px;
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom:0;
    margin-top:10px;
}

.section {
    margin-bottom:30px;
}

.explain_section p b {
  color: #fc4f00;
  margin-top: 20px;
  display: inline-block;
  margin-bottom: 0;
  padding: 0;
  font-size: 20px;
}

.tab-container img  {
  width: 150px;
  height:150px;
}
@media screen and (max-width: 1024px){
  h3.sub-title {
      font-size: 1.1em;
  }
  h2.main-title {
         font-size: 1.20em;
         
          }
  
  h3.score-label, h3.score {
      font-size: 1.20em!important;
  }
  .title_header_icon {
    position: absolute;
    z-index: -100;
    margin-left: 30%;
    margin-right: 30%;
    margin-top: -20px;
  }
  .section {
  padding-top:20px;
      }

  .section-image {

    padding: 4px;
  }
      }

