/*
Theme Name: Magik Digital
Description: Used to style all pages
*/

body:not(.elementor-editor-active) .elementor-menu-anchor:before {
  content: "";
  display:block;
  visibility: hidden;
  pointer-events: none;
  height: 157px; /* fixed header height*/
  margin: -157px 0 0; /* negative fixed header height */
}

@-webkit-keyframes smoothScroll {
  0% {
    transform: translateY(-60px);
  }
  100% {
    transform: translateY(0px);
  }
}

@-moz-keyframes smoothScroll {
  0% {
    transform: translateY(-60px);
  }
  100% {
    transform: translateY(0px);
  }
}

@-o-keyframes smoothScroll {
  0% {
    transform: translateY(-60px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes smoothScroll {
  0% {
    transform: translateY(-60px);
  }
  100% {
    transform: translateY(0px);
  }
}


/* Bounce Animation */
@-moz-keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

/* Flashing */
@-webkit-keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}

body, button, input, select, textarea {
  line-height: 1.5;
}

.line-height-normal .elementor-heading-title {
  line-height: normal!important;
}

.flex-wrap .elementor-row {
    flex-wrap: wrap;
}

.half {
  flex-basis: 50%;
  flex-shrink: 0  
}

.fourth {
  flex-basis: 25%;
  flex-shrink: 0  
}

.fourth-col {
  flex-basis: 40%;
}

.fourth-column {
  flex-basis: 25%;
  flex-shrink: 0  
}

.fifth {
  flex-basis: 20%;
  flex-shrink: 0
}

.third {
  flex-basis: 33.333333%;
  flex-shrink: 0
}

.sixth {
  flex-basis: 16.6666%;
  flex-shrink: 0
}

.seventh {
  flex-basis: 14.2857%;
  flex-shrink: 0
}

.eighth {
  flex-basis: 12.5%;
  flex-shrink: 0
}

@media (max-width: 1024px) {
    .fourth {
        flex-basis: 25%;
    }

    .fourth-column {
      flex-basis: 50%;
    }

    .fifth,
    .fourth-col {
        flex-basis: 33.33%;
    }
}

@media (max-width: 650px) {
    .fifth,
    .fourth,
    .third,
    .fourth-col {
        flex-basis: 50%;
    }

    .fifth.j-track-last,
    .third-last,
    .third,
    .fourth-column-custom {
      flex-basis: 100%;
    }
}

.elementor-widget-video .eicon-play {
  background: white;
  border-radius: 75%;
}

.broken_link, a.broken_link {
  text-decoration: line-through!important;
}

.jj-btn {
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  font-weight: 600!important;
  font-family: "Helvetica Neue", Sans-serif!important;
  color: #1A5632!important;
  background-color: #FFC629!important;
}

.jj-btn:hover {
  color: #FFFFFF!important;
  background-color: #2EAF4B!important;
}

.no-margin .elementor-container {
  margin-left: 0!important;
  margin-right: 0!important;
}

.elementor-lightbox .elementor-slideshow__footer {
  display: none;
}

select {
  border-radius: 3px!important;
  -webkit-appearance: none!important;
  -moz-appearance: none!important;
  -ms-appearance: none!important;
  -o-appearance: none!important;
  appearance: none!important;
}

.bg-image-cover-padded {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.bg-image-cover-padded:after {
  /*  set the padding top % to match image aspect ratio */
  padding-top: 100%;
  display: block;
  content: '';
}

.col-custom-2 {
  width: 20%;
}

.col-custom-half {
  width: 40%;
}

.logged-in.admin-bar {
  margin-top: 32px;
}

ul.split-two {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.elementor-text-editor.elementor-clearfix ul ,
.elementor-tab-content ul,
ul.split-two {
  margin-left: 0;
}

.elementor-text-editor.elementor-clearfix ul li,
.elementor-tab-content ul li {
  list-style-type: none;
  margin: 0 0 5px;
  padding: 0 0 0 22px;
  position: relative;
}

.elementor-text-editor.elementor-clearfix ul li:before,
.elementor-tab-content ul li:before {
  background-color: #2eaf4b;
  border-radius: 50%;
  content: '';
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  position: absolute;
}

.elementor-text-editor.elementor-clearfix ol li {
  margin: 0 0 5px;
}


.elementor-text-editor ul,
.elementor-text-editor ol {
  margin-bottom: 1.35rem;
}

.elementor-text-editor ul:last-child,
.elementor-text-editor ol:last-child { 
  margin-bottom: 10px;
}

.alignright {
  margin: 1.5em 0 1.75em 1.75em;
}

a {
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

* {
  outline: 0!important;
}

p {
  margin-bottom: 1.35rem;
}

p:last-child {
  margin-bottom: 0;
}

h1.elementor-heading-title, h2.elementor-heading-title { 
  display: inline-block;
}

h1.elementor-heading-title:after, h2.elementor-heading-title:after {
  background-color: #fcb318;
  content: '';
  height: 5px;
  width: 120px;
  display: block;
  margin: 15px 0 8px;
}

.text-center h1.elementor-heading-title:after, 
.text-center h2.elementor-heading-title:after {
  margin-left: auto;
  margin-right: auto;
}

.text-center h1.elementor-heading-title, 
.text-center h2.elementor-heading-title {
  line-height: normal!important;
}

.remove-line-decor h1.elementor-heading-title:after,
.remove-line-decor h2.elementor-heading-title:after {
  display: none;
}

.hide-visibility {
  visibility: hidden;
}

.alignright {
  margin: 0 0 1.25rem 1.5rem;
}

.copyright-text p {
  margin-bottom: 0!important;
}

/* Home Events */
#home-events .elementor-posts,
#upcoming-events .elementor-posts {
  display: block;
  font-size: 0;
  text-align: center;
}

#home-events .elementor-post,
#upcoming-events .elementor-post {
  width: 292px;
  display: inline-block;
  vertical-align: top;
  padding: 14px;
}

#home-events .elementor-post .elementor-post__thumbnail,
#upcoming-events .elementor-post .elementor-post__thumbnail {
  padding-bottom: 0;
}

#home-events .elementor-post__thumbnail img,
#upcoming-events .elementor-post__thumbnail img {
  position: static;
  -webkit-transform: scale(1) translate(0,0);
  -ms-transform: scale(1) translate(0,0);
  transform: scale(1) translate(0,0);
}

/* Upcoming Events Archive */
#upcoming-events .elementor-post {
  width: 583px;
}

/* Events Sidebar */
#sidebar-events .elementor-posts {
  display: block;
  font-size: 0;
}

#sidebar-events .elementor-post + .elementor-post {
  margin-top: 12px;
}

/* Events Registration */
.single-events .elementor-widget-theme-post-content .elementor-widget-wp-widget-rm_form_widget {
   padding: 0;
}

.rmagic form .rm_form_page  {
  margin-top: 20px;
}

.rmagic form .rmheader {
  float: none;
  margin: 0;
  padding: 0;
  font-size: 19px;
  line-height: 28.5px;
}

.rmagic form .rmheader ol { 
  margin-bottom: 1.35rem;
}

.rmagic form .rmheader ol li { 
  margin: 0 0 5px;
}

.rmagic-form .rmfield {
  max-width: 160px;
  padding-left: 0!important;
}

.rmagic-form .buttonarea {
  margin-top: 20px;	
}

.elementor-widget-wp-widget-rm_form_widget {
  padding: 0 10px;
}

.rmagic .rmcontent form fieldset {
  padding: 0;
}

.rmagic form input[type="text"],
.rmagic form input[type="email"],
.rmagic form select {
  border-radius: 0!important;
  padding: 8px 15px 7px!important;
  line-height: normal;
}

.rmagic form select { 
  line-height: normal!important;
  min-height: 45px!important;
  -webkit-appearance: none!important;
  appearance: none!important;
}


.inquiry-popup .form-group {
  margin: 0 -5px;
}

.inquiry-popup .form-group > div { 
  padding: 5px;
}

.inquiry-popup .col-half {
  float: left;
  width: 50%;
}

.inquiry-popup .col-third {
  float: left;
  width: 33.333333%;
}

.inquiry-popup .form-group input:not([type="submit"]),
.inquiry-popup .form-group select,
.inquiry-popup .form-group textarea {
  border-radius: 0!important;
  border: 1px solid #bfbfbf;
  font: 400 17px "Helvetica Neue", Sans-serif;
  padding: 14px 15px;
  color: #585858!important;
}

.inquiry-popup .form-group textarea {
  height: 120px;
  resize: none;
  margin-top: 5px;
}

.inquiry-popup .form-group .select-option {
  position: relative;
}

.inquiry-popup .form-group .radio-btn {
  font: 400 17px "Helvetica Neue", Sans-serif;
  color: #585858!important;
  padding: 6px 5px;
  clear: both;
}

.inquiry-popup .form-group .submit-btn {
  text-align: center;
  padding-top: 10px;
  position: relative;
}

.inquiry-popup .form-group .submit-btn input {
  border-radius: 4px!important;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

.inquiry-popup .form-group .select-option .fa {
  right: 15px;
  top: 18px;
  position: absolute;
  font-size: 16px;
  color: #332e2e;
}

.inquiry-popup .form-group textarea::moz-placeholder,
.inquiry-popup .form-group input::moz-placeholder {
  color: #585858!important;
}

.inquiry-popup .form-group textarea::-webkit-input-placeholder,
.inquiry-popup .form-group input::-webkit-input-placeholder {
  color: #585858!important;
}

.inquiry-popup .form-group textarea::placeholder,
.inquiry-popup .form-group input::placeholder {
  color: #585858!important;
}

.inquiry-popup input.wpcf7-not-valid,
.inquiry-popup select.wpcf7-not-valid,
.inquiry-popup textarea.wpcf7-not-valid {
  border: 1px solid #f00!important;
}

.inquiry-popup .wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
  display: none!important;
}

.inquiry-popup .ajax-loader {
  position: absolute;
  right: 120px;
  top: 26px;
}

.inquiry-popup .wpcf7 form.wpcf7-form .wpcf7-response-output {
  padding: 7px 0 0;
  margin: 0;
  font: 400 14px "Helvetica Neue", Sans-serif!important;
  border: 0;
  text-align: center!important;
  width: 100%;
  color: red;
}

.inquiry-popup .wpcf7 form.sent .wpcf7-response-output {
  color: #2eaf4b;
}

.inquiry-popup .wpcf7-spinner {
  position: absolute;
}

@media (max-width: 1024px) {
  .header-nav .elementor-nav-menu {
    padding-bottom: 15px!important;
  }
  
  .header-nav .elementor-nav-menu li a {
    display: block;
    text-align: center;
  }

  .rmagic form .rmheader {
    font-size: 17px;
    line-height: 25.5px;
  }

  #upcoming-events .elementor-post {
    width: 360px;
  }

}

@media (max-width: 767px) {
  .single-events h1.elementor-heading-title:after {
    height: 4px;
    margin: 7px 0 0px;
  }
}

@media (max-width: 700px) {
  .rmagic form .rmfield {
    padding: 0;
    margin-top: 0;
  }

  .rmagic form .rminput {
    padding: 0;
    margin-top: 0;
  }
}

@media (max-width: 330px) {
  #upcoming-events .elementor-post {
    width: 295px;
  }
}