/*
    Theme Name:     Magic 5
    Theme URI:      https://www.mg5.ro/
    Description:    Magie online faurita de cativa magicieni.
    Author:         Magic 5 Squad
    Author URI:     https://www.mg5.ro/
    Template:       Divi
    Version:        2.4
*/
body, #page-container { overflow-x: hidden; }
#cookie-notice .button { -webkit-transition: all .25s; transition: all .25s; font-weight: bold; }
#cookie-notice.cn-bottom #cn-notice-text { display: block; margin-bottom: 1em; }
#cookie-notice .button#cn-accept-cookie { display: inline-block; }
#cookie-notice.cn-bottom .cookie-notice-container { text-align: justify; font-size: 11px; }
#cookie-notice .button#cn-accept-cookie:hover { opacity: .7; }
#cookie-notice.cn-bottom .button#cn-accept-cookie { margin-left: 0; }
#cookie-notice.cn-bottom { bottom: calc(50%); min-width: initial; max-width: 280px;  }
#main-header { -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); }
.cf { zoom: 1 }
.cf:before, .cf:after { content: ''; display: table }
.cf:after { clear: both }
.row .col { position: relative; float: left; -webkit-box-sizing: border-box; box-sizing: border-box; }
.c11 { width: 100% }
.c12 { width: 50% }
.c13 { width: 33.33333333% }
.c14 { width: 25% }
.c23 { width: 66.66666666% }
.c34 { width: 75% }
.col.padding, .row.padding { padding: 1em }
.col.margin, .row.margin { margin: 1em 0 0 0 }
.row:first-child, .col:first-child { margin: 0 }
h1, h2, h3, h4, h5, h6, p, .et_pb_module ul, .et_pb_module ol { padding: 0 !important; margin: 1em 0 0 0; }
p.et_pb_contact_field { margin: 0 0 3% 0 !important; padding: 0 0 0 3% !important; }
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, p:first-child, ul:first-child, ol:first-child { margin: 0; }
.et-fb-settings-heading { padding: 21px 30px !important; }
.et_pb_module ul, .et_pb_module ol { list-style-position: outside !important; padding-left: 1em !important; }
li { line-height: 1.5; margin: .5em 0 0 0; }
li:first-child { margin: 0; }
.v-align { -ms-flex-item-align: center; align-self: center; }
#footer-info { float: none; text-align: center; }
.word, .char { display: inline-block; }

/*Contact Form 7 - Default Style*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1em;
  background: #fff;
}
.wpcf7 input:not(.wpcf7-submit),
.wpcf7 select, .wpcf7 textarea {
  padding: 1em;
}
.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover,
.wpcf7 input:active,
.wpcf7 select:active,
.wpcf7 textarea:active,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {

}
.wpcf7 textarea {
  height: 150px;
  min-height: 150px;
}
.wpcf7 button {
  cursor: pointer;
}
.wpcf7-form-control-wrap {
  position: static;
}
span.wpcf7-not-valid-tip {
  position: absolute;
  font-size: .9em;
  font-weight: bold;
  padding: 0 0.5em;
  background: #c40000;
  color: #fff;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  opacity: .8;
  margin: -0.5em 0 0 0.5em;
}
span.wpcf7-not-valid-tip:before {
  position: absolute;
  background: #c40000;
  content: '';
  width: 8px;
  height: 8px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin: -4px 0 0 4px;
  top: 0;
}
div.wpcf7-response-output {
  position: absolute;
  font-size: 1.2em;
  font-weight: normal;
  padding: .5em .7em;
  background: #c40000;
  color: #fff;
  border: none;
  border-radius: 3px;
  margin: 0 0 1em 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  opacity: .8;
  right: 0;
  bottom: 0;
}
div.wpcf7-mail-sent-ok {
  background: #0ea70e;
}
div.wpcf7-mail-sent-ok:before {
  background: #0ea70e;
}
input.wpcf7-submit.et_pb_button {
  display: inline-block;
  width: auto;
  min-width: initial;
  cursor: pointer;
}

/*Magic 5 Slider Default Style*/
.magicslider {
  overflow: hidden;
  max-height: 100vh;
}
.magicslide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.magicslide:first-child {
  position: relative;
}
.homepage-add-content .et_pb_row {
  width: 100%;
  max-width: 100%;
}
.slider-controls {
  z-index: 400;
  position: absolute;
  bottom: 0;
  right: 0;
}
.slider-controls span {
  display: block;
  font-family: 'ETModules';
  font-size: 24px;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.98);
  cursor: pointer;
  -webkit-transition: .25s;
  transition: .25s;
}
.slider-controls span:first-child {
  border-bottom: 1px solid #111;
}
.magicslider.running .slider-controls span, .magicslider.running .slider-controls span:hover {
  background: rgba(0,0,0,0.3);
  color: #666;
  cursor: not-allowed;
  cursor: default;
}
.slider-controls span:hover {
  background: #333;
}
.autoplay-line, .autoplay-progress {
  display: block;
  position: absolute;
  height: 1px;
  top: 0;
  left: 0;
}
.autoplay-line {
  background: #fff;
  width: 100%;
}
.autoplay-progress {
  width: 0;
  background: #000;
}
