/*= GENERAL STYLING
--------------------------------------------------------*/

body{margin: 0;padding: 0;width: 100%;font-family:'Raleway'; font-weight: 400; color: #444; background: url("../img/background.jpg") no-repeat fixed 50% 0 #222; background-size: cover;}
h1, h2, h3, h4, h5 { font-family:'Ubuntu';font-weight: 700; letter-spacing: -1px; }
h3 {text-align:center;}
h4, h5, h6 {text-decoration:underline; color:#fff;}
dl dd { margin-bottom: 0.25rem; }
dl { padding-bottom: 0px; margin-bottom: 0px; }
figcaption h2 {text-align:left;color:#fff;}
.panel { padding-bottom: 0px; }
.panel a { font-size: 0.9rem; }
.row { max-width: 90rem; }

.scrollToTop li {padding-bottom:0;}

/*= HEADER & NAVIGATION--------------------------------------------------------*/

.top-bar { background: #fff; text-align: left; min-height: 80px; }
.top-bar.expanded .title-area { background: #fff; }
.top-bar .name h1 { font-size: 1.0625rem; }
.top-bar .name { margin: 5px; font-size: 16px; min-height: 80px !Important; }
.top-bar { overflow: hidden; line-height: 80px; position: relative; bmargin-bottom: 0;}
.top-bar-section ul li > a { font-family: Raleway, sans-serif; }
.top-bar-section li:not(.has-form) a:not(.button) { background:#fff; padding: 0 10px; }
.top-bar-section li:not(.has-form) a:not(.button):hover { background:#fff;color:#333;text-decoration:underline;}
.top-bar-section ul li > a {color:#333;}
.contain-to-grid .top-bar {max-width:87.5rem;}
.contain-to-grid {background:#fff;border-bottom:1px solid #D8D8D8;}

/*= QUOTES AND SOME ELEMENTS
--------------------------------------------------------*/
.quotes {font-family:'Ubuntu', serif;font-weight: normal;font-size: 30px;text-align: left;margin: 50px auto 30px auto;}
.author_name_white { font-family:'Ubuntu';  margin: 70px 0 0 75px; color: #fff; font-size: 20px; }  
.author_name_gray { font-family:'Ubuntu'; margin: 70px 0 0 75px; color: #94a4a4; font-size: 20px; }  
#christmas_tree { background: url('../img/christmas-tree.png')no-repeat; max-width: 48px; height: 77px; margin: 0 auto; position: relative; bottom: -35px;}
#divider { background: url('../img/divider.png')no-repeat; max-width: 300px; height: 35px; margin: 0px auto 27px auto; }
#ribbon { background: url('../img/ribbon.png')no-repeat; max-width: 251px; height: 48px; margin: 0 auto;  display: block; position: relative; top: -48px; }
#snowflakes1 { background: url('../img/snowflakes.png')no-repeat; width: 24px; height: 21px; margin: 0 auto;  display: block; position: relative; bottom: -54px; left: -102px; }
#snowflakes2 { background: url('../img/snowflakes.png')no-repeat; width: 24px; height: 21px; margin: 0 auto;  display: block; position: relative; bottom: -33px;  right: -100px; }

/*= BUTTONS
--------------------------------------------------------*/
.next {position: relative;top: 5vh;margin: 0 auto; text-align:center;}

/*= SLIDES STYLING
--------------------------------------------------------*/
.titleSlide{color: #fff;height:60vh;margin: 0;background-size: cover;position:relative;}
.titleSlide h1, .titleSlide p {color:#fff;}
.contentSlide{background: #fff; color:#272727;margin:0 auto;padding:50px 0;min-height:75vh;}
.contentSlide h1, .contentSlide h2, .contentSlide h3, .contentSlide h4, .contentSlide h5, .contentSlide h6, .contentSlide p, .contentSlide a, .contentSlide span {text-align:left;}
.content {top:30%;position:relative;color:#fff;text-align:center;}

.main-area img { float: right; margin: 5px 0px 10px 10px; }
.main-area h1, .main-area h2 { letter-spacing: -2px; }

#slide1{ color: #444; height:100vh; margin: 0;background-size: cover; position:relative; width:100%; }
#slide1 h1, #slide1 h2, #slide1 h3, #slide1 h4, #slide1 h5, #slide1 p { color:#fff; margin:0.5rem; }

#slide2{background: #fff ;color:#272727;margin:0 auto;overflow:hidden;padding:50px 0;mins-height:75vh;width:100%;}

#slide3{background: url(../img/aboutus-bg.jpg) 50% 0 no-repeat fixed #222;color: #fff;padding: 150px 0 ;background-size: cover;}
#slide3 h3 {text-align:left;color:#fff;}

#slide4{background-color: #fff;color: #333333;padding: 50px 0;}

#slide5{background:#222 50% 0 no-repeat fixed;margin: 0 auto;padding:150px 0;color: #fff;background-size: cover;}
#slide5 h1, #slide6 h2, #slide6 h3,#slide6 p, #slide6 a {color:#fff;}

/* Footer */
.footer {padding:30px 0 0 0;color:#fff;}
footer h1,footer h2,footer h3,footer h4,footer h5,footer h6,footer p,footer a {color:#fff}
footer ul li {list-style-type:none;}
footer ul {margin-left:0;}

/* Image Hover Transition Effects */
#mainwrapper .box {  
    border: 5px solid #fff;  
    cursor: pointer;  
    height:300px; 
    margin: 5px;  
    position: relative;  
    overflow: hidden;  
    width:100%;
    max-width:240px;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;  
    -moz-box-shadow: 1px 1px 1px 1px #ccc;  
    box-shadow: 1px 1px 1px 1px #ccc;  
}  

#mainwrapper .box img {  
    position: absolute;  
    left: 0;  
    height:100%;
    -webkit-transition: all 300ms ease-out;  
    -moz-transition: all 300ms ease-out;  
    -o-transition: all 300ms ease-out;  
    -ms-transition: all 300ms ease-out;  
    transition: all 300ms ease-out;  
}  

#mainwrapper .box .caption {  
    background-color: #fff;  
    position: absolute;  
    color:black;  
    z-index: 100;  
    -webkit-transition: all 300ms ease-out;  
    -moz-transition: all 300ms ease-out;  
    -o-transition: all 300ms ease-out;  
    -ms-transition: all 300ms ease-out;  
    transition: all 300ms ease-out;  
    left: 0;  
}  

#mainwrapper .box .fade-caption, #mainwrapper .box .scale-caption {  
    opacity: 0;
    height:300px;  
    text-align: center;  
    width:100%;
    max-width:240px;
}  

#mainwrapper .box:hover .fade-caption {  
    opacity: 1;  
}  

/* End Of Image Hover Transition Effects */

/* Thumbnail Grid Preview Styles */

.og-grid {
    list-style: none;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.og-grid li {
    display: inline-block;
    vertical-align: top;
}

.og-grid li > a,
.og-grid li > a img {
    border: none;
    outline: none;
    display: block;
    position: relative;
}

.og-grid li.og-expanded > a::after {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #ddd;
    border-width: 15px;
    left: 50%;
    margin: -20px 0 0 -15px;
}

.og-expander {
    position: absolute;
    background: #ddd;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 10px;
    text-align: left;
    max-height: 600px;
    height: 0;
    overflow: hidden;
}

.og-expander-inner {
    padding: 50px 30px;
    height: 100%;
}

.og-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.og-close::before,
.og-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.og-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
    background: #333;
}

.og-fullimg,
.og-details {
    width: 50%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.og-details {
    padding: 0 40px 0 20px;
}

.og-fullimg {
    text-align: center;
}

.og-fullimg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}

.og-details h3 {
    font-weight: 300;
    font-size: 52px;
    padding: 40px 0 10px;
    margin-bottom: 10px;
}

.og-details p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #999;
}

.og-details a {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: 3px solid #333;
    display: inline-block;
    margin: 30px 0 0;
    outline: none;
}

.og-details a::before {
    content: '\2192';
    display: inline-block;
    margin-right: 10px;
}

.og-details a:hover {
    border-color: #999;
    color: #999;
}

.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader 0.5s infinite ease-in-out both;
    -moz-animation: loader 0.5s infinite ease-in-out both;
    animation: loader 0.5s infinite ease-in-out both;
}

@-webkit-keyframes loader {
    0% { background: #ddd; }
33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@-moz-keyframes loader {
    0% { background: #ddd; }
33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@keyframes loader {
    0% { background: #ddd; }
33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@media screen and (max-width: 830px) {
    .og-expander h3 { font-size: 32px; }
    .og-expander p { font-size: 13px; }
    .og-expander a { font-size: 12px; }
}

@media screen and (max-width: 650px) {
    .og-fullimg { display: none; }
    .og-details { float: none; width: 100%; }
}

/* End of Thumbnail Grid Styles */ 

@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'feathericons';
    src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
    src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
        url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
        url('../fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'),
        url('../fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}

.grid {
    position: relative;
    margin: 0 auto;
    list-style: none;
    text-align: center;
    padding-bottom:50px;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 0px;
    min-width: 100%;
    max-width: 480px;
    max-height: 360px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figcaption h2 {
    font-size: 1.6rem;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */

/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    /*word-spacing: -0.15em;*/
    word-spacing: 0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 80%;
    font-weight: 600;
}

/*---------------*/
/***** Lily *****/
/*---------------*/

figure.effect-lily img {
    max-width: none;
    width: -webkit-calc(100% + 50px);
    width: calc(100% + 50px);
    opacity: 0.7;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0, 0);
    transform: translate3d(-40px,0,0);
}

figure.effect-lily figcaption {
    text-align: left;
}

figure.effect-lily figcaption > div {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2em;
    width: 100%;
    height: 50%;
}

figure.effect-lily h2,
figure.effect-lily p {
    -webkit-transform: translate3d(0,40px,0);
    transform: translate3d(0,40px,0);
}

figure.effect-lily h2 {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

figure.effect-lily p {
    color: rgba(255,255,255,0.8);
    opacity: 0;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
    transition: opacity 0.2s, transform 0.35s;
}

figure.effect-lily:hover img,
figure.effect-lily:hover p {
    opacity: 1;
}

figure.effect-lily:hover img,
figure.effect-lily:hover h2,
figure.effect-lily:hover p {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-lily:hover p {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
    -webkit-transition-duration: 0.35s;
    transition-duration: 0.35s;
}

