/*-------------------------------------------------------------- #0.1 Theme Reset Style --------------------------------------------------------------*/ html { font-size: $base-font-size + px; } body { font-family: $base-font; background-color: $body-bg-color; font-size: 15px; font-size: calc-rem-value(15); color: $text-color; -webkit-font-smoothing: antialiased; overflow-x: hidden; @include media-query( 767px ) { font-size: 14px; } } p { color: $text-color; line-height: 1.6em; } h1, h2, h3, h4, h5, h6 { font-family: $heading-font; color: $heading-color; } ul { list-style-type: none; padding-left: 0; margin: 0; } a { text-decoration: none; @include transition-time(0.2s); } a:hover { text-decoration: none; } img { max-width: 100%; } input[type="text"], input[type="password"], input[type="email"], input[type="tel"], form select, textarea { font-family: $base-font; width: 100%; border: 1px solid #ddd; border-radius: 0; padding: 12px 15px; @include media-query(991px) { padding: 10px 15px; } &:focus { border: 1px solid $black; outline: none; box-shadow: none; } } textarea { height: 180px; } label { font-family: $base-font; font-size: 14px; font-size: calc-rem-value(14); color: $heading-color; } select { -moz-appearance: none; -webkit-appearance: none; background: #fff url(../images/select-arrow.png) calc(100% - 15px) 15px no-repeat; background-size: 7px 4px; position: relative; } /*-------------------------------------------------------------- #0.2 Global Elements --------------------------------------------------------------*/ .page-wrapper { position: relative; overflow: hidden; } .wow { visibility: hidden; } .fi:before { margin: 0; } .section-padding { padding: 120px 0; @include media-query(991px) { padding: 100px 0; } @include media-query(767px) { padding: 80px 0; } } .container-1310 { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; @media (min-width: 768px) { width: 750px; } @media (min-width: 992px) { width: 970px; } @media (min-width: 1200px) { width: 1170px; } @media (min-width: 1450px) { width: 1340px; } } /*** back to top **/ .back-to-top { background-color: transparentize($theme-primary-color, 0.5); width: 45px; height: 45px; line-height: 45px; border-radius: 0; text-align: center; display: none; position: fixed; z-index: 999; right: 25px; bottom: 25px; @include transition-time(0.2s); @include media-query(991px) { width: 35px; height: 35px; line-height: 35px; } &:hover { background-color: $theme-primary-color; } } .back-to-top i { font-size: 16px; font-size: calc-rem-value(16); color: #fff; position: absolute; left: 50%; top: 50%; @include center-by-translating(); } /** for popup image ***/ .mfp-wrap { background-color: transparentize($black, 0.1); z-index: 99999; } .mfp-with-zoom .mfp-container, .mfp-with-zoom.mfp-bg { opacity: 0; -webkit-backface-visibility: hidden; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } .mfp-with-zoom.mfp-ready .mfp-container { opacity: 1; } .mfp-with-zoom.mfp-ready.mfp-bg { opacity: 0.8; } .mfp-with-zoom.mfp-removing .mfp-container, .mfp-with-zoom.mfp-removing.mfp-bg { opacity: 0; } /*** for fancybox video ***/ .fancybox-overlay { background: rgba(0, 0, 0, 0.9); z-index: 9999 !important; } .fancybox-wrap { z-index: 99999 !important; }