/*
Theme Name: Mobile Medical Template
Theme URI: http://oriontaylor.com
Author: Orion Taylor
Version: 7.5

*/

* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    min-width: 400px;
}

a img {
    border: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    clear: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    max-width: 50%;
}

.alignright {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
    max-width: 50%;
}

.con-wrap {
    max-width: 1000px;
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}

.section {
    box-sizing: border-box;
    padding: 0 10px;
    clear: both;
}
.section.nopad {
    padding: 0;
}
.clear {
    clear: both;
    width: 100%;
}
.section .pad {
    box-sizing: border-box;
    padding: 30px 0;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    color:#e5182f;
    line-height: 20px;
    padding-bottom: 10px;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    color:#e5182f;
    line-height: 18px;
    padding-bottom: 10px;
}

p {
    padding: 5px 0;
    font-size: 13px;
    color: #7d7d7d;
    line-height: 20px;
}

a {
    font-size: 13px;
    color: #7d7d7d;
    line-height: 20px;
    text-decoration: none;
}

li {
    font-size: 11px;
    color: #7d7d7d;
    line-height: 20px;
}
ul {
    padding-left: 20px;
    zoom: 1;
    overflow: hidden;
}
.section.red {
    background-color:#e5182f;
}

.section.white {
    background-color:#ffffff;
}

.section.grey {
    background-color:#7e7e7e;
}

.section.black {
    background-color:#000000;
}

.section.grey p, .section.grey li, .section.grey a {
    color: white;
}

.section.black p, .section.black li, .section.black a {
    color: white;
}

.section.black .wrench {
    background-image: url(/wp-content/themes/mobile-medical/images/mobmed-blackbg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.section .backtile {
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    height: 100%;
    position: absolute;
    top: 0;
}

.section.red h3 {
    color: #7d7d7d;
}

.section.red p, .section.red li, .section.red a {
    color: white;
}

.backtile, .colcontent {
    display: block;
    vertical-align: top;
}

.section .left {
    left: 0;
}

.section .right {
    right: 0;
}

.section .fourty {
    width: 40%;
}

.section .sixty {
    width: 60%;
}

.colcontent {
    box-sizing: border-box;
    padding: 15px;
    position: relative;
    top: 0;
    display: inline-block;
    text-align: left;
}

.colthree {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
}

.header-logo {
    display: block;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}
.header-logo img {
    display: block;
    margin: 0 auto;
    max-width: 80%;
}
.main-nav {
    width: 100%;
    background-color: #e5182f;
}

#menu-main-navigation {
    list-style-type: none;
    font-size: 0;
    text-align: center;
}

#menu-main-navigation>li {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}

#menu-main-navigation>li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-sizing: border-box;
    display: block;
    padding: 7px 15px;
    cursor: pointer;
}

#menu-main-navigation>li:hover a {
    background-color: #e5182f;
}

@media screen and (max-width: 700px) {
    .section .backtile {
        width: 100%;
        height: auto;
        position: relative;
        display: block !important;
        padding-bottom: 50%;
    }

    .section .colcontent {
        width: 100%;
        position: relative;
        display: block !important;
    }
    .alignleft, .alignright {
        float: none;
        margin: 5px auto;
        max-width: 80%;
        display: block;
    }
    .section .fourty {
        width: 100%;
    }

    .section .sixty {
        width: 100%;
    }
}