.modal-backdrop, .modal-backdrop.fade.in {
 
  display: none;
}



/*COLOURS*/

.orange       { color: #F8A185; }
.orange-light { color: #f6967c; }
.green        { color: #85C6A1; }
.yellow       { color: #FDF5A4; }
.pink         { color: #F7BDCB; }
.purple       { color: #C9B8DA; }
.orange-gold  { color: #FEC983; }
.pink-light   { color: #FBE4EE; }
.blue         { color: #BFDFF5; }
.blue-grey    { color: #C5D7E3; }
.olive        { color: #D4E5A1; }
.teal         { color: #CEC0A3; }

.black        { color: #2D2D2D; }
.grey         { color: #D1D1D1; }

/* FONTS */

/*@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

font-family: "Varela Round", sans-serif;*/

/*@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

font-family: "Inter", sans-serif; font-optical-sizing: auto;*/



@font-face {
    font-family: 'Varela Round';
    src: url('../../fonts/varelaround-regular-webfont.woff2') format('woff2'),
         url('../../fonts/varelaround-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


body { 
  font-family: "Varela Round", sans-serif !important; 
  font-size: 17px; 
  font-weight: 300;
  line-height: 1.2em;
  color: #2d2d2d;
  background:#efefef;
}

h1, h2, h3, h4 {
    font-family: "Varela Round", sans-serif;
    font-weight: 300;
    margin: 0;
    line-height: 1.3em;
}

h1 { font-size: 2.5em; }

h2 { font-size: 2em; }

h3 { font-size: 1.7em; }

h4 { font-size: 1.5em; }

input, button, select, textarea {
    font-family: "Varela Round", sans-serif !important; 
}


/*COMMON*/

.flex-row {
    display: flex;
    width: 100%;
}

.flex-block {
    flex: 0 0 50%;
}

.flex-block.flex-right {
    display: flex;
    align-items: first baseline;
    justify-content: right;
    text-align: right;
}
 
.flex-apart {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.flex-vert-center {
  display: flex !important;
  align-items: center !important;
}


.flex-row .fb-1-2 {
  flex: 0 0 50%;
}

.flex-row .fb-1-3 {
  flex: 0 0 33.2%;
}

.flex-row .fb-2-3 {
  flex: 0 0 66.4%;
}

.flex-row .fb-1-4 {
  flex: 0 0 25%;
}

.flex-row .fb-3-4 {
  flex: 0 0 75%;
}


a{color: #F8A185;}

a:hover{color: #F8A185;}

a span{color: #F8A185;}

.btn,
button.btn,
body .finder.container-fluid input.btn {
  padding: 15px 24px 10px 24px;
  height: 46px;
  border-radius: 25px;
  display: inline-block;
  color: #2d2d2d;
  font-size: 1em;
  position: relative;
  background: #F8A185;
  text-decoration: none;
  line-height:1em;
  z-index: 0;
  box-sizing: border-box;
  cursor: pointer !important;
  opacity: 1 !important;
  box-shadow: none;
  text-shadow: none;
  border: none;
  filter: saturate(1);
 
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.btn:focus,
button.btn:focus,
body .finder.container-fluid input.btn:focus {
    background: #F8A185;
}

.btn:hover,
button.btn:hover,
body .finder.container-fluid input.btn:hover  { 
  filter: saturate(1.3);
  background: #F8A185;
  color: #fff;
}

button.btn,
body .finder.container-fluid input.btn {
  padding: 12px 24px 10px 24px;
}

.btn-small {
    padding: 8px 15px 4px 15px !important;
    height: 30px;
    font-size:0.9em;
}

.btn-large {
    padding: 10px 35px 10px 35px !important;
      height: 60px;
      font-size: 1.2em;
      border-radius: 50px;
}
 
.btn-icon {
  padding-left: 50px !important;
}

.btn-icon-only { 
  padding: 15px 0px 10px 46px !important;
}

.btn.btn-icon-right {
  padding-left: 24px !important;
  padding-right: 54px;
}

.btn-mar-left {
    margin-left: 25px;
}

.btn-mar-right {
    margin-right: 25px;
}

.btn-lined {
  background-color: transparent; 
  border-color: #2d2d2d;
  border-style: solid;
  border-width: 1px; 
  padding-left: 24px;
  padding-top: 14px;
 }

.btn-lined:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #2d2d2d;
    border-color: #fff;
}

.btn-white {
  background-color: #fff;  
 }

.btn-white:hover {
  background-color: #F8A185;  
  color: #fff;
 }

.btn-grey,
.btn-grey:hover {
  background-color: #D1D1D1 !important;  
 }

.btn-pink,
.btn-pink:hover {
  background-color: #F7BDCB !important;  
 }

a.btn.change-mode{margin-bottom: 4px; width: 220px; font-size: 1.1em; border-radius: 25px; color: #ffffff; display: block; clear: both; }
a.btn.change-mode.gold{background: #ffdd03;}
a.btn.change-mode.silver{background: #8a8a8a;}
a.btn.change-mode.bronze{background: #cc7542;}


/* BTN ICONS*/

.btn-icon::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  border-radius:50%;
  position: absolute;
  margin-top: -17px;
  top: 50%;
  left: 6px;
  z-index: 3;
  background-color: #fff;
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../icons/icon-add.svg'); 
}

.btn-arrow-left::before {
    background-image: url('../../icons/icon-arrow-left.svg');
}

.btn-arrow-right::before {
    background-image: url('../../icons/icon-arrow-right.svg');
    left: auto;
    right: 6px;
}

.btn.btn-timeline::before {
  background-color: #85C6A1;
  background-image: url('../../icons/icon-timeline.svg'); 
  background-size: 22px;
}

.btn.btn-close::before {
  background-color: #fff;
  background-image: url('../../icons/icon-close.svg'); 
  background-size: 26px;
}


.btn.btn-back::before {
  background-image: url('../../icons/icon-arrow-left.svg'); 
  background-size: 60%;
  background-color: #ffffff;
}


.btn.btn-earwig::before {
  background-image: url('../../icons/icon-earwig.svg'); 
  background-size: 60%;
  background-color: #ffffff;
}


.txt-link {
    font-size: 1.1em;
    text-decoration: none;
    color: #2d2d2d;
    background: none;
    border: none;
    box-shadow: none;
}

.txt-link:hover { 
    text-decoration: underline;
    color: #2d2d2d;
}

.txt-link.txt-link-help {
    padding: 2px 0 2px 30px;
    background: transparent url('../../icons/icon-help-dark.svg') no-repeat 0 center / 22px ;  
}


/*FORMS*/

label, input, select, textarea {
  font-size: 17px;
}

form h4 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

form label {
  font-size: 17px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.input-full-width input,
.input-full-width select,
.input-full-width textarea {
    width: 100% !important;
}

form select {
  background-image: url('../../icons/icon-dropdown.svg');
  background-position: calc(100% - 15px) ;
  background-size: 20px;
  background-repeat: no-repeat;  

  /* styling */
  background-color: white;
  border: thin solid blue;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */
  margin: 0;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

body .finder.container-fluid input {
  height: 46px;
  background-color: #ffffff;
  border-radius: 23px;
  box-sizing: border-box;
  box-shadow: none;
  border: none;
  padding: 0 15px;
  font-size: 1em;
  position: relative;
}

body .finder.container-fluid input.search-input {
    padding-left: 46px;
    width: 100%;
}

body .finder.container-fluid .search-box {
    position: relative;
    width: 360px;
    float: none;
}

body .finder.container-fluid .search-box::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  border-radius:50%;
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  background-color: #fff;
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../icons/icon-zoom.svg'); 
}


/*HEADER*/

.finder.container-fluid {
    padding: 30px 60px;
    border-width: 0 0 0 10px;
    border-color: #F8A185;
    border-style: solid;
}

.finder .header {
    margin-bottom: 30px; 
    padding-top: 0px; 
    min-height: 184px; 
    height: auto;
}

div.finder .header-text { 
    padding: 3em 0 0;
}

.visitor {
    background: #F8A185;
    color: #fff;
  text-align: center;
  margin: 0 !important;
  padding: 10px;
  min-height: 1px !important;
  width: 100%;
}


a.help-icon-only { 
  width: 32px;
  height: 32px;
  display: inline-block;
  background: #bf9dd0 url('../../icons/icon-help-w.svg') no-repeat 5px center / 22px !important;
  border-radius: 30px;
  color: #fff !important;
  padding: 0;
  text-decoration: none !important; 
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-width: 32px;
  min-height: 32px;
}

a.help-icon-only:hover { 
  background-color: #a379b8 !important; 
  color: #fff !important;
}

.ver-btns-holder {
    padding-top: 20px;
    margin: 30px 0 10px;
    border-top: #fff 1px solid;
}

.ver-btns-holder a {
    margin-right: 25px;
}


/*CHOICES*/


div.finder .choice {
  width: 14.5%;
  flex: 0 0 14.5%;
  margin-right: 2%;
}

div.finder .choices {
    display: flex;
    justify-content: space-between; 
    background-color: rgba(223, 223, 223, 1);
    border-radius: 20px;
    padding: 25px 30px;
    position: relative;
}
 
 
div.finder div.choices h2 { 
    padding: 0 0 0 5px;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;   
    line-height: 1em; 
}
 
.choices p {
  display: inline-block;
  padding: 0;
  margin: 0 ;
  clear: both;
  width: 100%;
}
 
.choices label {
  display: inline-block;
  width: 100%;
  cursor: pointer;
}
 
.choices label span {
  text-align: center;
  padding: 9px 20px 7px;
  display: block;
  border-radius: 30px;
  font-size: .9em;
  background-color: #fff;
  line-height: 1.1em;
}

.choices label input {
  position: absolute;
  display: none !important; 
   height: auto;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
} 

/* This will declare how a selected input will look giving generic properties */
.choices input:checked + span {
    color: #2d2d2d; 
}

.choices input:hover + span,
.choices input:checked + span {
    background-color: #F8A185;
    color: #fff;
} 

.action-container {
    position: absolute  ;
    bottom: 20px;
    left: 30px;
    background: transparent;
    width: 100%;
    margin: 0;
}




/*RESULTS*/

div.finder div.results.invisible {
    display: none;
}

div.finder div.results-intro { 
    display: flex; 
    flex-wrap: wrap;  
  font-size: 28px;  
  border: none;   
  position: relative;
  align-items: center;
}

div.finder div.results-intro #id_other_results_count {
    font-size: 48px;
    display: inline;
    margin-right: 8px;
    min-height: 30px;
}

div.finder div.results-intro #id_email_shortlist {
    margin-bottom: 0px;
}

div.finder div.results-intro .earwig-lite-control-middle.span6 { 
  height: 46px;
}
 
.search-message-container {
    padding: 1.5em 0 2.5em;
    justify-content: space-between;
}

.flex-block.key-block {
    display: block;
    flex: auto;
}

.search-message-container .flex-block.search {
    display: flex;
    align-items: top;
    flex:0 0 360px;
    order: 2;
}

.key-message {
    width: 100%;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.key-message div {
    display: flex;
    align-items: center;
}

.key-message a {
    margin-right: 10px;
}

.flex-block.key-block .key-point {
    height: 24px;
    padding-left: 30px;
    background: transparent url('../../icons/icon-star.svg') no-repeat 0 center / 22px ; 
    margin-right: 30px;
    display: inline-block;
    padding-top: 3px;
}

.flex-block.key-block .key-point.shortlist {
    background-image: url('../../icons/icon-switch.svg') ;  
    background-size: 34px;
    padding-left: 42px;
}

.flex-block.key-block .key-point.share {
    background-image: url('../../icons/icon-share.svg') ;  
    background-size: 22px;
    padding-left: 30px;
}

.flex-block.key-block .key-point.copyright {
    background-image: url('../../icons/icon-copyright.svg') ;  
    background-size: 18px;
    padding-left: 24px;
}

div.finder div.one-result {
    margin: 0 0 12px; 
    background:#fff; 
    border-radius:20px;
    padding:8px 15px;
 }


div.finder div.one-result.highlite { 
    background-color: #D4E5A1;
}
 
div.finder div.one-result div.top-row,
div.finder div.title div.top-row {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding-right: 0px;
}

div.finder div.title div.top-row { 
    font-size: 1.4em; 
    margin-bottom: 20px;
    margin-left: 15px;
}

div.finder div.results-grid div.name {
    min-width: 360px;
    max-width: 360px; 
    padding: 0 10px;
    display: flex;
    align-items: center;
}

div.finder div.results-grid div.name .eff-star {
  width: 30px;
  display: inline-block;
  background: transparent url('../../icons/icon-star.svg') no-repeat 0 center / 22px;
  height: 26px;
}

div.finder div.results-grid div.name .eff-name {
  min-height: 20px;
  display: inline-block;
  line-height: 1em;
  padding-top: 6px;
}

div.finder div.results-grid div.shortlist {
    min-width: 50px;
    max-width: 50px;
    text-align: center;
    color: #ededed;
}

div.finder a.copyright {
    cursor: pointer;
    color: #ccc ;
    font-weight: normal;
    font-size: 20px;
    text-decoration: none;
    padding-top: 5px;
}

div.finder div.results-grid div.shortlist .checkbox-switch {
    top: 18px;
}


div.finder div.one-result div.sen,
div.finder div.top-row div.sen {
    width: 4.5%;
    min-width: 45px;
    margin: 0 4px;
    text-align:center;
}


div.finder div.top-row div.sen { 
    font-size: .8em;
}

div.finder div.one-result div.sen { 
    position: relative; 
    color: #F8A185;
    font-size: 25px;
}
 

div.finder div.one-result a.notes {
    border-radius: 20px;
  color: #2d2d2d;
  background: transparent;
  border: #2d2d2d 1px solid;
  display: inline-block;
  padding: 8px 15px;
  margin-right: 15px; 
}

div.finder div.one-result a.view.eff-school-linker {
    border-radius: 20px;
    color: #2d2d2d;
    border: #F8A185 1px solid;
    background: #F8A185;
    padding: 8px 15px; 
}

div.finder div.one-result a:hover {
    text-decoration: none !important;
}


div.finder div.top-row div.notes {
    min-width: 70px; 
    width: 4.5%;
    color: transparent;
}

div.finder div.top-row div.share {
    min-width: 30px;  
    color: transparent;
    max-width: 30px;
}

div.finder div.top-row div.view {
    min-width: 80px; 
    width: 4.5%;
    color:transparent;
} 

div.finder div.top-row div.schools,
div.finder div.top-row div.ok-to-use,
div.finder div.top-row div.top-pick {
    min-width: 100px;
    text-align: center;
}

div.finder div.one-result .ff-share {
    background: transparent url('../../icons/icon-share.svg') no-repeat 0 center / 26px ;
    width: 30px;
    height: 30px;
    margin: 0 7px 0 10px; 
}

.fw-share-link {
    min-width: 30px;
}


/*STYLED CHECKBOX*/

.checkbox.checkbox-switch {
  display: inline-block;
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox.checkbox-switch input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox.checkbox-switch input:checked ~ .checkbox__checkmark {
  background-color: #85C6A1;
}
.checkbox.checkbox-switch input:checked ~ .checkbox__checkmark:after {
  left: 21px;
}
.checkbox.checkbox-switch:hover input ~ .checkbox__checkmark {
  background-color: #ccc;
}
.checkbox.checkbox-switch:hover input:checked ~ .checkbox__checkmark {
  background-color: #85C6A1;
}
.checkbox.checkbox-switch .checkbox__checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 22px;
  width: 40px;
  background-color: #ccc;
  transition: background-color 0.25s ease;
  border-radius: 11px;
}
.checkbox.checkbox-switch .checkbox__checkmark:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  transition: left 0.25s ease;
}




/*MODALS*/

div.finder .modal-footer .message {
    flex: 3 3 30px;
    font-size: 13px;
    padding-right: 100px;
    text-align: left;
}

div.finder .modal-footer .btn {
    width: 100%;
    max-width: 180px;
}

.modal-register-lead.modal, 
.modal-register-lead.modal-backdrop { 
    left: 50%;  
    width: 700px;
    overflow-y: auto; 
    height: 80%; 
    bottom: auto;
    margin-left: -350px;
    border: none;
    background: #fefefe;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-register-lead.modal.fade.in {
    top: 10%; 
    bottom: auto;
}

.modal-register-lead .modal-content {
    background: #fefefe; box-shadow:none;
}

.modal-register-lead .btn-close { 
    display: block; 
    opacity: 1;
    position: absolute;
    top: 20px;
    right: 20px;
}

.modal-register-lead .modal-dialog {
    width: 100%;
    margin: 0;
    padding: 0 25px 25px;
}


@media (max-width: 1440px) {

    body {
        font-size: 15px;
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.3em; }
    h4 { font-size: 1.2em; }

    .finder.container-fluid {
      padding: 30px 40px;
    }
    div.finder .header-text {
        justify-content: space-between;
        padding: 3em 0 1em;
    }
    .header-text .flex-block {
        flex: auto;
    }
    .header-text .flex-block.flex-right {
        flex: 0 0 320px;
    }

    div.finder div.results-grid div.name,
    div.finder div.top-row div.sen,
    div.finder div.results-grid div.name {
      min-width: 300px;
      max-width: 300px;
    padding: 0 10px;
    }
    .flex-block.key-block .key-point {
      padding-top: 6px;
    }
    .choices label span {
    }

    .modal-register-lead.modal, .modal-register-lead.modal-backdrop {
        width: 800px;
      margin-left: -400px;
    }
    #id_results_rest {
          min-width: 100%;
          overflow-x: scroll;
    }
    #id_results_rest .results-grid {
          min-width: 1200px;
    }

}

@media (max-width: 900px) {

    .finder.container-fluid {
      padding: 20px 20px;
      border-width: 0 0 0 5px;
    }
    .flex-row {
      display: block;
    }
    .flex-block {
      padding-bottom: 10px;
    }
    .flex-block.flex-right {
      text-align: left;
      display: block;
      justify-content: start;
    }
    div.finder .header-text {
      padding: 2em 0 1em;
    }
    div.finder .choices {
      padding: 25px 15px 70px;
    }
    .choices label span {
      padding: 6px 13px 4px;
    }
    div.finder div.results-intro {
    }
    div.finder div.results-intro #id_other_results_count {
        font-size: 2em;
        min-height: 24px;
    }
    div.finder div.choices h2 {
    }

    div.finder div.one-result a.view.eff-school-linker,
    div.finder div.one-result a.notes {
      padding: 4px 10px;
    }
    div.finder div.one-result {
      margin: 0 0 8px;
      border-radius: 10px;
      padding: 0px 8px;
    }
    div.finder div.results-grid div.name, div.finder div.top-row div.sen {
        font-size: 1em;
    }
    div.finder div.title div.top-row {
      margin-bottom: 10px;
    }
    div.finder #id_results_list div.one-result div.sen {
      font-size: 30px;
    }
    .choices-wrapper {
        min-width: 100%;
        overflow-x: scroll;
    }
    .choices-wrapper .choices {
        width: 900px;
    }
    div.finder div.choices div.choice {
      margin: 0 5px;
    }
    .modal-register-lead.modal, .modal-register-lead.modal-backdrop {
        width: 600px;
      margin-left: -300px;
    }
    .modal-register-lead .modal-body .span12,
    .modal-register-lead .modal-body .span8,
    .modal-register-lead .modal-body .span6,
    .modal-register-lead .modal-body .span4,
    .modal-register-lead .modal-body .span2 {
        width: 100% !important;
        margin: 0 !important;
    }
    .modal-register-lead .modal-dialog .modal-body input {
        width: 100% !important;
    }
    .key-message div {
      display: block;
    }
    .key-message a {
      margin-right: 10px;
      clear: both;
      position: relative;
      display: inline-block;
      height: 30px;
    }
    .modal-register-lead .modal-content {
        background:none;
    }

}



@media (max-width: 767px) {

    h1 {
    }

    .modal-register-lead.modal, .modal-register-lead.modal-backdrop {
        width: 500px;
      margin-left: -250px;
    }
    .modal-register-lead .modal-header {
        padding: 20px 25px 10px;
      }


    /* BTNS */

    .btn, button.btn, body .finder.container-fluid input.btn {
        padding: 11px 18px 8px 18px;
        font-size: .9em;
        height: 38px;
    }
    .btn-icon {
     padding-left: 46px !important;
    }
    .btn.btn-icon-right {
      padding-left: 18px !important;
      padding-right: 46px !important;
    }
    .btn-lined {
      padding-left: 18px;
      padding-top: 11px;
    }
    .btn-icon::before {
      width: 30px;
      height: 30px;
      left: 4px;
      background-size: 18px;
      margin-top: -15px;
    }
    .btn-arrow-right::before {
      right: 4px;
      left: auto;
    }
    .btn-mar-right {
      margin-right: 15px;
    }
    .btn-icon {
      padding-left: 44px !important;
    }
    .btn-large {
        padding: 10px 30px 8px 30px !important;
        height: 50px;
        font-size: 1.1em;
        border-radius: 50px;
    }

    .flex-row {
        display: block;
    }
    .flex-row .fb-1-2 {
        width: 100%;
        margin-bottom: 20px;
    }

}


@media (max-width: 550px) {

    .modal-register-lead.modal, .modal-register-lead.modal-backdrop {
        width: 330px;
      margin-left: -165px;
    }
    .header-container .btn-lined {
        margin-bottom: 10px;
    }
}



