.demo{margin:0px auto; width:1115px; position:relative; z-index:000;}

ul.resp-tabs-list,
p {
  margin: 0px;
  padding: 0px;
}
 
ul.resp-tabs-list{width:800px; margin:0 auto;}

.resp-tabs-list li {
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
  padding: 0px 0px; line-height:22px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  float: left;
 /* background:#fff;*/
  font-family: 'MyriadPro-Regular';
  position:relative; z-index:2000; margin-right:40px; border-bottom:1px solid #0688d4; color:#fff;
}
.resp-tabs-list li:last-child{margin-right:0px;}

.resp-tabs-container {
  padding: 0px;
  /*background-color: #fff !important;*/
  clear: left; 
}

h2.resp-accordion {
  cursor: pointer;
  padding: 5px;
  display: none;
}

.resp-tab-content {
  display: none;
  padding: 35px 0 0 0; overflow:hidden; width:1000px;
}

.resp-tab-active {
  border-bottom: 1px solid #fff !important;
  border-bottom: none;
  margin-bottom: -1px !important;
  padding: 0px 0px 0px 0px !important; color:#fff !important;
}

.resp-tab-active {
  /*border-bottom: none;*/
  border-bottom: 1px solid #fff !important;
  
}

.resp-content-active,
.resp-accordion-active { display: block; }

.resp-tab-content { /*border: 1px solid #c1c1c1;*/ }

h2.resp-accordion {
  font-size: 13px;
  border: 1px solid #fff;
  border-top: 0px solid #fff;
  margin: 0px;
  padding: 0px 15px; line-height:30px; color:#fff;
}

h2.resp-tab-active {
  border-bottom: 0px solid #c1c1c1 !important;
  margin-bottom: 0px !important;
  padding: 0px 15px !important;
}

h2.resp-tab-title:last-child {
  border-bottom: 12px solid #c1c1c1 !important;
  background: blue;
}

/*-----------Vertical tabs-----------*/

.resp-vtabs ul.resp-tabs-list {
  float: left;
  width: 30%;
}

.resp-vtabs .resp-tabs-list li {
  display: block;
  padding: 15px 15px !important;
  margin: 0;
  cursor: pointer;
  float: none;
}

.resp-vtabs .resp-tabs-container {
  padding: 0px;
  background-color: #fff;
  border: 1px solid #c1c1c1;
  float: left;
  width: 68%;
  min-height: 250px;
  border-radius: 4px;
  clear: none;
}

.resp-vtabs .resp-tab-content { border: none; }

.resp-vtabs li.resp-tab-active {
  border: 1px solid #c1c1c1;
  border-right: none;
  background-color: #fff;
  position: relative;
  z-index: 1;
  margin-right: -1px !important;
  padding: 14px 15px 15px 14px !important;
}

.resp-arrow {
  width: 0;
  height: 0;
  float: right;
  margin-top: 10px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid #c1c1c1;
}

h2.resp-tab-active span.resp-arrow {
  border: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #9B9797;
}

/*-----------Accordion styles-----------*/

h2.resp-tab-active { background: #000 !important; }

.resp-easy-accordion h2.resp-accordion { display: block; }

.resp-easy-accordion .resp-tab-content { border: 1px solid #c1c1c1; }

.resp-easy-accordion .resp-tab-content:last-child { border-bottom: 1px solid #c1c1c1 !important; }

.resp-jfit {
  width: 100%;
  margin: 0px;
}

.resp-tab-content-active { display: block; }

h2.resp-accordion:first-child { border-top: 1px solid #fff !important; }


.respart{text-align:center; position:relative; width:257px; -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;}
.respart img{display:block; margin:0 auto; text-align:center; border:1px solid #fff;}
.respart h2{font-family: 'Calibri'; color:#000; text-transform:uppercase; font-size:24px; position:absolute; z-index:100; bottom:20px; text-shadow: 0 0 0.6em #fff, 0 0 0.6em #fff, 0 0 0.6em #fff; line-height:24px; left:0; right:0; margin:0 auto; -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out; padding:15px 0;}
.respart:hover h2{color:#F00; bottom:280px; background: rgba(54, 25, 25, .5);}



/*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
@media only screen and (max-width: 767px) {

ul.resp-tabs-list { display: none; }

h2.resp-accordion { display: block; -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out; font-size:18px !important; line-height:40px !important;}
h2.resp-accordion:hover{box-shadow: inset 400px 0 0 0 #373631;}
.resp-vtabs .resp-tab-content { border: 1px solid #C1C1C1; }

.resp-vtabs .resp-tabs-container {
  border: none;
  float: none;
  width: 100%;
  min-height: initial;
  clear: none;
}

.resp-accordion-closed { display: none !important; }

.resp-vtabs .resp-tab-content:last-child { border-bottom: 1px solid #c1c1c1 !important; }
}
