/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .wp-block-button__link {
   color: #fff !important;
}

 h2.text-primary {
    color: #BB2121 !important;
    font-family: 'Raleway', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
}

.notice-red{
   display: flex;
   border: 1px solid #BB2121;
   border-radius: 6px;
   padding: 14px 14px 0 14px;
}

.notice-red p:nth-child(1){
   width: 9%;
}

.notice-red p{
   margin:0;
}

.iootus-section h2{
   color: #BB2121;
   font-family: 'Raleway', sans-serif;
   font-size: 2.1rem;
   font-weight: 700;
 }

.btn-primary-cs a{
    background-color: #BB2121 !important;
    font-size: 1rem !important;
    font-weight: 300;
    padding: 10px 20px !important;
    border-radius: 0.3rem !important;
}

.box-shadow-cs .box-shadow {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.37);
    padding: 0;
    margin: 20px;
    /* width: 30%; */
}

/* tabs */
.wp-block-iootus-block-add-ons-tabs-block .nav.nav-pills{
    width: 30%;
    margin-right: 50px !important;
 }

 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills {
   width: auto;
   margin-right: 0 !important;
   display: flex;
   flex-wrap: wrap;
   padding-left: 0;
   justify-content: space-between;
}
 
 /* .wp-block-iootus-block-add-ons-tabs-block .style-1 .nav button{
    width: calc((90%/3));
    margin: 5px;
 } */
 
 .wp-block-iootus-block-add-ons-tabs-block .tab-content{
   width: 65%;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .nav.nav-pills button{
    background-color: #F4F4F4 !important;
    color:black !important;
    text-align:left;
    padding: 15px 20px;
    border-radius: unset;
    font-family: "Roboto Light", Roboto Reguler;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background-color: #BB2121 !important;
    color:white !important
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills{
    width: auto;
    margin-right: 0 !important;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    justify-content: space-between;
 }

 .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal ul.nav.nav-pills{
   width: auto;
   margin-right: 0 !important;
   display: flex;
   flex-wrap: wrap;
   padding-left: 0;
   justify-content: space-between;
}
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li{
    flex-grow: 1;
    margin-left:10px;
    margin-right:10px;
 }

   .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal ul.nav.nav-pills li button{
      text-align: center;
   }
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal .tab-content{
    width: 100%;
  }
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child{
    margin-left:0px;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:last-child{
    margin-right:0px;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li button{
    width:100%;
    height:100%;
    text-align: center;
    font-weight: 700;
    line-height: 1;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .style-1 .nav.nav-pills button:not(.active){
    background-color: #153d60 !important;
    color:white !important;
 }
 
 .wp-block-iootus-block-add-ons-tabs-block .style-1 .tab-content{
    background-color: #F4F4F4;
    padding: 20px;
 }

 .wp-block-iootus-block-add-ons-tabs-block .style-2 .nav.nav-pills button:not(.active){
   background-color: #153d60 !important;
   color:white !important;
}

.wp-block-iootus-block-add-ons-tabs-block .style-2 .tab-content{
   background-color: unset;
   padding: 20px 0;
}

.wp-block-iootus-block-add-ons-tabs-block .style-2 .wp-block-iootus-block-add-ons-row-block.row{
   padding:0;
}
 
 /* one item */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(1) {
 /* -or- li:only-child { */
       width: 100%;
 }
 /* two items */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(2),
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(2) ~ li {
       width: 48%;
 }
 /* three items */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(3),
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(3) ~ li {
       width: 31.3333%;
 }
 /* four items */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(4),
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(4) ~ li {
       width: 23%;
 }
 
 /* five items */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(5),
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(5) ~ li {
       width: 17%;
 }
 
 /* six items */
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(6),
 .wp-block-iootus-block-add-ons-tabs-block .horizontal ul.nav.nav-pills li:first-child:nth-last-child(6) ~ li {
       width: 13%;
 }


/* image-galery */

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .cssbox {
    display: inline-block;
}
  
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view{
    cursor: pointer;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_full {
    z-index: 999999;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    cursor: default;
    transition: opacity 0.5s linear;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_full img {
    position: fixed;
    background-color: white;
    margin: 0;
    padding: 0;
    max-height: 90%;
    max-width: 90%;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px black;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_close,
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_prev,
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_next {
    z-index: 999999;
    position: fixed;
    text-decoration: none;
    visibility: hidden;
    color: white;
    font-size: 36px;
    cursor: pointer;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_close {
    top: 1%;
    right: 1%
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_close::after {
    content: '\00d7';
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_prev,
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_next {
    top: 50%;
    transform: translate(0%, -50%);
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_prev {
    left: 5%;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img span.cssbox_next {
    right: 5%;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view.active ~ span.cssbox_close,
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view.active ~ span.cssbox_prev,
.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view.active ~ span.cssbox_next {
    visibility: visible;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view.active span.cssbox_full {
    visibility: visible;
    opacity: 1;
    pointer-events: initial;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view{
    visibility: hidden;
    position: absolute;
}

.wp-block-iootus-block-add-ons-image-gallerys-popup-block .popup-img .img-view.featured{
    visibility: visible;
    position: relative;
}

.hidden{
    display: none;
}


.wp-block-iootus-block-add-ons-column-number-block .card{
    height: 100%;
}

.wp-block-iootus-block-add-ons-column-number-block .card-header{
    background-color: white !important;
    padding: 0 !important;
}

.wp-block-iootus-block-add-ons-column-number-block .card-header span{
    padding: 20px 0px 20px 0px;
    background-color: #153D60;
    width: 20%;
    color: #FFFFFF;
    font-family: "Roboto Bold", Roboto Reguler;
    font-size: 1.8rem;
    text-align: center;
}

.wp-block-iootus-block-add-ons-column-number-block .card-header .center{
    align-content: center;
    align-items: center;
    display: flex;
}

.wp-block-iootus-block-add-ons-column-number-block .card-header h5{
    margin: 20px 20px 20px 20px;
}

.bg-grey{
    background-color: #F4F4F4 !important;
}

ul.red-circle li::marker {
   color: #BB2121;
}

/* global row */
.wp-block-iootus-block-add-ons-row-block .card{
    height: 100%;
 }


/* row */
.row .style-1 .card-header span {
    padding: 20px 0px 20px 0px;
    background-color: #153D60;
    width: 20%;
    color: #FFFFFF;
    font-family: "Roboto Bold", Roboto Reguler;
    font-size: 1.8rem;
    text-align: center;
 }
 
 .row .style-1 .card-header {
    background-color: #f3f3f3 !important;
    padding: 0 !important;
 }
 
 .row .style-1 .card-header .center {
    align-content: center;
    align-items: center;
    display: flex;
 }
 
 .row .style-1 .card-header h5 {
    margin: 20px 20px 20px 20px;
    font-weight: 600;
}

 /* style 2 */
.row .style-2 .card {
    padding: 30px 10px !important;
 }
 
 .row .style-2 .card-header h5 {
    min-width: 1px;
    color: #BB2121;
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
 }
 
 .row .style-2 .card-header {
    /* padding: 0; */
    background: none;
    border: unset;
 }
 
 .row .style-2 .card-footer {
    /* padding: 0; */
    background: none;
    border: unset;
 }
 
 .row .style-2 .card-footer .btn-primary-cs {
    width: 100%;
    color: #FFFFFF;
    background-color: #CF2E2E;
    padding: 14px 14px 14px 14px;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-radius: 6px 6px 6px 6px;
    display: block;
    text-align: center;
 }
 
 .iootus-section p{
    margin-bottom: 1.5em !important;
 }
 
 .row .style-2:nth-child(even) .card{
    background-color: #BB2121;
 }
 
 .row .style-2:nth-child(odd) .card{
    border-color: #BB2121;
 }
 
 .row .style-2:nth-child(even) .card-header h5, .row .style-2:nth-child(even) .card-body p {
    color: #fff;
 }
 
 .row .style-2:nth-child(even) .card-footer .btn-primary-cs {
    color: #BB2121;
    background-color: #F4F4F4;
 }

 /* style 3 */
.row .style-3 .card .card-header{
    background-color: #153D60;
 }
 
 .row .style-3 .card .card-header h3{
    font-family: 'Raleway', sans-serif;
    color: #fff;
    text-align: center;
    font-weight: 500;
    margin-top: 0.5rem;
 }
 
 .row .style-3 .icon-line svg{
    height: 35px;
    width: 35px;
    fill: #153D60;
    position: absolute;
    top: -10px;
    border: 5px solid white;
    border-radius: 100%;
 }
 
 .row .style-3:nth-child(even) .icon-line svg{
    fill: #BB2121;
 }
 
 
 .row .style-3:nth-child(even) .card .card-header{
    background-color: #BB2121;
 }
 
 .row .style-3 .icon-line{
    text-align: center;
    margin: 20px 0;
    background: white;
    height: 10px;
    margin-bottom: 35px;
    padding-right: 30px;
    position: absolute;
    top: 0;
    width: 100%;
 }
 
 .row .style-3{
    padding: 0 !important;
    padding-top: 75px !important;
    position: relative;
 }
 
 .row .style-3 .card{
    margin-right: 0.75rem !important;
    margin-left: 0.75rem !important;
 }

 /* style 4 */
.style-4 .card .card-header{
   background-color: #153d60 !important;
   color: #fff;
}

.tabs-center .nav .nav-item button{
   text-align: center;
}

/* @media (max-width: 1024px){
    h2.text-primary {
        font-size: 1.6rem;
    }
} */

@media (max-width: 767px){
    .mb-hidden{
        display: none;
    }

    /* h2.text-primary {
        font-size: 1.4rem;
    } */

   .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal .nav.nav-pills button{
      padding: 15px 10px;
   }

   .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal ul.nav.nav-pills li {
      margin-top: 5px;
      margin-left: 5px;
      margin-right: 5px;
   }

   /* .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal ul.nav.nav-pills li:first-child {
         margin: 0px;
   } */

   .wp-block-iootus-block-add-ons-tabs-block .style-2.horizontal ul.nav.nav-pills li {
      width: auto !important;
   }
   .iootus-section h2{
      color: #BB2121;
      font-family: 'Raleway', sans-serif;
      font-size: 27px;
      font-weight: 700;
    }
    h2.text-primary {
      color: #BB2121 !important;
      font-family: 'Raleway', sans-serif;
      font-size: 27px;
      font-weight: 700;
  }
}