@media only screen and (max-width: 500px) {
    .wrap .back-color {
        font-size: 16px !important;
        line-height: 3em !important;
    }
}

@media only screen and (min-width: 1600px) {
    .wrap .back-color {
        font-size: 30px !important;
        line-height: 8em !important;
    }
}

.ui.vertical.menu.faqs {
    width: 100% !important;
}
.ui.secondary.vertical.menu.faqs>.item {
    font-size: 16px;
}
.p-1.faqs {
    padding: 5rem 5rem !important;
}
.space {
  margin-left: 1.5em;
}

.wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    background-color:#F0F3F6;
}
.wrap .back-color
{
    text-align: center;
    vertical-align: middle;
    line-height: 6em; 
    color: #313131;
    font-size: 26px;
    letter-spacing: 1px;
    font-weight: bold;
    float: left;
    position: absolute;
    width: 100%;
    min-height: 110%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 100%, rgba(255, 255, 255, 0.7) 100%, #7b7b7b 80%);
    top: -8px;
}
.wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.wrap:before, .wrap:after {
    content:'';
    position: absolute;
    bottom: 0;
    width: 50%;
    background-color: inherit;
    padding-bottom:2%;
}
.wrap:before {
    right: 50%;
    -ms-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -ms-transform: skewX(35deg);
    -webkit-transform: skewX(35deg);
    transform: skewX(35deg);
    z-index: 99999;
}

.wrap:after {
    left: 50%;
    -ms-transform-origin: 0 100%;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -ms-transform: skewX(-35deg);
    -webkit-transform: skewX(-35deg);
    transform: skewX(-35deg);
}
.ui.input.search-faq {
    width: 100%;
    border-radius: 0px !important;
}

.ui.input.search-faq input, .ui.input.search-faq .label{
    border-radius: 0px !important;
    -moz-box-shadow: 0 0 20px #eee;
    -webkit-box-shadow: 0 0 20px #eee;
    box-shadow: 0 0 20px #eee;
}

.attached.header.faq {
    font-size: 16px;
    border-radius: 0px !important;
    -moz-box-shadow: 0 0 30px #eee;
    -webkit-box-shadow: 0 0 30px #eee;
    box-shadow: 0 0 30px #eee;
    border-left: 0.5px solid #eee !important;
    border-top: 0.5px solid #eee !important;
    border-right: 0.5px solid #eee !important;
    border-bottom: 0px;
}
.attached.segment.faq {
    border-radius: 0px !important;
    -moz-box-shadow: 0 0 30px #eee;
    -webkit-box-shadow: 0 0 30px #eee;
    box-shadow: 0 0 30px #eee;
    border-left: 0.5px solid #eee !important;
    border-right: 0.5px solid #eee !important;
    border-bottom: 0.5px solid #eee !important;
    z-index: -9999!important;
}
.minheight15{
    min-height: 15%;
}
.width100{
    width:100%;
}