@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  src: local("Lora"),
    url(https://themes.googleusercontent.com/static/fonts/lora/v5/5-AYViExptypIdFoLKAxTA.woff)
      format("woff");
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  src: local("Merriweather"),
    url(https://themes.googleusercontent.com/static/fonts/merriweather/v4/RFda8w1V0eDZheqfcyQ4EHhCUOGz7vYGh680lGh-uXM.woff)
      format("woff");
}
h1 {
  font-family: "Merriweather", serif;
  font-size: 24px;
  text-align: center;
  color: #32567d;
}
h2 {
  font-family: "Merriweather", serif;
  font-size: 26px;
  color: #49729b;
  font-weight: bold;
  text-align: left;
  margin: 30px 0px 40px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
}
h3 {
  font-family: "Merriweather", serif;
  font-size: 22px;
  color: #6a8fb5;
  font-weight: bold;
  text-align: left;
  margin: 20px 10px 40px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
}
h4 {
  font-family: "Merriweather", serif;
  font-size: 20px;
  color: #6a8fb5;
  font-weight: bold;
  text-align: left;
  margin: 50px 10px 20px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
}

/* main text */
.m {
  font-family: "Lora", serif;
  font-size: 18px;
  color: #666666;
  line-height: 32px;
  margin: 5px 10px 0px 20px;
  text-align: justify;
}

.crumbs {
  margin: 10px 0px 10px 20px;
  font-family: "Lora", serif;
  font-size: 18px;
}
.article {
  border-bottom: solid 1px #cccccc;
  text-align: left;
  padding: 40px 0;
}
.article .vertical-align-content {
  width: 320px;
  display: inline-block;
  vertical-align: left;
}
.article .vertical-align-image {
  width: 300px;
  height: 304px;
  display: inline-block;
  vertical-align: right;
}

/* linked text */
a[href^="#"] {
  padding: 0px 10px;
}
a {
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 20px;
  color: #993300;
}
a.cr {
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 23px;
  color: #6a8fb5;
}
.cr a {
  padding: 15px 20px;
  line-height: 30px;
}

p.partners {
  margin: 0px 0px 0px 40px;
  font-family: "Lora", serif;
  font-size: 12px;
}
.small {
  font-family: "Lora", serif;
  font-size: 10px;
}
hr.dashed-gold {
  border-color: orange;
  border-style: dashed;
  border-width: 1px 0 0 0;
  margin-top: 28px;
}
.callout {
  font-family: "Merriweather", serif;
  font-size: 22px;
  color: #660000;
  line-height: 32px;
  margin: 30px 10px 30px 20px;
}
.o {
  font-family: "Lora", serif;
  font-size: 17px;
  color: #333333;
  line-height: 24px;
  margin: 5px 10px 0px 20px;
  text-align: justify;
}
.style2 {
  font-family: "Merriweather", serif;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}
.style3 {
  font-family: "Lora", serif;
  font-size: 10px;
  color: #333333;
  text-decoration: none;
}
.style4 {
  font-family: "Lora", serif;
  font-size: 24px;
  color: #000066;
  font-weight: bold;
}
.style5 {
    font-family: "Merriweather", serif;
  font-size: 26px;
  color: #49729b;
  font-weight: bold;
  margin: 30px 0px 40px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.style6 {
    font-family: "Merriweather", serif;
  font-size: 16px;
  color: #49729b;
  font-weight: bold;
  margin: 30px 0px 40px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.style7 {
  font-family: tahoma;
  font-size: 12px;
  color: #333333;
}
.style8 {
  color: #333333;
}
.style9 {
  color: #990000;
  font-weight: bold;
  font-family: "Lora";
  font-size: 16px;
  text-align: center;
}
.style10 {
  font-family: "Lora", serif;
  font-size: 11px;
  color: #333333;
  margin: 5px;
  font-weight: bold;
}
.style11 {
  font-family: "Lora", serif;
  font-size: 13px;
  color: #333333;
}
.style12 {
  color: #336699;
  font-weight: bold;
  font-family: "Lora";
  font-size: 16px;
  text-align: center;
  margin: 20px 0px 20px 0px;
}
.style13 {
  color: #336699;
  font-weight: bold;
  font-family: "Lora";
  font-size: 19px;
  line-height: 32px;
  text-align: center;
}
.style14 {
    font-family: "Merriweather", serif;
  font-size: 18px;
  color: #49729b;
  font-weight: bold;
  margin: 30px 0px 40px 20px;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.caption {
  font-family: "Lora", serif;
  font-size: 12px;
  color: #333333;
  font-weight: bold;
  line-height: 16px;
}
.cr {
  margin: 30px 0px 30px 0px;
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 20px;
  color: #6a8fb5;
  text-align: center;
}
.indented {
  font-family: "Merriweather", serif;
  font-size: 15px;
  color: #336699;
  text-align: center;
  margin: 30px 0px 30px 0px;
}
.highlight {
  background-color: #9cc;
}

.errorSpan {
  color: red;
  font-weight: bold;
  display: none;
}

TABLE.sr {
  border-top: solid 1px #808080;
  border-right: solid 1px #808080;
  border-left: solid 1px #808080;
  border-bottom: solid 1px #808080;
  font-family: "Lora", serif;
  font-size: 18px;
}
TABLE.form {
  font-family: "Lora", serif;
  color: #333333;
  font-size: 18px;
  background-image: url(/images/form-bg4.jpg);
  background-repeat: no-repeat;
}
TD.sr {
}
FORM.sc {
  background-color: #ffffff;
  border-left: solid 1px #808080;
  border-bottom: solid 1px #808080;
  border-top: solid 1px #808080;
  border-right: solid 1px #808080;
}
.form {
  font-family: "Lora";
  font-size: 14px;
  color: #5a5f65;
  margin-left: 0px;
  margin-right: 0px;
}
.textarea {
  width: 200px;
  height: 22px;
  font-family: "Lora";
  font-size: 14px;
  color: #333333;
  background-color: #f3f3f3;
  overflow: auto;
  margin-left: 10px;
  margin-right: 0px;
}
.textareaphone {
  width: 30px;
  height: 20px;
  font-family: "Lora";
  font-size: 14px;
  border-left: solid 1px #333333;
  border-bottom: solid 1px #333333;
  border-top: solid 1px #333333;
  border-right: solid 1px #333333;
  background-color: #ffffff;
  color: #333333;
  overflow: auto;
  margin-left: 10px;
  margin-right: 0px;
}
#zip_form {
  float: right;
  display: inline-block;
  padding: 10px;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  width: 237px;
  height: 230px;
  margin: 50px 0px 0px 0px;
}

/* modernize widget/form orange border color  */
iframe {
  border: #ff9933 solid 1.5px;
}

/* size of drop down text inside the calculator  */
.formbox {
  width: 200px;
  float: right;
  font-family: "Lora", serif;
  font-size: 13px;
  margin: 5px 15px 5px 0px;
}

/* generic window calculator  */
#window_calc {
  float: right;
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 30px 0px 0px 0px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* window world right side calculator  */
#window_calc_ww {
  float: right;
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 30px 0px 0px 0px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* window world body calculator  */
#window_calc_ww_body {
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 40px 0px 0px 200px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* mi right side calculator  */
#window_calc_mi {
  float: right;
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 30px 0px 0px 0px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* mi body calculator  */
#window_calc_mi_body {
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 40px 0px 0px 200px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* simonton right side calculator  */
#window_calc_simonton {
  float: right;
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 30px 0px 0px 0px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* simonton body calculator  */
#window_calc_simonton_body {
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 40px 0px 0px 200px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

/* cost calculator in body of pages */
#window_calc_body {
  display: inline-block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -332px;
  width: 257px;
  height: 400px;
  margin: 40px 0px 0px 200px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #333333;
}

#window_calc_new {
  float: right;
  display: inline-block;
  background-image: url("/images/form-cost-calculator-big.png");
  background-repeat: no-repeat;
  background-position: 0px;
  width: 610px;
  height: 1010px;
  margin: 0px 0px 0px 0px;
  border: 0pt none;
  font-family: "Lora", serif;
  font-size: 14px;
  color: #660000;
}
#email_us {
  float: right;
  display: inline-block;
  background-image: url("/images/form_bg_sprite_3.jpg");
  background-repeat: no-repeat;
  background-position: 0 -252px;
  width: 257px;
  height: 78px;
  margin: 40px 0px 0px 0px;
  border: 0pt none;
}
#email_us a {
  float: right;
  display: block;
  background-image: url("/images/form_bg_sprite.png");
  background-repeat: no-repeat;
  background-position: 0 -252px;
  width: 257px;
  height: 78px;
  border: 0pt none;
}
#email_2 {
  margin: 30px 0px 0px 150px;
  background-image: url("/images/form_bg_sprite_3.jpg");
  background-repeat: no-repeat;
  background-position: 0 0px;
  width: 404px;
  height: 350px;
  border: 0pt none;
}
.button1,
.button2,
.button3,
.button4 {
  display: inline-block;
  width: 178px;
  height: 35px;
  background-image: url("/images/buttons_sprite.png");
  padding: 0;
  text-indent: -99999em;
}
.button1 {
}
.button2 {
  background-position: 0 35px;
}
.button3 {
  background-position: 0 70px;
}
.button4 {
  background-position: 0 105px;
}

#page-mini-form {
  width: 320px;
  height: 170px;
  margin: 30px 0px 0px 20px;
  padding: 70px 20px 70px 310px;
  margin-bottom: 20px;
  color: #cccccc !important;
  font-family: "Lora", serif !important;
  background: url("https://www.replacementwindowsreviews.co/images/page-windows.jpg")
    top left no-repeat;
}

#page-mini-form p {
  color: #cccccc !important;
  font-family: "Lora", serif !important;
}
#page-mini-form #submit {
  margin-top: 25px;
}

/* popup design */
.ui-dialog,
.ui-dialog .ui-dialog-content {
  padding: 15px 0 5px !important;
  overflow: visible !important;
}
.ui-dialog {
  width: 100% !important;
  border: 0 none !important;
  max-width: 980px;
}
.ui-dialog-titlebar {
  display: none;
}
.ui-dialog .ui-dialog-titlebar-close {
  right: 0.3em !important;
  top: 0 !important;
  border-color: #999 !important;
}
.ui-dialog #page-mini-form {
  margin: 0 auto;
}
.ui-widget-overlay {
  background: none #000 !important;
  opacity: 0.9 !important;
}
@media only screen and (max-width: 479px) {
  .ui-dialog {
    width: 95% !important;
    margin: 1em;
    left: -10px !important;
  }
}

/* Responsive Design */
@media only screen and (max-width: 959px) {
  h1 {
    font-size: 20px;
  }
  .m {
    margin-right: 20px;
    padding: 15px 20px;
    line-height: 30px;
  }

  table,
  tbody,
  tr,
  td.sr {
    display: block;
    width: 100%;
    overflow: hidden;
  }
  td.sr.sidebar {
    display: none !important;
  }

  body .sr a img {
    max-width: 100%;
    height: auto;
  }
  body .sr p img {
    max-width: 90%;
    height: auto;
    padding: 20px 0;
    margin-right: 0 !important;
  }
  .contenders {
    display: inline-block !important;
    padding: 16px 0;
  }

  #page-mini-form {
    /*width: 390px; height: 220px; background-size: 100%;*/
    margin: 20px auto;
  }
  #page-mini-form label {
    font-size: 22px !important;
  }
  #page-mini-form input.text {
    width: 125px;
    text-align: center;
  }

  #zip_form {
    display: block;
    float: right;
    margin: 0px 10% 0px 0px;
  }
  #email_us {
    display: block;
    float: right;
    margin: 40px 10% 5px 0 !important;
    clear: right;
  }
  #window_calc {
    display: block;
    float: none;
    margin: 0 0 0 10%;
  }
}
@media only screen and (max-width: 799px) {
  .content {
    text-align: center;
  }
  #window_calc .content {
    text-align: left;
  }
  iframe {
    float: none;
    max-width: 100%;
    overflow: scroll;
  }
}
@media only screen and (max-width: 767px) {
  #page-mini-form {
    width: 265px;
    height: 220px;
    background-size: 100%;
  }
  #page-mini-form label {
    font-size: 20px !important;
  }
  #page-mini-form input.text {
    width: 75px;
    text-align: center;
  }

  #zip_form {
    margin: 0px 5% 0px 0px;
  }
  #email_us {
    margin: 40px 5% 5px 0 !important;
  }
  #window_calc {
    margin: 0 0 0 5%;
  }
}
@media only screen and (max-width: 639px) {
  body .sr a img {
    max-width: 123%;
  }

  #page-mini-form {
    width: 170px;
    height: 110px;
    padding: 10px 20px 70px 170px;
    text-align: center;
  }
  #page-mini-form label {
    font-size: 16px !important;
  }
  #page-mini-form input.text {
    width: 75px;
    text-align: center;
  }

  #zip_form {
    float: none;
    margin: 0px auto;
  }
  #email_us {
    float: none;
    margin: 40px auto 0 !important;
    overflow: hidden;
  }
  #window_calc {
    float: none;
    margin: 40px auto;
  }

  .button1,
  .button2,
  .button3,
  .button4 {
    width: 150px !important;
    height: 28px;
    margin-top: 10px !important;
    background-size: 100%;
  }
  .button2 {
    background-position: 0px 29px;
  }
  .button3 {
    background-position: 0px 59px;
  }
}
@media only screen and (max-width: 479px) {
  /*body .sr a img { max-width: 130%; }*/

  td.sr > div {
    margin: 0 auto 0 auto !important;
  }
  #email_us {
    margin: 40px auto 0 auto !important;
  }
  #window_calc {
    margin: 40px auto 40px auto !important;
  }
}
@media only screen and (max-width: 400px) {
  .sr table td {
    display: block;
    width: 100%;
  }
  .sr table tr td:nth-child(even) {
    display: none;
  }
  .sr table tr td.sr {
    display: block !important;
  }
  .sr table td {
    display: inline-block;
    padding: 20px 0;
    width: 100%;
  }
  .sr table td p.m a {
    display: inline;
  }
  .sr table tr td.sr.sidebar {
    display: none !important;
  }

  #page-mini-form {
    width: 150px;
    height: 110px;
    padding: 1px 20px 70px 150px;
    text-align: center;
  }
  #page-mini-form label {
    font-size: 16px !important;
  }
  #page-mini-form input.text {
    width: 75px;
    text-align: center;
  }
}
