diff --git a/wp-content/themes/consultstreet/404.php b/wp-content/themes/consultstreet/404.php new file mode 100644 index 00000000..5206f78b --- /dev/null +++ b/wp-content/themes/consultstreet/404.php @@ -0,0 +1,31 @@ + + +
+
+
+
+
+

404

+

+
+ +
+
+
+
+
+
+ + + +
+ +
+ +
+ + + + + + + +
+ +
+ + + '', + 'next_text' => '' + ) ); + + // If no content, include the "No posts found" template. + + else : + + get_template_part( 'template-parts/content', 'none' ); + + endif; + + ?> + +
+ + + + + +
+ +
+ +
+ \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/css/admin.css b/wp-content/themes/consultstreet/assets/css/admin.css new file mode 100644 index 00000000..a0354ad8 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/admin.css @@ -0,0 +1,153 @@ +#accordion-section-header_image { + margin-top: 0px; +} + +.customize-control-hidden { + margin: 0 -12px; + margin-bottom: 12px; + display: block; + padding: 13px 12px; + border-width: 1px 0; + border-style: solid; + border-color: #dddddd; + background-color: #fff; + font-weight: 500; + letter-spacing: 1px; + line-height: 1; + text-transform: uppercase; + color: #3292db; +} + +.customize-control-hidden label { + margin-bottom: 0; + line-height: 1; + font-size: 11.5px; + cursor: default; +} + + + +.consultstreet-getting-started-notice { + padding: 20px 10px; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: flex; + -ms-align-items: center; + align-items: center; +} + +.consultstreet-theme-screenshot img { + width: 100%; + max-width: 200px; + display: inline-block; + vertical-align: top; + border: 2px solid #ddd; + border-radius: 4px; +} + +.consultstreet-theme-notice-content { + width: 70%; + display: block; + vertical-align: top; + padding: 0 20px; +} + +h2.consultstreet-notice-h2 { + margin: 0 0 10px; + font-weight: 400; + line-height: 1.3; +} + +.consultstreet-push-down { + padding-top: 15px; + display: inline-block; + padding-left: 8px; +} + +.consultstreet-button-padding.updating-message::before { + margin-top: 12px; +} + + + +/* Upsale */ +.pro_info ul { + margin: 0; + padding: 0; +} + +.pro_info ul li { + margin-bottom: 10px; +} + +.pro_info ul li a, .up-to-pro { + font-family: 'Noto Sans', sans-serif; + font-weight: bold; + padding: 12px 10px; + display: block; + text-decoration: none; + color: #ffffff; + border-radius: 3px; + font-size: 14px; + letter-spacing: 1px; + overflow: hidden; + -webkit-transition: .3s; + transition: .3s; + background: #009efa; /* fallback for old browsers */ + background: -webkit-linear-gradient(to right, #233fe7, #009efa); /* Chrome 10-25, Safari 5.1-6 */ + background: linear-gradient(to right, #233fe7, #009efa);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + z-index: 2; +} +.pro_info ul li a:hover, .pro_info ul li a:focus, +.up-to-pro:hover, .up-to-pro:focus { + transform: translateY(-3px); + color: #fff; + box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15); +} +.show-love { + background-image: -webkit-linear-gradient( 90deg, #e4aa00 0%, #fddb3e 100%) !important; + background: #FF512F; /* fallback for old browsers */ + background: -webkit-linear-gradient(to right, #DD2476, #FF512F) !important; /* Chrome 10-25, Safari 5.1-6 */ + background: linear-gradient(to right, #DD2476, #FF512F) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ +} +.up-to-pro { + padding: 9px 58px; + text-transform: capitalize; +} +.pro_info ul li a i{ + font-size: 15px; + margin-top: 1px; + margin-right: 7px; +} +.pro_info .upgrade-to-pro, .up-to-pro{ + background: #780206; /* fallback for old browsers */ +background: -webkit-linear-gradient(to right, #061161, #780206); /* Chrome 10-25, Safari 5.1-6 */ +background: linear-gradient(to right, #061161, #780206); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + +} +li#accordion-section-upgrade_premium .accordion-section-title:after { + content: "\f174" !important; + color: #ffffff !important; +} +li#accordion-section-upgrade_premium .accordion-section-title, +li#accordion-section-upgrade_premium .accordion-section-title:hover { + color: #ffffff !important; + border-left: none; + background: #009efa; /* fallback for old browsers */ + background: -webkit-linear-gradient(to right, #233fe7, #009efa) !important; /* Chrome 10-25, Safari 5.1-6 */ + background: linear-gradient(to right, #233fe7, #009efa) !important;/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ +} +#customize-controls .control-section .accordion-section-title button:focus, #customize-controls .control-section .accordion-section-title button:hover, #customize-controls .control-section.open .accordion-section-title, #customize-controls .control-section:hover>.accordion-section-title { + color: unset; + background: unset; +} +/*customizer Setting*/ +.updated.notice-get-started-class { + background-color: #ffffff; +} +.notice.notice-success { + background-color: #FFFFFF; +} +.notice-success .notice-text{ font-size : 17px;} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/css/animate.css b/wp-content/themes/consultstreet/assets/css/animate.css new file mode 100644 index 00000000..dac48f17 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/animate.css @@ -0,0 +1,3623 @@ +@charset "UTF-8"; + +/*! + * animate.css -http://daneden.me/animate + * Version - 3.7.0 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2018 Daniel Eden + */ + +@-webkit-keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +@keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +.bounce { + -webkit-animation-name: bounce; + animation-name: bounce; + -webkit-transform-origin: center bottom; + transform-origin: center bottom; +} + +@-webkit-keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +@keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +.flash { + -webkit-animation-name: flash; + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.pulse { + -webkit-animation-name: pulse; + animation-name: pulse; +} + +@-webkit-keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.rubberBand { + -webkit-animation-name: rubberBand; + animation-name: rubberBand; +} + +@-webkit-keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +@keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +.shake { + -webkit-animation-name: shake; + animation-name: shake; +} + +@-webkit-keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +.headShake { + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + -webkit-animation-name: headShake; + animation-name: headShake; +} + +@-webkit-keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +@keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +.swing { + -webkit-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + animation-name: swing; +} + +@-webkit-keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.tada { + -webkit-animation-name: tada; + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.wobble { + -webkit-animation-name: wobble; + animation-name: wobble; +} + +@-webkit-keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +@keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +.jello { + -webkit-animation-name: jello; + animation-name: jello; + -webkit-transform-origin: center; + transform-origin: center; +} + +@-webkit-keyframes heartBeat { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 14% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 28% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 42% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 70% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes heartBeat { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 14% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 28% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 42% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 70% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +.heartBeat { + -webkit-animation-name: heartBeat; + animation-name: heartBeat; + -webkit-animation-duration: 1.3s; + animation-duration: 1.3s; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; +} + +@-webkit-keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.bounceIn { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceIn; + animation-name: bounceIn; +} + +@-webkit-keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + animation-name: bounceInDown; +} + +@-webkit-keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} + +@-webkit-keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + animation-name: bounceInRight; +} + +@-webkit-keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + animation-name: bounceInUp; +} + +@-webkit-keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +@keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +.bounceOut { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceOut; + animation-name: bounceOut; +} + +@-webkit-keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} + +@-webkit-keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} + +@-webkit-keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} + +@-webkit-keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +@-webkit-keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} + +@-webkit-keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} + +@-webkit-keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} + +@-webkit-keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} + +@-webkit-keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + animation-name: fadeInRight; +} + +@-webkit-keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} + +@-webkit-keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + animation-name: fadeInUp; +} + +@-webkit-keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} + +@-webkit-keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} + +@-webkit-keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} + +@-webkit-keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} + +@-webkit-keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} + +@-webkit-keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} + +@-webkit-keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} + +@-webkit-keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} + +@-webkit-keyframes flip { + from { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +@keyframes flip { + from { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + backface-visibility: visible; + -webkit-animation-name: flip; + animation-name: flip; +} + +@-webkit-keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInX; + animation-name: flipInX; +} + +@-webkit-keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInY; + animation-name: flipInY; +} + +@-webkit-keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: flipOutX; + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + animation-name: flipOutY; +} + +@-webkit-keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +@-webkit-keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +@keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +@-webkit-keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + animation-name: rotateIn; +} + +@-webkit-keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} + +@-webkit-keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} + +@-webkit-keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} + +@-webkit-keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} + +@-webkit-keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + animation-name: rotateOut; +} + +@-webkit-keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} + +@-webkit-keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} + +@-webkit-keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} + +@-webkit-keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} + +@-webkit-keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +@keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; + -webkit-animation-name: hinge; + animation-name: hinge; +} + +@-webkit-keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +.jackInTheBox { + -webkit-animation-name: jackInTheBox; + animation-name: jackInTheBox; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.rollIn { + -webkit-animation-name: rollIn; + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +@keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + animation-name: rollOut; +} + +@-webkit-keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +@keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +.zoomIn { + -webkit-animation-name: zoomIn; + animation-name: zoomIn; +} + +@-webkit-keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInDown { + -webkit-animation-name: zoomInDown; + animation-name: zoomInDown; +} + +@-webkit-keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInLeft { + -webkit-animation-name: zoomInLeft; + animation-name: zoomInLeft; +} + +@-webkit-keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInRight { + -webkit-animation-name: zoomInRight; + animation-name: zoomInRight; +} + +@-webkit-keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInUp { + -webkit-animation-name: zoomInUp; + animation-name: zoomInUp; +} + +@-webkit-keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +@keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +.zoomOut { + -webkit-animation-name: zoomOut; + animation-name: zoomOut; +} + +@-webkit-keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutDown { + -webkit-animation-name: zoomOutDown; + animation-name: zoomOutDown; +} + +@-webkit-keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +@keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +.zoomOutLeft { + -webkit-animation-name: zoomOutLeft; + animation-name: zoomOutLeft; +} + +@-webkit-keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +@keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +.zoomOutRight { + -webkit-animation-name: zoomOutRight; + animation-name: zoomOutRight; +} + +@-webkit-keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutUp { + -webkit-animation-name: zoomOutUp; + animation-name: zoomOutUp; +} + +@-webkit-keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInDown { + -webkit-animation-name: slideInDown; + animation-name: slideInDown; +} + +@-webkit-keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInLeft { + -webkit-animation-name: slideInLeft; + animation-name: slideInLeft; +} + +@-webkit-keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInRight { + -webkit-animation-name: slideInRight; + animation-name: slideInRight; +} + +@-webkit-keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInUp { + -webkit-animation-name: slideInUp; + animation-name: slideInUp; +} + +@-webkit-keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.slideOutDown { + -webkit-animation-name: slideOutDown; + animation-name: slideOutDown; +} + +@-webkit-keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.slideOutLeft { + -webkit-animation-name: slideOutLeft; + animation-name: slideOutLeft; +} + +@-webkit-keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.slideOutRight { + -webkit-animation-name: slideOutRight; + animation-name: slideOutRight; +} + +@-webkit-keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.slideOutUp { + -webkit-animation-name: slideOutUp; + animation-name: slideOutUp; +} + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +.animated.delay-1s { + -webkit-animation-delay: 1s; + animation-delay: 1s; +} + +.animated.delay-2s { + -webkit-animation-delay: 2s; + animation-delay: 2s; +} + +.animated.delay-3s { + -webkit-animation-delay: 3s; + animation-delay: 3s; +} + +.animated.delay-4s { + -webkit-animation-delay: 4s; + animation-delay: 4s; +} + +.animated.delay-5s { + -webkit-animation-delay: 5s; + animation-delay: 5s; +} + +.animated.fast { + -webkit-animation-duration: 800ms; + animation-duration: 800ms; +} + +.animated.faster { + -webkit-animation-duration: 500ms; + animation-duration: 500ms; +} + +.animated.slow { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +.animated.slower { + -webkit-animation-duration: 3s; + animation-duration: 3s; +} + +@media (print), (prefers-reduced-motion) { + .animated { + -webkit-animation: unset !important; + animation: unset !important; + -webkit-transition: none !important; + transition: none !important; + } +} diff --git a/wp-content/themes/consultstreet/assets/css/bootstrap-smartmenus.css b/wp-content/themes/consultstreet/assets/css/bootstrap-smartmenus.css new file mode 100644 index 00000000..c48103df --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/bootstrap-smartmenus.css @@ -0,0 +1,476 @@ +/* +Name: bootstrap-smartmenus.css +*/ + +/* Carets in collapsible mode (make them look like +/- buttons) */ + +.navbar { + background-color: transparent; + padding-top: 1rem; + padding-bottom: 1rem; + padding-left: 0rem; + padding-right: 0rem; + opacity: 1; + box-shadow: 0 1px 2px rgba(0,0,0,.05); + z-index: 2; +} +.m-right-auto { + margin-right: unset!important; + margin-left: auto; +} +.navbar>.container { + display: block; +} + + +/*-------------------------------------------------- +=>> Site Branding Text & Navar Brand +--------------------------------------------------*/ + +.navbar-brand { + padding-top: 0.375rem; + padding-bottom: 0.375rem; +} +.navbar-brand, .sticky-navbar-brand { + float: left; +} +.site-branding-text { + margin-right: 1rem; + display: inline-block; +} +.site-branding-text .site-title { + font-size: 1.6rem; + line-height: inherit; + white-space: normal; + line-height: 1.2; + margin: -2px 0 0; +} +.site-branding-text .site-description { + line-height: 1.4; + padding-top: 0.063rem; +} +.navbar-brand .custom-logo, +.navbar.header-fixed-top .sticky-navbar-brand .custom-logo { + max-width: 100%; + display: block; + height: auto; +} +.navbar.navbar-header-wrap.header-fixed-top .site-branding-text .site-title a { + color: #000; +} +.navbar.navbar-header-wrap.header-fixed-top .site-branding-text .site-description { + color: #404040; +} +.navbar .row.align-self-center { + margin-left: 0; + margin-right: 0; +} + +/*Toggle Button*/ +.navbar .navbar-toggler { + float: right; + margin-top: 0.238rem; + border-color: unset; + padding-left: 0; + padding-right: 0; + color: transparent; +} +.navbar.navbar-header-wrap .navbar-toggler { + border-color: rgba(255, 255, 255, 1); +} +.navbar.navbar-header-wrap.header-fixed-top .navbar-toggler { + border-color: rgba(0, 0, 0, 0.1); +} +.navbar-toggler:hover, +.navbar-toggler:focus { + background-color: transparent; +} +.navbar-toggler:focus { + outline: 1px dotted #fff; +} +.header-fixed-top .navbar-toggler:focus { + outline: 1px dotted #000; +} +.navbar .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(1, 1, 47, 0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); + width: 4rem; +} + +/*Menu & Dropdown Css*/ +.navbar .nav .menu-item { + margin-right: 0; +} +.navbar .nav .menu-item:last-child { + margin-right: 0px; +} +.navbar .nav .menu-item .nav-link { + font-weight: 600; + color: #061018; + padding: 0; +} +.navbar .nav .dropdown-menu { + border-radius: 0; + border: none; + padding: 0.438rem 0.625rem; + font-size: 0.938rem; +} +.navbar .nav .dropdown-item { + padding: .30rem 0.75rem; +} +.navbar .nav .dropdown-menu .menu-item { + margin-right: 0; +} +.navbar .nav .dropdown-item.active, .navbar .nav .dropdown-item:active { + color: #fff; + background-color: transparent; +} +a.bg-light:focus, a.bg-light:hover { + background-color: transparent !important; +} +.navbar .nav .dropdown-menu > .menu-item > ul.dropdown-menu > .menu-item > .dropdown-item { + color: #000 !important; +} + +/*Navbar Header Wrap*/ + +.navbar-header-wrap { + background-color: rgba(0, 0, 0, .4); + position: absolute; + right: 0; + left: 0; + z-index: 2; +} +.navbar-header-wrap.not-sticky .site-branding-text .site-title a, +.navbar-header-wrap.not-sticky .site-branding-text .site-description { + color: #fff; +} +.navbar.navbar-header-wrap .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} +.navbar.navbar-header-wrap.header-fixed-top .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(1, 1, 47, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} +.navbar.navbar-header-wrap .nav .menu-item .nav-link, +.navbar.navbar-header-wrap .nav a.cart-icon, +.navbar.navbar-header-wrap .nav .theme-search-block a { + color: #fff; +} +.navbar.navbar-header-wrap .nav .btn-border { + background: transparent; + color: #ffffff; + border: 2px solid #ffffff; +} +.navbar.navbar-header-wrap .nav .btn-border:hover, +.navbar.navbar-header-wrap .nav .btn-border:focus, +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border:hover, +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border:focus { + color: #ffffff; +} +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link, +.navbar.navbar-header-wrap.header-fixed-top .nav a.cart-icon, +.navbar.navbar-header-wrap.header-fixed-top .nav .theme-search-block a { + color: #000; +} +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.active .nav-link { + color: #fff; +} +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border { + background: transparent; + color: #000; +} + +/*Header Sticky*/ +.header-fixed-top { + background-color: #fff; + position: fixed; + top:0; + left:0; + width: 100%; + z-index: 3; + box-shadow: 0 8px 20px 0 rgba(0,0,0,.1); + opacity: 1; + -webkit-animation: slide-down 1.07s; + animation: slide-down 1.07s; +} +@keyframes slide-down { + 0% { + opacity: 1; + transform: translateY(-100%); + } + 100% { + opacity: 1; + transform: translateY(0); + } +} + +.navbar.header-fixed-top .nav { + margin-bottom: 0; +} +.navbar.header-fixed-top .site-branding-text { + padding-top: 0.670rem; + padding-bottom: 0.670rem; +} +.navbar.header-fixed-top .nav .themes-header-top { + padding: 1rem 0; +} +.navbar.header-fixed-top .nav .menu-item .nav-link { + padding: 1.400rem 1rem; +} +@media (max-width: 991px) { + /*When we add more menus then show vertical scroll in mobiles*/ + .navbar-collapse{ + max-height: 400px; + overflow-x: hidden; + } + .navbar .nav .menu-item { + margin-right: 28px; + } + .navbar .container { + padding-left: 15px; + padding-right: 15px; + } + .row.align-self-center .align-self-center { + width: 100%; + } + .site-branding-text { + padding-top: 0.375rem; + padding-bottom: 0.375rem; + } + .navbar.header-fixed-top .site-branding-text { + padding-top: 0.175rem; + padding-bottom: 0.175rem; + } + .navbar-brand, .sticky-navbar-brand { + float: left; + } + .sticky-navbar-brand { + margin-right: 1rem; + } + .navbar .nav { + margin-top: 1.25rem; + margin-bottom: 1.25rem; + margin-left: 0; + position: relative; + } + .navbar .nav .menu-item { + margin-right: 0; + } + .navbar .nav .menu-item .nav-link { + line-height: 40px; + margin-right: 2px; + margin-left: 2px; + display: block; + border-bottom: 1px solid #f1f1f1; + border-radius: 0; + padding: 0 !important; + } + .navbar .nav .dropdown-item:focus, + .navbar .nav .dropdown-item:hover { + background-color: transparent; + } + .themes-header-top.align-self-center { + align-self: auto !important; + padding: 0; + } + .navbar.header-fixed-top { + padding-top: 9px; + padding-bottom: 8px; + } + .navbar.header-fixed-top .nav .themes-header-top { + padding: 0 0 1rem; + } +} + +@media (min-width: 992px) { + .navbar-brand { + padding-top: 1.750rem; + padding-bottom: 1.750rem; + } + .site-branding-text { + padding-top: 1.5rem; + padding-bottom: 1.5rem; + } + .navbar.header-fixed-top .navbar-brand { + padding-top: 0.900rem; + padding-bottom: 0.900rem; + } + .navbar.header-fixed-top .sticky-navbar-brand { + padding-top: 0.900rem; + padding-bottom: 0.900rem; + margin-right: 1rem; + } + .navbar { + padding-top: 0; + padding-bottom: 0; + } + .navbar .nav .menu-item .nav-link { + padding: 2.220rem 1rem; + } + .navbar .nav .dropdown-menu { + padding: 0; + top: 99px !important; + } + .navbar.header-fixed-top .nav .dropdown-menu { + top: 73px !important; + } + .navbar .nav .dropdown-menu { + background-color: #fff; + box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 12px 0 rgba(0, 0, 0, 0.12); + } + .navbar .nav .dropdown-item { + color: #000; + border-bottom: 1px solid rgb(242, 242, 242); + padding: 7px 25px; + } + .navbar .nav .dropdown-item:focus, + .navbar .nav .dropdown-item:hover { + background-color: transparent; + } + .navbar .nav .dropdown-menu ul.dropdown-menu { + top: auto !important; + } + .navbar.header-fixed-top .nav .dropdown-menu ul.dropdown-menu { + top: auto !important; + } +} + +/*End Css*/ + +.navbar-nav.sm-collapsible .sub-arrow { + position: absolute; + top: 50%; + right: 0; + margin: -0.7em 0.5em 0 0; + border: 1px solid rgba(0, 0, 0, .1); + border-radius: .25rem; + padding: 0; + width: 2em; + height: 1.4em; + font-size: 1.25rem; + line-height: 1.2em; + text-align: center; +} +.navbar-nav.sm-collapsible .sub-arrow::before { + content: '+'; +} +.navbar-nav.sm-collapsible .show > a > .sub-arrow::before { + content: '-'; +} +.navbar-dark .navbar-nav.sm-collapsible .nav-link .sub-arrow { + border-color: rgba(255, 255, 255, .1); +} +/* make sure there's room for the carets */ +.navbar-nav.sm-collapsible .has-submenu { + padding-right: 3em; +} +/* keep the carets properly positioned */ +.navbar-nav.sm-collapsible .nav-link, +.navbar-nav.sm-collapsible .dropdown-item { + position: relative; +} + +/* Nav carets in expanded mode */ +.navbar-nav:not(.sm-collapsible) .nav-link .sub-arrow { + display: inline-block; + width: 0; + height: 0; + margin-left: .255em; + vertical-align: .255em; + border-top: .3em solid; + border-right: .3em solid transparent; + border-left: .3em solid transparent; +} +/* point the arrows up for .fixed-bottom navbars */ +.fixed-bottom .navbar-nav:not(.sm-collapsible) .nav-link .sub-arrow, +.fixed-bottom .navbar-nav:not(.sm-collapsible):not([data-sm-skip]) .dropdown-toggle::after { + border-top: 0; + border-bottom: .3em solid; +} + +/* Dropdown carets in expanded mode */ +.navbar-nav:not(.sm-collapsible) .dropdown-item .sub-arrow, +.navbar-nav:not(.sm-collapsible):not([data-sm-skip]) .dropdown-menu .dropdown-toggle::after { + position: absolute; + top: 50%; + right: 0; + width: 0; + height: 0; + margin-top: -.3em; + margin-right: 1em; + border-top: .3em solid transparent; + border-bottom: .3em solid transparent; + border-left: .3em solid; +} +/* make sure there's room for the carets */ +.navbar-nav:not(.sm-collapsible) .dropdown-item.has-submenu { + padding-right: 2em; +} + + +/* Scrolling arrows for tall menus */ +.navbar-nav .scroll-up, +.navbar-nav .scroll-down { + position: absolute; + display: none; + visibility: hidden; + height: 20px; + overflow: hidden; + text-align: center; +} +.navbar-nav .scroll-up-arrow, +.navbar-nav .scroll-down-arrow { + position: absolute; + top: -2px; + left: 50%; + margin-left: -8px; + width: 0; + height: 0; + overflow: hidden; + border-top: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid; + border-left: 7px solid transparent; +} +.navbar-nav .scroll-down-arrow { + top: 6px; + border-top: 7px solid; + border-right: 7px solid transparent; + border-bottom: 7px solid transparent; + border-left: 7px solid transparent; +} + +/* Add some spacing for 2+ level sub menus in collapsible mode */ +.navbar-nav.sm-collapsible .dropdown-menu .dropdown-menu { + margin: .5em; +} + +/* Fix SmartMenus sub menus auto width (subMenusMinWidth/subMenusMaxWidth options) */ +.navbar-nav:not([data-sm-skip]) .dropdown-item { + white-space: normal; +} +.navbar-nav:not(.sm-collapsible) .sm-nowrap > li > .dropdown-item { + white-space: nowrap; + +} + +/*Add Menu*/ +.navbar .nav .menu-item .nav-link.add-menu { + text-transform: capitalize; + background-color: #ffffff; + padding: 0.313rem 1.3rem; + margin: 1.75rem 0; + text-align: center; + border-radius: 0px; +} +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link.add-menu { + margin: 1rem 0; +} +.navbar .nav .menu-item .nav-link.add-menu:hover, +.navbar .nav .menu-item .nav-link.add-menu:focus { + color: #fff; +} +.navbar .nav .menu-item .nav-link.add-menu:before { + font-family: "FontAwesome"; + content: "\f055"; + padding-right: 0.438rem; +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/css/bootstrap.css b/wp-content/themes/consultstreet/assets/css/bootstrap.css new file mode 100644 index 00000000..aa497136 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/bootstrap.css @@ -0,0 +1,8975 @@ +/*! + * Bootstrap v4.0.0 (https://getbootstrap.com) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +:root { + --blue: #007bff; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #dc3545; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #007bff; + --secondary: #6c757d; + --success: #28a745; + --info: #17a2b8; + --warning: #ffc107; + --danger: #dc3545; + --light: #f8f9fa; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: transparent; +} + +@-ms-viewport { + width: device-width; +} + +article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} + +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: left; + background-color: #fff; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 0.5rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin-bottom: .5rem; + margin-left: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +dfn { + font-style: italic; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +a { + color: #007bff; + text-decoration: none; + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:hover { + color: #0056b3; + text-decoration: underline; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + -ms-overflow-style: scrollbar; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg:not(:root) { + overflow: hidden; +} + +table { + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #6c757d; + text-align: left; + caption-side: bottom; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: .5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: .5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + margin-bottom: 0.5rem; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} + +h1, .h1 { + font-size: 2.5rem; +} + +h2, .h2 { + font-size: 2rem; +} + +h3, .h3 { + font-size: 1.75rem; +} + +h4, .h4 { + font-size: 1.5rem; +} + +h5, .h5 { + font-size: 1.25rem; +} + +h6, .h6 { + font-size: 1rem; +} + +.lead { + font-size: 1.25rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.25rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} + +.blockquote-footer::before { + content: "\2014 \00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #fff; + border: 1px solid #dee2e6; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #6c757d; +} + +code, +kbd, +pre, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #212529; + border-radius: 0.2rem; +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} + +pre { + display: block; + font-size: 87.5%; + color: #212529; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, +.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, +.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} + +.col-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} + +.col-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} + +.col-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} + +.col-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} + +.col-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} + +.col-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} + +.col-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} + +.col-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.333333%; +} + +.offset-2 { + margin-left: 16.666667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.333333%; +} + +.offset-5 { + margin-left: 41.666667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.333333%; +} + +.offset-8 { + margin-left: 66.666667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.333333%; +} + +.offset-11 { + margin-left: 91.666667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-sm-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-md-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-lg-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-xl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} + +.table { + width: 100%; + max-width: 100%; + margin-bottom: 1rem; + background-color: transparent; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #dee2e6; +} + +.table thead th { + vertical-align: bottom; + border-bottom: 2px solid #dee2e6; +} + +.table tbody + tbody { + border-top: 2px solid #dee2e6; +} + +.table .table { + background-color: #fff; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #dee2e6; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #dee2e6; +} + +.table-bordered thead th, +.table-bordered thead td { + border-bottom-width: 2px; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #b8daff; +} + +.table-hover .table-primary:hover { + background-color: #9fcdff; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #9fcdff; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #d6d8db; +} + +.table-hover .table-secondary:hover { + background-color: #c8cbcf; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #c8cbcf; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #c3e6cb; +} + +.table-hover .table-success:hover { + background-color: #b1dfbb; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1dfbb; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #bee5eb; +} + +.table-hover .table-info:hover { + background-color: #abdde5; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #abdde5; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #f5c6cb; +} + +.table-hover .table-danger:hover { + background-color: #f1b0b7; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #f1b0b7; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #fdfdfe; +} + +.table-hover .table-light:hover { + background-color: #ececf6; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ececf6; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c6c8ca; +} + +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #fff; + background-color: #212529; + border-color: #32383e; +} + +.table .thead-light th { + color: #495057; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.table-dark { + color: #fff; + background-color: #212529; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #32383e; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: 0.25rem; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #495057; + background-color: #fff; + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.form-control::-webkit-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-moz-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:disabled, .form-control[readonly] { + background-color: #e9ecef; + opacity: 1; +} + +select.form-control:not([size]):not([multiple]) { + height: calc(2.25rem + 2px); +} + +select.form-control:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.25rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.875rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, .input-group-sm > .form-control-plaintext.form-control, +.input-group-sm > .input-group-prepend > .form-control-plaintext.input-group-text, +.input-group-sm > .input-group-append > .form-control-plaintext.input-group-text, +.input-group-sm > .input-group-prepend > .form-control-plaintext.btn, +.input-group-sm > .input-group-append > .form-control-plaintext.btn, .form-control-plaintext.form-control-lg, .input-group-lg > .form-control-plaintext.form-control, +.input-group-lg > .input-group-prepend > .form-control-plaintext.input-group-text, +.input-group-lg > .input-group-append > .form-control-plaintext.input-group-text, +.input-group-lg > .input-group-prepend > .form-control-plaintext.btn, +.input-group-lg > .input-group-append > .form-control-plaintext.btn { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm, .input-group-sm > .form-control, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.form-control:not([size]):not([multiple]), +.input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), +.input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]), +.input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]), +.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]) { + height: calc(1.8125rem + 2px); +} + +.form-control-lg, .input-group-lg > .form-control, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]), +.input-group-lg > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), +.input-group-lg > .input-group-append > select.input-group-text:not([size]):not([multiple]), +.input-group-lg > .input-group-prepend > select.btn:not([size]):not([multiple]), +.input-group-lg > .input-group-append > select.btn:not([size]):not([multiple]) { + height: calc(2.875rem + 2px); +} + +.form-group { + margin-bottom: 1rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #28a745; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: .5rem; + margin-top: .1rem; + font-size: .875rem; + line-height: 1; + color: #fff; + background-color: rgba(40, 167, 69, 0.8); + border-radius: .2rem; +} + +.was-validated .form-control:valid, .form-control.is-valid, .was-validated +.custom-select:valid, +.custom-select.is-valid { + border-color: #28a745; +} + +.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated +.custom-select:valid:focus, +.custom-select.is-valid:focus { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, .was-validated +.custom-select:valid ~ .valid-feedback, +.was-validated +.custom-select:valid ~ .valid-tooltip, +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: #28a745; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label { + color: #28a745; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before { + background-color: #71dd8a; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before { + background-color: #34ce57; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { + border-color: #28a745; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label::before, .custom-file-input.is-valid ~ .custom-file-label::before { + border-color: inherit; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #dc3545; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: .5rem; + margin-top: .1rem; + font-size: .875rem; + line-height: 1; + color: #fff; + background-color: rgba(220, 53, 69, 0.8); + border-radius: .2rem; +} + +.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated +.custom-select:invalid, +.custom-select.is-invalid { + border-color: #dc3545; +} + +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated +.custom-select:invalid:focus, +.custom-select.is-invalid:focus { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, .was-validated +.custom-select:invalid ~ .invalid-feedback, +.was-validated +.custom-select:invalid ~ .invalid-tooltip, +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: #dc3545; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label { + color: #dc3545; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before { + background-color: #efa2a9; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before { + background-color: #e4606d; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { + border-color: #dc3545; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label::before, .custom-file-input.is-invalid ~ .custom-file-label::before { + border-color: inherit; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.form-inline { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group { + width: auto; + } + .form-inline .form-check { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.25rem; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +.btn:hover, .btn:focus { + text-decoration: none; +} + +.btn:focus, .btn.focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.btn.disabled, .btn:disabled { + opacity: 0.65; +} + +.btn:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active { + background-image: none; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.btn-primary:focus, .btn-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-primary.disabled, .btn-primary:disabled { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-secondary { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:hover { + color: #fff; + background-color: #5a6268; + border-color: #545b62; +} + +.btn-secondary:focus, .btn-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-secondary.disabled, .btn-secondary:disabled { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #fff; + background-color: #545b62; + border-color: #4e555b; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-success { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:hover { + color: #fff; + background-color: #218838; + border-color: #1e7e34; +} + +.btn-success:focus, .btn-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-success.disabled, .btn-success:disabled { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #1e7e34; + border-color: #1c7430; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-info { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:hover { + color: #fff; + background-color: #138496; + border-color: #117a8b; +} + +.btn-info:focus, .btn-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-info.disabled, .btn-info:disabled { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #117a8b; + border-color: #10707f; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-warning { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: #212529; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, .btn-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-warning.disabled, .btn-warning:disabled { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #212529; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-danger { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:hover { + color: #fff; + background-color: #c82333; + border-color: #bd2130; +} + +.btn-danger:focus, .btn-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-danger.disabled, .btn-danger:disabled { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #bd2130; + border-color: #b21f2d; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-light { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:hover { + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; +} + +.btn-light:focus, .btn-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-light.disabled, .btn-light:disabled { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #212529; + background-color: #dae0e5; + border-color: #d3d9df; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-dark { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:hover { + color: #fff; + background-color: #23272b; + border-color: #1d2124; +} + +.btn-dark:focus, .btn-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-dark.disabled, .btn-dark:disabled { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #1d2124; + border-color: #171a1d; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-primary { + color: #007bff; + background-color: transparent; + background-image: none; + border-color: #007bff; +} + +.btn-outline-primary:hover { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:focus, .btn-outline-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-primary.disabled, .btn-outline-primary:disabled { + color: #007bff; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-secondary { + color: #6c757d; + background-color: transparent; + background-image: none; + border-color: #6c757d; +} + +.btn-outline-secondary:hover { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:focus, .btn-outline-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #6c757d; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-success { + color: #28a745; + background-color: transparent; + background-image: none; + border-color: #28a745; +} + +.btn-outline-success:hover { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:focus, .btn-outline-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-success.disabled, .btn-outline-success:disabled { + color: #28a745; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-info { + color: #17a2b8; + background-color: transparent; + background-image: none; + border-color: #17a2b8; +} + +.btn-outline-info:hover { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:focus, .btn-outline-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-info.disabled, .btn-outline-info:disabled { + color: #17a2b8; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + background-color: transparent; + background-image: none; + border-color: #ffc107; +} + +.btn-outline-warning:hover { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, .btn-outline-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, .btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #dc3545; + background-color: transparent; + background-image: none; + border-color: #dc3545; +} + +.btn-outline-danger:hover { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:focus, .btn-outline-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-danger.disabled, .btn-outline-danger:disabled { + color: #dc3545; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-light { + color: #f8f9fa; + background-color: transparent; + background-image: none; + border-color: #f8f9fa; +} + +.btn-outline-light:hover { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:focus, .btn-outline-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-light.disabled, .btn-outline-light:disabled { + color: #f8f9fa; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-dark { + color: #343a40; + background-color: transparent; + background-image: none; + border-color: #343a40; +} + +.btn-outline-dark:hover { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:focus, .btn-outline-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-dark.disabled, .btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-link { + font-weight: 400; + color: #007bff; + background-color: transparent; +} + +.btn-link:hover { + color: #0056b3; + text-decoration: underline; + background-color: transparent; + border-color: transparent; +} + +.btn-link:focus, .btn-link.focus { + text-decoration: underline; + border-color: transparent; + box-shadow: none; +} + +.btn-link:disabled, .btn-link.disabled { + color: #6c757d; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, .btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + transition: opacity 0.15s linear; +} + +.fade.show { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.show { + display: block; +} + +tr.collapse.show { + display: table-row; +} + +tbody.collapse.show { + display: table-row-group; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height 0.35s ease; +} + +.dropup, +.dropdown { + position: relative; +} + +.dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 1rem; + color: #212529; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; +} + +.dropup .dropdown-menu { + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + width: 0; + height: 0; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, .dropdown-item:focus { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} + +.dropdown-item.active, .dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #007bff; +} + +.dropdown-item.disabled, .dropdown-item:disabled { + color: #6c757d; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0.5rem 1.5rem; + margin-bottom: 0; + font-size: 0.875rem; + color: #6c757d; + white-space: nowrap; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -webkit-box-flex: 0; + -ms-flex: 0 1 auto; + flex: 0 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group, +.btn-group-vertical .btn + .btn, +.btn-group-vertical .btn + .btn-group, +.btn-group-vertical .btn-group + .btn, +.btn-group-vertical .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after { + margin-left: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical .btn, +.btn-group-vertical .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file:focus { + z-index: 3; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::before { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label, +.input-group > .custom-file:not(:first-child) .custom-file-label::before { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.5rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + background-color: #007bff; +} + +.custom-control-input:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-control-input:active ~ .custom-control-label::before { + color: #fff; + background-color: #b3d7ff; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} + +.custom-control-label { + margin-bottom: 0; +} + +.custom-control-label::before { + position: absolute; + top: 0.25rem; + left: 0; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #dee2e6; +} + +.custom-control-label::after { + position: absolute; + top: 0.25rem; + left: 0; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background-repeat: no-repeat; + background-position: center center; + background-size: 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E"); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center; + background-size: 8px 10px; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #80bdff; + outline: 0; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(128, 189, 255, 0.5); +} + +.custom-select:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.custom-select[multiple], .custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} + +.custom-select::-ms-expand { + opacity: 0; +} + +.custom-select-sm { + height: calc(1.8125rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 75%; +} + +.custom-select-lg { + height: calc(2.875rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 125%; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.25rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-control { + border-color: #80bdff; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-file-input:focus ~ .custom-file-control::before { + border-color: #80bdff; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: calc(calc(2.25rem + 2px) - 1px * 2); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: 1px solid #ced4da; + border-radius: 0 0.25rem 0.25rem 0; +} + +.nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.5rem 1rem; +} + +.nav-link:hover, .nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #6c757d; +} + +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + border-color: #e9ecef #e9ecef #dee2e6; +} + +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #495057; + background-color: #fff; + border-color: #dee2e6 #dee2e6 #fff; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.25rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #007bff; +} + +.nav-fill .nav-item { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.navbar-toggler:hover, .navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } + .navbar-expand-sm .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } + .navbar-expand-md .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } + .navbar-expand-lg .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } + .navbar-expand-xl .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +.navbar-expand { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-expand .dropup .dropdown-menu { + top: auto; + bottom: 100%; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #fff; +} + +.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { + color: #fff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #fff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-text a { + color: #fff; +} + +.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { + color: #fff; +} + +.card { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.card-body { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} + +.card-deck { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-deck { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} + +.card-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-group { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:first-child .card-img-top, + .card-group > .card:first-child .card-header { + border-top-right-radius: 0; + } + .card-group > .card:first-child .card-img-bottom, + .card-group > .card:first-child .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:last-child .card-img-top, + .card-group > .card:last-child .card-header { + border-top-left-radius: 0; + } + .card-group > .card:last-child .card-img-bottom, + .card-group > .card:last-child .card-footer { + border-bottom-left-radius: 0; + } + .card-group > .card:only-child { + border-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-top, + .card-group > .card:only-child .card-header { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-bottom, + .card-group > .card:only-child .card-footer { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) { + border-radius: 0; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer { + border-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.breadcrumb { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + padding-left: 0.5rem; + color: #6c757d; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #6c757d; +} + +.pagination { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #007bff; + background-color: #fff; + border: 1px solid #dee2e6; +} + +.page-link:hover { + color: #0056b3; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.page-link:focus { + z-index: 2; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.page-link:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #dee2e6; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.25rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; +} + +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} + +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} + +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} + +.badge-primary { + color: #fff; + background-color: #007bff; +} + +.badge-primary[href]:hover, .badge-primary[href]:focus { + color: #fff; + text-decoration: none; + background-color: #0062cc; +} + +.badge-secondary { + color: #fff; + background-color: #6c757d; +} + +.badge-secondary[href]:hover, .badge-secondary[href]:focus { + color: #fff; + text-decoration: none; + background-color: #545b62; +} + +.badge-success { + color: #fff; + background-color: #28a745; +} + +.badge-success[href]:hover, .badge-success[href]:focus { + color: #fff; + text-decoration: none; + background-color: #1e7e34; +} + +.badge-info { + color: #fff; + background-color: #17a2b8; +} + +.badge-info[href]:hover, .badge-info[href]:focus { + color: #fff; + text-decoration: none; + background-color: #117a8b; +} + +.badge-warning { + color: #212529; + background-color: #ffc107; +} + +.badge-warning[href]:hover, .badge-warning[href]:focus { + color: #212529; + text-decoration: none; + background-color: #d39e00; +} + +.badge-danger { + color: #fff; + background-color: #dc3545; +} + +.badge-danger[href]:hover, .badge-danger[href]:focus { + color: #fff; + text-decoration: none; + background-color: #bd2130; +} + +.badge-light { + color: #212529; + background-color: #f8f9fa; +} + +.badge-light[href]:hover, .badge-light[href]:focus { + color: #212529; + text-decoration: none; + background-color: #dae0e5; +} + +.badge-dark { + color: #fff; + background-color: #343a40; +} + +.badge-dark[href]:hover, .badge-dark[href]:focus { + color: #fff; + text-decoration: none; + background-color: #1d2124; +} + +.jumbotron { + padding: 2rem 1rem; + margin-bottom: 2rem; + background-color: #e9ecef; + border-radius: 0.3rem; +} + +@media (min-width: 576px) { + .jumbotron { + padding: 4rem 2rem; + } +} + +.jumbotron-fluid { + padding-right: 0; + padding-left: 0; + border-radius: 0; +} + +.alert { + position: relative; + padding: 0.75rem 1.25rem; + margin-bottom: 1rem; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.alert-heading { + color: inherit; +} + +.alert-link { + font-weight: 700; +} + +.alert-dismissible { + padding-right: 4rem; +} + +.alert-dismissible .close { + position: absolute; + top: 0; + right: 0; + padding: 0.75rem 1.25rem; + color: inherit; +} + +.alert-primary { + color: #004085; + background-color: #cce5ff; + border-color: #b8daff; +} + +.alert-primary hr { + border-top-color: #9fcdff; +} + +.alert-primary .alert-link { + color: #002752; +} + +.alert-secondary { + color: #383d41; + background-color: #e2e3e5; + border-color: #d6d8db; +} + +.alert-secondary hr { + border-top-color: #c8cbcf; +} + +.alert-secondary .alert-link { + color: #202326; +} + +.alert-success { + color: #155724; + background-color: #d4edda; + border-color: #c3e6cb; +} + +.alert-success hr { + border-top-color: #b1dfbb; +} + +.alert-success .alert-link { + color: #0b2e13; +} + +.alert-info { + color: #0c5460; + background-color: #d1ecf1; + border-color: #bee5eb; +} + +.alert-info hr { + border-top-color: #abdde5; +} + +.alert-info .alert-link { + color: #062c33; +} + +.alert-warning { + color: #856404; + background-color: #fff3cd; + border-color: #ffeeba; +} + +.alert-warning hr { + border-top-color: #ffe8a1; +} + +.alert-warning .alert-link { + color: #533f03; +} + +.alert-danger { + color: #721c24; + background-color: #f8d7da; + border-color: #f5c6cb; +} + +.alert-danger hr { + border-top-color: #f1b0b7; +} + +.alert-danger .alert-link { + color: #491217; +} + +.alert-light { + color: #818182; + background-color: #fefefe; + border-color: #fdfdfe; +} + +.alert-light hr { + border-top-color: #ececf6; +} + +.alert-light .alert-link { + color: #686868; +} + +.alert-dark { + color: #1b1e21; + background-color: #d6d8d9; + border-color: #c6c8ca; +} + +.alert-dark hr { + border-top-color: #b9bbbe; +} + +.alert-dark .alert-link { + color: #040505; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +.progress { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.75rem; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.progress-bar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + color: #fff; + text-align: center; + background-color: #007bff; + transition: width 0.6s ease; +} + +.progress-bar-striped { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} + +.media { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; +} + +.media-body { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.list-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} + +.list-group-item-action { + width: 100%; + color: #495057; + text-align: inherit; +} + +.list-group-item-action:hover, .list-group-item-action:focus { + color: #495057; + text-decoration: none; + background-color: #f8f9fa; +} + +.list-group-item-action:active { + color: #212529; + background-color: #e9ecef; +} + +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.125); +} + +.list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.list-group-item:hover, .list-group-item:focus { + z-index: 1; + text-decoration: none; +} + +.list-group-item.disabled, .list-group-item:disabled { + color: #6c757d; + background-color: #fff; +} + +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} + +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} + +.list-group-flush:last-child .list-group-item:last-child { + border-bottom: 0; +} + +.list-group-item-primary { + color: #004085; + background-color: #b8daff; +} + +.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { + color: #004085; + background-color: #9fcdff; +} + +.list-group-item-primary.list-group-item-action.active { + color: #fff; + background-color: #004085; + border-color: #004085; +} + +.list-group-item-secondary { + color: #383d41; + background-color: #d6d8db; +} + +.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { + color: #383d41; + background-color: #c8cbcf; +} + +.list-group-item-secondary.list-group-item-action.active { + color: #fff; + background-color: #383d41; + border-color: #383d41; +} + +.list-group-item-success { + color: #155724; + background-color: #c3e6cb; +} + +.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { + color: #155724; + background-color: #b1dfbb; +} + +.list-group-item-success.list-group-item-action.active { + color: #fff; + background-color: #155724; + border-color: #155724; +} + +.list-group-item-info { + color: #0c5460; + background-color: #bee5eb; +} + +.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { + color: #0c5460; + background-color: #abdde5; +} + +.list-group-item-info.list-group-item-action.active { + color: #fff; + background-color: #0c5460; + border-color: #0c5460; +} + +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} + +.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { + color: #856404; + background-color: #ffe8a1; +} + +.list-group-item-warning.list-group-item-action.active { + color: #fff; + background-color: #856404; + border-color: #856404; +} + +.list-group-item-danger { + color: #721c24; + background-color: #f5c6cb; +} + +.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { + color: #721c24; + background-color: #f1b0b7; +} + +.list-group-item-danger.list-group-item-action.active { + color: #fff; + background-color: #721c24; + border-color: #721c24; +} + +.list-group-item-light { + color: #818182; + background-color: #fdfdfe; +} + +.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { + color: #818182; + background-color: #ececf6; +} + +.list-group-item-light.list-group-item-action.active { + color: #fff; + background-color: #818182; + border-color: #818182; +} + +.list-group-item-dark { + color: #1b1e21; + background-color: #c6c8ca; +} + +.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { + color: #1b1e21; + background-color: #b9bbbe; +} + +.list-group-item-dark.list-group-item-action.active { + color: #fff; + background-color: #1b1e21; + border-color: #1b1e21; +} + +.close { + float: right; + font-size: 1.5rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: .5; +} + +.close:hover, .close:focus { + color: #000; + text-decoration: none; + opacity: .75; +} + +.close:not(:disabled):not(.disabled) { + cursor: pointer; +} + +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + display: none; + overflow: hidden; + outline: 0; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} + +.modal.fade .modal-dialog { + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -25%); + transform: translate(0, -25%); +} + +.modal.show .modal-dialog { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog-centered { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - (0.5rem * 2)); +} + +.modal-content { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + outline: 0; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop.show { + opacity: 0.5; +} + +.modal-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem; + border-bottom: 1px solid #e9ecef; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.modal-header .close { + padding: 1rem; + margin: -1rem -1rem -1rem auto; +} + +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} + +.modal-body { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} + +.modal-footer { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #e9ecef; +} + +.modal-footer > :not(:first-child) { + margin-left: .25rem; +} + +.modal-footer > :not(:last-child) { + margin-right: .25rem; +} + +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} + +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-centered { + min-height: calc(100% - (1.75rem * 2)); + } + .modal-sm { + max-width: 300px; + } +} + +@media (min-width: 992px) { + .modal-lg { + max-width: 800px; + } +} + +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + opacity: 0; +} + +.tooltip.show { + opacity: 0.9; +} + +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} + +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { + padding: 0.4rem 0; +} + +.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { + bottom: 0; +} + +.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { + padding: 0 0.4rem; +} + +.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { + padding: 0.4rem 0; +} + +.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { + top: 0; +} + +.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { + padding: 0 0.4rem; +} + +.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} + +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 0.25rem; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; +} + +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} + +.popover .arrow::before, .popover .arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-popover-top, .bs-popover-auto[x-placement^="top"] { + margin-bottom: 0.5rem; +} + +.bs-popover-top .arrow, .bs-popover-auto[x-placement^="top"] .arrow { + bottom: calc((0.5rem + 1px) * -1); +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before, +.bs-popover-top .arrow::after, .bs-popover-auto[x-placement^="top"] .arrow::after { + border-width: 0.5rem 0.5rem 0; +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before { + bottom: 0; + border-top-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-top .arrow::after, .bs-popover-auto[x-placement^="top"] .arrow::after { + bottom: 1px; + border-top-color: #fff; +} + +.bs-popover-right, .bs-popover-auto[x-placement^="right"] { + margin-left: 0.5rem; +} + +.bs-popover-right .arrow, .bs-popover-auto[x-placement^="right"] .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before, +.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after { + border-width: 0.5rem 0.5rem 0.5rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before { + left: 0; + border-right-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after { + left: 1px; + border-right-color: #fff; +} + +.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] { + margin-top: 0.5rem; +} + +.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^="bottom"] .arrow { + top: calc((0.5rem + 1px) * -1); +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before, +.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after { + border-width: 0 0.5rem 0.5rem 0.5rem; +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before { + top: 0; + border-bottom-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after { + top: 1px; + border-bottom-color: #fff; +} + +.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} + +.bs-popover-left, .bs-popover-auto[x-placement^="left"] { + margin-right: 0.5rem; +} + +.bs-popover-left .arrow, .bs-popover-auto[x-placement^="left"] .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before, +.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after { + border-width: 0.5rem 0 0.5rem 0.5rem; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before { + right: 0; + border-left-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after { + right: 1px; + border-left-color: #fff; +} + +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + color: inherit; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} + +.popover-header:empty { + display: none; +} + +.popover-body { + padding: 0.5rem 0.75rem; + color: #212529; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-item { + position: relative; + display: none; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + width: 100%; + transition: -webkit-transform 0.6s ease; + transition: transform 0.6s ease; + transition: transform 0.6s ease, -webkit-transform 0.6s ease; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; +} + +.carousel-item.active, +.carousel-item-next, +.carousel-item-prev { + display: block; +} + +.carousel-item-next, +.carousel-item-prev { + position: absolute; + top: 0; +} + +.carousel-item-next.carousel-item-left, +.carousel-item-prev.carousel-item-right { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next.carousel-item-left, + .carousel-item-prev.carousel-item-right { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.carousel-item-next, +.active.carousel-item-right { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next, + .active.carousel-item-right { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.carousel-item-prev, +.active.carousel-item-left { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-prev, + .active.carousel-item-left { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.carousel-control-prev, +.carousel-control-next { + position: absolute; + top: 0; + bottom: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: 15%; + color: #fff; + text-align: center; + opacity: 0.5; +} + +.carousel-control-prev:hover, .carousel-control-prev:focus, +.carousel-control-next:hover, +.carousel-control-next:focus { + color: #fff; + text-decoration: none; + outline: 0; + opacity: .9; +} + +.carousel-control-prev { + left: 0; +} + +.carousel-control-next { + right: 0; +} + +.carousel-control-prev-icon, +.carousel-control-next-icon { + display: inline-block; + width: 20px; + height: 20px; + background: transparent no-repeat center center; + background-size: 100% 100%; +} + +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); +} + +.carousel-control-next-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"); +} + +.carousel-indicators { + position: absolute; + right: 0; + bottom: 10px; + left: 0; + z-index: 15; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + padding-left: 0; + margin-right: 15%; + margin-left: 15%; + list-style: none; +} + +.carousel-indicators li { + position: relative; + -webkit-box-flex: 0; + -ms-flex: 0 1 auto; + flex: 0 1 auto; + width: 30px; + height: 3px; + margin-right: 3px; + margin-left: 3px; + text-indent: -999px; + background-color: rgba(255, 255, 255, 0.5); +} + +.carousel-indicators li::before { + position: absolute; + top: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators li::after { + position: absolute; + bottom: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators .active { + background-color: #fff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: #007bff !important; +} + +a.bg-primary:hover, a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus { + background-color: #0062cc !important; +} + +.bg-secondary { + background-color: #6c757d !important; +} + +a.bg-secondary:hover, a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus { + background-color: #545b62 !important; +} + +.bg-success { + background-color: #28a745 !important; +} + +a.bg-success:hover, a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus { + background-color: #1e7e34 !important; +} + +.bg-info { + background-color: #17a2b8 !important; +} + +a.bg-info:hover, a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus { + background-color: #117a8b !important; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +a.bg-warning:hover, a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus { + background-color: #d39e00 !important; +} + +.bg-danger { + background-color: #dc3545 !important; +} + +a.bg-danger:hover, a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus { + background-color: #bd2130 !important; +} + +.bg-light { + background-color: #f8f9fa !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #dae0e5 !important; +} + +.bg-dark { + background-color: #343a40 !important; +} + +a.bg-dark:hover, a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus { + background-color: #1d2124 !important; +} + +.bg-white { + background-color: #fff !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: 1px solid #dee2e6 !important; +} + +.border-top { + border-top: 1px solid #dee2e6 !important; +} + +.border-right { + border-right: 1px solid #dee2e6 !important; +} + +.border-bottom { + border-bottom: 1px solid #dee2e6 !important; +} + +.border-left { + border-left: 1px solid #dee2e6 !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.border-primary { + border-color: #007bff !important; +} + +.border-secondary { + border-color: #6c757d !important; +} + +.border-success { + border-color: #28a745 !important; +} + +.border-info { + border-color: #17a2b8 !important; +} + +.border-warning { + border-color: #ffc107 !important; +} + +.border-danger { + border-color: #dc3545 !important; +} + +.border-light { + border-color: #f8f9fa !important; +} + +.border-dark { + border-color: #343a40 !important; +} + +.border-white { + border-color: #fff !important; +} + +.rounded { + border-radius: 0.25rem !important; +} + +.rounded-top { + border-top-left-radius: 0.25rem !important; + border-top-right-radius: 0.25rem !important; +} + +.rounded-right { + border-top-right-radius: 0.25rem !important; + border-bottom-right-radius: 0.25rem !important; +} + +.rounded-bottom { + border-bottom-right-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-left { + border-top-left-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.embed-responsive { + position: relative; + display: block; + width: 100%; + padding: 0; + overflow: hidden; +} + +.embed-responsive::before { + display: block; + content: ""; +} + +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} + +.embed-responsive-21by9::before { + padding-top: 42.857143%; +} + +.embed-responsive-16by9::before { + padding-top: 56.25%; +} + +.embed-responsive-4by3::before { + padding-top: 75%; +} + +.embed-responsive-1by1::before { + padding-top: 100%; +} + +.flex-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.justify-content-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-sm-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-md-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-lg-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-xl-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} + +.float-none { + float: none !important; +} + +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} + +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} + +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} + +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + border: 0; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; + -webkit-clip-path: none; + clip-path: none; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.m-0 { + margin: 0 !important; +} + +.mt-0, +.my-0 { + margin-top: 0 !important; +} + +.mr-0, +.mx-0 { + margin-right: 0 !important; +} + +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 { + margin-left: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} + +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} + +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} + +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} + +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} + +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} + +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.mt-3, +.my-3 { + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} + +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.mt-5, +.my-5 { + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} + +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.pt-0, +.py-0 { + padding-top: 0 !important; +} + +.pr-0, +.px-0 { + padding-right: 0 !important; +} + +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 { + padding-left: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} + +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} + +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} + +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} + +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} + +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} + +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.pt-3, +.py-3 { + padding-top: 1rem !important; +} + +.pr-3, +.px-3 { + padding-right: 1rem !important; +} + +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 { + padding-left: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.pt-5, +.py-5 { + padding-top: 3rem !important; +} + +.pr-5, +.px-5 { + padding-right: 3rem !important; +} + +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 { + padding-left: 3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mt-auto, +.my-auto { + margin-top: auto !important; +} + +.mr-auto, +.mx-auto { + margin-right: auto !important; +} + +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto { + margin-left: auto !important; +} + +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} + +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} + +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} + +.text-justify { + text-align: justify !important; +} + +.text-nowrap { + white-space: nowrap !important; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-left { + text-align: left !important; +} + +.text-right { + text-align: right !important; +} + +.text-center { + text-align: center !important; +} + +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} + +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} + +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} + +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.font-weight-light { + font-weight: 300 !important; +} + +.font-weight-normal { + font-weight: 400 !important; +} + +.font-weight-bold { + font-weight: 700 !important; +} + +.font-italic { + font-style: italic !important; +} + +.text-white { + color: #fff !important; +} + +.text-primary { + color: #007bff !important; +} + +a.text-primary:hover, a.text-primary:focus { + color: #0062cc !important; +} + +.text-secondary { + color: #6c757d !important; +} + +a.text-secondary:hover, a.text-secondary:focus { + color: #545b62 !important; +} + +.text-success { + color: #28a745 !important; +} + +a.text-success:hover, a.text-success:focus { + color: #1e7e34 !important; +} + +.text-info { + color: #17a2b8 !important; +} + +a.text-info:hover, a.text-info:focus { + color: #117a8b !important; +} + +.text-warning { + color: #ffc107 !important; +} + +a.text-warning:hover, a.text-warning:focus { + color: #d39e00 !important; +} + +.text-danger { + color: #dc3545 !important; +} + +a.text-danger:hover, a.text-danger:focus { + color: #bd2130 !important; +} + +.text-light { + color: #f8f9fa !important; +} + +a.text-light:hover, a.text-light:focus { + color: #dae0e5 !important; +} + +.text-dark { + color: #343a40 !important; +} + +a.text-dark:hover, a.text-dark:focus { + color: #1d2124 !important; +} + +.text-muted { + color: #6c757d !important; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +@media print { + *, + *::before, + *::after { + text-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +/*# sourceMappingURL=bootstrap.css.map */ \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.css b/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.css new file mode 100644 index 00000000..ee906a81 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.css @@ -0,0 +1,2337 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +/* makes the font 33% larger relative to the icon container */ +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: .3em; +} +.fa.fa-pull-right { + margin-left: .3em; +} +/* Deprecated as of 4.4.0 */ +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: .3em; +} +.fa.pull-right { + margin-left: .3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #ffffff; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-resistance:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-wheelchair-alt:before { + content: "\f29b"; +} +.fa-question-circle-o:before { + content: "\f29c"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-volume-control-phone:before { + content: "\f2a0"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asl-interpreting:before, +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-deafness:before, +.fa-hard-of-hearing:before, +.fa-deaf:before { + content: "\f2a4"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-signing:before, +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-google-plus-circle:before, +.fa-google-plus-official:before { + content: "\f2b3"; +} +.fa-fa:before, +.fa-font-awesome:before { + content: "\f2b4"; +} +.fa-handshake-o:before { + content: "\f2b5"; +} +.fa-envelope-open:before { + content: "\f2b6"; +} +.fa-envelope-open-o:before { + content: "\f2b7"; +} +.fa-linode:before { + content: "\f2b8"; +} +.fa-address-book:before { + content: "\f2b9"; +} +.fa-address-book-o:before { + content: "\f2ba"; +} +.fa-vcard:before, +.fa-address-card:before { + content: "\f2bb"; +} +.fa-vcard-o:before, +.fa-address-card-o:before { + content: "\f2bc"; +} +.fa-user-circle:before { + content: "\f2bd"; +} +.fa-user-circle-o:before { + content: "\f2be"; +} +.fa-user-o:before { + content: "\f2c0"; +} +.fa-id-badge:before { + content: "\f2c1"; +} +.fa-drivers-license:before, +.fa-id-card:before { + content: "\f2c2"; +} +.fa-drivers-license-o:before, +.fa-id-card-o:before { + content: "\f2c3"; +} +.fa-quora:before { + content: "\f2c4"; +} +.fa-free-code-camp:before { + content: "\f2c5"; +} +.fa-telegram:before { + content: "\f2c6"; +} +.fa-thermometer-4:before, +.fa-thermometer:before, +.fa-thermometer-full:before { + content: "\f2c7"; +} +.fa-thermometer-3:before, +.fa-thermometer-three-quarters:before { + content: "\f2c8"; +} +.fa-thermometer-2:before, +.fa-thermometer-half:before { + content: "\f2c9"; +} +.fa-thermometer-1:before, +.fa-thermometer-quarter:before { + content: "\f2ca"; +} +.fa-thermometer-0:before, +.fa-thermometer-empty:before { + content: "\f2cb"; +} +.fa-shower:before { + content: "\f2cc"; +} +.fa-bathtub:before, +.fa-s15:before, +.fa-bath:before { + content: "\f2cd"; +} +.fa-podcast:before { + content: "\f2ce"; +} +.fa-window-maximize:before { + content: "\f2d0"; +} +.fa-window-minimize:before { + content: "\f2d1"; +} +.fa-window-restore:before { + content: "\f2d2"; +} +.fa-times-rectangle:before, +.fa-window-close:before { + content: "\f2d3"; +} +.fa-times-rectangle-o:before, +.fa-window-close-o:before { + content: "\f2d4"; +} +.fa-bandcamp:before { + content: "\f2d5"; +} +.fa-grav:before { + content: "\f2d6"; +} +.fa-etsy:before { + content: "\f2d7"; +} +.fa-imdb:before { + content: "\f2d8"; +} +.fa-ravelry:before { + content: "\f2d9"; +} +.fa-eercast:before { + content: "\f2da"; +} +.fa-microchip:before { + content: "\f2db"; +} +.fa-snowflake-o:before { + content: "\f2dc"; +} +.fa-superpowers:before { + content: "\f2dd"; +} +.fa-wpexplorer:before { + content: "\f2de"; +} +.fa-meetup:before { + content: "\f2e0"; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.min.css b/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.min.css new file mode 100644 index 00000000..540440ce --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/font-awesome/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/FontAwesome.otf b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/FontAwesome.otf new file mode 100644 index 00000000..401ec0f3 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/FontAwesome.otf differ diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.eot b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.eot differ diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.svg b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.ttf b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.ttf differ diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff new file mode 100644 index 00000000..400014a4 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff differ diff --git a/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff2 b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/css/font-awesome/fonts/fontawesome-webfont.woff2 differ diff --git a/wp-content/themes/consultstreet/assets/css/owl.carousel.css b/wp-content/themes/consultstreet/assets/css/owl.carousel.css new file mode 100644 index 00000000..40237bc6 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/owl.carousel.css @@ -0,0 +1,186 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +/* + * Owl Carousel - Core + */ +.owl-carousel { + display: none; + width: 100%; + -webkit-tap-highlight-color: transparent; + /* position relative and z-index fix webkit rendering fonts issue */ + position: relative; + z-index: 1; } + .owl-carousel .owl-stage { + position: relative; + -ms-touch-action: pan-Y; + touch-action: manipulation; + -moz-backface-visibility: hidden; + /* fix firefox animation glitch */ } + .owl-carousel .owl-stage:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; } + .owl-carousel .owl-stage-outer { + position: relative; + overflow: hidden; + /* fix for flashing background */ + -webkit-transform: translate3d(0px, 0px, 0px); } + .owl-carousel .owl-wrapper, + .owl-carousel .owl-item { + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); } + .owl-carousel .owl-item { + position: relative; + min-height: 1px; + float: left; + -webkit-backface-visibility: hidden; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; } + .owl-carousel .owl-item img { + display: block; + width: 100%; } + .owl-carousel .owl-nav.disabled, + .owl-carousel .owl-dots.disabled { + display: none; } + .owl-carousel .owl-nav .owl-prev, + .owl-carousel .owl-nav .owl-next, + .owl-carousel .owl-dot { + cursor: pointer; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + .owl-carousel .owl-nav button.owl-prev, + .owl-carousel .owl-nav button.owl-next, + .owl-carousel button.owl-dot { + background: none; + color: inherit; + border: none; + padding: 0 !important; + font: inherit; } + .owl-carousel.owl-loaded { + display: block; } + .owl-carousel.owl-loading { + opacity: 0; + display: block; } + .owl-carousel.owl-hidden { + opacity: 0; } + .owl-carousel.owl-refresh .owl-item { + visibility: hidden; } + .owl-carousel.owl-drag .owl-item { + -ms-touch-action: pan-y; + touch-action: pan-y; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + .owl-carousel.owl-grab { + cursor: move; + cursor: grab; } + .owl-carousel.owl-rtl { + direction: rtl; } + .owl-carousel.owl-rtl .owl-item { + float: right; } + +/* No Js */ +.no-js .owl-carousel { + display: block; } + +/* + * Owl Carousel - Animate Plugin + */ +.owl-carousel .animated { + animation-duration: 1000ms; + animation-fill-mode: both; } + +.owl-carousel .owl-animated-in { + z-index: 0; } + +.owl-carousel .owl-animated-out { + z-index: 1; } + +.owl-carousel .fadeOut { + animation-name: fadeOut; } + +@keyframes fadeOut { + 0% { + opacity: 1; } + 100% { + opacity: 0; } } + +/* + * Owl Carousel - Auto Height Plugin + */ +.owl-height { + transition: height 500ms ease-in-out; } + +/* + * Owl Carousel - Lazy Load Plugin + */ +.owl-carousel .owl-item { + /** + This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong + calculation of the height of the owl-item that breaks page layouts + */ } + .owl-carousel .owl-item .owl-lazy { + opacity: 0; + transition: opacity 400ms ease; } + .owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) { + max-height: 0; } + .owl-carousel .owl-item img.owl-lazy { + transform-style: preserve-3d; } + +/* + * Owl Carousel - Video Plugin + */ +.owl-carousel .owl-video-wrapper { + position: relative; + height: 100%; + background: #000; } + +.owl-carousel .owl-video-play-icon { + position: absolute; + height: 80px; + width: 80px; + left: 50%; + top: 50%; + margin-left: -40px; + margin-top: -40px; + background: url("owl.video.play.png") no-repeat; + cursor: pointer; + z-index: 1; + -webkit-backface-visibility: hidden; + transition: transform 100ms ease; } + +.owl-carousel .owl-video-play-icon:hover { + -ms-transform: scale(1.3, 1.3); + transform: scale(1.3, 1.3); } + +.owl-carousel .owl-video-playing .owl-video-tn, +.owl-carousel .owl-video-playing .owl-video-play-icon { + display: none; } + +.owl-carousel .owl-video-tn { + opacity: 0; + height: 100%; + background-position: center center; + background-repeat: no-repeat; + background-size: contain; + transition: opacity 400ms ease; } + +.owl-carousel .owl-video-frame { + position: relative; + z-index: 1; + height: 100%; + width: 100%; } diff --git a/wp-content/themes/consultstreet/assets/css/theme-default.css b/wp-content/themes/consultstreet/assets/css/theme-default.css new file mode 100644 index 00000000..55ef524c --- /dev/null +++ b/wp-content/themes/consultstreet/assets/css/theme-default.css @@ -0,0 +1,752 @@ +/* +theme-default.css +*/ + + +/*-------------------------------------------------- +=>> Common - Begining Css +--------------------------------------------------*/ + + +blockquote { + border-left: 3px solid #ff5d20; +} +.wp-block-pullquote blockquote { + border-left: 0; + border-top: 3px solid #ff5d20; +} +td a { + color: #ff5d20; +} +button, +input[type="button"], +input[type="submit"] { + background-color: #ff5d20; +} +.btn-default, +.btn-default-dark { + background: #ff5d20; +} +.btn-border, +.btn-border:hover, +.btn-border:focus { + border: 2px solid #ff5d20; +} +.btn-border:hover, +.btn-border:focus { + background: #ff5d20; +} + +/*-------------------------------------------------- +=>> Navbar +--------------------------------------------------*/ + +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border { + border: 2px solid #ff5d20; +} +.navbar.navbar-header-wrap .nav .btn-border:hover, +.navbar.navbar-header-wrap .nav .btn-border:focus, +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border:hover, +.navbar.navbar-header-wrap.header-fixed-top .nav .btn-border:focus { + background: #ff5d20; + color: #ffffff; + border: 2px solid #ff5d20; +} +.navbar .nav .menu-item:hover .nav-link { + color: #ff5d20; + background-color: transparent; +} +.navbar .nav .menu-item.active .nav-link { + color: #fff; + background-color: #ff5d20; +} +.navbar .nav .dropdown-item:focus, +.navbar .nav .dropdown-item:hover { + color: #ff5d20; +} +@media (min-width: 992px) { + .navbar .nav .dropdown-menu { + border-bottom: 3px solid #ff5d20 !important; + } +} +@media (max-width: 991px) { + .navbar .nav .menu-item.active .nav-link { + color: #ff5d20; + background-color: transparent; + } +} +/*Add Menu*/ +.navbar .nav .menu-item .nav-link.add-menu { + border: 2px solid #ff5d20; +} +.navbar .nav .menu-item .nav-link.add-menu:hover, +.navbar .nav .menu-item .nav-link.add-menu:focus { + background-color: #ff5d20; +} +.navbar.navbar-header-wrap .nav .menu-item .nav-link.add-menu { + background: transparent; + border: 2px solid #fff; +} +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link.add-menu { + border: 2px solid #ff5d20; +} +.navbar.navbar-header-wrap .nav .menu-item .nav-link.add-menu:hover, +.navbar.navbar-header-wrap .nav .menu-item .nav-link.add-menu:focus, +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link.add-menu:hover, +.navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link.add-menu:focus { + background: #ff5d20; + color: #ffffff !important; + border: 2px solid #ff5d20; +} +.navbar.navbar-header-wrap .nav .menu-item .nav-link:hover, +.navbar.navbar-header-wrap .nav .menu-item .nav-link:focus { + color: #ff5d20 !important; +} +.navbar.navbar-header-wrap .nav .menu-item.active .nav-link { + color: #fff !important; +} +@media (max-width: 991px) { + .navbar.navbar-header-wrap .nav .menu-item .nav-link:hover, + .navbar.navbar-header-wrap .nav .menu-item .nav-link:focus, + .navbar.navbar-header-wrap .nav .menu-item.active .nav-link { + color: #ff5d20 !important; + } +} +.navbar .nav .dropdown-menu .menu-item.active .dropdown-item { + color: #ff5d20 !important; +} +.navbar .nav .dropdown-menu > .menu-item > ul.dropdown-menu .menu-item.active .dropdown-item { + color: #ff5d20 !important; +} + +/*Multilevel Dropdown Active Colors*/ + +.navbar .nav .dropdown-menu > .menu-item > ul.dropdown-menu > .menu-item > .dropdown-item:hover, +.navbar .nav .dropdown-menu > .menu-item > ul.dropdown-menu > .menu-item > .dropdown-item:focus { + color: #ff5d20 !important; +} +.navbar .nav .dropdown-menu .menu-item.active .dropdown-item { + color: #ff5d20 !important; +} +.navbar .nav .dropdown-menu > .menu-item > ul.dropdown-menu .menu-item.active .dropdown-item { + color: #ff5d20 !important; +} + + +/*-------------------------------------------------- +=>> Search Popup Box For Header +--------------------------------------------------*/ + +#search-popup .btn { + background-color: #ff5d20; + border-color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Site Header Contact Info +--------------------------------------------------*/ +.site-header { + background: #ff5d20; +} +.custom-social-icons li a.social-hover:hover, +.custom-social-icons li a.social-hover:focus { + color: #fff; +} + +/*-------------------------------------------------- +=>> Theme Combined Classes +--------------------------------------------------*/ + +.theme-bg-default { background-color: #ff5d20 !important; } +.text-default { color: #ff5d20 !important; } + +.entry-header .entry-title a:hover, +.entry-header .entry-title a:focus { + color: #ff5d20 !important; +} + +/*-------------------------------------------------- +=>> WooCommerce Menubar Cart Info +--------------------------------------------------*/ + +.woo-cart-block > a .cart-total { + background: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Main Slider +--------------------------------------------------*/ + +#theme-main-slider.owl-carousel .owl-prev, +#theme-main-slider.owl-carousel .owl-next { + background-color: rgba(255, 93, 32,.6); + border: 2px solid rgba(255, 93, 32,.1); + color: #fff; +} +#theme-main-slider.owl-carousel .owl-prev:hover, +#theme-main-slider.owl-carousel .owl-prev:focus, +#theme-main-slider.owl-carousel .owl-next:hover, +#theme-main-slider.owl-carousel .owl-next:focus { + background-color: rgba(255, 93, 32,1); + border: 2px solid rgba(255, 93, 32,1); + color: #fff; +} + +/*-------------------------------------------------- +=>> Slider Next/Prev Button Styles +--------------------------------------------------*/ + +.owl-carousel .owl-prev:hover, +.owl-carousel .owl-prev:focus, +.owl-carousel .owl-next:hover, +.owl-carousel .owl-next:focus { + background-color: rgba(255, 93, 32, 1); + border: 2px solid rgba(255, 93, 32, 1); +} +.owl-carousel .owl-prev:hover, +.owl-carousel .owl-prev:focus, +.owl-carousel .owl-next:hover, +.owl-carousel .owl-next:focus, +.theme-sponsors .owl-carousel .owl-prev:hover, +.theme-sponsors .owl-carousel .owl-next:hover { + background-color: #ff5d20; +} +.owl-theme .owl-dots .owl-dot.active span { + background-color: #ff5d20; +} +.testimonial.bg-default .owl-theme .owl-dots .owl-dot.active span { + background-color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Section Title & Subtitle +--------------------------------------------------*/ + +.theme-separator-line-horrizontal-full { + background-color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Info Area +--------------------------------------------------*/ + +.theme-info-area i.icon { + color: #ff5d20; +} +.theme-info-area .media { + border-bottom: 3px solid #ff5d20; +} + + +/*-------------------------------------------------- +=>> Theme Service Area +--------------------------------------------------*/ + +.theme-services .service-content:hover { + background-color: #ff5d20; +} +.theme-services .service-content-thumbnail a { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Project Area +--------------------------------------------------*/ + +.theme-project .theme-project-content a.popup:hover, +.theme-project .theme-project-content a.popup:focus { + background-color: #ff5d20; + color: #fff; +} + +/*-------------------------------------------------- +=>> Theme Testimonial Area +--------------------------------------------------*/ + +.theme-testimonial-block .position { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Contact Page Area +--------------------------------------------------*/ + +.theme-contact-widget { + border-bottom: 3px solid #ff5d20; +} +.theme-contact-widget i.fa { + color: #ff5d20; +} +input[type="text"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +input[type="search"]:focus, +input[type="number"]:focus, +input[type="tel"]:focus, +input[type="range"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="week"]:focus, +input[type="time"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="color"]:focus, +textarea:focus, +select:focus, +.form-control:focus { + border-color: rgb(255, 93, 32); + box-shadow: 0 0 5px rgba(255, 93, 32, 1) !important; +} + + +/*-------------------------------------------------- +=>> 404 Error Page Area +--------------------------------------------------*/ + +.theme-error-page .error-title b, +.theme-error-page .error-title i { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Blog Sidebar +--------------------------------------------------*/ + +.entry-content a { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Blog Meta Info +--------------------------------------------------*/ + +.entry-meta .posted-on::before, +.entry-meta .author::before, +.entry-meta .cat-links::before, +.entry-meta .comment-links::before { + color: #ff5d20; +} +.entry-meta a:hover, +.entry-meta a:focus { + color: #ff5d20 !important; +} +.entry-meta .cat-links a { + background-color: #ff5d20; +} +.entry-meta .tag-links a:hover, +.entry-meta .tag-links a:focus { + background-color: #ff5d20; + border: 1px solid #ff5d20; +} +.entry-content .more-link:hover, +.entry-content .more-link:focus { + color: #ff5d20 !important; +} +.pagination a:hover, +.pagination a.active, +.page-links a:hover, +.post-nav-links a:hover, +.post-nav-links .post-page-numbers.current { + background-color: #ff5d20; + border: 1px solid #ff5d20; +} +.pagination .nav-links .page-numbers.current { + background-color: #ff5d20; + border: 1px solid #ff5d20; +} +.comment-date, +.comment-date a { + color: #ff5d20; +} +.comment-detail p a { + color: #ff5d20; +} +.reply a { + border: 2px solid #ff5d20; +} +.reply a:hover, .reply a:focus { + border: 2px solid #ff5d20; + background-color: #ff5d20; +} +.logged-in-as a { + color: #ff5d20; +} +.logged-in-color a { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Widgets Area +--------------------------------------------------*/ + +.widget a:hover, +.widget a:focus { + color: #ff5d20; +} +.widget button[type="submit"], +.btn-success { + background-color: #ff5d20; + border-color: #ff5d20; +} +.widget .tagcloud a { + background-color: #ff5d20; +} +.widget .widget-title:after, +.widget .wp-block-heading:after { + background: #ff5d20; +} +address i { + color: #ff5d20; +} +.footer-sidebar .widget td a { + color: #ff5d20; +} +.textwidget a { + color: #ff5d20; +} +.footer-sidebar .textwidget a { + color: #ff5d20; +} +.footer-sidebar .textwidget > address > a:hover, +.footer-sidebar .textwidget > address > a:focus { + color: #ff5d20 !important; +} +/*wp-block-search*/ +.wp-block-search .wp-block-search__button { + background: #ff5d20; + border: 1px solid #ff5d20; +} +/*wp-calendar-nav widget*/ +.wp-calendar-nav .wp-calendar-nav-prev > a, +.wp-calendar-nav .wp-calendar-nav-next > a { + color: #ff5d20; +} +.wp-calendar-nav .wp-calendar-nav-prev > a:hover, +.wp-calendar-nav .wp-calendar-nav-next > a:hover, +.wp-calendar-nav .wp-calendar-nav-prev > a:focus, +.wp-calendar-nav .wp-calendar-nav-next > a:focus { + color: #ff5d20; + box-shadow: 0 1px 0 0 currentColor; +} +/*wp-block-latest-comments*/ +.wp-block-latest-comments__comment-date { + color: #ff5d20; +} +/*rsswidget title color*/ +.widget_rss ul li .rsswidget { + color: #ff5d20; +} +/*Recent Comment list style color*/ +.widget_recent_comments .recentcomments { + color: #ff5d20; +} + + +/*-------------------------------------------------------------- +## Blog Author +--------------------------------------------------------------*/ + +.theme-blog-author .website-url a { color: #ff5d20; } + + +/*-------------------------------------------------------------- +## Captions +--------------------------------------------------------------*/ + +.wp-caption-text a { color: #ff5d20; } + + +/*-------------------------------------------------- +=>> Site Footer Area +--------------------------------------------------*/ + +.footer-sidebar .widget a:hover, +.footer-sidebar .widget a:focus { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Theme Site Info Area +--------------------------------------------------*/ + +.site-info a, +.site-info a:hover, +.site-info a:focus { + color: #ff5d20; +} + +/*-------------------------------------------------- +=>> Sidebar Widget Style Css According to WordPress 5.8 +--------------------------------------------------*/ + +.sidebar .widget .wp-block-search .wp-block-search__label:after { + background: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-tag-cloud a { + background-color: #ff5d20; +} +.sidebar .widget .wp-block-group .logged-in a, .sidebar .widget .wp-block-group .logged-out a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-pullquote cite a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-media-text a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-code a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group pre.wp-block-verse a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-table figcaption a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .wp-block-preformatted a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .is-nowrap p a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group .is-vertical p a { + color: #ff5d20; +} +.sidebar .widget .wp-block-group a.wp-block-read-more { + color: #ff5d20; +} +.sidebar .widget.widget_block .wp-block-group p a { + color: #ff5d20; +} +.theme-blog .post .entry-content .wp-block-file .wp-block-file__button { + background-color: #ff5d20; +} +.theme-blog .post .wp-block-latest-comments .wp-block-latest-comments__comment-author:hover, +.theme-blog .post .wp-block-latest-comments .wp-block-latest-comments__comment-link:hover { + color: #FF5D20; +} +.entry-content .wp-caption-text a:hover, +.entry-content figcaption a:hover { color: #FF5D20; } +.sidebar .widget .wp-block-group .wp-block-image figcaption a { + color: #FF5D20; +} +.sidebar .widget .wp-block-group .wp-block-quote cite a { + color: #FF5D20; +} +.wp-block-cover.has-background-dim-60.has-background-dim .wp-block-cover-text a:hover { + color: #FF5D20; +} +.entry-content blockquote cite a:hover, +.entry-content blockquote cite a:focus { + color: #ff5d20; + text-decoration: underline; +} +.theme-blog .post .entry-content ul.wp-block-page-list li.wp-block-navigation-item a:hover { + color: #ff5d20; +} +.sidebar .widget .wp-block-file .wp-block-file__button { + background: #ff5d20; +} +.sidebar .widget .wp-block-embed .wp-element-caption a { + color: #ff5d20; +} +/*Woocommerce Styles*/ +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button { + background: #ff5d20; + border: solid 1px #ff5d20; +} +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover, +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:focus { + background: #ff5d20; + border: solid 1px #ff5d20; +} +.widget .wp-block-heading a { + color: #ff5d20; +} +.sidebar .widget .wp-block-list a { + color: #ff5d20; +} + +/*------------------------------------------------------------ +=>> Footer Sidebar Widget Style Css According to WordPress 5.8 +------------------------------------------------------------*/ + +.footer-sidebar .widget .wp-block-group .wp-block-tag-cloud a { + background-color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .logged-in a, +.footer-sidebar .widget .wp-block-group .logged-out a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-media-text a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-pullquote cite a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-code a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group pre.wp-block-verse a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-table figcaption a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-preformatted a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .is-nowrap p a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .is-vertical p a { + color: #ff5d20; +} +.footer-sidebar .widget.widget_block .wp-block-group p a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .is-nowrap a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-image figcaption a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-group .wp-block-quote cite a { + color: #ff5d20; +} +.footer-sidebar .widget dl a { + color: #ff5d20; +} +.footer-sidebar .wp-block-embed .wp-element-caption a { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-read-more { + color: #ff5d20; +} +.footer-sidebar .widget .wp-block-file .wp-block-file__button { + background: #ff5d20; +} + + +/*-------------------------------------------------- +=>> Page Scroll Up/Down Area +--------------------------------------------------*/ + +.page-scroll-up a, +.page-scroll-up a:hover, +.page-scroll-up a:active { + background: #ff5d20; +} + +/*-------------------------------------------------- +=>> Shop Products +--------------------------------------------------*/ + +/*Product Buttons*/ + +.woocommerce ul.products li.product .button.add_to_cart_button, +.woocommerce ul.products li.product .button.product_type_grouped, +.woocommerce ul.products li.product .button.product_type_simple, +.woocommerce ul.products li.product .button.product_type_external, +.woocommerce ul.products li.product .button.product_type_variable, +.theme-block.shop .product .button.add_to_cart_button, +.theme-block.shop .product .button.product_type_grouped, +.theme-block.shop .product .button.product_type_simple, +.theme-block.shop .product .button.product_type_external, +.theme-block.shop .product .button.product_type_variable { + background-color: rgba(255, 93, 32, .6); + border: 2px solid rgba(255, 93, 32, .1); +} +.woocommerce ul.products li.product .button:hover, +.woocommerce ul.products li.product .button:focus, +.theme-block.shop .product .button:hover, +.theme-block.shop .product .button:focus { + background-color: rgba(255, 93, 32, 1); + border: 2px solid rgba(255, 93, 32, 1); +} +.woocommerce ul.products li.product .button.add_to_cart_button, +.woocommerce ul.products li.product .button.product_type_simple { + background-color: rgba(255, 93, 32,.6); + border: 2px solid rgba(255, 93, 32,.1); +} +.woocommerce ul.products li.product .button.add_to_cart_button:hover, +.woocommerce ul.products li.product .button.add_to_cart_button:focus, +.woocommerce ul.products li.product .button.product_type_simple:hover, +.woocommerce ul.products li.product .button.product_type_simple:focus { + background-color: rgba(255, 93, 32,1); + border: 2px solid rgba(255, 93, 32,1); +} +/*Product Single View*/ +.woocommerce div.product form.cart .button:hover, +.woocommerce div.product form.cart .button:hover { + background: #ff5d20; +} +.woocommerce table.shop_table td.product-name, +.woocommerce table.shop_table td.product-name a { + color: #ff5d20; +} +.product_meta .posted_in a:hover, +.product_meta .tagged_as a:hover { + color: #ff5d20; +} +.woocommerce #review_form #respond .form-submit input:hover { + background: #ff5d20; +} +/*Product Cart View*/ +.woocommerce .woocommerce-error .button, +.woocommerce .woocommerce-info .button, +.woocommerce .woocommerce-message .button, +.woocommerce-page .woocommerce-error .button, +.woocommerce-page .woocommerce-info .button, +.woocommerce-page .woocommerce-message .button { + background-color: #ff5d20; +} +/*Product Cart Table*/ +.woocommerce table.shop_table td.product-name a:hover, +.woocommerce table.shop_table td.product-subtotal .woocommerce-Price-amount { + color: #ff5d20; +} +.woocommerce-cart table.cart td.actions .coupon button.button:hover { + background: #ff5d20; + color: #fff; +} +.woocommerce-cart table.cart td.actions button.button { + background: #ff5d20; + color: #fff; +} +#add_payment_method .wc-proceed-to-checkout a.checkout-button, +.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, +.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button, +.woocommerce .woocommerce-form-login .woocommerce-form-login__submit, +.woocommerce button.button.woocommerce-Button { + background-color: #ff5d20; +} +.checkout_coupon.woocommerce-form-coupon .form-row button.button:hover { + background-color: #ff5d20; +} +.woocommerce #payment #place_order, +.woocommerce-page #payment #place_order { + background-color: #ff5d20; +} +/*WooCommerce Widgets*/ +.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { + background-color: #ff5d20; +} +.woocommerce .widget_price_filter .price_slider_amount .button { + background-color: #ff5d20; +} +.woocommerce-mini-cart__buttons.buttons a.button, +.widget .woocommerce-mini-cart__buttons.buttons a.button:hover, +.widget .woocommerce-mini-cart__buttons.buttons a.button:focus { + background-color: #ff5d20; + color: #fff; +} +/*WooCommerce Pagination*/ +.woocommerce nav.woocommerce-pagination ul li a:focus, +.woocommerce nav.woocommerce-pagination ul li a:hover, +.woocommerce nav.woocommerce-pagination ul li span.current { + background-color: #ff5d20; + border: 1px solid #ff5d20; + color: #fff; +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/img/icons/theme-fullwidth.png b/wp-content/themes/consultstreet/assets/img/icons/theme-fullwidth.png new file mode 100644 index 00000000..e41904f7 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/img/icons/theme-fullwidth.png differ diff --git a/wp-content/themes/consultstreet/assets/img/icons/theme-left-sidebar.png b/wp-content/themes/consultstreet/assets/img/icons/theme-left-sidebar.png new file mode 100644 index 00000000..e7f727f6 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/img/icons/theme-left-sidebar.png differ diff --git a/wp-content/themes/consultstreet/assets/img/icons/theme-right-sidebar.png b/wp-content/themes/consultstreet/assets/img/icons/theme-right-sidebar.png new file mode 100644 index 00000000..52abb1cb Binary files /dev/null and b/wp-content/themes/consultstreet/assets/img/icons/theme-right-sidebar.png differ diff --git a/wp-content/themes/consultstreet/assets/img/page-header-bg.jpg b/wp-content/themes/consultstreet/assets/img/page-header-bg.jpg new file mode 100644 index 00000000..cf5027a2 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/img/page-header-bg.jpg differ diff --git a/wp-content/themes/consultstreet/assets/img/shadow.png b/wp-content/themes/consultstreet/assets/img/shadow.png new file mode 100644 index 00000000..25969d56 Binary files /dev/null and b/wp-content/themes/consultstreet/assets/img/shadow.png differ diff --git a/wp-content/themes/consultstreet/assets/js/animation/animate.js b/wp-content/themes/consultstreet/assets/js/animation/animate.js new file mode 100644 index 00000000..b11d260a --- /dev/null +++ b/wp-content/themes/consultstreet/assets/js/animation/animate.js @@ -0,0 +1,8 @@ +jQuery(function($) {'use strict'; + + //Initiat WOW JS + new WOW().init(); + //smoothScroll + //smoothScroll.init(); + +}); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/assets/js/bootstrap.js b/wp-content/themes/consultstreet/assets/js/bootstrap.js new file mode 100644 index 00000000..6d9549d9 --- /dev/null +++ b/wp-content/themes/consultstreet/assets/js/bootstrap.js @@ -0,0 +1,3894 @@ +/*! + * Bootstrap v4.0.0 (https://getbootstrap.com) + * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery'), require('popper.js')) : + typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'popper.js'], factory) : + (factory((global.bootstrap = {}),global.jQuery,global.Popper)); +}(this, (function (exports,$,Popper) { 'use strict'; + +$ = $ && $.hasOwnProperty('default') ? $['default'] : $; +Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper; + +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): util.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Util = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Private TransitionEnd Helpers + * ------------------------------------------------------------------------ + */ + var transition = false; + var MAX_UID = 1000000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) + + function toType(obj) { + return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); + } + + function getSpecialTransitionEndEvent() { + return { + bindType: transition.end, + delegateType: transition.end, + handle: function handle(event) { + if ($$$1(event.target).is(this)) { + return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params + } + + return undefined; // eslint-disable-line no-undefined + } + }; + } + + function transitionEndTest() { + if (typeof window !== 'undefined' && window.QUnit) { + return false; + } + + return { + end: 'transitionend' + }; + } + + function transitionEndEmulator(duration) { + var _this = this; + + var called = false; + $$$1(this).one(Util.TRANSITION_END, function () { + called = true; + }); + setTimeout(function () { + if (!called) { + Util.triggerTransitionEnd(_this); + } + }, duration); + return this; + } + + function setTransitionEndSupport() { + transition = transitionEndTest(); + $$$1.fn.emulateTransitionEnd = transitionEndEmulator; + + if (Util.supportsTransitionEnd()) { + $$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); + } + } + + function escapeId(selector) { + // We escape IDs in case of special selectors (selector = '#myId:something') + // $.escapeSelector does not exist in jQuery < 3 + selector = typeof $$$1.escapeSelector === 'function' ? $$$1.escapeSelector(selector).substr(1) : selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1'); + return selector; + } + /** + * -------------------------------------------------------------------------- + * Public Util Api + * -------------------------------------------------------------------------- + */ + + + var Util = { + TRANSITION_END: 'bsTransitionEnd', + getUID: function getUID(prefix) { + do { + // eslint-disable-next-line no-bitwise + prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here + } while (document.getElementById(prefix)); + + return prefix; + }, + getSelectorFromElement: function getSelectorFromElement(element) { + var selector = element.getAttribute('data-target'); + + if (!selector || selector === '#') { + selector = element.getAttribute('href') || ''; + } // If it's an ID + + + if (selector.charAt(0) === '#') { + selector = escapeId(selector); + } + + try { + var $selector = $$$1(document).find(selector); + return $selector.length > 0 ? selector : null; + } catch (err) { + return null; + } + }, + reflow: function reflow(element) { + return element.offsetHeight; + }, + triggerTransitionEnd: function triggerTransitionEnd(element) { + $$$1(element).trigger(transition.end); + }, + supportsTransitionEnd: function supportsTransitionEnd() { + return Boolean(transition); + }, + isElement: function isElement(obj) { + return (obj[0] || obj).nodeType; + }, + typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { + for (var property in configTypes) { + if (Object.prototype.hasOwnProperty.call(configTypes, property)) { + var expectedTypes = configTypes[property]; + var value = config[property]; + var valueType = value && Util.isElement(value) ? 'element' : toType(value); + + if (!new RegExp(expectedTypes).test(valueType)) { + throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\".")); + } + } + } + } + }; + setTransitionEndSupport(); + return Util; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): alert.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Alert = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'alert'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.alert'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var TRANSITION_DURATION = 150; + var Selector = { + DISMISS: '[data-dismiss="alert"]' + }; + var Event = { + CLOSE: "close" + EVENT_KEY, + CLOSED: "closed" + EVENT_KEY, + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + ALERT: 'alert', + FADE: 'fade', + SHOW: 'show' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Alert = + /*#__PURE__*/ + function () { + function Alert(element) { + this._element = element; + } // Getters + + + var _proto = Alert.prototype; + + // Public + _proto.close = function close(element) { + element = element || this._element; + + var rootElement = this._getRootElement(element); + + var customEvent = this._triggerCloseEvent(rootElement); + + if (customEvent.isDefaultPrevented()) { + return; + } + + this._removeElement(rootElement); + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + this._element = null; + }; // Private + + + _proto._getRootElement = function _getRootElement(element) { + var selector = Util.getSelectorFromElement(element); + var parent = false; + + if (selector) { + parent = $$$1(selector)[0]; + } + + if (!parent) { + parent = $$$1(element).closest("." + ClassName.ALERT)[0]; + } + + return parent; + }; + + _proto._triggerCloseEvent = function _triggerCloseEvent(element) { + var closeEvent = $$$1.Event(Event.CLOSE); + $$$1(element).trigger(closeEvent); + return closeEvent; + }; + + _proto._removeElement = function _removeElement(element) { + var _this = this; + + $$$1(element).removeClass(ClassName.SHOW); + + if (!Util.supportsTransitionEnd() || !$$$1(element).hasClass(ClassName.FADE)) { + this._destroyElement(element); + + return; + } + + $$$1(element).one(Util.TRANSITION_END, function (event) { + return _this._destroyElement(element, event); + }).emulateTransitionEnd(TRANSITION_DURATION); + }; + + _proto._destroyElement = function _destroyElement(element) { + $$$1(element).detach().trigger(Event.CLOSED).remove(); + }; // Static + + + Alert._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var $element = $$$1(this); + var data = $element.data(DATA_KEY); + + if (!data) { + data = new Alert(this); + $element.data(DATA_KEY, data); + } + + if (config === 'close') { + data[config](this); + } + }); + }; + + Alert._handleDismiss = function _handleDismiss(alertInstance) { + return function (event) { + if (event) { + event.preventDefault(); + } + + alertInstance.close(this); + }; + }; + + _createClass(Alert, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }]); + return Alert; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert())); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Alert._jQueryInterface; + $$$1.fn[NAME].Constructor = Alert; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Alert._jQueryInterface; + }; + + return Alert; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): button.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Button = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'button'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.button'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var ClassName = { + ACTIVE: 'active', + BUTTON: 'btn', + FOCUS: 'focus' + }; + var Selector = { + DATA_TOGGLE_CARROT: '[data-toggle^="button"]', + DATA_TOGGLE: '[data-toggle="buttons"]', + INPUT: 'input', + ACTIVE: '.active', + BUTTON: '.btn' + }; + var Event = { + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY, + FOCUS_BLUR_DATA_API: "focus" + EVENT_KEY + DATA_API_KEY + " " + ("blur" + EVENT_KEY + DATA_API_KEY) + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Button = + /*#__PURE__*/ + function () { + function Button(element) { + this._element = element; + } // Getters + + + var _proto = Button.prototype; + + // Public + _proto.toggle = function toggle() { + var triggerChangeEvent = true; + var addAriaPressed = true; + var rootElement = $$$1(this._element).closest(Selector.DATA_TOGGLE)[0]; + + if (rootElement) { + var input = $$$1(this._element).find(Selector.INPUT)[0]; + + if (input) { + if (input.type === 'radio') { + if (input.checked && $$$1(this._element).hasClass(ClassName.ACTIVE)) { + triggerChangeEvent = false; + } else { + var activeElement = $$$1(rootElement).find(Selector.ACTIVE)[0]; + + if (activeElement) { + $$$1(activeElement).removeClass(ClassName.ACTIVE); + } + } + } + + if (triggerChangeEvent) { + if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) { + return; + } + + input.checked = !$$$1(this._element).hasClass(ClassName.ACTIVE); + $$$1(input).trigger('change'); + } + + input.focus(); + addAriaPressed = false; + } + } + + if (addAriaPressed) { + this._element.setAttribute('aria-pressed', !$$$1(this._element).hasClass(ClassName.ACTIVE)); + } + + if (triggerChangeEvent) { + $$$1(this._element).toggleClass(ClassName.ACTIVE); + } + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + this._element = null; + }; // Static + + + Button._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + if (!data) { + data = new Button(this); + $$$1(this).data(DATA_KEY, data); + } + + if (config === 'toggle') { + data[config](); + } + }); + }; + + _createClass(Button, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }]); + return Button; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { + event.preventDefault(); + var button = event.target; + + if (!$$$1(button).hasClass(ClassName.BUTTON)) { + button = $$$1(button).closest(Selector.BUTTON); + } + + Button._jQueryInterface.call($$$1(button), 'toggle'); + }).on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { + var button = $$$1(event.target).closest(Selector.BUTTON)[0]; + $$$1(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Button._jQueryInterface; + $$$1.fn[NAME].Constructor = Button; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Button._jQueryInterface; + }; + + return Button; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): carousel.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Carousel = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'carousel'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.carousel'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var TRANSITION_DURATION = 600; + var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key + + var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key + + var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch + + var Default = { + interval: 5000, + keyboard: true, + slide: false, + pause: 'hover', + wrap: true + }; + var DefaultType = { + interval: '(number|boolean)', + keyboard: 'boolean', + slide: '(boolean|string)', + pause: '(string|boolean)', + wrap: 'boolean' + }; + var Direction = { + NEXT: 'next', + PREV: 'prev', + LEFT: 'left', + RIGHT: 'right' + }; + var Event = { + SLIDE: "slide" + EVENT_KEY, + SLID: "slid" + EVENT_KEY, + KEYDOWN: "keydown" + EVENT_KEY, + MOUSEENTER: "mouseenter" + EVENT_KEY, + MOUSELEAVE: "mouseleave" + EVENT_KEY, + TOUCHEND: "touchend" + EVENT_KEY, + LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY, + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + CAROUSEL: 'carousel', + ACTIVE: 'active', + SLIDE: 'slide', + RIGHT: 'carousel-item-right', + LEFT: 'carousel-item-left', + NEXT: 'carousel-item-next', + PREV: 'carousel-item-prev', + ITEM: 'carousel-item' + }; + var Selector = { + ACTIVE: '.active', + ACTIVE_ITEM: '.active.carousel-item', + ITEM: '.carousel-item', + NEXT_PREV: '.carousel-item-next, .carousel-item-prev', + INDICATORS: '.carousel-indicators', + DATA_SLIDE: '[data-slide], [data-slide-to]', + DATA_RIDE: '[data-ride="carousel"]' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Carousel = + /*#__PURE__*/ + function () { + function Carousel(element, config) { + this._items = null; + this._interval = null; + this._activeElement = null; + this._isPaused = false; + this._isSliding = false; + this.touchTimeout = null; + this._config = this._getConfig(config); + this._element = $$$1(element)[0]; + this._indicatorsElement = $$$1(this._element).find(Selector.INDICATORS)[0]; + + this._addEventListeners(); + } // Getters + + + var _proto = Carousel.prototype; + + // Public + _proto.next = function next() { + if (!this._isSliding) { + this._slide(Direction.NEXT); + } + }; + + _proto.nextWhenVisible = function nextWhenVisible() { + // Don't call next when the page isn't visible + // or the carousel or its parent isn't visible + if (!document.hidden && $$$1(this._element).is(':visible') && $$$1(this._element).css('visibility') !== 'hidden') { + this.next(); + } + }; + + _proto.prev = function prev() { + if (!this._isSliding) { + this._slide(Direction.PREV); + } + }; + + _proto.pause = function pause(event) { + if (!event) { + this._isPaused = true; + } + + if ($$$1(this._element).find(Selector.NEXT_PREV)[0] && Util.supportsTransitionEnd()) { + Util.triggerTransitionEnd(this._element); + this.cycle(true); + } + + clearInterval(this._interval); + this._interval = null; + }; + + _proto.cycle = function cycle(event) { + if (!event) { + this._isPaused = false; + } + + if (this._interval) { + clearInterval(this._interval); + this._interval = null; + } + + if (this._config.interval && !this._isPaused) { + this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval); + } + }; + + _proto.to = function to(index) { + var _this = this; + + this._activeElement = $$$1(this._element).find(Selector.ACTIVE_ITEM)[0]; + + var activeIndex = this._getItemIndex(this._activeElement); + + if (index > this._items.length - 1 || index < 0) { + return; + } + + if (this._isSliding) { + $$$1(this._element).one(Event.SLID, function () { + return _this.to(index); + }); + return; + } + + if (activeIndex === index) { + this.pause(); + this.cycle(); + return; + } + + var direction = index > activeIndex ? Direction.NEXT : Direction.PREV; + + this._slide(direction, this._items[index]); + }; + + _proto.dispose = function dispose() { + $$$1(this._element).off(EVENT_KEY); + $$$1.removeData(this._element, DATA_KEY); + this._items = null; + this._config = null; + this._element = null; + this._interval = null; + this._isPaused = null; + this._isSliding = null; + this._activeElement = null; + this._indicatorsElement = null; + }; // Private + + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default, config); + Util.typeCheckConfig(NAME, config, DefaultType); + return config; + }; + + _proto._addEventListeners = function _addEventListeners() { + var _this2 = this; + + if (this._config.keyboard) { + $$$1(this._element).on(Event.KEYDOWN, function (event) { + return _this2._keydown(event); + }); + } + + if (this._config.pause === 'hover') { + $$$1(this._element).on(Event.MOUSEENTER, function (event) { + return _this2.pause(event); + }).on(Event.MOUSELEAVE, function (event) { + return _this2.cycle(event); + }); + + if ('ontouchstart' in document.documentElement) { + // If it's a touch-enabled device, mouseenter/leave are fired as + // part of the mouse compatibility events on first tap - the carousel + // would stop cycling until user tapped out of it; + // here, we listen for touchend, explicitly pause the carousel + // (as if it's the second time we tap on it, mouseenter compat event + // is NOT fired) and after a timeout (to allow for mouse compatibility + // events to fire) we explicitly restart cycling + $$$1(this._element).on(Event.TOUCHEND, function () { + _this2.pause(); + + if (_this2.touchTimeout) { + clearTimeout(_this2.touchTimeout); + } + + _this2.touchTimeout = setTimeout(function (event) { + return _this2.cycle(event); + }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval); + }); + } + } + }; + + _proto._keydown = function _keydown(event) { + if (/input|textarea/i.test(event.target.tagName)) { + return; + } + + switch (event.which) { + case ARROW_LEFT_KEYCODE: + event.preventDefault(); + this.prev(); + break; + + case ARROW_RIGHT_KEYCODE: + event.preventDefault(); + this.next(); + break; + + default: + } + }; + + _proto._getItemIndex = function _getItemIndex(element) { + this._items = $$$1.makeArray($$$1(element).parent().find(Selector.ITEM)); + return this._items.indexOf(element); + }; + + _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) { + var isNextDirection = direction === Direction.NEXT; + var isPrevDirection = direction === Direction.PREV; + + var activeIndex = this._getItemIndex(activeElement); + + var lastItemIndex = this._items.length - 1; + var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex; + + if (isGoingToWrap && !this._config.wrap) { + return activeElement; + } + + var delta = direction === Direction.PREV ? -1 : 1; + var itemIndex = (activeIndex + delta) % this._items.length; + return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex]; + }; + + _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) { + var targetIndex = this._getItemIndex(relatedTarget); + + var fromIndex = this._getItemIndex($$$1(this._element).find(Selector.ACTIVE_ITEM)[0]); + + var slideEvent = $$$1.Event(Event.SLIDE, { + relatedTarget: relatedTarget, + direction: eventDirectionName, + from: fromIndex, + to: targetIndex + }); + $$$1(this._element).trigger(slideEvent); + return slideEvent; + }; + + _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) { + if (this._indicatorsElement) { + $$$1(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE); + + var nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)]; + + if (nextIndicator) { + $$$1(nextIndicator).addClass(ClassName.ACTIVE); + } + } + }; + + _proto._slide = function _slide(direction, element) { + var _this3 = this; + + var activeElement = $$$1(this._element).find(Selector.ACTIVE_ITEM)[0]; + + var activeElementIndex = this._getItemIndex(activeElement); + + var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement); + + var nextElementIndex = this._getItemIndex(nextElement); + + var isCycling = Boolean(this._interval); + var directionalClassName; + var orderClassName; + var eventDirectionName; + + if (direction === Direction.NEXT) { + directionalClassName = ClassName.LEFT; + orderClassName = ClassName.NEXT; + eventDirectionName = Direction.LEFT; + } else { + directionalClassName = ClassName.RIGHT; + orderClassName = ClassName.PREV; + eventDirectionName = Direction.RIGHT; + } + + if (nextElement && $$$1(nextElement).hasClass(ClassName.ACTIVE)) { + this._isSliding = false; + return; + } + + var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName); + + if (slideEvent.isDefaultPrevented()) { + return; + } + + if (!activeElement || !nextElement) { + // Some weirdness is happening, so we bail + return; + } + + this._isSliding = true; + + if (isCycling) { + this.pause(); + } + + this._setActiveIndicatorElement(nextElement); + + var slidEvent = $$$1.Event(Event.SLID, { + relatedTarget: nextElement, + direction: eventDirectionName, + from: activeElementIndex, + to: nextElementIndex + }); + + if (Util.supportsTransitionEnd() && $$$1(this._element).hasClass(ClassName.SLIDE)) { + $$$1(nextElement).addClass(orderClassName); + Util.reflow(nextElement); + $$$1(activeElement).addClass(directionalClassName); + $$$1(nextElement).addClass(directionalClassName); + $$$1(activeElement).one(Util.TRANSITION_END, function () { + $$$1(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE); + $$$1(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName); + _this3._isSliding = false; + setTimeout(function () { + return $$$1(_this3._element).trigger(slidEvent); + }, 0); + }).emulateTransitionEnd(TRANSITION_DURATION); + } else { + $$$1(activeElement).removeClass(ClassName.ACTIVE); + $$$1(nextElement).addClass(ClassName.ACTIVE); + this._isSliding = false; + $$$1(this._element).trigger(slidEvent); + } + + if (isCycling) { + this.cycle(); + } + }; // Static + + + Carousel._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + var _config = _extends({}, Default, $$$1(this).data()); + + if (typeof config === 'object') { + _config = _extends({}, _config, config); + } + + var action = typeof config === 'string' ? config : _config.slide; + + if (!data) { + data = new Carousel(this, _config); + $$$1(this).data(DATA_KEY, data); + } + + if (typeof config === 'number') { + data.to(config); + } else if (typeof action === 'string') { + if (typeof data[action] === 'undefined') { + throw new TypeError("No method named \"" + action + "\""); + } + + data[action](); + } else if (_config.interval) { + data.pause(); + data.cycle(); + } + }); + }; + + Carousel._dataApiClickHandler = function _dataApiClickHandler(event) { + var selector = Util.getSelectorFromElement(this); + + if (!selector) { + return; + } + + var target = $$$1(selector)[0]; + + if (!target || !$$$1(target).hasClass(ClassName.CAROUSEL)) { + return; + } + + var config = _extends({}, $$$1(target).data(), $$$1(this).data()); + var slideIndex = this.getAttribute('data-slide-to'); + + if (slideIndex) { + config.interval = false; + } + + Carousel._jQueryInterface.call($$$1(target), config); + + if (slideIndex) { + $$$1(target).data(DATA_KEY).to(slideIndex); + } + + event.preventDefault(); + }; + + _createClass(Carousel, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }]); + return Carousel; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler); + $$$1(window).on(Event.LOAD_DATA_API, function () { + $$$1(Selector.DATA_RIDE).each(function () { + var $carousel = $$$1(this); + + Carousel._jQueryInterface.call($carousel, $carousel.data()); + }); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Carousel._jQueryInterface; + $$$1.fn[NAME].Constructor = Carousel; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Carousel._jQueryInterface; + }; + + return Carousel; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): collapse.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Collapse = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'collapse'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.collapse'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var TRANSITION_DURATION = 600; + var Default = { + toggle: true, + parent: '' + }; + var DefaultType = { + toggle: 'boolean', + parent: '(string|element)' + }; + var Event = { + SHOW: "show" + EVENT_KEY, + SHOWN: "shown" + EVENT_KEY, + HIDE: "hide" + EVENT_KEY, + HIDDEN: "hidden" + EVENT_KEY, + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + SHOW: 'show', + COLLAPSE: 'collapse', + COLLAPSING: 'collapsing', + COLLAPSED: 'collapsed' + }; + var Dimension = { + WIDTH: 'width', + HEIGHT: 'height' + }; + var Selector = { + ACTIVES: '.show, .collapsing', + DATA_TOGGLE: '[data-toggle="collapse"]' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Collapse = + /*#__PURE__*/ + function () { + function Collapse(element, config) { + this._isTransitioning = false; + this._element = element; + this._config = this._getConfig(config); + this._triggerArray = $$$1.makeArray($$$1("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]"))); + var tabToggles = $$$1(Selector.DATA_TOGGLE); + + for (var i = 0; i < tabToggles.length; i++) { + var elem = tabToggles[i]; + var selector = Util.getSelectorFromElement(elem); + + if (selector !== null && $$$1(selector).filter(element).length > 0) { + this._selector = selector; + + this._triggerArray.push(elem); + } + } + + this._parent = this._config.parent ? this._getParent() : null; + + if (!this._config.parent) { + this._addAriaAndCollapsedClass(this._element, this._triggerArray); + } + + if (this._config.toggle) { + this.toggle(); + } + } // Getters + + + var _proto = Collapse.prototype; + + // Public + _proto.toggle = function toggle() { + if ($$$1(this._element).hasClass(ClassName.SHOW)) { + this.hide(); + } else { + this.show(); + } + }; + + _proto.show = function show() { + var _this = this; + + if (this._isTransitioning || $$$1(this._element).hasClass(ClassName.SHOW)) { + return; + } + + var actives; + var activesData; + + if (this._parent) { + actives = $$$1.makeArray($$$1(this._parent).find(Selector.ACTIVES).filter("[data-parent=\"" + this._config.parent + "\"]")); + + if (actives.length === 0) { + actives = null; + } + } + + if (actives) { + activesData = $$$1(actives).not(this._selector).data(DATA_KEY); + + if (activesData && activesData._isTransitioning) { + return; + } + } + + var startEvent = $$$1.Event(Event.SHOW); + $$$1(this._element).trigger(startEvent); + + if (startEvent.isDefaultPrevented()) { + return; + } + + if (actives) { + Collapse._jQueryInterface.call($$$1(actives).not(this._selector), 'hide'); + + if (!activesData) { + $$$1(actives).data(DATA_KEY, null); + } + } + + var dimension = this._getDimension(); + + $$$1(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING); + this._element.style[dimension] = 0; + + if (this._triggerArray.length > 0) { + $$$1(this._triggerArray).removeClass(ClassName.COLLAPSED).attr('aria-expanded', true); + } + + this.setTransitioning(true); + + var complete = function complete() { + $$$1(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW); + _this._element.style[dimension] = ''; + + _this.setTransitioning(false); + + $$$1(_this._element).trigger(Event.SHOWN); + }; + + if (!Util.supportsTransitionEnd()) { + complete(); + return; + } + + var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); + var scrollSize = "scroll" + capitalizedDimension; + $$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); + this._element.style[dimension] = this._element[scrollSize] + "px"; + }; + + _proto.hide = function hide() { + var _this2 = this; + + if (this._isTransitioning || !$$$1(this._element).hasClass(ClassName.SHOW)) { + return; + } + + var startEvent = $$$1.Event(Event.HIDE); + $$$1(this._element).trigger(startEvent); + + if (startEvent.isDefaultPrevented()) { + return; + } + + var dimension = this._getDimension(); + + this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px"; + Util.reflow(this._element); + $$$1(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW); + + if (this._triggerArray.length > 0) { + for (var i = 0; i < this._triggerArray.length; i++) { + var trigger = this._triggerArray[i]; + var selector = Util.getSelectorFromElement(trigger); + + if (selector !== null) { + var $elem = $$$1(selector); + + if (!$elem.hasClass(ClassName.SHOW)) { + $$$1(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false); + } + } + } + } + + this.setTransitioning(true); + + var complete = function complete() { + _this2.setTransitioning(false); + + $$$1(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN); + }; + + this._element.style[dimension] = ''; + + if (!Util.supportsTransitionEnd()) { + complete(); + return; + } + + $$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); + }; + + _proto.setTransitioning = function setTransitioning(isTransitioning) { + this._isTransitioning = isTransitioning; + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + this._config = null; + this._parent = null; + this._element = null; + this._triggerArray = null; + this._isTransitioning = null; + }; // Private + + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default, config); + config.toggle = Boolean(config.toggle); // Coerce string values + + Util.typeCheckConfig(NAME, config, DefaultType); + return config; + }; + + _proto._getDimension = function _getDimension() { + var hasWidth = $$$1(this._element).hasClass(Dimension.WIDTH); + return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT; + }; + + _proto._getParent = function _getParent() { + var _this3 = this; + + var parent = null; + + if (Util.isElement(this._config.parent)) { + parent = this._config.parent; // It's a jQuery object + + if (typeof this._config.parent.jquery !== 'undefined') { + parent = this._config.parent[0]; + } + } else { + parent = $$$1(this._config.parent)[0]; + } + + var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]"; + $$$1(parent).find(selector).each(function (i, element) { + _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]); + }); + return parent; + }; + + _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) { + if (element) { + var isOpen = $$$1(element).hasClass(ClassName.SHOW); + + if (triggerArray.length > 0) { + $$$1(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen); + } + } + }; // Static + + + Collapse._getTargetFromElement = function _getTargetFromElement(element) { + var selector = Util.getSelectorFromElement(element); + return selector ? $$$1(selector)[0] : null; + }; + + Collapse._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var $this = $$$1(this); + var data = $this.data(DATA_KEY); + + var _config = _extends({}, Default, $this.data(), typeof config === 'object' && config); + + if (!data && _config.toggle && /show|hide/.test(config)) { + _config.toggle = false; + } + + if (!data) { + data = new Collapse(this, _config); + $this.data(DATA_KEY, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Collapse, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }]); + return Collapse; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + // preventDefault only for elements (which change the URL) not inside the collapsible element + if (event.currentTarget.tagName === 'A') { + event.preventDefault(); + } + + var $trigger = $$$1(this); + var selector = Util.getSelectorFromElement(this); + $$$1(selector).each(function () { + var $target = $$$1(this); + var data = $target.data(DATA_KEY); + var config = data ? 'toggle' : $trigger.data(); + + Collapse._jQueryInterface.call($target, config); + }); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Collapse._jQueryInterface; + $$$1.fn[NAME].Constructor = Collapse; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Collapse._jQueryInterface; + }; + + return Collapse; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): dropdown.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Dropdown = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'dropdown'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.dropdown'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key + + var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key + + var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key + + var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key + + var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key + + var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse) + + var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE); + var Event = { + HIDE: "hide" + EVENT_KEY, + HIDDEN: "hidden" + EVENT_KEY, + SHOW: "show" + EVENT_KEY, + SHOWN: "shown" + EVENT_KEY, + CLICK: "click" + EVENT_KEY, + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY, + KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY, + KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + DISABLED: 'disabled', + SHOW: 'show', + DROPUP: 'dropup', + DROPRIGHT: 'dropright', + DROPLEFT: 'dropleft', + MENURIGHT: 'dropdown-menu-right', + MENULEFT: 'dropdown-menu-left', + POSITION_STATIC: 'position-static' + }; + var Selector = { + DATA_TOGGLE: '[data-toggle="dropdown"]', + FORM_CHILD: '.dropdown form', + MENU: '.dropdown-menu', + NAVBAR_NAV: '.navbar-nav', + VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)' + }; + var AttachmentMap = { + TOP: 'top-start', + TOPEND: 'top-end', + BOTTOM: 'bottom-start', + BOTTOMEND: 'bottom-end', + RIGHT: 'right-start', + RIGHTEND: 'right-end', + LEFT: 'left-start', + LEFTEND: 'left-end' + }; + var Default = { + offset: 0, + flip: true, + boundary: 'scrollParent' + }; + var DefaultType = { + offset: '(number|string|function)', + flip: 'boolean', + boundary: '(string|element)' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Dropdown = + /*#__PURE__*/ + function () { + function Dropdown(element, config) { + this._element = element; + this._popper = null; + this._config = this._getConfig(config); + this._menu = this._getMenuElement(); + this._inNavbar = this._detectNavbar(); + + this._addEventListeners(); + } // Getters + + + var _proto = Dropdown.prototype; + + // Public + _proto.toggle = function toggle() { + if (this._element.disabled || $$$1(this._element).hasClass(ClassName.DISABLED)) { + return; + } + + var parent = Dropdown._getParentFromElement(this._element); + + var isActive = $$$1(this._menu).hasClass(ClassName.SHOW); + + Dropdown._clearMenus(); + + if (isActive) { + return; + } + + var relatedTarget = { + relatedTarget: this._element + }; + var showEvent = $$$1.Event(Event.SHOW, relatedTarget); + $$$1(parent).trigger(showEvent); + + if (showEvent.isDefaultPrevented()) { + return; + } // Disable totally Popper.js for Dropdown in Navbar + + + if (!this._inNavbar) { + /** + * Check for Popper dependency + * Popper - https://popper.js.org + */ + if (typeof Popper === 'undefined') { + throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)'); + } + + var element = this._element; // For dropup with alignment we use the parent as popper container + + if ($$$1(parent).hasClass(ClassName.DROPUP)) { + if ($$$1(this._menu).hasClass(ClassName.MENULEFT) || $$$1(this._menu).hasClass(ClassName.MENURIGHT)) { + element = parent; + } + } // If boundary is not `scrollParent`, then set position to `static` + // to allow the menu to "escape" the scroll parent's boundaries + // https://github.com/twbs/bootstrap/issues/24251 + + + if (this._config.boundary !== 'scrollParent') { + $$$1(parent).addClass(ClassName.POSITION_STATIC); + } + + this._popper = new Popper(element, this._menu, this._getPopperConfig()); + } // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + + if ('ontouchstart' in document.documentElement && $$$1(parent).closest(Selector.NAVBAR_NAV).length === 0) { + $$$1('body').children().on('mouseover', null, $$$1.noop); + } + + this._element.focus(); + + this._element.setAttribute('aria-expanded', true); + + $$$1(this._menu).toggleClass(ClassName.SHOW); + $$$1(parent).toggleClass(ClassName.SHOW).trigger($$$1.Event(Event.SHOWN, relatedTarget)); + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + $$$1(this._element).off(EVENT_KEY); + this._element = null; + this._menu = null; + + if (this._popper !== null) { + this._popper.destroy(); + + this._popper = null; + } + }; + + _proto.update = function update() { + this._inNavbar = this._detectNavbar(); + + if (this._popper !== null) { + this._popper.scheduleUpdate(); + } + }; // Private + + + _proto._addEventListeners = function _addEventListeners() { + var _this = this; + + $$$1(this._element).on(Event.CLICK, function (event) { + event.preventDefault(); + event.stopPropagation(); + + _this.toggle(); + }); + }; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, this.constructor.Default, $$$1(this._element).data(), config); + Util.typeCheckConfig(NAME, config, this.constructor.DefaultType); + return config; + }; + + _proto._getMenuElement = function _getMenuElement() { + if (!this._menu) { + var parent = Dropdown._getParentFromElement(this._element); + + this._menu = $$$1(parent).find(Selector.MENU)[0]; + } + + return this._menu; + }; + + _proto._getPlacement = function _getPlacement() { + var $parentDropdown = $$$1(this._element).parent(); + var placement = AttachmentMap.BOTTOM; // Handle dropup + + if ($parentDropdown.hasClass(ClassName.DROPUP)) { + placement = AttachmentMap.TOP; + + if ($$$1(this._menu).hasClass(ClassName.MENURIGHT)) { + placement = AttachmentMap.TOPEND; + } + } else if ($parentDropdown.hasClass(ClassName.DROPRIGHT)) { + placement = AttachmentMap.RIGHT; + } else if ($parentDropdown.hasClass(ClassName.DROPLEFT)) { + placement = AttachmentMap.LEFT; + } else if ($$$1(this._menu).hasClass(ClassName.MENURIGHT)) { + placement = AttachmentMap.BOTTOMEND; + } + + return placement; + }; + + _proto._detectNavbar = function _detectNavbar() { + return $$$1(this._element).closest('.navbar').length > 0; + }; + + _proto._getPopperConfig = function _getPopperConfig() { + var _this2 = this; + + var offsetConf = {}; + + if (typeof this._config.offset === 'function') { + offsetConf.fn = function (data) { + data.offsets = _extends({}, data.offsets, _this2._config.offset(data.offsets) || {}); + return data; + }; + } else { + offsetConf.offset = this._config.offset; + } + + var popperConfig = { + placement: this._getPlacement(), + modifiers: { + offset: offsetConf, + flip: { + enabled: this._config.flip + }, + preventOverflow: { + boundariesElement: this._config.boundary + } + } + }; + return popperConfig; + }; // Static + + + Dropdown._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + var _config = typeof config === 'object' ? config : null; + + if (!data) { + data = new Dropdown(this, _config); + $$$1(this).data(DATA_KEY, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + Dropdown._clearMenus = function _clearMenus(event) { + if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) { + return; + } + + var toggles = $$$1.makeArray($$$1(Selector.DATA_TOGGLE)); + + for (var i = 0; i < toggles.length; i++) { + var parent = Dropdown._getParentFromElement(toggles[i]); + + var context = $$$1(toggles[i]).data(DATA_KEY); + var relatedTarget = { + relatedTarget: toggles[i] + }; + + if (!context) { + continue; + } + + var dropdownMenu = context._menu; + + if (!$$$1(parent).hasClass(ClassName.SHOW)) { + continue; + } + + if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $$$1.contains(parent, event.target)) { + continue; + } + + var hideEvent = $$$1.Event(Event.HIDE, relatedTarget); + $$$1(parent).trigger(hideEvent); + + if (hideEvent.isDefaultPrevented()) { + continue; + } // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + + if ('ontouchstart' in document.documentElement) { + $$$1('body').children().off('mouseover', null, $$$1.noop); + } + + toggles[i].setAttribute('aria-expanded', 'false'); + $$$1(dropdownMenu).removeClass(ClassName.SHOW); + $$$1(parent).removeClass(ClassName.SHOW).trigger($$$1.Event(Event.HIDDEN, relatedTarget)); + } + }; + + Dropdown._getParentFromElement = function _getParentFromElement(element) { + var parent; + var selector = Util.getSelectorFromElement(element); + + if (selector) { + parent = $$$1(selector)[0]; + } + + return parent || element.parentNode; + }; // eslint-disable-next-line complexity + + + Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) { + // If not input/textarea: + // - And not a key in REGEXP_KEYDOWN => not a dropdown command + // If input/textarea: + // - If space key => not a dropdown command + // - If key is other than escape + // - If key is not up or down => not a dropdown command + // - If trigger inside the menu => not a dropdown command + if (/input|textarea/i.test(event.target.tagName) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || $$$1(event.target).closest(Selector.MENU).length) : !REGEXP_KEYDOWN.test(event.which)) { + return; + } + + event.preventDefault(); + event.stopPropagation(); + + if (this.disabled || $$$1(this).hasClass(ClassName.DISABLED)) { + return; + } + + var parent = Dropdown._getParentFromElement(this); + + var isActive = $$$1(parent).hasClass(ClassName.SHOW); + + if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) { + if (event.which === ESCAPE_KEYCODE) { + var toggle = $$$1(parent).find(Selector.DATA_TOGGLE)[0]; + $$$1(toggle).trigger('focus'); + } + + $$$1(this).trigger('click'); + return; + } + + var items = $$$1(parent).find(Selector.VISIBLE_ITEMS).get(); + + if (items.length === 0) { + return; + } + + var index = items.indexOf(event.target); + + if (event.which === ARROW_UP_KEYCODE && index > 0) { + // Up + index--; + } + + if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { + // Down + index++; + } + + if (index < 0) { + index = 0; + } + + items[index].focus(); + }; + + _createClass(Dropdown, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType; + } + }]); + return Dropdown; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + event.preventDefault(); + event.stopPropagation(); + + Dropdown._jQueryInterface.call($$$1(this), 'toggle'); + }).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) { + e.stopPropagation(); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Dropdown._jQueryInterface; + $$$1.fn[NAME].Constructor = Dropdown; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Dropdown._jQueryInterface; + }; + + return Dropdown; +}($, Popper); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): modal.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Modal = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'modal'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.modal'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var TRANSITION_DURATION = 300; + var BACKDROP_TRANSITION_DURATION = 150; + var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key + + var Default = { + backdrop: true, + keyboard: true, + focus: true, + show: true + }; + var DefaultType = { + backdrop: '(boolean|string)', + keyboard: 'boolean', + focus: 'boolean', + show: 'boolean' + }; + var Event = { + HIDE: "hide" + EVENT_KEY, + HIDDEN: "hidden" + EVENT_KEY, + SHOW: "show" + EVENT_KEY, + SHOWN: "shown" + EVENT_KEY, + FOCUSIN: "focusin" + EVENT_KEY, + RESIZE: "resize" + EVENT_KEY, + CLICK_DISMISS: "click.dismiss" + EVENT_KEY, + KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY, + MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY, + MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY, + CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + SCROLLBAR_MEASURER: 'modal-scrollbar-measure', + BACKDROP: 'modal-backdrop', + OPEN: 'modal-open', + FADE: 'fade', + SHOW: 'show' + }; + var Selector = { + DIALOG: '.modal-dialog', + DATA_TOGGLE: '[data-toggle="modal"]', + DATA_DISMISS: '[data-dismiss="modal"]', + FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', + STICKY_CONTENT: '.sticky-top', + NAVBAR_TOGGLER: '.navbar-toggler' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Modal = + /*#__PURE__*/ + function () { + function Modal(element, config) { + this._config = this._getConfig(config); + this._element = element; + this._dialog = $$$1(element).find(Selector.DIALOG)[0]; + this._backdrop = null; + this._isShown = false; + this._isBodyOverflowing = false; + this._ignoreBackdropClick = false; + this._originalBodyPadding = 0; + this._scrollbarWidth = 0; + } // Getters + + + var _proto = Modal.prototype; + + // Public + _proto.toggle = function toggle(relatedTarget) { + return this._isShown ? this.hide() : this.show(relatedTarget); + }; + + _proto.show = function show(relatedTarget) { + var _this = this; + + if (this._isTransitioning || this._isShown) { + return; + } + + if (Util.supportsTransitionEnd() && $$$1(this._element).hasClass(ClassName.FADE)) { + this._isTransitioning = true; + } + + var showEvent = $$$1.Event(Event.SHOW, { + relatedTarget: relatedTarget + }); + $$$1(this._element).trigger(showEvent); + + if (this._isShown || showEvent.isDefaultPrevented()) { + return; + } + + this._isShown = true; + + this._checkScrollbar(); + + this._setScrollbar(); + + this._adjustDialog(); + + $$$1(document.body).addClass(ClassName.OPEN); + + this._setEscapeEvent(); + + this._setResizeEvent(); + + $$$1(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) { + return _this.hide(event); + }); + $$$1(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () { + $$$1(_this._element).one(Event.MOUSEUP_DISMISS, function (event) { + if ($$$1(event.target).is(_this._element)) { + _this._ignoreBackdropClick = true; + } + }); + }); + + this._showBackdrop(function () { + return _this._showElement(relatedTarget); + }); + }; + + _proto.hide = function hide(event) { + var _this2 = this; + + if (event) { + event.preventDefault(); + } + + if (this._isTransitioning || !this._isShown) { + return; + } + + var hideEvent = $$$1.Event(Event.HIDE); + $$$1(this._element).trigger(hideEvent); + + if (!this._isShown || hideEvent.isDefaultPrevented()) { + return; + } + + this._isShown = false; + var transition = Util.supportsTransitionEnd() && $$$1(this._element).hasClass(ClassName.FADE); + + if (transition) { + this._isTransitioning = true; + } + + this._setEscapeEvent(); + + this._setResizeEvent(); + + $$$1(document).off(Event.FOCUSIN); + $$$1(this._element).removeClass(ClassName.SHOW); + $$$1(this._element).off(Event.CLICK_DISMISS); + $$$1(this._dialog).off(Event.MOUSEDOWN_DISMISS); + + if (transition) { + $$$1(this._element).one(Util.TRANSITION_END, function (event) { + return _this2._hideModal(event); + }).emulateTransitionEnd(TRANSITION_DURATION); + } else { + this._hideModal(); + } + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + $$$1(window, document, this._element, this._backdrop).off(EVENT_KEY); + this._config = null; + this._element = null; + this._dialog = null; + this._backdrop = null; + this._isShown = null; + this._isBodyOverflowing = null; + this._ignoreBackdropClick = null; + this._scrollbarWidth = null; + }; + + _proto.handleUpdate = function handleUpdate() { + this._adjustDialog(); + }; // Private + + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default, config); + Util.typeCheckConfig(NAME, config, DefaultType); + return config; + }; + + _proto._showElement = function _showElement(relatedTarget) { + var _this3 = this; + + var transition = Util.supportsTransitionEnd() && $$$1(this._element).hasClass(ClassName.FADE); + + if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { + // Don't move modal's DOM position + document.body.appendChild(this._element); + } + + this._element.style.display = 'block'; + + this._element.removeAttribute('aria-hidden'); + + this._element.scrollTop = 0; + + if (transition) { + Util.reflow(this._element); + } + + $$$1(this._element).addClass(ClassName.SHOW); + + if (this._config.focus) { + this._enforceFocus(); + } + + var shownEvent = $$$1.Event(Event.SHOWN, { + relatedTarget: relatedTarget + }); + + var transitionComplete = function transitionComplete() { + if (_this3._config.focus) { + _this3._element.focus(); + } + + _this3._isTransitioning = false; + $$$1(_this3._element).trigger(shownEvent); + }; + + if (transition) { + $$$1(this._dialog).one(Util.TRANSITION_END, transitionComplete).emulateTransitionEnd(TRANSITION_DURATION); + } else { + transitionComplete(); + } + }; + + _proto._enforceFocus = function _enforceFocus() { + var _this4 = this; + + $$$1(document).off(Event.FOCUSIN) // Guard against infinite focus loop + .on(Event.FOCUSIN, function (event) { + if (document !== event.target && _this4._element !== event.target && $$$1(_this4._element).has(event.target).length === 0) { + _this4._element.focus(); + } + }); + }; + + _proto._setEscapeEvent = function _setEscapeEvent() { + var _this5 = this; + + if (this._isShown && this._config.keyboard) { + $$$1(this._element).on(Event.KEYDOWN_DISMISS, function (event) { + if (event.which === ESCAPE_KEYCODE) { + event.preventDefault(); + + _this5.hide(); + } + }); + } else if (!this._isShown) { + $$$1(this._element).off(Event.KEYDOWN_DISMISS); + } + }; + + _proto._setResizeEvent = function _setResizeEvent() { + var _this6 = this; + + if (this._isShown) { + $$$1(window).on(Event.RESIZE, function (event) { + return _this6.handleUpdate(event); + }); + } else { + $$$1(window).off(Event.RESIZE); + } + }; + + _proto._hideModal = function _hideModal() { + var _this7 = this; + + this._element.style.display = 'none'; + + this._element.setAttribute('aria-hidden', true); + + this._isTransitioning = false; + + this._showBackdrop(function () { + $$$1(document.body).removeClass(ClassName.OPEN); + + _this7._resetAdjustments(); + + _this7._resetScrollbar(); + + $$$1(_this7._element).trigger(Event.HIDDEN); + }); + }; + + _proto._removeBackdrop = function _removeBackdrop() { + if (this._backdrop) { + $$$1(this._backdrop).remove(); + this._backdrop = null; + } + }; + + _proto._showBackdrop = function _showBackdrop(callback) { + var _this8 = this; + + var animate = $$$1(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : ''; + + if (this._isShown && this._config.backdrop) { + var doAnimate = Util.supportsTransitionEnd() && animate; + this._backdrop = document.createElement('div'); + this._backdrop.className = ClassName.BACKDROP; + + if (animate) { + $$$1(this._backdrop).addClass(animate); + } + + $$$1(this._backdrop).appendTo(document.body); + $$$1(this._element).on(Event.CLICK_DISMISS, function (event) { + if (_this8._ignoreBackdropClick) { + _this8._ignoreBackdropClick = false; + return; + } + + if (event.target !== event.currentTarget) { + return; + } + + if (_this8._config.backdrop === 'static') { + _this8._element.focus(); + } else { + _this8.hide(); + } + }); + + if (doAnimate) { + Util.reflow(this._backdrop); + } + + $$$1(this._backdrop).addClass(ClassName.SHOW); + + if (!callback) { + return; + } + + if (!doAnimate) { + callback(); + return; + } + + $$$1(this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION); + } else if (!this._isShown && this._backdrop) { + $$$1(this._backdrop).removeClass(ClassName.SHOW); + + var callbackRemove = function callbackRemove() { + _this8._removeBackdrop(); + + if (callback) { + callback(); + } + }; + + if (Util.supportsTransitionEnd() && $$$1(this._element).hasClass(ClassName.FADE)) { + $$$1(this._backdrop).one(Util.TRANSITION_END, callbackRemove).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION); + } else { + callbackRemove(); + } + } else if (callback) { + callback(); + } + }; // ---------------------------------------------------------------------- + // the following methods are used to handle overflowing modals + // todo (fat): these should probably be refactored out of modal.js + // ---------------------------------------------------------------------- + + + _proto._adjustDialog = function _adjustDialog() { + var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; + + if (!this._isBodyOverflowing && isModalOverflowing) { + this._element.style.paddingLeft = this._scrollbarWidth + "px"; + } + + if (this._isBodyOverflowing && !isModalOverflowing) { + this._element.style.paddingRight = this._scrollbarWidth + "px"; + } + }; + + _proto._resetAdjustments = function _resetAdjustments() { + this._element.style.paddingLeft = ''; + this._element.style.paddingRight = ''; + }; + + _proto._checkScrollbar = function _checkScrollbar() { + var rect = document.body.getBoundingClientRect(); + this._isBodyOverflowing = rect.left + rect.right < window.innerWidth; + this._scrollbarWidth = this._getScrollbarWidth(); + }; + + _proto._setScrollbar = function _setScrollbar() { + var _this9 = this; + + if (this._isBodyOverflowing) { + // Note: DOMNode.style.paddingRight returns the actual value or '' if not set + // while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set + // Adjust fixed content padding + $$$1(Selector.FIXED_CONTENT).each(function (index, element) { + var actualPadding = $$$1(element)[0].style.paddingRight; + var calculatedPadding = $$$1(element).css('padding-right'); + $$$1(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px"); + }); // Adjust sticky content margin + + $$$1(Selector.STICKY_CONTENT).each(function (index, element) { + var actualMargin = $$$1(element)[0].style.marginRight; + var calculatedMargin = $$$1(element).css('margin-right'); + $$$1(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px"); + }); // Adjust navbar-toggler margin + + $$$1(Selector.NAVBAR_TOGGLER).each(function (index, element) { + var actualMargin = $$$1(element)[0].style.marginRight; + var calculatedMargin = $$$1(element).css('margin-right'); + $$$1(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px"); + }); // Adjust body padding + + var actualPadding = document.body.style.paddingRight; + var calculatedPadding = $$$1('body').css('padding-right'); + $$$1('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px"); + } + }; + + _proto._resetScrollbar = function _resetScrollbar() { + // Restore fixed content padding + $$$1(Selector.FIXED_CONTENT).each(function (index, element) { + var padding = $$$1(element).data('padding-right'); + + if (typeof padding !== 'undefined') { + $$$1(element).css('padding-right', padding).removeData('padding-right'); + } + }); // Restore sticky content and navbar-toggler margin + + $$$1(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) { + var margin = $$$1(element).data('margin-right'); + + if (typeof margin !== 'undefined') { + $$$1(element).css('margin-right', margin).removeData('margin-right'); + } + }); // Restore body padding + + var padding = $$$1('body').data('padding-right'); + + if (typeof padding !== 'undefined') { + $$$1('body').css('padding-right', padding).removeData('padding-right'); + } + }; + + _proto._getScrollbarWidth = function _getScrollbarWidth() { + // thx d.walsh + var scrollDiv = document.createElement('div'); + scrollDiv.className = ClassName.SCROLLBAR_MEASURER; + document.body.appendChild(scrollDiv); + var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth; + document.body.removeChild(scrollDiv); + return scrollbarWidth; + }; // Static + + + Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + var _config = _extends({}, Modal.Default, $$$1(this).data(), typeof config === 'object' && config); + + if (!data) { + data = new Modal(this, _config); + $$$1(this).data(DATA_KEY, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](relatedTarget); + } else if (_config.show) { + data.show(relatedTarget); + } + }); + }; + + _createClass(Modal, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }]); + return Modal; + }(); + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + + $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + var _this10 = this; + + var target; + var selector = Util.getSelectorFromElement(this); + + if (selector) { + target = $$$1(selector)[0]; + } + + var config = $$$1(target).data(DATA_KEY) ? 'toggle' : _extends({}, $$$1(target).data(), $$$1(this).data()); + + if (this.tagName === 'A' || this.tagName === 'AREA') { + event.preventDefault(); + } + + var $target = $$$1(target).one(Event.SHOW, function (showEvent) { + if (showEvent.isDefaultPrevented()) { + // Only register focus restorer if modal will actually get shown + return; + } + + $target.one(Event.HIDDEN, function () { + if ($$$1(_this10).is(':visible')) { + _this10.focus(); + } + }); + }); + + Modal._jQueryInterface.call($$$1(target), config, this); + }); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $$$1.fn[NAME] = Modal._jQueryInterface; + $$$1.fn[NAME].Constructor = Modal; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Modal._jQueryInterface; + }; + + return Modal; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): tooltip.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Tooltip = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'tooltip'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.tooltip'; + var EVENT_KEY = "." + DATA_KEY; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var TRANSITION_DURATION = 150; + var CLASS_PREFIX = 'bs-tooltip'; + var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g'); + var DefaultType = { + animation: 'boolean', + template: 'string', + title: '(string|element|function)', + trigger: 'string', + delay: '(number|object)', + html: 'boolean', + selector: '(string|boolean)', + placement: '(string|function)', + offset: '(number|string)', + container: '(string|element|boolean)', + fallbackPlacement: '(string|array)', + boundary: '(string|element)' + }; + var AttachmentMap = { + AUTO: 'auto', + TOP: 'top', + RIGHT: 'right', + BOTTOM: 'bottom', + LEFT: 'left' + }; + var Default = { + animation: true, + template: '', + trigger: 'hover focus', + title: '', + delay: 0, + html: false, + selector: false, + placement: 'top', + offset: 0, + container: false, + fallbackPlacement: 'flip', + boundary: 'scrollParent' + }; + var HoverState = { + SHOW: 'show', + OUT: 'out' + }; + var Event = { + HIDE: "hide" + EVENT_KEY, + HIDDEN: "hidden" + EVENT_KEY, + SHOW: "show" + EVENT_KEY, + SHOWN: "shown" + EVENT_KEY, + INSERTED: "inserted" + EVENT_KEY, + CLICK: "click" + EVENT_KEY, + FOCUSIN: "focusin" + EVENT_KEY, + FOCUSOUT: "focusout" + EVENT_KEY, + MOUSEENTER: "mouseenter" + EVENT_KEY, + MOUSELEAVE: "mouseleave" + EVENT_KEY + }; + var ClassName = { + FADE: 'fade', + SHOW: 'show' + }; + var Selector = { + TOOLTIP: '.tooltip', + TOOLTIP_INNER: '.tooltip-inner', + ARROW: '.arrow' + }; + var Trigger = { + HOVER: 'hover', + FOCUS: 'focus', + CLICK: 'click', + MANUAL: 'manual' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Tooltip = + /*#__PURE__*/ + function () { + function Tooltip(element, config) { + /** + * Check for Popper dependency + * Popper - https://popper.js.org + */ + if (typeof Popper === 'undefined') { + throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)'); + } // private + + + this._isEnabled = true; + this._timeout = 0; + this._hoverState = ''; + this._activeTrigger = {}; + this._popper = null; // Protected + + this.element = element; + this.config = this._getConfig(config); + this.tip = null; + + this._setListeners(); + } // Getters + + + var _proto = Tooltip.prototype; + + // Public + _proto.enable = function enable() { + this._isEnabled = true; + }; + + _proto.disable = function disable() { + this._isEnabled = false; + }; + + _proto.toggleEnabled = function toggleEnabled() { + this._isEnabled = !this._isEnabled; + }; + + _proto.toggle = function toggle(event) { + if (!this._isEnabled) { + return; + } + + if (event) { + var dataKey = this.constructor.DATA_KEY; + var context = $$$1(event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $$$1(event.currentTarget).data(dataKey, context); + } + + context._activeTrigger.click = !context._activeTrigger.click; + + if (context._isWithActiveTrigger()) { + context._enter(null, context); + } else { + context._leave(null, context); + } + } else { + if ($$$1(this.getTipElement()).hasClass(ClassName.SHOW)) { + this._leave(null, this); + + return; + } + + this._enter(null, this); + } + }; + + _proto.dispose = function dispose() { + clearTimeout(this._timeout); + $$$1.removeData(this.element, this.constructor.DATA_KEY); + $$$1(this.element).off(this.constructor.EVENT_KEY); + $$$1(this.element).closest('.modal').off('hide.bs.modal'); + + if (this.tip) { + $$$1(this.tip).remove(); + } + + this._isEnabled = null; + this._timeout = null; + this._hoverState = null; + this._activeTrigger = null; + + if (this._popper !== null) { + this._popper.destroy(); + } + + this._popper = null; + this.element = null; + this.config = null; + this.tip = null; + }; + + _proto.show = function show() { + var _this = this; + + if ($$$1(this.element).css('display') === 'none') { + throw new Error('Please use show on visible elements'); + } + + var showEvent = $$$1.Event(this.constructor.Event.SHOW); + + if (this.isWithContent() && this._isEnabled) { + $$$1(this.element).trigger(showEvent); + var isInTheDom = $$$1.contains(this.element.ownerDocument.documentElement, this.element); + + if (showEvent.isDefaultPrevented() || !isInTheDom) { + return; + } + + var tip = this.getTipElement(); + var tipId = Util.getUID(this.constructor.NAME); + tip.setAttribute('id', tipId); + this.element.setAttribute('aria-describedby', tipId); + this.setContent(); + + if (this.config.animation) { + $$$1(tip).addClass(ClassName.FADE); + } + + var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement; + + var attachment = this._getAttachment(placement); + + this.addAttachmentClass(attachment); + var container = this.config.container === false ? document.body : $$$1(this.config.container); + $$$1(tip).data(this.constructor.DATA_KEY, this); + + if (!$$$1.contains(this.element.ownerDocument.documentElement, this.tip)) { + $$$1(tip).appendTo(container); + } + + $$$1(this.element).trigger(this.constructor.Event.INSERTED); + this._popper = new Popper(this.element, tip, { + placement: attachment, + modifiers: { + offset: { + offset: this.config.offset + }, + flip: { + behavior: this.config.fallbackPlacement + }, + arrow: { + element: Selector.ARROW + }, + preventOverflow: { + boundariesElement: this.config.boundary + } + }, + onCreate: function onCreate(data) { + if (data.originalPlacement !== data.placement) { + _this._handlePopperPlacementChange(data); + } + }, + onUpdate: function onUpdate(data) { + _this._handlePopperPlacementChange(data); + } + }); + $$$1(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + if ('ontouchstart' in document.documentElement) { + $$$1('body').children().on('mouseover', null, $$$1.noop); + } + + var complete = function complete() { + if (_this.config.animation) { + _this._fixTransition(); + } + + var prevHoverState = _this._hoverState; + _this._hoverState = null; + $$$1(_this.element).trigger(_this.constructor.Event.SHOWN); + + if (prevHoverState === HoverState.OUT) { + _this._leave(null, _this); + } + }; + + if (Util.supportsTransitionEnd() && $$$1(this.tip).hasClass(ClassName.FADE)) { + $$$1(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION); + } else { + complete(); + } + } + }; + + _proto.hide = function hide(callback) { + var _this2 = this; + + var tip = this.getTipElement(); + var hideEvent = $$$1.Event(this.constructor.Event.HIDE); + + var complete = function complete() { + if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) { + tip.parentNode.removeChild(tip); + } + + _this2._cleanTipClass(); + + _this2.element.removeAttribute('aria-describedby'); + + $$$1(_this2.element).trigger(_this2.constructor.Event.HIDDEN); + + if (_this2._popper !== null) { + _this2._popper.destroy(); + } + + if (callback) { + callback(); + } + }; + + $$$1(this.element).trigger(hideEvent); + + if (hideEvent.isDefaultPrevented()) { + return; + } + + $$$1(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + if ('ontouchstart' in document.documentElement) { + $$$1('body').children().off('mouseover', null, $$$1.noop); + } + + this._activeTrigger[Trigger.CLICK] = false; + this._activeTrigger[Trigger.FOCUS] = false; + this._activeTrigger[Trigger.HOVER] = false; + + if (Util.supportsTransitionEnd() && $$$1(this.tip).hasClass(ClassName.FADE)) { + $$$1(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); + } else { + complete(); + } + + this._hoverState = ''; + }; + + _proto.update = function update() { + if (this._popper !== null) { + this._popper.scheduleUpdate(); + } + }; // Protected + + + _proto.isWithContent = function isWithContent() { + return Boolean(this.getTitle()); + }; + + _proto.addAttachmentClass = function addAttachmentClass(attachment) { + $$$1(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment); + }; + + _proto.getTipElement = function getTipElement() { + this.tip = this.tip || $$$1(this.config.template)[0]; + return this.tip; + }; + + _proto.setContent = function setContent() { + var $tip = $$$1(this.getTipElement()); + this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle()); + $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW); + }; + + _proto.setElementContent = function setElementContent($element, content) { + var html = this.config.html; + + if (typeof content === 'object' && (content.nodeType || content.jquery)) { + // Content is a DOM node or a jQuery + if (html) { + if (!$$$1(content).parent().is($element)) { + $element.empty().append(content); + } + } else { + $element.text($$$1(content).text()); + } + } else { + $element[html ? 'html' : 'text'](content); + } + }; + + _proto.getTitle = function getTitle() { + var title = this.element.getAttribute('data-original-title'); + + if (!title) { + title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title; + } + + return title; + }; // Private + + + _proto._getAttachment = function _getAttachment(placement) { + return AttachmentMap[placement.toUpperCase()]; + }; + + _proto._setListeners = function _setListeners() { + var _this3 = this; + + var triggers = this.config.trigger.split(' '); + triggers.forEach(function (trigger) { + if (trigger === 'click') { + $$$1(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) { + return _this3.toggle(event); + }); + } else if (trigger !== Trigger.MANUAL) { + var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN; + var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT; + $$$1(_this3.element).on(eventIn, _this3.config.selector, function (event) { + return _this3._enter(event); + }).on(eventOut, _this3.config.selector, function (event) { + return _this3._leave(event); + }); + } + + $$$1(_this3.element).closest('.modal').on('hide.bs.modal', function () { + return _this3.hide(); + }); + }); + + if (this.config.selector) { + this.config = _extends({}, this.config, { + trigger: 'manual', + selector: '' + }); + } else { + this._fixTitle(); + } + }; + + _proto._fixTitle = function _fixTitle() { + var titleType = typeof this.element.getAttribute('data-original-title'); + + if (this.element.getAttribute('title') || titleType !== 'string') { + this.element.setAttribute('data-original-title', this.element.getAttribute('title') || ''); + this.element.setAttribute('title', ''); + } + }; + + _proto._enter = function _enter(event, context) { + var dataKey = this.constructor.DATA_KEY; + context = context || $$$1(event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $$$1(event.currentTarget).data(dataKey, context); + } + + if (event) { + context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true; + } + + if ($$$1(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) { + context._hoverState = HoverState.SHOW; + return; + } + + clearTimeout(context._timeout); + context._hoverState = HoverState.SHOW; + + if (!context.config.delay || !context.config.delay.show) { + context.show(); + return; + } + + context._timeout = setTimeout(function () { + if (context._hoverState === HoverState.SHOW) { + context.show(); + } + }, context.config.delay.show); + }; + + _proto._leave = function _leave(event, context) { + var dataKey = this.constructor.DATA_KEY; + context = context || $$$1(event.currentTarget).data(dataKey); + + if (!context) { + context = new this.constructor(event.currentTarget, this._getDelegateConfig()); + $$$1(event.currentTarget).data(dataKey, context); + } + + if (event) { + context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false; + } + + if (context._isWithActiveTrigger()) { + return; + } + + clearTimeout(context._timeout); + context._hoverState = HoverState.OUT; + + if (!context.config.delay || !context.config.delay.hide) { + context.hide(); + return; + } + + context._timeout = setTimeout(function () { + if (context._hoverState === HoverState.OUT) { + context.hide(); + } + }, context.config.delay.hide); + }; + + _proto._isWithActiveTrigger = function _isWithActiveTrigger() { + for (var trigger in this._activeTrigger) { + if (this._activeTrigger[trigger]) { + return true; + } + } + + return false; + }; + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, this.constructor.Default, $$$1(this.element).data(), config); + + if (typeof config.delay === 'number') { + config.delay = { + show: config.delay, + hide: config.delay + }; + } + + if (typeof config.title === 'number') { + config.title = config.title.toString(); + } + + if (typeof config.content === 'number') { + config.content = config.content.toString(); + } + + Util.typeCheckConfig(NAME, config, this.constructor.DefaultType); + return config; + }; + + _proto._getDelegateConfig = function _getDelegateConfig() { + var config = {}; + + if (this.config) { + for (var key in this.config) { + if (this.constructor.Default[key] !== this.config[key]) { + config[key] = this.config[key]; + } + } + } + + return config; + }; + + _proto._cleanTipClass = function _cleanTipClass() { + var $tip = $$$1(this.getTipElement()); + var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); + + if (tabClass !== null && tabClass.length > 0) { + $tip.removeClass(tabClass.join('')); + } + }; + + _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) { + this._cleanTipClass(); + + this.addAttachmentClass(this._getAttachment(data.placement)); + }; + + _proto._fixTransition = function _fixTransition() { + var tip = this.getTipElement(); + var initConfigAnimation = this.config.animation; + + if (tip.getAttribute('x-placement') !== null) { + return; + } + + $$$1(tip).removeClass(ClassName.FADE); + this.config.animation = false; + this.hide(); + this.show(); + this.config.animation = initConfigAnimation; + }; // Static + + + Tooltip._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + var _config = typeof config === 'object' && config; + + if (!data && /dispose|hide/.test(config)) { + return; + } + + if (!data) { + data = new Tooltip(this, _config); + $$$1(this).data(DATA_KEY, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Tooltip, null, [{ + key: "VERSION", + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }, { + key: "NAME", + get: function get() { + return NAME; + } + }, { + key: "DATA_KEY", + get: function get() { + return DATA_KEY; + } + }, { + key: "Event", + get: function get() { + return Event; + } + }, { + key: "EVENT_KEY", + get: function get() { + return EVENT_KEY; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType; + } + }]); + return Tooltip; + }(); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + + $$$1.fn[NAME] = Tooltip._jQueryInterface; + $$$1.fn[NAME].Constructor = Tooltip; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Tooltip._jQueryInterface; + }; + + return Tooltip; +}($, Popper); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): popover.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var Popover = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'popover'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.popover'; + var EVENT_KEY = "." + DATA_KEY; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var CLASS_PREFIX = 'bs-popover'; + var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g'); + var Default = _extends({}, Tooltip.Default, { + placement: 'right', + trigger: 'click', + content: '', + template: '' + }); + var DefaultType = _extends({}, Tooltip.DefaultType, { + content: '(string|element|function)' + }); + var ClassName = { + FADE: 'fade', + SHOW: 'show' + }; + var Selector = { + TITLE: '.popover-header', + CONTENT: '.popover-body' + }; + var Event = { + HIDE: "hide" + EVENT_KEY, + HIDDEN: "hidden" + EVENT_KEY, + SHOW: "show" + EVENT_KEY, + SHOWN: "shown" + EVENT_KEY, + INSERTED: "inserted" + EVENT_KEY, + CLICK: "click" + EVENT_KEY, + FOCUSIN: "focusin" + EVENT_KEY, + FOCUSOUT: "focusout" + EVENT_KEY, + MOUSEENTER: "mouseenter" + EVENT_KEY, + MOUSELEAVE: "mouseleave" + EVENT_KEY + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var Popover = + /*#__PURE__*/ + function (_Tooltip) { + _inheritsLoose(Popover, _Tooltip); + + function Popover() { + return _Tooltip.apply(this, arguments) || this; + } + + var _proto = Popover.prototype; + + // Overrides + _proto.isWithContent = function isWithContent() { + return this.getTitle() || this._getContent(); + }; + + _proto.addAttachmentClass = function addAttachmentClass(attachment) { + $$$1(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment); + }; + + _proto.getTipElement = function getTipElement() { + this.tip = this.tip || $$$1(this.config.template)[0]; + return this.tip; + }; + + _proto.setContent = function setContent() { + var $tip = $$$1(this.getTipElement()); // We use append for html objects to maintain js events + + this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); + + var content = this._getContent(); + + if (typeof content === 'function') { + content = content.call(this.element); + } + + this.setElementContent($tip.find(Selector.CONTENT), content); + $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW); + }; // Private + + + _proto._getContent = function _getContent() { + return this.element.getAttribute('data-content') || this.config.content; + }; + + _proto._cleanTipClass = function _cleanTipClass() { + var $tip = $$$1(this.getTipElement()); + var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); + + if (tabClass !== null && tabClass.length > 0) { + $tip.removeClass(tabClass.join('')); + } + }; // Static + + + Popover._jQueryInterface = function _jQueryInterface(config) { + return this.each(function () { + var data = $$$1(this).data(DATA_KEY); + + var _config = typeof config === 'object' ? config : null; + + if (!data && /destroy|hide/.test(config)) { + return; + } + + if (!data) { + data = new Popover(this, _config); + $$$1(this).data(DATA_KEY, data); + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError("No method named \"" + config + "\""); + } + + data[config](); + } + }); + }; + + _createClass(Popover, null, [{ + key: "VERSION", + // Getters + get: function get() { + return VERSION; + } + }, { + key: "Default", + get: function get() { + return Default; + } + }, { + key: "NAME", + get: function get() { + return NAME; + } + }, { + key: "DATA_KEY", + get: function get() { + return DATA_KEY; + } + }, { + key: "Event", + get: function get() { + return Event; + } + }, { + key: "EVENT_KEY", + get: function get() { + return EVENT_KEY; + } + }, { + key: "DefaultType", + get: function get() { + return DefaultType; + } + }]); + return Popover; + }(Tooltip); + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + + $$$1.fn[NAME] = Popover._jQueryInterface; + $$$1.fn[NAME].Constructor = Popover; + + $$$1.fn[NAME].noConflict = function () { + $$$1.fn[NAME] = JQUERY_NO_CONFLICT; + return Popover._jQueryInterface; + }; + + return Popover; +}($); + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.0.0): scrollspy.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +var ScrollSpy = function ($$$1) { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + var NAME = 'scrollspy'; + var VERSION = '4.0.0'; + var DATA_KEY = 'bs.scrollspy'; + var EVENT_KEY = "." + DATA_KEY; + var DATA_API_KEY = '.data-api'; + var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; + var Default = { + offset: 10, + method: 'auto', + target: '' + }; + var DefaultType = { + offset: 'number', + method: 'string', + target: '(string|element)' + }; + var Event = { + ACTIVATE: "activate" + EVENT_KEY, + SCROLL: "scroll" + EVENT_KEY, + LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY + }; + var ClassName = { + DROPDOWN_ITEM: 'dropdown-item', + DROPDOWN_MENU: 'dropdown-menu', + ACTIVE: 'active' + }; + var Selector = { + DATA_SPY: '[data-spy="scroll"]', + ACTIVE: '.active', + NAV_LIST_GROUP: '.nav, .list-group', + NAV_LINKS: '.nav-link', + NAV_ITEMS: '.nav-item', + LIST_ITEMS: '.list-group-item', + DROPDOWN: '.dropdown', + DROPDOWN_ITEMS: '.dropdown-item', + DROPDOWN_TOGGLE: '.dropdown-toggle' + }; + var OffsetMethod = { + OFFSET: 'offset', + POSITION: 'position' + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + }; + + var ScrollSpy = + /*#__PURE__*/ + function () { + function ScrollSpy(element, config) { + var _this = this; + + this._element = element; + this._scrollElement = element.tagName === 'BODY' ? window : element; + this._config = this._getConfig(config); + this._selector = this._config.target + " " + Selector.NAV_LINKS + "," + (this._config.target + " " + Selector.LIST_ITEMS + ",") + (this._config.target + " " + Selector.DROPDOWN_ITEMS); + this._offsets = []; + this._targets = []; + this._activeTarget = null; + this._scrollHeight = 0; + $$$1(this._scrollElement).on(Event.SCROLL, function (event) { + return _this._process(event); + }); + this.refresh(); + + this._process(); + } // Getters + + + var _proto = ScrollSpy.prototype; + + // Public + _proto.refresh = function refresh() { + var _this2 = this; + + var autoMethod = this._scrollElement === this._scrollElement.window ? OffsetMethod.OFFSET : OffsetMethod.POSITION; + var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method; + var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0; + this._offsets = []; + this._targets = []; + this._scrollHeight = this._getScrollHeight(); + var targets = $$$1.makeArray($$$1(this._selector)); + targets.map(function (element) { + var target; + var targetSelector = Util.getSelectorFromElement(element); + + if (targetSelector) { + target = $$$1(targetSelector)[0]; + } + + if (target) { + var targetBCR = target.getBoundingClientRect(); + + if (targetBCR.width || targetBCR.height) { + // TODO (fat): remove sketch reliance on jQuery position/offset + return [$$$1(target)[offsetMethod]().top + offsetBase, targetSelector]; + } + } + + return null; + }).filter(function (item) { + return item; + }).sort(function (a, b) { + return a[0] - b[0]; + }).forEach(function (item) { + _this2._offsets.push(item[0]); + + _this2._targets.push(item[1]); + }); + }; + + _proto.dispose = function dispose() { + $$$1.removeData(this._element, DATA_KEY); + $$$1(this._scrollElement).off(EVENT_KEY); + this._element = null; + this._scrollElement = null; + this._config = null; + this._selector = null; + this._offsets = null; + this._targets = null; + this._activeTarget = null; + this._scrollHeight = null; + }; // Private + + + _proto._getConfig = function _getConfig(config) { + config = _extends({}, Default, config); + + if (typeof config.target !== 'string') { + var id = $$$1(config.target).attr('id'); + + if (!id) { + id = Util.getUID(NAME); + $$$1(config.target).attr('id', id); + } + + config.target = "#" + id; + } + + Util.typeCheckConfig(NAME, config, DefaultType); + return config; + }; + + _proto._getScrollTop = function _getScrollTop() { + return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; + }; + + _proto._getScrollHeight = function _getScrollHeight() { + return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); + }; + + _proto._getOffsetHeight = function _getOffsetHeight() { + return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; + }; + + _proto._process = function _process() { + var scrollTop = this._getScrollTop() + this._config.offset; + + var scrollHeight = this._getScrollHeight(); + + var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight(); + + if (this._scrollHeight !== scrollHeight) { + this.refresh(); + } + + if (scrollTop >= maxScroll) { + var target = this._targets[this._targets.length - 1]; + + if (this._activeTarget !== target) { + this._activate(target); + } + + return; + } + + if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { + this._activeTarget = null; + + this._clear(); + + return; + } + + for (var i = this._offsets.length; i--;) { + var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]); + + if (isActiveTarget) { + this._activate(this._targets[i]); + } + } + }; + + _proto._activate = function _activate(target) { + this._activeTarget = target; + + this._clear(); + + var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style + + + queries = queries.map(function (selector) { + return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]"); + }); + var $link = $$$1(queries.join(',')); + + if ($link.hasClass(ClassName.DROPDOWN_ITEM)) { + $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE); + $link.addClass(ClassName.ACTIVE); + } else { + // Set triggered link as active + $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active + // With both '; + + if ( $container ) { + $fb_output .= ''; + } + + echo $fb_output; + } + } +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/custom-header.php b/wp-content/themes/consultstreet/inc/custom-header.php new file mode 100644 index 00000000..830cbece --- /dev/null +++ b/wp-content/themes/consultstreet/inc/custom-header.php @@ -0,0 +1,78 @@ + + * + * @link https://developer.wordpress.org/themes/functionality/custom-headers/ + * + * @package consultstreet + */ + +/** + * Set up the WordPress core custom header feature. + * + * @uses consultstreet_header_style() + */ +function consultstreet_custom_header_setup() { + add_theme_support( 'custom-header', apply_filters( 'consultstreet_custom_header_args', array( + 'default-image' => get_stylesheet_directory_uri() . '/assets/img/page-header-bg.jpg', + 'default-text-color' => '#fff', + 'width' => 1920, + 'height' => 500, + 'flex-height' => true, + 'flex-width' => true, + 'wp-head-callback' => 'consultstreet_header_style', + ) ) ); +} + +add_action( 'after_setup_theme', 'consultstreet_custom_header_setup' ); + +if ( ! function_exists( 'consultstreet_header_style' ) ) : + /** + * Styles the header image and text displayed on the blog. + * + * @see consultstreet_custom_header_setup(). + */ + function consultstreet_header_style() { + $header_text_color = get_header_textcolor(); + + /* + * If no custom options for text are set, let's bail. + * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ). + */ + if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { + return; + } + + // If we get this far, we have custom styles. Let's do this. + ?> + + 0 ){ + $contents.find("html, body").animate({ + scrollTop: $contents.find( "#" + scroll_section_id ).offset().top + }, 1000); + } +} + +jQuery('body').on('click', '#sub-accordion-panel-consultstreet_frontpage_settings .control-subsection .accordion-section-title', function(event) { + var section_id = jQuery(this).parent('.control-subsection').attr('id'); + consultstreet_frontpage_sections_scroll( section_id ); +}); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/assets/js/customizer.js b/wp-content/themes/consultstreet/inc/customizer/assets/js/customizer.js new file mode 100644 index 00000000..df38e0dd --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/assets/js/customizer.js @@ -0,0 +1,180 @@ +/** + * File customizer.js. + * + * Theme Customizer enhancements for a better user experience. + * + * Contains handlers to make Theme Customizer preview reload changes asynchronously. + */ + +( function ( $ ) { + + // Site title and description. + wp.customize( 'blogname', function ( value ) { + value.bind( function ( to ) { + $( '.site-title a' ).text( to ); + } ); + } ); + wp.customize( 'blogdescription', function ( value ) { + value.bind( function ( to ) { + $( '.site-description' ).text( to ); + } ); + } ); + + // Service title + wp.customize( + 'consultstreet_service_area_title', function( value ) { + value.bind( + function( newval ) { + $( '.theme-services .theme-section-title' ).text( newval ); + } + ); + } + ); + + // Service description + wp.customize( + 'consultstreet_service_area_des', function( value ) { + value.bind( + function( newval ) { + $( '.theme-services .theme-section-subtitle' ).text( newval ); + } + ); + } + ); + + // Project title + wp.customize( + 'consultstreet_project_area_title', function( value ) { + value.bind( + function( newval ) { + $( '.theme-project .theme-section-title' ).text( newval ); + } + ); + } + ); + + // Project description + wp.customize( + 'consultstreet_project_area_des', function( value ) { + value.bind( + function( newval ) { + $( '.theme-project .theme-section-subtitle' ).text( newval ); + } + ); + } + ); + + + // Testimonial title + wp.customize( + 'consultstreet_testimonial_area_title', function( value ) { + value.bind( + function( newval ) { + $( '.theme-testimonial .theme-section-title' ).text( newval ); + } + ); + } + ); + + // Testimonial description + wp.customize( + 'consultstreet_testimonial_area_des', function( value ) { + value.bind( + function( newval ) { + $( '.theme-testimonial .theme-section-subtitle' ).text( newval ); + } + ); + } + ); + + // Call to action title + wp.customize( + 'consultstreet_cta_area_title', function( value ) { + value.bind( + function( newval ) { + $( '.theme-cta .cta-block h5' ).text( newval ); + } + ); + } + ); + + // Call to action subtitle + wp.customize( + 'consultstreet_cta_area_subtitle', function( value ) { + value.bind( + function( newval ) { + $( '.theme-cta .cta-block h2' ).text( newval ); + } + ); + } + ); + + // Call to action description + wp.customize( + 'consultstreet_cta_area_des', function( value ) { + value.bind( + function( newval ) { + $( '.theme-cta .cta-block p' ).text( newval ); + } + ); + } + ); + + // Call to action button text + wp.customize( + 'consultstreet_cta_button_text', function( value ) { + value.bind( + function( newval ) { + $( '.theme-cta .btn-small' ).text( newval ); + } + ); + } + ); + + // Call to action video text + wp.customize( + 'consultstreet_video_text', function( value ) { + value.bind( + function( newval ) { + $( '.theme-cta .youtube-click a' ).text( newval ); + } + ); + } + ); + + // Blog title + wp.customize( + 'consultstreet_blog_area_title', function( value ) { + value.bind( + function( newval ) { + $( '.theme-blog .theme-section-title' ).text( newval ); + } + ); + } + ); + + // Blog description + wp.customize( + 'consultstreet_blog_area_des', function( value ) { + value.bind( + function( newval ) { + $( '.theme-blog .theme-section-subtitle' ).text( newval ); + } + ); + } + ); + + + // footer copyright text + wp.customize( + 'consultstreet_footer_copright_text', function( value ) { + value.bind( + function( newval ) { + $( '.site-footer .site-info' ).text( newval ); + } + ); + } + ); + + +} )( jQuery ); diff --git a/wp-content/themes/consultstreet/inc/customizer/assets/js/extend-customizer.js b/wp-content/themes/consultstreet/inc/customizer/assets/js/extend-customizer.js new file mode 100644 index 00000000..467dbb24 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/assets/js/extend-customizer.js @@ -0,0 +1,349 @@ +/** + * Extend Customizer Panel + * + * @package consultstreet + */ + +( function( $ ) { + + var api = wp.customize; + + api.bind( 'pane-contents-reflowed', function() { + + // Reflow sections + var sections = []; + + api.section.each( function( section ) { + + if ( + 'consultstreet_section' !== section.params.type || + 'undefined' === typeof section.params.section + ) { + + return; + + } + + sections.push( section ); + + } ); + + sections.sort( api.utils.prioritySort ).reverse(); + + $.each( sections, function( i, section ) { + + var parentContainer = $( '#sub-accordion-section-' + section.params.section ); + + parentContainer.children( '.section-meta' ).after( section.headContainer ); + + } ); + + // Reflow panels + var panels = []; + + api.panel.each( function( panel ) { + + if ( + 'consultstreet_panel' !== panel.params.type || + 'undefined' === typeof panel.params.panel + ) { + + return; + + } + + panels.push( panel ); + + } ); + + panels.sort( api.utils.prioritySort ).reverse(); + + $.each( panels, function( i, panel ) { + + var parentContainer = $( '#sub-accordion-panel-' + panel.params.panel ); + + parentContainer.children( '.panel-meta' ).after( panel.headContainer ); + + } ); + + } ); + + + // Extend Panel + var _panelEmbed = wp.customize.Panel.prototype.embed; + var _panelIsContextuallyActive = wp.customize.Panel.prototype.isContextuallyActive; + var _panelAttachEvents = wp.customize.Panel.prototype.attachEvents; + + wp.customize.Panel = wp.customize.Panel.extend( { + attachEvents : function() { + + if ( + 'consultstreet_panel' !== this.params.type || + 'undefined' === typeof this.params.panel + ) { + + _panelAttachEvents.call( this ); + + return; + + } + + _panelAttachEvents.call( this ); + + var panel = this; + + panel.expanded.bind( function( expanded ) { + + var parent = api.panel( panel.params.panel ); + + if ( expanded ) { + + parent.contentContainer.addClass( 'current-panel-parent' ); + + } else { + + parent.contentContainer.removeClass( 'current-panel-parent' ); + + } + + } ); + + panel.container.find( '.customize-panel-back' ) + .off( 'click keydown' ) + .on( 'click keydown', function( event ) { + + if ( api.utils.isKeydownButNotEnterEvent( event ) ) { + + return; + + } + + event.preventDefault(); // Keep this AFTER the key filter above + + if ( panel.expanded() ) { + + api.panel( panel.params.panel ).expand(); + + } + + } ); + + }, + embed : function() { + + if ( + 'consultstreet_panel' !== this.params.type || + 'undefined' === typeof this.params.panel + ) { + + _panelEmbed.call( this ); + + return; + + } + + _panelEmbed.call( this ); + + var panel = this; + var parentContainer = $( '#sub-accordion-panel-' + this.params.panel ); + + parentContainer.append( panel.headContainer ); + + }, + isContextuallyActive: function() { + + if ( + 'consultstreet_panel' !== this.params.type + ) { + + return _panelIsContextuallyActive.call( this ); + + } + + var panel = this; + var children = this._children( 'panel', 'section' ); + + api.panel.each( function( child ) { + + if ( !child.params.panel ) { + + return; + + } + + if ( child.params.panel !== panel.id ) { + + return; + + } + + children.push( child ); + + } ); + + children.sort( api.utils.prioritySort ); + + var activeCount = 0; + + _( children ).each( function( child ) { + + if ( child.active() && child.isContextuallyActive() ) { + + activeCount += 1; + + } + + } ); + + return ( activeCount !== 0 ); + + } + + } ); + + + // Extend Section + var _sectionEmbed = wp.customize.Section.prototype.embed; + var _sectionIsContextuallyActive = wp.customize.Section.prototype.isContextuallyActive; + var _sectionAttachEvents = wp.customize.Section.prototype.attachEvents; + + wp.customize.Section = wp.customize.Section.extend( { + attachEvents : function() { + + if ( + 'consultstreet_section' !== this.params.type || + 'undefined' === typeof this.params.section + ) { + + _sectionAttachEvents.call( this ); + + return; + + } + + _sectionAttachEvents.call( this ); + + var section = this; + + section.expanded.bind( function( expanded ) { + + var parent = api.section( section.params.section ); + + if ( expanded ) { + + parent.contentContainer.addClass( 'current-section-parent' ); + + } else { + + parent.contentContainer.removeClass( 'current-section-parent' ); + + } + + } ); + + section.container.find( '.customize-section-back' ) + .off( 'click keydown' ) + .on( 'click keydown', function( event ) { + + if ( api.utils.isKeydownButNotEnterEvent( event ) ) { + + return; + + } + + event.preventDefault(); // Keep this AFTER the key filter above + + if ( section.expanded() ) { + + api.section( section.params.section ).expand(); + + } + + } ); + + }, + embed : function() { + + if ( + 'consultstreet_section' !== this.params.type || + 'undefined' === typeof this.params.section + ) { + + _sectionEmbed.call( this ); + + return; + + } + + _sectionEmbed.call( this ); + + var section = this; + var parentContainer = $( '#sub-accordion-section-' + this.params.section ); + + parentContainer.append( section.headContainer ); + + }, + isContextuallyActive: function() { + + if ( + 'consultstreet_section' !== this.params.type + ) { + + return _sectionIsContextuallyActive.call( this ); + + } + + var section = this; + var children = this._children( 'section', 'control' ); + + api.section.each( function( child ) { + + if ( !child.params.section ) { + + return; + + } + + if ( child.params.section !== section.id ) { + + return; + + } + + children.push( child ); + + } ); + + children.sort( api.utils.prioritySort ); + + var activeCount = 0; + + _( children ).each( function( child ) { + + if ( 'undefined' !== typeof child.isContextuallyActive ) { + + if ( child.active() && child.isContextuallyActive() ) { + + activeCount += 1; + + } + + } else { + + if ( child.active() ) { + + activeCount += 1; + + } + + } + + } ); + + return ( activeCount !== 0 ); + + } + + } ); + +} )( jQuery ); diff --git a/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-options.php b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-options.php new file mode 100644 index 00000000..69c58fcd --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-options.php @@ -0,0 +1,159 @@ +selective_refresh ) ? 'postMessage' : 'refresh'; + + $wp_customize->get_section( 'header_image' )->panel = 'consultstreet_theme_settings'; + $wp_customize->get_section( 'header_image' )->title = __( 'Page Header', 'consultstreet' ); + $wp_customize->get_section( 'header_image' )->priority = 40; + + // Sticky Bar Logo + $wp_customize->add_setting( 'consultstreet_sticky_bar_logo', array( + 'sanitize_callback' => 'esc_url_raw', + ) + ); + $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'consultstreet_sticky_bar_logo', + array( + 'label' => esc_html__( 'Set Sticky Bar Logo', 'consultstreet' ), + 'description' => esc_html__( 'You can Upload the Standrad size of logo (210px*39px)', 'consultstreet' ), + 'section' => 'consultstreet_theme_menu_bar', + 'settings' => 'consultstreet_sticky_bar_logo', + 'priority' => 15, + ) + )); + + + $wp_customize->add_setting( 'consultstreet_typography_base_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Open Sans', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_base_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_base_typography', + 'settings' => 'consultstreet_typography_base_font_family', + 'priority' => 10, + ) ) ); + + $wp_customize->add_setting( 'consultstreet_typography_base_font_size', + array( + 'default' => '1rem', + 'sanitize_callback' => 'consultstreet_sanitize_text', + )); + $wp_customize->add_control( 'consultstreet_typography_base_font_size', + array( + 'label' => esc_html__( 'Font Size', 'consultstreet' ), + 'description' => esc_html__( 'You can enter font-size in px or rem ', 'consultstreet' ), + 'section' => 'consultstreet_base_typography', + 'priority' => 15, + 'type' => 'text', + )); + + $wp_customize->add_setting( 'consultstreet_typography_h1_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h1_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings1_typography', + 'settings' => 'consultstreet_typography_h1_font_family', + 'priority' => 10, + ) ) ); + + + $wp_customize->add_setting( 'consultstreet_typography_h2_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h2_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings2_typography', + 'settings' => 'consultstreet_typography_h2_font_family', + 'priority' => 10, + ) ) ); + + $wp_customize->add_setting( 'consultstreet_typography_h3_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h3_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings3_typography', + 'settings' => 'consultstreet_typography_h3_font_family', + 'priority' => 10, + ) ) ); + + $wp_customize->add_setting( 'consultstreet_typography_h4_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h4_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings4_typography', + 'settings' => 'consultstreet_typography_h4_font_family', + 'priority' => 10, + ) ) ); + + $wp_customize->add_setting( 'consultstreet_typography_h5_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h5_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings5_typography', + 'settings' => 'consultstreet_typography_h5_font_family', + 'priority' => 10, + ) ) ); + + $wp_customize->add_setting( 'consultstreet_typography_h6_font_family',array( + 'sanitize_callback' => 'consultstreet_sanitize_select', + 'capability' => 'edit_theme_options', + 'default' => 'Montserrat', + ) ); + $wp_customize->add_control( new ConsultStreet_Customizer_Typography_Control( $wp_customize, 'consultstreet_typography_h6_font_family', array( + 'label' => esc_html__( 'Font Family', 'consultstreet' ), + 'section' => 'consultstreet_headings6_typography', + 'settings' => 'consultstreet_typography_h6_font_family', + 'priority' => 10, + ) ) ); + + // Footer copyright + + $wp_customize->add_setting( + 'consultstreet_footer_copright_text', + array( + 'sanitize_callback' => 'consultstreet_sanitize_text', + 'default' => __('Copyright © 2026 | Powered by WordPress | ConsultStreet theme by ThemeArile', 'consultstreet'), + 'transport' => $selective_refresh, + ) + ); + $wp_customize->add_control('consultstreet_footer_copright_text', array( + 'label' => esc_html__('Footer Copyright','consultstreet'), + 'section' => 'consultstreet_footer_copyright', + 'priority' => 10, + 'type' => 'textarea' + )); + +} +add_action( 'customize_register', 'consultstreet_customizer_theme_settings' ); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-partials.php b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-partials.php new file mode 100644 index 00000000..a4fc9ff9 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-partials.php @@ -0,0 +1,115 @@ + $item ) { + $val[ $key ] = sanitize_text_field( $item ); + } + return $val; + } + + // Sanitize Radio Buttonset control. + public static function sanitize_radio( $val, $setting ) { + $val = sanitize_key( $val ); + $choices = $setting->manager->get_control( $setting->id )->choices; + return array_key_exists( $val, $choices ) ? $val : $setting->default; + } + + // Sanitize Slider control. + public static function sanitize_slider( $val, $setting ) { + + $input_attrs = array(); + + if ( isset( $setting->manager->get_control( $setting->id )->input_attrs ) ) { + $input_attrs = $setting->manager->get_control( $setting->id )->input_attrs; + } + + $val['slider'] = is_numeric( $val['slider'] ) ? $val['slider'] : ''; + + $val['slider'] = isset( $input_attrs['min'] ) && ( ! empty( $val ) ) && ( $input_attrs['min'] > $val['slider'] ) ? $input_attrs['min'] : $val['slider']; + $val['slider'] = isset( $input_attrs['max'] ) && ( ! empty( $val ) ) && ( $input_attrs['max'] < $val['slider'] ) ? $input_attrs['max'] : $val['slider']; + + $val['suffix'] = esc_attr( $val['suffix'] ); + + return $val; + + } + + public static function sanitize_sortable( $input, $setting ) { + + // Get list of choices from the control + // associated with the setting. + $choices = $setting->manager->get_control( $setting->id )->choices; + $input_keys = $input; + + foreach ( $input_keys as $key => $value ) { + if ( ! array_key_exists( $value, $choices ) ) { + unset( $input[ $key ] ); + } + } + + // If the input is a valid key, return it; + // otherwise, return the default. + return ( is_array( $input ) ? $input : $setting->default ); + } + + // Sanitize checkbox. + public static function sanitize_checkbox( $val ) { + if ( '0' === $val || 'false' === $val ) { + return false; + } + return (bool) $val; + } + +} + +ConsultStreet_Customizer_Sanitize::get_instance(); diff --git a/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-selective.php b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-selective.php new file mode 100644 index 00000000..c1261de4 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-selective.php @@ -0,0 +1,172 @@ +get_setting( 'blogname' )->transport = 'postMessage'; +$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + +if ( isset( $wp_customize->selective_refresh ) ) { + + // site title + $wp_customize->selective_refresh->add_partial( + 'blogname', + array( + 'selector' => '.site-title a', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_blogname' ), + ) + ); + + // site tagline + $wp_customize->selective_refresh->add_partial( + 'blogdescription', + array( + 'selector' => '.site-description', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_blogdescription' ), + ) + ); + + // main slider + $wp_customize->selective_refresh->add_partial( + 'consultstreet_main_slider_content', + array( + 'selector' => '.theme-main-slider .theme-slider-content', + ) + ); + + // service title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_service_area_title', + array( + 'selector' => '.theme-services .theme-section-title', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_service_area_title' ), + ) + ); + + // service title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_service_area_des', + array( + 'selector' => '.theme-services .theme-section-subtitle', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_service_area_des' ), + ) + ); + + // service content + $wp_customize->selective_refresh->add_partial( + 'consultstreet_service_content', + array( + 'selector' => '.theme-services .row.theme-services-content', + ) + ); + + // project title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_project_area_title', + array( + 'selector' => '#theme-project .theme-section-title', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_project_area_title' ), + ) + ); + + // project description + $wp_customize->selective_refresh->add_partial( + 'consultstreet_project_area_des', + array( + 'selector' => '#theme-project .theme-section-subtitle', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_project_area_des' ), + ) + ); + + // testimonial title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_testimonial_area_title', + array( + 'selector' => '.theme-testimonial .theme-section-title', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_testimonial_area_title' ), + ) + ); + + // testimonial description + $wp_customize->selective_refresh->add_partial( + 'consultstreet_testimonial_area_des', + array( + 'selector' => '.theme-testimonial .theme-section-subtitle', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_testimonial_area_des' ), + ) + ); + + // testimonial content + $wp_customize->selective_refresh->add_partial( + 'consultstreet_testimonial_content', + array( + 'selector' => '.theme-testimonial .row.theme-testimonial-content', + ) + ); + + // call to action title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_cta_area_title', + array( + 'selector' => '.theme-cta .cta-block h5', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_title' ), + ) + ); + + // call to action subtitle + $wp_customize->selective_refresh->add_partial( + 'consultstreet_cta_area_subtitle', + array( + 'selector' => '.theme-cta .cta-block h2', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_subtitle' ), + ) + ); + + // call to action description + $wp_customize->selective_refresh->add_partial( + 'consultstreet_cta_area_des', + array( + 'selector' => '.theme-cta .cta-block p', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_des' ), + ) + ); + + // call to action button text + $wp_customize->selective_refresh->add_partial( + 'consultstreet_cta_button_text', + array( + 'selector' => '.theme-cta .mx-auto a', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_button_text' ), + ) + ); + + // blog title + $wp_customize->selective_refresh->add_partial( + 'consultstreet_blog_area_title', + array( + 'selector' => '.theme-blog .theme-section-title', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_blog_area_title' ), + ) + ); + + // blog description + $wp_customize->selective_refresh->add_partial( + 'consultstreet_blog_area_des', + array( + 'selector' => '.theme-blog .theme-section-subtitle', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_blog_area_des' ), + ) + ); + + // footer copyright text + $wp_customize->selective_refresh->add_partial( + 'consultstreet_footer_copright_text', + array( + 'selector' => '.site-footer .site-info', + 'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_footer_copright_text' ), + ) + ); +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer.php b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer.php new file mode 100644 index 00000000..b15eb36a --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer.php @@ -0,0 +1,132 @@ +register_panel_type( 'ConsultStreet_Customize_Panel' ); + $wp_customize->register_section_type( 'ConsultStreet_Customize_Section' ); + + // Load base class for controls. + require_once $control_dir . '/code/consultstreet-customize-base-control.php'; + // Load custom control classes. + require_once $control_dir . '/code/consultstreet-customize-color-control.php'; + require_once $control_dir . '/code/consultstreet-customize-heading-control.php'; + require_once $control_dir . '/code/consultstreet-customize-radio-image-control.php'; + require_once $control_dir . '/code/consultstreet-customize-radio-buttonset-control.php'; + require_once $control_dir . '/code/consultstreet-customize-slider-control.php'; + require_once $control_dir . '/code/consultstreet-customize-sortable-control.php'; + require_once $control_dir . '/code/consultstreet-customize-toggle-control.php'; + require_once $control_dir . '/code/consultstreet-customize-upgrade-control.php'; + + // Register JS-rendered control types. + $wp_customize->register_control_type( 'ConsultStreet_Customize_Color_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Heading_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Radio_Image_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Radio_Buttonset_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Slider_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Sortable_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Toggle_Control' ); + $wp_customize->register_control_type( 'ConsultStreet_Customize_Upgrade_Control' ); + + } + + // Customizer selective refresh. + public function consultstreet_customizer_selective_refresh() { + + require_once CONSULTSTREET_PARENT_INC_DIR . '/customizer/consultstreet-customizer-sanitize.php'; + require_once CONSULTSTREET_PARENT_INC_DIR . '/customizer/consultstreet-customizer-partials.php'; + + } + + + // Add postMessage support for site title and description for the Theme Customizer. + + public function consultstreet_customizer_register( $wp_customize ) { + + // Customizer selective + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/consultstreet-customizer-selective.php'; + + // Register panels and sections. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/consultstreet-panels-and-sections.php'; + + } + + // Theme Customizer preview reload changes asynchronously. + public function consultstreet_customizer_preview_js() { + + wp_enqueue_script( 'consultstreet-customizer', CONSULTSTREET_PARENT_INC_URI . '/customizer/assets/js/customizer.js', array( 'customize-preview' ), CONSULTSTREET_THEME_VERSION, true ); + + } + + // Include customizer customizer settings. + + public function consultstreet_customizer_settings() { + + $activate_theme_data = wp_get_theme(); // getting current theme data + $activate_theme = $activate_theme_data->name; + + // Recommended Plugin + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-notice/consultstreet-notify-plugin.php'; + + // Base class. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/consultstreet-customize-base-customizer-settings.php'; + // Menu. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php'; + // Page Header. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php'; + // Blog. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php'; + // General. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-general-customizer-settings.php'; + // Footer. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-footer-copyright-customizer-settings.php'; + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php'; + // Typography. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-typography-customizer-settings.php'; + + if('AssentPress' == $activate_theme){ + // Other Options. + require CONSULTSTREET_PARENT_CUSTOMIZER_DIR . '/customizer-settings/theme-settings/consultstreet-other-customizer-settings.php'; + } + + } + + + } +endif; + +new ConsultStreet_Customizer(); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/consultstreet-panels-and-sections.php b/wp-content/themes/consultstreet/inc/customizer/consultstreet-panels-and-sections.php new file mode 100644 index 00000000..a6968353 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/consultstreet-panels-and-sections.php @@ -0,0 +1,141 @@ +add_panel( new ConsultStreet_Customize_Panel( $wp_customize, 'consultstreet_theme_settings', array( + 'priority' => 28, + 'title' => esc_html__( 'Theme Options', 'consultstreet' ), + 'capabitity' => 'edit_theme_options', +) ) ); + + + +// Section: General. + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_general', array( + 'title' => esc_html__( 'General', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'priority' => 9, + ) ) ); + + +// Section: Menu. + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_menu_bar', array( + 'title' => esc_html__( 'Menu', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'priority' => 20, + ) ) ); + + +// Section: Blog. + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_blog_settings', array( + 'title' => esc_html__( 'Blog', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'priority' => 30, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_blog_general', array( + 'title' => esc_html__( 'General', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'section' => 'consultstreet_theme_blog_settings', + 'priority' => 10, + ) ) ); + + +// Section: Page Header. + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_page_header', array( + 'title' => esc_html__( 'Page Header', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'priority' => 40, + ) ) ); + + +// Section: Footer. + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_footer', array( + 'title' => esc_html__( 'Footer', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'priority' => 50, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_footer_widgets', array( + 'title' => esc_html__( 'Footer Widgets', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'section' => 'consultstreet_theme_footer', + 'priority' => 10, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_footer_copyright', array( + 'title' => esc_html__( 'Footer Copyright', 'consultstreet' ), + 'panel' => 'consultstreet_theme_settings', + 'section' => 'consultstreet_theme_footer', + 'priority' => 20, + ) ) ); + +/** + * Panel: Typography. + */ +$wp_customize->add_panel( new ConsultStreet_Customize_Panel( $wp_customize, 'consultstreet_theme_typography', array( + 'priority' => 32, + 'title' => esc_html__( 'Typography', 'consultstreet' ), + 'capabitity' => 'edit_theme_options', +) ) ); + + // Section: Typography > Base typography. + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_enable_disable_typography', array( + 'title' => esc_html__( 'Enable Typography', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 5, + ) ) ); + + // Section: Typography > Base typography. + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_base_typography', array( + 'title' => esc_html__( 'Base Typography', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 10, + ) ) ); + + // Section: Typography > Headings ( h1 - h6 ) Typography. + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings1_typography', array( + 'title' => esc_html__( 'Headings H1', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 70, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings2_typography', array( + 'title' => esc_html__( 'Headings H2', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 80, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings3_typography', array( + 'title' => esc_html__( 'Headings H3', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 90, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings4_typography', array( + 'title' => esc_html__( 'Headings H4', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 100, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings5_typography', array( + 'title' => esc_html__( 'Headings H5', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 110, + ) ) ); + + $wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings6_typography', array( + 'title' => esc_html__( 'Headings H6', 'consultstreet' ), + 'panel' => 'consultstreet_theme_typography', + 'priority' => 120, + ) ) ); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-base-control.php b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-base-control.php new file mode 100644 index 00000000..5961bc1a --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-base-control.php @@ -0,0 +1,112 @@ + __( 'Clear', 'consultstreet' ), + 'clearAriaLabel' => __( 'Clear color', 'consultstreet' ), + 'defaultString' => __( 'Default', 'consultstreet' ), + 'defaultAriaLabel' => __( 'Select default color', 'consultstreet' ), + 'pick' => __( 'Select Color', 'consultstreet' ), + 'defaultLabel' => __( 'Color value', 'consultstreet' ), + ); + wp_localize_script( 'wp-color-picker-alpha', 'wpColorPickerL10n', $color_picker_strings ); + wp_enqueue_script( 'wp-color-picker-alpha' ); + + // Scripts for nesting panel/section. + wp_enqueue_script( 'consultstreet-extend-customizer', CONSULTSTREET_PARENT_INC_URI . '/customizer/assets/js/extend-customizer.js', array( 'jquery' ), false, true ); + wp_enqueue_style( 'consultstreet-extend-customizer', CONSULTSTREET_PARENT_INC_URI . '/customizer/assets/css/extend-customizer.css' ); + + // Main scripts. + wp_enqueue_script( + 'consultstreet-controls', + CONSULTSTREET_PARENT_INC_URI . '/customizer/controls/js/controls.js', + array( + 'jquery', + 'customize-base', + 'wp-color-picker-alpha', + ), + false, + true + ); + + wp_enqueue_style( 'consultstreet-controls', CONSULTSTREET_PARENT_INC_URI . '/customizer/controls/css/controls.css' ); + + } + + + /** + * Refresh the parameters passed to the JavaScript via JSON. + * + * @see WP_Customize_Control::to_json() + * @access public + * @return void + */ + public function to_json() { + + parent::to_json(); + + $this->json['default'] = $this->setting->default; + if ( isset( $this->default ) ) { + $this->json['default'] = $this->default; + } + + $this->json['id'] = $this->id; + $this->json['value'] = $this->value(); + $this->json['choices'] = $this->choices; + $this->json['link'] = $this->get_link(); + $this->json['l10n'] = $this->l10n(); + + $this->json['inputAttrs'] = ''; + foreach ( $this->input_attrs as $attr => $value ) { + $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; + } + + } + + /** + * Render content is still called, so be sure to override it with an empty function in your subclass as well. + */ + protected function render_content() { + } + + /** + * Renders the Underscore template for this control. + * + * @see WP_Customize_Control::print_template() + * @access protected + * @return void + */ + protected function content_template() { + } + + /** + * Returns an array of translation strings. + * + * @access protected + * @return array + */ + protected function l10n() { + return array(); + } + +} diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-category-control.php b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-category-control.php new file mode 100644 index 00000000..bcaf4917 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-category-control.php @@ -0,0 +1,53 @@ +cats = get_categories($options); + + parent::__construct( $manager, $id, $args ); + } + + /** + * Render the content of the category dropdown + * + * @return HTML + */ + public function render_content() + { + if(!empty($this->cats)) + { + ?> + + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-color-control.php b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-color-control.php new file mode 100644 index 00000000..a31d8824 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-color-control.php @@ -0,0 +1,81 @@ +json['palette'] = $this->palette; + $this->json['choices']['alpha'] = ( isset( $this->choices['alpha'] ) && $this->choices['alpha'] ) ? 'true' : 'false'; + $this->json['mode'] = $this->mode; + + } + + /** + * Render content is still called, so be sure to override it with an empty function in your subclass as well. + */ + protected function render_content() { + + } + +} diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-heading-control.php b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-heading-control.php new file mode 100644 index 00000000..29114dca --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-heading-control.php @@ -0,0 +1,48 @@ + + +

+ <# if ( data.label ) { #>{{{ data.label }}}<# } #> +

+ + add_section( + 'upgrade_premium', + array( + 'title' => __('Upgrade to Pro','consultstreet'), + 'priority' => 1, + ) + ); + + class ConsultStreet_WP_Button_Customize_Control extends WP_Customize_Control { + public $type = 'upgrade_premium'; + + function render_content() { + ?> +
+ +
+ add_setting( + 'pro_info_buttons', + array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'consultstreet_sanitize_text', + ) + ); + + $wp_customize->add_control( new ConsultStreet_WP_Button_Customize_Control( $wp_customize, 'pro_info_buttons', array( + 'section' => 'upgrade_premium', + )) +); +} +add_action( 'customize_register', 'consultstreet_upgrade_pro_options' ); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-radio-buttonset-control.php b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-radio-buttonset-control.php new file mode 100644 index 00000000..58aca108 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/code/consultstreet-customize-radio-buttonset-control.php @@ -0,0 +1,57 @@ + + + <# if ( data.label ) { #>{{{ data.label }}}<# } #> + <# if ( data.description ) { #> + {{{ data.description }}}<# } #> +
+ <# for ( key in data.choices ) { #> + checked="checked" <# } #>> + + + <# } #> +
+ input_attrs as $attr => $value ) { + if ( 'style' !== $attr ) { + $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; + continue; + } + $this->json['labelStyle'] = 'style="' . esc_attr( $value ) . '" '; + } + + } + + /** + * Renders the Underscore template for this control. + * + * @see WP_Customize_Control::print_template() + * @access protected + * @return void + */ + protected function content_template() { + ?> + + +
+ <# for ( key in data.choices ) { #> + <# dataAlt = ( _.isObject( data.choices[ key ] ) && ! _.isUndefined( data.choices[ key ].alt ) ) ? + data.choices[ key ].alt : '' #> + checked="checked"<# } #> data-alt="{{ dataAlt }}"> + + + <# } #> +
+ + json['default'] ) ) { + foreach ( $this->json['default'] as $key => $value ) { + $this->json['choices']['controls'][ $key ] = true; + } + } + + } + + /** + * Renders the Underscore template for this control. + * + * @see WP_Customize_Control::print_template() + * @access protected + * @return void + */ + protected function content_template() { + ?> + + <# if ( data.label ) { #> + {{ data.label }} + <# } #> + + <# if ( data.description ) { #> + {{{ data.description }}} + <# } #> + +
+
+
+
+
+ + + {{ data.default['suffix'] }} + +
+
+ + + + + + + + + + render(). + * + * @access protected + */ + protected function render_content() { + $this_val = $this->value(); ?> + + + + + + + .image { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.customize-control-consultstreet-radio-image .image-select + label { + position: relative; + display: inline-block; + width: 32%; + margin-right: 2%; +} + +#customize-control-consultstreet_theme_color .image-select + label, #customize-control-consultstreet_theme_background_image .image-select + label{ + width: 22% !important; + margin-right: 0% !important; +} + +#customize-control-consultstreet_page_header_layout .image-select + label { + width: 47%; +} + +.customize-control-consultstreet-radio-image .image-select + label:nth-of-type(3n) { + margin-right: 0; +} + +.customize-control-consultstreet-radio-image .image-select + label .image-label { + display: none; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(255, 255, 255, 0.7); + font-weight: 700; +} + +.customize-control-consultstreet-radio-image .image-select + label .image-label .inner { + width: 100%; + height: 100%; + text-align: center; + padding: 0.5em; + vertical-align: middle; +} + +.customize-control-consultstreet-radio-image .image-select + label:hover .image-label { + display: block; +} + +.customize-control-consultstreet-radio-image input { + display: none; +} + +.customize-control-consultstreet-radio-image input img { + border: 1px solid transparent; +} + +.customize-control-consultstreet-radio-image input:checked + label img { + -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25); + border: 1px solid #3858e9; +} + +.customize-control-consultstreet-radio-image input + label .image-clickable { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + height: 100%; +} + +.customize-control-consultstreet-slider .customize-control-content { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.customize-control-consultstreet-slider .ui-slider { + background-color: rgba(0, 0, 0, 0.1); + width: 63%; + height: 6px; + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 3px; +} + +.customize-control-consultstreet-slider .ui-slider .ui-slider-handle { + height: 15px; + width: 15px; + background-color: #fff; + position: absolute; + cursor: pointer; + -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); + box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); + border-radius: 3px; +} + +.customize-control-consultstreet-slider .ui-slider .ui-slider-range { + background-color: #3858e9; + height: 100%; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} + +.customize-control-consultstreet-slider .consultstreet-slider-input { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.customize-control-consultstreet-slider .consultstreet-slider-input .slider-reset { + padding-left: 5px; + cursor: pointer; +} + +/* Control: Sortable. */ +.customize-control-consultstreet-sortable ul.ui-sortable li { + padding: 5px 10px; + border: 1px solid #333; + background: #fff; +} + +.customize-control-consultstreet-sortable ul.ui-sortable li .dashicons.dashicons-menu { + float: right; +} + +.customize-control-consultstreet-sortable ul.ui-sortable li .dashicons.visibility { + margin-right: 10px; +} + +.customize-control-consultstreet-sortable ul.ui-sortable li.invisible { + color: #aaa; + border: 1px dashed #aaa; +} + +.customize-control-consultstreet-sortable ul.ui-sortable li.invisible .dashicons.visibility { + color: #aaa; +} + +/* Control: Switch. */ +.customize-control-consultstreet-toggle { + position: relative; +} + +.customize-control-consultstreet-toggle label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.customize-control-consultstreet-toggle label .customize-control-title { + width: calc(100% - 55px); +} + +.customize-control-consultstreet-toggle label .description { + -webkit-box-ordinal-group: 100; + -ms-flex-order: 99; + order: 99; +} + +.customize-control-consultstreet-toggle .switch { + border: 1px solid #b4b9be; + display: inline-block; + width: 35px; + height: 12px; + border-radius: 8px; + background: #b4b9be; + vertical-align: middle; + position: relative; + top: 4px; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-transition: background 350ms ease; + transition: background 350ms ease; +} + +.customize-control-consultstreet-toggle .switch::after { + content: ""; + display: block; + width: 20px; + height: 20px; + border-radius: 50%; + position: absolute; + top: 50%; + left: -3px; + -webkit-transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease; + transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease; + background: #999; + border: 1px solid rgba(0, 0, 0, 0.1); + -webkit-transform: translate3d(0, -50%, 0); + transform: translate3d(0, -50%, 0); +} + +.customize-control-consultstreet-toggle .switch::before { + content: ""; + display: block; + width: 20px; + height: 20px; + border-radius: 50%; + position: absolute; + top: 50%; + left: -3px; + -webkit-transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease; + transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease; + background: rgba(0, 0, 0, 0.2); + -webkit-transform: translate3d(0, -50%, 0) scale(0); + transform: translate3d(0, -50%, 0) scale(0); +} + +.customize-control-consultstreet-toggle .switch:active::before { + -webkit-transform: translate3d(0, -50%, 0) scale(3); + transform: translate3d(0, -50%, 0) scale(3); +} + +.customize-control-consultstreet-toggle input:checked + .switch::before { + background: rgba(0, 115, 170, 0.075); + -webkit-transform: translate3d(100%, -50%, 0) scale(1); + transform: translate3d(100%, -50%, 0) scale(1); +} + +.customize-control-consultstreet-toggle input:checked + .switch::after { + background: #3858e9; + -webkit-transform: translate3d(100%, -50%, 0); + transform: translate3d(100%, -50%, 0); +} + +.customize-control-consultstreet-toggle input:checked + .switch:active::before { + background: rgba(0, 115, 170, 0.075); + -webkit-transform: translate3d(100%, -50%, 0) scale(3); + transform: translate3d(100%, -50%, 0) scale(3); +} + +/* Control: Heading */ + +.customize-control-consultstreet-heading { + display: list-item; + margin-left: -12px; + margin-right: -12px; + padding: 7px 15px; + background: #FFF; + border-left: 4px solid #3858e9; +} + +.customize-control-consultstreet-heading h4 { + margin: 0; +} + +.customize-control-consultstreet-heading h4 span { + margin-bottom: 0; +} + +span.customize-category-select-control { + display: block; + font-size: 14px; + line-height: 24px; + font-weight: 600; + margin-bottom: 4px; +} + +.customize-pane-child li input[type=checkbox]:focus, +.customize-pane-child li input[type=radio]:focus{ + display: none; +} + diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/js/controls.js b/wp-content/themes/consultstreet/inc/customizer/controls/js/controls.js new file mode 100644 index 00000000..a751f6cd --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/js/controls.js @@ -0,0 +1,1153 @@ +var consultstreet = { + + /** + * An object containing definitions for controls. + */ + control: { + + /** + * The color control. + */ + 'consultstreet-color': { + + /** + * Init the control. + * + * @param {object} [control] The customizer control object. + * @returns {void} + */ + init: function ( control ) { + var self = this; + + // Render the template. + self.template( control ); + + // Init the control. + consultstreet.input.color.init( control ); + }, + + /** + * Render the template. + * + * @param {object} [control] The customizer control object. + * @returns {void} + */ + template: function ( control ) { + control.container.html( + consultstreet.input.color.getTemplate( { + label: control.params.label, + description: control.params.description, + 'data-id': control.id, + mode: control.params.mode, + inputAttrs: control.params.inputAttrs, + 'data-palette': control.params.palette, + 'data-default-color': control.params.default, + 'data-alpha': control.params.choices.alpha, + value: control.setting._value + } ) + ); + } + } + }, + + /** + * An object containing definitions for input fields. + */ + input: { + + /** + * Color input fields. + */ + color: { + + /** + * Get the HTML for color inputs. + * + * @param {object} [data] The arguments. + * @returns {string} + */ + getTemplate: function ( data ) { + var html = ''; + + data = _.defaults( data, { + label: '', + description: '', + mode: 'full', + inputAttrs: '', + 'data-palette': data['data-palette'] ? data['data-palette'] : true, + 'data-default-color': data['data-default-color'] ? + data['data-default-color'] : + '', + 'data-alpha': data['data-alpha'] ? data['data-alpha'] : false, + value: '', + 'data-id': '' + } ); + + html += ''; + html += + ''; + + return ( + '
' + + html + + '
' + ); + }, + + /** + * Init the control. + * + * @param {object} [control] The control object. + * @returns {void} + */ + init: function ( control ) { + var picker = jQuery( + '.consultstreet-color-control[data-id="' + control.id + '"]' + ), + clear; + + control.choices = control.choices || {}; + if ( _.isEmpty( control.choices ) && control.params.choices ) { + control.choices = control.params.choices; + } + + // If we have defined any extra choices, make sure they are passed-on to Iris. + if ( !_.isEmpty( control.choices ) ) { + picker.wpColorPicker( control.choices ); + } + + // Tweaks to make the "clear" buttons work. + setTimeout( function () { + clear = jQuery( + '.consultstreet-input-container[data-id="' + + control.id + + '"] .wp-picker-clear' + ); + if ( clear.length ) { + clear.click( function () { + control.setting.set( '' ); + } ); + } + }, 200 ); + + // Saves our settings to the WP API + picker.wpColorPicker( { + change: function () { + + // Small hack: the picker needs a small delay + setTimeout( function () { + control.setting.set( picker.val() ); + }, 20 ); + } + } ); + } + } + }, + + /** + * An object containing definitions for settings. + */ + setting: { + + /** + * Gets the value of a setting. + * + * This is a helper function that allows us to get the value of + * control[key1][key2] for example, when the setting used in the + * customizer API is "control". + * + * @param {string} [setting] The setting for which we're getting the value. + * @returns {mixed} Depends on the value. + */ + get: function ( setting ) { + var parts = setting.split( '[' ), + foundSetting = '', + foundInStep = 0, + currentVal = ''; + + _.each( parts, function ( part, i ) { + part = part.replace( ']', '' ); + + if ( 0 === i ) { + foundSetting = part; + } else { + foundSetting += '[' + part + ']'; + } + + if ( !_.isUndefined( wp.customize.instance( foundSetting ) ) ) { + currentVal = wp.customize.instance( foundSetting ).get(); + foundInStep = i; + } + + if ( foundInStep < i ) { + if ( _.isObject( currentVal ) && !_.isUndefined( currentVal[part] ) ) { + currentVal = currentVal[part]; + } + } + } ); + + return currentVal; + }, + + /** + * Sets the value of a setting. + * + * This function is a bit complicated because there any many scenarios to consider. + * Example: We want to save the value for my_setting[something][3][something-else]. + * The control's setting is my_setting[something]. + * So we need to find that first, then figure out the remaining parts, + * merge the values recursively to avoid destroying my_setting[something][2] + * and also take into account any defined "key" arguments which take this even deeper. + * + * @param {object|string} [element] The DOM element whose value has changed, + * or an ID. + * @param {mixed} [value] Depends on the control-type. + * @param {string} [key] If we only want to save an item in an object + * we can define the key here. + * @returns {void} + */ + set: function ( element, value, key ) { + var setting, + parts, + currentNode = '', + foundNode = '', + subSettingObj = {}, + currentVal, + subSetting, + subSettingParts; + + // Get the setting from the element. + setting = element; + if ( _.isObject( element ) ) { + if ( jQuery( element ).attr( 'data-id' ) ) { + setting = element.attr( 'data-id' ); + } else { + setting = element.parents( '[data-id]' ).attr( 'data-id' ); + } + } + + ( + parts = setting.split( '[' ) + ), + + // Find the setting we're using in the control using the customizer API. + _.each( parts, function ( part, i ) { + part = part.replace( ']', '' ); + + // The current part of the setting. + currentNode = 0 === i ? part : '[' + part + ']'; + + // When we find the node, get the value from it. + // In case of an object we'll need to merge with current values. + if ( !_.isUndefined( wp.customize.instance( currentNode ) ) ) { + foundNode = currentNode; + currentVal = wp.customize.instance( foundNode ).get(); + } + } ); + + // Get the remaining part of the setting that was unused. + subSetting = setting.replace( foundNode, '' ); + + // If subSetting is not empty, then we're dealing with an object + // and we need to dig deeper and recursively merge the values. + if ( '' !== subSetting ) { + if ( !_.isObject( currentVal ) ) { + currentVal = {}; + } + if ( '[' === subSetting.charAt( 0 ) ) { + subSetting = subSetting.replace( '[', '' ); + } + subSettingParts = subSetting.split( '[' ); + _.each( subSettingParts, function ( subSettingPart, i ) { + subSettingParts[i] = subSettingPart.replace( ']', '' ); + } ); + + // If using a key, we need to go 1 level deeper. + if ( key ) { + subSettingParts.push( key ); + } + + // Converting to a JSON string and then parsing that to an object + // may seem a bit hacky and crude but it's efficient and works. + subSettingObj = + '{"' + + subSettingParts.join( '":{"' ) + + '":"' + + value + + '"' + + '}'.repeat( subSettingParts.length ); + subSettingObj = JSON.parse( subSettingObj ); + + // Recursively merge with current value. + jQuery.extend( true, currentVal, subSettingObj ); + value = currentVal; + } else { + if ( key ) { + currentVal = !_.isObject( currentVal ) ? {} : currentVal; + currentVal[key] = value; + value = currentVal; + } + } + wp.customize.control( foundNode ).setting.set( value ); + } + } +}; + +( + function () { + 'use strict'; + + /** + * A dynamic color-alpha control. + * + * @class + * @augments wp.customize.Control + * @augments wp.customize.Class + */ + wp.customize.consultstreetDynamicControl = wp.customize.Control.extend( { + initialize: function ( id, options ) { + var control = this, + args = options || {}; + + args.params = args.params || {}; + if ( !args.params.type ) { + args.params.type = 'consultstreet-generic'; + } + if ( !args.params.content ) { + args.params.content = jQuery( '
  • ' ); + args.params.content.attr( + 'id', + 'customize-control-' + id.replace( /]/g, '' ).replace( /\[/g, '-' ) + ); + args.params.content.attr( + 'class', + 'customize-control customize-control-' + args.params.type + ); + } + + control.propertyElements = []; + wp.customize.Control.prototype.initialize.call( control, id, args ); + }, + + /** + * Add bidirectional data binding links between inputs and the setting(s). + * + * This is copied from wp.customize.Control.prototype.initialize(). It + * should be changed in Core to be applied once the control is embedded. + * + * @private + * @returns {void} + */ + _setUpSettingRootLinks: function () { + var control = this, + nodes = control.container.find( '[data-customize-setting-link]' ); + + nodes.each( function () { + var node = jQuery( this ); + + wp.customize( node.data( 'customizeSettingLink' ), function ( setting ) { + var element = new wp.customize.Element( node ); + control.elements.push( element ); + element.sync( setting ); + element.set( setting() ); + } ); + } ); + }, + + /** + * Add bidirectional data binding links between inputs and the setting properties. + * + * @private + * @returns {void} + */ + _setUpSettingPropertyLinks: function () { + var control = this, + nodes; + + if ( !control.setting ) { + return; + } + + nodes = control.container.find( '[data-customize-setting-property-link]' ); + + nodes.each( function () { + var node = jQuery( this ), + element, + propertyName = node.data( 'customizeSettingPropertyLink' ); + + element = new wp.customize.Element( node ); + control.propertyElements.push( element ); + element.set( control.setting()[propertyName] ); + + element.bind( function ( newPropertyValue ) { + var newSetting = control.setting(); + if ( newPropertyValue === newSetting[propertyName] ) { + return; + } + newSetting = _.clone( newSetting ); + newSetting[propertyName] = newPropertyValue; + control.setting.set( newSetting ); + } ); + control.setting.bind( function ( newValue ) { + if ( newValue[propertyName] !== element.get() ) { + element.set( newValue[propertyName] ); + } + } ); + } ); + }, + + /** + * @inheritdoc + */ + ready: function () { + var control = this; + + control._setUpSettingRootLinks(); + control._setUpSettingPropertyLinks(); + + wp.customize.Control.prototype.ready.call( control ); + + control.deferred.embedded.done( function () { + control.initConsultStreetControl( control ); + } ); + }, + + /** + * Embed the control in the document. + * + * Override the embed() method to do nothing, + * so that the control isn't embedded on load, + * unless the containing section is already expanded. + * + * @returns {void} + */ + embed: function () { + var control = this, + sectionId = control.section(); + + if ( !sectionId ) { + return; + } + + wp.customize.section( sectionId, function ( section ) { + if ( + 'consultstreet-expanded' === section.params.type || + section.expanded() || + wp.customize.settings.autofocus.control === control.id + ) { + control.actuallyEmbed(); + } else { + section.expanded.bind( function ( expanded ) { + if ( expanded ) { + control.actuallyEmbed(); + } + } ); + } + } ); + }, + + /** + * Deferred embedding of control when actually + * + * This function is called in Section.onChangeExpanded() so the control + * will only get embedded when the Section is first expanded. + * + * @returns {void} + */ + actuallyEmbed: function () { + var control = this; + if ( 'resolved' === control.deferred.embedded.state() ) { + return; + } + control.renderContent(); + control.deferred.embedded.resolve(); // This triggers control.ready(). + }, + + /** + * This is not working with autofocus. + * + * @param {object} [args] Args. + * @returns {void} + */ + focus: function ( args ) { + var control = this; + control.actuallyEmbed(); + wp.customize.Control.prototype.focus.call( control, args ); + }, + + /** + * Additional actions that run on ready. + * + * @param {object} [args] Args. + * @returns {void} + */ + initConsultStreetControl: function ( control ) { + if ( 'undefined' !== typeof consultstreet.control[control.params.type] ) { + consultstreet.control[control.params.type].init( control ); + return; + } + + // Save the value + this.container.on( 'change keyup paste click', 'input', function () { + control.setting.set( jQuery( this ).val() ); + } ); + }, + + consultstreetValidateCSSValue: function ( value ) { + var validUnits = [ + 'rem', + 'em', + 'ex', + '%', + 'px', + 'cm', + 'mm', + 'pt' + ], + numericValue, + unit; + + // 0 is always a valid value, and we can't check calc() values effectively. + if ( + '0' === value || + ( + 0 <= value.indexOf( 'calc(' ) && 0 <= value.indexOf( ')' ) + ) + ) { + return true; + } + + // Get the numeric value. + numericValue = parseFloat( value ); + + // Get the unit + unit = value.replace( numericValue, '' ); + + // Check the validity of the numeric value and units. + if ( isNaN( numericValue ) || -1 === jQuery.inArray( unit, validUnits ) ) { + return false; + } + return true; + } + } ); + }() +); + +_.each( consultstreet.control, function ( obj, type ) { + wp.customize.controlConstructor[ + type + ] = wp.customize.consultstreetDynamicControl.extend( {} ); +} ); + + +/** + * Control: Slider. + */ +wp.customize.controlConstructor['consultstreet-slider'] = wp.customize.Control.extend( { + + // When we're finished loading continue processing + ready: function () { + 'use strict'; + + var control = this, + changeAction = ( + 'postMessage' === control.setting.transport + ) ? 'mousemove change' : 'change', + slider = control.container.find( '.consultstreet-slider' ), + input = control.container.find( 'input.slider-input' ), + min = Number( input.attr( 'min' ) ), + max = Number( input.attr( 'max' ) ), + step = Number( input.attr( 'step' ) ), + $this, + val; + + slider.slider( { + range: 'min', + min: min, + max: max, + value: input.val(), + step: step, + slide: function ( event, ui ) { + // Trigger keyup in input. + input.val( ui.value ).keyup(); + }, + change: function ( event, ui ) { + + // Save the values. + control.initConsultStreetControl(); + } + } ); + + input.on( 'change keyup paste', function () { + $this = jQuery( this ); + val = $this.val(); + + slider.slider( 'value', val ); + } ); + + // Change on input. + control.container.on( + 'change keyup paste', + '.customize-control-content input.slider-input', + function () { + control.setting.set( jQuery( this ).val() ); + } + ); + + // Reset. + control.container.find( '.slider-reset' ).on( 'click', function () { + input.attr( 'value', control.params.default.slider ); + slider.slider( 'value', control.params.default.slider ); + control.setting.set( input.val() ); + } ); + + // Init the control. + if ( !_.isUndefined( window.consultstreetControlLoader ) && _.isFunction( consultstreetControlLoader ) ) { + consultstreetControlLoader( control ); + } else { + control.initConsultStreetControl(); + } + }, + + initConsultStreetControl: function () { + + var control = this, + subControls = control.params.choices.controls, + value = {}, + subsArray = [], + i; + + _.each( subControls, function ( v, i ) { + if ( true === v ) { + subsArray.push( i ); + } + } ); + + for ( i = 0; i < subsArray.length; i++ ) { + value[subsArray[i]] = control.setting._value[subsArray[i]]; + control.updateSliderValue( subsArray[i], value ); + } + + }, + + /** + * Updates the value. + */ + updateSliderValue: function ( context, value ) { + + var control = this; + + control.container.on( 'change keyup paste', 'input.slider-input', function () { + value['slider'] = jQuery( this ).val(); + value['suffix'] = jQuery( this ).next().val(); + + // Save the value + control.saveValue( value ); + } ); + + // TODO: find a way to merge event. + control.container.on( 'click', '.slider-reset', function () { + value['slider'] = jQuery( this ).siblings('.slider-input').val(); + value['suffix'] = jQuery( this ).prev().val(); + + // Save the value + control.saveValue( value ); + } ); + }, + + /** + * Saves the value. + */ + saveValue: function ( value ) { + var control = this, + newValue = {}; + _.each( value, function ( newSubValue, i ) { + newValue[i] = newSubValue; + } ); + + control.setting.set( newValue ); + } +} ); + +/** + * Control: Text. + */ +wp.customize.controlConstructor['consultstreet-text'] = wp.customize.Control.extend( { + + // When we're finished loading continue processing. + ready: function () { + 'use strict'; + + var control = this; + + // Save the values + control.container.on( + 'change keyup paste', + '.customize-control-content input', + function () { + control.setting.set( jQuery( this ).val() ); + } + ); + } +} ); + +/** + * Control: Sortable. + */ +/* global consultstreetControlLoader */ +wp.customize.controlConstructor['consultstreet-sortable'] = wp.customize.Control.extend( { + + // When we're finished loading continue processing + ready: function () { + 'use strict'; + + var control = this; + + // Init the control. + if ( + !_.isUndefined( window.consultstreetControlLoader ) && + _.isFunction( consultstreetControlLoader ) + ) { + consultstreetControlLoader( control ); + } else { + control.initConsultStreetControl(); + } + }, + + initConsultStreetControl: function () { + 'use strict'; + + var control = this; + control.container.find( '.consultstreet-controls-loading-spinner' ).hide(); + + // Set the sortable container. + control.sortableContainer = control.container.find( 'ul.sortable' ).first(); + + // Init sortable. + control.sortableContainer + .sortable( { + + // Update value when we stop sorting. + stop: function () { + control.updateValue(); + } + } ) + .disableSelection() + .find( 'li' ) + .each( function () { + + // Enable/disable options when we click on the eye of Thundera. + jQuery( this ) + .find( 'i.visibility' ) + .click( function () { + jQuery( this ) + .toggleClass( 'dashicons-visibility-faint' ) + .parents( 'li:eq(0)' ) + .toggleClass( 'invisible' ); + } ); + } ) + .click( function () { + + // Update value on click. + control.updateValue(); + } ); + }, + + /** + * Updates the sorting list + */ + updateValue: function () { + 'use strict'; + + var control = this, + newValue = []; + + this.sortableContainer.find( 'li' ).each( function () { + if ( !jQuery( this ).is( '.invisible' ) ) { + newValue.push( jQuery( this ).data( 'value' ) ); + } + } ); + control.setting.set( newValue ); + } +} ); + +/** + * Control: Radio image. + */ +wp.customize.controlConstructor['consultstreet-radio-image'] = wp.customize.consultstreetDynamicControl.extend( {} ); + +/** + * Control: Toggle. + */ +wp.customize.controlConstructor['consultstreet-toggle'] = wp.customize.consultstreetDynamicControl.extend( { + + // When we're finished loading continue processing + ready: function () { + 'use strict'; + + var control = this; + + // Init the control. + if ( + !_.isUndefined( window.consultstreetControlLoader ) && + _.isFunction( consultstreetControlLoader ) + ) { + consultstreetControlLoader( control ); + } else { + control.initConsultStreetControl(); + } + }, + + initConsultStreetControl: function () { + var control = this, + checkboxValue = control.setting._value; + + // Save the value + this.container.on( 'change', 'input', function () { + checkboxValue = jQuery( this ).is( ':checked' ) ? true : false; + control.setting.set( checkboxValue ); + } ); + } +} ); + +/** + * Control: Radio Buttonset. + */ +wp.customize.controlConstructor['consultstreet-radio-buttonset'] = wp.customize.Control.extend( {} ); + +/** + * Control: Dimensions. + */ +; +/* global dimensionsconsultstreetL10n */ +/* global consultstreetControlLoader */ +wp.customize.controlConstructor['consultstreet-dimensions'] = wp.customize.consultstreetDynamicControl.extend( { + + // When we're finished loading continue processing + ready: function () { + 'use strict'; + + var control = this; + + // Init the control. + if ( !_.isUndefined( window.consultstreetControlLoader ) && _.isFunction( consultstreetControlLoader ) ) { + consultstreetControlLoader( control ); + } else { + control.initConsultStreetControl(); + } + }, + + initConsultStreetControl: function () { + + var control = this, + subControls = control.params.choices.controls, + value = {}, + subsArray = [], + i; + + _.each( subControls, function ( v, i ) { + if ( true === v ) { + subsArray.push( i ); + } + } ); + + for ( i = 0; i < subsArray.length; i++ ) { + value[subsArray[i]] = control.setting._value[subsArray[i]]; + control.updateDimensionsValue( subsArray[i], value ); + } + + }, + + /** + * Updates the value. + */ + updateDimensionsValue: function ( context, value ) { + + var control = this; + + control.container.on( 'change keyup paste', '.' + context + ' input', function () { + value[context] = jQuery( this ).val(); + + // Notifications. + control.consultstreetNotifications(); + + // Save the value + control.saveValue( value ); + } ); + }, + + /** + * Saves the value. + */ + saveValue: function ( value ) { + + var control = this, + newValue = {}; + + _.each( value, function ( newSubValue, i ) { + newValue[i] = newSubValue; + } ); + + control.setting.set( newValue ); + }, + + /** + * Handles notifications. + */ + consultstreetNotifications: function () { + + var control = this; + + wp.customize( control.id, function ( setting ) { + setting.bind( function ( value ) { + var code = 'long_title', + subs = {}, + message; + + setting.notifications.remove( code ); + + _.each( ['top', 'right', 'bottom', 'left'], function ( direction ) { + if ( !_.isUndefined( value[direction] ) ) { + if ( false === control.consultstreetValidateCSSValue( value[direction] ) ) { + subs[direction] = dimensionsconsultstreetL10n[direction]; + } else { + delete subs[direction]; + } + } + } ); + + if ( !_.isEmpty( subs ) ) { + message = dimensionsconsultstreetL10n['invalid-value'] + ' (' + _.values( subs ).toString() + ') '; + setting.notifications.add( code, new wp.customize.Notification( + code, + { + type: 'warning', + message: message + } + ) ); + } else { + setting.notifications.remove( code ); + } + } ); + } ); + } +} ); + +/** + * Control: Background. + */ +; +/* global consultstreetControlLoader */ +wp.customize.controlConstructor['consultstreet-background'] = wp.customize.Control.extend( { + + // When we're finished loading continue processing + ready: function () { + + 'use strict'; + + var control = this; + + // Init the control. + if ( !_.isUndefined( window.consultstreetControlLoader ) && _.isFunction( consultstreetControlLoader ) ) { + consultstreetControlLoader( control ); + } else { + control.initConsultStreetControl(); + } + }, + + initConsultStreetControl: function () { + + var control = this, + value = control.setting._value, + picker = control.container.find( '.consultstreet-color-control' ); + + // Hide unnecessary controls if the value doesn't have an image. + if ( _.isUndefined( value['background-image'] ) || '' === value['background-image'] ) { + control.container.find( '.background-wrapper > .background-repeat' ).hide(); + control.container.find( '.background-wrapper > .background-position' ).hide(); + control.container.find( '.background-wrapper > .background-size' ).hide(); + control.container.find( '.background-wrapper > .background-attachment' ).hide(); + } + + // Color. + picker.wpColorPicker( { + change: function () { + setTimeout( function () { + control.saveValue( 'background-color', picker.val() ); + }, 100 ); + } + } ); + + // Background-Repeat. + control.container.on( 'change', '.background-repeat select', function () { + control.saveValue( 'background-repeat', jQuery( this ).val() ); + } ); + + // Background-Size. + control.container.on( 'change click', '.background-size input', function () { + control.saveValue( 'background-size', jQuery( this ).val() ); + } ); + + // Background-Position. + control.container.on( 'change', '.background-position select', function () { + control.saveValue( 'background-position', jQuery( this ).val() ); + } ); + + // Background-Attachment. + control.container.on( 'change click', '.background-attachment input', function () { + control.saveValue( 'background-attachment', jQuery( this ).val() ); + } ); + + // Background-Image. + control.container.on( 'click', '.background-image-upload-button', function ( e ) { + var image = wp.media( {multiple: false} ).open().on( 'select', function () { + + // This will return the selected image from the Media Uploader, the result is an object. + var uploadedImage = image.state().get( 'selection' ).first(), + previewImage = uploadedImage.toJSON().sizes.full.url, + imageUrl, + imageID, + imageWidth, + imageHeight, + preview, + removeButton; + + if ( !_.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { + previewImage = uploadedImage.toJSON().sizes.medium.url; + } else if ( !_.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { + previewImage = uploadedImage.toJSON().sizes.thumbnail.url; + } + + imageUrl = uploadedImage.toJSON().sizes.full.url; + imageID = uploadedImage.toJSON().id; + imageWidth = uploadedImage.toJSON().width; + imageHeight = uploadedImage.toJSON().height; + + // Show extra controls if the value has an image. + if ( '' !== imageUrl ) { + control.container.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); + } + + control.saveValue( 'background-image', imageUrl ); + preview = control.container.find( '.placeholder, .thumbnail' ); + removeButton = control.container.find( '.background-image-upload-remove-button' ); + + if ( preview.length ) { + preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); + } + if ( removeButton.length ) { + removeButton.show(); + } + } ); + + e.preventDefault(); + } ); + + control.container.on( 'click', '.background-image-upload-remove-button', function ( e ) { + + var preview, + removeButton; + + e.preventDefault(); + + control.saveValue( 'background-image', '' ); + + preview = control.container.find( '.placeholder, .thumbnail' ); + removeButton = control.container.find( '.background-image-upload-remove-button' ); + + // Hide unnecessary controls. + control.container.find( '.background-wrapper > .background-repeat' ).hide(); + control.container.find( '.background-wrapper > .background-position' ).hide(); + control.container.find( '.background-wrapper > .background-size' ).hide(); + control.container.find( '.background-wrapper > .background-attachment' ).hide(); + + if ( preview.length ) { + preview.removeClass().addClass( 'placeholder' ).html( 'No file selected' ); + } + if ( removeButton.length ) { + removeButton.hide(); + } + } ); + }, + + /** + * Saves the value. + */ + saveValue: function ( property, value ) { + + var control = this, + input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ), + val = control.setting._value; + + val[property] = value; + + jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); + control.setting.set( val ); + } +} ); + +/** + * Control: Editor. + */ +wp.customize.controlConstructor['consultstreet-editor'] = wp.customize.consultstreetDynamicControl.extend( { + + initConsultStreetControl: function () { + + var control = this, + element = control.container.find( 'textarea' ), + editor; + + control_id = control.id.replace( '[', '' ).replace( ']', '' ); + + var id = 'consultstreet-editor-' + control_id; + + wp.editor.initialize( id, { + tinymce: { + wpautop: true + }, + quicktags: true, + mediaButtons: true + } ); + + editor = tinyMCE.get( id ); + + if ( editor ) { + editor.onChange.add( function ( ed ) { + var content; + + ed.save(); + content = editor.getContent(); + element.val( content ).trigger( 'change' ); + wp.customize.instance( control.id ).set( content ); + } ); + } + } + +} ); diff --git a/wp-content/themes/consultstreet/inc/customizer/controls/js/wp-color-picker-alpha.js b/wp-content/themes/consultstreet/inc/customizer/controls/js/wp-color-picker-alpha.js new file mode 100644 index 00000000..d6fcfb64 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/controls/js/wp-color-picker-alpha.js @@ -0,0 +1,498 @@ +/**! + * wp-color-picker-alpha + * + * Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker + * Only run in input and is defined data alpha in true + * + * Version: 2.1.3 + * https://github.com/kallookoo/wp-color-picker-alpha + * Licensed under the GPLv2 license or later. + */ +( function( $ ) { + // Prevent double-init. + if ( $.wp.wpColorPicker.prototype._hasAlpha ) { + return; + } + + // Variable for some backgrounds ( grid ) + var image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==', + // html stuff for wpColorPicker copy of the original color-picker.js + _after = '
    ', + _wrap = '
    ', + _button = '', + // Prevent CSS issues in < WordPress 4.9 + _deprecated = ( wpColorPickerL10n.current !== undefined ); + // Declare some global variables when is deprecated or not + if ( _deprecated ) { + var _before = ''; + } else { + var _before = '', + _wrappingLabel = '', + _wrappingLabelText = ''; + } + /** + * Overwrite Color + * for enable support rbga + */ + Color.fn.toString = function() { + if ( this._alpha < 1 ) + return this.toCSS( 'rgba', this._alpha ).replace( /\s+/g, '' ); + + var hex = parseInt( this._color, 10 ).toString( 16 ); + + if ( this.error ) + return ''; + + if ( hex.length < 6 ) + hex = ( '00000' + hex ).substr( -6 ); + + return '#' + hex; + }; + + /** + * Overwrite wpColorPicker + */ + $.widget( 'wp.wpColorPicker', $.wp.wpColorPicker, { + _hasAlpha: true, + /** + * @summary Creates the color picker. + * + * Creates the color picker, sets default values, css classes and wraps it all in HTML. + * + * @since 3.5.0 + * + * @access private + * + * @returns {void} + */ + _create: function() { + // Return early if Iris support is missing. + if ( ! $.support.iris ) { + return; + } + + var self = this, + el = self.element; + + // Override default options with options bound to the element. + $.extend( self.options, el.data() ); + + // Create a color picker which only allows adjustments to the hue. + if ( self.options.type === 'hue' ) { + return self._createHueOnly(); + } + + // Bind the close event. + self.close = $.proxy( self.close, self ); + + self.initialValue = el.val(); + + // Add a CSS class to the input field. + el.addClass( 'wp-color-picker' ); + + if ( _deprecated ) { + el.hide().wrap( _wrap ); + self.wrap = el.parent(); + self.toggler = $( _before ) + .insertBefore( el ) + .css( { backgroundColor : self.initialValue } ) + .attr( 'title', wpColorPickerL10n.pick ) + .attr( 'data-current', wpColorPickerL10n.current ); + self.pickerContainer = $( _after ).insertAfter( el ); + self.button = $( _button ).addClass('hidden'); + } else { + /* + * Check if there's already a wrapping label, e.g. in the Customizer. + * If there's no label, add a default one to match the Customizer template. + */ + if ( ! el.parent( 'label' ).length ) { + // Wrap the input field in the default label. + el.wrap( _wrappingLabel ); + // Insert the default label text. + self.wrappingLabelText = $( _wrappingLabelText ) + .insertBefore( el ) + .text( wpColorPickerL10n.defaultLabel ); + } + + /* + * At this point, either it's the standalone version or the Customizer + * one, we have a wrapping label to use as hook in the DOM, let's store it. + */ + self.wrappingLabel = el.parent(); + + // Wrap the label in the main wrapper. + self.wrappingLabel.wrap( _wrap ); + // Store a reference to the main wrapper. + self.wrap = self.wrappingLabel.parent(); + // Set up the toggle button and insert it before the wrapping label. + self.toggler = $( _before ) + .insertBefore( self.wrappingLabel ) + .css( { backgroundColor: self.initialValue } ); + // Set the toggle button span element text. + self.toggler.find( '.wp-color-result-text' ).text( wpColorPickerL10n.pick ); + // Set up the Iris container and insert it after the wrapping label. + self.pickerContainer = $( _after ).insertAfter( self.wrappingLabel ); + // Store a reference to the Clear/Default button. + self.button = $( _button ); + } + + // Set up the Clear/Default button. + if ( self.options.defaultColor ) { + self.button.addClass( 'wp-picker-default' ).val( wpColorPickerL10n.defaultString ); + if ( ! _deprecated ) { + self.button.attr( 'aria-label', wpColorPickerL10n.defaultAriaLabel ); + } + } else { + self.button.addClass( 'wp-picker-clear' ).val( wpColorPickerL10n.clear ); + if ( ! _deprecated ) { + self.button.attr( 'aria-label', wpColorPickerL10n.clearAriaLabel ); + } + } + + if ( _deprecated ) { + el.wrap( '' ).after( self.button ); + } else { + // Wrap the wrapping label in its wrapper and append the Clear/Default button. + self.wrappingLabel + .wrap( '
  • + +

    + + <# if( data.recommended_actions.length > 0 ){ #> + {{ data.title }} + <# }else{ #> + <# if( data.recommended_plugins.length > 0 ){ #> + {{ data.plugin_text }} + <# }#> + <# } #> + + <# if( data.recommended_actions.length > 0 ){ #> + + {{ data.recommended_actions[0].index }} + {{ data.total_actions }} + + <# } #> +

    +
    + <# if( data.recommended_actions.length > 0 ){ #> + <# for (action in data.recommended_actions) { #> + + <# } #> + <# } #> + + <# if( data.recommended_plugins.length > 0 ){ #> + <# for (action in data.recommended_plugins) { #> + + <# } #> + <# } #> +
    +
  • + <# } #> + config = $config; + self::$instance->setup_config(); + self::$instance->setup_actions(); + } + } + + } + + + public function setup_config() { + + global $consultstreet_customizer_notify_recommended_plugins; + global $consultstreet_customizer_notify_recommended_actions; + + global $install_button_label; + global $activate_button_label; + global $consultstreet_deactivate_button_label; + + $this->recommended_actions = isset( $this->config['recommended_actions'] ) ? $this->config['recommended_actions'] : array(); + $this->recommended_plugins = isset( $this->config['recommended_plugins'] ) ? $this->config['recommended_plugins'] : array(); + + $this->recommended_actions_title = isset( $this->config['recommended_actions_title'] ) ? $this->config['recommended_actions_title'] : ''; + $this->recommended_plugins_title = isset( $this->config['recommended_plugins_title'] ) ? $this->config['recommended_plugins_title'] : ''; + $this->dismiss_button = isset( $this->config['dismiss_button'] ) ? $this->config['dismiss_button'] : ''; + + $consultstreet_customizer_notify_recommended_plugins = array(); + $consultstreet_customizer_notify_recommended_actions = array(); + + if ( isset( $this->recommended_plugins ) ) { + $consultstreet_customizer_notify_recommended_plugins = $this->recommended_plugins; + } + + if ( isset( $this->recommended_actions ) ) { + $consultstreet_customizer_notify_recommended_actions = $this->recommended_actions; + } + + $install_button_label = isset( $this->config['install_button_label'] ) ? $this->config['install_button_label'] : ''; + $activate_button_label = isset( $this->config['activate_button_label'] ) ? $this->config['activate_button_label'] : ''; + $consultstreet_deactivate_button_label = isset( $this->config['consultstreet_deactivate_button_label'] ) ? $this->config['consultstreet_deactivate_button_label'] : ''; + + } + + + public function setup_actions() { + + // Register the section + add_action( 'customize_register', array( $this, 'consultstreet_plugin_notification_customize_register' ) ); + + // Enqueue scripts and styles + add_action( 'customize_controls_enqueue_scripts', array( $this, 'consultstreet_customizer_notify_scripts_for_customizer' ), 0 ); + + /* ajax callback for dismissable recommended actions */ + add_action( 'wp_ajax_quality_customizer_notify_dismiss_action', array( $this, 'consultstreet_customizer_notify_dismiss_recommended_action_callback' ) ); + + add_action( 'wp_ajax_ti_customizer_notify_dismiss_recommended_plugins', array( $this, 'consultstreet_customizer_notify_dismiss_recommended_plugins_callback' ) ); + + } + + + public function consultstreet_customizer_notify_scripts_for_customizer() { + + wp_enqueue_style( 'consultstreet-customizer-notify-css', get_template_directory_uri() . '/inc/customizer/customizer-notice/css/consultstreet-customizer-notify.css', array()); + + wp_enqueue_style( 'plugin-install' ); + wp_enqueue_script( 'plugin-install' ); + wp_add_inline_script( 'plugin-install', 'var pagenow = "customizer";' ); + + wp_enqueue_script( 'updates' ); + + wp_enqueue_script( 'consultstreet-customizer-notify-js', get_template_directory_uri() . '/inc/customizer/customizer-notice/js/consultstreet-customizer-notify.js', array( 'customize-controls' )); + wp_localize_script( + 'consultstreet-customizer-notify-js', 'consultstreetCustomizercompanionObject', array( + 'ajaxurl' => admin_url( 'admin-ajax.php' ), + 'template_directory' => get_template_directory_uri(), + 'base_path' => admin_url(), + 'activating_string' => __( 'Activating', 'consultstreet' ), + ) + ); + + } + + + public function consultstreet_plugin_notification_customize_register( $wp_customize ) { + + + require_once get_template_directory() . '/inc/customizer/customizer-notice/consultstreet-customizer-notify-section.php'; + + $wp_customize->register_section_type( 'ConsultStreet_Customizer_Notify_Section' ); + + $wp_customize->add_section( + new consultstreet_Customizer_Notify_Section( + $wp_customize, + 'ConsultStreet-customizer-notify-section', + array( + 'title' => $this->recommended_actions_title, + 'plugin_text' => $this->recommended_plugins_title, + 'dismiss_button' => $this->dismiss_button, + 'priority' => 0, + ) + ) + ); + + } + + + public function consultstreet_customizer_notify_dismiss_recommended_action_callback() { + + global $consultstreet_customizer_notify_recommended_actions; + + $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; + + echo esc_html( $action_id ); /* this is needed and it's the id of the dismissable required action */ + + if ( ! empty( $action_id ) ) { + + if ( get_option( 'consultstreet_customizer_notify_show' ) ) { + + $consultstreet_customizer_notify_show_recommended_actions = get_option( 'consultstreet_customizer_notify_show' ); + switch ( $_GET['todo'] ) { + case 'add': + $consultstreet_customizer_notify_show_recommended_actions[ $action_id ] = true; + break; + case 'dismiss': + $consultstreet_customizer_notify_show_recommended_actions[ $action_id ] = false; + break; + } + update_option( 'consultstreet_customizer_notify_show', $consultstreet_customizer_notify_show_recommended_actions ); + + + } else { + $consultstreet_customizer_notify_show_recommended_actions = array(); + if ( ! empty( $consultstreet_customizer_notify_recommended_actions ) ) { + foreach ( $consultstreet_customizer_notify_recommended_actions as $consultstreet_lite_customizer_notify_recommended_action ) { + if ( $consultstreet_lite_customizer_notify_recommended_action['id'] == $action_id ) { + $consultstreet_customizer_notify_show_recommended_actions[ $consultstreet_lite_customizer_notify_recommended_action['id'] ] = false; + } else { + $consultstreet_customizer_notify_show_recommended_actions[ $consultstreet_lite_customizer_notify_recommended_action['id'] ] = true; + } + } + update_option( 'consultstreet_customizer_notify_show', $consultstreet_customizer_notify_show_recommended_actions ); + } + } + } + die(); + } + + + public function consultstreet_customizer_notify_dismiss_recommended_plugins_callback() { + + $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; + + echo esc_html( $action_id ); /* this is needed and it's the id of the dismissable required action */ + + if ( ! empty( $action_id ) ) { + + $consultstreet_lite_customizer_notify_show_recommended_plugins = get_option( 'consultstreet_customizer_notify_show_recommended_plugins' ); + + switch ( $_GET['todo'] ) { + case 'add': + $consultstreet_lite_customizer_notify_show_recommended_plugins[ $action_id ] = false; + break; + case 'dismiss': + $consultstreet_lite_customizer_notify_show_recommended_plugins[ $action_id ] = true; + break; + } + update_option( 'consultstreet_customizer_notify_show_recommended_plugins', $consultstreet_lite_customizer_notify_show_recommended_plugins ); + } + die(); + } + +} diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-notice/consultstreet-notify-plugin.php b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/consultstreet-notify-plugin.php new file mode 100644 index 00000000..6c518bb4 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/consultstreet-notify-plugin.php @@ -0,0 +1,26 @@ + array( + 'arile-extra' => array( + 'recommended' => true, + 'description' => sprintf( + /* translators: %s: plugin name */ + esc_html__( 'If you want to show all the features and business sections of the FrontPage. please install and activate %s plugin', 'consultstreet' ), 'Arile Extra' + ), + ), + ), + 'recommended_actions' => array(), + 'recommended_actions_title' => esc_html__( 'Recommended Actions', 'consultstreet' ), + 'recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'consultstreet' ), + 'install_button_label' => esc_html__( 'Install and Activate', 'consultstreet' ), + 'activate_button_label' => esc_html__( 'Activate', 'consultstreet' ), + 'consultstreet_deactivate_button_label' => esc_html__( 'Deactivate', 'consultstreet' ), +); +ConsultStreet_Customizer_Notify::init( apply_filters( 'consultstreet_customizer_notify_array', $consultstreet_config_customizer ) ); \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-notice/css/consultstreet-customizer-notify.css b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/css/consultstreet-customizer-notify.css new file mode 100644 index 00000000..4bbcabd7 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/css/consultstreet-customizer-notify.css @@ -0,0 +1,139 @@ +.consultstreet-customizer-plugin-notify-actions-count { + display: inline-block; + z-index: 26; + margin: 1px 0 0 2px; + padding: 0 6px; + border-radius: 10px; + color: #fff; + background-color: #d54e21; + font-size: 9px; + font-weight: 600; + line-height: 17px; + vertical-align: top; +} + +div.consultstreet-theme-recomended-actions_container { + margin-bottom: 2em; + padding: 0 10px; +} + +.consultstreet-theme-recomended-actions_container p.succes { + margin: 1em 0; +} + +.consultstreet-epsilon-recommeded-actions p.title { + margin-bottom: 0; + color: #555d66; + font-size: 14px; + font-weight: 600; +} + +.consultstreet-epsilon-recommeded-actions div.description { + font-size: 12px; +} + +.consultstreet-epsilon-recommeded-actions .custom-action { + margin-top: 1em; + padding-top: 1em; + border-top: 1px solid #fafafa; +} + +.consultstreet-epsilon-recommeded-actions .custom-action p { + margin-top: 0; +} + +.consultstreet-theme-recomended-actions_container .consultstreet-recommeded-actions-container:not(:first-child) { + overflow: hidden; + height: 0; + opacity: 0; +} + +.consultstreet-theme-recomended-actions_container .consultstreet-recommeded-actions-container:first-child { + height: auto; + opacity: 1; +} + +.consultstreet-theme-recomended-actions_container .consultstreet-recommeded-actions-container { + -webkit-transition: opacity 2s; + /* Safari */ + transition: opacity 2s; +} + +.consultstreet-theme-recomended-actions_container .hide { + display: none; +} + +.consultstreet-customizer-plugin-notify-actions-count.complete { + background-color: #79ba49; +} + +.consultstreet-theme-recomended-actions_container #demo_content .button { + display: block; + margin-bottom: 1em; + text-align: center; +} + +.consultstreet-theme-recomended-actions_container .succes a { + display: inline-block; + width: 100%; + text-align: center; +} + +.consultstreet-theme-recomended-actions_container .succes a.social { + width: 49%; + margin-bottom: 1em; + padding-top: 4px; + line-height: 20px; +} + +.consultstreet-theme-recomended-actions_container .succes a.social span, +.consultstreet-theme-recomended-actions_container .succes span { + margin-right: 5px; +} + +.consultstreet-theme-recomended-actions_container .succes { + padding-top: 4px; + line-height: 20px; +} + +.consultstreet-customizer-notify-dismiss-button-recommended-plugin, +.consultstreet-customizer-notify-dismiss-recommended-action { + position: absolute; + top: 10px; + right: 10px; + border-radius: 50%; + color: #d54e21; + text-decoration: none; + cursor: pointer; +} + +.consultstreet-epsilon-recommeded-actions { + position: relative; +} + +.consultstreet-customizer-notify-dismiss-recommended-action, +.consultstreet-epsilon-recommeded-actions .consultstreet-customizer-notify-dismiss-button-recommended-plugin { + top: 0; + right: 0; +} + +.consultstreet-epsilon-recommeded-actions #temp_load { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + + -webkit-align-items: center; + align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; +} + +.consultstreet-epsilon-recommeded-actions #temp_load img { + margin: 0 auto; +} diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-notice/js/consultstreet-customizer-notify.js b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/js/consultstreet-customizer-notify.js new file mode 100644 index 00000000..00ecf7f9 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-notice/js/consultstreet-customizer-notify.js @@ -0,0 +1,182 @@ +/** + * Customizer notification system + */ + + +(function (api) { + + api.sectionConstructor['consultstreet-customizer-notify-section'] = api.Section.extend( + { + + // No events for this type of section. + attachEvents: function () { + }, + + // Always make the section active. + isContextuallyActive: function () { + return true; + } + } + ); + +})( wp.customize ); + + jQuery( document ).ready( + function () { + + jQuery( '.consultstreet-customizer-notify-dismiss-recommended-action' ).click( + function () { + + var id = jQuery( this ).attr( 'id' ), + action = jQuery( this ).attr( 'data-action' ); + jQuery.ajax( + { + type: 'GET', + data: {action: 'consultstreet_customizer_notify_dismiss_action', id: id, todo: action}, + dataType: 'html', + url: consultstreetCustomizercompanionObject.ajaxurl, + beforeSend: function () { + jQuery( '#' + id ).parent().append( '
    ' ); + }, + success: function (data) { + var container = jQuery( '#' + data ).parent().parent(); + var index = container.next().data( 'index' ); + var recommended_sction = jQuery( '#accordion-section-ti_customizer_notify_recomended_actions' ); + var actions_count = recommended_sction.find( '.consultstreet-customizer-plugin-notify-actions-count' ); + var section_title = recommended_sction.find( '.section-title' ); + jQuery( '.consultstreet-customizer-plugin-notify-actions-count .current-index' ).text( index ); + container.slideToggle().remove(); + if (jQuery( '.consultstreet-theme-recomended-actions_container > .epsilon-recommended-actions' ).length === 0) { + + actions_count.remove(); + + if (jQuery( '.consultstreet-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { + jQuery( '.control-section-ti-customizer-notify-recomended-actions' ).remove(); + } else { + section_title.text( section_title.data( 'plugin_text' ) ); + } + + } + }, + error: function (jqXHR, textStatus, errorThrown) { + console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); + } + } + ); + } + ); + + jQuery( '.consultstreet-customizer-notify-dismiss-button-recommended-plugin' ).click( + function () { + var id = jQuery( this ).attr( 'id' ), + action = jQuery( this ).attr( 'data-action' ); + jQuery.ajax( + { + type: 'GET', + data: {action: 'ti_customizer_notify_dismiss_recommended_plugins', id: id, todo: action}, + dataType: 'html', + url: consultstreetCustomizercompanionObject.ajaxurl, + beforeSend: function () { + jQuery( '#' + id ).parent().append( '
    ' ); + }, + success: function (data) { + var container = jQuery( '#' + data ).parent().parent(); + var index = container.next().data( 'index' ); + jQuery( '.consultstreet-customizer-plugin-notify-actions-count .current-index' ).text( index ); + container.slideToggle().remove(); + + if (jQuery( '.consultstreet-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { + jQuery( '.control-section-ti-customizer-notify-recomended-section' ).remove(); + } + }, + error: function (jqXHR, textStatus, errorThrown) { + console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); + } + } + ); + } + ); + + // Remove activate button and replace with activation in progress button. + jQuery( document ).on( + 'DOMNodeInserted','.activate-now', function () { + var activateButton = jQuery( '.activate-now' ); + if (activateButton.length) { + var url = jQuery( activateButton ).attr( 'href' ); + if (typeof url !== 'undefined') { + // Request plugin activation. + jQuery.ajax( + { + beforeSend: function () { + jQuery( activateButton ).replaceWith( '' + consultstreetCustomizercompanionObject.activating_string + '...' ); + }, + async: true, + type: 'GET', + url: url, + success: function () { + // Reload the page. + location.reload(); + } + } + ); + } + } + } + ); + } + ); + + + +/** + * Remove activate button and replace with activation in progress button. + * + * @package consultstreet + */ + + +jQuery( document ).ready( + function ($) { + $( 'body' ).on( + 'click', ' .consultstreet-install-plugin ', function () { + var slug = $( this ).attr( 'data-slug' ); + + wp.updates.installPlugin( + { + slug: slug + } + ); + return false; + } + ); + + $( '.activate-now' ).on( + 'click', function (e) { + + var activateButton = $( this ); + e.preventDefault(); + if ($( activateButton ).length) { + var url = $( activateButton ).attr( 'href' ); + + if (typeof url !== 'undefined') { + // Request plugin activation. + $.ajax( + { + beforeSend: function () { + $( activateButton ).replaceWith( ''+"activating"+'...' ); + }, + async: true, + type: 'GET', + url: url, + success: function () { + // Reload the page. + location.reload(); + } + } + ); + } + } + } + ); + } +); diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/class/customizer-repeater-control.php b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/class/customizer-repeater-control.php new file mode 100644 index 00000000..467764b6 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/class/customizer-repeater-control.php @@ -0,0 +1,669 @@ +add_field_label = esc_html__( 'Add new field', 'consultstreet' ); + if ( ! empty( $args['add_field_label'] ) ) { + $this->add_field_label = $args['add_field_label']; + } + + $this->boxtitle = esc_html__( 'Customizer Repeater', 'consultstreet' ); + if ( ! empty ( $args['item_name'] ) ) { + $this->boxtitle = $args['item_name']; + } elseif ( ! empty( $this->label ) ) { + $this->boxtitle = $this->label; + } + + if ( ! empty( $args['customizer_repeater_image_control'] ) ) { + $this->customizer_repeater_image_control = $args['customizer_repeater_image_control']; + } + + + if ( ! empty( $args['customizer_repeater_icon_control'] ) ) { + $this->customizer_repeater_icon_control = $args['customizer_repeater_icon_control']; + } + + if ( ! empty( $args['customizer_repeater_color_control'] ) ) { + $this->customizer_repeater_color_control = $args['customizer_repeater_color_control']; + } + + if ( ! empty( $args['customizer_repeater_title_control'] ) ) { + $this->customizer_repeater_title_control = $args['customizer_repeater_title_control']; + } + + if ( ! empty( $args['customizer_repeater_subtitle_control'] ) ) { + $this->customizer_repeater_subtitle_control = $args['customizer_repeater_subtitle_control']; + } + + if ( ! empty( $args['customizer_repeater_text_control'] ) ) { + $this->customizer_repeater_text_control = $args['customizer_repeater_text_control']; + } + + if ( ! empty( $args['customizer_repeater_designation_control'] ) ) { + $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control']; + } + + if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) { + $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control']; + } + + if ( ! empty( $args['customizer_repeater_link_control'] ) ) { + $this->customizer_repeater_link_control = $args['customizer_repeater_link_control']; + } + + if ( ! empty( $args['customizer_repeater_checkbox_control'] ) ) { + $this->customizer_repeater_checkbox_control = $args['customizer_repeater_checkbox_control']; + } + + if ( ! empty( $args['customizer_repeater_slide_format'] ) ) { + $this->customizer_repeater_slide_format = $args['customizer_repeater_slide_format']; + } + + if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) { + $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control']; + } + + + if ( ! empty( $args['customizer_repeater_shortcode_control'] ) ) { + $this->customizer_repeater_shortcode_control = $args['customizer_repeater_shortcode_control']; + } + + if ( ! empty( $args['customizer_repeater_repeater_control'] ) ) { + $this->customizer_repeater_repeater_control = $args['customizer_repeater_repeater_control']; + } + + + if ( ! empty( $id ) ) { + $this->id = $id; + } + + if ( file_exists( get_template_directory() . '/inc/customizer/customizer-repeater/inc/icons.php' ) ) { + $this->customizer_icon_container = 'inc/customizer/customizer-repeater/inc/icons'; + } + + $allowed_array1 = wp_kses_allowed_html( 'post' ); + $allowed_array2 = array( + 'input' => array( + 'type' => array(), + 'class' => array(), + 'placeholder' => array() + ) + ); + + $this->allowed_html = array_merge( $allowed_array1, $allowed_array2 ); + } + + /*Enqueue resources for the control*/ + public function enqueue() { + wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/assets/css/font-awesome/css/font-awesome.min.css', array(), 999 ); + + wp_enqueue_style( 'consultstreet_customizer-repeater-admin-stylesheet', get_template_directory_uri() . '/inc/customizer/customizer-repeater/css/admin-style.css', array(), 999 ); + + wp_enqueue_style( 'wp-color-picker' ); + + wp_enqueue_script( 'consultstreet_customizer-repeater-script', get_template_directory_uri() . '/inc/customizer/customizer-repeater/js/customizer_repeater.js', array('jquery', 'jquery-ui-draggable', 'wp-color-picker' ), 999, true ); + + wp_enqueue_script( 'consultstreet_customizer-repeater-fontawesome-iconpicker', get_template_directory_uri() . '/inc/customizer/customizer-repeater/js/fontawesome-iconpicker.js', array( 'jquery' ), 999, true ); + + wp_enqueue_style( 'consultstreet_customizer-repeater-fontawesome-iconpicker-script', get_template_directory_uri() . '/inc/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css', array(), 999 ); + } + + public function render_content() { + + /*Get default options*/ + $this_default = json_decode( $this->setting->default ); + + /*Get values (json format)*/ + $values = $this->value(); + + /*Decode values*/ + $json = json_decode( $values ); + + if ( ! is_array( $json ) ) { + $json = array( $values ); + } ?> + + label ); ?> +
    + iterate_array( $this_default ); ?> + link() ); ?> + class="customizer-repeater-colector" + value=""/> + iterate_array(); ?> + link() ); ?> + class="customizer-repeater-colector"/> + iterate_array( $json ); ?> + link() ); ?> + class="customizer-repeater-colector" value="value() ); ?>"/> + +
    + + +
    +
    + boxtitle ) ?> +
    +
    + id)){ + $id = $icon->id; + } + if(!empty($icon->choice)){ + $choice = $icon->choice; + } + if(!empty($icon->image_url)){ + $image_url = $icon->image_url; + } + if(!empty($icon->icon_value)){ + $icon_value = $icon->icon_value; + } + if(!empty($icon->color)){ + $color = $icon->color; + } + if(!empty($icon->title)){ + $title = $icon->title; + } + + if(!empty($icon->designation)){ + $designation = $icon->designation; + } + + if(!empty($icon->subtitle)){ + $subtitle = $icon->subtitle; + } + if(!empty($icon->text)){ + $text = $icon->text; + } + if(!empty($icon->video_url)){ + $video_url = $icon->video_url; + } + + if(!empty($icon->slide_format)){ + $slide_format = $icon->slide_format; + } + + if(!empty($icon->button_text)){ + $button = $icon->button_text; + } + if(!empty($icon->link)){ + $link = $icon->link; + } + if(!empty($icon->shortcode)){ + $shortcode = $icon->shortcode; + } + + if(!empty($icon->social_repeater)){ + $repeater = $icon->social_repeater; + } + + if(!empty($icon->open_new_tab)){ + $open_new_tab = $icon->open_new_tab; + } + + + if($this->customizer_repeater_title_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Title','consultstreet' ), $this->id, 'customizer_repeater_title_control' ), + 'class' => 'customizer-repeater-title-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), + ), $title); + } + if($this->customizer_repeater_subtitle_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Subtitle','consultstreet' ), $this->id, 'customizer_repeater_subtitle_control' ), + 'class' => 'customizer-repeater-subtitle-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), + ), $subtitle); + } + if($this->customizer_repeater_text_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Description','consultstreet' ), $this->id, 'customizer_repeater_text_control' ), + 'class' => 'customizer-repeater-text-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), + ), $text); + } + + + if($this->customizer_repeater_button_text_control){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Button Text', + 'consultstreet'), $this->id, 'customizer_repeater_button_text_control'), + 'class' => 'customizer-repeater-button-text-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '' , $this->id, + 'customizer_repeater_button_text_control'), + ), $button); + } + + + if($this->customizer_repeater_link_control){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Link','consultstreet' ), $this->id, 'customizer_repeater_link_control' ), + 'class' => 'customizer-repeater-link-control', + 'sanitize_callback' => 'esc_url_raw', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), + ), $link); + } + + if($this->customizer_repeater_checkbox_control == true){ + $this->testimonila_check($open_new_tab); + + } + + if($this->customizer_repeater_slide_format == true){ + $this->slide_format($slide_format); + + } + + if($this->customizer_repeater_video_url_control){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Video Url', + 'consultstreet'), $this->id, 'customizer_repeater_video_url_control'), + 'class' => 'customizer-repeater-video-url-control', + 'type' => apply_filters('customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), + ), $video_url); + } + + + + if($this->customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true) { + $this->icon_type_choice( $choice ); + } + if($this->customizer_repeater_image_control == true){ + $this->image_control($image_url, $choice); + } + if($this->customizer_repeater_icon_control == true){ + $this->icon_picker_control($icon_value, $choice); + } + + + + + if($this->customizer_repeater_color_control == true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Color','consultstreet' ), $this->id, 'customizer_repeater_color_control' ), + 'class' => 'customizer-repeater-color-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), + 'sanitize_callback' => 'sanitize_hex_color' + ), $color); + } + + + if($this->customizer_repeater_shortcode_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','consultstreet' ), $this->id, 'customizer_repeater_shortcode_control' ), + 'class' => 'customizer-repeater-shortcode-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), + ), $shortcode); + } + + if($this->customizer_repeater_designation_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','consultstreet' ), $this->id, 'customizer_repeater_designation_control' ), + 'class' => 'customizer-repeater-designation-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), + ), $designation); + } + + if($this->customizer_repeater_repeater_control==true){ + $this->repeater_control($repeater); + } ?> + + + + +
    +
    + + +
    +
    + boxtitle ) ?> +
    +
    + customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true ) { + $this->icon_type_choice(); + } + if ( $this->customizer_repeater_image_control == true ) { + $this->image_control(); + } + if ( $this->customizer_repeater_icon_control == true ) { + $this->icon_picker_control(); + } + + + + if($this->customizer_repeater_color_control==true){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Color','consultstreet' ), $this->id, 'customizer_repeater_color_control' ), + 'class' => 'customizer-repeater-color-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), + 'sanitize_callback' => 'sanitize_hex_color' + ) ); + } + if ( $this->customizer_repeater_title_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Title','consultstreet' ), $this->id, 'customizer_repeater_title_control' ), + 'class' => 'customizer-repeater-title-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), + ) ); + } + if ( $this->customizer_repeater_subtitle_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Subtitle','consultstreet' ), $this->id, 'customizer_repeater_subtitle_control' ), + 'class' => 'customizer-repeater-subtitle-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), + ) ); + } + if ( $this->customizer_repeater_text_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Description','consultstreet' ), $this->id, 'customizer_repeater_text_control' ), + 'class' => 'customizer-repeater-text-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), + ) ); + } + + if($this->customizer_repeater_button_text_control){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Button Text', + 'consultstreet'), $this->id, 'customizer_repeater_button_text_control'), + 'class' => 'customizer-repeater-button-text-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '' , $this->id, + 'customizer_repeater_button_text_control'), + )); + } + + if ( $this->customizer_repeater_link_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Link','consultstreet' ), $this->id, 'customizer_repeater_link_control' ), + 'class' => 'customizer-repeater-link-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), + ) ); + } + + if($this->customizer_repeater_checkbox_control == true){ + $this->testimonila_check($open_new_tab); + + } + + if($this->customizer_repeater_slide_format == true){ + $this->slide_format($slide_format); + + } + + if($this->customizer_repeater_video_url_control){ + $this->input_control(array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Video Url', + 'consultstreet'), $this->id, 'customizer_repeater_video_url_control'), + 'class' => 'customizer-repeater-video-url-control', + 'type' => apply_filters('customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), + )); + } + + + + if ( $this->customizer_repeater_shortcode_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','consultstreet' ), $this->id, 'customizer_repeater_shortcode_control' ), + 'class' => 'customizer-repeater-shortcode-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), + ) ); + } + + + if ( $this->customizer_repeater_designation_control == true ) { + $this->input_control( array( + 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','consultstreet' ), $this->id, 'customizer_repeater_designation_control' ), + 'class' => 'customizer-repeater-designation-control', + 'type' => apply_filters('consultstreet_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), + ) ); + } + + if($this->customizer_repeater_repeater_control==true){ + $this->repeater_control(); + } ?> + + +
    +
    + + + + > + + + + + + + + + + + + + + +
    > + + + + + +
    + + + + + + + + + + + + + + + +
    +
    +
    + + +
    + customizer_icon_container ); ?> + + + +
    + +
    + + +
    + +
    +
    + + +
    + customizer_icon_container ); ?> + + + +
    + + +
    + + div { + margin: 1em 0; +} + +.customizer-repeater-box-content-hidden .customize-control-title { + font-size: 13px; + line-height: 1.5; + font-weight: normal; + margin-bottom: 0; + margin-top: 1em; +} + +.customizer-repeater-box-content-hidden .customize-control-title:after { + content: ":"; +} + +.customizer-repeater-box-content-hidden span.description { + font-size: 12px; + font-style: normal; +} + +.customizer-repeater-general-control-repeater-container, .customizer-repeater-general-control-repeater_container { + border: 1px solid #e5e5e5; + border-top: none; + margin-bottom: 12px; + width: 100%; + float: left; + background: #fff; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); + box-shadow: 0 1px 1px rgba(0, 0, 0, .04); +} + +.customizer-repeater-box-content-hidden .wp-picker-container, .customizer-repeater-box-content-hidden .wp-picker-container .wp-color-result, .icp-container { + margin: 0; +} + +.customizer-repeater-box-content-hidden input:not(.icp, .wp-color-picker), +.customizer-repeater-box-content-hidden textarea, +.customizer-repeater-box-content-hidden .wp-picker-container { + margin-bottom: 1em !important; +} + +.social-repeater-general-control-remove-field { + cursor: pointer; + color: #a00; + background: none; + border: none; + padding: 0; + margin-top: 10px; +} + +.social-repeater-general-control-remove-field:hover { + color: red; +} + +.customizer-repeater-box-content-hidden .wp-picker-holder { + position: relative; + left: -10px; +} + +.customizer-repeater-box-content-hidden .wp-picker-input-wrap { + margin-left: 10px; +} + +.customizer-repeater-box-content-hidden .wp-picker-container .iris-picker { + border-left: none; + border-right: none; +} + +button.customizer-repeater-new-field { + float: right; +} + +button.customizer-repeater-new-field:before { + content: "\f132"; + display: inline-block; + position: relative; + left: -2px; + top: -1px; + font: 400 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all .2s; + transition: all .2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.customizer-repeater-box-content-hidden > div.customizer-repeater-social-repeater { + margin-top: 0; +} + +.customizer-repeater-general-control-repeater-container .customizer-repeater-icon-control { + width: 100%; + margin: 0; + padding: 0; +} + +#customizer-repeater-new-field { + width: 100%; +} + +.customize-control-widget_form .widget-control-save { + display: block !important; +} + +.customizer-repeater-box-content-hidden { + background-color: #fff; +} + +.customizer-repeater-image-control .customizer-repeater-custom-media-button { + margin-top: 5px; +} + +.customizer-icons { + display: inline-block; + padding: 0 10px 0 0; + vertical-align: middle; +} + +.social-repeater-remove-social-item { + display: inline-block; + vertical-align: top; + color: #a00; + border: none; + background: none; + cursor: pointer; + padding: 0; +} + +.social-repeater-remove-social-item:hover { + color: red; +} + +.customizer-repeater-social-repeater > .customizer-repeater-social-repeater-container:not(:first-child) { + margin-top: 25px; +} + +.icp-container { + margin-bottom: 10px; +} + +.button-secondary.social-repeater-add-social-item:before { + content: "\f132"; + display: inline-block; + position: relative; + left: -2px; + top: -1px; + font: 400 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all .2s; + transition: all .2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.button-secondary.social-repeater-add-social-item { + vertical-align: text-top; + float: right; +} + +.customizer-repeater-box-content-hidden textarea { + width: 100%; +} +.customizer-repeater-video-url-control{ +display:none; +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css new file mode 100644 index 00000000..2f71b7fa --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css @@ -0,0 +1 @@ +.iconpicker .iconpicker-items,.iconpicker .iconpicker-items:after,.iconpicker-popover .popover-footer:after,.iconpicker:after{clear:both}.iconpicker-popover.popover{position:absolute;padding:1px;text-align:left;background:#e5e5e5;z-index:999;display:none;margin-left:-10px;width:254px}.iconpicker,.iconpicker-popover.popover.iconpicker-visible{display:block}.iconpicker-popover.popover .popover-title{padding:5px;font-size:5px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#e5e5e5}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px}.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0;text-align:center}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker *,.icp-container{position:relative}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.bottomLeft>.arrow{border-top-width:0;border-bottom-color:#e5e5e5;top:-11px}.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#e5e5e5}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker,.iconpicker .iconpicker-items{position:relative;margin:0;overflow:hidden}.iconpicker{text-align:left;text-shadow:none;line-height:0}.iconpicker .iconpicker-items:after,.iconpicker .iconpicker-items:before,.iconpicker:after,.iconpicker:before{content:" ";display:table}.iconpicker *{box-sizing:content-box}.iconpicker .iconpicker-items{float:none;padding:5px 0 0 5px;background:#fff;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-items i{float:left;width:32px;height:32px;line-height:32px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #ddd;transition:transform .2s ease}.iconpicker .iconpicker-items i:nth-child(6n){margin-right:0}.iconpicker .iconpicker-items i:hover{transform:scale(1.4);color:#008ec2;box-shadow:none}.icp{padding-left:30px}.icp-container .input-group-addon{position:absolute;top:1px;left:5px;padding:3px} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/functions.php b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/functions.php new file mode 100644 index 00000000..a5bbf5b5 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/functions.php @@ -0,0 +1 @@ + $box ){ + foreach ($box as $key => $value){ + + $input_decoded[$boxk][$key] = wp_kses_post( force_balance_tags( $value ) ); + + } + } + return json_encode($input_decoded); + } + return $input; +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/inc/icons.php b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/inc/icons.php new file mode 100644 index 00000000..deb45dea --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/inc/icons.php @@ -0,0 +1 @@ +
    \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/customizer_repeater.js b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/customizer_repeater.js new file mode 100644 index 00000000..ec077dc6 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/customizer_repeater.js @@ -0,0 +1,553 @@ +/* global jQuery */ +/* global wp */ +function consultstreet_media_upload(button_class) { + 'use strict'; + jQuery('body').on('click', button_class, function () { + var button_id = '#' + jQuery(this).attr('id'); + var display_field = jQuery(this).parent().children('input:text'); + var _custom_media = true; + + wp.media.editor.send.attachment = function (props, attachment) { + + if (_custom_media) { + if (typeof display_field !== 'undefined') { + switch (props.size) { + case 'full': + display_field.val(attachment.sizes.full.url); + display_field.trigger('change'); + break; + case 'medium': + display_field.val(attachment.sizes.medium.url); + display_field.trigger('change'); + break; + case 'thumbnail': + display_field.val(attachment.sizes.thumbnail.url); + display_field.trigger('change'); + break; + default: + display_field.val(attachment.url); + display_field.trigger('change'); + } + } + _custom_media = false; + } else { + return wp.media.editor.send.attachment(button_id, [props, attachment]); + } + }; + wp.media.editor.open(button_class); + window.send_to_editor = function (html) { + + }; + return false; + }); +} + +/******************************************** + *** Generate unique id *** + *********************************************/ +function consultstreet_customizer_repeater_uniqid(prefix, more_entropy) { + 'use strict'; + if (typeof prefix === 'undefined') { + prefix = ''; + } + + var retId; + var php_js; + var formatSeed = function (seed, reqWidth) { + seed = parseInt(seed, 10) + .toString(16); // to hex str + if (reqWidth < seed.length) { // so long we split + return seed.slice(seed.length - reqWidth); + } + if (reqWidth > seed.length) { // so short we pad + return new Array(1 + (reqWidth - seed.length)) + .join('0') + seed; + } + return seed; + }; + + // BEGIN REDUNDANT + if (!php_js) { + php_js = {}; + } + // END REDUNDANT + if (!php_js.uniqidSeed) { // init seed with big random int + php_js.uniqidSeed = Math.floor(Math.random() * 0x75bcd15); + } + php_js.uniqidSeed++; + + retId = prefix; // start with prefix, add current milliseconds hex string + retId += formatSeed(parseInt(new Date() + .getTime() / 1000, 10), 8); + retId += formatSeed(php_js.uniqidSeed, 5); // add seed hex string + if (more_entropy) { + // for more entropy we add a float lower to 10 + retId += (Math.random() * 10) + .toFixed(8) + .toString(); + } + + return retId; +} + + +/******************************************** + *** General Repeater *** + *********************************************/ +function consultstreet_customizer_repeater_refresh_social_icons(th) { + 'use strict'; + var icons_repeater_values = []; + th.find('.customizer-repeater-social-repeater-container').each(function () { + var icon = jQuery(this).find('.icp').val(); + var link = jQuery(this).find('.customizer-repeater-social-repeater-link').val(); + var id = jQuery(this).find('.customizer-repeater-social-repeater-id').val(); + + if (!id) { + id = 'customizer-repeater-social-repeater-' + consultstreet_customizer_repeater_uniqid(); + jQuery(this).find('.customizer-repeater-social-repeater-id').val(id); + } + + if (icon !== '' && link !== '') { + icons_repeater_values.push({ + 'icon': icon, + 'link': link, + 'id': id + }); + } + }); + + th.find('.social-repeater-socials-repeater-colector').val(JSON.stringify(icons_repeater_values)); + consultstreet_customizer_repeater_refresh_general_control_values(); +} + + +function consultstreet_customizer_repeater_refresh_general_control_values() { + + 'use strict'; + jQuery('.customizer-repeater-general-control-repeater').each(function () { + var values = []; + var th = jQuery(this); + th.find('.customizer-repeater-general-control-repeater-container').each(function () { + + var icon_value = jQuery(this).find('.icp').val(); + var text = jQuery(this).find('.customizer-repeater-text-control').val(); + var button_text = jQuery(this).find('.customizer-repeater-button-text-control').val(); + var link = jQuery(this).find('.customizer-repeater-link-control').val(); + var color = jQuery(this).find('.customizer-repeater-color-control').val(); + var designation = jQuery(this).find('.customizer-repeater-designation-control').val(); + var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').val(); + var image_url = jQuery(this).find('.custom-media-url').val(); + var choice = jQuery(this).find('.customizer-repeater-image-choice').val(); + var title = jQuery(this).find('.customizer-repeater-title-control').val(); + var subtitle = jQuery(this).find('.customizer-repeater-subtitle-control').val(); + var slide_format = jQuery(this).find('.customizer-repeater-slide-format').val(); + var video_url = jQuery(this).find('.customizer-repeater-video-url-control').val(); + var id = jQuery(this).find('.social-repeater-box-id').val(); + if (!id) { + id = 'social-repeater-' + consultstreet_customizer_repeater_uniqid(); + jQuery(this).find('.social-repeater-box-id').val(id); + } + var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val(); + var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val(); + + if (text !== '' || image_url !== '' || title !== '' || subtitle !== '' || icon_value !== '' || link !== '' || designation !== '' || open_new_tab !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || color !== '' || button_text !== '' || slide_format !== '' || video_url !== '') { + values.push({ + 'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value), + 'color': color, + 'text': consultstreet_escapeHtml(text), + 'link': link, + 'image_url': (choice === 'customizer_repeater_none' ? '' : image_url), + 'choice': choice, + 'title': consultstreet_escapeHtml(title), + 'subtitle': consultstreet_escapeHtml(subtitle), + 'social_repeater': consultstreet_escapeHtml(social_repeater), + 'id': id, + 'shortcode': consultstreet_escapeHtml(shortcode), + 'button_text' : button_text, + 'designation' : designation, + 'open_new_tab' : open_new_tab, + 'slide_format' : slide_format, + 'video_url' : video_url + }); + } + + }); + th.find('.customizer-repeater-colector').val(JSON.stringify(values)); + th.find('.customizer-repeater-colector').trigger('change'); + }); +} + + +jQuery(document).ready(function () { + 'use strict'; + var theme_conrols = jQuery('#customize-theme-controls'); + theme_conrols.on('click', '.customizer-repeater-customize-control-title', function () { + jQuery(this).next().slideToggle('medium', function () { + if (jQuery(this).is(':visible')){ + jQuery(this).prev().addClass('repeater-expanded'); + jQuery(this).css('display', 'block'); + } else { + jQuery(this).prev().removeClass('repeater-expanded'); + } + }); + }); + + theme_conrols.on('change', '.icp',function(){ + consultstreet_customizer_repeater_refresh_general_control_values(); + return false; + }); + + theme_conrols.on('change','.customizer-repeater-slide-format', function(){ + if(jQuery(this).val() === 'customizer_repeater_slide_forma_video'){ + jQuery(this).parent().parent().find('.customizer-repeater-video-url-control').show(); + jQuery(this).parent().parent().find('.Video').show(); + }else{ + jQuery(this).parent().parent().find('.customizer-repeater-video-url-control').hide(); + jQuery(this).parent().parent().find('.Video').hide(); + } + consultstreet_customizer_repeater_refresh_general_control_values(); + return false; + + }); + + theme_conrols.on('change', '.customizer-repeater-image-choice', function () { + if (jQuery(this).val() === 'customizer_repeater_image') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').show(); + } + if (jQuery(this).val() === 'customizer_repeater_icon') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').show(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); + } + if (jQuery(this).val() === 'customizer_repeater_none') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); + } + + consultstreet_customizer_repeater_refresh_general_control_values(); + return false; + }); + consultstreet_media_upload('.customizer-repeater-custom-media-button'); + jQuery('.custom-media-url').on('change', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + return false; + }); + + var color_options = { + change: function(event, ui){ + consultstreet_customizer_repeater_refresh_general_control_values(); + } + }; + + /** + * This adds a new box to repeater + * + */ + theme_conrols.on('click', '.customizer-repeater-new-field', function () { + + var parentid = jQuery(this).parent().attr("id"); + + if(parentid == 'customize-control-consultstreet_top_header_info_content') + { + var numItems = jQuery("#customize-control-consultstreet_top_header_info_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 3){ + jQuery( "#customize-control-consultstreet_top_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-consultstreet_top_header_social_content') + { + var numItems = jQuery("#customize-control-consultstreet_top_header_social_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-consultstreet_social_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-consultstreet_main_slider_content') + { + var numItems = jQuery("#customize-control-consultstreet_main_slider_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 2){ + jQuery( "#customize-control-consultstreet_slider_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-consultstreet_theme_info_content') + { + var numItems = jQuery("#customize-control-consultstreet_theme_info_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 3){ + jQuery( "#customize-control-consultstreet_info_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + if(parentid == 'customize-control-consultstreet_service_content') + { + var numItems = jQuery("#customize-control-consultstreet_service_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 3){ + jQuery( "#customize-control-consultstreet_service_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + if(parentid == 'customize-control-consultstreet_project_content') + { + var numItems = jQuery("#customize-control-consultstreet_project_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-consultstreet_project_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + if(parentid == 'customize-control-consultstreet_testimonial_content') + { + var numItems = jQuery("#customize-control-consultstreet_testimonial_content .customizer-repeater-general-control-repeater-container").length + if(numItems >= 3){ + jQuery( "#customize-control-consultstreet_testimonial_upgrade .consultstreet-upgrade-pro-message" ).show(); + return false; + } + } + + var th = jQuery(this).parent(); + var id = 'customizer-repeater-' + consultstreet_customizer_repeater_uniqid(); + if (typeof th !== 'undefined') { + /* Clone the first box*/ + var field = th.find('.customizer-repeater-general-control-repeater-container:first').clone( true, true ); + + if (typeof field !== 'undefined') { + /*Set the default value for choice between image and icon to icon*/ + field.find('.customizer-repeater-image-choice').val('customizer_repeater_icon'); + + /*Show icon selector*/ + field.find('.social-repeater-general-control-icon').show(); + + /*Hide image selector*/ + if (field.find('.social-repeater-general-control-icon').length > 0) { + field.find('.customizer-repeater-image-control').hide(); + } + + /*Show delete box button because it's not the first box*/ + field.find('.social-repeater-general-control-remove-field').show(); + + /* Empty control for icon */ + field.find('.input-group-addon').find('.fa').attr('class', 'fa'); + + + /*Remove all repeater fields except first one*/ + + field.find('.customizer-repeater-social-repeater').find('.customizer-repeater-social-repeater-container').not(':first').remove(); + field.find('.customizer-repeater-social-repeater-link').val(''); + field.find('.social-repeater-socials-repeater-colector').val(''); + + /*Remove value from icon field*/ + field.find('.icp').val(''); + + /*Remove value from text field*/ + field.find('.customizer-repeater-text-control').val(''); + + /*Remove value from button text field*/ + field.find('.customizer-repeater-button-text-control').val(''); + + field.find('.customizer-repeater-video-url-control').val(''); + + /*Remove value from designation text field*/ + field.find('.customizer-repeater-designation-control').val(''); + + /*Set the default value in slide format*/ + field.find('.customizer-repeater-slide-format').val('left'); + + /*Remove value from link field*/ + field.find('.customizer-repeater-link-control').val(''); + + /*Set box id*/ + field.find('.social-repeater-box-id').val(id); + + /*Remove value from media field*/ + field.find('.custom-media-url').val(''); + + /*Remove value from title field*/ + field.find('.customizer-repeater-title-control').val(''); + + /*Remove value from color field*/ + field.find('.wp-picker-container').replaceWith(''); + field.find('.customize-control-notifications-container').remove(); + field.find('.customizer-repeater-color-control').wpColorPicker(color_options); + + /*Remove value from subtitle field*/ + field.find('.customizer-repeater-subtitle-control').val(''); + + /*Remove value from shortcode field*/ + field.find('.customizer-repeater-shortcode-control').val(''); + + /*Set the default value in checkbox*/ + field.find('.customizer-repeater-checkbox').val(''); + + /*Append new box*/ + th.find('.customizer-repeater-general-control-repeater-container:first').parent().append(field); + + /*Refresh values*/ + consultstreet_customizer_repeater_refresh_general_control_values(); + } + + } + return false; + }); + + + theme_conrols.on('click', '.social-repeater-general-control-remove-field', function () { + if (typeof jQuery(this).parent() !== 'undefined') { + jQuery(this).parent().hide(500, function(){ + + var main_top_items = jQuery("#customize-control-consultstreet_top_header_info_content .customizer-repeater-general-control-repeater-container").length + if(main_top_items < 4){ + jQuery( "#customize-control-consultstreet_top_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + + var main_social_items = jQuery("#customize-control-consultstreet_top_header_social_content .customizer-repeater-general-control-repeater-container").length + if(main_social_items < 5){ + jQuery( "#customize-control-consultstreet_social_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + + var main_slider_items = jQuery("#customize-control-consultstreet_main_slider_content .customizer-repeater-general-control-repeater-container").length + if(main_slider_items < 3){ + jQuery( "#customize-control-consultstreet_slider_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + var theme_info_items = jQuery("#customize-control-consultstreet_theme_info_content .customizer-repeater-general-control-repeater-container").length + if(theme_info_items < 4){ + jQuery( "#customize-control-consultstreet_info_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + var theme_info_items = jQuery("#customize-control-consultstreet_service_content .customizer-repeater-general-control-repeater-container").length + if(theme_info_items < 4){ + jQuery( "#customize-control-consultstreet_service_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + var project_items = jQuery("#customize-control-consultstreet_project_content .customizer-repeater-general-control-repeater-container").length + if(project_items < 5){ + jQuery( "#customize-control-consultstreet_project_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + var testimonial_items = jQuery("#customize-control-consultstreet_testimonial_content .customizer-repeater-general-control-repeater-container").length + if(testimonial_items < 4){ + jQuery( "#customize-control-consultstreet_testimonial_upgrade .consultstreet-upgrade-pro-message" ).hide(); + } + + jQuery(this).parent().remove(); + consultstreet_customizer_repeater_refresh_general_control_values(); + + }); + } + return false; + }); + + + theme_conrols.on('keyup', '.customizer-repeater-title-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + jQuery('.customizer-repeater-color-control').wpColorPicker(color_options); + + theme_conrols.on('keyup', '.customizer-repeater-subtitle-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('keyup', '.customizer-repeater-shortcode-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('keyup', '.customizer-repeater-video-url-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('keyup', '.customizer-repeater-text-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('keyup','.customizer-repeater-button-text-control', function(){ + + consultstreet_customizer_repeater_refresh_general_control_values(); + }) + + theme_conrols.on('keyup', '.customizer-repeater-link-control', function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('keyup','.customizer-repeater-designation-control', function(){ + + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + theme_conrols.on('change','.customizer-repeater-checkbox', function(){ + + consultstreet_customizer_repeater_refresh_general_control_values(); + }); + + /*Drag and drop to change icons order*/ + + jQuery('.customizer-repeater-general-control-droppable').sortable({ + axis: 'y', + update: function () { + consultstreet_customizer_repeater_refresh_general_control_values(); + } + }); + + + /*----------------- Socials Repeater ---------------------*/ + theme_conrols.on('click', '.social-repeater-add-social-item', function (event) { + event.preventDefault(); + var th = jQuery(this).parent(); + var id = 'customizer-repeater-social-repeater-' + consultstreet_customizer_repeater_uniqid(); + if (typeof th !== 'undefined') { + var field = th.find('.customizer-repeater-social-repeater-container:first').clone( true, true ); + if (typeof field !== 'undefined') { + field.find( '.icp' ).val(''); + field.find( '.input-group-addon' ).find('.fa').attr('class','fa'); + field.find('.social-repeater-remove-social-item').show(); + field.find('.customizer-repeater-social-repeater-link').val(''); + field.find('.customizer-repeater-social-repeater-id').val(id); + th.find('.customizer-repeater-social-repeater-container:first').parent().append(field); + } + } + return false; + }); + + theme_conrols.on('click', '.social-repeater-remove-social-item', function (event) { + event.preventDefault(); + var th = jQuery(this).parent(); + var repeater = jQuery(this).parent().parent(); + th.remove(); + consultstreet_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + + theme_conrols.on('keyup', '.customizer-repeater-social-repeater-link', function (event) { + event.preventDefault(); + var repeater = jQuery(this).parent().parent(); + consultstreet_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + + theme_conrols.on('change', '.customizer-repeater-social-repeater-container .icp', function (event) { + event.preventDefault(); + var repeater = jQuery(this).parent().parent().parent(); + consultstreet_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + +}); + +var entityMap = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' +}; + +function consultstreet_escapeHtml(string) { + 'use strict'; + //noinspection JSUnresolvedFunction + string = String(string).replace(new RegExp('\r?\n', 'g'), '
    '); + string = String(string).replace(/\\/g, '\'); + return String(string).replace(/[&<>"'\/]/g, function (s) { + return entityMap[s]; + }); + +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/fontawesome-iconpicker.js b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/fontawesome-iconpicker.js new file mode 100644 index 00000000..e203b4c3 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-repeater/js/fontawesome-iconpicker.js @@ -0,0 +1,67 @@ +(function ($) { + 'use strict'; + wp.consultstreet_customizerRepeater = { + + init: function () { + $('.iconpicker-items>i').on('click', function () { + var iconClass = $(this).attr('class').slice(3); + var classInput = $(this).parents('.iconpicker-popover').prev().find('.icp'); + classInput.val(iconClass); + classInput.attr('value', iconClass); + + var iconPreview = classInput.next('.input-group-addon'); + var iconElement = '<\/i>'); + iconPreview.empty(); + iconPreview.append(iconElement); + + var th = $(this).parent().parent().parent(); + classInput.trigger('change'); + consultstreet_customizer_repeater_refresh_social_icons(th); + return false; + }); + }, + search: function ($searchField) { + var itemsList = $searchField.parent().next().find('.iconpicker-items'); + var searchTerm = $searchField.val().toLowerCase(); + if (searchTerm.length > 0) { + itemsList.children().each(function () { + if ($(this).filter('[title*='.concat(searchTerm)).length > 0 || searchTerm.length < 1) { + $(this).show(); + } else { + $(this).hide(); + } + }); + } else { + itemsList.children().show(); + } + }, + iconPickerToggle: function ($input) { + var iconPicker = $input.parent().next(); + iconPicker.addClass('iconpicker-visible'); + } + }; + + $(document).ready(function () { + wp.consultstreet_customizerRepeater.init(); + + $('.iconpicker-search').on('keyup', function () { + wp.consultstreet_customizerRepeater.search($(this)); + }); + + $('.icp-auto').on('click', function () { + wp.consultstreet_customizerRepeater.iconPickerToggle($(this)); + }); + + $(document).mouseup( function (e) { + var container = $('.iconpicker-popover'); + + if (!container.is(e.target) + && container.has(e.target).length === 0) + { + container.removeClass('iconpicker-visible'); + } + }); + + }); + +})(jQuery); diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/consultstreet-customize-base-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/consultstreet-customize-base-customizer-settings.php new file mode 100644 index 00000000..35d1b8f0 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/consultstreet-customize-base-customizer-settings.php @@ -0,0 +1,207 @@ +elements = $this->elements(); + + } + + /** + * Provides an array of Menu slug => name for dropdown. + * + * @return array + */ + protected function get_menu_options() { + + $all_menus = get_terms( array( + 'taxonomy' => 'nav_menu', + 'hide_empty' => true, + ) ); + $menu_options = array(); + $menu_options['none'] = esc_html__( 'None', 'consultstreet' ); + + foreach ( $all_menus as $menu_item ) { + $menu_options[ $menu_item->slug ] = esc_html( $menu_item->name ); + } + + return $menu_options; + + } + + /** + * Register customizer option. + * + * @param WP_Customize_Manager $wp_customize Manager instance. + */ + public function consultstreet_customizer_options( $wp_customize ) { + + // Loop through array elements. + foreach ( $this->elements as $el_key => $el_data ) : + + /** + * Setting. + */ + $setting_args = $el_data['setting']; + $default = isset( $setting_args['default'] ) ? $setting_args['default'] : ''; + $option_type = isset( $el_data['setting']['type'] ) ? $el_data['setting']['type'] : 'theme_mod'; + $sanitize_callback = isset( $setting_args['sanitize_callback'] ) ? $setting_args['sanitize_callback'] : ''; + + $wp_customize->add_setting( + $el_key, + array( + 'default' => $default, + 'type' => $option_type, + 'capability' => 'edit_theme_options', + 'sanitize_callback' => $sanitize_callback, + ) + ); + + /** + * Control. + */ + $control_args = $el_data['control']; + $control_type = $control_args['type']; + // Is custom control? + $is_custom_control = ( isset( $control_args['is_default_type'] ) && true === $control_args['is_default_type'] ) ? $control_args['is_default_type'] : 0; + $control_args['setting'] = $el_key; + + // If array provided for active callback modify it to function reference. + if ( isset( $control_args['active_callback'] ) && is_array( $control_args['active_callback'] ) ) { + $this->active_callback_old[] = $control_args['active_callback']; + $cb_setting_id = $this->active_callback_old[ $this->ac_arr_count ][0]['setting']; + + + if ( 'consultstreet_pro' === substr( $cb_setting_id, 0, 9 ) && function_exists( 'consultstreet_pro_options' ) ) { + $this->ac_default[] = $wp_customize->get_setting( 'consultstreet_pro[' . $cb_setting_id . ']' )->default; + + } else { + $this->ac_default[] = $wp_customize->get_setting( $cb_setting_id )->default; + } + + $control_args['active_callback'] = array( $this, 'evaluate' ); + $this->ac_arr_count++; + } + + // If custom control, unset type and use object, else... + if ( ! $is_custom_control ) { + unset( $control_args['type'] ); + $control_type_uc = implode( '_', array_map( 'ucfirst', explode( '_', $control_type ) ) ); + $control_type = 'ConsultStreet_Customize_' . $control_type_uc . '_Control'; + $wp_customize->add_control( new $control_type( $wp_customize, $el_key, $control_args ) ); + } else { + $wp_customize->add_control( $el_key, $control_args ); + } + + endforeach; + + } + + /** + * Evaluates the active callback array. + * + * @return bool + */ + public function evaluate() { + foreach ( $this->active_callback_old[ ( $this->count_evaluate ) ] as $count => $ruleset ) : + + $ac_setting_id = $ruleset['setting']; + $operator = $ruleset['operator']; + + if ( 'consultstreet_pro' === substr( $ac_setting_id, 0, 9 ) && function_exists( 'consultstreet_pro_options' ) ) { + $option_val = consultstreet_pro_options( $ac_setting_id, 'text_html' ); + } else { + $option_val = get_theme_mod( $ac_setting_id, 'text_html' ); + } + $check_val = $ruleset['value']; + + switch ( $operator ) { + case '===': + $show[] = ( $option_val === $check_val ) ? true : false; + break; + case '==': + $show[] = ( $option_val == $check_val ) ? true : false; + break; + + case '!==': + $show[] = ( $option_val !== $check_val ) ? true : false; + break; + + case '!=': + $show[] = ( $option_val != $check_val ) ? true : false; + break; + + default: + $show[] = ( $option_val == $check_val ) ? true : false; + break; + } + + endforeach; + + // Evaluate final result. + if ( isset( $show ) ) { + $this->count_evaluate++; + foreach ( $show as $result ) { + if ( ! $result ) { + return false; + } + } + } + + return true; + + } + +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php new file mode 100644 index 00000000..330d3e5a --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php @@ -0,0 +1,143 @@ + array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 1, + 'label' => esc_html__( 'Blog/Archive/Single', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + ), + ), + + 'consultstreet_general_blog_arcive_single_content_ordering' => array( + 'setting' => array( + 'default' => array( + 'meta-one', + 'title', + 'meta-two', + 'image', + ), + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_sortable' ), + ), + 'control' => array( + 'type' => 'sortable', + 'priority' => 5, + 'label' => esc_html__( 'General Post', 'consultstreet' ), + 'description' => esc_html__( 'Drag & Drop post items to re-arrange the order', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + 'choices' => array( + 'meta-one' => esc_attr__( 'Meta One', 'consultstreet' ), + 'title' => esc_attr__( 'Title', 'consultstreet' ), + 'meta-two' => esc_attr__( 'Meta Two', 'consultstreet' ), + 'image' => esc_attr__( 'Image', 'consultstreet' ), + ), + ), + ), + + 'consultstreet_archive_blog_heading' => array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 15, + 'label' => esc_html__( 'Archive Blog Pages', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + ), + ), + + + 'consultstreet_archive_blog_pages_layout' => array( + 'setting' => array( + 'default' => 'consultstreet_right_sidebar', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio_image', + 'priority' => 20, + 'label' => esc_html__( 'Layout', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + 'choices' => array( + 'consultstreet_right_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-right-sidebar.png', + 'consultstreet_left_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-left-sidebar.png', + 'consultstreet_no_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-fullwidth.png', + ), + ), + ), + + 'consultstreet_single_blog_heading' => array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 30, + 'label' => esc_html__( 'Single Blog Pages', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + ), + ), + + 'consultstreet_single_blog_pages_layout' => array( + 'setting' => array( + 'default' => 'consultstreet_right_sidebar', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio_image', + 'priority' => 35, + 'label' => esc_html__( 'Layout', 'consultstreet' ), + 'section' => 'consultstreet_blog_general', + 'choices' => array( + 'consultstreet_right_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-right-sidebar.png', + 'consultstreet_left_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-left-sidebar.png', + 'consultstreet_no_sidebar' => CONSULTSTREET_PARENT_INC_ICON_URI . '/theme-fullwidth.png', + ), + ), + ), + + 'consultstreet_custom_logo_size' => array( + 'setting' => array( + 'default' => array( + 'slider' => 257, + 'suffix' => 'px', + ), + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_slider' ), + ), + 'control' => array( + 'type' => 'slider', + 'priority' => 55, + 'label' => esc_html__( 'Logo Width', 'consultstreet' ), + 'section' => 'title_tagline', + 'input_attrs' => array( + 'min' => 0, + 'max' => 600, + 'step' => 3, + ), + ), + ), + + + ); + + } + + } + + new ConsultStreet_Customize_Blog_General_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-copyright-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-copyright-customizer-settings.php new file mode 100644 index 00000000..c53f7655 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-copyright-customizer-settings.php @@ -0,0 +1,43 @@ + array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 5, + 'label' => esc_html__( 'Footer Copyright Enable/Disable', 'consultstreet' ), + 'section' => 'consultstreet_footer_copyright', + ), + ), + + + ); + + } + + } + + new ConsultStreet_Customize_Footer_Copyright_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php new file mode 100644 index 00000000..996caea7 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php @@ -0,0 +1,64 @@ + array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 10, + 'label' => esc_html__( 'Footer Widget Area Enable/Disable', 'consultstreet' ), + 'section' => 'consultstreet_footer_widgets', + ), + ), + + + 'consultstreet_footer_container_size' => array( + 'setting' => array( + 'default' => 'container-full', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio', + 'priority' => 25, + 'is_default_type' => true, + 'label' => esc_html__( 'Container Width', 'consultstreet' ), + 'section' => 'consultstreet_footer_widgets', + 'choices' => array( + 'container' => esc_html__( 'Container', 'consultstreet' ), + 'container-full' => esc_html__( 'Container Full', 'consultstreet' ), + ), + ), + ), + + + + ); + + } + + } + + new ConsultStreet_Customize_Footer_Widget_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-general-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-general-customizer-settings.php new file mode 100644 index 00000000..fd487211 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-general-customizer-settings.php @@ -0,0 +1,56 @@ + array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 1, + 'label' => esc_html__( 'General Settings', 'consultstreet' ), + 'section' => 'consultstreet_theme_general', + ), + ), + + 'consultstreet_animation_disabled' => array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 2, + 'label' => esc_html__( 'Site Animation Enable/Disable', 'consultstreet' ), + 'section' => 'consultstreet_theme_general', + ), + ), + + + ); + + } + + } + + new ConsultStreet_Customize_General_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php new file mode 100644 index 00000000..176620d0 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php @@ -0,0 +1,78 @@ + array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 1, + 'label' => esc_html__( 'Menu Settings', 'consultstreet' ), + 'section' => 'consultstreet_theme_menu_bar', + ), + ), + + + 'consultstreet_menu_style' => array( + 'setting' => array( + 'default' => 'sticky', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio', + 'priority' => 5, + 'is_default_type' => true, + 'label' => esc_html__( 'Menu Style', 'consultstreet' ), + 'section' => 'consultstreet_theme_menu_bar', + 'choices' => array( + 'sticky' => esc_html__( 'Sticky', 'consultstreet' ), + 'static' => esc_html__( 'Static', 'consultstreet' ), + ), + ), + ), + + + 'consultstreet_menu_container_size' => array( + 'setting' => array( + 'default' => 'container-full', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio', + 'priority' => 7, + 'is_default_type' => true, + 'label' => esc_html__( 'Container Width', 'consultstreet' ), + 'section' => 'consultstreet_theme_menu_bar', + 'choices' => array( + 'container' => esc_html__( 'Container', 'consultstreet' ), + 'container-full' => esc_html__( 'Container Full', 'consultstreet' ), + ), + ), + ), + + ); + + } + + } + + new ConsultStreet_Customize_Menu_Bar_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-other-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-other-customizer-settings.php new file mode 100644 index 00000000..2e2965c7 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-other-customizer-settings.php @@ -0,0 +1,120 @@ + array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 53, + 'label' => esc_html__( 'Magazine Header Settings', 'consultstreet' ), + 'section' => 'title_tagline', + ), + ), + + 'consultstreet_header_banner_image_disabled' => array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 54, + 'label' => esc_html__( 'Enable/Disable Banner Image', 'consultstreet' ), + 'section' => 'title_tagline', + ), + ), + + 'consultstreet_header_banner_image_link' => array( + 'setting' => array( + 'default' => '#', + 'sanitize_callback' => 'sanitize_text_field', + ), + 'control' => array( + 'type' => 'text', + 'priority' => 56, + 'is_default_type' => true, + 'label' => esc_html__( 'Banner Image Link', 'consultstreet' ), + 'section' => 'title_tagline', + ), + ), + + 'consultstreet_header_banner_open_new_tab_disabled' => array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 57, + 'label' => esc_html__( 'Open New Tab Enable/Disable', 'consultstreet' ), + 'section' => 'title_tagline', + ), + ), + + 'consultstreet_magazine_header_menu_alignment' => array( + 'setting' => array( + 'default' => 'm-left-auto', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_radio' ), + ), + 'control' => array( + 'type' => 'radio', + 'priority' => 58, + 'is_default_type' => true, + 'label' => esc_html__( 'Magazine Header Menu Alignment', 'consultstreet' ), + 'section' => 'title_tagline', + 'choices' => array( + 'm-left-auto' => esc_html__( 'Left', 'consultstreet' ), + 'm-right-left-auto' => esc_html__( 'Center', 'consultstreet' ), + ), + ), + ), + + + 'consultstreet_custom_logo_size' => array( + 'setting' => array( + 'default' => array( + 'slider' => 257, + 'suffix' => 'px', + ), + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_slider' ), + ), + 'control' => array( + 'type' => 'slider', + 'priority' => 52, + 'label' => esc_html__( 'Logo Width', 'consultstreet' ), + 'section' => 'title_tagline', + 'input_attrs' => array( + 'min' => 0, + 'max' => 600, + 'step' => 3, + ), + ), + ), + + + ); + + } + + } + + new ConsultStreet_Other_General_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php new file mode 100644 index 00000000..1da151ed --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php @@ -0,0 +1,74 @@ + array( + 'setting' => array(), + 'control' => array( + 'type' => 'heading', + 'priority' => 1, + 'label' => esc_html__( 'Page Header', 'consultstreet' ), + 'section' => 'header_image', + ), + ), + + 'consultstreet_page_header_disabled' => array( + 'setting' => array( + 'default' => true, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 5, + 'label' => esc_html__( 'Page Header Enable/Disable', 'consultstreet' ), + 'section' => 'header_image', + ), + ), + + + 'consultstreet_page_header_background_color' => array( + 'setting' => array( + 'default' => '', + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_alpha_color' ), + ), + 'control' => array( + 'type' => 'color', + 'priority' => 7, + 'label' => esc_html__( 'Background color', 'consultstreet' ), + 'section' => 'header_image', + 'choices' => array( + 'alpha' => true, + ), + ), + ), + + + ); + + } + + } + + new ConsultStreet_Customize_Page_Header_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-typography-customizer-settings.php b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-typography-customizer-settings.php new file mode 100644 index 00000000..968c839b --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/customizer-settings/theme-settings/consultstreet-typography-customizer-settings.php @@ -0,0 +1,44 @@ + array( + 'setting' => array( + 'default' => false, + 'sanitize_callback' => array( 'ConsultStreet_Customizer_Sanitize', 'sanitize_checkbox' ), + ), + 'control' => array( + 'type' => 'toggle', + 'priority' => 2, + 'label' => esc_html__( 'Enable Typography', 'consultstreet' ), + 'section' => 'consultstreet_enable_disable_typography', + ), + ), + ); + + } + + } + + new ConsultStreet_Customize_Theme_Typography_Option(); + +endif; diff --git a/wp-content/themes/consultstreet/inc/customizer/webfont.php b/wp-content/themes/consultstreet/inc/customizer/webfont.php new file mode 100644 index 00000000..3e0d2406 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/webfont.php @@ -0,0 +1,133 @@ + urlencode( implode( '|', $font_families ) ), + 'subset' => urlencode( 'latin,latin-ext' ), + ); + + $fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); + + return $fonts_url; +} +function consultstreet_google_font_scripts_styles() { + wp_enqueue_style( 'consultstreet-google-fonts', consultstreet_google_fonts_url(), array(), null ); +} +add_action( 'wp_enqueue_scripts', 'consultstreet_google_font_scripts_styles'); + +/*--------------------------------------------------------------------*/ +/* Register Google Fonts +/*--------------------------------------------------------------------*/ +function consultstreet_default_fonts_url() { + + $fonts_url = ''; + + $font_families = array(); + + $font_families = array('Open Sans:400,300,300italic,400italic,600,600italic,700,700italic', 'Montserrat:300,300italic,400,400italic,500,500italic,600,600italic,700,italic,800,800italic,900,900italic'); + + $query_args = array( + 'family' => urlencode( implode( '|', $font_families ) ), + 'subset' => urlencode( 'latin,latin-ext' ), + ); + + $fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); + + return $fonts_url; +} +function consultstreet_default_scripts_styles() { + wp_enqueue_style( 'consultstreet-default-fonts', consultstreet_default_fonts_url(), array(), null ); +} +add_action( 'wp_enqueue_scripts', 'consultstreet_default_scripts_styles'); + +if ( true == get_theme_mod( 'consultstreet_typography_disabled', false ) ) { + add_action( 'wp_enqueue_scripts', 'consultstreet_theme_fonts',1 ); + add_action( 'enqueue_block_editor_assets', 'consultstreet_theme_fonts',1 ); + add_action( 'customize_preview_init', 'consultstreet_theme_fonts', 1 ); +}else { + add_action( 'wp_enqueue_scripts', 'consultstreet_default_scripts_styles'); +} + + +function consultstreet_theme_fonts() { + $fonts_url = consultstreet_get_fonts_url(); + // Load Fonts if necessary. + if ( $fonts_url ) { + require_once (get_theme_file_path( '/inc/customizer/wptt-webfont-loader.php' )); + wp_enqueue_style( 'consultstreet-theme-fonts', wptt_get_webfont_url( $fonts_url ), array(), '20201110' ); + } +} +/** + * Retrieve webfont URL to load fonts locally. + */ +function consultstreet_get_fonts_url() { + $base_font = get_theme_mod('consultstreet_typography_base_font_family','Open Sans'); + $h1_font = get_theme_mod('consultstreet_typography_h1_font_family','Montserrat'); + $h2_font = get_theme_mod('consultstreet_typography_h2_font_family','Montserrat'); + $h3_font = get_theme_mod('consultstreet_typography_h3_font_family','Montserrat'); + $h4_font = get_theme_mod('consultstreet_typography_h4_font_family','Montserrat'); + $h5_font = get_theme_mod('consultstreet_typography_h5_font_family','Montserrat'); + $h6_font = get_theme_mod('consultstreet_typography_h6_font_family','Montserrat'); + + $font_families = array( + $base_font .':100', $base_font .':100italic', $base_font .':200', $base_font .':200italic', $base_font .':300', $base_font .':300italic', $base_font .':400', $base_font .':400italic', $base_font .':500', $base_font .':500italic', $base_font .':600', $base_font .':600italic', $base_font .':700', $base_font .':700italic', $base_font .':800', $base_font .':800italic', $base_font .':900', $base_font .':900italic', + $h1_font .':100', $h1_font .':100italic', $h1_font .':200', $h1_font .':200italic', $h1_font .':300', $h1_font .':300italic', $h1_font .':400', $h1_font .':400italic', $h1_font .':500', $h1_font .':500italic', $h1_font .':600', $h1_font .':600italic', $h1_font .':700', $h1_font .':700italic', $h1_font .':800', $h1_font .':800italic', $h1_font .':900', $h1_font .':900italic', + $h2_font .':100', $h2_font .':100italic', $h2_font .':200', $h2_font .':200italic', $h2_font .':300', $h2_font .':300italic', $h2_font .':400', $h2_font .':400italic', $h2_font .':500', $h2_font .':500italic', $h2_font .':600', $h2_font .':600italic', $h2_font .':700', $h2_font .':700italic', $h2_font .':800', $h2_font .':800italic', $h2_font .':900', $h2_font .':900italic', + $h3_font .':100', $h3_font .':100italic', $h3_font .':200', $h3_font .':200italic', $h3_font .':300', $h3_font .':300italic', $h3_font .':400', $h3_font .':400italic', $h3_font .':500', $h3_font .':500italic', $h3_font .':600', $h3_font .':600italic', $h3_font .':700', $h3_font .':700italic', $h3_font .':800', $h3_font .':800italic', $h3_font .':900', $h3_font .':900italic', + $h4_font .':100', $h4_font .':100italic', $h4_font .':200', $h4_font .':200italic', $h4_font .':300', $h4_font .':300italic', $h4_font .':400', $h4_font .':400italic', $h4_font .':500', $h4_font .':500italic', $h4_font .':600', $h4_font .':600italic', $h4_font .':700', $h4_font .':700italic', $h4_font .':800', $h4_font .':800italic', $h4_font .':900', $h4_font .':900italic', + $h5_font .':100', $h5_font .':100italic', $h5_font .':200', $h5_font .':200italic', $h5_font .':300', $h5_font .':300italic', $h5_font .':400', $h5_font .':400italic', $h5_font .':500', $h5_font .':500italic', $h5_font .':600', $h5_font .':600italic', $h5_font .':700', $h5_font .':700italic', $h5_font .':800', $h5_font .':800italic', $h5_font .':900', $h5_font .':900italic', + $h6_font .':100', $h6_font .':100italic', $h6_font .':200', $h6_font .':200italic', $h6_font .':300', $h6_font .':300italic', $h6_font .':400', $h6_font .':400italic', $h6_font .':500', $h6_font .':500italic', $h6_font .':600', $h6_font .':600italic', $h6_font .':700', $h6_font .':700italic', $h6_font .':800', $h6_font .':800italic', $h6_font .':900', $h6_font .':900italic', + ); + $query_args = array( + 'family' => urlencode( implode( '|', $font_families ) ), + 'subset' => urlencode( 'latin,latin-ext' ), + 'display' => urlencode( 'swap' ), + ); + return apply_filters( 'consultstreet_get_fonts_url', add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ) ); +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/customizer/wptt-webfont-loader.php b/wp-content/themes/consultstreet/inc/customizer/wptt-webfont-loader.php new file mode 100644 index 00000000..cb0d956e --- /dev/null +++ b/wp-content/themes/consultstreet/inc/customizer/wptt-webfont-loader.php @@ -0,0 +1,671 @@ +remote_url = $url; + + // Add a cleanup routine. + $this->schedule_cleanup(); + add_action( 'delete_fonts_folder', array( $this, 'delete_fonts_folder' ) ); + } + + /** + * Get the local URL which contains the styles. + * + * Fallback to the remote URL if we were unable to write the file locally. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_url() { + + // Check if the local stylesheet exists. + if ( $this->local_file_exists() ) { + + // Attempt to update the stylesheet. Return the local URL on success. + if ( $this->write_stylesheet() ) { + return $this->get_local_stylesheet_url(); + } + } + + // If the local file exists, return its URL, with a fallback to the remote URL. + return file_exists( $this->get_local_stylesheet_path() ) + ? $this->get_local_stylesheet_url() + : $this->remote_url; + } + + /** + * Get the local stylesheet URL. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_local_stylesheet_url() { + if ( ! $this->local_stylesheet_url ) { + $this->local_stylesheet_url = str_replace( + $this->get_base_path(), + $this->get_base_url(), + $this->get_local_stylesheet_path() + ); + } + return $this->local_stylesheet_url; + } + + /** + * Get styles with fonts downloaded locally. + * + * @access public + * @since 1.0.0 + * @return string + */ + public function get_styles() { + + // If we already have the local file, return its contents. + $local_stylesheet_contents = $this->get_local_stylesheet_contents(); + if ( $local_stylesheet_contents ) { + return $local_stylesheet_contents; + } + + // Get the remote URL contents. + $this->remote_styles = $this->get_remote_url_contents(); + + // Get an array of locally-hosted files. + $files = $this->get_local_files_from_css(); + + // Convert paths to URLs. + foreach ( $files as $remote => $local ) { + $files[ $remote ] = str_replace( + $this->get_base_path(), + $this->get_base_url(), + $local + ); + } + + $this->css = str_replace( + array_keys( $files ), + array_values( $files ), + $this->remote_styles + ); + + $this->write_stylesheet(); + + return $this->css; + } + + /** + * Get local stylesheet contents. + * + * @access public + * @since 1.1.0 + * @return string|false Returns the remote URL contents. + */ + public function get_local_stylesheet_contents() { + $local_path = $this->get_local_stylesheet_path(); + + // Check if the local stylesheet exists. + if ( $this->local_file_exists() ) { + + // Attempt to update the stylesheet. Return false on fail. + if ( ! $this->write_stylesheet() ) { + return false; + } + } + + ob_start(); + include $local_path; + return ob_get_clean(); + } + + /** + * Get remote file contents. + * + * @access public + * @since 1.0.0 + * @return string Returns the remote URL contents. + */ + public function get_remote_url_contents() { + + /** + * The user-agent we want to use. + * + * The default user-agent is the only one compatible with woff (not woff2) + * which also supports unicode ranges. + */ + $user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8'; + + // Switch to a user-agent supporting woff2 if we don't need to support IE. + if ( 'woff2' === $this->font_format ) { + $user_agent = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0'; + } + + // Get the response. + $response = wp_remote_get( $this->remote_url, array( 'user-agent' => $user_agent ) ); + + // Early exit if there was an error. + if ( is_wp_error( $response ) ) { + return; + } + + // Get the CSS from our response. + $contents = wp_remote_retrieve_body( $response ); + + // Early exit if there was an error. + if ( is_wp_error( $contents ) ) { + return; + } + + return $contents; + } + + /** + * Download files mentioned in our CSS locally. + * + * @access public + * @since 1.0.0 + * @return array Returns an array of remote URLs and their local counterparts. + */ + public function get_local_files_from_css() { + $font_files = $this->get_remote_files_from_css(); + $stored = get_site_option( 'downloaded_font_files', array() ); + $change = false; // If in the end this is true, we need to update the cache option. + + // If the fonts folder don't exist, create it. + if ( ! file_exists( $this->get_fonts_folder() ) ) { + $this->get_filesystem()->mkdir( $this->get_fonts_folder(), FS_CHMOD_DIR ); + } + + foreach ( $font_files as $font_family => $files ) { + + // The folder path for this font-family. + $folder_path = $this->get_fonts_folder() . '/' . $font_family; + + // If the folder doesn't exist, create it. + if ( ! file_exists( $folder_path ) ) { + $this->get_filesystem()->mkdir( $folder_path, FS_CHMOD_DIR ); + } + + foreach ( $files as $url ) { + + // Get the filename. + $filename = basename( wp_parse_url( $url, PHP_URL_PATH ) ); + $font_path = $folder_path . '/' . $filename; + + // Check if the file already exists. + if ( file_exists( $font_path ) ) { + + // Skip if already cached. + if ( isset( $stored[ $url ] ) ) { + continue; + } + + // Add file to the cache and change the $changed var to indicate we need to update the option. + $stored[ $url ] = $font_path; + $change = true; + + // Since the file exists we don't need to proceed with downloading it. + continue; + } + + /** + * If we got this far, we need to download the file. + */ + + // require file.php if the download_url function doesn't exist. + if ( ! function_exists( 'download_url' ) ) { + require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' ); + } + + // Download file to temporary location. + $tmp_path = download_url( $url ); + + // Make sure there were no errors. + if ( is_wp_error( $tmp_path ) ) { + continue; + } + + // Move temp file to final destination. + $success = $this->get_filesystem()->move( $tmp_path, $font_path, true ); + if ( $success ) { + $stored[ $url ] = $font_path; + $change = true; + } + } + } + + // If there were changes, update the option. + if ( $change ) { + + // Cleanup the option and then save it. + foreach ( $stored as $url => $path ) { + if ( ! file_exists( $path ) ) { + unset( $stored[ $url ] ); + } + } + update_site_option( 'downloaded_font_files', $stored ); + } + + return $stored; + } + + /** + * Get font files from the CSS. + * + * @access public + * @since 1.0.0 + * @return array Returns an array of font-families and the font-files used. + */ + public function get_remote_files_from_css() { + + $font_faces = explode( '@font-face', $this->remote_styles ); + + $result = array(); + + // Loop all our font-face declarations. + foreach ( $font_faces as $font_face ) { + + // Make sure we only process styles inside this declaration. + $style = explode( '}', $font_face )[0]; + + // Sanity check. + if ( false === strpos( $style, 'font-family' ) ) { + continue; + } + + // Get an array of our font-families. + preg_match_all( '/font-family.*?\;/', $style, $matched_font_families ); + + // Get an array of our font-files. + preg_match_all( '/url\(.*?\)/i', $style, $matched_font_files ); + + // Get the font-family name. + $font_family = 'unknown'; + if ( isset( $matched_font_families[0] ) && isset( $matched_font_families[0][0] ) ) { + $font_family = rtrim( ltrim( $matched_font_families[0][0], 'font-family:' ), ';' ); + $font_family = trim( str_replace( array( "'", ';' ), '', $font_family ) ); + $font_family = sanitize_key( strtolower( str_replace( ' ', '-', $font_family ) ) ); + } + + // Make sure the font-family is set in our array. + if ( ! isset( $result[ $font_family ] ) ) { + $result[ $font_family ] = array(); + } + + // Get files for this font-family and add them to the array. + foreach ( $matched_font_files as $match ) { + + // Sanity check. + if ( ! isset( $match[0] ) ) { + continue; + } + + // Add the file URL. + $result[ $font_family ][] = rtrim( ltrim( $match[0], 'url(' ), ')' ); + } + + // Make sure we have unique items. + // We're using array_flip here instead of array_unique for improved performance. + $result[ $font_family ] = array_flip( array_flip( $result[ $font_family ] ) ); + } + return $result; + } + + /** + * Write the CSS to the filesystem. + * + * @access protected + * @since 1.1.0 + * @return string|false Returns the absolute path of the file on success, or false on fail. + */ + protected function write_stylesheet() { + $file_path = $this->get_local_stylesheet_path(); + $filesystem = $this->get_filesystem(); + + // If the folder doesn't exist, create it. + if ( ! file_exists( $this->get_fonts_folder() ) ) { + $this->get_filesystem()->mkdir( $this->get_fonts_folder(), FS_CHMOD_DIR ); + } + + // If the file doesn't exist, create it. Return false if it can not be created. + if ( ! $filesystem->exists( $file_path ) && ! $filesystem->touch( $file_path ) ) { + return false; + } + + // If we got this far, we need to write the file. + // Get the CSS. + if ( ! $this->css ) { + $this->get_styles(); + } + + // Put the contents in the file. Return false if that fails. + if ( ! $filesystem->put_contents( $file_path, $this->css ) ) { + return false; + } + + return $file_path; + } + + /** + * Get the stylesheet path. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_local_stylesheet_path() { + if ( ! $this->local_stylesheet_path ) { + $this->local_stylesheet_path = $this->get_fonts_folder() . '/' . $this->get_local_stylesheet_filename() . '.css'; + } + return $this->local_stylesheet_path; + } + + /** + * Get the local stylesheet filename. + * + * This is a hash, generated from the site-URL, the wp-content path and the URL. + * This way we can avoid issues with sites changing their URL, or the wp-content path etc. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_local_stylesheet_filename() { + return md5( $this->get_base_url() . $this->get_base_path() . $this->remote_url ); + } + + /** + * Set the font-format to be used. + * + * @access public + * @since 1.0.0 + * @param string $format The format to be used. Use "woff" or "woff2". + * @return void + */ + public function set_font_format( $format = 'woff2' ) { + $this->font_format = $format; + } + + /** + * Check if the local stylesheet exists. + * + * @access public + * @since 1.1.0 + * @return bool + */ + public function local_file_exists() { + return ( ! file_exists( $this->get_local_stylesheet_path() ) ); + } + + /** + * Get the base path. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_base_path() { + if ( ! $this->base_path ) { + $this->base_path = apply_filters( 'wptt_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() ); + } + return $this->base_path; + } + + /** + * Get the base URL. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_base_url() { + if ( ! $this->base_url ) { + $this->base_url = apply_filters( 'wptt_get_local_fonts_base_url', content_url() ); + } + return $this->base_url; + } + + /** + * Get the subfolder name. + * + * @access public + * @since 1.1.0 + * @return string + */ + public function get_subfolder_name() { + if ( ! $this->subfolder_name ) { + $this->subfolder_name = apply_filters( 'wptt_get_local_fonts_subfolder_name', 'fonts' ); + } + return $this->subfolder_name; + } + + /** + * Get the folder for fonts. + * + * @access public + * @return string + */ + public function get_fonts_folder() { + if ( ! $this->fonts_folder ) { + $this->fonts_folder = $this->get_base_path(); + if ( $this->get_subfolder_name() ) { + $this->fonts_folder .= '/' . $this->get_subfolder_name(); + } + } + return $this->fonts_folder; + } + + /** + * Schedule a cleanup. + * + * Deletes the fonts files on a regular basis. + * This way font files will get updated regularly, + * and we avoid edge cases where unused files remain in the server. + * + * @access public + * @since 1.1.0 + * @return void + */ + public function schedule_cleanup() { + if ( ! is_multisite() || ( is_multisite() && is_main_site() ) ) { + if ( ! wp_next_scheduled( 'delete_fonts_folder' ) && ! wp_installing() ) { + wp_schedule_event( time(), self::CLEANUP_FREQUENCY, 'delete_fonts_folder' ); + } + } + } + + /** + * Delete the fonts folder. + * + * This runs as part of a cleanup routine. + * + * @access public + * @since 1.1.0 + * @return bool + */ + public function delete_fonts_folder() { + return $this->get_filesystem()->delete( $this->get_fonts_folder(), true ); + } + + /** + * Get the filesystem. + * + * @access protected + * @since 1.0.0 + * @return WP_Filesystem + */ + protected function get_filesystem() { + global $wp_filesystem; + + // If the filesystem has not been instantiated yet, do it here. + if ( ! $wp_filesystem ) { + if ( ! function_exists( 'WP_Filesystem' ) ) { + require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' ); + } + WP_Filesystem(); + } + return $wp_filesystem; + } + } +} + +if ( ! function_exists( 'wptt_get_webfont_styles' ) ) { + /** + * Get styles for a webfont. + * + * This will get the CSS from the remote API, + * download any fonts it contains, + * replace references to remote URLs with locally-downloaded assets, + * and finally return the resulting CSS. + * + * @since 1.0.0 + * + * @param string $url The URL of the remote webfont. + * @param string $format The font-format. If you need to support IE, change this to "woff". + * + * @return string Returns the CSS. + */ + function wptt_get_webfont_styles( $url, $format = 'woff2' ) { + $font = new WPTT_WebFont_Loader( $url ); + $font->set_font_format( $format ); + return $font->get_styles(); + } +} + +if ( ! function_exists( 'wptt_get_webfont_url' ) ) { + /** + * Get a stylesheet URL for a webfont. + * + * @since 1.1.0 + * + * @param string $url The URL of the remote webfont. + * @param string $format The font-format. If you need to support IE, change this to "woff". + * + * @return string Returns the CSS. + */ + function wptt_get_webfont_url( $url, $format = 'woff2' ) { + $font = new WPTT_WebFont_Loader( $url ); + $font->set_font_format( $format ); + return $font->get_url(); + } +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/inc/metabox.php b/wp-content/themes/consultstreet/inc/metabox.php new file mode 100644 index 00000000..8b7aca03 --- /dev/null +++ b/wp-content/themes/consultstreet/inc/metabox.php @@ -0,0 +1,91 @@ + array( + 'value' => 'right-sidebar', + 'thumbnail' => get_template_directory_uri() . '/assets/img/icons/theme-right-sidebar.png' + ), + 'no-sidebar' => array( + 'value' => 'no-sidebar', + 'thumbnail' => get_template_directory_uri() . '/assets/img/icons/theme-fullwidth.png' + ), + 'left-sidebar' => array( + 'value' => 'left-sidebar', + 'thumbnail' => get_template_directory_uri() . '/assets/img/icons/theme-left-sidebar.png' + ), + +); + +function consultstreet_sidebar_layout_callback(){ + global $post , $consultstreet_sidebar_layout; + wp_nonce_field( basename( __FILE__ ), 'consultstreet_nonce' ); +?> + + + + + + + + + +
    + ID, '_sidebar_layout', true ); ?> + +
    + +
    + +
    +
    + + + + + "> + + + + +
    +

    + +

    + +
    + $subvalue ) { + $value[ $key ] = sanitize_text_field( $subvalue ); + } + return $value; + } + return sanitize_text_field( $value ); +} + +function consultstreet_sanitize_text( $input ) { + return wp_kses_post( force_balance_tags( $input ) ); +} + +/** + * Theme Comment Function +*/ +if ( ! function_exists( 'consultstreet_comment' ) ) : +function consultstreet_comment( $comment, $args, $depth ) +{ + ?> +
    id="comment-"> + + + +
    +
    +
    +
    + +
    + $depth, 'max_depth' => $args['max_depth']))) ?> +
    + comment_approved == '0' ) : ?> + +
    + +
    +
    +
    +ID}\" class=\"more-link\">" .esc_html__('Read More','consultstreet')."

    "; + } +add_filter( 'the_content_more_link', 'consultstreet_read_more_button_class' ); + +function consultstreet_post_thumbnail() { + if(has_post_thumbnail()){ + echo '
    '; + the_post_thumbnail( '', array( 'class'=>'img-fluid' ) ); + echo '
    '; + } +} + +/** + * Theme Page Header Title +*/ +function consultstreet_theme_page_header_title(){ + if( is_archive() ) + { + echo '

    '; + if ( is_day() ) : + /* translators: %1$s %2$s: date */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Archives','consultstreet'), get_the_date() ); + elseif ( is_month() ) : + /* translators: %1$s %2$s: month */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Archives','consultstreet'), get_the_date( 'F Y' ) ); + elseif ( is_year() ) : + /* translators: %1$s %2$s: year */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Archives','consultstreet'), get_the_date( 'Y' ) ); + elseif( is_author() ): + /* translators: %1$s %2$s: author */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('All posts by','consultstreet'), get_the_author() ); + elseif( is_category() ): + /* translators: %1$s %2$s: category */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Category','consultstreet'), single_cat_title( '', false ) ); + elseif( is_tag() ): + /* translators: %1$s %2$s: tag */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Tag','consultstreet'), single_tag_title( '', false ) ); + elseif( class_exists( 'WooCommerce' ) && is_shop() ): + /* translators: %1$s %2$s: WooCommerce */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Shop','consultstreet'), single_tag_title( '', false )); + elseif( is_archive() ): + the_archive_title( '

    ', '

    ' ); + endif; + echo '
    '; + } + elseif( is_404() ) + { + echo '

    '; + /* translators: %1$s: 404 */ + printf( esc_html__( '%1$s ', 'consultstreet' ) , esc_html__('404','consultstreet') ); + echo '

    '; + } + elseif( is_search() ) + { + echo '

    '; + /* translators: %1$s %2$s: search */ + printf( esc_html__( '%1$s %2$s', 'consultstreet' ), esc_html__('Search results for','consultstreet'), get_search_query() ); + echo '

    '; + } + else + { + echo '

    '.esc_html( get_the_title() ).'

    '; + } +} + +function consultstreet_bootstrap_menu_notitle( $menu ){ + return $menu = preg_replace('/ title=\"(.*?)\"/', '', $menu ); +} +add_filter( 'wp_nav_menu', 'consultstreet_bootstrap_menu_notitle' ); + +/** + * Theme Breadcrumbs Url +*/ +function consultstreet_page_url() { + $page_url = 'http'; + if ( key_exists("HTTPS", $_SERVER) && ( $_SERVER["HTTPS"] == "on" ) ){ + $page_url .= "s"; + } + $page_url .= "://"; + if ($_SERVER["SERVER_PORT"] != "80") { + $page_url .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; + } else { + $page_url .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; + } + return $page_url; +} + +/** + * Theme Breadcrumbs +*/ +if( !function_exists('consultstreet_page_header_breadcrumbs') ): + function consultstreet_page_header_breadcrumbs() { + global $post; + $homeLink = home_url(); + $consultstreet_page_header_layout = get_theme_mod('consultstreet_page_header_layout', 'consultstreet_page_header_layout1'); + if($consultstreet_page_header_layout == 'consultstreet_page_header_layout1'): + $breadcrumb_class = 'text-center'; + else: $breadcrumb_class = 'text-right'; + endif; + + echo ''; + } +endif; + +if( ! function_exists( 'consultstreet_custom_customizer_options' ) ): + function consultstreet_custom_customizer_options() { + + $consultstreet_sticky_bar_logo = get_theme_mod('consultstreet_sticky_bar_logo'); + $consultstreet_main_slider_content_color = get_theme_mod('consultstreet_main_slider_content_color', '#fff'); + $consultstreet_custom_logo_size = get_theme_mod('consultstreet_custom_logo_size', array('slider' => 257,'suffix' => 'px',)); + + $output_css = ''; + + if ( has_header_image() ) : + $output_css .=".theme-page-header-area { + background: #17212c url(" .esc_url( get_header_image() ). "); + background-attachment: scroll; + background-position: top center; + background-repeat: no-repeat; + background-size: cover; + }\n"; + endif; + + if($consultstreet_custom_logo_size['slider'] != null) : + $output_css .=".navbar img.custom-logo, .theme-header-magazine img.custom-logo{ + max-width: ".$consultstreet_custom_logo_size['slider']."px; + height: auto; + }\n"; + endif; + + if($consultstreet_main_slider_content_color != null) : + $output_css .=".theme-slider-content .title-large { + color: ".$consultstreet_main_slider_content_color."; + } + .theme-slider-content .description { + color: ".$consultstreet_main_slider_content_color."; + }\n"; + endif; + + if($consultstreet_sticky_bar_logo != null) : + $output_css .=".header-fixed-top .navbar-brand { + display: none !important; + } + .not-sticky .sticky-navbar-brand { + display: none !important; + }\n"; + endif; + + if ( is_user_logged_in() && is_admin_bar_showing() ) { + $output_css .="@media (min-width: 600px){ + .navbar.header-fixed-top{top:32px;} + }\n"; + } + + wp_add_inline_style( 'consultstreet-style', $output_css ); + } +endif; +add_action( 'wp_enqueue_scripts', 'consultstreet_custom_customizer_options' ); + +/** +* Get started notice +*/ + +add_action( 'wp_ajax_consultstreet_dismissed_notice_handler', 'consultstreet_ajax_notice_handler' ); + +/** + * AJAX handler to store the state of dismissible notices. + */ +function consultstreet_ajax_notice_handler() { + if ( isset( $_POST['type'] ) ) { + // Pick up the notice "type" - passed via jQuery (the "data-notice" attribute on the notice) + $type = sanitize_text_field( wp_unslash( $_POST['type'] ) ); + // Store it in the options table + update_option( 'dismissed-' . $type, TRUE ); + } +} + +function consultstreet_deprecated_hook_admin_notice() { + // Check if it's been dismissed... + if ( ! get_option('dismissed-get_started', FALSE ) ) { + // Added the class "notice-get-started-class" so jQuery pick it up and pass via AJAX, + // and added "data-notice" attribute in order to track multiple / different notices + // multiple dismissible notice states ?> +
    +
    +
    + <?php esc_attr_e( 'Theme Screenshot', 'consultstreet' ); ?> +
    +
    +

    + '. wp_get_theme()->get('Name'). '' ); + ?> +

    + +

    Arile Extra plugin, then enjoy this theme.', 'consultstreet')) ?>

    + + + '. wp_get_theme()->get('Name'). '' ); + ?> + + + ', + '', + '' + ); + ?> +
    +
    +
    + sanitize_key( wp_unslash( 'arile-extra' ) ), + 'fields' => array( + 'sections' => false, + ), + ) ); + + $skin = new WP_Ajax_Upgrader_Skin(); + $upgrader = new Plugin_Upgrader( $skin ); + $result = $upgrader->install( $api->download_link ); + } + + // Activate plugin. + if ( current_user_can( 'activate_plugin' ) ) { + $result = activate_plugin( 'arile-extra/arile-extra.php' ); + } +} + + +/** + * Menu +*/ +function consultstreet_custom_menu_script() +{ + $custom_logo = get_theme_mod( 'custom_logo' ); + if(display_header_text()== true && $custom_logo != null && get_bloginfo( 'title' ) !== '' ){ + $toggle_value = 2; + }else{ + $toggle_value = 1; + } +?> + + +
    +

    + ' . esc_html( $current_user->display_name ) . '', + '' . esc_html( $theme_info->Name ). '', + 'Unlock premium features with 35% OFF', + 'Pro version', + ); + ?> +

    + +
    + +
    +
    +
    + +
    col-sm-12"> + '', + 'next_text' => '' + ) ); + + else : + + // If no content, include the "No posts found" template. + + get_template_part( 'template-parts/content', 'none' ); + + endif; ?> + +
    + + + +
    + +
    + +
    + +\n" +"Language-Team: \n" +"Language: \n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Loco https://localise.biz/\n" +"X-Loco-Version: 2.5.2; wp-5.7\n" +"X-Domain: consultstreet" + +#: comments.php:26 +#, php-format +msgid "% comments" +msgstr "" + +#. %1$s: 404 +#: inc/template-tags.php:152 +#, php-format +msgid "%1$s " +msgstr "" + +#. %1$s %2$s: date +#. %1$s %2$s: month +#. %1$s %2$s: year +#. %1$s %2$s: author +#. %1$s %2$s: category +#. %1$s %2$s: tag +#. %1$s %2$s: WooCommerce +#. %1$s %2$s: search +#: inc/template-tags.php:124 inc/template-tags.php:127 +#: inc/template-tags.php:130 inc/template-tags.php:133 +#: inc/template-tags.php:136 inc/template-tags.php:139 +#: inc/template-tags.php:142 inc/template-tags.php:159 +#, php-format +msgid "%1$s %2$s" +msgstr "" + +#: comments.php:37 +msgid "← Older Comments" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:546 +msgid "//fontawesome.io/icons/" +msgstr "" + +#: inc/template-tags.php:152 +msgid "404" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:181 +msgid "Activate" +msgstr "" + +#: inc/customizer/customizer-notice/consultstreet-customizer-notify.php:111 +msgid "Activating" +msgstr "" + +#: inc/consultstreet-class-bootstrap-navwalker.php:207 +msgid "Add a menu" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:632 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:665 +msgid "Add Icon" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:33 +msgid "Add new field" +msgstr "" + +#: functions.php:137 +msgid "Add widgets here." +msgstr "" + +#: inc/template-tags.php:133 +msgid "All posts by" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-upgrade-control.php:36 +msgid "and get the other pro features." +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:61 +msgid "Archive Blog Pages" +msgstr "" + +#: inc/template-tags.php:210 +msgid "Archive by category" +msgstr "" + +#: inc/template-tags.php:124 inc/template-tags.php:127 +#: inc/template-tags.php:130 +msgid "Archives" +msgstr "" + +#: inc/template-tags.php:78 +msgid "at" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php:57 +msgid "Background color" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:91 +msgid "Base Typography" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:29 +msgid "Blog" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:26 +msgid "Blog/Archive/Single" +msgstr "" + +#. Name of the template +msgid "Builder Page" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:279 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:427 +msgid "Button Text" +msgstr "" + +#: template-parts/content-single.php:30 +msgid "by " +msgstr "" + +#: inc/template-tags.php:136 +msgid "Category" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:587 +msgid "Center" +msgstr "" + +#: inc/metabox.php:41 +msgid "Choose Sidebar Template for the Defult Page Templates" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:25 +msgid "Clear" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:26 +msgid "Clear color" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:333 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:397 +msgid "Color" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:30 +msgid "Color value" +msgstr "" + +#: comments.php:63 template-parts/content-single.php:37 +#: template-parts/content.php:41 +msgid "Comment" +msgstr "" + +#: comments.php:36 +msgid "Comment navigation" +msgstr "" + +#. Name of the theme +msgid "ConsultStreet" +msgstr "" + +#. Description of the theme +msgid "" +"ConsultStreet is a multipurpose WordPress theme that you can use to create " +"any website you wish to create. The theme comes with a very flexible design, " +"and it is fully customizable as per your requirement. ConsultStreet is a " +"perfect theme for the consulting and finance business website. Not only that," +" but this is also a very lightweight theme that is load with a single click " +"in no time. The theme is completely responsive and mobile-friendly and that " +"your users can access your site from any device. As well as sophisticated " +"plus it has some exotic features like customization and clean code, advanced " +"typography, sticky menu, logo upload, header image, Bootstrap 4 framework, " +"built with SEO in mind, and translation ready (WPML, Polylang). This theme " +"supports the best Elementor page builder to create, edit, and updates page " +"designs as per the requirement. ConsultStreet also supports popular free and " +"premium WordPress plugins such as Elementor, Yoast SEO, WooCommerce, Contact " +"Form 7, Jetpack, Google Analytics, and much more. Check the demo of " +"ConsultStreet Pro https://themearile.com/consultstreet-pro-theme/." +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php:48 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:64 +msgid "Container" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php:49 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:65 +msgid "Container Full" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php:45 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:61 +msgid "Container Width" +msgstr "" + +#: footer.php:15 inc/customizer/consultstreet-customizer-options.php:147 +msgid "" +"Copyright © 2021 | Powered by WordPress" +" | ConsultStreet theme by ThemeArile" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:38 +msgid "Customizer Repeater" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:182 +msgid "Deactivate" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:27 +msgid "Default" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:367 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:486 +msgid "Delete field" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:270 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:419 +msgid "Description" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:351 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:475 +msgid "Designation" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:45 +msgid "Drag & Drop post items to re-arrange the order" +msgstr "" + +#: comments.php:55 +msgid "Email" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:84 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-typography-customizer-settings.php:32 +msgid "Enable Typography" +msgstr "" + +#: inc/template-tags.php:247 +msgid "Error 404" +msgstr "" + +#: template-parts/content.php:18 +msgid "Featured" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:48 +#: inc/customizer/consultstreet-customizer-options.php:74 +#: inc/customizer/consultstreet-customizer-options.php:87 +#: inc/customizer/consultstreet-customizer-options.php:99 +#: inc/customizer/consultstreet-customizer-options.php:111 +#: inc/customizer/consultstreet-customizer-options.php:123 +#: inc/customizer/consultstreet-customizer-options.php:135 +msgid "Font Family" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:61 +msgid "Font Size" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:54 +msgid "Footer" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:152 +#: inc/customizer/consultstreet-panels-and-sections.php:67 +msgid "Footer Copyright" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-footer-copyright-customizer-settings.php:29 +msgid "Footer Copyright Enable/Disable" +msgstr "" + +#: functions.php:125 +msgid "Footer Sidebar Four" +msgstr "" + +#: functions.php:122 +msgid "Footer Sidebar One" +msgstr "" + +#: functions.php:124 +msgid "Footer Sidebar Three" +msgstr "" + +#: functions.php:123 +msgid "Footer Sidebar Two" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-footer-widget-customizer-settings.php:30 +msgid "Footer Widget Area Enable/Disable" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:60 +msgid "Footer Widgets" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:27 +msgid "Free Vs Pro Features" +msgstr "" + +#. Name of the template +msgid "Frontpage" +msgstr "" + +#: inc/metabox.php:23 +msgid "Full Width" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:35 +msgid "General" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:44 +msgid "General Post" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:25 +msgid "Get Full Support" +msgstr "" + +#. 1: welcome page link starting html tag, 2: welcome page link ending html tag. +#: inc/template-tags.php:356 +#, php-format +msgid "Get started with %1$s" +msgstr "" + +#: searchform.php:4 +msgid "Go" +msgstr "" + +#: 404.php:22 +msgid "Go Back Now" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-typography-control.php:50 +msgid "Google Fonts" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:98 +msgid "Headings H1" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:104 +msgid "Headings H2" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:110 +msgid "Headings H3" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:116 +msgid "Headings H4" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:122 +msgid "Headings H5" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:128 +msgid "Headings H6" +msgstr "" + +#: inc/template-tags.php:205 inc/template-tags.php:208 +msgid "Home" +msgstr "" + +#. Author URI of the theme +msgid "https://themearile.com" +msgstr "" + +#. URI of the theme +msgid "https://themearile.com/consultstreet-theme/" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:539 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:600 +msgid "Icon" +msgstr "" + +#. %s: plugin name +#: inc/customizer/consultstreet-customizer-options.php:173 +#, php-format +msgid "" +"If you want to show all the features and business sections of the FrontPage. " +"please install and activate %s plugin" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:563 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:601 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:51 +msgid "Image" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:597 +msgid "Image type" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:180 +msgid "Install and Activate" +msgstr "" + +#: template-parts/content-none.php:42 +msgid "" +"It seems we can’t find what you’re looking for. Perhaps " +"searching can help." +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:75 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:103 +msgid "Layout" +msgstr "" + +#: comments.php:69 +msgid "Leave a Reply" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:579 +msgid "Left" +msgstr "" + +#: inc/metabox.php:28 +msgid "Left Sidebar" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:290 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:437 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:624 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:646 +msgid "Link" +msgstr "" + +#: comments.php:65 +msgid "Log out of this account" +msgstr "" + +#: comments.php:65 +msgid "Logged in as" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:124 +msgid "Logo Width" +msgstr "" + +#: comments.php:65 +msgid "Logout" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:20 +msgid "Menu" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:27 +msgid "Menu Settings" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:42 +msgid "Menu Style" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:48 +msgid "Meta One" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:50 +msgid "Meta Two" +msgstr "" + +#: comments.php:54 +msgid "Name" +msgstr "" + +#: comments.php:38 +msgid "Newer Comments →" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:527 +msgid "No" +msgstr "" + +#: comments.php:26 +msgid "No Comments" +msgstr "" + +#: inc/customizer/customizer-settings/consultstreet-customize-base-customizer-settings.php:74 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:602 +msgid "None" +msgstr "" + +#. %1$s: icon +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:545 +#, php-format +msgid "" +"Note: Some icons may not be displayed here. You can see the full list of " +"icons at %1$s." +msgstr "" + +#: comments.php:26 +msgid "One comment" +msgstr "" + +#: 404.php:20 +msgid "OOPS, SORRY WE CAN'T FIND THAT PAGE !" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:523 +msgid "Open link in new tab" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:23 +#: inc/customizer/consultstreet-panels-and-sections.php:45 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php:30 +msgid "Page Header" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-page-header-customizer-settings.php:43 +msgid "Page Header Enable/Disable" +msgstr "" + +#: template-parts/content-page.php:22 template-parts/content.php:55 +msgid "Pages:" +msgstr "" + +#: functions.php:48 +msgid "Primary" +msgstr "" + +#: inc/template-tags.php:103 template-parts/content-single.php:49 +#: template-parts/content.php:54 +msgid "Read More" +msgstr "" + +#. 1: link to WP admin new post page. +#: template-parts/content-none.php:22 +#, php-format +msgid "" +"Ready to publish your first post? Get started here." +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:178 +msgid "Recommended Actions" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:179 +msgid "Recommended Plugin" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:627 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:657 +msgid "Remove Icon" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-slider-control.php:70 +msgid "Reset" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:583 +msgid "Right" +msgstr "" + +#: inc/metabox.php:18 +msgid "Right Sidebar" +msgstr "" + +#: searchform.php:2 +msgid "Search" +msgstr "" + +#: inc/template-tags.php:159 +msgid "Search results for" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:29 +msgid "Select Color" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-base-control.php:28 +msgid "Select default color" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:33 +msgid "Set Sticky Bar Logo" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:31 +msgid "Share a Good Review" +msgstr "" + +#: inc/template-tags.php:142 +msgid "Shop" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:343 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:466 +msgid "Shortcode" +msgstr "" + +#: functions.php:121 +msgid "Sidebar" +msgstr "" + +#: inc/metabox.php:10 +msgid "Sidebar Layout" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:90 +msgid "Single Blog Pages" +msgstr "" + +#: header.php:25 +msgid "Skip to content" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:575 +msgid "Slide Content Format" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:610 +msgid "Social icons" +msgstr "" + +#: template-parts/content-none.php:35 +msgid "" +"Sorry, but nothing matched your search terms. Please try again with some " +"different keywords." +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-typography-control.php:39 +msgid "Standard Fonts" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:46 +msgid "Static" +msgstr "" + +#: inc/customizer/customizer-settings/theme-settings/consultstreet-menu-bar-customizer-settings.php:45 +msgid "Sticky" +msgstr "" + +#: comments.php:67 +msgid "Submit" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:263 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:412 +msgid "Subtitle" +msgstr "" + +#: inc/template-tags.php:139 +msgid "Tag" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:12 +msgid "Theme Options" +msgstr "" + +#: inc/template-tags.php:339 +msgid "Theme Screenshot" +msgstr "" + +#. Author of the theme +msgid "ThemeArile" +msgstr "" + +#: comments.php:20 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:256 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:405 +#: inc/customizer/customizer-settings/theme-settings/consultstreet-blog-general-customizer-settings.php:49 +msgid "Title" +msgstr "" + +#: inc/template-tags.php:350 +msgid "" +"To take full advantage of all the features of this theme, please install and " +"activate the Arile Extra plugin, then enjoy this theme." +msgstr "" + +#: template-parts/site-navbar.php:12 +msgid "Toggle navigation" +msgstr "" + +#: inc/customizer/consultstreet-panels-and-sections.php:78 +msgid "Typography" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:11 +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:29 +msgid "Upgrade to Pro" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:566 +msgid "Upload Image" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:309 +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:455 +msgid "Video Url" +msgstr "" + +#: inc/customizer/controls/code/consultstreet-customize-plugin-control.php:23 +msgid "View Documentation" +msgstr "" + +#: template-parts/content-single.php:70 +msgid "Website:" +msgstr "" + +#. 1: welcome page link starting html tag, 2: welcome page link ending html tag. +#: inc/template-tags.php:346 +#, php-format +msgid "Welcome! Thank you for choosing %1$s!" +msgstr "" + +#: functions.php:129 +msgid "WooCommerce Sidebar" +msgstr "" + +#: inc/customizer/customizer-repeater/class/customizer-repeater-control.php:530 +msgid "Yes" +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:62 +msgid "You can enter font-size in px or rem " +msgstr "" + +#: inc/customizer/consultstreet-customizer-options.php:34 +msgid "You can Upload the Standrad size of logo (210px*39px)" +msgstr "" + +#. %1$s %2$s: logged in +#: comments.php:48 +#, php-format +msgid "You must be logged in to post a comment" +msgstr "" + +#: inc/template-tags.php:86 +msgid "Your comment is awaiting moderation." +msgstr "" diff --git a/wp-content/themes/consultstreet/license.txt b/wp-content/themes/consultstreet/license.txt new file mode 100644 index 00000000..99fb2388 --- /dev/null +++ b/wp-content/themes/consultstreet/license.txt @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/wp-content/themes/consultstreet/page-templates/frontpage.php b/wp-content/themes/consultstreet/page-templates/frontpage.php new file mode 100644 index 00000000..45f9e01b --- /dev/null +++ b/wp-content/themes/consultstreet/page-templates/frontpage.php @@ -0,0 +1,15 @@ + + +
    + + + +
    + + +
    +
    +
    + + '; + } + else{ + echo '
    '; + } + } + else{ + echo '
    '; + } + + else: + + if ( class_exists( 'WooCommerce' ) ) { + if( is_account_page() || is_cart() || is_checkout() ) { + echo '
    '; + } + else{ + echo '
    '; + } + } + else{ + echo '
    '; + } + + endif; + + if ( class_exists( 'WooCommerce' ) ) { + if( is_account_page() || is_cart() || is_checkout() ) { + while ( have_posts() ) : the_post(); + // Include the page + get_template_part( 'template-parts/content', 'page' ); + comments_template( '', true ); // show comments + endwhile; + } + else + { + while ( have_posts() ) : the_post(); + // Include the page + get_template_part( 'template-parts/content', 'page' ); + comments_template( '', true ); // show comments + endwhile; + } + } + else + { + while ( have_posts() ) : the_post(); + // Include the page + get_template_part( 'template-parts/content', 'page' ); + comments_template( '', true ); // show comments + endwhile; + } + ?> +
    + + + +
    +
    +
    + + + Themes and click the 'Add New' button. +2. Type in ConsultStreet in the search form and press the 'Enter' key on your keyboard. +3. Click on the 'Activate' button to use your new theme right away. + +== Copyright == + +ConsultStreet WordPress Theme, Copyright (c) 2020, ThemeArile +ConsultStreet is distributed under the terms of the GNU GPLs + +== Credits == + +* Underscores - (C) 2012-2017 Automattic, Inc. - http://underscores.me/ +License: GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.html) + +* Font Awesome by @davegandy - http://fontawesome.io/ +License: (Font: SIL OFL 1.1, CSS: MIT License) + +* WOW - by Matthieu Aussaguel - mynameismatthieu.com +License: GNU GPL license v3 + +* Owl Carousel, (C) 2013 - 2018, David Deutsch +Source: https://github.com/OwlCarousel2/OwlCarousel2/ +License: [MIT](http://opensource.org/licenses/MIT) + +* Bootstrap, (C) 2011 - 2018, The Bootstrap Authors [MIT] +Source: https://github.com/twbs/bootstrap +License: [MIT](http://opensource.org/licenses/MIT) + +* SmartMenus - Copyright (c) Vasil Dinkov, Vadikom Web Ltd. - http://www.smartmenus.org/ +License: MIT (http://opensource.org/licenses/MIT) + +* Screenshot Banner Image - https://pxhere.com/en/photo/1456015 +License: CC0 Public Domain + +* Page header Image - https://pxhere.com/en/photo/35342 +License: CC0 Public Domain + +== Changelog == + += Version 3.1.0 +* We have added the color of the hyperlink for the wp-block-list widget in the sidebar widget area. + += Version 3.0.9 +* We have added the notification message for the admin in the theme. + += Version 3.0.8 +* We have fixed the css color issue acording latest WordPress 7.0. + += Version 3.0.7 +* We have removed the background hover color of the accordion widget in the sidebar widget area. + += Version 3.0.6 +* We have removed the background hover color of the accordion widget in the footer sidebar widget area. + += Version 3.0.5 +* We updated the copyright year in footer area. + += Version 3.0.4 +* We added the border of wp-block-heading link in the footer widget title. + += Version 3.0.3 +* Added the font-weight for the Meta Widget title in the sidebar widget. + += Version 3.0.2 +* We have enhanced the font size of the wp-block-file widget in the blog post area. + += Version 3.0.1 +* We have fixed the checkout button css issue in woocommerce. + += Version 3.0.0 +* We added the border hover color to the search button in the wp-block-search__button for the footer sidebar area. + += Version 2.9.9 +* We changed the background color and text color of the wp-block-quote widget in the blog post area. + += Version 2.9.8 +* Fixed the anchor/hyperlink bottom border issue in the footer widget area for paragraph. + += Version 2.9.7 +* Fixed the anchor/hyperlink bottom border issue of the sidebar for paragraph. + += Version 2.9.6 +* We added the top space of the wp-block-latest-posts__post-date in the wp-block-latest-posts in the blog post area. + += Version 2.9.5 +* We fixed the theme issue according to WordPress latest version 6.8. + += Version 2.9.4 +* We added the font-weight in the post content for the blog post area. + += Version 2.9.3 +* We fixed the wp-block-heading border color issue for the sidebar and footer sidebar widget area. + += Version 2.9.2 +* We added the border bottom color of the wp-block-heading in the sidebar widget area. + += Version 2.9.1 +* We did changed the search button background hover color in the footer widgets area. + += Version 2.9.0 +* We added the background color of the wp-block-file download button in the sidebar widget area. + += Version 2.8.9 +* We did changed the background and text color of the pre tag in the footer sidebar area. + += Version 2.8.8 +* We have added the bottom space and border color for the wp-block-details in the sidebar widget. + += Version 2.8.7 +* We have updated the footer copyright content. + += Version 2.8.6 +* We added the default color of the wp-block-read-more tag for the footer sidebar widgets area. + += Version 2.8.5 +* Added the default color of the wp-block-embed widget in the sidebar widget area. + += Version 2.8.4 +* Added the bottom space of the wp-block-details widget in the sidebar widget area. + += Version 2.8.3 +* We removed the bottom space of the wp-block-social-links icons in the sidebar widget area. + += Version 2.8.2 +* We added the background color of the wp-block-file download button in the sidebar widget area. + += Version 2.8.1 +* We have fixed the hover color issue of upgrade to pro button in the customizer. + += Version 2.8.0 +* We have added the around the space of the wp-block-details widget in the footer widget area. + += Version 2.7.9 +* We have removed the unnecessary bottom space of the wp-block-social-links in the footer widget area. + += Version 2.7.8 +* We added the default color of anchor tag in the wp-block-embed-youtube widget in footer widget area. + += Version 2.7.7 +* We added the default color of anchor tag in the dl element for the footer widgets area. + += Version 2.7.6 +* Changed the background color for the wp-block-preformatted widget in the footer sidebar widget area. + += Version 2.7.5 +* We have added the border color of the wp-block-table in the footer widget area. + += Version 2.7.4 +* We have added the Sarabun google font in the font library. + += Version 2.7.3 +* We have fixed the text color issue of the outline button in the blog post area. + += Version 2.7.2 +* We have fixed the social icons space and color issue in the wp-block-social-links Widget post area. + += Version 2.7.1 +* We have added the bottom space and border color for the wp-block-details in the footer sidebar. + += Version 2.7.0 +* We have fixed the issue in comment.php file. + += Version 2.6.9 +* We have added the bottom space of the wp-block-query-pagination in the blog post area. + += Version 2.6.8 +* We have added the list style of the wp-block-latest-posts in the blog post area. + += Version 2.6.7 +* We have added the bottom space of the "Leave a reply" title in the comment area. + += Version 2.6.6 +* We have fixed the creation of dynamic property error in consultstreet-customizer-notify.php file. + += Version 2.6.5 +* Removed the unnecessary border from the wp-block-search block in the blog post area. + += Version 2.6.4 +* We have added the hover default color of the wp-block-page-list in the blog post area. + += Version 2.6.3 +* We have removed the unnecessary left space of the wp-block-post-template in the blog post area. + += Version 2.6.2 +* We have removed the background and shadow from the wp-block-post in the blog post area. + += Version 2.6.1 +* We have added the animation in the theme. + += Version 2.6.0 +* We have Updated footer copyright text. + += Version 2.5.9 +* We have reduced the bottom space of the wp-block-archives-list widget in the blog post area. + += Version 2.5.8 +* We have added the bottom space of the unordered list element in the Footer sidebar widget area. + += Version 2.5.7 +* Removed the bottom space of the submit button from the comment form. + += Version 2.5.6 +* Removed the unnecessary color css in the sidebar widgets from the theme-default.css file. + += Version 2.5.5 +* Added the theme default color for anchor/hyperlink for the ordered and unordered list elements in the sidebar widget area. + += Version 2.5.4 +* We have added the bottom space of the ordered and unordered list elements in the sidebar widget area. + += Version 2.5.3 +* We have added the bottom space of the ordered list element in the blog post content area. + += Version 2.5.2 +* We have added the bottom space of the unordered list element in the blog post content area. + += Version 2.5.1 +* Removed the unnecessary underline from heading 2 tag for footer widget area. + += Version 2.5.0 +* Removed the unnecessary underline from heading 2 tag for sidebar widget area. + += Version 2.4.9 +* Added the theme default color for anchor/hyperlink for the wp-block-quote in the footer sidebar widget area. + += Version 2.4.8 +* Removed the unnecessary bottom space from the wp-block-columns widget in the footer sidebar area. + += Version 2.4.7 +* Fixed the hover color style issue in Blockquote post format for blog post area. + += Version 2.4.6 +* Added the line-height in the recent comments widget for the sidebar area. + += Version 2.4.5 +* Added the left space in the wp-block-rss widget for the blog post area. + += Version 2.4.4 +* Added the left space in the archives widget for the blog post area. + += Version 2.4.3 +* Added the list style in the archives widget for the blog post area. + += Version 2.4.2 +* Added the left space in the commetns widget for the blog post area. + += Version 2.4.1 +* Fixed the hover color issue of the link on the image for blog post area. + += Version 2.4.0 +* Fixed the last-child bottom space of the ul in the blog post area. + += Version 2.3.9 +* Fixed the underline color issue in the post-format audio for blog area. + += Version 2.3.8 +* Added list style icon in the RSS Feed widget for the blog post area. + += Version 2.3.7 +* Reduced the bottom space of the wp-block-image widget in the sidebar area. + += Version 2.3.6 +* Added the theme default color for anchor/hyperlink for the wp-block-quote in the sidebar widget area. + += Version 2.3.5 +* Added the theme default color for anchor/hyperlink for the figcaption wp-block-image in the footer sidebar widget area. + += Version 2.3.4 +* Removed the bottom space for the wp-block-image widget in the sidebar. + += Version 2.3.3 +* Added the theme default color for anchor/hyperlink for the figcaption wp-block-image in the sidebar widget area. + += Version 2.3.2 +* Fixed the wp-caption anchor link hover color issue in the blog post area. + += Version 2.3.1 +* We have changed the hover color of the latest-commets title in the blog post area. + += Version 2.3.0 +* Fixed the text color issue in wp-block-button widget in the sidebar. + += Version 2.2.9 +* Fixed the footer-sidebar section spacing issue. + += Version 2.2.8 +* Updated footer copyright text. + += Version 2.2.7 +* Removed the bottom space of the wp-block-media-text widget in the sidebar. + += Version 2.2.6 +* Remove the top space for the wp-block-latest-comments widget in the sidebar. + += Version 2.2.5 +* Fixed the table border color issue in the blog post area. + += Version 2.2.4 +* Reduced the bottom space for the wp-block-latest-comments in the blog post area. + += Version 2.2.3 +* Added the border-bottom color for the wp-block-latest-comments in the blog post area. + += Version 2.2.2 +* Fixed the button css issue in the wp-block-file for blog Post. + += Version 2.2.1 +* Fixed the table color issue for the wp-block-table widget in the sidebar area. + += Version 2.2.0 +* Fixed the color issue of the paragraph and cite tag for wp-block-pullquote widget in the footer sidebar. + += Version 2.1.9 +* Removed unnecessary top and bottom space from wp-block-pullquote element in blog post area. + += Version 2.1.8 +* Removed unnecessary CSS from theme-default CSS file because it conflicts with other anchor list items. + += Version 2.1.7 +* Added the theme default color for anchor/hyperlink in the list widget for sidebar area. + += Version 2.1.6 +* Added the theme default color for anchor/hyperlink in the is-nowrap widget for footer sidebar area. + += Version 2.1.5 +* Added the theme default color for the anchor/hyperlink in the default paragraph in the footer sidebar widget area. + += Version 2.1.4 +* Changed the background color for the wp-block-verse widget in the footer sidebar widget area. + += Version 2.1.3 +* Added the theme default color for the anchor/hyperlink in the default paragraph in the sidebar widget area. + += Version 2.1.2 +* Added the theme default color for the anchor/hyperlink in the wp-block-read-more widget for sidebar area. + += Version 2.1.1 +* Added the theme default color for the anchor/hyperlink in the stack widget for footer sidebar area. + += Version 2.1.0 +* Removed the unnecessary bottom spacing for the wp-block-quote widget in the sidebar area. + += Version 2.0.9 +* Removed the unnecessary bottom spacing for the wp-block-preformatted widget in the sidebar area. + += Version 2.0.8 +* Removed the unnecessary bottom spacing for the verse widget in the sidebar area. + += Version 2.0.7 +* Removed the top and bottom space from the wp-block-separator widget in the sidebar area. + += Version 2.0.6 +* Added the theme default color for the anchor/hyperlink in the stack widget for sidebar area. + += Version 2.0.5 +* Added the theme default color for the anchor/hyperlink in the is-nowrap widget for footer sidebar area. + += Version 2.0.4 +* Added the theme default color for the anchor/hyperlink in the is-nowrap widget for sidebar area. + += Version 2.0.3 +* Added the theme default color for the anchor/hyperlink in the wp-block-preformatted for footer sidebar Widget. + += Version 2.0.2 +* Added the theme default color for the anchor/hyperlink in the wp-block-preformatted for Sidebar Widget. + += Version 2.0.1 +* Added the theme default color for anchor/hyperlink in the wp-block-table for footer Sidebar Widget. + += Version 2.0.0 +* Added the theme default color for anchor/hyperlink in the wp-block-table for Sidebar Widget. + += Version 1.9.9 +* Fixed the color issue in the anchor/hyperlink for the verse widget in the sidebar. + += Version 1.9.8 +* Fixed the color issue in the anchor/hyperlink for the verse widget in the footer sidebar. + += Version 1.9.7 +* Removed the top space from the wp-block-pullquote in the footer sidebar widget. + += Version 1.9.6 +* Updated copyright string. + += Version 1.9.5 +* Removed the bottom space and added the theme default color for anchor/hyperlink in the wp-block-code footer sidebar widget. + += Version 1.9.4 +* Removed the bottom space and added the theme default color for anchor/hyperlink in the wp-block-code sidebar widget. + += Version 1.9.3 +* Added the theme default color for anchor/hyperling in the wp-block-pullquote footer sidebar widget. + += Version 1.9.2 +* Added the theme default color for logged-in link in the footer sidebar widget area. + += Version 1.9.1 +* Added the theme default color for logged-in link in the Sidebar widget area. + += Version 1.9.0 +* Added the theme default color for anchor tag in the footer sidebar wp-block-media-text widget area. + += Version 1.8.9 +* Added the theme default color for anchor tag in the sidebar wp-block-media-text widget area. + += Version 1.8.8 +* Removed the last-child space from the wp-block-rss widget in the footer-sidebar area. + += Version 1.8.7 +* Removed the bottom space from the blockquote paragraph in the footer-sidebar wp-block-pullquote widget. + += Version 1.8.6 +* Removed the bottom space from the wp-block-pullquote and blockquote paragraph in the sidebar widget. + += Version 1.8.5 +* Added the default theme color for the wp-block-pullquote cite tag in the sidebar widget. + += Version 1.8.4 +* Added the font-weight for the RSS Widget title in the footer sidebar widget. + += Version 1.8.3 +* Added the font-weight for the RSS Widget title in the sidebar widget. + += Version 1.8.2 +* We have fixed the focus issue after tab on the last menu item. + += Version 1.8.1 +* We have reduced the top space of the list style for each widget in the sidebar. + += Version 1.8.0 +* Remove the bottom space for the widget_meta widget in the sidebar. + += Version 1.7.9 +* Added the font-weight for the wp-block-latest-posts title in the footer-sidebar widget. + += Version 1.7.8 +* Added the font-weight for the wp-block-latest-posts title in the sidebar widget. + += Version 1.7.7 +* We have fixed the line-height issue of the search widget title in the sidebar. + += Version 1.7.6 +* We did Reduce the unnecessary bottom space from the wp-block-columns widget in the sidebar. + += Version 1.7.5 +* Remove the bottom space space for the wp-block-latest-posts__list, wp-block-latest-comments, wp-block-calendar widget in the sidebar. + += Version 1.7.4 +* We did Reduce the unnecessary bottom space from the wp-block-separator widget in the sidebar. + += Version 1.7.3 +* We did Reduce the unnecessary bottom space from the wp-block-cover widget in the sidebar. + += Version 1.7.2 +* We did enhance the font size for the latest comment title and date in the blog post section. + += Version 1.7.1 +* We did enhance the font size for the latest comment date and description in the sidebar widget. + += Version 1.7.0 +* Added the font-weight for the latest comment title in the footer-sidebar widget. + += Version 1.6.9 +* We did Reduce the unnecessary space between the wp-block-latest-comments in the footer-sidebar widget. + += Version 1.6.8 +* We did Reduce the unnecessary space between the wp-block-latest-comments in the sidebar widget. + += Version 1.6.7 +* We did enhance the font size for the latest comment title in the sidebar widget. + += Version 1.6.6 +* Added the font-weight for the latest comment title in the sidebar widget. + += Version 1.6.5 +* We did remove the unnecessary default color styles for headings in the sidebar widgets. + += Version 1.6.4 +* We did fix the border color of the wp-block-search input box in the blog post. + += Version 1.6.3 +* Added the theme default color for the logged-in widget in all sidebars. + += Version 1.6.2 +* Removed the wp-block-embed widget bottom space in the sidebar. + += Version 1.6.1 +* Fixed all widgets style issues according to WordPress 5.8 for all sidebars. + += Version 1.6.0 +* Fixed the tags widget color style issue according to WordPress 5.8 for all sidebars. + += Version 1.5.9 +* Fixed the Footer widget title style issue according to WordPress 5.8. + += Version 1.5.8 +* Fixed the sidebar widget title issue according to WordPress 5.8. + += Version 1.5.7 +* Fixed the calendar widget link issues like font-weight and text-underline issues. + += Version 1.5.6 +* Fixed the checkbox and radio button style issues in the customizer. + += Version 1.5.5 +* Removed left space to the wp-block-latest-comments in the blog post area. + += Version 1.5.4 +* Added default color to widget_recent_comments list style in the sidebar area. + += Version 1.5.3 +* Added default color to widget_rss title in the sidebar area. + += Version 1.5.2 +* We did Input Group Search z-index Issue Fixed in the Sidebar. + += Version 1.5.1 +* Added the top-bottom space for the comment date in the Block category Widgets post. + += Version 1.5.0 +* Added the default hover text color to the wp-calendar-nav links. + += Version 1.4.9 +* Fixed responsive issue in Block category Embeds for blog post. + += Version 1.4.8 +* Fixed the text widget image space for all sidebars. + += Version 1.4.7 +* Added input focus color to the detail page content area. + += Version 1.4.6 +* Fixed the line height for a paragraph in the wp-block-pullquote blog post. + += Version 1.4.5 +* Added the left and right space in the footer site-info. + += Version 1.4.4 +* Added top border color in the wp-block-pullquote for the Block: Quote post. + += Version 1.4.3 +* Fixed toggle button focus issue in sticky menu. + += Version 1.4.2 +* Removed the list style from the wp-blog-archive post for the blog page template. + += Version 1.4.1 +* Update the theme welcome page. + += Version 1.4.0 +* Fixed the wp-block-search button background color style issue for the blog page template. + += Version 1.3.9 +* Removed the blockquote content space between the paragraph and cite tag in the blockquote. + += Version 1.3.8 +* Fixed the attachment image spacing issue in the Page Image Alignments. + += Version 1.3.7 +* Removed the list style and add the bottom space from the wp-block-rss element in the Block Category Widget post. + += Version 1.3.6 +* Fixed the wp-block-gallery bottom spacing issue in the blog page. + += Version 1.3.5 +* This theme is fully compatible with the new version of WordPress 5.6.2. + += Version 1.3.4 +* The distance between wp-block-cover and wp-block-cover-image is fixed by css code in blog page. + += Version 1.3.3 +* Updated copyright string. + += Version 1.3.2 +* Fixed the wp-block-group spacing style issue for the block category layout element in the blog page. + += Version 1.3.1 +* Fixed the wp-block-search button style issue for the blog page template. + += Version 1.3.0 +* Fixed the wp-block-calendar and select box style issue for the blog page template. + += Version 1.2.9 +* Fixed the wp-block-cover-text style issue for the blog page template. + += Version 1.2.8 +* Fixed the block button color style issue for the blog page template. + += Version 1.2.7 +* Fixed string issue in the free vs pro file. + += Version 1.2.6 +* Fixed anchor hover color issue for footer textwidget elements. + += Version 1.2.5 +* Fixed add menu button css issue. + += Version 1.2.4 +* Fixed issue for php version 8.0. +* Added Logo Width option. + += Version 1.2.3 +* We have fixed border-color issues for textarea elements in blog detail page. + += Version 1.2.2 +* Fixed comment issue. + += Version 1.2.1 +* Added theme info section. + += Version 1.2.0 +* Fixed sticky bar spacing issue. + += Version 1.1.9 +* Fixed theme string issue. + += Version 1.1.8 +* We have fixed anchor border-color issues in these elements like post element, excerpt, text widget, and comments content. + += Version 1.1.7 +* Fixed shop page issue. + += Version 1.1.6 +* Added site header support. + += Version 1.1.5 +* Fixed the top and bottom space of post-password-form styles in the blog post. + += Version 1.1.4 +* Fixed issue for the BrightPress theme. + += Version 1.1.3 +* The background color of the WordPress admin search icon has been fixed. + += Version 1.1.2 +* Screenshot slider overlay updated. + += Version 1.1.1 +* Updated google font in typography. + += Version 1.1.0 +* Fixed prefix issue for plugin count. + += Version 1.0.9 +* The space between the heading and the paragraph has been reduced. + += Version 1.0.8 +* Fixed issue in wp block latest posts lists in theme unit data. + += Version 1.0.7 +* Fixed the left space of wp block latest comments. + += Version 1.0.6 +* Fixed the bottom space of wp block button styles in the blog post. + += Version 1.0.5 +* Fixed list style issue. + += Version 1.0.4 +* Fixed Open link in new tab issue. + += Version 1.0.3 +* Fixed issue for the select dropdown. + += Version 1.0.2 +* Fixed toggle button css issue. + += Version 1.0.1 +* Fixed issue for custom background color. + += Version 1.0 +* Fixed wp-color-picker-alpha control issue. + += Version 0.9 +* Fixed page header breadcrumb issue. + += Version 0.8 +* Updated free Vs Pro table in admin. + += Version 0.7 +* Fixed prefix issue. + += Version 0.6 +* Fixed reqired plugin issue. + += Version 0.5 +* All issues of the theme have been corrected again. + += Version 0.4 +* Fixed theme review issue. + += Version 0.3 +* Updated Screenshot. + += Version 0.2 +* Updated description. + += Version 0.1 +* Initial release. \ No newline at end of file diff --git a/wp-content/themes/consultstreet/screenshot.png b/wp-content/themes/consultstreet/screenshot.png new file mode 100644 index 00000000..73eba102 Binary files /dev/null and b/wp-content/themes/consultstreet/screenshot.png differ diff --git a/wp-content/themes/consultstreet/search.php b/wp-content/themes/consultstreet/search.php new file mode 100644 index 00000000..f6d32bce --- /dev/null +++ b/wp-content/themes/consultstreet/search.php @@ -0,0 +1,59 @@ + + +
    + +
    + +
    + +
    + '', + 'next_text' => '' + ) ); + + else : + + get_template_part( 'template-parts/content', 'none' ); + + endif; ?> + +
    + + + +
    + +
    + +
    + +"> + +
    + +
    + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/sidebar-footer.php b/wp-content/themes/consultstreet/sidebar-footer.php new file mode 100644 index 00000000..1c331bf4 --- /dev/null +++ b/wp-content/themes/consultstreet/sidebar-footer.php @@ -0,0 +1,51 @@ + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + + +
    + +
    + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/sidebar-woocommerce.php b/wp-content/themes/consultstreet/sidebar-woocommerce.php new file mode 100644 index 00000000..d5a52937 --- /dev/null +++ b/wp-content/themes/consultstreet/sidebar-woocommerce.php @@ -0,0 +1,19 @@ + +
    + +
    + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/sidebar.php b/wp-content/themes/consultstreet/sidebar.php new file mode 100644 index 00000000..556f507e --- /dev/null +++ b/wp-content/themes/consultstreet/sidebar.php @@ -0,0 +1,26 @@ + + +
    + + + +
    + + + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/single.php b/wp-content/themes/consultstreet/single.php new file mode 100644 index 00000000..f2c7d07a --- /dev/null +++ b/wp-content/themes/consultstreet/single.php @@ -0,0 +1,60 @@ + +
    + +
    + +
    + + + + + + + +
    + + + +
    + + + + + +
    + + + + +
    + +
    + +
    + +> Common - Begining Css +--------------------------------------------------*/ + +body, +button, +input, +select, +textarea { + color: #404040; + font-family: "Open Sans", "Helvetica Neue", helvetica, arial, sans-serif; + line-height: 1.75; + font-size: 1rem; + -webkit-font-smoothing: antialiased; + font-weight: 400; +} + +h1, .h1, h2, .h2, .h3, h3, +h4, .h4, h5, .h5, .h6, h6 { + clear: both; + margin: 0 0 1.4rem; + color: #000; + font-family: 'Montserrat', sans-serif; + font-weight: 600; +} + +h1 { font-size: 2.5rem; line-height: 1.2; } +h2 { font-size: 2.125rem; line-height: 1.3; } +h3 { font-size: 1.75rem; line-height: 1.3; } +h4 { font-size: 1.375rem; line-height: 1.3; } +h5 { font-size: 1.125rem; line-height: 1.4; } +h6 { font-size: 0.875rem; line-height: 1.4; } + +p { margin: 0; padding: 0 0 1.563rem; } +p:last-child { margin: 0; padding: 0; } + +b, strong { + font-weight: 600; +} + +dfn, cite, em, i { font-style: italic; } + +blockquote { + background-color: #fafafa; + font-size: 1.225rem; + font-style: normal; + margin: 0.438rem 0 2.125rem; + overflow: hidden; + position: relative; + padding: 1.10rem 1.250rem !important; + font-style: italic; + quotes: "" ""; + color: #404040; + font-weight: 400; +} +blockquote cite { + color: #000; + font-size: 1.000rem; + display: block; + font-style: normal; + font-weight: 600; + margin-top: 0.5rem; +} + +q { quotes: "“" "”" "‘" "’"; } + +blockquote:before, +blockquote:after { + content: ""; +} + +.wp-block-quote p { + padding: 0; +} + +a { color: #000; text-decoration: none; transition: all 0.3s; } +a:focus { outline: thin dotted; text-decoration: none; } +a:hover, a:active { color: #000; outline: 0; text-decoration: none; } + +address { + margin: 0 0 1.6rem; + line-height: 2; +} + +pre { + background: #f6f6f6; + margin-bottom: 2rem; + max-width: 100%; + overflow: auto; + padding: 1rem; +} + +hr { + background-color: #e9e9e9; + border: 0; + height: 1px; + margin: 0.438rem 0 2.063rem; +} + +code, kbd, tt, var { + font-size: 1rem; +} + +abbr, acronym { + border-bottom: 1px dotted #e9e9e9; + cursor: help; +} + +mark, ins { + background: #fff9c0; + color: #000; + text-decoration: none; + padding: 0 0.350rem; +} + +big { + font-size: 125%; +} + +iframe { + border: 0; +} + +#wrapper { background-color: #ffffff; margin: 0px auto; } + + +/*-------------------------------------------------- +=>> Forms, Buttons, Input Fields +--------------------------------------------------*/ + +label { + color: #404040; + display: block; + font-weight: 700; + margin-bottom: 0.5rem; +} +fieldset { margin-bottom: 1em; } +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"], +input[type="number"], +input[type="tel"], +input[type="range"], +input[type="date"], +input[type="month"], +input[type="week"], +input[type="time"], +input[type="datetime"], +input[type="datetime-local"], +input[type="color"], +textarea, +select { + color: #404040; + background: #fff; + background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); + border: 1px solid #e9e9e9; + -webkit-border-radius: 0px; + border-radius: 0px; + display: block; + padding: 0.825rem 1rem; + width: 100%; + outline: 0; + -webkit-transition: all 0.30s ease-in-out; + -moz-transition: all 0.30s ease-in-out; + -ms-transition: all 0.30s ease-in-out; + -o-transition: all 0.30s ease-in-out; +} +input[type="text"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +input[type="search"]:focus, +input[type="number"]:focus, +input[type="tel"]:focus, +input[type="range"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="week"]:focus, +input[type="time"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="color"]:focus, +textarea:focus, +select:focus { + color: #404040; +} +input[type="radio"], +input[type="checkbox"] { + margin-right: 0.5em; +} +input[type="radio"] + label, +input[type="checkbox"] + label { + font-weight: 400; +} +button, +input[type="button"], +input[type="submit"] { + border: 0; + -webkit-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; + color: #fff; + cursor: pointer; + display: inline-block; + font-size: 0.938rem; + font-weight: 600; + line-height: 1; + padding: 1.05rem 2.813rem; + height: 3.125rem; + text-shadow: none; + -webkit-transition: background 0.2s; + transition: background 0.2s; +} +input + button, +input + input[type="button"], +input + input[type="submit"] { + padding: 0.75em 2em; +} +button.secondary, +input[type="reset"], +input[type="button"].secondary, +input[type="reset"].secondary, +input[type="submit"].secondary { + background-color: #ddd; + color: #222; +} +button:hover, +button:focus, +input[type="button"]:hover, +input[type="button"]:focus, +input[type="submit"]:hover, +input[type="submit"]:focus { + background: #000; +} +button.secondary:hover, +button.secondary:focus, +input[type="reset"]:hover, +input[type="reset"]:focus, +input[type="button"].secondary:hover, +input[type="button"].secondary:focus, +input[type="reset"].secondary:hover, +input[type="reset"].secondary:focus, +input[type="submit"].secondary:hover, +input[type="submit"].secondary:focus { + background: #bbb; +} +.form-control { + color: #404040; + border: 1px solid #e9e9e9; + border-radius: 0; +} +.form-control:focus { + border-color: #e9e9e9; +} +::-webkit-input-placeholder { color: #404040; } +:-moz-placeholder { color: #404040; } +::-moz-placeholder { color: #404040; } +:-ms-input-placeholder { color: #404040; } + +html { + overflow-y: scroll; + overflow-x: hidden; + -ms-overflow-style: scrollbar; +} +html { font-size: 16px; } +@media (min-width: 768px) and (max-width: 992px) { + html { font-size: 14px; } +} +@media (min-width: 100px) and (max-width: 768px) { + html { font-size: 13px; } +} + + +/*-------------------------------------------------- +=>> Theme Core Buttons +--------------------------------------------------*/ + +.btn-small { + min-width: 10rem; + font-size: 0.938rem; + padding: 0.713rem 2.5rem; +} +.btn-ex-small { + font-size: 0.938rem; + padding: 0.613rem 1.6rem; + line-height: 1; +} +.btn-small, .btn-ex-small { + display: inline-block; + -webkit-font-smoothing: antialiased; + position: relative; + letter-spacing: 0; + border-radius: 0; + text-align: center; + transition: .3s; + font-weight: 600; +} + +.btn-default { + color: #ffffff; +} +.btn-default:hover, .btn-default:focus { + background: #000; + color: #fff; +} + +.btn-light { + background: #ffffff; + color: #000; +} +.btn-light:hover, .btn-light:focus { + background: #000; + color: #ffffff; +} + +.btn-default-dark { + color: #ffffff; +} +.btn-default-dark:hover, .btn-default-dark:focus { + background: #000; + color: #fff !important; +} + +.btn-border { + background: #ffffff; + color: #000; +} +.btn-border:hover, .btn-border:focus { + color: #ffffff; +} + + +/*-------------------------------------------------- +=>> List Styles +--------------------------------------------------*/ + +ul, ol { margin: 0 0px 1.6rem 2.250rem; padding: 0; } +ul { list-style: disc; } +ol { list-style: decimal; } +li > ul, li > ol { margin-bottom: 0; margin-left: 1.6rem; } +dt { font-weight: 700; } +dd { margin: 0 1.6rem 1.6rem; } + + +/*-------------------------------------------------- +=>> Tables +--------------------------------------------------*/ +table, th, td { border: 1px solid #e9e9e9; } +table { border-collapse: collapse; margin: 0 0 1.5em; width: 100%; word-wrap: break-word; } +thead th { border-bottom: 2px solid #e9e9e9; } +th { background: #f6f6f6; color: #000;padding: 0.5rem 0.7rem; text-align: left; } +td { padding: 0.5rem 0.7rem; } +/* th a, */ +/* td a { */ + /* box-shadow: none !important; */ +/* } */ +.widget td a:hover, +.widget td a:focus, +td a:hover, +td a:focus { + color: #000; + box-shadow: none; +} + +/*-------------------------------------------------- +=>> Theme Combined Classes +--------------------------------------------------*/ + +.container-full { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +@media (min-width: 576px) { + .container-full { + max-width: 540px; + } +} +@media (min-width: 768px) { + .container-full { + max-width: 720px; + } +} +@media (min-width: 992px) { + .container-full { + max-width: 1500px; + } +} + +@media (min-width: 1200px) { + body.theme-boxed .container-full { + max-width: 1470px; + padding-left: 15px; + padding-right: 15px; + } +} + +.theme-text-center { text-align: center !important; } +.theme-text-left { text-align: left !important; } +.theme-text-right { text-align: right !important; } + +.theme-bg-grey { background-color: #f3f3f3 !important; } +.theme-bg-dark { background-color: #000 !important; } +.theme-bg-light { background-color: #fff !important; } +.text-dark { color: #000 !important; } +.text-grey { color: #838383 !important; } + +.theme-b-top { border-top: 1px solid #e9e9e9 !important; } +.theme-b-bottom { border-bottom: 1px solid #e9e9e9 !important; } +.theme-b-left { border-left: 1px solid #e9e9e9 !important; } +.theme-b-right { border-right: 1px solid #e9e9e9 !important; } + +.img-circle { border-radius: 50%; } + +.theme-block { + position: relative; + padding: 6rem 0 3.125rem; +} + +body.custom-background #wrapper { + background-color: transparent; +} +body.custom-background .theme-bg-grey, +body.custom-background .theme-services { + background-color: transparent !important; +} + +/*-------------------------------------------------- +=>> Theme Social Icons +--------------------------------------------------*/ + +.custom-social-icons { margin: 0; padding: 0; } +.custom-social-icons li { display: inline-block; padding: 0.313rem 0.5rem; } +.custom-social-icons li > a:before { display: none; } +.custom-social-icons li > a { + font-size: 0.938rem; + line-height: 2; + transition: all 0.3s; + display: block; + color: #fff; + border-radius: 0; + cursor: pointer; + box-shadow: none; + margin: 0; + padding: 0px; + text-align: center; +} +.custom-social-icons li a i { padding: 0; } + +/*-------------------------------------------------- +=>> WooCommerce Menubar Cart Info +--------------------------------------------------*/ + +.themes-header-top { + display: inline-block; + padding: 1.900rem 0; +} +.woo-cart-block { + line-height: 1; + position: relative; + margin-right: 0.938rem; + background: transparent; + border-radius: 0; + display: inline-block; + border-left: 1px solid #cfddea; + padding-left: 1.875rem; +} + +@media (min-width: 992px) { + .woo-cart-block { + margin-top: 5px; + margin-bottom: 5px; + } +} + +.woo-cart-block > a.cart-icon { + -wekbit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; + display: inline-block; + font-size: 1.375rem; + line-height: 1.3; + color: #000; + padding: 0; +} +.woo-cart-block > a .cart-total { + font-size: 0.688rem; + line-height: 1.7; + color: #ffffff; + text-align: center; + font-weight: 600; + position: absolute; + right: -14px; + top: -5px; + padding: 1px; + width: 1.25rem; + height: 1.25rem; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + border-radius: 50%; + -wekbit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; +} + +@media (max-width: 991px) { + .woo-cart-block { + border-left: none; + padding-left: 0px; + margin-top: 1.25rem; + margin-bottom: 0.938rem; + } + .pl-4 { margin-top: 0.938rem; } +} + +/*-------------------------------------------------- +=>> Site Header Contact Info +--------------------------------------------------*/ + +.site-header { + position: relative; + min-height: 50px; + padding-top: 0.313rem; + padding-bottom: 0.313rem; +} +.site-header .widget { + color: #fff; + box-shadow: none; + padding: 0; + margin: 0; +} +.site-header .widget:last-child { + margin: 0; +} +.theme-contact-block { + padding: 0.313rem 0 0.313rem; + margin: 0px; + display: block; +} +.theme-contact-block li { + display: inline-block; + margin: 0; + padding-right: 2.5rem; + color: #ffffff; + font-size: 0.938rem; + position: relative; +} +.theme-contact-block li:last-child { padding-right: 0; } +.theme-contact-block li a, .theme-contact-block li a:hover, .theme-contact-block li a:focus { color: #ffffff; } +.theme-contact-block i { color: #fff; padding-right: 0.625rem; padding-left: 0.063rem; font-size: 1.125rem; vertical-align: text-bottom; } +@media (max-width: 768px) { + .site-header { padding: 0.875rem 0; } + .theme-contact-block { text-align: center; } + .theme-contact-block li { margin: 0 0 0.625rem; } + .custom-social-icons { text-align: center; } + .custom-social-icons li { padding: 0; } +} +@media (max-width: 500px) { + .theme-contact-block li { display: block; padding-right: 0; } + .theme-contact-block li::after { display: none; } +} +@media (min-width: 768px) { + .site-header .widget .custom-social-icons { float: right; } +} + +/*-------------------------------------------------- +=>> Classic Header +--------------------------------------------------*/ + +.classic-header .site-header { + background: transparent; +} + +/*-------------------------------------------------- +=>> Theme Main Slider +--------------------------------------------------*/ + +.theme-main-slider { + position: relative; + box-shadow: 0 1px 2px rgba(0,0,0,.05); + z-index: 1; + } + .theme-slider-content .title-large, .theme-slider-content .description { + color: #fff; +} +.theme-main-slider .overlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + height: 100%; + width: 100%; + background-color: rgba(0, 0, 0, .35); +} +#theme-main-slider { margin: 0px; } +#theme-main-slider .item { + position: relative; + background-color: #fff; + background-repeat: no-repeat; + background-position: center center; + width: 100%; + z-index: 0; + background-size: cover; + height: 800px; +} +.theme-slider-content { + height: auto; + margin: 0 auto; + padding-top: 0; + padding-bottom: 0; + position: absolute; + z-index: 1; + top: 50%; + left: 0; + right: 0; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); +} +.theme-slider-content .theme-text-left, +.theme-slider-content .theme-text-right, +.theme-slider-content .theme-text-center { + width: 55%; +} +.theme-text-right.align-right { + float: right; +} +.theme-text-center.align-center { + margin: 0 auto; +} + +.theme-slider-content .title-large { font-size: 3.55rem; line-height: 1.2; text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); font-weight: 700; margin-bottom: 1.25rem; } +.theme-slider-content .title-small { letter-spacing: 0.313rem; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.625rem; } +.theme-slider-content .description { font-size: 1.125rem; padding: 0; } +.theme-slider-content .btn-combo .btn-small { margin-left: 0.313rem; margin-right: 0.313rem; } +@media only screen and (max-width: 768px) { + .theme-slider-content .theme-text-left, + .theme-slider-content .theme-text-right, + .theme-slider-content .theme-text-center { + width: 100%; + } + .theme-slider-content .title-large { font-size: 3.000rem; margin: 0 0 1.000rem; } + .theme-slider-content br { display: none; } +} + +/*Slider Content Animation*/ +.owl-item.active .theme-slider-content .title-small { + animation: 1s .3s fadeInDown both; +} +.owl-item.active .theme-slider-content .title-large { + animation: 1s .4s fadeInDown both; +} +.owl-item.active .theme-slider-content .description { + animation: 1s .6s fadeInUp both; +} +.owl-item.active .theme-slider-content .mt-5, +.owl-item.active .theme-slider-content .mt-4 { + animation: 1s .9s fadeInUp both; +} + + +/*-------------------------------------------------- +=>> Slider Next/Prev Button Styles +--------------------------------------------------*/ + +.owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next { + display: inline-block; + opacity: 0; + background-color: rgba(0,0,0,.1); + border: 2px solid rgba(255,255,255,.45); + color: #fff; + font-size: 1.2rem; + line-height: 1.9; + padding: 0 !important; + margin: 0px; + -moz-border-radius: 0px; + -webkit-border-radius: 0px; + border-radius: 0px; + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + width: 2.5rem; + height: 2.5rem; + z-index: 10; + overflow: hidden; + cursor: pointer; + text-align: center; + -webkit-transition: all .3s; + -moz-transition: all .3s; + transition: all .3s; +} +.owl-carousel .owl-prev { left: 0px; } +.owl-carousel .owl-next { right: 0px; } +.owl-carousel:hover .owl-prev { left: 30px; opacity: 1; } +.owl-carousel:hover .owl-next { right: 30px; opacity: 1; } +.owl-carousel .owl-prev:hover, +.owl-carousel .owl-prev:focus { + color: #fff; + outline: 0; +} +.owl-carousel .owl-next:hover, +.owl-carousel .owl-next:focus { + color: #fff; + outline: 0; +} +@media (max-width: 768px) { + .owl-carousel .owl-prev { left: 0px; } + .owl-carousel .owl-next { right: 0px; } + .owl-carousel:hover .owl-prev { left: 15px; opacity: 1; } + .owl-carousel:hover .owl-next { right: 15px; opacity: 1; } +} + +/*-------------------------------------------------- +=>> Theme Info Area +--------------------------------------------------*/ + +.navbar ~ #theme-info-area, +.theme-block ~ #theme-info-area, +.theme-funfact ~ #theme-info-area, +.theme-cta ~ #theme-info-area, +.theme-sponsors ~ #theme-info-area { + margin-top: 0 !important; +} +.theme-main-slider ~ #theme-info-area { + margin-top: -58px !important; +} +.theme-info-area { + border-radius: 0; + position: relative; + z-index: 1; +} +@media only screen and (max-width: 768px){ + .theme-info-area { + margin-top: 0; + border-radius: 0; + } + .theme-info-area .media { + margin-bottom: 1.25rem; + } +} +.theme-info-area .media { + padding: 1.700rem 0.800rem; + background: #ffffff; + box-shadow: 0 15px 45px -5px rgba(0,0,0,.10); + transition: all .3s ease; +} +.theme-info-area .media:hover { + opacity: 1; + box-shadow: 0 15px 45px -5px rgba(7,10,25,.25); + -webkit-filter: brightness(1.07); + filter: brightness(1.07); + transform: translate(0,-3px); + border-bottom: 3px solid #000; +} +.theme-info-area .media-body { + padding-left: 1rem; +} +.theme-info-area i.icon { + border-radius: 0; + width: 3.75rem; + height: 3.75rem; + font-size: 3rem; + line-height: 1.2; + text-align: center; + padding: 0; + margin-top: -0.125rem; + position: relative; + -webkit-transition: .3s cubic-bezier(.53,.645,.51,1.34); + -o-transition: .3s cubic-bezier(.53,.645,.51,1.34); + transition: .3s cubic-bezier(.53,.645,.51,1.34); +} +.theme-info-area .media:hover i.icon, +.theme-info-area .media i.icon.active { + color: #000; +} +.theme-info-area-title { + margin-bottom: 0.200rem; + font-weight: 600; + font-size: 1.375rem; +} + + +/*-------------------------------------------------- +=>> Theme Page Header Area +--------------------------------------------------*/ + +.theme-page-header-area { + position: relative; + padding: 4rem 0; + width: 100%; + height: 100%; +} +.theme-page-header-area:after { + background: url("./assets/img/shadow.png") no-repeat; + z-index: 1; + background-position: center bottom; + content: ''; + position: absolute; + bottom: -31px; + left: 0; + right: 0; + height: 31px; +} +.theme-page-header-area { + padding: 12.5rem 0 7rem 0; +} +.theme-page-header-area .overlay { + background-color: rgba(0, 0, 0, 0.60); + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + height: 100%; + width: 100%; +} +.page-header-title { position: relative; word-wrap: break-word; } +.page-header-title h1 { font-size: 3.2rem; margin: 0; } + + +/*-------------------------------------------------- +=>> Theme Breadcrumbs Area +--------------------------------------------------*/ + +.page-breadcrumb { + list-style: none; + margin: 0; + padding: 0.825rem 0 0; + font-weight: 600; +} +.page-breadcrumb.text-right { + padding-top: 0.713rem; + padding-bottom: 0.713rem; +} +.page-breadcrumb > li { + color: #fff; + display: inline-block; +} +.page-breadcrumb > li + li:before { + color: #fff; + font-family: fontAwesome; + content: "\f105"; + padding: 0 0.625rem 0 0.625rem; + font-weight: 600; +} +.page-breadcrumb > li a { color: #fff; } +.page-breadcrumb > li a:hover, +.page-breadcrumb > li.active { + color: #fff; +} +@media (max-width: 768px) { + .page-header-title, + .page-breadcrumb.text-right { + text-align: center !important; + } +} + + +/*-------------------------------------------------- +=>> Theme Section Title & Subtitle +--------------------------------------------------*/ + +.theme-section-module { + margin: -0.313rem auto 3.75rem; + padding: 0; + position: relative; +} +.theme-section-module .theme-section-title { + margin: 0 0 1.20rem; + font-size: 2.5rem; + line-height: 1.2; + font-weight: 600; +} +.theme-section-module .theme-section-title b { + font-weight: 600; +} +.theme-section-module .theme-section-subtitle { + font-size: 1rem; + color: #404040; + margin: 0; + padding: 0 0 1.55rem; +} +.theme-separator-line-horrizontal-full { + width: 100%; + height: 0.20rem; + width: 5rem; + float: none; + margin-left: auto; + margin-right: auto; + margin-top: 0; +} +.theme-section-module .theme-section-title.small { + font-size: 2.5rem; +} +@media only screen and (min-width: 768px) { + .theme-section-module { + max-width: 600px; + } +} + +/*-------------------------------------------------- +=>> Theme Service Area +--------------------------------------------------*/ + +.theme-services { background-color: #ffffff; } +.theme-services .service-content { + background-color: #ffffff; + position: relative; + margin: 0 0 2.5rem; + padding: 2.5rem 2.5rem 2.5rem; + -webkit-box-shadow: 0px 15px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0px 15px 98px 0 rgba(0,0,0,.1); + box-shadow: 0px 15px 98px 0 rgba(0,0,0,.1); + transition: all .15s ease; + -webkit-transition: all .15s ease; + -moz-transition: all .15s ease; + -ms-transition: all .15s ease; +} +.theme-services .service-content-thumbnail { + position: relative; + transition: all .15s ease; + margin: 0 auto 1.100rem; +} +.theme-services .service-content-thumbnail img { border-radius: 0; } +.theme-services .service-content-thumbnail a { position: relative; z-index: 1; } +.theme-services .service-content-thumbnail i.fa { + font-size: 3.125rem; + line-height: 1.2; + position: relative; + box-shadow: 0px 0px 0px 1px transparent; +} +.theme-services .service-title { + margin: 0; + padding: 0 0 1.125rem; + font-weight: 600; +} +.theme-services .service-title a { + position: relative; + z-index: 1; + transition: all .15s ease; +} +.service-content p, +.service-content-two p { margin: 0; padding: 0; } +.service-links { + position: relative; + margin-top: 0.938rem; +} +.service-links a { + font-size: 0.938rem; + color: #000; + font-weight: 600; + transition: all .15s ease; +} +.theme-services .service-content:hover .service-title a, +.theme-services .service-content:hover p, +.theme-services .service-content:hover .service-links a, +.theme-services .service-content:hover .service-content-thumbnail a, +.theme-services .service-content:hover .service-content-thumbnail i.fa { + color: #fff; +} +.service-links a:after { + font-family: FontAwesome; + content: "\f178"; + padding-left: 0.5rem; + font-weight: 400; +} + + +/*-------------------------------------------------- +=>> Theme Project Area +--------------------------------------------------*/ + +.theme-project .theme-project-content { + background-color: #fff; + position: relative; + overflow: hidden; + margin: 0 0 3.125rem; + border-radius: 0; + border: none; + width: 100%; + text-align: left; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + -webkit-box-shadow: 0 12px 40px -12px rgba(0,0,0,.30); + -moz-box-shadow: 0 12px 40px -12px rgba(0,0,0,.30); + box-shadow: 0 12px 40px -12px rgba(0,0,0,.30); +} +.theme-project .theme-project-content:hover { + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); +} +.theme-project .theme-project-content *, +.theme-project .theme-project-content *:before, +.theme-project .theme-project-content *:after { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.theme-project .portfolio-thumbnail { + position: relative; + overflow: hidden; + margin: 0; + text-align: center; + z-index: 1; +} +.portfolio-thumbnail img { + -webkit-transition: all 0.30s linear; + transition: all 0.30s linear; +} +.theme-project .theme-project-content .content-overlay { + background: rgba(0, 0, 0, 0.75); + position: absolute; + height: 100%; + width: 100%; + left: 0; + top: 0; + bottom: 0; + right: 0; + opacity: 0; + -webkit-transition: all 0.3s ease-in-out 0s; + -moz-transition: all 0.3s ease-in-out 0s; + transition: all 0.3s ease-in-out 0s; +} +.theme-project .theme-project-content:hover .content-overlay { + opacity: 1; +} +.theme-project .theme-project-content .content-overlay::before { + bottom: 15px; + content: ""; + left: 15px; + opacity: 0; + position: absolute; + right: 15px; + top: 15px; + -o-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + -webkit-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + -moz-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + z-index: 1; + + border-bottom: 1px solid #fff; + border-top: 1px solid #fff; + -o-transform: scale(0, 1); + -webkit-transform: scale(0, 1); + -moz-transform: scale(0, 1); + transform: scale(0, 1); +} + +.theme-project .theme-project-content .content-overlay::after { + bottom: 15px; + content: ""; + left: 15px; + opacity: 0; + position: absolute; + right: 15px; + top: 15px; + -o-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + -webkit-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + -moz-transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + transition: opacity 0.35s ease 0s, transform 0.35s ease 0s; + z-index: 1; + + border-left: 1px solid #fff; + border-right: 1px solid #fff; + -o-transform: scale(1, 0); + -webkit-transform: scale(1, 0); + -moz-transform: scale(1, 0); + transform: scale(1, 0); +} +.theme-project .theme-project-content:hover .content-overlay::before, +.theme-project .theme-project-content:hover .content-overlay::after { + opacity: 1; + -o-transform: scale(1); + -webkit-transform: scale(1); + -moz-transform: scale(1); + transform: scale(1); +} +.theme-project .theme-project-content .click-view { + margin: 0; + padding: 2rem; + position: absolute; + width: 100%; + top: 5%; + left: 0; + right: 0; + opacity: 0; + -webkit-transition: all 0.3s ease-in-out 0s; + -moz-transition: all 0.3s ease-in-out 0s; + transition: all 0.3s ease-in-out 0s; + z-index: 1; +} +.theme-project .theme-project-content:hover .click-view { + top: 50%; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + transform: translateY(-50%); + opacity: 1; +} +.theme-project .theme-project-content .theme-project-title { + margin: 0 0 0.625rem; + font-weight: 600; + font-size: 1.375rem; +} +.theme-project .theme-project-content .theme-project-title, +.theme-project .theme-project-content .theme-project-title a { + color: #fff; +} +.theme-project .theme-project-content .click-view .theme-project-title a, +.theme-project .theme-project-content .click-view .theme-project-title a:hover { + background-color: transparent; + width: auto; + height: auto; + font-size: 1.375rem; + line-height: 1.4; + font-weight: 600; +} +.theme-project .theme-project-content:hover .theme-project-title, +.theme-project .theme-project-content:hover .theme-project-title a, +.theme-project .theme-project-content:focus .theme-project-title a { + color: #fff; +} +.theme-project .theme-project-content p { + font-size: 0.938rem; + margin: 0; + padding: 0; + color: #fff; +} +.theme-project .theme-project-content a.popup { + font-size: 1.1rem; + line-height: 2.3; + font-weight: 100; + display: inline-block; + background-color: #fff; + margin: 0; + padding: 1px 0.625rem; + opacity: 0; + border-radius: 0; + height: 2.813rem; + text-decoration: none; + text-align: center; + color: #000; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + z-index: 1; + position: absolute; + width: 2.813rem; + top: 15px; + right: 15px; + -webkit-transform: translateX(2.813rem); + transform: translateX(2.813rem); +} +.theme-project .theme-project-content:hover a.popup { + -webkit-transform: translateX(0); + transform: translateX(0); + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -o-transition: all 0.3s; + -ms-transition: all 0.3s; + transition: all 0.3s; + opacity: 1; +} +.theme-project .theme-project-content a.popup:hover, +.theme-project .theme-project-content a.popup:focus { + color: #fff; +} + + +/*-------------------------------------------------- +=>> Theme Testimonial Area +--------------------------------------------------*/ + +.theme-testimonial { + height: 100%; + margin: 0; + overflow: hidden; + width: 100%; + position: relative; +} +.theme-testimonial-block { + background-color: transparent; + position: relative; + text-align: center; + margin: 0 0 1.875rem; + padding: 0rem 1.25rem 0rem; + font-size: unset; + transition: all 0.3s; +} +.theme-testimonial-block .thumbnail { + margin: 0 auto 2rem; + width: 6.25rem; + height: 6.25rem; + position: relative; +} +.theme-testimonial-block .thumbnail img { + margin: 0.125rem; +} +@media (min-width: 992px) { + .testimonial-content { + width: 80%; + margin: 0 auto; + } +} +.testimonial-content { + position: relative; + padding: 0; + font-size: 1.375rem; +} +.testimonial-content p { + font-size: 1.375rem; +} +.theme-testimonial-block .name { + color: #000; + font-size: 1.25rem; + font-weight: 600; + font-style: normal !important; + margin: 0px 0 -3px; + display: block; +} +.theme-testimonial-block .position { + font-size: 1rem; +} + +/*-------------------------------------------------- +=>> Theme CTA +--------------------------------------------------*/ + +.theme-cta { + position: relative; + width: 100%; + height: 100%; + padding: 6.25rem 0 3.125rem; + background-image: url("./assets/img/cta/theme-cta-bg.jpg"); + background-position: center; + background-repeat: no-repeat; + background-size: cover; + background-attachment: fixed; + background-color: #000; +} +.theme-cta-overlay{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + height: 100%; + width: 100%; + background-color: rgba(0, 0, 0, 0.7); +} +.cta-block { padding-bottom: 3.125rem; } +@media (min-width: 992px){ .cta-block { width: 80%; margin: 0 auto; } } +.theme-cta .title { font-size: 3rem; font-weight: 500; text-shadow: 0px 1px 7px rgba(0, 0, 0, 0.5); margin: 0 0 1.25rem; } +.theme-cta .small-title { text-shadow: 0px 1px 7px rgba(0, 0, 0, 0.5); margin: 0 0 0.313rem; } + +/*-------------------------------------------------- +=>> About Page Area +--------------------------------------------------*/ + +.about-thumbnail { + margin-bottom: 3.125rem; +} +.theme-about-block { + padding-left: 3.125rem; + padding-bottom: 3.125rem; +} +.theme-about .theme-section-module { + margin: 0 0 1.125rem; +} +@media (min-width: 768px) and (max-width: 992px) { + .theme-about-block { + padding-left: 1.25rem; + } +} +@media (max-width: 768px) { + .theme-about-block { + padding-left: 0; + } +} +.theme-about .theme-info-area { + background-color: transparent; + padding: 0; + margin-top: 0rem; + box-shadow: none; +} +.theme-about .theme-info-area .media { + padding: 1.875rem 0; +} + +/*-------------------------------------------------- +=>> Contact Form 7 Area +--------------------------------------------------*/ + +.wpcf7-form { padding: 0 0 3.125rem; } +.wpcf7-form p { margin: 0 0 1.2rem; padding: 0; } +.wpcf7-form p:last-child { margin: 0; } +.wpcf7-form input[type="text"], +.wpcf7-form input[type="email"], +.wpcf7-form input[type="url"], +.wpcf7-form input[type="password"], +.wpcf7-form input[type="search"], +.wpcf7-form input[type="number"], +.wpcf7-form input[type="tel"], +.wpcf7-form input[type="range"], +.wpcf7-form input[type="date"], +.wpcf7-form input[type="month"], +.wpcf7-form input[type="week"], +.wpcf7-form input[type="time"], +.wpcf7-form input[type="datetime"], +.wpcf7-form input[type="datetime-local"], +.wpcf7-form input[type="color"] { + height: 3.125rem; +} +.wpcf7-form input[type="text"], +.wpcf7-form input[type="email"], +.wpcf7-form input[type="url"], +.wpcf7-form input[type="password"], +.wpcf7-form input[type="search"], +.wpcf7-form input[type="number"], +.wpcf7-form input[type="tel"], +.wpcf7-form input[type="range"], +.wpcf7-form input[type="date"], +.wpcf7-form input[type="month"], +.wpcf7-form input[type="week"], +.wpcf7-form input[type="time"], +.wpcf7-form input[type="datetime"], +.wpcf7-form input[type="datetime-local"], +.wpcf7-form input[type="color"], +.wpcf7-form textarea { + margin-top: 0.375rem; +} +.wpcf7-form input[type="submit"] { + margin-top: 0.313rem; +} + + +/*-------------------------------------------------- +=>> 404 Error Page Area +--------------------------------------------------*/ + +.theme-error-page { padding: 7rem 0 10rem; } +.theme-error-page .error-title { + font-size: 20.625rem; + line-height: 1; + letter-spacing: 0.938rem; + margin-bottom: 1.25rem; + font-weight: 300; +} +.theme-error-page .error-title b { + font-weight: 600; +} +.theme-error-page .error-title i { font-size: 18rem; } +.theme-error-page .error-sub-title { + font-size: 2.25rem; + letter-spacing: 0.2rem; + margin-bottom: 0.938rem; +} +.theme-error-page .btn-small { + font-weight: 700; +} +@media (max-width: 768px) { + .theme-error-page { + padding: 9rem 0 11.5rem; + } + .theme-error-page .error-title { + font-size: 15rem; + } +} + + +/*-------------------------------------------------- +=>> Theme Blog Area - Homepage One News +--------------------------------------------------*/ + +.theme-blog { margin: 0; padding-bottom: 2.5rem; width: 100%; } +.theme-blog .post { + background-color: #ffffff; + margin: 0 0 2.5rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.entry-content { overflow: hidden; } +.theme-blog .post-thumbnail { position: relative; overflow: hidden; margin: 0 0 1.25rem; } +.theme-blog .post-thumbnail img { width: 100%; opacity: 1; } +.theme-blog .post-thumbnail img { + -webkit-transition: transform 2s, filter 1.5s ease-in-out; + -moz-transition: transform 2s, filter 1.5s ease-in-out; + -o-transition: transform 2s, filter 1.5s ease-in-out; + -ms-transition: transform 2s, filter 1.5s ease-in-out; + transition: transform 2s, filter 1.5s ease-in-out; + transform-origin: center center; +} +.theme-blog .post:hover .post-thumbnail img { + -webkit-transform: translateY(0px); + transform: translateY(0px); + transform: scale(1.15,1.15); + -webkit-transform: scale(1.15,1.15); + -moz-transform: scale(1.15,1.15); + -ms-transform: scale(1.15,1.15); + -o-transform: scale(1.15,1.15); +} +.theme-blog .post .entry-header { position: relative; margin: 0 0 0.938rem; } +.theme-blog .post .entry-title { margin: 0; font-size: 1.375rem; font-weight: 600; word-break: break-word; white-space: normal; } +.entry-content img { max-width: 100%; height: auto; display: block; } +.entry-content figure { width: auto !important; } +.entry-content a { + box-shadow: 0 1px 0 0 currentColor; + font-weight: 600; +} +.entry-content a:hover, +.entry-content a:focus { + color: #000; + box-shadow: none; +} + + +/*-------------------------------------------------- +=>> Theme Blog Sidebar +--------------------------------------------------*/ + +.theme-blog.theme-blog-large .post .entry-title { + font-size: 2.125rem; +} + + +/*-------------------------------------------------- +=>> Theme Blog Meta Info +--------------------------------------------------*/ + +.entry-meta { font-weight: 500; font-size: 0.938rem; margin: 0 0 1.10rem; width: 100%; } +.entry-meta > span { color: #838383; margin: 0 1.25rem 0 0; } +.entry-meta a { color: #838383; padding: 0; display: inline-block; } +.entry-meta .cat-links a { + color: #fff; + line-height: 1; + padding: 0.25rem 0.438rem; +} +.entry-meta .cat-links a:hover, +.entry-meta .cat-links a:focus { + background-color: #000; + color: #fff !important; +} +.entry-meta .cat-links a:last-child::after { + display: none; +} +/*Meta Icons*/ +.entry-meta .posted-on::before, +.entry-meta .author::before, +.entry-meta .cat-links::before, +.entry-meta .comment-links::before { + font-family: FontAwesome; + margin-right: 0.438rem; + margin-left: 0.063rem; +} +.entry-meta .posted-on::before { + content: "\f017"; +} +.entry-meta .author::before { + content: "\f2c0"; +} +.entry-meta .comment-links::before { + content: "\f0e6"; +} +/*Sticky Post*/ +.entry-meta .sticky-post { + background-color: #e6e6e6; + color: black; + padding: 0.10rem 0.438rem; + margin-right: 0rem; +} +/*Meta Tags*/ +.entry-meta .tag-links a { + background-color: #eeeeee; + border: 1px solid #eeeeee; + color: #000; + font-size: 0.875rem; + display: inline-block; + padding: 0.188rem 0.825rem; + margin: 0 0.325rem 0.438rem 0px; + border-radius: 0px; +} +.entry-meta .tag-links a:hover, +.entry-meta .tag-links a:focus { + color: #fff !important; +} +/*Edit Post*/ +.edit-link .post-edit-link { + font-weight: 600; + color: #404040; + padding-bottom: 0.125rem; +} +.edit-link .post-edit-link:hover { + text-decoration: underline; +} +/*More Link*/ +.entry-content .more-link { + font-size: 0.938rem; + color: #000; + font-weight: 600; + transition: all 0.3s; + box-shadow: none; + display: inline-block; +} +.entry-content .more-link:hover, .entry-content .more-link:focus { + letter-spacing: .07rem; +} +.entry-content .more-link:after { + font-family: FontAwesome; + content: "\f178"; + padding-left: 0.5rem; + font-weight: 400; +} +/*Pagination*/ +.pagination { + margin: 0 0 3.125rem; + display: block; + padding: 0; + text-align: center; +} +.pagination a, +.page-links a, +.post-nav-links a, +.post-nav-links .post-page-numbers.current { + background-color: #ffffff; + border: 1px solid #e9e9e9; + color: #000; + cursor: pointer; + display: inline-block; + line-height: 1.5; + font-weight: 600; + transition: all 0.3s ease 0s; + font-size: 1.125rem; + border-radius: 5px; + margin: 0 0.125rem 0.625rem; + padding: 0.625rem; + vertical-align: baseline; + white-space: nowrap; + width: 3.125rem; + height: 3.125rem; + box-shadow: none; + text-align: center; +} +.pagination a:hover, +.pagination a.active, +.page-links a:hover, +.post-nav-links a:hover, +.post-nav-links .post-page-numbers.current { + color: #fff; +} +.pagination .nav-links .page-numbers.current { + color: #fff; +} +.navigation.pagination .nav-links .page-numbers, +.navigation.pagination .nav-links a { + border: 1px solid #e9e9e9; + cursor: pointer; + display: inline-block; + line-height: 1.5; + font-weight: 600; + transition: all 0.3s ease 0s; + font-size: 1.125rem; + border-radius: 5px; + margin: 0 0.125rem 0.625rem; + padding: 0.625rem; + vertical-align: baseline; + white-space: nowrap; + width: 3.125rem; + height: 3.125rem; +} + + +/*-------------------------------------------------- +=>> Theme Blog Single Area +--------------------------------------------------*/ + +/*Related Posts*/ +.theme-related-posts { + background-color: #ffffff; + margin: 0 0 2.5rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.theme-blog.theme-blog-large .theme-related-posts .post { + margin-bottom: 0.625rem; + border: 1px solid #e9e9e9; + box-shadow: none; +} +.theme-blog.theme-blog-large .theme-related-posts .post .entry-meta { + font-size: 0.875rem; + margin: 0 0 0.75rem; +} + +.theme-blog.theme-blog-large .theme-related-posts .post .entry-title { + font-size: 1.375rem; +} +.theme-blog.theme-blog-large .theme-related-posts .post .entry-header { + margin-bottom: 0; +} +.theme-blog.theme-blog-large .theme-related-posts .post .entry-header::before { + display: none; +} +/*Blog Author*/ +.theme-blog-author { + background-color: #ffffff; + margin: 0 0 2.5rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.theme-blog-author .avatar { margin: 0 1.875rem 0px 0; height: 9.375rem; width: 9.375rem; } +.theme-blog-author .name { margin: 0 0 0.425rem; } +.theme-blog-author .custom-social-icons li > a { color: #000; } +.theme-blog-author .website-url { color: #000; } +.theme-blog-author .website-url a { + box-shadow: 0 1px 0 0 currentColor; +} +.theme-blog-author .website-url a:hover, +.theme-blog-author .website-url a:focus { + color: #000; + box-shadow: none; +} + +/*Comments*/ +.theme-comment-section { + background-color: #ffffff; + margin: 0 0 3.125rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.theme-comment-title { display: block; } +.theme-comment-title h3 { + margin: 0 0 1.875rem; + border-bottom: 1px solid #e9e9e9; + padding-bottom: 0.625rem; +} +.comment-box { margin: 0; position: relative; } +.comment-detail { + border-bottom: 1px solid #e9e9e9; + margin: 0 0 2rem; + padding-bottom: 2rem; +} +.pull-left-comment { float: left; margin-right: 1.875rem; width: 5.25rem; height: 5.25rem; } +.pull-left-comment img { border-radius: 50%; } +.comment-detail-title { margin: 0; font-size: 1.250rem; } +.comment-date { font-size: 0.938rem; font-weight: 400; margin: 0 0 0.625rem; } +.comment-date a { + color: #838383; + box-shadow: 0 1px 0 0 currentColor; +} +.comment-date a:hover, +.comment-date a:focus { + color: #000; + box-shadow: none; +} +.comment-detail p { margin-bottom: 1.5rem; margin-top: 1rem; padding: 0; } +.comment-detail p a { + box-shadow: 0 1px 0 0 currentColor; +} +.comment-detail p a:hover, +.comment-detail p a:focus { + color: #000; + box-shadow: none; +} +.reply a { + color: #000; + font-size: 0.875rem; + padding: 0.150rem 1rem; + font-weight: 600; + transition: 0.3s ease-in-out 0s; + letter-spacing: 0.033rem; + background-color: #fff; + border-radius: 0; + display: inline-block; +} +.reply a:hover, .reply a:focus { + color: #ffffff; +} +.logged-in-as a { + box-shadow: 0 1px 0 0 currentColor; +} +.logged-in-as a:hover, +.logged-in-as a:focus { + color: #000; + box-shadow: none; +} + +.logged-in-color { + background-color: #ffffff; + margin: 0 0 2.5rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0, 0, 0, .1); + -moz-box-shadow: 0 25px 98px 0 rgba(0, 0, 0, .1); + box-shadow: 0 25px 98px 0 rgba(0, 0, 0, .1); +} +.logged-in-color a { + box-shadow: 0 1px 0 0 currentColor; +} + +.form-submit { padding-bottom: 1rem; } +/*Comment Form*/ +.theme-comment-form { + background-color: #ffffff; + margin: 0 0 3.125rem; + padding: 1.25rem 1.25rem 1.25rem; + transition: all 0.3s; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.form-group input[type="text"], +.form-group input[type="email"] { + height: 3.125rem; +} +.theme-comment-form span.required { padding-left: 0.188rem; color: #ff0000; } +.theme-comment-form .comment-form-cookies-consent label { display: inline-block; font-size: 0.875rem; } + + +/*-------------------------------------------------- +=>> Theme Widgets Area +--------------------------------------------------*/ + +.sidebar .widget { + background-color: #fff; + padding: 1.563rem 1.25rem 1.563rem; + -webkit-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 25px 98px 0 rgba(0,0,0,.1); +} +.widget { + color: #404040; + padding: 1.563rem 1.375rem 1.563rem; + margin: 0 0 2.5rem; +} +.widget:last-child { + margin-bottom: 3.75rem; +} +.widget .widget-title, +.widget .wp-block-heading { + position: relative; + color: #fff; + margin-bottom: 2.125rem; + padding-bottom: 0.525rem; + font-weight: 600; + font-size: 1.375rem; +} +.sidebar .widget .widget-title, +.sidebar .widget .wp-block-heading { + color: #000; + margin-bottom: 1.563rem; + padding-bottom: 0.625rem; + border-bottom: 1px solid #e9e9e9; +} +.widget .widget-title:after, +.widget .wp-block-heading:after { + content: ""; + width: 50px; + height: 2px; + bottom: -1px; + left: 0; + position: absolute; + z-index: 1; +} +.sidebar .widget .widget-title a.rsswidget { + color: #000; +} +.widget li > ul, .widget li > ol { + margin-left: 1.000rem; + padding: 0.563rem 0 0 !important; +} +.widget li ul li:last-child { + padding-bottom: 0 !important; +} +.widget_archive ul, .widget_categories ul, .widget_links ul, +.widget_meta ul, .widget_nav_menu ul, .widget_pages ul, +.widget_recent_comments ul, .widget_recent_entries ul { + list-style: none; + margin-left: 0; + margin-bottom: 0; + padding: 0; +} +.widget_archive li, .widget_categories li, .widget_links li, +.widget_meta li, .widget_nav_menu li, .widget_pages li, +.widget_recent_comments li, .widget_recent_entries li { + padding-left: 0px !important; + padding-top: 0.625rem; + padding-bottom: 0.625rem; + border-bottom: 1px dotted rgba(0, 0, 0, 0.1); + position: relative; +} +.widget_archive li:first-child, .widget_categories li:first-child, .widget_links li:first-child, +.widget_meta li:first-child, .widget_nav_menu li:first-child, .widget_pages li:first-child, +.widget_recent_comments li:first-child, .widget_recent_entries li:first-child { + padding-top: 0; +} +.widget_archive li:last-child, .widget_categories li:last-child, .widget_links li:last-child, +.widget_meta li:last-child, .widget_nav_menu li:last-child, .widget_pages li:last-child, +.widget_recent_comments li:last-child, .widget_recent_entries li:last-child { + padding-bottom: 0px; + border-bottom: none; +} +/*Calendar*/ +.calendar_wrap table#wp-calendar { + margin-bottom: 0; + border: 1px solid #e9e9e9; +} +.calendar_wrap caption { + caption-side: top; + background-color: #e9e9e9; + text-align: center; + padding-top: 0.45rem; + padding-bottom: 0.45rem; + font-weight: 600; + color: #000; +} +.calendar_wrap table#wp-calendar thead th { + padding: 0.4rem; + text-align: center; + border-bottom: 2px solid #e9e9e9; +} +.calendar_wrap table#wp-calendar tbody td { + padding: 0.4rem; + text-align: center; +} +/*Search*/ +.widget input[type="text"] { + padding: 0.740rem 1rem; +} +.widget button[type="submit"], +.btn-success { + color: #fff; + z-index: 0; + border-radius: 0; +} +.widget button[type="submit"]:hover, +.widget button[type="submit"]:focus, +.btn-success:hover, +.btn-success:focus { + color: #fff; + background-color: #000 !important; + border-color: #000 !important; +} +.btn-success.focus, .btn-success:focus { + box-shadow: 0 0 0 0.063rem rgba(0,0,0,.5) !important; +} +/*Recent Widget*/ +.widget_recent_entries a { + font-weight: 600; +} +.widget_recent_entries .post-date { + font-size: 0.938rem; + display: block; + padding-top: 0.313rem; + color: rgba(104, 104, 104, .7); +} +.widget img { + max-width: 100%; + height: auto; +} +/*Tags*/ +.tagcloud { + margin: 0; + overflow: hidden; + padding: 0; +} +.widget .tagcloud a { + color: #fff !important; + font-size: 0.875rem !important; + display: inline-block; + padding: 0.188rem 0.825rem; + margin: 0 0.125rem 0.438rem 0px; + border-radius: 0px; +} +.widget .tagcloud a:hover, +.widget .tagcloud a:focus { + background-color: #eee; + color: #000 !important; +} +.sidebar .widget .tagcloud a:hover, +.sidebar .widget .tagcloud a:focus { + background-color: #000; + color: #fff !important; +} +/*Text Widget*/ +.sidebar .widget_text ul, +.sidebar .widget_text ol { + margin: 0 0px 1.6rem 1.125rem; + padding: 0; +} +.sidebar .widget_text, +.sidebar .widget_text p { + font-weight: 400; +} +.textwidget a { + box-shadow: 0 1px 0 0 currentColor; +} +.textwidget a:hover, +.textwidget a:focus, +.textwidget ul li a:hover, +.textwidget ul li a:focus { + color: #000 !important; + box-shadow: none; +} + +/*RSS Widget*/ +.widget_rss ul { + list-style: none; + margin: 0; +} +.widget_rss ul li .rsswidget, +.widget_rss ul li .rss-date { + display: block; +} +.widget_rss ul li .rsswidget { + font-weight: 600; +} +.widget_rss ul li .rssSummary { + padding: 0.625rem 0; +} +.widget_rss ul li { + padding-top: 0.625rem; + padding-bottom: 0.625rem; + border-bottom: 1px dotted rgba(0, 0, 0, 0.1); +} +.widget_rss ul li:first-child { + padding-top: 0; +} +.widget_rss ul li:last-child { + padding-bottom: 0; + border-bottom: none; +} +.wp-block-latest-posts.wp-block-latest-posts__list { + margin-left: 0; +} +.wp-block-latest-posts.wp-block-latest-posts__list li { + margin-bottom: 1rem; +} +.wp-block-latest-posts li .wp-block-latest-posts__post-date { + padding-top: 0.525rem; +} +.wp-block-latest-comments { + margin-left: 0; + padding-left: 0rem; +} +.wp-block-button { + margin: 0 0 1.563rem; +} +.has-large-font-size { + padding-bottom: 0.500rem; +} +.post-password-form input[type="password"] { + margin-top: 0.5rem; + margin-bottom: 1rem; +} +.wp-block-button .wp-block-button__link { + background: #32373c; + border: 2px solid #32373c; +} +.wp-block-button .wp-block-button__link:hover, +.wp-block-button .wp-block-button__link:focus { + background: transparent; + border: 2px solid #32373c; + color: #32373c; +} +.wp-block-button.is-style-outline .wp-block-button__link { + background: transparent; + border: 2px solid #32373c; + color: #32373c !important; +} +.wp-block-button.is-style-outline .wp-block-button__link:hover, +.wp-block-button.is-style-outline .wp-block-button__link:focus { + background: #32373c; + border: 2px solid #32373c; + color: #fff !important; +} +.wp-block-cover p.wp-block-cover-text { + color: #fff; +} +.wp-block-cover.has-pale-pink-background-color p.wp-block-cover-text { + color: #404040; +} +.wp-block-cover, .wp-block-cover-image { + margin-bottom: 1.563rem; +} +.wp-block-archives-dropdown, +.wp-block-categories-dropdown { + margin-bottom: 1.563rem; +} +.wp-block-archives-dropdown select, +.wp-block-categories-dropdown select { + width: auto; +} +/*wp-block-calendar*/ +.wp-block-calendar { + margin-bottom: 1.563rem; +} +.wp-block-calendar table { + margin-bottom: 0.500em; +} +.wp-block-calendar table caption { + padding-top: 0; + padding-bottom: 0.75rem; + color: #000; + text-align: left; + caption-side: top; + font-weight: 600; +} +.wp-block-calendar table th { + font-weight: 600; +} +.wp-block-calendar table.wp-calendar-table td, +.wp-block-calendar table.wp-calendar-table th { + text-align: center; +} +.wp-block-calendar .wp-calendar-nav-next a, +.wp-block-calendar .wp-calendar-nav-prev a { + box-shadow: none; + text-decoration: none; +} +.wp-block-calendar a { + text-decoration: none; +} +/*wp-block-search*/ +.wp-block-search__button-outside.wp-block-search { + margin-bottom: 1.563rem; +} +.wp-block-search button, +.wp-block-search input[type="button"], +.wp-block-search input[type="submit"] { + height: 3.500rem; +} +.wp-block-search .wp-block-search__button { + color: #fff; +} +.wp-block-search .wp-block-search__button:hover, +.wp-block-search .wp-block-search__button:focus { + background: #000; + border: 1px solid #000; + color: #fff; +} +/*wp-block-group*/ +.wp-block-group.has-background { + margin-bottom: 1.563rem; + padding: 1.875rem; +} +.wp-block-media-text { + margin-bottom: 1.563rem; +} +/*wp-block-rss*/ +ul.wp-block-rss { + list-style: disc; +} +ul.wp-block-rss li.wp-block-rss__item { + margin-bottom: 1rem; +} +ul.wp-block-rss li.wp-block-rss__item:last-child { + margin-bottom: 0; +} +/*Page Image Alignments*/ +body.page .entry-content p > img.wp-image-904.alignright { + margin-top: 3rem; +} +/*wp-block-archives*/ +.wp-block-archives, .wp-block-categories, +.wp-block-latest-posts, .wp-block-latest-comments { + list-style: none; + margin-left: 0; +} +ul.wp-block-archives li { + padding-bottom: 0.625rem; +} +ul.wp-block-archives li:last-child { + padding-bottom: 0; +} +/*wp-block-pullquote*/ +.wp-block-pullquote p { + line-height: 1.3; +} +/*Monsterwidget-textwidget*/ +.textwidget .wp-caption { + padding: 0; +} +.textwidget p > img { + margin-bottom: 1rem; + margin-top: 1rem; +} +/*wp-calendar-nav widget*/ +.wp-calendar-nav { + margin-top: 0.500rem; + font-weight: 600; +} +/*wp-block-latest-comments*/ +.wp-block-latest-comments__comment-date { + padding-top: 0.500rem; + padding-bottom: 0.500rem; +} +/*Input Group Search z-index Issue Fixed in Sidebar*/ +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file:focus { + z-index: 0; +} + + +/*-------------------------------------------------------------- +=>> Gallery +--------------------------------------------------------------*/ +.gallery { + display: flex; + flex-flow: row wrap; + justify-content: center; + margin-bottom: calc(1.5 * 1rem); +} +.gallery-item { + display: inline-block; + margin-right: 16px; + margin-bottom: 16px; + text-align: center; + vertical-align: top; + width: 100%; +} +.gallery-columns-2 .gallery-item { + max-width: calc((100% - 16px * 1) / 2); +} +.gallery-columns-2 .gallery-item:nth-of-type(2n+2) { + margin-right: 0; +} +.gallery-columns-3 .gallery-item { + max-width: calc((100% - 16px * 2) / 3); +} +.gallery-columns-3 .gallery-item:nth-of-type(3n+3) { + margin-right: 0; +} +.gallery-columns-4 .gallery-item { + max-width: calc((100% - 16px * 3) / 4); +} +.gallery-columns-4 .gallery-item:nth-of-type(4n+4) { + margin-right: 0; +} +.gallery-columns-5 .gallery-item { + max-width: calc((100% - 16px * 4) / 5); +} +.gallery-columns-5 .gallery-item:nth-of-type(5n+5) { + margin-right: 0; +} +.gallery-columns-6 .gallery-item { + max-width: calc((100% - 16px * 5) / 6); +} +.gallery-columns-6 .gallery-item:nth-of-type(6n+6) { + margin-right: 0; +} +.gallery-columns-7 .gallery-item { + max-width: calc((100% - 16px * 6) / 7); +} +.gallery-columns-7 .gallery-item:nth-of-type(7n+7) { + margin-right: 0; +} +.gallery-columns-8 .gallery-item { + max-width: calc((100% - 16px * 7) / 8); +} +.gallery-columns-8 .gallery-item:nth-of-type(8n+8) { + margin-right: 0; +} +.gallery-columns-9 .gallery-item { + max-width: calc((100% - 16px * 8) / 9); +} +.gallery-columns-9 .gallery-item:nth-of-type(9n+9) { + margin-right: 0; +} +.gallery-item:last-of-type { + padding-right: 0; +} +.gallery-caption { + display: block; + font-size: 0.r71111em; + line-height: 1.6; + margin: 0; + padding: 0.5rem; +} +.gallery-item > div > a { + display: block; + line-height: 0; + box-shadow: 0 0 0 0 transparent; +} +.gallery-item > div > a:focus { + box-shadow: 0 0 0 2px #e9e9e9; +} +.gallery .gallery-item { + margin-top: 0 !important; +} +.gallery .gallery-item img { + border: 2px solid #e9e9e9 !important; +} +/*wp-block-gallery*/ +.wp-block-gallery.alignfull { + margin: 0 0 1.563rem; +} +.blocks-gallery-item figure { position: relative; overflow: hidden; margin: 0; } +.blocks-gallery-item figure img { width: 100%; opacity: 1; } +.blocks-gallery-item figure img { + -webkit-transition: transform 2s, filter 1.5s ease-in-out; + -moz-transition: transform 2s, filter 1.5s ease-in-out; + -o-transition: transform 2s, filter 1.5s ease-in-out; + -ms-transition: transform 2s, filter 1.5s ease-in-out; + transition: transform 2s, filter 1.5s ease-in-out; + transform-origin: center center; +} +.blocks-gallery-item:hover figure img { + -webkit-transform: translateY(0px); + transform: translateY(0px); + transform: scale(1.15,1.15); + -webkit-transform: scale(1.15,1.15); + -moz-transform: scale(1.15,1.15); + -ms-transform: scale(1.15,1.15); + -o-transform: scale(1.15,1.15); +} +/*Address*/ +address i { + width: 1.563rem; + height: auto; + margin-right: 0.438rem; + font-size: 1.25rem !important; +} + +/*-------------------------------------------------------------- +=>> Captions +--------------------------------------------------------------*/ +.bypostauthor {} +.wp-caption { + margin-bottom: calc(1.5 * 1rem); +} +.wp-caption img[class*="wp-image-"] { + display: block; + margin-left: auto; + margin-right: auto; +} +.wp-caption-text { + font-size: 0.8125rem; + font-style: italic; + line-height: 1.6; + margin: 0; + padding: 0.5rem !important; + text-align: center; +} +.wp-caption-text a:hover { color: #000; } +.wp-caption, .gallery-caption { max-width: 100%; } + +/*-------------------------------------------------------------- +=>> Alignments +--------------------------------------------------------------*/ + +.alignleft { + display: inline; + float: left; + margin-right: 1.5rem; +} +.alignright { + display: inline; + float: right; + margin-left: 1.5rem; +} +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} +@media screen and (min-width: 768px){ + img.alignleft { float: left; } + img.alignright { float: right; } +} +body.page-template-default .theme-blog .post .post-content { overflow: hidden; } + +/*-------------------------------------------------- +=>> Theme Unit Data Css +--------------------------------------------------*/ + +.entry-content .wp-block-button a { + color: #fff; +} +.wp-block-button.is-style-outline a { + color: #32373c; +} +.entry-content .wp-block-pullquote p, +.entry-content .wp-block-pullquote.is-style-solid-color blockquote p { + padding: 0; +} +.entry-content blockquote cite a { + color: #000; + box-shadow: none; +} +.entry-content p.has-background { + margin-bottom: 1.563rem; +} +.entry-content .wp-block-file .wp-block-file__button { + font-size: 14px; + padding: 0.7rem 2rem; +} +.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; +} +embed, iframe, object { + max-width: 100%; +} +.entry-content .wp-block-archives.wp-block-archives-dropdown { + margin: 0 0 1.563rem; +} +.entry-content .wp-block-archives.wp-block-archives-dropdown select { + width: auto; +} +.entry-content .wp-block-latest-comments__comment-meta a { + color: #000; + box-shadow: none; + font-size: 1rem; + font-weight: 600; +} +.entry-content .wp-block-latest-comments__comment-meta a:hover { + box-shadow: 0 1px 0 0 currentColor; +} +.wp-block-latest-comments article { + margin-bottom: 2rem; +} +/*wp-block-embed*/ +@media (max-width: 992px) { + .wp-block-embed { + word-break: break-all; + } +} +/*wp-block-search*/ +.wp-block-search .wp-block-search__input { + border: 1px solid #e9e9e9; +} + + +/*-------------------------------------------------- +=>> Site Footer Area +--------------------------------------------------*/ + +.site-footer { + background-color: #0f0f0f; + margin: 0; + padding: 0; + position: relative; +} +.footer-sidebar { padding: 5rem 0 1.875rem; } +@media (max-width: 500px) { + .footer-sidebar { + padding: 4rem 0 0.875rem; + } +} +.footer-sidebar .widget { margin: 0 0 3.125rem; padding: 0; } +.footer-sidebar .widget, +.footer-sidebar .widget a { + color: #ddd; +} +.footer-sidebar .widget .recentcomments a { + color: #fff; +} +/*Recent Widget*/ +.footer-sidebar .widget_recent_entries .post-date { + color: #bec3c7; +} +.footer-sidebar .widget_archive li, .footer-sidebar .widget_categories li, .footer-sidebar .widget_links li, +.footer-sidebar .widget_meta li, .footer-sidebar .widget_nav_menu li, .footer-sidebar .widget_pages li, +.footer-sidebar .widget_recent_comments li, .footer-sidebar .widget_recent_entries li { + padding-top: 0px; + padding-bottom: 14px; + border-bottom: none; +} +.footer-sidebar .widget_archive li:last-child, .footer-sidebar .widget_categories li:last-child, .footer-sidebar .widget_links li:last-child, .footer-sidebar .widget_meta li:last-child, .footer-sidebar .widget_nav_menu li:last-child, .footer-sidebar .widget_pages li:last-child, .footer-sidebar .widget_recent_comments li:last-child, .footer-sidebar .widget_recent_entries li:last-child { + padding-bottom: 0; +} +.footer-sidebar .widget h1, .footer-sidebar .widget h2, .footer-sidebar .widget h3, +.footer-sidebar .widget h4, .footer-sidebar .widget h5, .footer-sidebar .widget h6 { + color: #fff; +} +/*Text Widget*/ +.footer-sidebar .textwidget a:hover, +.footer-sidebar .textwidget a:focus { + color: #ddd !important; +} +.footer-sidebar .textwidget > address > a { + color: #ddd; +} +.footer-sidebar .textwidget > address > a:hover, +.footer-sidebar .textwidget > address > a:focus { + box-shadow: none; +} + +/*-------------------------------------------------- +=>> Site Footer With Light Background +--------------------------------------------------*/ + +.site-footer.light { + background-color: #f3f3f3; +} +.site-footer.light .widget h1, .site-footer.light .widget h2, +.site-footer.light .widget h3, .site-footer.light .widget h4, +.site-footer.light .widget h5, .site-footer.light .widget h6 { + color: #000; +} +.site-footer.light .widget, +.site-footer.light .widget a { + color: #404040; +} +.site-footer.light .tagcloud a:hover, +.site-footer.light .tagcloud a:focus { + background-color: #000; + color: #fff !important; +} +.site-footer.light .widget_recent_entries .post-date { + color: rgba(104, 104, 104, .7); +} + + +/*-------------------------------------------------- +=>> Theme Site Info Area +--------------------------------------------------*/ + +.site-info { + background-color: #0f0f0f; + border-top: 1px solid rgba(132,132,132,.17); + color: #ddd; + font-size: 0.938rem; + padding: 1.75rem 0.938rem; +} +.site-footer.light .site-info { + background-color: #f3f3f3; + color: #000; +} + +/*-------------------------------------------------- +=>> Sidebar Widget Style Css According to WordPress 5.8 +--------------------------------------------------*/ + +.sidebar .widget .wp-block-search .wp-block-search__label { + position: relative; + font-weight: 600; + font-size: 1.375rem; + color: #000; + margin-bottom: 1.563rem; + padding-bottom: 0.625rem; + border-bottom: 1px solid #e9e9e9; +} +.sidebar .widget .wp-block-search .wp-block-search__label:after { + background: #ff5d20; + content: ""; + width: 50px; + height: 2px; + bottom: -1px; + left: 0; + position: absolute; + z-index: 1; +} +.sidebar .widget .wp-block-group .wp-block-tag-cloud a { + color: #fff !important; + font-size: 0.875rem !important; + display: inline-block; + padding: 0.188rem 0.825rem; + margin: 0 0.125rem 0.438rem 0px; + border-radius: 0px; +} +.sidebar .widget .wp-block-group .wp-block-tag-cloud a:hover, +.sidebar .widget .wp-block-group .wp-block-tag-cloud a:focus { + background-color: #000; + color: #fff !important; +} +.sidebar .widget .wp-block-group .wp-block-categories-list, +.sidebar .widget .wp-block-group .wp-block-archives-list, +.sidebar .widget .wp-block-group .wp-block-page-list, +.sidebar .widget .wp-block-group .wp-block-latest-posts, +.sidebar .widget .wp-block-group .wp-block-rss, +.sidebar .widget .wp-block-group .wp-block-latest-comments { + list-style: none; + margin-left: 0; +} +.sidebar .widget .wp-block-group .wp-block-categories-list li, +.sidebar .widget .wp-block-group .wp-block-archives-list li, +.sidebar .widget .wp-block-group .wp-block-page-list li, +.sidebar .widget .wp-block-group .wp-block-latest-posts li, +.sidebar .widget .wp-block-group .wp-block-rss li, +.sidebar .widget .wp-block-group .wp-block-latest-comments li { + padding-left: 0px !important; + padding-top: 0.625rem; + padding-bottom: 0.625rem; + border-bottom: 1px dotted rgba(0, 0, 0, 0.1); + position: relative; +} +.sidebar .widget .wp-block-group .wp-block-latest-comments li { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-categories-list li:last-child, +.sidebar .widget .wp-block-group .wp-block-archives-list li:last-child, +.sidebar .widget .wp-block-group .wp-block-page-list li:last-child, +.sidebar .widget .wp-block-group .wp-block-latest-posts li:last-child, +.sidebar .widget .wp-block-group .wp-block-rss li:last-child, +.sidebar .widget .wp-block-group .wp-block-latest-comments li:last-child { + padding-bottom: 0px; + border-bottom: none; +} +.sidebar .widget .wp-block-group .wp-block-rss li, +.sidebar .widget .wp-block-group .wp-block-latest-posts li { + margin-bottom: 0; +} +.sidebar .widget .wp-block-search input[type="search"]{ + border: 1px solid #e9e9e9; +} +.sidebar .widget .wp-block-search .wp-block-search__button { + margin-left: 0; +} +.sidebar .widget .wp-block-group .wp-block-calendar table caption { + caption-side: top; + background-color: #e9e9e9; + text-align: center; + padding-top: 0.45rem; + padding-bottom: 0.45rem; + font-weight: 600; + color: #000; +} +.sidebar .widget .wp-block-group .wp-block-calendar table.wp-calendar-table th { + background: #f6f6f6; + padding: 0.4rem; + text-align: center; + border-bottom: 2px solid #e9e9e9; +} +.sidebar .widget .wp-block-group .wp-block-calendar table.wp-calendar-table td { + padding: 0.4rem; + text-align: center; +} +.sidebar .widget .wp-block-group .widget.widget_nav_menu, +.sidebar .widget .wp-block-group .widget.widget_meta { + padding: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.sidebar .widget .wp-block-group .wp-block-embed { + margin: 0; +} +.sidebar .widget .wp-block-group .wp-block-latest-comments__comment-meta { + font-weight: 600; + line-height: 1.5; +} +.sidebar .widget .wp-block-group .wp-block-latest-comments__comment-excerpt p, +.sidebar .widget .wp-block-group .wp-block-latest-comments__comment-date { + font-size: 1rem; +} +.sidebar .widget .wp-block-group .wp-block-latest-comments article { + margin-bottom: 0; +} +.theme-blog .wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-date, +.theme-blog .wp-block-latest-comments__comment-excerpt p { + font-size: 1rem; +} +.sidebar .widget .wp-block-group .wp-block-cover, +.sidebar .widget .wp-block-group .wp-block-calendar, +.sidebar .widget .wp-block-group .wp-block-calendar table, +.sidebar .widget .wp-block-group ul, +.sidebar .widget .wp-block-group ol, +.sidebar .widget .wp-block-search__button-outside, +.sidebar .widget .wp-block-group .wp-block-columns { + margin-bottom: 0rem; +} +.sidebar .widget .wp-block-search .wp-block-search__label { + line-height: normal; +} +.sidebar .widget .wp-block-group .wp-block-latest-posts__list.wp-block-latest-posts li a { + font-weight: 600; +} +.sidebar .widget .wp-block-group .widget.widget_meta { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group ul li:first-child, +.sidebar .widget .wp-block-group ol li:first-child { + padding-top: 0; +} +.sidebar .widget .wp-block-group .wp-block-latest-comments li:last-child { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-rss .wp-block-rss__item-title > a { + font-weight: 600; +} +.sidebar .widget .wp-block-group .wp-block-pullquote { + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-pullquote blockquote { + margin-top: 0; + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-pullquote p { + padding-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-code { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-separator { + margin: 1rem 0; +} +.sidebar .widget .wp-block-group pre.wp-block-verse { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-separator { + margin: 1rem 0; +} +.sidebar .widget .wp-block-group .wp-block-preformatted { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-quote { + margin-bottom: 0; +} +.theme-blog .post .wp-block-pullquote { + padding-top: 0; + padding-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-table td { + border: 1px solid #E9E9E9; +} +.theme-blog .post .entry-content .wp-block-file .wp-block-file__button { + color: #fff; + box-shadow: none; +} +.theme-blog .post .entry-content ol.wp-block-latest-comments .wp-block-latest-comments__comment { + border-bottom: 1px solid rgba(0, 0, 0, 0.1); +} +.theme-blog .post .entry-content ol.wp-block-latest-comments .wp-block-latest-comments__comment:last-child { + border-bottom: none; +} +.theme-blog .post .entry-content ol.wp-block-latest-comments .wp-block-latest-comments__comment article { + margin-bottom: 1rem; +} +.wp-block-table td, .wp-block-table th { + border: 1px solid #E9E9E9; +} +.sidebar .widget .wp-block-group .wp-block-media-text { + margin-bottom: 0; +} +.wp-block-button a:not([href]):not([tabindex]) { + color: #fff; +} +.wp-block-button a:not([href]):not([tabindex]):hover { + color: #fff; + background: #32373C; +} +.sidebar .widget .wp-block-group .wp-block-image figcaption { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-image { + margin-bottom: 0; +} +.theme-blog .post .mejs-controls a.mejs-horizontal-volume-slider { + color: transparent; +} +.theme-blog .post .entry-content ul:last-child { + margin-bottom: 0; +} +.theme-blog .post .entry-content ol.wp-block-latest-comments { + padding-left: 2rem; +} +.theme-blog .post .entry-content ul.wp-block-archives { + margin-left: 1.125rem; + list-style: disc; + padding-left: 1.5rem; +} +.theme-blog .post .entry-content ul.wp-block-rss { + padding-left: 1.5rem; + margin-left: 1.125rem; +} +.theme-blog .post .entry-content ul li { + margin-bottom: 10px; +} +.theme-blog .post .entry-content ul li:last-child { + margin-bottom: 0; +} +.theme-blog .post .entry-content ol li { + margin-bottom: 10px; +} +.theme-blog .post .entry-content ol li:last-child { + margin-bottom: 0; +} +.sidebar .widget .wp-block-group ul li, +.sidebar .widget .wp-block-group ol li { + padding-bottom: 0.625rem; +} +.comment-form .form-submit { + padding-bottom: 0.625rem; +} +.theme-blog .post .entry-content ul.wp-block-archives-list li { + margin-bottom: 0; +} +.theme-blog .post .entry-content ul.wp-block-post-template li.wp-block-post { + background-color: transparent; + margin-bottom: 1.5rem; + box-shadow: none; + padding: 0; +} +.theme-blog .post .entry-content ul.wp-block-post-template li.wp-block-post:hover { + box-shadow: none; +} +.theme-blog .post .entry-content ul.wp-block-post-template li.wp-block-post .wp-block-post-date { + padding-bottom: 1rem; +} +.theme-blog .post .entry-content ul.wp-block-post-template { + margin-left: 0; +} +.theme-blog .post .entry-content form.wp-block-search .wp-block-search__inside-wrapper { + border: none; +} +.theme-blog .post .entry-content .wp-block-post-comments-form .comment-reply-title { + margin-bottom: 1.4rem; +} +.theme-blog .post .entry-content ul.wp-block-latest-posts { + list-style: disc; + padding-left: 1.125rem; +} +.theme-blog .post .wp-block-query-pagination { + margin-bottom: 1.5rem; +} +.theme-blog .post .entry-content .wp-block-social-links { + margin-left: 0; + list-style: none; +} +.theme-blog .post .entry-content .wp-block-social-links .wp-social-link:last-child { + margin-bottom: 10px; +} +.theme-blog .post .entry-content .wp-block-social-links .wp-social-link a { + box-shadow: none; +} +.sidebar .widget .wp-block-file .wp-block-file__button { + color: #fff; +} +.sidebar .widget .wp-block-group .wp-block-social-links .wp-social-link { + padding-bottom: 0; +} +.sidebar .widget .wp-block-group .wp-block-details summary { + margin-bottom: 1rem; +} +.sidebar .widget .wp-block-group .wp-block-details p { + margin-top: 1rem; + padding-top: 1rem; + border-top: 1px dotted rgba(0, 0, 0, 0.1); +} +.sidebar .widget p a { + text-decoration: underline !important; + text-underline-offset: 0.3rem; + outline: none; +} +.sidebar .widget .wp-block-group .wp-block-tag-cloud a { + text-decoration: none !important; +} +.entry-content .wp-block-file { + font-size: 1rem; +} +/*Woocommerce Styles*/ +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button { + color: #fff; + font-weight: 600; +} +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover, +.wp-block-woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:focus { + color: #fff; +} +.sidebar .widget.widget_meta li a { + font-weight: 600; +} +.sidebar .widget .wp-block-accordion-heading .wp-block-accordion-heading__toggle:hover, +.sidebar .widget .wp-block-accordion-heading .wp-block-accordion-heading__toggle:focus { + background: transparent; +} + +/*------------------------------------------------------------ +=>> Footer Sidebar Widget Style Css According to WordPress 5.8 +------------------------------------------------------------*/ + +.footer-sidebar .widget .wp-block-group .wp-block-tag-cloud a { + color: #fff !important; + font-size: 0.875rem !important; + display: inline-block; + padding: 0.188rem 0.825rem; + margin: 0 0.125rem 0.438rem 0px; + border-radius: 0px; +} +.footer-sidebar .widget .wp-block-group .wp-block-tag-cloud a:hover, +.footer-sidebar .widget .wp-block-group .wp-block-tag-cloud a:focus { + background-color: #eee; + color: #000 !important; +} +.footer-sidebar .widget .wp-block-group .wp-block-categories-list, +.footer-sidebar .widget .wp-block-group .wp-block-archives-list, +.footer-sidebar .widget .wp-block-group .wp-block-page-list, +.footer-sidebar .widget .wp-block-group .wp-block-latest-posts, +.footer-sidebar .widget .wp-block-group .wp-block-rss, +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments { + list-style: none; + margin-left: 0; +} +.footer-sidebar .widget .wp-block-group .wp-block-categories-list li, +.footer-sidebar .widget .wp-block-group .wp-block-archives-list li, +.footer-sidebar .widget .wp-block-group .wp-block-page-list li, +.footer-sidebar .widget .wp-block-group .wp-block-latest-posts li, +.footer-sidebar .widget .wp-block-group .wp-block-rss li, +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments li { + padding-top: 0px; + padding-bottom: 14px; + border-bottom: none; +} +.footer-sidebar .widget .wp-block-group .wp-block-rss li, +.footer-sidebar .widget .wp-block-group .wp-block-latest-posts li { + margin-bottom: 0; +} +.footer-sidebar .widget .wp-block-group label { + color: #ddd; +} +.footer-sidebar .widget .wp-block-search .wp-block-search__button { + margin-left: 0; +} +.footer-sidebar .widget .wp-block-search .wp-block-search__button:hover, +.footer-sidebar .widget .wp-block-search .wp-block-search__button:focus { + background-color: #eee !important; + border-color: #eee !important; + color: #000; +} +.footer-sidebar .widget .wp-block-group .wp-block-calendar table caption { + caption-side: top; + background-color: #e9e9e9; + text-align: center; + padding-top: 0.45rem; + padding-bottom: 0.45rem; + font-weight: 600; + color: #000; +} +.footer-sidebar .widget .wp-block-group .wp-block-calendar table.wp-calendar-table th { + background: #f6f6f6; + padding: 0.4rem; + text-align: center; + border-bottom: 2px solid #e9e9e9; +} +.footer-sidebar .widget .wp-block-group .wp-block-calendar table.wp-calendar-table td { + padding: 0.4rem; + text-align: center; + color: #ddd; +} +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments li { + padding-top: 0; + padding-bottom: 0; + margin-bottom: 0; +} +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments__comment-meta { + font-weight: 600; +} +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments__comment-excerpt p, +.footer-sidebar .widget .wp-block-group .wp-block-latest-comments__comment-date { + font-size: 1rem; +} +.footer-sidebar .widget .wp-block-group .wp-block-latest-posts__list.wp-block-latest-posts li a { + font-weight: 600; +} +.footer-sidebar .widget .wp-block-group .wp-block-rss .wp-block-rss__item-title > a { + font-weight: 600; +} +.footer-sidebar .widget .wp-block-group .wp-block-pullquote p { + padding-bottom: 0; +} +.footer-sidebar .widget .wp-block-group .wp-block-rss li:last-child { + padding-bottom: 0; +} +.footer-sidebar .widget .wp-block-group .wp-block-pullquote { + padding: 0.5em 0; +} +.footer-sidebar .widget .wp-block-group pre.wp-block-verse { + background: rgba(26, 26, 26, 0.8); + color: #ddd; +} +.footer-sidebar .widget .wp-block-group .wp-block-pullquote p { + color: #404040; +} +.footer-sidebar .widget .wp-block-group .wp-block-pullquote cite { + color: #000; +} +.footer-sidebar .widget .wp-block-group .wp-block-columns { + margin-bottom: 0; +} +.footer-sidebar .widget .wp-block-group .is-layout-flow h2:after { + display: none; +} +.footer-sidebar .widget .wp-block-group ul li { + padding-bottom: 14px; +} +.footer-sidebar .widget .wp-block-group ul li:last-child { + padding-bottom: 0; +} +.footer-sidebar .widget .wp-block-group .wp-block-details p { + margin-top: 1rem; + padding-top: 1rem; + border-top: 1px solid rgba(255, 255, 255, 0.102); +} +.footer-sidebar .widget .wp-block-table td, +.footer-sidebar .widget .wp-block-table th { + border: 1px solid #333; +} +.footer-sidebar .widget .wp-block-group pre.wp-block-preformatted { + background: rgba(26, 26, 26, 0.8); + color: #ddd; +} +.footer-sidebar .widget .wp-block-social-links li.wp-social-link { + padding-bottom: 0; +} +.footer-sidebar .widget .wp-block-details { + padding: 1rem; + border: 1px solid rgba(132,132,132,.17); +} +.footer-sidebar .widget .wp-block-code { + background: rgba(26, 26, 26, 0.8); + color: #ddd; +} +.footer-sidebar .widget .wp-block-file .wp-block-file__button { + color: #fff; +} +.footer-sidebar .widget #searchform.input-group .btn:hover, +.footer-sidebar .widget #searchform.input-group .btn:focus { + background-color: #ddd !important; + border-color: #ddd !important; + color: #000 !important; +} +.footer-sidebar .widget p a { + text-decoration: underline !important; + text-underline-offset: 0.3rem; + outline: none; +} +.footer-sidebar .widget .wp-block-group .wp-block-tag-cloud a { + text-decoration: none !important; +} +.footer-sidebar .widget .wp-block-quote { + background: rgba(26, 26, 26, 0.8); + color: #ddd; +} +.footer-sidebar .widget .wp-block-quote cite { + color: #fff; +} +.footer-sidebar .widget .wp-block-heading a { + text-decoration: underline !important; + text-underline-offset: 0.3rem; +} +.footer-sidebar .widget .wp-block-heading a:hover { + text-decoration: none !important; +} +.footer-sidebar .widget .wp-block-accordion-heading .wp-block-accordion-heading__toggle:hover, +.footer-sidebar .widget .wp-block-accordion-heading .wp-block-accordion-heading__toggle:focus { + background: transparent; +} + +/*-------------------------------------------------- +=>> Page Scroll Up/Down Area +--------------------------------------------------*/ + +.page-scroll-up { + position: fixed; + display: none; + bottom: 15px; + right: 30px; + z-index: 999; +} +.page-scroll-up a { + display: block; + height: 3.125rem; + width: 3.125rem; + text-align: center; + line-height: 1.6; + border-radius: 0; + font-size: 1.750rem; + color: #fff; + opacity: 1; + transition: all 0.3s ease 0s; + box-shadow: 0 0 10px rgba(0,0,0,.2); +} +.page-scroll-up a:hover, +.page-scroll-up a:active { + color: #fff; +} + + +/*-------------------------------------------------- +=>> Text meant only for screen readers +--------------------------------------------------*/ + +/* Accessibility */ +/* Text meant only for screen readers. */ +.screen-reader-text { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute !important; + width: 1px; + word-wrap: normal !important; + /* Many screen reader and browser combinations announce broken words as they would appear visually. */ +} + +.screen-reader-text:focus { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + clip-path: none; + color: #21759b; + display: block; + font-size: 14px; + font-size: 0.875rem; + font-weight: bold; + height: auto; + right: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; + /* Above WP toolbar. */ +} + +/* Do not show the outline on the skip link target. */ +#content[tabindex="-1"]:focus { + outline: 0; +} + + +/*-------------------------------------------------- +=>> Page builder template +--------------------------------------------------*/ + +.page-template-pagebuilder .theme-builder { + padding: 0; +} + +/*-------------------------------------------------- +=>> Shop Products for Homepage +--------------------------------------------------*/ + +.theme-block.shop .product { + position: relative; + margin-bottom: 2.5rem; + overflow: hidden; + text-align: center; + background-color: #ffffff; + padding: 1rem 1rem 1rem; + transition: all 0.3s; + -webkit-box-shadow: 0px 0px 30px 0px rgba(205, 205, 205, 0.33); + -moz-box-shadow: 0px 0px 30px 0px rgba(205, 205, 205, 0.33); + box-shadow: 0px 0px 30px 0px rgba(205, 205, 205, 0.33); + border: 1px solid rgba(205, 205, 205, 0.33); +} +.theme-block.shop .product img { display: block; max-width: 100%; height: auto; margin-bottom: 1rem; } +.theme-block.shop .product .woocommerce-loop-product__title { + padding: 0 0 .3rem; + margin: 0; + font-size: 1.125rem; + letter-spacing: 0.03rem; + border: none; +} +.theme-block.shop .product .woocommerce-loop-product__title a { + padding: 0 0 .3rem; +} +.theme-block.shop .product .onsale { position: absolute; color: #fff; } +.theme-block.shop .product .price ins { + background: 0 0; +} +.theme-block.shop .product .price del { + color: inherit; + opacity: .5; + display: inline-block; +} +.theme-block.shop .product .star-rating { + float: none; + margin: 0.625rem auto; +} + + +/*-------------------------------------------------- +=>> Shop Products +--------------------------------------------------*/ + +/*Product List*/ +.woocommerce ul.products li.product, +.woocommerce-page ul.products li.product { + overflow: hidden; + text-align: center; + margin-bottom: 2.5rem; + background-color: #ffffff; + padding: 1rem 1rem 1rem; + transition: all 0.3s; + -webkit-box-shadow: 0 15px 98px 0 rgba(0,0,0,.1); + -moz-box-shadow: 0 15px 98px 0 rgba(0,0,0,.1); + box-shadow: 0 15px 98px 0 rgba(0,0,0,.1); +} +/*Product Sale*/ +.woocommerce span.onsale, +.theme-block.shop .product span.onsale { + z-index: 1; +} +.woocommerce ul.products li.product .onsale, +.theme-block.shop .product .onsale { + background-color: #000; + font-weight: 600; + font-size: 0.75rem; + line-height: 1.8; + text-transform: uppercase; + position: absolute; + display: block; + top: 25px; + left: 25px; + right: auto; + transition: all 0.3s; + min-height: 1.25rem; + min-width: 3.125rem; + border-radius: 0; + margin: 0; + padding: 0; + color: #fff; + letter-spacing: 1px; + text-align: center; + z-index: 0; +} +.woocommerce ul.products li.product:hover .onsale, +.woocommerce-page ul.products li.product:hover .onsale { + background-color: #fff; + color: #000; +} +.woocommerce ul.products li.product .woocommerce-loop-product__title { + padding: 0 0 .3rem; + font-size: 1.125rem; + letter-spacing: 0.03rem; + border: none; +} +.woocommerce span.onsale, +.theme-block.shop .product .theme-block.shop .product { + top: 25px; + left: 25px; + background-color: #000; + font-weight: 600; + font-size: 0.75rem; + line-height: 1.8; + transition: all 0.3s; + min-height: 1.25rem; + min-width: 3.125rem; + border-radius: 0; + margin: 0; + padding: 0; + color: #fff; + letter-spacing: 1px; + text-align: center; +} +/*Product Rating*/ +.woocommerce p.stars a, +.theme-block.shop .product p.stars a { + color: #ff9919; + box-shadow: none; +} +.woocommerce .star-rating { color: #ff9919; } +.woocommerce ul.products li.product .star-rating { + color: #ff9919; + float: none; + text-align: center; + margin: 0.625rem auto; +} +/*Product Buttons*/ +.woocommerce ul.products li.product .button.add_to_cart_button, +.woocommerce ul.products li.product .button.product_type_grouped, +.woocommerce ul.products li.product .button.product_type_simple, +.woocommerce ul.products li.product .button.product_type_external, +.woocommerce ul.products li.product .button.product_type_variable, + +.theme-block.shop .product .button.add_to_cart_button, +.theme-block.shop .product .button.product_type_grouped, +.theme-block.shop .product .button.product_type_simple, +.theme-block.shop .product .button.product_type_external, +.theme-block.shop .product .button.product_type_variable { + display: inline-block; + color: #fff; + text-align: center; + margin-top: 0.625rem; + padding: 0.625rem 0.938rem; + font-weight: 600; + line-height: 1; + width: 100%; + border-radius: 0; + -webkit-transition: all .3s ease; + -moz-transition: all .3s ease; + -ms-transition: all .3s ease; + -o-transition: all .3s ease; + transition: all .3s ease; +} +.woocommerce ul.products li.product .button:hover, +.woocommerce ul.products li.product .button:focus, +.theme-block.shop .product .button:hover, +.theme-block.shop .product .button:focus { + color: #fff; +} +.woocommerce ul.products li.product .button.add_to_cart_button, +.woocommerce ul.products li.product .button.product_type_simple { + display: inline-block; + color: #fff; + text-align: center; + margin-top: 0.625rem; + padding: 0.625rem 0.938rem; + font-weight: 600; + width: 100%; + border-radius: 0; +} +.woocommerce ul.products li.product .button.add_to_cart_button:hover, +.woocommerce ul.products li.product .button.add_to_cart_button:focus, +.woocommerce ul.products li.product .button.product_type_simple:hover, +.woocommerce ul.products li.product .button.product_type_simple:focus { + color: #fff; +} +.woocommerce ul.products li.product a.added_to_cart, +.theme-block.shop .product a.added_to_cart { + background-color: rgba(0, 0, 0,.8); + border: 2px solid rgba(0, 0, 0,.1); + color: #fff; + text-align: center; + font-weight: 600; + padding: 0.625rem 0.938rem; + margin-top: 0.625rem; + width: 100%; + border-radius: 0; + line-height: 1; + display: inline-block; +} +.woocommerce ul.products li.product a.added_to_cart:hover, +.woocommerce ul.products li.product a.added_to_cart:focus, +.theme-block.shop .product a.added_to_cart:hover, +.theme-block.shop .product a.added_to_cart:focus { + background-color: rgba(0, 0, 0,1); + border: 2px solid rgba(0, 0, 0,1); + color: #fff; +} +.woocommerce ul.products li.product .price, +.theme-block.shop .product .price { + font-size: 1rem; + color: #404040; + font-weight: 600; +} +/*Product Single View*/ +.woocommerce div.product .product_title { + font-size: 2.225rem; +} +.woocommerce div.product p.price, +.woocommerce div.product span.price { + font-size: 1.250rem; + color: #404040; +} +.woocommerce div.product p.price ins, +.woocommerce div.product span.price ins { + padding-left: 5px; +} +.woocommerce .quantity .qty { + width: 5.500rem; + text-align: left; + height: 3.125rem; + padding: 1rem 0.425rem 1rem 0.825rem; + margin-right: 0.625rem; + border-radius: 0; +} +.woocommerce div.product form.cart .button { + background: #000; + padding: 0.713rem 2.5rem; + border-radius: 0; + letter-spacing: 0.03rem; +} +.product_meta .sku_wrapper, +.product_meta .posted_in, +.product_meta .tagged_as { + display: block; + font-weight: 600; + margin-bottom: 0.313rem; +} +.product_meta .sku_wrapper .sku, +.product_meta .posted_in a, +.product_meta .tagged_as a { + font-weight: 400; + color: #404040; +} +.woocommerce div.product .woocommerce-product-rating { + margin-bottom: 1.2rem; +} +.woocommerce-product-details__short-description { + margin-bottom: 1.7rem; +} +.woocommerce #review_form #respond textarea { + border-radius: 0; +} +.woocommerce #review_form #respond .form-submit input { + left: auto; + background: #000; + color: #fff; + padding: 0.713rem 2.5rem; + border-radius: 0; + letter-spacing: 0.03rem; +} +.woocommerce #review_form #respond .form-submit input:hover { + color: #fff; +} +.woocommerce #reviews #comments h2 { + font-size: 1.125rem; +} +.woocommerce .comment_container { + border-bottom: 2px dotted #e9e9e9; +} +.woocommerce .comment_container img { + float: left; +} +.woocommerce #reviews #comments ol.commentlist li .comment-text { + margin: 0 0 0 65px; + border: none; + border-radius: 0px; + padding: 0 0 0 1rem; +} +.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { + font-size: .93rem; + padding: 0; +} +.woocommerce .related.products h2, +.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description h2, +.woocommerce-Tabs-panel.woocommerce-Tabs-panel--additional_information h2 { + font-size: 1.125rem; + margin: 0 0 1.500rem; +} +.woocommerce div.product .woocommerce-tabs { padding-top: 50px; } +.woocommerce div.product .woocommerce-tabs ul.tabs li { + border: 1px solid transparent; + background-color: transparent; + margin: 0; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li a { + padding: 0 15px 15px 15px; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li.active { + border-bottom-color: transparent; + background: transparent; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { + color: #000; +} +.woocommerce div.product .woocommerce-tabs ul.tabs { + font-size: 1.15rem; + letter-spacing: 0.03rem; + padding: 0; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li a:after { + background: #000; + bottom: 0; + content: ''; + display: block; + height: 1px; + left: 50%; + position: absolute; + right: 50%; + width: 0; + z-index: 9; + -webkit-transition: all .3s ease; + -moz-transition: all .3s ease; + -ms-transition: all .3s ease; + -o-transition: all .3s ease; + transition: all .3s ease; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a:after, +.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:after { + left: 0; + right: 0; + width: 100%; +} +.woocommerce div.product .woocommerce-tabs ul.tabs::before { + border-bottom: 1px solid #e9e9e9; + box-shadow: none; +} +.woocommerce div.product .woocommerce-tabs ul.tabs li::after, +.woocommerce div.product .woocommerce-tabs ul.tabs li::before { + border: 1px solid transparent; + box-shadow: none; + width: 0px; + height: 0px; +} +/*Product Cart View*/ +.woocommerce-error, .woocommerce-info, .woocommerce-message { + padding: 0.75rem 2rem 0.75rem 3.5rem !important; + border-top-color: #000; + margin: 0 0 3rem; +} +.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before { + top: 12px; + color: #000; +} +.woocommerce .woocommerce-error .button, +.woocommerce .woocommerce-info .button, +.woocommerce .woocommerce-message .button, +.woocommerce-page .woocommerce-error .button, +.woocommerce-page .woocommerce-info .button, +.woocommerce-page .woocommerce-message .button { + font-weight: 500; + border-radius: 0; + left: auto; + color: #ffffff; +} +.woocommerce .woocommerce-error .button:hover, +.woocommerce .woocommerce-info .button:hover, +.woocommerce .woocommerce-message .button:hover, +.woocommerce-page .woocommerce-error .button:hover, +.woocommerce-page .woocommerce-info .button:hover, +.woocommerce-page .woocommerce-message .button:hover { + color: #ffffff; + background-color: #000; +} +.woocommerce a.remove { + box-shadow: none; +} +/*Product Cart Table*/ +.woocommerce table.shop_attributes td { padding: 8px; } +.woocommerce table.shop_table { + border: 1px solid #e9e9e9; + border-collapse: collapse; +} +.woocommerce table.shop_table .cart_item:hover { + background: #f6f6f6; +} +.woocommerce table.shop_table th, +.woocommerce table.shop_table td { + padding: 20px 15px; + border-right: 1px solid #e9e9e9; +} +.woocommerce table.shop_table th:last-child, +.woocommerce table.shop_table td:last-child { + border-right: none; +} +.woocommerce table.shop_table th { + border-bottom: none; + color: #000; +} +.woocommerce table.shop_table td .woocommerce-Price-amount { + font-weight: 600; +} +.woocommerce-cart table.cart td.actions .coupon .input-text { + padding: 0.650rem 1rem; + margin: 0 0 15px; + width: 100%; + border-radius: 0; +} +.woocommerce-cart table.cart td.actions .coupon button.button { + background: #000; + color: #fff; + width: 100%; +} +.woocommerce-cart table.cart td.actions .coupon button.button:hover { + color: #fff; +} +.woocommerce-cart table.cart td.actions button.button { + color: #fff; +} +.woocommerce-cart table.cart td.actions button.button:hover { + background: #000; + color: #fff; +} +.woocommerce-cart table.cart td.actions .coupon button.button, +.woocommerce-cart table.cart td.actions button.button { + padding: 0.713rem 2.5rem; + border-radius: 0; + letter-spacing: 0.03rem; +} +#add_payment_method .wc-proceed-to-checkout a.checkout-button, +.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, +.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button, +.woocommerce .woocommerce-form-login .woocommerce-form-login__submit, +.woocommerce button.button.woocommerce-Button { + border-radius: 0; + padding: 1.07rem 2.5rem; + letter-spacing: 0.07rem; + font-size: 0.938rem; + color: #fff; +} +#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover, +.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover, +.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover, +.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover, +.woocommerce button.button.woocommerce-Button:hover { + background-color: #000; + color: #fff; +} +.woocommerce form.checkout_coupon, +.woocommerce form.login, +.woocommerce form.register { + border: 1px solid #e9e9e9; +} +.cart_totals h2 { + font-size: 1.825rem; +} +.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, +.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 { + max-width: 100%; + padding-left: 0; + padding-right: 0; +} +.woocommerce form .form-row label { width: 100%; font-weight: 400; } +.woocommerce form .form-row input.input-text, +.woocommerce form .form-row textarea { + border-radius: 0; +} +.woocommerce form .form-row .woocommerce-input-wrapper { + width: 100%; +} +.woocommerce form .form-row span.select2-selection.select2-selection--single { + border: 1px solid #f2f2f2 !important; + padding: 0.825rem 1rem; + height: 50px; +} +.woocommerce-page .select2-dropdown { + border: 1px solid #e9e9e9; +} +.select2-container--default .select2-selection--single .select2-selection__arrow { + height: 50px; + right: 5px; +} +.woocommerce .woocommerce-billing-fields h3, +.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address, +.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address label, +#order_review_heading { + font-size: 1.250rem; + color: #000; +} +.checkout_coupon.woocommerce-form-coupon .form-row button.button { + background-color: #000; + color: #fff; + border-radius: 0; + padding: 1.07rem 2.5rem; + letter-spacing: 0.07rem; + font-size: 0.938rem; +} +.checkout_coupon.woocommerce-form-coupon .form-row button.button:hover { + color: #fff; +} +.woocommerce-page .checkout.woocommerce-checkout .col2-set { + margin-bottom: 30px; +} +.select2-results__option { + padding: 6px 10px; +} +.woocommerce-checkout #payment ul.payment_methods li label { display: inline-block; } +.woocommerce-checkout #payment ul.payment_methods li input { margin-right: 5px; } +#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { + background: #f6f6f6; +} +#add_payment_method #payment div.payment_box, +.woocommerce-cart #payment div.payment_box, +.woocommerce-checkout #payment div.payment_box { + background-color: #eaeaea; + color: #404040; +} +#add_payment_method #payment div.payment_box::before, +.woocommerce-cart #payment div.payment_box::before, +.woocommerce-checkout #payment div.payment_box::before { + content: ""; + display: block; + border: 1em solid #eaeaea; + border-right-color: transparent; + border-left-color: transparent; + border-top-color: transparent; +} +.woocommerce-privacy-policy-text { + margin-bottom: 25px; +} +#add_payment_method #payment ul.payment_methods, +.woocommerce-cart #payment ul.payment_methods, +.woocommerce-checkout #payment ul.payment_methods { + border-bottom: 1px solid #e9e9e9; +} +.woocommerce #payment #place_order, +.woocommerce-page #payment #place_order { + color: #fff; + border-radius: 0; + padding: 1.07rem 2.5rem; + letter-spacing: 0.07rem; +} +.woocommerce #payment #place_order:hover, +.woocommerce-page #payment #place_order:hover { + background-color: #000; + color: #fff; +} +/*WooCommerce Widgets*/ +.woocommerce .widget_price_filter .ui-slider .ui-slider-range { + background-color: #dedede; +} +.woocommerce .widget_price_filter .price_slider_amount { + padding-top: 10px; +} +.woocommerce .widget_price_filter .price_slider_amount .button { + font-size: 0.938rem; + color: #fff; + border-radius: 0; + padding: 0.825rem 2rem; + letter-spacing: 0.07rem; + height: auto; +} +.woocommerce.widget_product_categories ul, +.woocommerce.widget_product_categories ol { + list-style: none; + margin-left: 0; + margin-bottom: 0; +} +.woocommerce.widget_product_categories ul li, +.woocommerce.widget_product_categories ol li { + padding-top: 0.625rem; + padding-bottom: 0.625rem; + border-bottom: 1px solid #f1f1f1; +} +.woocommerce.widget_product_categories ul li:last-child, +.woocommerce.widget_product_categories ol li:last-child { + padding-bottom: 0; + border-bottom: none; +} +.woocommerce.widget_product_categories ul li:before, +.woocommerce.widget_product_categories ol li:before { + font-family: "FontAwesome"; + content: "\f114"; + margin-right: 10px; + color: #c7c9cc; +} +.woocommerce.widget_product_categories li > ul, +.woocommerce.widget_product_categories li > ol { + margin-left: 0; +} +.woocommerce.widget_products .star-rating { + font-size: 0.875rem; +} +.woocommerce.widget_products .star-rating, +.woocommerce.widget_products .product_list_widget .product-title, +.woocommerce.widget_top_rated_products .star-rating, +.woocommerce.widget_top_rated_products .product_list_widget .product-title, +.woocommerce.widget_recent_reviews .star-rating, +.woocommerce.widget_recent_reviews .product_list_widget .product-title, +.woocommerce.widget_recently_viewed_products .star-rating, +.woocommerce.widget_recently_viewed_products .product_list_widget .product-title { + margin-bottom: 5px; + display: block; +} +.woocommerce.widget_products ul.cart_list li, +.woocommerce.widget_products ul.product_list_widget li, +.woocommerce.widget_top_rated_products ul.cart_list li, +.woocommerce.widget_top_rated_products ul.product_list_widget li, +.woocommerce.widget_recent_reviews ul.cart_list li, +.woocommerce.widget_recent_reviews ul.product_list_widget li, +.woocommerce.widget_recently_viewed_products ul.cart_list li, +.woocommerce.widget_recently_viewed_products ul.product_list_widget li, +.woocommerce.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list li, +.woocommerce.widget_rating_filter ul li { + padding-top: 0.625rem; + padding-bottom: 0.625rem; + border-bottom: 1px solid #f1f1f1; +} +.woocommerce.widget_products ul.cart_list li:first-child, +.woocommerce.widget_products ul.product_list_widget li:first-child, +.woocommerce.widget_top_rated_products ul.cart_list li:first-child, +.woocommerce.widget_top_rated_products ul.product_list_widget li:first-child, +.woocommerce.widget_recent_reviews ul.cart_list li:first-child, +.woocommerce.widget_recent_reviews ul.product_list_widget li:first-child, +.woocommerce.widget_recently_viewed_products ul.cart_list li:first-child, +.woocommerce.widget_recently_viewed_products ul.product_list_widget li:first-child, +.woocommerce.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list li:first-child, +.woocommerce.widget_rating_filter ul li:first-child { + padding-top: 0; +} +.woocommerce.widget_products ul.cart_list li:last-child, +.woocommerce.widget_products ul.product_list_widget li:last-child, +.woocommerce.widget_top_rated_products ul.cart_list li:last-child, +.woocommerce.widget_top_rated_products ul.product_list_widget li:last-child, +.woocommerce.widget_recent_reviews ul.cart_list li:last-child, +.woocommerce.widget_recent_reviews ul.product_list_widget li:last-child, +.woocommerce.widget_recently_viewed_products ul.cart_list li:last-child, +.woocommerce.widget_recently_viewed_products ul.product_list_widget li:last-child, +.woocommerce.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list li:last-child, +.woocommerce.widget_rating_filter ul li:last-child { + padding-bottom: 0; + border-bottom: none; +} +.woocommerce.widget_products ul.product_list_widget ins, +.woocommerce.widget_top_rated_products ul.product_list_widget ins, +.woocommerce.widget_recent_reviews ul.product_list_widget .reviewer, +.woocommerce.widget_recently_viewed_products ul.product_list_widget ins { + background: transparent; + font-weight: 600; +} +.woocommerce.widget_recent_reviews ul.product_list_widget .reviewer { + font-weight: 500; +} +.woocommerce.widget_product_search .woocommerce-product-search input[type="search"] { + margin-bottom: 1.25rem; +} +.woocommerce.widget_product_search button[type="submit"] { + letter-spacing: .1em; +} +.woocommerce.widget .woocommerce-mini-cart__total { + padding-top: 0.938rem; + padding-left: 1rem; + padding-right: 1rem; + padding-bottom: 1rem; +} +.woocommerce.widget .woocommerce-mini-cart__buttons.buttons { + padding-top: 0.938rem; + padding-left: 1rem; + padding-right: 1rem; + padding-bottom: 1rem; +} +.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; } + +/*WooCommerce Pagination*/ +.woocommerce nav.woocommerce-pagination { + margin-bottom: 1.875rem; +} +.woocommerce nav.woocommerce-pagination ul, +.woocommerce nav.woocommerce-pagination ul li { border: none; } +.woocommerce nav.woocommerce-pagination ul li a, +.woocommerce nav.woocommerce-pagination ul li span { + background-color: #ffffff; + border: 1px solid #e9e9e9; + color: #000; + cursor: pointer; + display: inline-block; + line-height: 1.5; + font-weight: 600; + transition: all 0.3s ease 0s; + font-size: 1.125rem; + border-radius: 0px; + margin: 0 0.125rem 0.625rem; + padding: 0.625rem; + vertical-align: baseline; + white-space: nowrap; + width: 3.125rem; + height: 3.125rem; +} \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/content-none.php b/wp-content/themes/consultstreet/template-parts/content-none.php new file mode 100644 index 00000000..455a626d --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/content-none.php @@ -0,0 +1,53 @@ + +
    data-wow-delay=".3s"> + +
    + +
    + ' . wp_kses( + /* translators: 1: link to WP admin new post page. */ + __( 'Ready to publish your first post? Get started here.', 'consultstreet' ), + array( + 'a' => array( + 'href' => array(), + ), + ) + ) . '

    ', + esc_url( admin_url( 'post-new.php' ) ) + ); + + elseif ( is_search() ) : + ?> + +

    + + +

    + + +
    + +
    + +
    \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/content-page.php b/wp-content/themes/consultstreet/template-parts/content-page.php new file mode 100644 index 00000000..8ee34f4f --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/content-page.php @@ -0,0 +1,29 @@ + + +
    data-wow-delay=".3s"> + + + +
    + +
    + '', ) ); + + ?> +
    + +
    + +
    \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/content-single.php b/wp-content/themes/consultstreet/template-parts/content-single.php new file mode 100644 index 00000000..68961e33 --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/content-single.php @@ -0,0 +1,74 @@ + +
    data-wow-delay=".3s"> + + + + + +
    + ', '' ); + ?> +
    + + + + '; + the_post_thumbnail( '', array( 'class'=>'img-fluid' ) ); + echo ''; } ?> + + +
    + +
    + + + + +
    + + +
    +
    + +
    +
    +

    +

    +

    +
    +
    + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/content.php b/wp-content/themes/consultstreet/template-parts/content.php new file mode 100644 index 00000000..1d23bdef --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/content.php @@ -0,0 +1,58 @@ + + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/site-breadcrumb.php b/wp-content/themes/consultstreet/template-parts/site-breadcrumb.php new file mode 100644 index 00000000..546c1dfe --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/site-breadcrumb.php @@ -0,0 +1,30 @@ + + + +
    + +
    + +
    + +
    +
    +
    +

    '; echo single_post_title(); echo '

    '; + } else{ + consultstreet_theme_page_header_title(); + } + + consultstreet_page_header_breadcrumbs(); + ?> +
    +
    +
    + + + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/template-parts/site-navbar.php b/wp-content/themes/consultstreet/template-parts/site-navbar.php new file mode 100644 index 00000000..e861039a --- /dev/null +++ b/wp-content/themes/consultstreet/template-parts/site-navbar.php @@ -0,0 +1,35 @@ + + + + \ No newline at end of file diff --git a/wp-content/themes/consultstreet/woocommerce.php b/wp-content/themes/consultstreet/woocommerce.php new file mode 100644 index 00000000..b36eb270 --- /dev/null +++ b/wp-content/themes/consultstreet/woocommerce.php @@ -0,0 +1,37 @@ + +
    + +
    + +
    + + '; + endif; + + echo '
    '; + woocommerce_content(); + echo '
    '; + + if($page_sidebar_layout == 'right-sidebar' || empty($page_sidebar_layout)): + get_sidebar('woocommerce'); + endif; + ?> + +
    + +
    + +
    + \ No newline at end of file