/*------------------------------------------------------------------
[Master Stylesheet]

Project:	Lattes - One page multi purpose page
Version:	1.0
Last change:	17/08/2015 [...]
Designed by:	MOOZ Themes / www.MOOZthemes.com
Primary use:	One page

[Table of contents]

1. General
2. Header
3. Navigation
4. Sections
5. Footer
6. Modal
7. Components
8. FCC Custom

[Color codes]

Buttons, etc:	#726FB9 (blue)
hover color:	#fed136 (yellow)
-------------------------------------------------------------------*/

/*--------------------
Import Google Fonts
--------------------*/

/* main font for menu. */
@import url(http://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900);
/* font for headings, text, tags */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700,800);
@import url(http://fonts.googleapis.com/css?family=Playfair+Display:400italic&subset=latin,latin-ext);

/*--------------------
1. General
--------------------*/

body {
  margin: 0px;
    font-family: "Open Sans", Sans-serif;
    color: #797979;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
    letter-spacing: 0.4px;
    font-family: "Open Sans", Sans-serif;
    color: #232323;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
	line-height: 23px;
    letter-spacing: 0.2px;
    color: #797979;
}

a:hover, a:focus, a:active, a.active {
    color: #fec503;
}
a, a:hover, a:focus, a:active, a.active {
    outline: 0;
}

::selection {
    text-shadow: none;
    background: #f1b663;
}

@media (min-width: 768px) {
	section {
	    padding: 150px 0;
	}
}

section {
    padding: 70px 0;
}
/* Space above row */
 .top-buffer { 
    margin-top: 30px; 
}
/*--------------------
2. Navigation
--------------------*/
.navbar-header {
    height:80px;
    background-color: #fff;
}
.navbar-default {
	background-color: #222;
	border-color: transparent
}
.navbar-default .navbar-brand {
	color: #fff;
	font-family: "Montserrat",sans-serif;
    padding: 0px;
}
.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:active,.navbar-default .navbar-brand.active {
	color: #fec503
}
.navbar-default .navbar-collapse {
	border-color: rgba(255,255,255,.02)
}
.navbar-default .navbar-toggle {
	background-color: rgba(255,127,0,0.8);
    border-color: rgba(255,127,0,0.8);
    border-radius: 0px;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff
}
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus {
	background-color: rgba(255,127,0,0.8);
}
.navbar-default .nav li a {
	font-family: "Roboto",sans-serif;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 1px;
	color:#666
}
.navbar-default .nav li a:hover,.navbar-default .nav li a:focus {
	color: rgba(255,127,0,0.8);
	outline: 0
}

.navbar-default .navbar-nav>.active>a {
	border-radius: 0;
	color: #fff;
	background-color: rgba(255,127,0,0.8);
}
.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus {
	color: #fff;
	background-color: rgba(255,127,0,0.8);
}

@media (min-width:768px) {
	.navbar-default
	{
		background-color: #FFFFFF;
		padding: 10px 0 34px 0;
		-webkit-transition:padding .3s;
		-moz-transition:padding .3s;
		transition:padding .3s;
		border:0
	}
	.navbar-default .navbar-brand {
		font-size: 2em;
		-webkit-transition:all .3s;
		-moz-transition:all .3s;
		transition:all .3s
	}
	.navbar-default .navbar-nav>.active>a {
		border-radius: 0px;
	}
	.navbar-default.navbar-shrink {
		background-color: #fff;
		padding: 10px 0 34px 0;
        -webkit-box-shadow: 0px 3px 6px -2px rgba(72,72,72,1);
        -moz-box-shadow: 0px 3px 6px -2px rgba(72,72,72,1);
        box-shadow: 0px 3px 6px -2px rgba(72,72,72,1);
	}
	.navbar-default.navbar-shrink .navbar-brand {
		font-size: 1.5em
	}
  .navbar-right {
    float: right!important;
    margin-right: -15px;
    padding-top: 30px;
  }
}

/*--------------------
3. Header
--------------------*/

header {
    background-image: url(../images/demo/hero_1.jpg);
    background-repeat: none;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: #fff;
}

header .intro-text {
    padding-top: 100px;
    padding-bottom: 50px;
}

@media (min-width: 768px) {
	header .intro-text {
	    padding-top: 300px;
	    padding-bottom: 200px;
	}
}

header .intro-text .intro-lead-in {
    font-family: "Playfair Display",sans-serif;
    font-style: italic;
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
	header .intro-text .intro-lead-in {
	    font-family: "Open Sans",sans-serif;
	    font-size: 32px;
	    line-height: 40px;
        margin-bottom: 18px;
        font-style: normal;
	}
}

header .intro-text .intro-heading {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
	header .intro-text .intro-heading {
	    text-transform: uppercase;
	    font-weight: 600;
	    font-size: 65px;
	    line-height: 70px;
	    margin-bottom: 50px;
        text-shadow: 1px 2px 6px #6b6b6b;
	}
}

/*--------------------
4. Sections
--------------------*/

.section-title h2 {
    font-size: 34px;
    text-transform: uppercase;
}

.section-title p {
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    margin: 20px;
}

/*--------------------
4.1. About
--------------------*/

.mz-module-about h3 {
    font-weight: 500;
    font-size: 17px;
    text-transform: uppercase;
    color: #3A3A3A;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.mz-module-about p {
font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    color: #969696;
}

.ot-circle {
height: 95px;
    width: 95px;
    text-align: center;
    line-height: 98px;
    color: #3E3E3E;
    /* border: 3px solid #000; */
    border-radius: 100px;
    /* background-color: #E8E8E8; */
    margin: 0 2px 4px;
    font-size: 31px;
}
/*--------------------
4.1a. About
--------------------*/
.main-timeline {
    margin-top: 20px;
}
.main-timeline .timeline{
    padding: 30px 60px;
    position: relative;
}
.main-timeline .timeline:first-child{
    padding-top: 26px;
}
.main-timeline .timeline:last-child{
    padding-bottom: 0;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.main-timeline .timeline-icon{
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #ff7f00;
    box-sizing: border-box;
    border: 2px solid transparent;
    box-shadow: 0 0 0 2px transparent;
    text-align: center;
    margin: auto 0;
    font-size: 25px;
    color: #fff;
    position: absolute;
    top: 0;
    left: -34px;
    bottom: 0;
    z-index: 2;
}
.main-timeline .timeline:first-child .timeline-icon,
.main-timeline .timeline:last-child .timeline-icon{
    box-sizing: content-box;
    margin: 0;
    top: 0;
    left: -36px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #ff7f00;
}
.main-timeline .timeline:last-child .timeline-icon{
    top: auto;
    bottom: 0;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon{
    left: auto;
    right: -34px;
}
.main-timeline .timeline:last-child:nth-child(2n) .timeline-icon{
    right: -36px;
}
.main-timeline .timeline-content{
    width: 50%;
}
.main-timeline .timeline:nth-child(2n) .timeline-content{
    float: right;
    text-align: right;
}
.main-timeline .title{
    font-size: 22px;
    font-weight: 600;
    color: #484848;
    margin-top: 0;
    text-transform: uppercase;
}
.main-timeline .description{
    font-size: 15px;
    color: #636363;
    line-height: 25px;
    margin: 0;
}
.main-timeline .border{
    width: 50%;
    border-top: 2px solid #ff7f00;
    border-bottom: 2px solid #ff7f00;
    border-left: 2px solid #ff7f00;
    border-radius: 6px 0 0 6px;
    position: absolute;
    top: 0;
    bottom: -2px;
    left: 0;
    z-index: 1;
}
.main-timeline .timeline:nth-child(2n) .border{
    border-left: none;
    border-right: 2px solid #ff7f00;
    border-radius: 0 6px 6px 0;
    left: 50%;
}
.main-timeline .timeline:first-child .border{
    border-top: none;
}
.main-timeline .timeline:last-child .border{
    border-bottom: none;
}
@media only screen and (max-width: 990px){
    .main-timeline .timeline{
        padding: 40px 60px;
        margin: 0 0 0 35px;
    }
    .main-timeline .timeline:nth-child(2n){
        margin: 0 35px 0 0;
    }
    .main-timeline .timeline-content{
        width: 100%;
    }
}
/*--------------------
4.2. Services
--------------------*/
/*.serviceBox { 
    margin:10px 14px 0 14px;
    }
.serviceBox .title{
    color: #3A3A3A;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px 24px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 26px
}
.serviceBox .service-content{
    padding: 25px 20px 25px 50px;
    border-top: 2px solid #007cc2;
    border-right: 2px solid #007cc2;
    position: relative;
    transition: all 0.3s ease 0s;
    border-radius: 6px;
}
.serviceBox:hover .service-content{
    border-top-color: #ff7f00;
    border-right-color: #ff7f00;
}
.serviceBox .service-content:before{
    content: "";
    width: 0;
    height: 2px;
    background: #eee;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all 0.3s ease 0s;
}
.serviceBox:hover .service-content:before{
    width: 50%;
    background: #ff7f00;
    border-radius: 6px;
}
.serviceBox .description{
    font-size: 14px;
    color: #797979;;
    line-height: 25px;
    margin: 0;
}
.serviceBox .service-icon{
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    font-size: 25px;
    color: #007cc2;
    border: 1px solid #007cc2;
    position: absolute;
    top: -25px;
    left: 0;
    transition: all 0.3s ease 0s;
}
.serviceBox:hover .service-icon{
    border-color: #ff7f00;
    color: #ff7f00;
}
@media only screen and (max-width:990px){
    .serviceBox{ 
        margin: 30px; 
}
}
*/
.serviceBox{
    text-align: center;
    margin-top:30px
}
.serviceBox .service-icon{
    width: 96px;
    height: 96px;
    line-height: 92px;
    font-size: 42px;
    border: 1px solid #007cc2;
    border-radius: 50%;
    margin:0 auto 10px;
    color: #007cc2;
}
.serviceBox .service-icon > i{
    transition: all 0.3s ease 0s;
}
.serviceBox:hover .service-icon > i{
    transform:scale(0.8);
    transition: all 0.3s ease 0s;
}
.serviceBox .service-content h3{
    font-size: 18px;
    font-weight:400;
    margin-bottom: 20px;
    color:#727cb6;
}
.serviceBox.green .service-content h3{
    color: #008b8b;
}
.serviceBox.orange .service-content h3{
    color:#e67e22;
}
.serviceBox.pink .service-content h3{
    color: #ed687c;
}
.serviceBox .service-content p{
    color:inherit;
    font-size: 15px;
    line-height: 24px;
}
@media screen and (max-width: 990px){
    .serviceBox{
        margin: 20px 20px 30px 20px;
    }
}




/*--------------------
4.3. Portfolio
--------------------*/

figure {
	position: relative;
    overflow: hidden;
    margin: 10px 1%;
    background: #726FB9;
    text-align: center;
    cursor: pointer;
}

figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ot-portfolio-item figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}
.ot-portfolio-item figure figcaption, .ot-portfolio-item figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.effect-bubba {
	background: #000;
	margin-bottom: 30px;
}

figure.effect-bubba img {
	opacity: 0.8;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-bubba:hover img {
	opacity: 0.4;
}

figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effect-bubba h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 35%;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,-20px,0);
    transform: translate3d(0,-20px,0);
}
Co

figure.effect-bubba p {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
	padding: 20px 2.5em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-bubba:hover h2,
figure.effect-bubba:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*--------------------
4.4. Dark Short section (counters, quote, etc)
--------------------*/

.dark-bg {
    background: #444444;
    color: #fff;
}

.bg-img1 {
    background-image: url(../images/demo/office-bg.jpg);
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.light-bg {
	background-color: #f5f5f5;
}

.overlay-dark:before, .overlay-light:before {
    background-color: rgba(32,32,32,0.8);
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

.overlay-dark, .overlay-light {
    position: relative;
    z-index: 1;
}

.short-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.counter-item h2 {
    color: #fff;
    font-size: 60px;
    margin: 0;
}

.counter-item h6 {
    color: #fff;
    font-size: 19px;
    margin: 0;
}

/*--------------------
4.5. Partners Slider
--------------------*/

.partner-logo {
    height: 80px;
    text-align: center;
}

.partner-logo img {
    height: 100%;
    width: auto !important;
}

/*--------------------
4.6. Team
--------------------*/
.staff {
    margin: 0 auto;
}
#team {
    padding: 40px 0;
}
.team-item {
    text-align: center;
    background-color: #fff;
}

.team-item h3 {
    font-size: 16px;
    font-weight: 500;
}

.team-item .team-location {
    color: #C5C5C5;
    font-size: 13px;
    margin-bottom: 20px;
}

.team-item .team-location {
    color: #333;
    font-size: 12px;
    margin-bottom: 10px;
}

.team-item .team-position {
    color: #C5C5C5;
    font-size: 12px;
}

.team-item p {
    font-size: 15px;
    font-weight: 300;
    color: #9C9C9C;
    padding: 5px 20px 20px 20px;
}

/*--------------------
4.7. Contacts
--------------------*/
.end {
    margin-bottom:34px;
}
form label {
    font-weight: normal;
    color: #232323;
}
section#contact form {
    margin-top: 15px;
}
section#contact.form-group {
margin-bottom: 25px;
}

section#contact .form-group input, section#contact .form-group textarea {
    padding: 15px;
    border: 1px solid #BBBBBB;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    font-size: 13px;
}

.contact h3 {
    margin-bottom: 30px;
}

.contact p {
    font-size: 13px;
}

.contact .day {
    display: inline-block;
    width: 80px;
}

.contact i {
    margin-right: 5px;
}
.help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
}
/*--------------------
5. Footer
--------------------*/

footer {
    padding: 30px;
    background-color: #000;
}

footer p {
    color: #B7B7B7;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.6px;
}

footer p a {
    color: #fff;
}

footer p a span {
    color: #FF9F46;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

/*--------------------
6. Modal
--------------------*/

.modal-content {
	border-radius: 0;
}
.modal-header .close {
	font-size: 30px;
}
.modal-title {
	text-transform: uppercase;
	font-size: 23px;
}

.modal-body {
	padding: 0;
}

.modal-body p {
	margin: 30px 20px;
	color: #2D2D2D;
}

.modal-works {
font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    margin: 25px 20px;
}

.modal-works span {
	background-color: #FED136;
    margin-right: 15px;
    padding: 5px 10px;
}

/*--------------------
7. Components
--------------------*/

.btn-xl:hover, .btn-xl:focus, .btn-xl:active, .btn-xl.active, .open .dropdown-toggle.btn-xl {
    color: #fff;
    background-color: #fec503;
    border-color: #f6bf01;
}

.btn:hover, .btn:focus, .btn:active, .btn.active, .open .dropdown-toggle.btn {
    color: #fff;
    background-color: #007cc2;
    border-color: #ff7f00;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 2px solid transparent;
    border-radius: 4px;
}

.btn-xl {
    color: #fff;
     background-color: #007cc2;
    border-color: #007cc2;
    font-family: "Open Sans",sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 3px;
    font-size: 18px;
    padding: 12px 32px;
}

/* Back to top button
---------------------------------- */
#back-top {
    position: fixed;
    z-index: 1000;
    bottom: 40px;
    right: 50px;
}
#back-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    color: #FFFFFF;
    background: #007cc2;
    /* background color transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    border: 2px solid #ff7f00;
}
/* arrow icon (span tag) */
#back-top i {
    margin-top: 15px;
    font-size: 28px;
}

@media only screen
and (min-width : 320px)
and (max-width : 480px) {
#back-top {
    position: fixed;
    bottom: 10px;
    right: 30px;
}
#back-top a {
    width: 40px;
    height: 40px;
}
#back-top i {
    margin-top: 7px;
    font-size: 20px;
}
}

/*--------------------
8. FCC Custom
--------------------*/

.lwt {
    padding: 0;
    text-align: center;
    color: #fff;
}
.bg-overlay {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("../images/demo/wos_interior_atomic-lounge.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    color: #fff;
    height: 450px;
    padding-top: 50px;
}

.blue-bg {
    background-color: rgba(0, 124, 194, 0.8);
}

#team h2, #team p.team-sub-head { color: #fff; }

/*.lwt::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, #eaee44, #33d0ff);
    opacity: .7;
    z-index: 1;
}
.lwt > * {
    z-index: 100;
} */
.lwt-text {
    margin: 0 0 50px;
}
.lwt .lwt-heading {
    padding-top: 86px;
    padding-bottom: 50px;
    font-family: "Open Sans",sans-serif;
    font-style: normal;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 0;
}
/* testimonial */
.col-center {
    margin: 0 auto;
    float: none !important;
}

.carousel {
    margin: 50px auto;
    padding: 0 70px;
}
.carousel .item {
    color: #999;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    min-height: 290px;
}
.carousel .item .img-box {
    width: 135px;
    height: 135px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50%;
}
.carousel .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}
.carousel .testimonial {
    padding: 30px 0 10px;
}

.carousel .no-image-testimonial {
    padding: 130px 0 10px;
}
.carousel .overview {   
    font-style: italic;
}
.carousel .overview b {
    text-transform: uppercase;
    color: #007cc2;
}
.carousel .carousel-control {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    top: 50%;
    background: none;
}
.carousel-control i {
    font-size: 46px;
    line-height: 42px;
    position: absolute;
    display: inline-block;
    color: rgba(0, 124, 194, 0.8);
    text-shadow: 0 3px 3px #e6e6e6, 0 0 0 #000;
}
.carousel .carousel-indicators {
    bottom: -40px;
}
.carousel-indicators li, .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 1px 3px;
    border-radius: 50%;
}
.carousel-indicators li {   
    background: #999;
    border-color: transparent;
    box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}
.carousel-indicators li.active {    
    background: #555;       
    box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}

/* Individual Venue Pages */

section#venue-info {
    margin-top: 100px;
}

.gal-container{
	padding: 12px;
}
.gal-item{
	overflow: hidden;
	padding: 3px;
}
.gal-item .box{
	height: 350px;
	overflow: hidden;
}
.box img{
	height: 100%;
	width: 100%;
	object-fit:cover;
	-o-object-fit:cover;
}
.gal-item a:focus{
	outline: none;
}
.gal-item a:after{
	content:"\e003";
	font-family: 'Glyphicons Halflings';
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.75);
	position: absolute;
	right: 3px;
	left: 3px;
	top: 3px;
	bottom: 3px;
	text-align: center;
    line-height: 350px;
    font-size: 30px;
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}
.gal-item a:hover:after{
	opacity: 1;
}
.modal-open .gal-container .modal{
	background-color: rgba(0,0,0,0.4);
}
.modal-open .gal-item .modal-body{
	padding: 0px;
}
.modal-open .gal-item button.close{
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
	box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}
.modal-open .gal-item button.close:focus{
	outline: none;
}
.modal-open .gal-item button.close span{
	position: relative;
	top: -3px;
	font-weight: lighter;
	text-shadow:none;
}
.gal-container .modal-dialogue{
	width: 80%;
}
.gal-container .description{
	position: relative;
	height: 40px;
	top: -40px;
	padding: 10px 25px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	text-align: left;
}
.gal-container .description h4{
	margin:0px;
	font-size: 15px;
	font-weight: 300;
	line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 100px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}
@media (min-width: 768px) {
.gal-container .modal-dialog {
    width: 55%;
    margin: 50 auto;
}
}
@media (max-width: 768px) {
    .gal-container .modal-content{
        height:250px;
    }
}


/* ================
Birthday Party
=================== */

.bday-includes {
    text-align: left;
    padding-top: 20px;
}
.bday-includes li {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 25px;
}
.bday-includes p {
    margin: 20px 0;
}
.bday-includes p.bday-title {
    font-weight: bold;
}

/* flyer button */
.bday a.btn.btn-xl {
    margin-top: 50px;
}



/* ================
Events
=================== */
section#events {
    padding-bottom: 0;
}
#events .section-title h2,
#events .section-title p {
    color: #fff;
}
.events ul {
    margin: 0;
    padding: 0;
    width: 100%;
}
.events ul li {
    float: left;
    min-height: 100%;
    width: 25%;
    background-color: #000;
    list-style: none;
}
.events figure {
    position: relative;
    overflow: hidden;
    margin: 0!important;
}
.events figure img {
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.events figure:hover img, .events figure:focus img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.events figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 25% 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 124, 194, 0.85);
    text-align: center;
    font-size: 15px;
    opacity: 0;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.events figcaption a {
    color: #fff;
    text-decoration: none;
}
.events figcaption a:hover, .events figcaption a:focus {
    color: #ff7f00
}
.events figure:hover figcaption, .events figure:focus figcaption {
    opacity: 1
}
.visible {
    opacity: 1
}
.events figure.cs-hover figcaption {
    opacity: 1
}
.events figcaption i {
    font-size: 35px
}
.events figcaption p {
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
}
.events figcaption .caption-content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -100px;
    width: 200px;
    -webkit-transform: translate(0px, 15px);
    -ms-transform: translate(0px, 15px);
    transform: translate(0px, 15px);
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.events figure:hover figcaption .caption-content, .events figure:focus figcaption .caption-content {
    -webkit-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}