/*
Theme Name: Alireza Movassaghi
Version: 1.0.0
Theme URI: http://optimized360.com
Template: rogue
Author: Optimized360
Author URI: http://optimized360.com/about-us
License: Copyright Optimized360 LLC - All Rights Reserved © 2013-2016
*/

/*------ FONTS USED ----------------
font-family: 'Petit Formal Script', cursive;
font-family: 'Montserrat', sans-serif;
------------------------------------*/

/*========================================================================
			Base
========================================================================*/

html, body {
    padding-right: 0px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #464544;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Petit Formal Script', cursive;
    color: #242140;
}

a {
    color: #242140;
    transition: all .3s ease-out;
}

a:hover,
a:active,
a:focus {
    color: #efdc88;
    text-decoration: none;
}

/* specials */
.page-id-405 .et_pb_slider .et_pb_slide{
    background-color: transparent !important;
    box-shadow: none !important;
}
.page-id-405 .et_pb_slider .et_pb_slide_content{
    color: #464544 !important;
    font-size: 18px !important;
}

/* faq */
.page-id-421 .et_pb_toggle_title{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
}
.page-id-421 .et_pb_toggle_content {
    font-size: 16px;
}

/* blog */
.page-id-492 .entry-title{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}
.page-id-492 .post-content{
    font-size: 16px; 
}

/*
|------------------------------------------------------------------|
|                        UX/UI ELEMENTS                            |
|------------------------------------------------------------------|
*/

/* custom button */
.home #main-content .btn.btn-custom,
#promotions .promotion .btn.btn-custom,
.btn.btn-custom {
    font-family: 'Montserrat', sans-serif;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    padding: .8em 2em;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    color: #434343;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    background-color: #efdc88;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
}

.btn.btn-custom:before,
.btn.btn-custom:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 100%;
    left: 0;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.btn.btn-custom:before {
    background: #f2eac6;
}

.btn.btn-custom:after {
    background: #fff;
}

.btn.btn-custom:hover {
    color: #242140;
}

.btn.btn-custom:hover::before,
.btn.btn-custom:hover::after {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.btn.btn-custom:hover::after {
    -webkit-transition-delay: 0.175s;
    transition-delay: 0.175s;
    color: #242140;
}

/* no gutter on bootstrap column */
.no-gutter {
    padding: 0;
    margin: 0;
}

.row {
    transition: all .5s;
}

.row.animated {
    -webkit-transform: translate3d(0, -50px, 0);
    -moz-transform: translate3d(0, -50px, 0);
    -ms-transform: translate3d(0, -50px, 0);
    -o-transform: translate3d(0, -50px, 0);
    transform: translate3d(0, -50px, 0);
}

/*========================================================================
			Modules
========================================================================*/
/*
|------------------------------------------------------------------|
|                            HEADER                                |
|------------------------------------------------------------------|
*/
#headerbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: url("assets/images/header.png") no-repeat top center;
    min-height: 192px;
    background-size: cover;
    z-index: 99999;
}

#headerbar .logo {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    z-index: 1000;
}

#headerbar .logo img {
    max-width: 350px;
    width: 100%;
}

@media only screen and (min-width: 1650px) {
    #headerbar {
        min-height: 220px;
    }
}

@media only screen and (min-width: 1750px) {
    #headerbar {
        min-height: 250px;
        margin-top: -20px;
    }

    #headerbar .logo {
        margin-top: 20px;
    }

    #headerbar [class*=col-] {
        padding-top: 30px;
    }
}

#headerbar .phone {
    font-size: 28px;
    color: #242140;
}

#headerbar .phone a,
#headerbar .phone img {
    display: inline-block;
    vertical-align: middle;
}

#headerbar .phone img {
    margin-right: 15px;
}

#headerbar .phone,
#headerbar ul.social {
    display: inline-block;
    vertical-align: middle;
}

#headerbar ul.social {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 45px;
}

#headerbar ul.social li {
    display: inline-block;
    margin: 2px;
    width: 36px;
    height: 36px;
    font-size: 22px;
    text-align: center;
    border-radius: 50%;
    background-color: #242140;
    transition: all .3s;
}

#headerbar ul.social li a {
    color: #fffbea;
}

#headerbar ul.social li:hover a {
    color: #fff;
}

#headerbar ul.social li:hover {
    background-color: #efdc88;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.bio .col-md-9 span a {

display: block;
}

/*
|------------------------------------------------------------------|
|                            HERO                                  |
|------------------------------------------------------------------|
*/
/* hero home */
#hero-home {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

#hero-home .et_pb_slide {
    background-position: top center !important;
    min-height: 700px;
    transition: all .3s;
}

@media only screen and (min-width: 1750px) {
    #hero-home .et_pb_slide {
        min-height: 800px;
    }
}

.hero-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    background-color: rgba(28, 24, 57, .85);
    padding: 30px 0;
}

.hero-overlay h2 {
    color: #f4e892;
    line-height: 1;
    font-size: 42px;
    margin: 0 30px 0 0;
}

.hero-overlay .btn.btn-custom,
.hero-overlay h2 {
    display: inline-block;
    vertical-align: middle;
}

/* hero inner */
#hero-inner {
    position: relative;
}

#hero-inner > img {
    vertical-align: middle;
    width: 100%;
    height: auto;
}

/*
|------------------------------------------------------------------|
|                         SERVICES                                 |
|------------------------------------------------------------------|
*/

#services {
    background: url("assets/images/pattern.jpg") repeat fixed;
    border-top: 2px solid #f3f0e3;
    padding: 70px 0;
    box-shadow: inset 0px 0px 106px 0px rgba(32, 32, 32, 0.15);
}

#services .row {
    margin: 0;
}

#services [class*=col-] {
    padding: 0;
}

#services img {
    width: 100%;
    height: auto;
}

#services a{
    color: #464544;
}
#services a:hover{
    color: #000;
}


#services figure {
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

#services figure:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background-color: #242140;
    transition: all .4s;
    opacity: 0;
}

#services [class*=col-]:nth-child(1) figure:before {
    top: 0;
    right: 100%;
}

#services [class*=col-]:nth-child(1) figure:hover:before {
    right: 0;
    opacity: 1;
}

#services [class*=col-]:nth-child(2) figure:before {
    left: 0;
    bottom: 100%;
}

#services [class*=col-]:nth-child(2) figure:hover:before {
    bottom: 0;
    opacity: 1;
}

#services [class*=col-]:nth-child(3) figure:before {
    top: 0;
    left: 100%;
}

#services [class*=col-]:nth-child(3) figure:hover:before {
    left: 0;
    opacity: 1;
}

#services figure img {
    transition: all .4s;
}

#services figure:hover img {
    -webkit-transform: scale(.75);
    -moz-transform: scale(.75);
    -ms-transform: scale(.75);
    -o-transform: scale(.75);
    transform: scale(.75);
    opacity: 0;
}

#services h2 {
    font-size: 50px;
    margin: 0 0 10px;
}

#services .sub-title {
    font-size: 18px;
    color: #464544;
    margin-bottom: 30px;
}

#services figure figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    background-color: rgba(254, 253, 244, .87);
    color: #181818;
    padding: 10px;
    transition: all .5s;
}

#services figure:hover figcaption {
    bottom: -100%;
}

#services figure .desc {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 30px);
    text-align: center;
    z-index: 100;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
}

#services figure:hover .desc {
    opacity: 1;
    visibility: visible;
}

#services figure .desc h4 {
    color: #fff;
    font-size: 24px;
}

#services figure .desc p {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
}

/*
|------------------------------------------------------------------|
|                         WELCOME                                  |
|------------------------------------------------------------------|
*/
.home #main-content {
    background: url("assets/images/welcome.jpg") no-repeat top center fixed;
    background-size: cover;
    padding: 70px 0 30px;
}

.home #main-content h1:first-child {
    display: none;
}

.home #main-content .et_pb_row,
.home #main-content .et_pb_section {
    padding: 0 !important;
}

.home #main-content h2 {
    font-size: 42px;
    color: #242140;
    line-height: 1.25;
    margin-bottom: 30px !important;
}

.home #main-content .content {
    color: #464544;
}

@media only screen and (max-width: 979px) {
    .home #main-content .et_pb_text {
        text-align: center !important;
    }

    .home #main-content h2 {
        margin-bottom: 20px !important;
    }
}
.home #main-content .btn.btn-custom{
    margin-top: 10px;
}
/*
|------------------------------------------------------------------|
|                       PROMOTIONS                                 |
|------------------------------------------------------------------|
*/

#promotions {
    position: relative;
    overflow: hidden;
    background: url("assets/images/promotions.jpg") no-repeat top center;
    background-size: cover;
    min-height: 580px;
}
.promotion-img img {
    width: 600px;
}
.promotion-img {
    position: absolute;
    right: 2%;
    top: 24%;
}

@media only screen and (min-width: 1750px) {
    #promotions {
        min-height: 710px;
    }
}

#promotions .slider {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(28, 24, 57, .85);
    min-height: 211px;
    width: 100%;
    padding-top: 40px;
}

#promotions .promotion,
#promotions .offer {
    display: inline-block;
    vertical-align: middle;
}

#promotions .promotion {
    text-align: left;
    margin-right: 90px;
}

#promotions .promotion h2 {
    font-size: 50px;
    color: #fff;
    margin-bottom: 15px !important;
}

#promotions .et_pb_container {
    width: 100% !important;
}

#promotions .et_pb_section {
    padding: 0 !important;
}

#promotions .et_pb_slide_description {
    padding: 0 !important;
}

#promotions .et_pb_slide {
    background: transparent !important;
    padding: 0 !important;
}

#promotions .offer {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: url("assets/images/offer.png");
    width: 156px;
    height: 128px;
    background-size: 100% 100%;
    color: #f2e891;
}

#promotions .offer {
    font-size: 28px;
    font-weight: 700;
    line-height: 2;
    padding-top: 30px;
}

#promotions .offer span {
    font-family: 'Petit Formal Script', cursive;
    display: block;
    font-size: 41px;
    font-weight: 400;
}

/*
|------------------------------------------------------------------|
|                      INFORMATION                                 |
|------------------------------------------------------------------|
*/
#information {
    background: url("assets/images/pattern.jpg") repeat fixed;
    padding: 60px 0;
    box-shadow: inset 0px 0px 90px 0px rgba(32, 32, 32, 0.15);
}

#information h2 {
    line-height: 1;
    font-size: 51px;
}

#information p {
    font-size: 14px;
    text-transform: uppercase;
    color: #595b5b;
    font-weight: 600;
}

#information .btn.btn-custom {
    background-color: #242140;
    color: #fff;
    margin-top: 32px;
}

#information .btn.btn-custom:before {
    background: #333;
}

#information .btn.btn-custom:after {
    background: #111;
}

#information .btn.btn-custom:hover {
    color: #fff;
}

/*
|------------------------------------------------------------------|
|                            MAP                                   |
|------------------------------------------------------------------|
*/

#map {
    position: relative;
    overflow: hidden;
    background: url("assets/images/map.png") no-repeat center center;
    background-size: cover;
    min-height: 318px;
}

#map iframe {
    display: none;
}

#map .map-overlay {
    line-height: 1.1;
}

#map .map-overlay h2 {
    font-size: 36px;
    color: #ffffff;
}

#map .map-overlay p {
    font-size: 20px;
    color: #ffffff;
}

#map .map-overlay {
    position: absolute;
    right: 30%;
    top: 50%;
    -webkit-transform: translate(30%, -50%);
    -moz-transform: translate(30%, -50%);
    -ms-transform: translate(30%, -50%);
    -o-transform: translate(30%, -50%);
    transform: translate(30%, -50%);
}

/*
|------------------------------------------------------------------|
|                           FOOTER                                 |
|------------------------------------------------------------------|
*/
#footer-main .footer-top {
    background-image: -moz-linear-gradient(90deg, rgb(36, 33, 64) 0%, rgb(44, 39, 79) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(36, 33, 64) 0%, rgb(44, 39, 79) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(36, 33, 64) 0%, rgb(44, 39, 79) 100%);
    box-shadow: inset 0px 0px 128px 0px rgba(32, 32, 32, 0.23);
    padding: 60px 0;
}

#footer-main footer {
    background-color: #242140;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    padding: 15px;
}

#footer-main h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px;
}

#footer-main i {
    color: #bfbec9;
    font-size: 32px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
}

#footer-main .time {
    position: relative;
    padding-left: 30px;
}

#footer-main .time:after,
#footer-main .time:before {
    position: absolute;
    content: '';
    height: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 1px;
    background-color: #514e68;
}

#footer-main .time:after {
    right: 0;
}

#footer-main .time:before {
    left: 0;
}

#footer-main table {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.702);
    font-weight: 500;
    line-height: 1.25;
    width: 100%;
}

#footer-main p {
    color: rgba(255, 255, 255, 0.702);
    line-height: 1.25;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
    font-size: 16px;
}

#footer-main p a {
    color: #b6b6b6;
    font-size: 16px;
    font-weight: 500;
}

#footer-main p a:hover {
    color: #efdc88;
}

#footer-main [class*=fa-mobile] {
    font-size: 48px;
    margin-right: 20px;
}

#footer-main [class*=fa-map] {
    font-size: 42px;
    margin-right: 15px;
}

#footer-main [class*=fa-env] {
    margin-right: 10px;
}

#footer-main footer a {
    color: #fff;
}

#footer-main footer a:hover {
    color: #efdc88;
}

/*
|------------------------------------------------------------------|
|                       ADJUSTMENTS                                |
|------------------------------------------------------------------|
*/

#blog-sidebar input.search-field {
    border: 1px solid #ddd;
    min-height: 40px;
    padding: 5px 10px;
    font-weight: normal;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
}

#blog-sidebar input.search-submit {
    border: 0;
    background-color: #f2eac6;
    color: #fff;
    text-transform: uppercase;
    min-height: 40px;
    margin-left: -5px;
    display: inline-block;
    vertical-align: middle;
    transition: all .2s ease-out;
}

#blog-sidebar input.search-submit:hover {
    background-color: #242140;
}

.container {
    max-width: 1200px !important;
    width: 100% !important;
}


/*-- divi spacing with bootstrap */
.page .et_pb_section, .single .et_pb_section {
    padding: 0 !important;
}

.page .et_pb_section .et_pb_row, .single .et_pb_section .et_pb_row {
    max-width: 100% !important;
}

.single #main-content h1,
.page #main-content h1 {
    margin-bottom: 30px;
}

*:focus {
    outline: 0 !important
}

/*-- page/post/archive spacing & anchor color */
.page:not(.home) #main-content,
.single #main-content,
.archive #main-content {
    padding: 60px 0 15px;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post a,
.page:not(.home) #main-content a,
.single #main-content a,
.archive #main-content a {
    color: #242140 !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post a:hover,
.page:not(.home) #main-content a:hover, .page:not(.home) #main-content a:focus,
.single #main-content a:hover,
.single #main-content a:focus,
.archive #main-content a:hover,
.archive #main-content a:focus {
    color: #f2eac6 !important;
}

.single .wp-post-image {
    margin: 30px auto;
}

/*-- archive more link style */
.archive #main-content .container .col-md-8 a:nth-child(3) {
    padding: 8px 20px;
    display: inline-block;
    border: 1px solid #242140;
    margin-top: 15px;
}

.archive #main-content .container .col-md-8 a:nth-child(3):hover, .archive #main-content .container .col-md-8 a:nth-child(3):focus {
    background-color: #242140;
    color: #fff !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post {
    margin-bottom: 5px !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post .post-content,
.page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article p {
    display: none !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article h2 {
    margin-top: 30px !important;
}

@media only screen and (min-width: 765px) {
    .page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 img {
        height: 260px !important;
        width: auto !important;
    }
}

@media only screen and (max-width: 765px) {
    .page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article {
        max-width: 360px !important;
        margin: 30px 0 !important;
    }
}

.wp-post-image {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

/*========================================================================
			Main Nav Style
========================================================================*/
.navbar {
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

/*========================================================================
							Menu Level One
========================================================================*/

.navbar li {
    font-family: 'Montserrat', sans-serif;
}

/* Main Menu Item */
.navbar .navbar-nav > li > a {
    padding: 0;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    color: #3e3e3e;
    position: relative;
    display: inline-block;
    outline: none;
    margin: 5px 10px;
}

.navbar .navbar-nav > li > a::before {
    content: '';
    position: absolute;
    padding: 15px 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    max-width: 0;
    border-bottom: 2px solid #efdc88;
    color: #fff;
    -webkit-transition: max-width 0.5s;
    -moz-transition: max-width 0.5s;
    transition: max-width 0.5s;
    margin: 0 auto;
    right: 0;
}

.navbar .navbar-nav > li > a:hover::before {
    max-width: 100%;
    width: 100%;
}

/* Main Menu Item Hover, Active, Focus, Open */
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:hover,
.navbar .navbar-nav > .active > a:focus,
.navbar .navbar-nav > .open > a,
.navbar .navbar-nav > .open > a:hover,
.navbar .navbar-nav > .open > a:focus {
    color: #3e3e3e;
    background: transparent;
    outline: none;
    letter-spacing: inherit;
    outline: 0 !important;
}

/*========================================================================
              Menu Level Two (Dropdown)
========================================================================*/
/* Dropdown Menu Wrap */
.dropdown-menu {
    padding: 0;
    background-color: #fffbea !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* Dropdown Menu Item */
.dropdown-menu > li {
    display: block;
    background-color: transparent !important;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: #242140 !important;
    color: #fff !important;
}

.dropdown-menu > li > a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    color: #3e3e3e;
    padding: 12px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    padding: 12px;
    background-color: #242140 !important;
    color: #fff !important;
}

/*========================================================================
              Mobile Menu
========================================================================*/
/* Mobile Menu Toggle Button Border */
.navbar .navbar-toggle {
    position: relative;
    float: none;
    height: 50px;
    padding: 10px 15px;
    width: 100%;
    background-color: #242140 !important;
    border-radius: 0;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
}

/* Mobile Menu Toggle Button Icons (Hamburger Menu) */
.navbar .navbar-toggle .icon-bar {
    background-color: #fff !important;
    clear: both;
    display: block;
    float: right;
    width: 32px;
    transition: all .3s;
}

.navbar .navbar-toggle:hover .icon-bar {
    background-color: #fff !important;
}

/* Mobile Dropdown Menu Box Border */
.navbar .navbar-collapse {
    border-color: transparent;
}

/*========================================================================
            Bootstrap 3 Media Queries
========================================================================*/

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    /*Centering the nav */
    .navbar .nav,
    .navbar .nav > li {
        float: none;
        display: inline-block;
        *display: inline; /* ie7 fix */
        *zoom: 1; /* hasLayout ie7 trigger */
        vertical-align: top;
    }

    .navbar-collapse {
        text-align: right;
    }

    
}

/* divi break point : adjust archive list spacing */
@media only screen and (min-width: 979px) {
    .category-articles h2,
    .category-blog h2,
    .category-services h2 {
        margin-top: 0 !important;

    }

    .category-articles #main-content img,
    .category-blog #main-content img,
    .category-services #main-content img {
        margin-top: 5px !important;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
    #headerbar nav {
        margin-right: -20px;
    }
    #hero-home .et_pb_slide{
        background-attachment: fixed !important;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
}

/*==========  Non-Mobile First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    /* Main Menu Item */
    .navbar .navbar-nav > li > a {
        margin: 5px 2px;
        font-size: 14px;
    }

    .hero-overlay h2 {
        font-size: 36px;
    }

    #information h2 {
        font-size: 46px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    #hero-home .et_pb_slide {
        background-attachment: initial !important;
    }
    #footer-main .time {
        padding-left: 0;
    }

    #footer-main .col-md-5 {
        margin-bottom: 45px;
    }

    #footer-main .time:after,
    #footer-main .time:before {
        display: none;
    }

    .navbar .navbar-nav > li > a {
        margin: 10px;
        font-size: 15px;
    }

    #headerbar {
        background-image: none;
        background-color: #fffbea;
        box-shadow: -0.994px 18.974px 10px 0px rgba(0, 0, 0, 0.1);
    }

    #headerbar [class*=col-] {
        text-align: center;
    }

    #headerbar .logo img {
        max-width: 220px;
    }

    .navbar-collapse {
        text-align: center;
    }

    #headerbar {
        position: relative;
    }

    #hero-home {
        margin-top: 0;
    }

    #hero-home .et_pb_slide {
        min-height: 500px;
    }

    .hero-overlay {
        padding: 20px 0;
    }

    .hero-overlay h2 {
        font-size: 28px;
    }

    .hero-overlay .btn.btn-custom {
        font-size: 14px;
    }

    #promotions .promotion {
        margin-right: 45px;
    }

    #promotions .et_pb_slide_content {
        display: flex !important;
        flex-direction: column-reverse !important;
        padding-bottom: 30px;
    }

    #promotions .promotion h2 {
        font-size: 36px;
    }

    #promotions .promotion,
    #promotions .offer {
        text-align: center;
    }

    #promotions .offer {
        margin: 0 auto 15px;
    }

    #promotions .promotion {
        margin: 0;
    }

    #information h2 {
        font-size: 36px;
    }

    #information .btn.btn-custom {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 835px) {
    .hero-overlay h2 {
        font-size: 26px;
    }

    .navbar .navbar-nav > li > a {
        margin: 10px 5px;
        font-size: 14px;
    }
}

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

    #services figure img{
        opacity: 0;
    }
    #services figure figcaption {
        bottom: -100%;
    }

    #services figure .desc {
     opacity: 1;
     visibility: visible;
    }

    #services figure:before{
        top: 0 !important;
        left: 0 !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
    #hero-home .et_pb_slide {
        min-height: 350px;
    }

    #footer-main [class*=col] {
        text-align: center;
    }

    #footer-main table {
        max-width: 240px;
        margin: 0 auto 45px;
    }

    .hero-overlay {
        background-color: #242140;
        position: relative;
    }

    .hero-overlay h2 {
        display: block;
        margin: 0 0 15px 0;
    }

    .navbar .navbar-nav > li > a {
        margin: 10px;
        font-size: 15px;
    }

    #headerbar nav {
        margin-top: 10px;
    }

    #headerbar [class*=col-] {
        padding: 0;
    }

    .navbar-collapse {
        padding-left: 25px;
        text-align: left;
        overflow: hidden !important;
    }

    .navbar-toggle::after {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        color: #fff;
        content: "Menu";
        font-size: 20px;
        left: 17px;
        position: absolute;
        top: 8px;
        text-transform: uppercase;
    }

    .navbar-header {
        border: 0 !important;
    }

    .dropdown-menu {
        padding: 0;
        background-color: transparent !important;
    }

    .dropdown-menu > li > a {
        color: #3e3e3e !important;
    }

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        background-color: transparent !important;
        color: #efdc88 !important;
    }

    .dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
        padding: 12px;
        background-color: transparent !important;
        color: #efdc88 !important;
    }

    #hero-home .et_pb_slide {
        min-height: 350px;
    }

    #services [class*=col] {
        margin-bottom: 30px;
    }

    #promotions .et_pb_slide_content {
        padding-bottom: 0;
    }

    #promotions {
        min-height: 400px;
        max-height: 400px;
    }

    #promotions .slider {
        height: 100%;
    }

    #promotions .slider {
        padding: 0;
    }

    #promotions .slider .et_pb_slide_content {
        margin-top: 10px !important;
    }

    #map .map-overlay {
        text-align: center;
        right: 50%;
        top: 50%;
        width: calc(100% - 30px);
        -webkit-transform: translate(50%, -50%);
        -moz-transform: translate(50%, -50%);
        -ms-transform: translate(50500%, -50%);
        -o-transform: translate(50%, -50%);
        transform: translate(50%, -50%);
    }

    #map .map-overlay h2 {
        font-size: 28px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    #headerbar ul.social {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: block;
    }

    #hero-home .et_pb_slide {
        min-height: 250px;
    }

 #myModal {top: 5% !important;}

 #myModal .modal-content {padding: 10px 10px !important;
			font-size: 14px !important;}

 #myModal .modal-header h2 {font-size: 24px;}

 #myModal .modal-dialog {
	    width: 85% !important;
	    margin: 0 auto;
    }
#promotions .slider {
    background-color: rgb(28 24 57 / 19%);
}
.promotion-img img {
    width: 90%;
}
.promotion-img {
    top: 50%;
    text-align: center;
}
.promotion-img {
    top: 73% !important;
}
#promotions {
    background-position-x: 49%;
    min-height: 400px !important;
    max-height: 400px !important;
}
#promotions .et_pb_slide_content {
    padding-top: 170px !important;
}
#promotions .btn-custom {
    color: #000 !important;
}

}



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

.bio img {

width: 200px;
    margin-bottom: 12px;
}



}