@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
@import "grid.css";
@import "ui.totop.css";
@import "superfish-menu.css";
@import "touchTouch.css";
@import url(http://fonts.googleapis.com/css?family=Istok+Web:400);
@import url(http://fonts.googleapis.com/css?family=Istok+Web:700);
@import url(http://fonts.googleapis.com/css?family=Istok+Web:400italic);
@import url(http://fonts.googleapis.com/css?family=Istok+Web:700italic);
@import url(http://fonts.googleapis.com/css?family=Lobster);
/*========================================================
                    Main layout styles
=========================================================*/
body {
  font: 400 18px/26px "Istok Web", sans-serif;
  color: #606464;
  background: #ffffff;
}
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
img {
  max-width: 100%;
}
@media (max-width: 767px) {
  img {
    width: 100%;
  }
}
* {
  -webkit-text-size-adjust: none;
}
/*========================================================
                    Defaults
=========================================================*/
/* ======= Headers ======= */
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
}
h2 {
  font: normal 45px/45px "Trebuchet MS", sans-serif;
  color: #52344d;
  margin-bottom: 21px;
}
@media (max-width: 767px) {
  h2 {
    font-size: 35px;
    line-height: 35px;
  }
}
.h2__inset1 {
  font: 700 42px/42px "Trebuchet MS", sans-serif;
  color: #ffffff;
  margin-top: 15px;
  margin-bottom: 17px;
}
@media (max-width: 767px) {
  .h2__inset1 {
    font-size: 32px;
    line-height: 32px;
  }
}
.h2__inset2 {
  color: #ffffff;
}
h3 {
  font: 700 24px/24px "Trebuchet MS", sans-serif;
  color: #52344d;
}
.h3__inset1 {
  font-size: 18px;
  font-weight: 400;
}
.h3__inset2 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 25px;
  margin-top: -1px;
  font-weight: 400;
}
h3__title {
  font: 700 24px/24px "Trebuchet MS", sans-serif;
  color: #52344d;
  padding-left:24px;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .h3__inset2 {
    margin-top: 50px;
  }
}
.h3__inset3 {
  line-height: 30px;
  color: #606364;
  margin-bottom: 35px;
}
@media (max-width: 767px) {
  .h3__inset3 {
    margin-top: 50px;
  }
}
.h3__inset4 {
  font-size: 18px;
  font-weight: 700;
}
.h3__inset5 {
  line-height: 30px;
  color: #606364;
}
h4 {
  font: 700 48px/48px "Istok Web", sans-serif;
  color: #ffffff;
  margin-bottom: 21px;
}
/* ======= Buttons ======= */
.btn-default {
  font: normal 14px/21px "Istok Web", sans-serif;
  color: #ffffff;
  background: #ceb3c7;
  display: inline-block;
  border-radius: 5px;
  padding: 11px 32px 8px 33px;
  margin: 13px 0;
}
.btn-default:hover {
  background: #f9be00;
}
.btn__inset1 {
  background: #ffffff;
  color: #606364;
  padding-top: 13px;
  padding-bottom: 9px;
  margin: 17px 0;
}
.btn__inset1:hover {
  background: #52344d;
  color: #ffffff;
}
.btn__inset2 {
  padding: 7px 17px 8px 18px;
  font-size: 16px;
}
.btn__inset3 {
  margin-top: 18px;
  margin-bottom: 36px;
  background: #52344d;
  padding-left: 34px;
  padding-right: 35px;
}
.btn__inset3:hover {
  background: #f9be00;
}
/* ======= Float ======= */
.float__right {
  float: right;
}
@media (max-width: 767px) {
  .float__right {
    float: none;
  }
}
/* ======= Paddings ======= */
.paddings1 {
  padding: 78px 0 69px 0;
}
@media (max-width: 767px) {
  .paddings1 {
    padding: 40px 0;
  }
}
.paddings2 {
  padding: 103px 0 67px 0;
}
@media (max-width: 767px) {
  .paddings2 {
    padding: 40px 0;
  }
}
.paddings3 {
  padding: 55px 0 40px 0;
}
@media (max-width: 767px) {
  .paddings3 {
    padding: 40px 0;
  }
}
.paddings4 {
  padding: 90px 0 19px 0;
}
@media (max-width: 767px) {
  .paddings4 {
    padding: 40px 0 0 0;
  }
}
.paddings5 {
  padding: 94px 0 62px 0;
}
@media (max-width: 767px) {
  .paddings5 {
    padding: 40px 0 30px 0;
  }
}
.paddings6 {
  padding: 90px 0 68px 0;
}
@media (max-width: 767px) {
  .paddings6 {
    padding: 40px 0 30px 0;
  }
}
.paddings7 {
  padding: 90px 0 51px 0;
}
@media (max-width: 767px) {
  .paddings7 {
    padding: 40px 0 30px 0;
  }
}
.paddings8 {
  padding: 103px 0 80px 0;
}
@media (max-width: 767px) {
  .paddings8 {
    padding: 40px 0;
  }
}
/* ======= Paddings ======= */
.margin1 {
  margin-bottom: 27px;
}
/*========================================================
                    HEADER styles
=========================================================*/
#header {
  position: relative;
  padding-top: 28px;
  background: #ffffff;
  box-shadow: 1px 1px 1px #cfcfcf;
  border-top: 12px solid #52344d;
}
#header h1 {
  margin-top: 5px;
  float: left;
}
@media (max-width: 1199px) {
  #header .sf-menu > li {
    margin-right: 10px;
  }
}
@media (max-width: 979px) {
  #header {
    text-align: center;
  }
  #header h1 {
    float: none;
  }
  #header nav {
    margin-top: 30px;
    float: none;
    display: inline-block;
    text-align: center;
  }
}
@media (max-width: 767px) {
  #header nav {
    width: 100%;
  }
  #header .select-menu {
    margin-bottom: 30px;
  }
  #header img {
    width: auto;
  }
}
#header .isStuck {
  background: #ffffff;
  z-index: 9999;
  box-shadow: 1px 1px 24px #606364;
}
#header .isStuck h1 {
  margin-top: 5px;
}
#header .isStuck nav {
  padding-top: 0;
}
#header .isStuck nav .sf-menu > li > a {
  padding: 20px 5px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
#header .isStuck nav .sf-menu > li > .sf-with-ul:after {
  bottom: 7px;
}
#header .isStuck nav .sf-menu > li.current {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
@media (max-width: 979px) {
  #header .isStuck {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #header .select-menu {
    margin: 5px 0 15px;
  }
}
.phone-number {
  text-align: right;
  float: right;
}
.phone-number .phone-number_description {
  display: block;
  font-size: 11px;
  line-height: 14px;
  color: #9e9e9e;
  text-transform: uppercase;
}
.phone-number .phone-number_number {
  font-size: 24px;
  line-height: 30px;
  color: #606364;
}


	
@media (max-width: 979px) {
  .phone-number {
    display: none;
  }
}
/*========================================================
                    CONTENT styles
=========================================================*/
#content .blue-background {
  background: url(../images/background1.png) repeat-x #52344d;

}
/* ======= List Type 1 ======= */
.list1 {
  margin-bottom: 27px;
}
.list1 li {
  position: relative;
  padding-left: 23px;
  color: #f9be00;
}
.list1 li a:hover {
  color: #ffffff;
}
.list1 li:before {
  content: '';
  width: 9px;
  height: 9px;
  background: #f9be00;
  display: block;
  position: absolute;
  border-radius: 2000px;
  left: 0;
  top: 7px;
}
.list1 li + li {
  margin-top: 12px;
}


.list1-indent {
  margin-bottom: 27px;
  font-size:16px;
  line-height:18px;
}
.list1-indent li {
  position: relative;
  padding-left: 18px;
  margin-top:10px;
  color: #f9be00;
}
.list1-indent li a:hover {
  color: #ffffff;
}
.list1-indent li:before {
  content: '';
  width: 7px;
  height: 7px;
  background: #f9be00;
  display: block;
  position: absolute;
  border-radius: 0px;
  left: 0;
  top: 5px;
}
.list1-indent li + li {
  margin-top: 12px;
}



/* ======= NEED YOUR HELP TO SURVIVE ======= */
.header_span1 {
  display: block;
  font: 400 18px/24px "Istok Web", sans-serif;
  color: #ceb3c7;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}
.header_p {
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  margin-bottom: 23px;
}
.header_pwt {
  font-size: 18px;
  line-height: 24px;
  color: #000;
  margin-bottom: 5px;
}
.header_p2 {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  margin-bottom: 10px;
}
/* ======= WHAT WE BELIEVE ======= */
.beige-background {
  background: #939598;
}
.beige-background img {
  margin-bottom: 15px;
}
.color__white {
  color: #ffffff;
}
/* ======= Posts with rounded images ======= */
.grey-background {
  background: #f3f3f3;
}
.post1 {
  text-align: center;
  margin: 56px 0;
}
.post1 img {
  border-radius: 2000px;
  margin-bottom: 27px;
}
.post1 h3 {
  margin-bottom: 8px;
}
.post1 p {
  margin-bottom: 13px;
}
/* ======= Post with video ======= */
.vimeo-video1 {
  width: 100%;
  height: 392px;
  margin-top: 9px;
  margin-bottom: 78px;
}
@media (max-width: 1199px) {
  .vimeo-video1 {
    height: 316px;
  }
}
@media (max-width: 979px) {
  .vimeo-video1 {
    height: 250px;
  }
}
@media (max-width: 767px) {
  .vimeo-video1 {
    height: 288px;
  }
}
@media (max-width: 480px) {
  .vimeo-video1 {
    height: 185px;
  }
}
.post h3 {
  margin-bottom: 24px;
  margin-top: 6px;
}
.post p {
  margin-bottom: 24px;
}
/* ======= Image markers before posts ======= */
.marker {
  padding-left: 71px;
  position: relative;
}
.marker:before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
}
.marker1 {
  background: url(../images/page2_img1.png) no-repeat left;
}
.marker2 {
  background: url(../images/page2_img2.png) no-repeat left;
}
.marker3 {
  background: url(../images/page2_img3.png) no-repeat left;
}
/* ======= People and their profession  ======= */
.name,
.profession {
  display: block;
  color: #ffffff;
}
.name {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 7px;
}
.post2 img {
  margin: 13px 0 32px 0;
}
.post2 .profession {
  margin-bottom: 15px;
}
.post2 a:hover {
  color: #52344d;
}
/* ======= Blockquote  ======= */
.post blockquote h3 {
  margin-bottom: 3px;
  margin-top: 3px;
}
blockquote h3 {
  font-size: 18px;
  line-height: 24px;
}
blockquote .blockquote_author {
  margin-top: -2px;
  margin-bottom: 21px;
  display: block;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 24px;
  color: #606364;
  font-weight: 700;
  text-align: right;
}
/* ======= Post with image (var 2)  ======= */
.post__inset1 img {
  margin-top: 9px;
  margin-bottom: 77px;
}
@media (max-width: 767px) {
  .post__inset1 img {
    margin-bottom: 10px;
  }
}
/* ======= List Type 2  ======= */
.list2 {
  margin-bottom: 27px;
  margin-top: 5px;
}
.list2 li {
  position: relative;
  padding-left: 23px;
  color: #939598;
}
.list2 li a:hover {
  color: #52344d;
}
.list2 li:before {
  content: '';
  width: 9px;
  height: 9px;
  background: #52344d;
  display: block;
  position: absolute;
  border-radius: 2000px;
  left: 0;
  top: 7px;
}
.list2 li + li {
  margin-top: 12px;
}


.list2-indent {
  margin-bottom: 27px;
  font-size:16px;
  line-height:18px;
}
.list2-indent li {
  position: relative;
  padding-left: 18px;
  margin-top:10px;
  color: #52344d;
}
.list2-indent li a:hover {
  color: #f7be16;
}
.list2-indent li:before {
  content: '';
  width: 7px;
  height: 7px;
  background: #52344d;
  display: block;
  position: absolute;
  border-radius: 0px;
  left: 0;
  top: 5px;
}
.list2-indent li + li {
  margin-top: 12px;
}


/* ======= Post With Image, Header and Paragraph  ======= */
.post3 img {
  margin-top: 9px;
  margin-bottom: 28px;
}
.post3 h3 {
  margin-bottom: 7px;
}
.post3 h3 a:hover {
  color: #52344d;
}
.post3 p {
  color: #868a8c;
  margin-bottom: 18px;
  font-size: 13px;
}
@media (max-width: 767px) {
  .post3 img {
    margin-top: 30px;
  }
}
/* ======= Little Images In Blue Post ======= */
.little-images img {
  margin-bottom: 25px;
  margin-top: 5px;
}
/* ======= Big posts on grey background ======= */
.margin2 {
  margin-bottom: 84px;
}
.post.margin2:last-child {
  margin-bottom: 68px;
}
.post.margin2 h2 {
  margin-bottom: 24px;
}
.post.margin2 h3 {
  margin-bottom: 22px;
}
.post.margin2 h3 a:hover {
  color: #52344d;
}
.post.margin2 p {
  margin-bottom: 23px;
}
/* ======= Little contact information ======= */
.post .contact .contact_info {
  display: block;
}
.post .contact .number {
  color: #000000;
}
.post h3 a:hover {
  color: #52344d;
}
/* ======= Banners with text and button ======= */
.banners .banner {
  margin-top: 7px;
  padding: 34px 31px 5px 31px;
  text-align: center;
  margin-bottom: 29px;
}
.banners .banner h2 {
  color: #ffffff;
  margin-bottom: 26px;
}
.banners .banner p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 13px;
}
.banners .banner1 {
  background: url(../images/page4_img1.png) no-repeat center center;
  background-size: cover;
}
.banners .banner2 {
  background: url(../images/page4_img2.png) no-repeat center center;
  background-size: cover;
  padding-bottom: 28px;
}
.banners .banner2 .btn-default {
  margin-top: 17px;
}
.banners .banner3 {
  background: url(../images/page4_img3.png) no-repeat center center;
  background-size: cover;
}
.banners .banner3 h2 {
  color: #606364;
}
.banners .banner3 p {
  color: #4a8aab;
}
.banners .banner4 {
  background: url(../images/page4_img4.png) no-repeat center center;
  background-size: cover;
}
@media (min-width: 768px) and (max-width: 979px) {
  .banners .banner h2 {
    font-size: 25px;
    line-height: 27px;
    margin-bottom: 15px;
  }
  .banners .banner p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 0;
  }
  .banners .banner .btn-default,
  .banners .banner .btn__inset3 {
    padding: 5px 15px;
  }
}
/* ======= Post with image, p and button ======= */
.post4 {
  margin-top: 9px;
}
.post4 img {
  margin-bottom: 24px;
}
.post4 p {
  margin-bottom: 12px;
}
@media (min-width: 768px) and (max-width: 979px) {
  .post4 .btn-default {
    padding: 5px 15px;
  }
}
@media (max-width: 767px) {
  .post4 {
    margin-top: 40px;
  }
}
/* ======= List Type 3 ======= */
.list3 {
  margin-top: 34px;
  color: #606364;
  font-size: 13px;
  line-height: 22px;
}
.list3 li + li {
  margin-top: 22px;
}
.list3 .blue-link {
  display: inline-block;
  padding-left: 0;
}
/* ======= Banner After List ======= */
.banners .banner5 {
  background: url(../images/page5_img17.png) no-repeat center center;
  background-size: cover;
  margin-top: 89px;
  padding-bottom: 33px;
}
.banners .banner5 a {
  color: #ffffff;
  display: block;
  font-size: 18px;
  line-height: 24px;
}
.banners .banner5 a:hover {
  color: #52344d;
}
/* ======= Google Map ======= */
.google-map__contact {
  width: 100%;
  height: 500px;
  margin-top: 9px;
  margin-bottom: 0px;
}
@media (max-width: 767px) {
  .google-map__contact {
    height: 500px;
  }
}
/* ======= Address ======= */
.contact-page_address .numbers {
  min-width: 79px;
  display: inline-block;
}
.contact-page_address .home-address {
  margin-top: 6px;
  font: 400 24px/24px "Trebuchet MS", sans-serif;
  color: #ceb3c7;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-page_address .privacy-demolink {
  margin-bottom: 0;
}
@media (min-width: 767px) and (max-width: 979px) {
  .contact-page_address .numbers {
    min-width: 70px;
  }
}
/* ======= Contact Form ======= */
#contact-form {
  margin-top: 8px;
}
#contact-form label {
  margin-bottom: 30px;
}
/* ======= Privacy Demolink ======= */
.privacy-demolink {
  color: #52344d;
  display: inline-block;
  margin-bottom: 18px;
}
.privacy-demolink:hover {
  color: #4a8aab;
}


/* ======= About Custom ======= */
.LeftBar {
	margin-top:12px;
	padding-left:16px;
	border-left:8px solid #ceb3c7;
	
}

.divider {
	border-top:4px solid #ceb3c7;
	padding-top:28px;
}

/* ======= modal Custom ======= */
#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}

#test {
     width: 1024px;
	padding: 30px; 
    display:none;


    background: #FFF;
    border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.7); -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7); -moz-box-shadow: 0 0px 4px rgba(0,0,0,0.7);
       
}

#test p { color: #666; text-shadow: none; }

#modal2 {
     width: 1024px;
	padding: 30px; 
    display:none;


    background: #FFF;
    border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.7); -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7); -moz-box-shadow: 0 0px 4px rgba(0,0,0,0.7);
       
}


.modal_close { position: absolute; top: 12px; right: 12px; display: block; width: 18px; height: 18px; background: url(../images/modal_close.png); z-index: 2; }


@media (max-width: 1199px) {
	#test {
     width: 728px;
	}
	#modal2 {
     width: 728px;
	}
}

@media (max-width: 979px) {
	#test {
     width: 728px;
	}
	#modal2 {
     width: 728px;
	}
}

@media (max-width: 767px) {
	#test {
     width: 580px;
	 padding:20px;
	 font-size:16px;
	 line-height:16px;
	}
	#modal2 {
     width: 580px;
	 padding:20px;
	 font-size:16px;
	 line-height:16px;
	}
}

@media (max-width: 673px) {
	#test {
     width: 425px;
	 padding:10px;
	 font-size:14px;
	 line-height:14px;
	}
	#modal2 {
     width: 425px;
	 padding:10px;
	 font-size:14px;
	 line-height:14px;
	}
}

@media (max-width: 479px) {
	#test {
     width: 375px;
	 padding:10px;
	 font-size:14px;
	 line-height:14px;
	}
	#modal2 {
     width: 375px;
	 padding:10px;
	 font-size:14px;
	 line-height:14px;
	}
}
/*========================================================
                    FOOTER styles
=========================================================*/
#footer {
  padding: 83px 0;
  border-bottom: 13px solid #52344d;
}
#footer address {
  font-size: 14px;
  line-height: 18px;
}
#footer #footer_logo {
  margin-bottom: 13px;
}
#footer .privacy {
	font-size:14px;
	line-height:20px;
  color: #474646;
  margin-bottom: 19px;
}
#footer .privacy a:hover {
  color: #52344d;
}
@media (max-width: 767px) {
  #footer {
    padding: 40px 0;
  }
  #footer * {
    text-align: center;
  }
  #footer img {
    width: auto;
  }
}
/* ======= Social Buttons ======= */
.socials li {
  display: inline-block;
  margin-right: 17px;
}
.socials li a {
  color: #393939;
  font-size: 23px;
}
.socials li a:hover {
  color: #52344d;
}
/* ======= Address ======= */
.mb0 dt {
  position: relative;
  padding-left: 24px;
  color: #6d6d6d;
  margin-bottom: 23px;
  font-size: 16px;
  line-height:22px;
}
.mb0 dt:before {
  content: '';
  background: url(../images/p1_location.png) no-repeat left 0;
  display: block;
  position: absolute;
  width: 16px;
  height: 15px;
  margin-top:5px;
  left: 0;
}
.mb0 dt span {
  display: inline-block;
  margin-top: 4px;
  font-weight:bold;
}
@media (max-width: 767px) {
  .mb0 dt {
    display: inline-block;
  }
}
/* ======= Link Get Directions ======= */
.blue-link {
  padding-left: 24px;
  color: #606364;
  font-size: 16px;
  font-weight:bold;
}
.blue-link:hover {
  color: #52344d;
}
@media (max-width: 767px) {
  .blue-link {
    padding-left: 0;
  }
}
/* ======= Phone and Email ======= */
.mb1 {
  color: #6d6d6d;
}
.mb1 dd {
  margin-bottom: 22px;
}
@media (min-width: 480px) and (max-width: 767px) {
  .mb1 dd {
    margin-bottom: 0;
  }
}
.mb1 .phone {
  position: relative;
  padding-left: 24px;
}
@media (max-width: 767px) {
  .mb1 .phone {
    display: inline-block;
    margin-right: 20px;
    padding-left: 16px;
  }
}
.mb1 .phone span {
  display: inline-block;
  min-width: 75px;
  font-size:16px;
}
.mb1 .phone:before {
  content: '';
  background: url(../images/fa_phone.png) no-repeat left 0;
  display: block;
  position: absolute;
  width: 16px;
  height: 15px;
  left: 0;
}
.mb1 .mail {
  position: relative;
  padding-left: 24px;
}
@media (max-width: 767px) {
  .mb1 .mail {
    display: inline-block;
  }
}
.mb1 .mail:before {
  content: '';
  background: url(../images/fa_web.png) no-repeat left 0;
  display: block;
  position: absolute;
  width: 16px;
  height: 15px;
  left: 0;
  top: 2px;
}

.mb1 .mail span {
  display: inline-block;
  min-width: 75px;
  font-size:16px;
}

.mb1 .fax {
  position: relative;
  padding-left: 24px;
}
@media (max-width: 767px) {
  .mb1 .fax {
    display: inline-block;
  }
}
.mb1 .fax span {
  display: inline-block;
  min-width: 75px;
  font-size:16px;
}
.mb1 .fax:before {
  content: '';
  background: url(../images/fa-fax.png) no-repeat left 0;
  display: block;
  position: absolute;
  width: 16px;
  height: 15px;
  left: 0;
  top: 2px;
}

.simple-link {
  color: #6d6d6d;
  font-size: 13px;
}
.simple-link:hover {
  color: #52344d;
}
/*Core variables and mixins*/



/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 36px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 25px 50px;
  background-color: #00539b;
  color: white;
  margin-bottom: -20px;
}

.modal-body {
	padding: 25px 50px;
	color: #000;
}

.modal-body h3 {
	font-size: 2em;
	font-weight: 700;
	text-transform:capitalize;
	color: #00539b;
	padding-bottom: 0px;
	margin-bottom: -20px;
}

.modal-body p {
	font-size: 20px;
	font-weight: 100;
	line-height: 1.5em;
	color: #58595b;
}

.modal-footer {
  padding: 10px 10px;
  background-color: #54b948;
  color: #00539b;
}

.move-l{
	text-align: left;
}

@media only screen and (max-width: 768px) {	
	.modal-content{
		width: 98%;
	}
	.modal-header{
		padding: 5% 5%;
	}
	.logo{
		width: 75%;
	}
	.modal-body{
		padding: 5% 5%;
	}
	
	.modal-body h3{
		font-size: 2em;
	}
	.modal-body h4{
		font-size: 2em;
	}
	.modal-body p{
		font-size: 1em;
	}
}

.resizer { display:flex; margin:0; padding:0; resize:both; overflow:hidden }
.resizer > .resized { flex-grow:1; margin:0; padding:0; border:0 }



@media screen and (min-width: 0px) and (max-width: 991px) {
  .smart-hide { display: block !important; }  /* show it on small screens */
}

@media screen and (min-width: 992px) {
  .smart-hide { display: none !important; }   /* hide it elsewhere */
}



.modal.fade.in .lab-modal-body {
  bottom: 0;
  opacity: 1;
}

.lab-modal-body h2 {
  font-size: 4rem;
}

.lab-modal-body p {
  margin: 0 0 1.62rem 0;
  line-height: 1.62;
  font-weight: 300;
  font-size: 2.25em;
  color: #666;
}

.lab-modal-body {
  position: relative;
  bottom: -250px;
  margin: 150px auto 0;
  padding: 40px;
  max-width: 60%;
  height: auto;
  background-color: rgb(248, 250, 247);
  border: 1px solid #BEBEBE;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out, bottom 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out, bottom 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out, bottom 0.3s ease-out;
  transition: opacity 0.3s ease-out, bottom 0.3s ease-out;
}

.close {
  margin-top: -20px;
  margin-right: -20px;
  text-shadow: 0 1px 0 #000;
}

.popup-button {
  margin-top: 100px;
}

@media only screen and (max-width: 768px) {	
	.lab-modal-body h2 {
	  font-size: 2em;
		padding-top: 20px;
	}

	.lab-modal-body p {
	  margin: 0 0 1.62rem 0;
	  line-height: 1.25;
	  font-weight: 300;
	  font-size: 1.5em;
	  color: #666;
	}
	.popup-button {
	  max-width: 150px;
		font-size: .75em
	}
	
}
