/*

Known Template

https://templatemo.com/tm-516-known

*/

  @import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');

  :root {
    --site-primary: #073549;
    --site-secondary: #CCC840;
    --site-grey: #D8D8D8;
  }

  body {
    background: #ffffff;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    padding-top: 95px;
  }


  /*---------------------------------------
     TYPOGRAPHY
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: inherit;
  }

  h1 {
    color: #252525;
    font-size: 3em;
    line-height: normal;
  }

  h2 {
    color: #353535;
    font-size: 2em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: 0;
  }

  h3,
  h3 a {
    color: #454545;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a,
  input, button,
  .form-control {
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  a:hover, a:active, a:focus {
    color: var(--site-secondary);
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }

    body .alert {
        position: fixed;
        width: 50%;
        z-index: 1000;
        top: 135px;
        left: 50%;
        margin-left: -25%;
    }

  .section-title {
    padding-bottom: 40px;
  }

  .section-title h2 {
    margin: 0;
  }

  .section-title small {
    display: block;
  }

  #disclaimer .section-title small {
    margin-top: 5px;
  }

  .overlay {
    background: rgba(20,20,20,0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  form#hero-form .form-group > label {
    display: none;
  }

  #hero-form .help-block{
    color: var(--site-secondary);
  }

  .entry-form {
    background: #252020;
    border-radius: 100%;
    text-align: center;
    padding: 6em;
    width: 450px;
    height: 450px;
  }

  .entry-form h2 {
    color: #ffffff;
    margin: 0;
  }

  .entry-form .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #555;
    border-radius: 0;
    box-shadow: none;
    height: 45px;
    margin: 10px 0;
    color: var(--site-secondary);
  }

  .entry-form .submit-btn {
    background: #ffffff;
    border-radius: 50px;
    border: 0;
    color: #252020;
    width: 50%;
    height: 50px;
    margin: 30px auto;
    margin-bottom: 10px;
  }

  .entry-form .submit-btn:hover {
    background: var(--site-primary);
    color: #ffffff;
  }

  section {
    position: relative;
    padding: 125px 0;
  }

  #team,
  #testimonial,
  #disclaimer
  {
    background: #f9f9f9;
  }

  #team,
  #testimonial,
  #disclaimer
  {
    text-align: center;
  }

  #google-map iframe {
    border: 0;
    width: 100%;
    height: 390px;
  }

    #language_tap
    {
        /* border: solid 1px red; */
        height: 90px;
        line-height: 90px;
        padding: 0 0 0 5px;
    }

    #language_tap select {
        display: inline-block;
        border-color: var(--site-secondary);
    }

  /*---------------------------------------
     BUTTONS
  -----------------------------------------*/

  .section-btn {
    background: transparent;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    transition: 0.5s;
  }

  .section-btn:hover {
    background: #ffffff;
    border-color: transparent;
  }



  /*---------------------------------------
       PRE LOADER
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU
  -----------------------------------------*/

  .custom-navbar {
    background: #ffffff;
    border-top: 5px solid var(--site-secondary);
    border-bottom: 0;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    margin-bottom: 0;
    padding: 0;
  }

  .custom-navbar .navbar-brand {
    color: #454545;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
  }

  .head-logo {
    /* border: solid 1px red; */
    display: inline-block;
    padding: 0;
    /* margin: 12px 0;
    width: 140px;
    height: 65px; */
    margin: 8px 0;
    width: 161px;
    height: 73px;
    background-image: url(../images/logoMain.svg);
    background-repeat: no-repeat;
    background-position: center center;
  }

    .head-logo h1 {
        display: none;
    }


  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 5em;
  }

  .custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .custom-navbar .navbar-nav.navbar-right li a .fa {
    background: var(--site-secondary);
    border-radius: 100%;
    color: #ffffff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    margin-right: 5px;
  }

  .custom-navbar .nav li a {
    line-height: 60px;
    color: #575757;
    padding-right: 22px;
    padding-left: 22px;
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li a:hover {
    background-color: var(--site-secondary);
    color: #ffffff;
  }

  .custom-navbar .nav li.active > a {
    background-color: var(--site-secondary);
    color: #ffffff;
  }

  .custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .custom-navbar .navbar-toggle {
    background-color: transparent;
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: #252525;
    border-color: transparent;
  }



  /*---------------------------------------
      HOME  & SLIDER
  -----------------------------------------*/

  #home {
    padding: 0;
    overflow: hidden;
  }

  #home h1 {
    color: #ffffff;
    font-size: 4em;
  }

  #home h3 {
    color: #f9f9f9;
    font-size: 20px;
    font-weight: 300;
    margin: 0;
    padding: 5px 0 40px 0;
  }

  @media (min-width: 768px) {
    .home-slider .col-md-6 {
      padding-left: 0;
    }
  }

  .home-slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgb(7 53 73 / 85%);
    height: 100%;
    color: #fff;
    cursor: grab;
  }

  .home-slider .item {
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 750px;
  }

  .caption h3 a { color: #FFF; }
  .caption h3 a:hover { color: #FF3; }

  .home-slider .item-first {
    /* background-image: url(../images/backgrounds/toronto1.jpg); */
    background-image: url(../images/carAcc-1.jpeg);
    background-position: center;
  }

  .home-slider .item-second {
    /* background-image: url(../images/backgrounds/toronto2.jpg); */
    background-image: url(../images/traff-1.jpeg);
    background-position: center;
  }

  .home-slider .item-third {
    /* background-image: url(../images/backgrounds/toronto3.jpg); */
    background-image: url(../images/refug-2.jpeg);
    background-position: center;
  }

    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span {
      background: var(--site-primary);
    }



  /*---------------------------------------
      FEATURE
  -----------------------------------------*/

  .feature-thumb {
    border: 1px solid #f0f0f0;
    padding: 5em 3em;
  }

  .feature-thumb span {
    background: var(--site-primary);
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 5px;
  }

  .feature-thumb h3 {
    margin: 10px 0;
  }



  /*---------------------------------------
      ABOUT
  -----------------------------------------*/

  #about figure {
    display: inline-block;
    vertical-align: top;
    /* margin-left: 15px; */
  }

  #about figure span {
    float: left;
    margin-left: -15px;
    padding: 15px 15px 35px;
    position: relative;
    top: 20px;
  }

  #about figure span i {
    background: var(--site-secondary);
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }



  /*---------------------------------------
      TEAM
  -----------------------------------------*/

  .team-thumb {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: left;
  }

  .team-info {
    padding: 20px 30px;
  }

  .team-image img {
    width: 100%;
  }

  .team-thumb .social-icon {
    border-top: 1px solid #f0f0f0;
    padding: 4px 20px 0 20px;
  }

  .team-thumb .social-icon li a {
    background: #ffffff;
    color: #252020;
  }

  .team-info h3 {
    margin: 0;
  }


  /*---------------------------------------
      COURSES
  -----------------------------------------*/

  #services .section-title {
    text-align: center;
  }

  #services .owl-theme .owl-nav {
    margin-top: 30px;
  }

  #services .owl-theme .owl-nav [class*=owl-] {
    border-radius: 2px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
  }

  .courses-thumb {
    background: #f9f9f9;
    position: relative;
  }

  .courses-top {
    position: relative;
  }

  .courses-image {
    background: linear-gradient(to right, #202020, #101010);
  }

  .courses-date {
    background: linear-gradient(rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.6));
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 20px 25px;
  }

  .courses-date span,
  .courses-author span {
    font-size: 14px;
    font-weight: bold;
  }

  .courses-date span {
    color: #ffffff;
    display: inline-block;
    margin-right: 10px;
  }

  .courses-detail {
    padding: 25px 25px 15px 25px;
  }

  .courses-detail h3 {
    margin: 0 0 2px 0;
  }

  .courses-info {
    border-top: 1px solid #f0f0f0;
    position: relative;
    clear: both;
    padding: 15px 25px;
  }

  .courses-author,
  .courses-author span {
    display: inline-block;
    vertical-align: middle;
  }

  .courses-author img {
    display: inline-block !important;
    border-radius: 50px;
    width: 50px !important;
    height: 50px;
    margin-right: 10px;
  }

  .courses-price {
    /* float: right; */
    display: inline-block;
    margin-top: 10px;
  }

  .courses-price span {
    background: var(--site-secondary);
    border-radius: 2px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .courses-price span:hover {
    background: var(--site-primary);
  }

  /* .courses-price.free span {
    background: #3f51b5;
  } */

  #servicesModal
  {

  }

  #servicesModal .service-modal-right .team-info
  {
    padding: 0 20px 30px;
  }

  #servicesModal .service-modal-right .team-info h3
  {
    margin-bottom: 10px;
  }

  #servicesModal .service-modal-right .team-info span
  {
    /* margin-bottom: 10px; */
    font-weight: bold;
  }


  /*---------------------------------------
     NEWS
  -----------------------------------------*/

  .news-thumb {
    clear: both;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .news-thumb .news-image {
    float: left;
    width: 40%;
    margin-right: 30px;
  }

  .news-info h3 {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .news-date span {
    color: #909090;
    font-weight: bold;
  }

  /*---------------------------------------
      DISCLAIMER
  -----------------------------------------*/
  #disclaimer {
      text-align: left;
  }

  #disclaimer h2 {
      text-align: left;
  }

  #disclaimer-wrapper
  {
      border: solid 1px var(--site-grey);
      background-color: white;
      position: relative;
      padding: 10px;
  }

  .disclaimer-body
  {
      padding: 0 20px;
      height: 500px;
      overflow-y: scroll;

  }

  /*---------------------------------------
      TESTIMONIAL
  -----------------------------------------*/

  #testimonial .item {
    background: #ffffff;
    margin: 20px 0;
    padding: 4em 3em;
    text-align: left;
  }

  #services .col-md-4,
  #testimonial .col-md-4 {
    display: block;
    width: 100%;
  }

  #testimonial .item > p {
    font-size: 16px;
    line-height: 26px;
  }

  .tst-rating {
    margin-bottom: 15px;
  }

  .tst-rating .fa {
    color: #3f51b5;
  }

  .tst-image,
  .tst-author {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
    text-align: left;
  }

  .tst-image img {
    border-radius: 50px;
    width: 60px !important;
    height: 60px;
    margin-right: 15px;
  }

  .tst-author h4 {
    margin: 0;
  }

  .tst-author span {
    color: #808080;
    font-size: 14px;
  }



  /*---------------------------------------
      CONTACT
  -----------------------------------------*/

  #contact {
    background: var(--site-primary);
  }

  #contact h2 {
    color: #ffffff;
  }

  #contact .section-title {
    padding-bottom: 20px;
  }

  #contact h2 > small,
  #contact p,
  #contact a {
    color: #f9f9f9;
  }

  #contact-form {
    padding: 1em 0;
  }

  #contact-form .col-md-12,
  #contact-form .col-md-4 {
    padding-left: 0;
  }

  #contact-form .form-control {
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    margin: 10px 0;
  }

  #contact-form input {
    height: 50px;
  }

  #contact-form input[type='submit']
  {
    border-radius: 50px;
    border: 1px solid transparent;
  }

    #contact-form input[type='submit']:hover
    {
        background: transparent;
        border-color: #ffffff;
        color: #ffffff;
      }

  /* MAP */
  #contact-map {
      /* border: solid 1px red; */
      height: 444px;
      width: 100%;
  }

  #contact-map a p {
    color: var(--site-primary);
  }

  #contact-map a:hover p {
    color: var(--site-secondary);
  }

    section#contact-map {
        padding: 0;
        height: 35vw;
    }

    section#contact-map button
    {
        top: 0!important;
        right: 0!important;
    }
    .maps-info-window {
        font-family: 'Nunito';
        padding: 5px;
    }

    .maps-info-window h1 {
        font-size: 20px;
        margin: 0 0 5px;
    }

    .maps-info-window p {
        /* color: black!important; */
        margin: 0;
        line-height: 1.3;
    }

    .maps-info-window p:last-child
    {
        margin-bottom: 0;
    }


  /*---------------------------------------
     FOOTER
  -----------------------------------------*/

  footer {
    background: #252020;
    padding: 120px 0;
  }

  footer .section-title {
    padding-bottom: 10px;
  }

  footer h2 {
    font-size: 20px;
  }

  footer a,
  footer p {
    color: #909090;
  }

  footer strong {
    color: #d9d9d9;
  }

  footer address p {
    margin-bottom: 0;
  }

  footer .social-icon {
    margin-top: 25px;
  }

  .footer-info {
    margin-right: 2em;
  }

  .footer-info h2 {
    color: #ffffff;
    padding: 0;
  }

  .footer_menu h2 {
    margin-top: 2em;
  }

  .footer_menu ul {
    margin: 0;
    padding: 0;
  }

  .footer_menu li {
    display: inline-block;
    list-style: none;
    margin: 5px 10px 5px 0;
  }

  .newsletter-form .form-control {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid #303030;
    height: 50px;
    margin: 5px 0;
  }

  footer #footer-qr
  {
    width: 80%;
  }

  .newsletter-form input[type="submit"] {
    background: transparent;
    border: 1px solid #f9f9f9;
    border-radius: 50px;
    color: #ffffff;
    display: block;
    margin-top: 20px;
    outline: none;
    width: 50%;
  }

  .newsletter-form input[type="submit"]:hover {
    background: var(--site-secondary);
    border-color: transparent;
  }

  .newsletter-form .form-group span {
    color: #909090;
    display: block;
    font-size: 12px;
    margin-top: 20px;
  }



  /*---------------------------------------
     SOCIAL ICON
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
  }

  .social-icon li a {
    border-radius: 100px;
    color: var(--site-grey);
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: var(--site-primary);
    color: #ffffff;
  }

  .footer-info .social-icon li a:hover {
    background: var(--site-secondary);
    color: #ffffff;
  }



  /*---------------------------------------
     RESPONSIVE STYLES
  -----------------------------------------*/

  @media screen and (max-width: 1195px) {
      /* * {
          border: solid 1px red;
      } */

    .navbar-header {
        width: 100%;
    }

    .head-logo {
        position: relative;
        left: 50%;
        margin: 5px 0;
        margin-left: -65px!important;

        width: 130px;
        height: 60px;
    }

    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }

    section {
      padding: 75px 0;
    }

  }

  @media only screen and (max-width: 992px) {

    /* * {
        border: solid 1px blue;
    } */

    section,
    footer {
      padding: 60px 0;
    }

    #home .caption {
        padding-top: 70px;
    }

    .home-slider .item {
      background-position: center center;
      height: auto;
    }

    .feature-thumb,
    .about-info,
    .team-thumb,
    .footer-info {
      margin-bottom: 50px;
    }

    .feature-thumb {
        padding: 2em;
        margin: 0;
    }

    .entry-form {
        margin: 0 auto;
    }

    #contact-form div {
        padding: 0;
    }

    #contact-form div:last-child{
        margin-bottom: 50px;
    }

    .contact-image {
      margin-top: 50px;
    }

    img#footer-qr {
        width: 40%;
    }

    form.hero-form {
      margin: 90px 0;
    }

  }


  @media only screen and (min-width: 768px) and (max-width: 991px) {

    /* * {
      border: solid 1px green;
    } */
    
    .custom-navbar .nav li a {
      line-height: 30px;
      padding-right: 10px;
      padding-left: 10px;
    }

    .custom-navbar .navbar-nav.navbar-right li a {
      padding: 15px 0;
    }

    #language_tap {
      height: 30px;
      line-height: 30px;
      padding: 15px 0 0 10px;
    }

    #home .caption {
      /* padding-top: 300px; */
    }


  }

  @media only screen and (max-width: 767px) {
    body {
        padding-top: 85px;
    }

    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
      background: #ffffff;
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .navbar-brand,
    .custom-navbar .nav li a {
      line-height: normal;
    }

    .custom-navbar .nav li a {
      padding: 10px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #252525;
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #575757;
    }

    .custom-navbar .navbar-nav.navbar-right li {
      display: inline-block;
    }

    a.navbar-brand.head-logo {
        margin: 0!important;
        left: 30px;
    }

    #home h1 {
        color: #ffffff;
        font-size: 3em;
    }

    .navbar-toggle {
        margin-right: 0;
    }

    .footer-info {
      margin-right: 0;
    }

    .footer-info.newsletter-form {
      margin-bottom: 0;
    }

    .entry-form {
      display: block;
      margin: 0 auto;
    }

    .feature-thumb {
        padding: 4em;
        margin-bottom: 3em;
    }
  }


  @media only screen and (max-width: 580px) {
    h2 {
      font-size: 1.8em;
    }

    #testimonial .item {
      padding: 2em;
    }

    .contact-image {
      margin-top: 0;
    }

    #about figure span {
        width: 100%;
        /* margin: 0 auto; */
    }

    img#footer-qr {
        width: 60%;
    }
  }

  @media only screen and (max-width: 480px) {
    h1 {
      font-size: 2em;
    }

    #home h3 {
      font-size: 14px;
    }

    .entry-form {
      border-radius: 0;
      padding: 2em;
      max-width: 100%;
      max-height: 100%;
      width: inherit;
      height: inherit;
    }
  }
