*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
}

body{
  font-family: 'Roboto', sans-serif;
}

.wrapper{
  margin-top: 50px;
}

.wrapper h1{
  font-size: 52px;
  margin-bottom: 60px;
  text-align: center;
  color: #4A90E2;
}

.color-white {
  color: #fff;
}

.box-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

@media screen and (min-width:1380px) {
  .box-container {
    flex-direction: row
  }
}

.box-item {
  position: relative;
  -webkit-backface-visibility: hidden;
  width: 415px;
  margin-bottom: 35px;
  max-width: 100%;
}

.flip-box {
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.flip-box-front,
.flip-box-back {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  min-height: 500px;
  -ms-transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  -webkit-transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.2);
}

.flip-box-front {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-front {
  -ms-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-back {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box .inner {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 60px;
  outline: 1px solid transparent;
  -webkit-perspective: inherit;
  perspective: inherit;
  z-index: 2;
  
  transform: translateY(-50%) translateZ(60px) scale(.94);
  -webkit-transform: translateY(-50%) translateZ(60px) scale(.94);
  -ms-transform: translateY(-50%) translateZ(60px) scale(.94);
  top: 50%;
}

.flip-box-header {
  font-size: 34px;
}

.flip-box p {
  font-size: 20px;
  line-height: 1.5em;
}

.flip-box-img {
  margin-top: 25px;
}

.flip-box-button {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  margin-top: 25px;
  padding: 15px 20px;
  text-transform: uppercase;
}

.nofeedback .control-label .form-control-feedback,
.nofeedback button[data-task="apply"],
.nofeedback button[data-task="save2new"],
.nofeedback button[data-task="save2copy"],
.nofeedback .dp-field-tags
{
    display: none;
}

.nofeedback .form-control, .inputbox {
  max-width: inherit;
}

.t4-megamenu .dropdown-menu ul > li.active a.nav-link:hover, .t4-megamenu .dropdown-menu ul > li.active a.dropdown-item:hover {
  color: #ffffff !important;
}

.nofeedback .dp-select-input {
  width: 99%!important;
}

.com-dpcalendar-eventform .dp-datepicker .dp-input, .com-dpcalendar-eventform .dp-timepicker {
    max-width: 110px;
}


select.invalid {
    border: 1px solid #dc3545;
}

.calmenu {
  border-left: 10px solid #ccc;
}

.com-dpcalendar-calendar__list .dp-calendar__label {
  padding-top: 5px;
  padding-left: 5px;
  width: 100%;
  cursor: pointer;
}

.com-dpcalendar-calendar__list .dp-calendar__label:hover {
  opacity: 0.6;
}

.com-dpcalendar-calendar__list .dp-calendar__label input[type="checkbox"] {
  background-color: #ffffff;;
}

.com-dpcalendar-calendar .dp-toggle {
  width: inherit;
}

.com-dpcalendar-calendar__calendar {
  width: 100%;
}

ul.nav-lateral {
  flex-direction: column;
}

ul.nav-lateral > li > ul > li.active a {
  color: #0096D8
}

.t4-megamenu .dropdown-menu ul > .active .dropdown-menu ul li a {
  background-color: #FFFFFF;
  color: #212529!important;
}

.t4-megamenu .dropdown-menu ul > .active .dropdown-menu ul li a:hover, .t4-megamenu .dropdown-menu ul > .active .dropdown-menu ul li a:focus  {
  color: #0096D8!important;
}

.com-dpcalendar-eventform .dp-select-container__options-selected {
    display: inline;
}

@media (min-width: 768px) {
  .com-dpcalendar-calendar {
    display: flex;
  }
  .com-dpcalendar-calendar__list {
    flex: 0 0 auto;
    max-width: 300px;
  }
}

@media (min-width: 1280px) {
  .com-dpcalendar-calendar__list {
    max-width: 400px;
  }
}