/*
Theme Name: MMD
Theme URI: http://www.mmediadesign.co.uk/
Author: MMD
*/
* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
}
body {
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
}
a {
    text-decoration: none;
    color: #099fd0;
}
li {
    list-style: none;
}
strong {
    font-weight: 600;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #282828;
}
img {
    vertical-align: middle;
}
img.alignleft {
    float: left;
    padding: 0 30px 30px 0;
}
img.alignright {
    float: right;
    padding: 0 0 30px 30px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
select,
textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}
input[type="submit"],
button {
    cursor: pointer;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
}
input[type=number] {
    -moz-appearance:textfield;
}
.container {
    width: 1200px;
    margin: auto;
}
.section-header {
    text-align: center;
}
.contact-btn {
    font-size: 18px;
    color: #fff;
    font-weight: 300;
    display: block;
    background: #099fd0;
    width: 308px;
    padding: 18px 0;
    z-index: 1;
    position: relative;
    text-align: center;
}
.center {
    text-align: center;
    width: 100%;
}
.red {
    color: red;
}
/* ===========================================================================
 * HEADER
 * ======================================================================== */
#header {
    width: 100%;
    position: fixed;
    z-index: 9;
    background: #fff;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.top-header {
    background: #110f0c;
    color: #099fd0;
    font-weight: 400;
    display: inline-block;
    width: 100%;
    padding: 22px 0;
}
.top-header ul li {
    float: left;
    margin: 0 25px 0 0;
}
.top-header a {
    color: #fff;
}
.main-header {
    display: inline-block;
    width: 100%;
    transition: 0.5s;
}
#logo {
    float: left;
    width: 190px;
}
#logo img {
    width: 100%;
}
.navigation {
    float: right;
    position: relative;
    top: 45px;
}
.navigation > ul > li {
    float: left;
    position: relative;
}
.navigation > ul > li > a {
    font-size: 14px;
    color: #6b6b6b;
    border-right: 1px solid #d5d5d5;
    padding-right: 30px;
    margin-right: 30px;
    transition: 0.8s;
}
.menu-item-has-children:hover .sub-menu {
    display: block;
}
.sub-menu {
    position: absolute;
    background: #099fd0;
    width: 190px;
    top: 75px;
    left: -30px;
    padding: 15px 0;
    display: none;
}
.sub-menu:before {
    content: "";
    position: absolute;
    width: 112px;
    height: 60px;
    top: -55px;
}
.sub-menu > li {
    padding: 15px 35px;
}
.sub-menu > li > a {
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
}
.navigation > ul > li > a:hover {
    color: #099fd0;
}
.navigation > ul > li:last-child a {
    padding: 0;
    margin: 0;
    border: 0;
}
.mobile-navigation {
    float: right;
    position: relative;
    top: 28px;
    color: #099fd0;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    background: #fff;
    width: 100%;
    padding: 10px 0 6px;
}
#mobile-logo {
    float: left;
    width: 150px;
}
#mobile-logo img {
    width: 100%;
}
.mobile-menus {
    position: fixed;
    top: 0;
    left: 0;
    background: #252525;
    width: 80%;
    height: 100%;
    display: none;
    box-shadow: 0 0 15px #000;
}
.mobile-menus li > a {
    padding: 10px 20px;
    display: block;
    border-bottom: 1px solid #000;
}
/* ===========================================================================
 * SLIDER
 * ======================================================================== */
.main-slider {
    position: relative;
    overflow: hidden;
    height: 830px;
    display: none;
}
.main-slider .slides > li {
    background-size: cover;
    background-position: center;
    height: 830px;
    overflow: hidden;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
    -moz-transform: scale(2,2);
    -webkit-transform: scale(2,2);
    transform: scale(2,2);
}
.main-slider .slides > li.flex-active-slide {
    -moz-transform: scale(1,1);
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
}
.main-slider .flex-control-nav {
    position: absolute;
    z-index: 2;
    bottom: -100px;
    text-align: center;
    width: 100%;
    transition: 1s;
}
.main-slider .flex-control-nav > li {
    display: inline-block;
    margin: 0 5px;
}
.main-slider .flex-control-nav > li > a {
    background: #fff;
    color: transparent;
    border-radius: 100%;
    display: block;
    width: 16px;
    height: 16px;
}
.main-slider .flex-control-nav > li > a.flex-active {
    background: #099fd0;
}
.slider-header {
    position: absolute;
    z-index: 3;
    top: -100%;
    text-align: center;
    width: 100%;
    transition: 1s;
}
.slider-header h2 {
    display: inline-block;
    color: #fff;
    font-size: 43px;
    font-weight: 300;
    padding: 0 45px;
}
.slider-header h2 span {
    color: #099fd0;
}
.slider-header p {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    padding: 22px 45px;
    width: 1200px;
    margin: 0 auto;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.main-slider .services-slider {
    position: relative;
}
.services-slider .slides > li {
    text-align: center;
}
.services-slider .slides > li a {
    background: #000;
    color: #fff;
    display: block;
    width: 148px;
    margin: 50px auto 0;
    padding: 12px 0;
    transition: 0.5s;
}
.services-slider .slides > li a:hover {
    background: #099fd0;
    width: 100%;
}
.services-slider .slides > li h3 {
    color: #616161;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 40px;
    padding-top: 30px;
}
.services-slider .slides > li:nth-child(1n+1) {
    border-top: 2px solid #088fbb;
}
.services-slider .slides > li:nth-child(2n+2) {
    border-top: 2px solid #8cbe07;
}
.services-slider .slides > li:nth-child(3n+3) {
    border-top: 2px solid #540569;
}
.services-slider .flex-direction-nav li a {
    color: transparent;
    width: 72px;
    height: 72px;
    display: block;
    position: absolute;
}
.services-slider .flex-direction-nav li.flex-nav-prev a {
    background-image: url("images/left-bottom.jpg");
    top: 50%;
    left: -100px;
    margin: -36px 0 0 0;
}
.services-slider .flex-direction-nav li.flex-nav-next a {
    background-image: url("images/right-bottom.jpg");
    top: 50%;
    right: -100px;
    margin: -36px 0 0 0;
}
/* ===========================================================================
 * HOME
 * ======================================================================== */
#home-page {
    margin-top: 190px;
}
.home-welcome-section {
    display: inline-block;
    width: 100%;
}
.welcome-section-left {
    background: #eeeeee;
    padding: 50px;
    width: 800px;
    height: 660px;
    float: left;
}
.welcome-section-left h1 {
    font-size: 43px;
    color: #099fd0;
    font-weight: 300;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}
.welcome-section-left h2 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 25px;
}
.welcome-section-left p {
    font-size: 13px;
    margin-bottom: 25px;
}
.welcome-section-right {
    background: #d6d6d6;
    float: left;
    width: 400px;
    height: 660px;
    padding: 60px 30px;
    position: relative;
}
.welcome-section-right img {
    position: absolute;
    bottom: 0;
    right: -36px;
}
.welcome-section-right h2 {
    font-size: 32px;
    color: #099fd0;
    font-weight: 300;
    position: relative;
    z-index: 1;
}
.welcome-section-right a {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 230px;
    border: 2px solid #099fd0;
    transition: 0.8s;
}
.welcome-section-right a:hover {
    background: rgba(9,159,208,0.5);
}
.home-services-section {
    text-align: center;
    margin: 70px 0;
    display: none;
}
.home-services-section h2 {
    color: #099fd0;
    font-weight: 300;
    font-size: 43px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.home-client-section {
    margin: 120px 0 90px;
    text-align: center;
}
.home-client-section h2 {
    color: #099fd0;
    font-weight: 300;
    font-size: 43px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.home-client-section p {
    color: #8d8d8d;
    line-height: 30px;
}
.home-client-section span {
    font-size: 12px;
    color: #099fd0;
    margin-top: 50px;
    display: block;
}
.home-news-section {
    display: inline-block;
    width: 100%;
    padding: 40px 0 60px;
}
.home-news-section h2 {
    color: #099fd0;
    font-weight: 300;
    font-size: 43px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
}
.news-item {
    width: 33.33333%;
    float: left;
    overflow: hidden;
}
.news-item-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.news-item-img h3 {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    background: rgba(9, 159, 208, 0.8);
    width: 100%;
    font-size: 23px;
    font-weight: 300;
    color: #fff;
    padding: 15px 0 15px 30px;
}
.news-item-img img {
    width: 100%;
    height: auto;
    transition: 0.8s;
}
.news-item:hover img {
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -ms-transform: scale(1.25);
    -o-transform: scale(1.25);
    transform: scale(1.25);
    -webkit-transition: -webkit-transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out;
}
.news-item-content {
    background: #e7e7e7;
    position: relative;
    padding: 15px 30px 100px 30px;
    font-size: 12px;
    color: #757575;
    line-height: 22px;
    transition: 0.8s;
}
.news-item:nth-child(2n+2) .news-item-content {
    background: #d6d6d6;
}
.news-item-content a {
    background: #000;
    color: #fff;
    display: block;
    width: 148px;
    margin: 50px auto 0;
    padding: 12px 0;
    text-align: center;
    font-size: 16px;
    transition: 0.5s;
    position: absolute;
    left: 50%;
    bottom: 0;
    margin: 0 0 0 -74px;
}
.news-item-content a:hover {
    background: #099fd0;
    width: 100%;
    left: 0;
    margin: 0;
}
/* ===========================================================================
 * PAGE
 * ======================================================================== */
#page-section {
    padding-top: 184px;
}
.page-banner {
    height: 250px;
    background-size: cover;
    background-position: center center;
    background-color: #099fd0;
    position: relative;
    background-repeat: no-repeat;
}
.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}
.page-banner h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    top: 80px;
    z-index: 1;
}
.page-container {
    background: #eeeeee;
    padding: 80px 50px;
    display: inline-block;
    width: 100%;
}
.page-container h1 {
    font-weight: 300;
    color: #099fd0;
    font-size: 43px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}
.page-container h2 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
}
.page-container p {
    margin-bottom: 30px;
    line-height: 30px;
    font-size: 14px;
}
.page-container ol,
.page-container ul {
    margin: 0 0 30px 20px;
}
.page-container ul li {
    font-size: 14px;
    margin-bottom: 10px;
    list-style: disc;
}
.page-container ol li {
    font-size: 14px;
    margin-bottom: 10px;
    list-style: decimal;
}
.services-item p {
    font-size: 13px;
    margin-bottom: 30px;
}
.services-item img {
    width: 100%;
    height: auto;
}
.services-item {
    width: 33.33333%;
    float: left;
}
.services-item:nth-child(2) {
    padding-left: 70px;
}
.services-item:nth-child(3) {
    padding-left: 70px;
}
.page-contact-section {
    position: relative;
    padding: 60px;
    background: #d9d9d9;
    border: 15px solid #eeeeee;
}
.page-contact-section h2 {
    font-size: 30px;
    color: #099fd0;
    font-weight: 300;
    position: relative;
    z-index: 1;
    width: 60%;
}
.page-contact-section a {
    position: absolute;
    top: 50%;
    right: 60px;
    margin-top: -40px;
    border: 2px solid #099fd0;
    transition: 0.8s;
}
.page-contact-section a:hover {
    background: rgba(9,159,208,0.5);
}
.page-contact-section img {
    position: absolute;
    right: -12px;
    top: -89px;
    width: 180px;
}
.contact-section {
    display: inline-block;
    width: 100%;
}
.contact-left {
    width: 40%;
    float: left;
    padding-right: 50px;
}
.contact-left p {
    margin-bottom: 30px;
}
.contact-right {
    width: 60%;
    float: left;
}
.contact-right input[type="text"],
.contact-right input[type="email"],
.contact-right input[type="tel"] {
    width: 100%;
    font-size: 12px;
    background: #e0e0e0;
    color: #099fd0;
    height: 75px;
    margin: 3px 0;
    padding-left: 30px;
}
.contact-right input[type="text"]:focus,
.contact-right input[type="email"]:focus,
.contact-right input[type="tel"]:focus,
.contact-right textarea:focus {
    background: #fff;
}
.contact-right textarea {
    height: 150px;
    font-size: 12px;
    background: #e0e0e0;
    color: #099fd0;
    padding: 30px;
    width: 100%;
    resize: none;
    margin: 3px 0;
}
.contact-right input[type="submit"] {
    background: #099fd0;
    color: #fff;
    font-size: 12px;
    padding: 10px 60px;
    float: right;
}
.resource-left {
    width: 390px;
    float: left;
    padding-right: 40px;
}
.resource-left p:first-child {
    font-size: 20px;
    line-height: 34px;
}
.resource-left p {
    margin-bottom: 30px;
    font-size: 13px;
}
.resource-right {
    width: 710px;
    float: left;
    overflow: hidden;
}
.download-item {
    text-align: center;
    border: 1px solid #e1e1e1;
    width: 220px;
    height: 220px;
    float: left;
    margin: 0 25px 25px 0;
    position: relative;
    overflow: hidden;
    overflow-x :hidden;
    overflow-y: hidden;
}
.download-item:nth-child(3n+3) {
    margin: 0 0 25px 0;
}
.download-item h3 {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 300;
}
.download-grid {
    position: relative;
}
.download-content {
    position: absolute;
    background: #099fd0;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
}
.download-content p {
    font-size: 12px;
    color: #fff;
    line-height: normal;
}
.download-content h3 {
    color: #fff;
    margin-bottom: 30px;
}
.download-front {
    padding: 80px 0;
    height: 100%;
}
.blog-image img {
    width: 100%;
}
.blog-item h3 {
    font-weight: 300;
    color: #099fd0;
    margin: 20px 0;
}
.blog-item p {
    font-size: 13px;
}
.blog-meta {
    margin-top: 15px;
}
.blog-meta > ul > li {
    color: #099fd0;
    font-size: 13px;
    display: inline;
    margin: 0 5px;
}
.blog-meta > ul > li > i {
    margin-right: 5px;
}
.blog-item,
.grid-sizer {
    width: 33.33333%;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}
.blog-image {
    overflow: hidden;
}
.blog-image img {
    transition: 0.3s;
    transform: scale(1);
}
.blog-item:hover .blog-image img {
    transform: scale(1.1);
}
.testimonial-grid {
    display: inline-block;
    width: 100%;
    margin-bottom: 50px;
}
.testimonial-item {
    width: 100%;
    background: #e0e0e0;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}
.testimonial-image {
    width: 30%;
    display: flex;
    background-color: #fff;
}
.testimonial-item:nth-child(3n+3) {
    margin-right: 0;
}
.testimonial-image img {
    width: 100%;
    margin: auto 0;
}
.testimonial-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}
.testimonial-content {
    width: 70%;
    padding: 20px 30px;
}
.testimonial-content p {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 20px;
}
.testimonial-content p:last-child {
    margin-bottom: 0;
}
.testimonial-content img {
    width: auto;
    height: 300px;
}
/* ===========================================================================
 * FOOTER
* ======================================================================== */
.single-page {
    display: inline-block;
    width: 100%;
}
.single-page h1 {
    color: #fff;
    font-weight: 300;
    font-size: 43px;
    text-align: center;
    background: #099fd0;
    padding: 30px 0;
}
.single-entry {
    width: 900px;
    float: left;
    padding-right: 50px;
}
.single-page .container {
    margin-top: 80px;
}
.single-date {
    margin-bottom: 15px;
    color: #099fd0;
    display: inline-block;
    width: 100%;
}
.single-date ul li {
    float: left;
}
.single-date ul li:first-child {
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #099fd0;
}
.single-date i {
    margin-right: 10px;
}
.single-entry p {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 26px;
}
.single-entry img {
    float: right;
    margin: 0 0 20px 20px;
}
.single-sidebar {
    width: 300px;
    float: left;
}
.single-thumbnail {
    margin-bottom: 30px;
}
.single-thumbnail img {
    width: 100%;
}
.single-sidebar h2 {
    color: #099fd0;
    font-weight: 300;
    font-size: 26px;
    margin-bottom: 20px;
    border-bottom: 1px solid #099fd0;
    display: inline-block;
    padding-bottom: 10px;
}
.cat-list {
    margin-bottom: 50px;
}
.cat-list > ul {
    margin-left: -15px;
}
.cat-list > ul > li {
    padding: 0;
    text-align: right;
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.cat-list > ul > li > a {
    color: #099fd0;
    float: left;
    text-transform: uppercase;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
}
.cat-list > ul > li > a:hover {
    background: #099fd0;
    color: #fff;
}
.cat-list > ul > li > span {
    position: relative;
    top: 10px;
}
.tags-list a {
    display: inline-block;
    font-size: 14px !important;
    background: #099fd0;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 10px;
    float: left;
    margin: 0 20px 20px 0;
    border-radius: 5px;
}
/* ===========================================================================
 * FOOTER
* ======================================================================== */
#footer {
    background: #066e90;
    margin-top: 80px;
}
.back-to-top {
    background: #e4e4e4;
    text-align: center;
}
.back-to-top img {
    position: relative;
    top: 35px;
    cursor: pointer;
}
.footer-top {
    background: #099fd0;
    display: inline-block;
    width: 100%;
    padding: 50px 0;
}
.footer-top h2 {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
}
.footer-menu {
    width: 50%;
    float: left;
}
.footer-menu ul > li {
    float: left;
}
.footer-menu ul > li > a {
    color: #fff;
    font-size: 12px;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid #fff;
    transition: 0.8s;
}
.footer-menu ul > li > a:hover {
    color: #271f20;
}
.footer-menu ul > li:last-child a {
    border: 0;
    padding: 0;
    margin: 0;
}
.footer-newsletter {
    float: right;
}
.footer-newsletter .wpcf7-form-control-wrap {
    width: auto;
    float: left;
}
.footer-newsletter p {
    font-size: 12px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
}
.footer-newsletter input[type="email"] {
    height: 46px;
    width: 345px;
    padding-left: 15px;
    color: #099fd0;
}
.footer-newsletter input[type="submit"] {
    width: 116px;
    height: 46px;
    background: #000;
    color: #fff;
    font-weight: 600;
    transition: 0.8s;
    float: left;
}
.footer-newsletter .wpcf7-not-valid-tip {
    display: none;
}
.footer-newsletter input[type="submit"]:hover {
    background: #066e90;
}
.footer-middle {
    background: #066e90;
    text-align: center;
    padding: 26px 0;
}
.footer-middle ul > li {
    display: inline-block;
    margin: 0 4px;
}
.footer-middle ul > li > a {
    background: #271f20;
    color: #fff;
    border-radius: 100%;
    width: 38px;
    height: 38px;
    display: block;
    padding: 9px 0;
    transition: 0.8s;
}
.footer-middle ul > li > a:hover {
    background: #099fd0;
    transform: rotate(360deg);
}
.footer-bottom {
    color: #fff;
    background: #271f20;
    text-align: center;
    font-size: 14px;
    padding: 25px 0 15px;
}
/* ===========================================================================
 * CONTACT PLUGINS
 * ======================================================================== */
.simplenewsletter-success {
    font-size: 12px;
    color: #fff;
    font-weight: 400;
    position: relative;
}
.simplenewsleter-field {
    float: left;
    position: relative;
}
.error {
    position: absolute;
    font-size: 12px;
    color: white;
    font-weight: 400;
}
.wpcf7-response-output {
    padding: 0 !important;
    border: 0 !important;
    margin: 40px 0 0 !important;
    clear: both;
}
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}
.wpcf7-not-valid-tip {
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 12px !important;
    color: #099fd0 !important;
}
#profiles {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}
#profiles .item {
    padding: 15px;
    width: 25%;
}
#profiles .item .photo {
    overflow: hidden;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#profiles .item .photo img {
    width: 100%;
}
#profiles .item h3 {
    font-weight: 400;
    font-size: 22px;
    color: #fff;
}
#profiles .item .content {
    color: #fff;
    padding: 20px;
    background-color: #099FD0;
}
#profiles .item .content .title {
    min-height: 100px;
}
#profiles .item .content .meta {
    font-size: 14px;
    margin-top: 5px;
}
#profiles .item .content .sm {
    margin: 20px 0 0;
}
#profiles .item .content .sm li {
    list-style: none;
    display: inline;
    margin-right: 10px;
}
#profiles .item .content .sm a {
    color: #fff;
}
#profile-details {
    display: flex;
    flex-wrap: wrap;
}
#profile-details .photo {
    width: 30%;
    overflow: hidden;
}
#profile-details .photo img {
    width: 100%;
}
#profile-details .content {
    width: 70%;
    padding-left: 40px;
}
#profile-details .content .paragraph {
    margin-top: 30px;
}
#profile-details .content .paragraph p {
    margin-bottom: 15px;
}
#profile-details .content .meta {

}
#profile-details .content .sm {
    margin-top: 30px;
}
#profile-details .content .sm li {
    display: inline;
    margin-right: 10px;
}
#products .product-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 40px;
    margin-bottom: 40px;
}
#products .product-item .photo {
    width: 40%;
}
#products .product-item .photo img {
    width: 100%;
}
#products .product-item .content {
    width: 60%;
    padding-left: 30px;
}
#products .product-item .content p {
    margin-bottom: 15px;
    line-height: normal;
}
#products .product-item .content .book-btn {
    font-size: 14px;
    color: #fff;
    font-weight: 300;
    display: block;
    background: #099fd0;
    width: 140px;
    padding: 12px 0;
    z-index: 1;
    position: relative;
    text-align: center;
}
#single-product {
    display: flex;
    flex-wrap: wrap;
}
#single-product .photo {
    width: 40%;
}
#single-product .photo img {
    width: 100%;
}
#single-product .content {
    width: 60%;
    padding-left: 30px;
}
#single-product .content p {
    margin-bottom: 15px;
    line-height: normal;
}
#single-product .content .attributes div {
    margin-bottom: 20px;
}
#single-product .content select {
    border: 1px solid #ccc;
    height: 40px;
    padding: 0 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
#products .product-item .content .quantity input.qty,
#single-product .content .quantity input.qty {
    height: 40px;
    border: 1px solid #099fd0;
    width: 70px;
    padding: 0 15px;
    text-align: center;
}
.payment-option {
    margin-bottom: 40px;
}
.payment-option label {
    display: table;
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;
}
.payment-option input[type=radio] {
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    opacity: 0;
}
.payment-option input[type=radio] + span:before {
    font-family: FontAwesome;
    content: "\f056";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    font-size: 25px;
    text-align: center;
}
.payment-option span {
    padding-left: 30px;
    position: relative;
    font-weight: 600;
}
.payment-option input[type=radio]:checked + span {
    color: #099fd0;
}
.payment-option input[type=radio]:checked + span:before {
    content: "\f058";
    color: #099fd0;
}
.quantity-submit {
    display: flex;
    flex-wrap: wrap;
}
.quantity-submit input[type="submit"] {
    background-color: #099fd0;
    color: #fff;
    padding: 0 20px;
}
.contact-form h2 {
    font-weight: 300;
    color: #099fd0;
    font-size: 43px;
    margin-bottom: 50px;
}
.contact-form {
    background-color: #EEEEEE;
    margin-top: 50px;
    padding: 50px;
}
.contact-form textarea {
    height: 150px;
    font-size: 12px;
    background: #e0e0e0;
    color: #099fd0;
    padding: 30px;
    width: 100%;
    resize: none;
    margin: 3px 0;
}
.contact-form input[type="submit"] {
    background: #099fd0;
    color: #fff;
    font-size: 12px;
    padding: 10px 60px;
    float: right;
}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"] {
    width: 100%;
    font-size: 12px;
    background: #e0e0e0;
    color: #099fd0;
    height: 75px;
    margin: 3px 0;
    padding-left: 30px;
}


/**********************************************
 * ********************************************
 * ********************************************
 *  h26k2 - custom testimonial slider
 * * ********************************************
 * * ********************************************
 * * ********************************************/

        .slider {
            height:400px;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slider__nav {
  width: 12px;
  height: 12px;
  margin: 2rem 12px;
  border-radius: 50%;
  z-index: 8;
  outline: 6px solid #ccc;
  outline-offset: -6px;
  box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.slider__nav:checked {
  -webkit-animation: check 0.4s linear forwards;
          animation: check 0.4s linear forwards;
}
.slider__nav:checked:nth-of-type(1) ~ .slider__inner {
  left: 0%;
}
.slider__nav:checked:nth-of-type(2) ~ .slider__inner {
  left: -100%;
}
.slider__nav:checked:nth-of-type(3) ~ .slider__inner {
  left: -200%;
}
.slider__nav:checked:nth-of-type(4) ~ .slider__inner {
  left: -300%;
}
.slider__nav:checked:nth-of-type(5) ~ .slider__inner {
  left: -400%;
}
.slider__nav:checked:nth-of-type(6) ~ .slider__inner {
  left: -500%;
}
.slider__nav:checked:nth-of-type(7) ~ .slider__inner {
  left: -600%;
}
.slider__nav:checked:nth-of-type(8) ~ .slider__inner {
  left: -700%;
}
.slider__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 800%;
  height: 100%;
  -webkit-transition: left 0.4s;
  transition: left 0.4s;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}
.slider__contents {
  height: 100%;
  padding: 2rem;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex-flow: column nowrap;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slider__image {
  font-size: 2.7rem;
      color: #2196F3;
}
.slider__caption {
  font-weight: 500;
  margin: 2rem 0 1rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}
.slider__txt {
  color: #999;
  margin-bottom: 3rem;
  max-width: 300px;
}

@-webkit-keyframes check {
  50% {
    outline-color: #333;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #333;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

@keyframes check {
  50% {
    outline-color: #333;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #333;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

.slider__contents p {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;

}

.slider__contents img:nth-child(1){
	margin-top:-8em;
}

@media only screen and (max-width:768px){
	.slider__contents img:nth-child(1){
		margin-top:-3em;
	}
}


.slider__contents p:nth-child(1){
	margin-bottom:1em;
}

.slider__contents p:nth-child(2){
	line-height: 1.8em;
    font-size: 14px;	
}

.slider__contents p:nth-child(4),
.slider__contents p:nth-child(5){
	display:none;
}

.slider__contents img{
	width:100px;
	margin:20px;
}

.home-testimonial-section h2{
	margin-top:2em;
    color: #099fd0;
    font-weight: 300;
    font-size: 43px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
}

/**** Home Footer - h26k2 ***********/


.footer-newsletter input[type="email"]{
	margin-bottom:0.5em;
}





/*********** blog / resource page [grid] - h26k2 *********/

.blog-grid.masonry .blog-item .blog-meta ul li:nth-child(2){
	display:none;
}


/*********** services page grid fixes - h26k2 ********************/

.services-grid .services-item h3{
	display:none;
}


