#tg-header {
    border-bottom: 1px solid #f2f2f2;
}
.tg-nav {
    display: none;
}

.login-social-btns li {
    list-style-type: none;
}

.btn-social {
    padding-left: 40px;
    position: relative;
    color: white;
    font-size: 21px;
    border: 2px solid;
    padding: 4px 0px 3px 40px;
    margin-bottom: 19px;
}

.btn-social .fa {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 30px;
}

.btn-facebook {background-color: #47639e;border-color: #47639e;}
.btn-google {background-color: #dd4b39;border-color: #dd4b39;}
.btn-twitter {background-color: #1da1f2;border-color: #1da1f2;}
.btn-linkedin {background-color: #0077b5;border-color: #0077b5;}

.btn-facebook:hover,.btn-facebook:focus {color: #47639e;background-color: #ffffff;}
.btn-google:hover,.btn-google:focus {color: #dd4b39;background-color: #ffffff;}
.btn-twitter:hover,.btn-twitter:focus {color: #1da1f2;background-color: #ffffff;}
.btn-linkedin:hover,.btn-linkedin:focus {color: #0077b5;background-color: #ffffff;}

a.find-pro-btn {
    line-height: 82px;
    padding: 0px 30px;
    margin-left: 10px;
    display: inline-block;
    color: #545b63;
    font-weight: 600;
}
a.find-pro-btn:hover {
    background: #fafafa;
}

.tg-rightarea .tg-btn {
    z-index: 3;
    color: #fff;
    padding: 0px 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    text-transform: capitalize;
    font: 100 18px/40px 'Work Sans', Arial, Helvetica, sans-serif;
}

.tg-rightarea .btn {
    line-height: 40px;
    padding: 0;
    color: #545b63;
}

.tg-searchbox h6 {
    font-size: 25px;
    color: white;
    text-align: center;
    font-weight: 100;
    text-shadow: 2px 2px 0px black;
}

.btns-wrapper {
    margin-top: 15px;
}

.btns-wrapper  a.btn.quote-request-btn {
    background: #5dc560;
    color: white;
}

.btns-wrapper  a.more-info-btn {
    float: right;
    text-decoration: underline;
    padding: 7px 0px;
}

.quote-request-form-overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
}

#quote-request-close {
    color: white;
    font-size: 55px;
    position: fixed;
    right: 30px;
    top: 20px;
    text-shadow: 2px 0px 1px black;
    z-index: 12;
    display: none;
}

.open-quote-request-form .quote-request-form-overlay,
.open-quote-request-form #quote-request-close
{
    display: initial;
}

.open-quote-request-form #quote-request-widget {
    position: relative;
    z-index: 11;
    background: white;
    padding: 18px 0px;
    border-radius: 4px;
    box-shadow: 0px 0px 45px rgba(0, 0, 0, 0.79);
}

#quote-request-widget {
    border: 10px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0px 20px;
    margin-bottom: 25px;
}

.tg-submit-quote:before,
.tg-submit-quote:after {
    top: 0;
    left: 0;
    z-index: -1;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: #2ecc71;
}

.hero-section {
    background-image: url('/assets/site/images/hero-bg.png');
    background-position: top center;
    text-align: center;
    padding: 60px 0px;
}

.hero-section h1 {
    font-size: 22px;
    font-weight: 300;
    margin: 0px;
    color: #FFFFFF;
    text-align: center;
}

.hero-section h1 + p {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 16px;
    margin-top: 0px;
    line-height: 25px;
    text-align: center;
}

.cal-to-action p {
    margin: 0;
    color: white;
    font-size: 25px;
    line-height: 40px;
    font-weight: 100;
}
.cal-to-action p:first-child {
    font-size: 30px;
}

.hero-btn {
    background: #fc801c;
    color: white;
    padding: 5px 34px;
    font-size: 20px;
    display: inline-block;
    border-radius: 4px;
    margin: 10px 0px 4px;
    text-shadow: 1px 1px 1px #5a5a5a;
    box-shadow: 1px 1px 1px #5a5a5a;
}

.hero-btn:hover,
.hero-btn:focus {
    background: #e27319;
    color: #ffffff;
    text-decoration: none;
}

.professional-list .tg-main{
    padding: 15px 0;
}

.professional-list h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 5px 0px 25px;
}

.picture-item {
    margin-bottom: 25px;
}

.picture-item .thumbnail {
    height: 150px;
    margin-bottom: 6px;
    position: relative;
}

.picture-item input {
    margin-bottom: 5px;
    padding: 5px;
    height: 30px;
    border-radius: 0;   
}
.picture-item textarea {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 0;   
    height: 120px
}

.picture-item textarea:focus,
.picture-item input:focus {
    
}

.picture-item a.remove{
    position: absolute;
    color: #ffffff;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


/* CSS Code */
.popScroll {
    position:fixed; z-index:10; top:0;
    display: table;
    text-align: center;
    width: 100%;
    height: 100%;
}

.popup {
    z-index: 10;
    width: 450px;
    height: 420px;
    position:absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    margin:20px auto;
    display:block;
    text-align:center;
    -moz-background-clip: padding;
    -o-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box; /* prevents bg color from leaking outside the border */
    background-color: #fff; /* layer fill content */
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    -o-box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    -webkit-transform-origin:top center;
    -moz-transform-origin:top center;
    -o-transform-origin:top center;
    transform-origin:top center;
    -webkit-animation: iconosani 1.2s forwards;
    animation: iconosani 1.2s forwards;
    -moz-animation: iconosani 1.2s forwards;
    -o-animation: iconosani 1.2s forwards;
    border-radius: 15px;
    overflow: hidden;
}

@-webkit-keyframes iconosani {
    0% {
        -webkit-transform: perspective(800px) rotateX(-90deg);
        -moz-transform: perspective(800px) rotateX(-90deg);
        -o-transform: perspective(800px) rotateX(-90deg);
        opacity: 1;
    } 
    40% {
        -webkit-transform: perspective(800px) rotateX(30deg);
        -moz-transform: perspective(800px) rotateX(30deg);
        -o-transform: perspective(800px) rotateX(30deg);
        opacity: 1;
    }
    70% {
        -webkit-transform: perspective(800px) rotateX(-10deg);
        -moz-transform: perspective(800px) rotateX(-10deg);
        -o-transform: perspective(800px) rotateX(-10deg);
    }
    100% {
        -webkit-transform: perspective(800px) rotateX(0deg);
        -moz-transform: perspective(800px) rotateX(0deg);
        -o-transform: perspective(800px) rotateX(0deg);
        opacity: 1;
    }
}


.popScroll-overlay:after{
    content:'';
    width:100%;
    height:100%;
    top:0px; left:0px;
    z-index:10;
    opacity:.8;
    position:fixed; top:0; left:0; bottom:0; right:0;
    background:#000;
}

.popScroll-overlay{ /* Prevents scrolling */
    overflow:hidden;
    max-height:100%;
    max-width:100%;
}

.popScroll h1 {
  height: 60px;
  position: relative;
  color: #fff;
  font: 25px/60px sans-serif;
  text-align: center;
  text-transform: uppercase;
  background: #e74c3c;
}

.popScroll p {
    padding: 0px 20px;
    font-size: 17px;
}


#option {position: relative;}

.boxi {
    display: inline-block;
    line-height: 42px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
}


.closei { 

}

.popScroll em {
    width: 42px;
    display: inline-block;
    position: relative;
    margin: 0 -20px;
    line-height: 42px;
    background: #fff;
    color: #777;
    text-align: center;
    border-radius: 50px;
    }



.ribbon {
  position: absolute;
  z-index: 100;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.ribbon.top-left {
  top: -2.6px;
  left: -5px;
}

.ribbon.top-left.ribbon-primary > small {
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF428BCA', endColorstr='#FF2A6496');
  background-image: -moz-linear-gradient(top, #428bca 0%, #2a6496 100%);
  background-image: -webkit-linear-gradient(top, #428bca 0%, #2a6496 100%);
  background-image: linear-gradient(to bottom, #428bca 0%, #2a6496 100%);
  position: absolute;
  display: block;
  width: 100%;
  padding: 8px 10px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 65%;
  color: white;
  background-color: #428bca;
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -moz-box-shadow: 0 3px 6px -3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 6px -3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 6px -3px rgba(0, 0, 0, 0.5);
  top: 16px;
  left: -27px;
}
.ribbon.top-left.ribbon-primary > small:before, .ribbon.top-left.ribbon-primary > small:after {
  position: absolute;
  content: " ";
}
.ribbon.top-left.ribbon-primary > small:before {
  left: 0;
}
.ribbon.top-left.ribbon-primary > small:after {
  right: 0;
}
.ribbon.top-left.ribbon-primary > small:before, .ribbon.top-left.ribbon-primary > small:after {
  bottom: -3px;
  border-top: 3px solid #0e2132;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}

.banner {
    width:300px;
    height:250px;
    position:relative;
    margin:10px auto;
    display:block;
    text-align:center;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box; /* prevents bg color from leaking outside the border */
    background-color: #fff; /* layer fill content */
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
    box-shadow: 0 0 10px rgba(0,0,0,.18); /* drop shadow */
}

.adstext {
    margin-top:20px; color:#000; position:relative;
}


@media screen and (max-width: 600px) {

    .popup {
        width:370px;
        height:480px;
    }

    .popScroll h1 {
      height: 40px;
      font: 18px/40px sans-serif;
    }

    .subscribe-widget .email-form {
        width:210px;
    }

    .adstext {
        margin-top:20px;
    }

}

@media screen and (max-width: 400px) {

    .popup {
        width:350px;
        height:480px;
    }


    .popScroll h1 {
      height: 40px;
      font: 18px/40px sans-serif;
    }

    .subscribe-widget .email-form {
        width:210px;
    }


    .banner {
        margin:10px auto;
    }

    .adstext
    {
        margin-top:20px;
    }
}


@-webkit-keyframes fade {
  0% {
    box-shadow: 0 0 0 0 transparent;
  }

  66% {
    box-shadow: 0 0 0 10px #3D79D0, 0 0 0 12px white;
  }

  100% {
    box-shadow: 0 0 0 20px  transparent, 0 0 0 22px  transparent;
  }
}
@-moz-keyframes fade {
  0% {
    box-shadow: 0 0 0 0 transparent;
  }

  66% {
    box-shadow: 0 0 0 10px #3D79D0, 0 0 0 12px white;
  }

  100% {
    box-shadow: 0 0 0 20px  transparent, 0 0 0 22px  transparent;
  }
}
@-o-keyframes fade {
  0% {
    box-shadow: 0 0 0 0 transparent;
  }

  66% {
    box-shadow: 0 0 0 10px #3D79D0, 0 0 0 12px white;
  }

  100% {
    box-shadow: 0 0 0 20px  transparent, 0 0 0 22px  transparent;
  }
}
@keyframes fade {
  0% {
    box-shadow: 0 0 0 0 transparent;
  }

  66% {
    box-shadow: 0 0 0 10px #3D79D0, 0 0 0 12px white;
  }

  100% {
    box-shadow: 0 0 0 20px  transparent, 0 0 0 22px  transparent;
  }
}


/* POPUP */

.box {
    display: table;
    top: 0;
    visibility: hidden;
    -webkit-transform: perspective(1200px) rotateY(180deg) scale(0.1);
    -ms-transform: perspective(1200px) rotateY(180deg) scale(0.1);
    -moz-transform: perspective(1200px) rotateY(180deg) scale(0.1);
    transform: perspective(1200px) rotateY(180deg) scale(0.1);
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 1s all;
}

.box p {
    display: table-cell;
    vertical-align: middle;
    font-size: 64px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    opacity: 0;
    transition: .2s;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.box p i {
    font-size: 128px;
    margin:0 0 20px;
    display:block;
}

.box .close {
  display:block;
  cursor:pointer;
  border:3px solid rgba(255, 255, 255, 1);
  border-radius:50%;
  position:absolute;
  top:50px;
left:50px;
  width:50px;
  height:50px;
  -webkit-transform:rotate(45deg);
  -ms-transform:rotate(45deg);
  -moz-transform:rotate(45deg);
  transform:rotate(45deg);
  transition: .2s;
  -webkit-transition-delay: 0.2s;
  -ms-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  transition-delay: 0.2s;
  opacity:0;
}

.box .close:active {
    top:51px;
}

.box .close::before {
  content: "";
  display: block;
  position: absolute;
  background-color: rgba(255, 255, 255, 1);
  width: 80%;
  height: 6%;
  left: 10%;
  top: 47%;
}

.box .close::after {
  content: "";
  display: block;
  position: absolute;
  background-color: rgba(255, 255, 255, 1);
  width: 6%;
  height: 80%;
  left: 47%;
  top: 10%;
}

.box.open {
    left: 0;
    top: 0;
    visibility: visible;
    opacity: 1;
    z-index: 999;
    -webkit-transform: perspective(1200px) rotateY(0deg) scale(1);
    -moz-transform: perspective(1200px) rotateY(0deg) scale(1);
    -ms-transform: perspective(1200px) rotateY(0deg) scale(1);
    transform: perspective(1200px) rotateY(0deg) scale(1);
    width: 100%;
    height: 100%;
}

.box.open .close, .box.open p {
    opacity: 1;
}


.typeahead,
.tt-query,
.tt-hint {
  width: 480px;
  height: 30px;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}
.typeahead.empty {
  border: 2px solid red;
}
.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999;
  width: 430px;
}

.tt-dropdown-menu {
  width: 422px;
  margin-top: 12px;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

.twitter-typeahead {
  width: 100%;
}

.breadcrumb {
    padding: 8px 0;
    margin-bottom: 0px;
    list-style: none;
    background-color: rgba(245, 245, 245, 0);
    border-radius: 4px;
}

.breadcrumb>li {
    display: inline-block;
    width: auto;
}