/*=====================================

  SUSI Eligibility Reckoner 2017
  Designer: David Matthew https://davidmatthew.ie
  Developers: Joe Whelton, David Matthew, Jaison George, Tony Devine

======================================*/

body {
  /*background: #7fd0cb;
  background: -moz-linear-gradient(top, #7fd0cb 0%, #2d7975 100%);
  background: -webkit-linear-gradient(top, #7fd0cb 0%, #2d7975 100%);
  background: linear-gradient(to bottom, #7fd0cb 0%, #2d7975 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7fcfca', endColorstr='#307d79', GradientType=0);*/
  width: 100%;
  height: 100vh;
  min-width: 320px;
  background-image: url('../img/svg-grad-bg.svg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #fff;
}

a {
  color: #e50e72;
  text-decoration: underline;
}

a:hover {
  color: #008080;
}

.modal-dialog {
  max-width: 420px;
  margin: auto;
  padding: 10px;
}

.modal-body {
  text-align: left;
}

#left-top-corner, #right-top-corner {
  position: fixed;
  top: 0;
  width: 120px;
  cursor: pointer;
  z-index: 100;
}

#left-top-corner { left: 0 }

#right-top-corner { right: 0 }

#title_container { padding-top: 7vh }

.titleImage {
  width: 80%;
  max-width: 305px;
}

#eligibility_title_container { text-align: right }

#indicator_title_container {
  text-align: left;
  margin-top: 0;
}

#info_hr{
  margin-top: 20px;
  margin-bottom: 10px;
  z-index: 10;
}

#info_btn {
  width: 75%;
  max-width: 320px;
}

#page_controls {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 10px 25vw;
  background: #56a5a1;
  background: -moz-linear-gradient(top, #56a5a1 0%, #2d7975 100%);
  background: -webkit-linear-gradient(top, #56a5a1 0%, #2d7975 100%);
  background: linear-gradient(to bottom, #56a5a1 0%, #2d7975 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#56a5a1', endColorstr='#2d7975', GradientType=0);
}

#page_text {
  color: #fff;
  text-align: center;
  font-size: 30px;
  bottom: 3px;
}

#left_page, #right_page {
  background-size: 40px;
  font-size: 30px;
}

#left_page {
  background-image: url(../img/left-arrow-inactive.svg);
  background-repeat: no-repeat;
  cursor: not-allowed;
}

#left_page.page-control-active {
  background-image: url(../img/left-arrow.svg);
  background-repeat: no-repeat;
  cursor: pointer;
}

#right_page {
  background-image: url(../img/right-arrow-inactive.svg);
  background-repeat: no-repeat;
  background-position-x: right;
  cursor: not-allowed;
}

#right_page.page-control-active {
  background-image: url(../img/right-arrow.png);
  background-position-x: right;
  background-repeat: no-repeat;
  cursor: pointer;
}

label { font-weight: 400 !important }

.qText {
  font-size: 27px;
  margin-bottom: 25px;
}

.page-control { background-size: auto }

#info_hr {
  text-align: center;
}

#question_container {
  color: #fff;
  margin-bottom: 15vh;
}

.qContainer {
  padding: 10px;
  text-align: center;
  height: 50%;
}

.qContainer, .qFeedbackMessage {
  display: none;
}

.qAnswer {
  margin-top: 10px;
}

label.radio-label {
  display: inline-block !important;
  /*needed for IE*/
}

label.radio-label img {
  pointer-events: none;
  /* needed for IE */
}

/* label.radio-label>input {
  visibility: hidden;
  position: absolute;
} */

label.radio-label>input {
  visibility: visible;
  /*position: absolute;*/ /* off centres the radio button slightly */
  margin-top: 8px;
}

label.radio-label { margin: 10px;}

label.radio-label span { font-size: 22px; } /*25px*/

label.radio-label:hover { cursor: pointer; }

label.radio-label>input+img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 0;
  margin-bottom: 13px;
}

label.radio-label>input:hover+img {
  box-shadow: #E90772 0px 0px 60px;
}

label.radio-label>input:checked+img {
  box-shadow: #E90772 0px 0px 20px;
} 

#classOfApplicantForm label input {
  display: block !important;
}

.courseDetails {
  width: 100%;
  text-align: center;
  max-width: 320px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.cLevel1 {
  color: #555 !important;
}

.slider.slider-horizontal {
  width: 100%;
  max-width: 320px;
  height: 40px;
}

.slider-handle {
  width: 40px;
  height: 40px;
  margin-left: -20px !important;
  top: 2px;
  background-image: -webkit-linear-gradient(to bottom, #FFF 0, #999 100%);
  background-image: linear-gradient(to bottom, #FFF 0, #999 100%);
}

.slider-track { height: 16px !important; }

.slider-track, .slider-track-low, .slider-selection {
  border-radius: 8px !important;
}

.slider-selection { background: #008080; }

.tooltip { display: none; }

.sliderValue {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.modal-dialog {
  color: #444;
}

.modal-dialog h4 {
  font-size: 18px;
}

.modal-dialog p {
  font-size: 16px;
  font-family: sans-serif;
  color: #666;
}

.modal-dialog a { color: #e50e72 }

#q4Image3 {
  width: 100%;
  max-width: 320px;
}

#q5Image3 {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

#q8_ans { max-width: 320px !important }

/*.grossIncomeLabel {
  width: 400px;
  font-size: 18px;
  text-align: right;
}*/

#q17 {
  display: inline-block !important;
}

.grossIncomeField {
  float: none !important;
  width: 100%;
  max-width: 380px;
  margin-bottom: 12px; 
  font-size: 10pt;
}

#finalCalc {
    width: 100%;
    max-width: 380px;
    font-size: 10pt;
}

#q17, #q18 {
  display: inline-block !important;
}

#q17 {
  width: 57%;
  height: 34px;
  float: left;
  color: white;
  border: none;
  background: #e90772;
  background: -webkit-linear-gradient(#e285a0, #e90772);
  background: -moz-linear-gradient(#e285a0, #e90772);
  background: linear-gradient(#e285a0, #e90772);
}

#q18 {
  width: 40%;
  float: right !important;
}

/*=====================================
            MEDIA QUERIES
======================================*/

@media (max-width: 992px) {
  #title_container { padding-top: 6vh }

  #eligibility_title_container { text-align: center }

  #indicator_title_container {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  #info_hr { margin-bottom: 25px }

  #page_controls { padding: 10px 20px }

  .tooltip { display: block; }

}


@media (max-width: 425px) {
  #left-top-corner, #right-top-corner {
    width: 80px;
  }

  #title_container { padding-top: 5vh }

  .titleImage {
    width: 250px;
  }

  #indicator_title_container {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #info_hr {
    margin-top: 6px;
    margin-bottom: 12px;
  }

  .qText {
    font-size: 22px;
    margin-bottom: 20px;
  }

  label.radio-label span { font-size: 18px; }

  label.radio-label>input+img {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
  }

  .sliderValue { font-size: 18px }

  #q5Image3, #q6Image3 { width: 240px }

  #q7Image3, #q10Image4, #q11Image4 { width: 105px }

  .grossIncomeField { font-size: 10px }
}


@media (max-width: 380px) {
  #left-top-corner, #right-top-corner {
    width: 70px;
  }

  .titleImage { width: 220px }

  .qText {
    font-size: 20px;
    margin-bottom: 18px;
  }

  label.radio-label span { font-size: 16px; }

  label.radio-label>input+img {
    width: 68px;
    height: 68px;
    margin-bottom: 8px;
  }

  .sliderValue { font-size: 16px }

  #page_text, #left_page, #right_page {
    font-size: 22px;
  }

  #left_page, #right_page {
    background-size: 30px;
  }

  #q5Image3, #q6Image3 { width: 220px }

  #76Image3, #q8Image4, #q11Image4 { width: 90px }

  .grossIncomeField { font-size: 10px }
}


@media (max-width: 330px) {
  #left-top-corner, #right-top-corner {
    width: 67px;
  }

  #indicator_title_container {
    margin-top: 17px;
    margin-bottom: 14px;
  }

  .titleImage { width: 180px }

  .qText {
    font-size: 18px;
    margin-bottom: 15px;
  }

  label.radio-label { margin: 8px }

  label.radio-label span { font-size: 14px }

  label.radio-label>input+img {
    width: 62px;
    height: 62px;
    margin-bottom: 4px;
  }

  .sliderValue { font-size: 14px }

  .slider.slider-horizontal { height: 28px }

  .slider-handle {
    width: 28px;
    height: 28px;
    margin-left: -14px !important;
    top: 0;
  }

  .slider-track { height: 12px !important; }

  .slider-track, .slider-track-low, .slider-selection {
    border-radius: 6px !important;
  }

  #page_text, #left_page, #right_page { font-size: 20px }

  #left_page, #right_page { background-size: 28px }

  #q5Image3, #q6Image3 { width: 160px }

  .grossIncomeField { font-size: 10px }
}


