



#accordion {
    width:90%;
    /max-width: 700px; /* You can change this */
    margin: 30px auto; /* You can remove this if you do not need it to align in the center of your element */
    display: block; 
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
}

/* This controls the text inside the div, you can play with this by adding background-color, border, etc. */
#accordion div {
    padding: 5%;
    display: inline-block;
    background: #f1f1f1;
    color: #333;
    overflow: hidden;
}

/* This controls the header */
#accordion h3 {
    font-family: 'latomedium', sans-serif;
    display: block;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    padding: 8px 11px;
    font-weight: 700;
    border: solid 1px white;
-webkit-transition: all 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
   -moz-transition: all 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
     -o-transition: all 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
        transition: all 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); /* easeOutCirc */
}

#accordion h3:hover {
    background: #008EEB;
}

#accordion div h5 {
    color: #008ea9;
}

#accordion div p {
    margin-top: 0;
    color: #333;
}

#accordion div img {
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
}

/* This CSS controls the Font Awesome Icon, You can float: left as well and add margin-right: 5px; */
.icon-expand,.icon-collapse {
    float: right;
    margin-top: 5px;
}

/* USE THE BELOW CSS FOR BLUE */
.blue h3 {
    background: #008ea9; /* You can change this to whatever background color you want for the header */
    color: #fff; /* You can change this to whatever font color you want for the header */
}


@media screen and (max-width: 768px) {
    #accordion {
    width:100%;
    margin: 50px auto; /* You can remove this if you do not need it to align in the center of your element */
}
    
    
    
    #accordion div img {
        width: 100%;
        height: auto;
    float: none;
}
}