/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6
*/

/* Theme customization starts here
-------------------------------------------------------------- */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
img.scale-with-grid, #Content img {
    display: block;
}
#secMenu {
    position:fixed;
    right: 100px;
    top: 47px;
    z-index: 9911;
}
.faq .question .title {
    font-family: "Sue Ellen Francisco", Arial, Tahoma, sans-serif;
    font-size: 40px;
    line-height:48px;
}
#Top_bar:not(.is-sticky) .logo { position:fixed; left: 40px; top: 40px; }
#Top_bar .logo { position:absolute;top:20px; }
.header-overlay .overlay-menu-toggle { border-radius: 5px; }
#secMenu .secondary-menu > li > a { color: #cd1719; }
#secMenu .secondary-menu > li.hover, #secMenu .secondary-menu > li:hover { background: #cd1719; }
#secMenu .secondary-menu > li.hover a, #secMenu .secondary-menu > li:hover a { color: #ffffff; }
#secMenu .secondary-menu > li { background: #ffffff; text-align: right; margin-left: 5px; }
#vrweb_icon_1 { display:none; }
.flip_box .front { position:relative!important; z-index: 2!important; }
.flip_box .front .photo_wrapper { vertical-align: top; }
.flip_box .back { top:0; left:0; padding:20px; text-align:center; }
@media only screen and (max-width: 767px) {
    .flip_box .back .desc_wrapper {
        padding:20px;
    }
    .flip_box .back h3 {
        font-size:32px;
    }
    .flip_box .back .desc {
        font-size:24px;
        line-height:32px;
    }
    .vertcenter .flip_box .back .desc_wrapper a {
        margin-top:20px;
    }
}
.vertcenter .flip_box .back .desc_wrapper { display: table;  height: 100%;  width: 100%; }
.vertcenter .flip_box .back .desc_wrapper a, .vertcenter .flip_box .back .desc_wrapper h3, .vertcenter .flip_box .back .desc_wrapper .desc { display: table-cell; vertical-align: middle; }
.vertcenter .flip_box .back .desc_wrapper .pum-trigger, .vertcenter .flip_box .back .desc_wrapper a { display: inline-block; }
#stories .flip_box .back .desc .button_label {
    color:#cd1719;
}
body.contrast, body.contrast a, body.contrast #Footer a, body.contrast h1, body.contrast h2, body.contrast h3, body.contrast h4, body.contrast h5, body.contrast h6, body.contrast #Footer,
body.contrast .faq .question .title > .acc-icon-plus, body.contrast .faq .question .title > .acc-icon-minus, body.contrast a.button, body.contrast a.tp-button {
    color:#000000;
}
body.contrast .overlay-menu-toggle { color: #000000!important; background: #ffffff; }
body.contrast #secMenu .secondary-menu > li  { background: #ffffff;  }
body.contrast #secMenu .secondary-menu > li > a { color: #000000!important; }
body.contrast #secMenu .secondary-menu > li.hover, body.contrast #secMenu .secondary-menu > li:hover { background: #000000; }
body.contrast #secMenu .secondary-menu > li.hover a, body.contrast #secMenu .secondary-menu > li:hover a { color: #ffffff!important; }

h1, h2, h3, h4, h5, h6, #overlay-menu a { text-transform:uppercase; }
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
#loadImg {
    position: absolute;
    z-index: 1002;
    left: calc(50% - 60px);
    top:  calc(50% - 150px);
}
#loader {
    display: block;
    position: absolute;
    left: calc(50% - 200px);
    top:  calc(50% - 200px);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #D41217;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #D41217;

    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #D41217;

    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #000000;
    z-index: 1000;
    -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(0);  /* IE 9 */
    transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(-100%);  /* IE 9 */
    transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(100%);  /* IE 9 */
    transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
    visibility: hidden;

    -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-100%);  /* IE 9 */
    transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.3s 1s ease-out;
    transition: all 0.3s 1s ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
    display: none;
}
.no-js h1 {
    color: #222222;
}
@media only screen and (min-width: 1024px) {
    .intro {
        margin-top: 7%;
    }
}
@media only screen and (max-width: 1239px) and (min-width: 768px) {
    #stories .one-third.column {
        width: 48%;
    }
    #stories .one-sixth.column {
        display:none;
    }
    #stories .column.md-center {
        margin-left: 26%;
    }
}
@media only screen and (max-width: 939px) and (min-width: 768px) {
    #stories .flip_box .back .desc {
        font-size: 14px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 767px) {
    #secMenu {
        right: 45px;
        top: 17px;
    }
    .header-overlay.ab-hide #Top_bar {
        position: absolute;
        top:50px;
    }
    #Top_bar #logo img.logo-mobile {
        display:block;
    }
    #Header #Top_bar, #Action_bar {
        background: transparent!important;
    }
    #overlay-menu ul li a {
        font-size: 32px;
        line-height: 52px;
    }
    #secMenu .secondary-menu > li > a { font-size:90%; }
    .header-overlay .overlay-menu-toggle { top: 13px;right:0; }
    #Top_bar, #Top_bar .logo { width:auto; }
    #Top_bar .logo #logo { margin:10px 20px!important; }
    .header-transparent #Top_bar #logo { height: 140px!important; }
    .header-overlay .overlay-menu-toggle {
        height: 32px;
        width: 32px;
        line-height: 32px;
        font-size: 19px;
    }
    #Header .secondary-menu > li { padding: 4px 5px; }
    #welcome img.scale-with-grid { margin-right:0!important; width:auto; padding-bottom:20px; }
    #Footer .widgets_wrapper .widget { text-align: center; }
    .flip_box.in-view .front {
        transform: rotateY(180deg)!important;
        z-index:0!important;
    }
    .flip_box.in-view .back {
        transform: rotateY(0deg)!important;
        z-index:1!important;
    }
    #loader {
        left: calc(50% - 100px);
        top:  calc(50% - 100px);
        width:200px;
        height:200px;
    }
    #loadImg {
        left: calc(50% - 30px);
        top: calc(50% - 65px);
    }
    #loadImg img {
        height:130px;
    }
}
@media only screen and (max-width: 599px) {
    #stories .flip_box .back { padding: 10px; }
    #stories .flip_box .back .desc_wrapper { padding: 0px; }
    #stories .flip_box .back .desc {
        font-size: 14px;
        line-height: 18px;
    }
    #stories a.button.button_size_1 .button_label {
        padding: 5px 10px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
    body {
        font-size: 16px;
        line-height: 28px;
    }
    #Footer .widgets_wrapper .column {
        width: 49%!important;
        clear: none;
        float: left;
    }
    #Footer .widgets_wrapper .column:first-child {
        float: right;
    }
    #Footer .widgets_wrapper .column:last-child {
        float: left;
        width: 100%!important;
        clear: both;
    }
    #Footer .widgets_wrapper .widget { text-align: left; }
}
@media only screen and (max-width: 430px) {
    .header-overlay.ab-hide #Top_bar {
        position: relative;
    }
}

.vrweb_player { top:40px!important; right:50%!important; z-index: 999!important; }
.vrweb_player .jp-gui.jp-interface { bottom:inherit!important; height:45px!important;border-radius: 5px; }
div.VR15S_h_player_container {
    background-image: none!important;
    border:none!important;
    border-radius: 0!important;
    padding-top: 0!important;
    padding-left: 0!important;
    box-sizing: content-box;
    box-shadow:  none!important;
    -moz-box-shadow:  none!important;
    -webkit-box-shadow:  none!important;
    -o-box-shadow:  none!important;
    -ms-box-shadow:  none!important;
}
.vrweb_settings_wrapper.ui-draggable {
    margin-top: 33px!important;
    margin-left: 8px!important;
}
// ADD LOCAL GOOGLE FONTS
/* open-sans-300 - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/font/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* sue-ellen-francisco-regular - latin */
@font-face {
  font-family: 'Sue Ellen Francisco';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/font/sue-ellen-francisco-v16-latin-regular.svg#SueEllenFrancisco') format('svg'); /* Legacy iOS */
}
