/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 14px;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * Fonts
 */


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
}

header nav.primary ul li {
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
}

header nav.secondary ul li {
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
    font-weight: 300;
}

ul.menu li.menu-item a:link { color:#666; text-decoration: none; text-transform: uppercase;}
ul.menu li.menu-item a:visited { color:#666; }
ul.menu li.menu-item a:hover { color:#000; }
ul.menu li.menu-item a:active { color:#000; }


/* Images */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.clear {
    clear:both;
}

body {
    background: #e8f2fb;
}

#wrapper {
    background: #fff;
    margin: 0 auto;
    position: relative;
    width: 1040px;
}

#wrapper header {
    color: #000;
    margin: 0 auto 30px;
    width: 100%;
}

#wrapper header div.blue-strip {
    background: #3b9af0;
    height: 20px;
    position: relative;
}

header div.inner {
    padding: 0;
    width: 960px;
}

div#wrapper header div.inner div.right {
    width: 600px;
}

header div.right {
    float: right;
    width: 680px;
}

header div.phone {
    display: block;
    float: right;
    margin-top: 20px;
    margin-right: 4px;
    position: relative;
    width: 170px;
}

div.phone div.left {
    float: left;
    margin-right: 10px;
    position: relative;
    width: 30px;
}

div.phone div.right {
    float: left;
    position: relative;
    width: auto;
}

header div.right nav.primary {
    display: block;
    float: right;
    margin-right: 30px;
    margin-top: 80px;
    position: relative;
    text-align: right;
}

div#wrapper header div.right nav.primary ul {
    padding: 0px;
    width: 700px;
}

header div.right nav.primary ul li {
    display: inline;
    font-size: 16px;
}

header div.right nav.primary ul li.current_page_item {
    border-bottom: 3px solid #F69915;
    text-align: center;
}

nav.primary div.menu-primary-container ul.menu li.menu-item {
    margin: 0 10px;
}

header nav.primary ul li:after {
    content: '';
    /*margin-left: 14px;*/
}

header nav.primary ul li:last-child:after {
    content: '';
    margin: 0px;
}

/* Home page */

/*div#wrapper div.slider,
div#wrapper div.slider img {
    margin: 0 auto;
    position: relative;
    text-align: center;
}*/

div#wrapper div.slider {
    background: url("/wp-content/uploads/2014/05/banner-man-phone-3.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 290px;
    margin: 0 auto;
    padding: 68px 0 0 78px;
    position: relative;
    text-align: center;
    width: 1040px;
}

div#wrapper div.slider h2 {
    color: #FFFFFF;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    position: relative;
    text-align: left;
    width: 400px;
}

div.inner {
    margin: 0 auto;
    padding: 30px;
    position: relative;
}

div#wrapper {
    background: #fff;
    border-left: 1px solid #d2dce5;
    border-right: 1px solid #d2dce5;
}

div#wrapper h1 {
    color: #107cc7;
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
    font-size: 26px;
    font-weight: 300;
}

div#content div.post div.entry h2 {
    color: #0f5db2;
}

div.inner .left {
    display: inline-block;
    padding-right: 50px;
    position: relative;
    width: 590px;
}

div#wrapper div.inner div#content div.post aside.right {
    display: inline-block;
    position: relative;
    width: 290px;
}

div#content div.post aside.right  {
    background: url("/wp-content/themes/dmo/img/speechmark.png") no-repeat scroll right top rgba(0, 0, 0, 0);
    color: #278BE7;
    /*margin-top: 22px;*/
    padding: 10px;
    vertical-align: top;
}

div#content div.post div.entry h2 {
    margin-top: 0;
}

div.post aside.right p strong {
    color: #595c60;
}

a:link {color: #107cc7; text-decoration: none;}
a:visited {color: #107cc7;}
a:hover {color: #107cc7; text-decoration: underline;}
a:active {color: #107cc7;}

div#wrapper div.services {
    color: #000;
}

div.services a:link {color: #107cc7; display:block; padding:10px 0px; text-decoration: none;}
div.services a:visited {color: #107cc7;}
div.services a:hover {color: #107cc7; text-decoration: underline;}
div.services a:active {color: #107cc7;}

div.services div.inner div.panel {
    display: inline-block;
    margin-right: 10px;
    padding: 10px;
    position: relative;
    vertical-align: top;
    width: 284px;
}

div.inner div.panel img {
    margin: 0 auto;
}

div#wrapper div.clients {
    background: #fff;
}

div#wrapper div.clients h1 {
    color: #107cc7;
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
}

div.clients div.inner {
    margin: 0 auto;
    text-align: center;
}

div.clients div.inner img {
    margin: 0 auto;
    text-align: center;
}

div.clients div.inner img.top {
    width: 180px;
}

div#wrapper footer {
    background: #262b30;
    color: #bec0c1;
}

footer div.inner div.left div img {
    margin-right: 30px;
    padding: 4px;
}

footer div.inner div.left div p,
footer div.inner div.left div a:link {
    color: #fff;
    font-family: 'Montserrat', 'helvetica', arial, sans-serif;
    font-size: 18px;
}

footer div.inner div.copyright p {
    font-size: 12px;
    margin-top: 30px;
}

footer div.inner div.left div p {
    display: inline-block;
    width: 300px;
}

div#wrapper footer ul li {
    list-style: none;
    margin-right:19px;
}


div.services div.inner table {
    border-top: 1px solid #d2dce5;
    border-bottom: 1px solid #d2dce5;
}

div.services div.inner table tbody tr {
    border-bottom: 1px solid #d2dce5;
}

div.services div.inner table tbody tr td {
    border-right: 1px solid #d2dce5;
    padding: 20px;
    vertical-align: top;
    width: 280px;
}

div.services div.inner table tbody tr td:last-child {
    border-right: 1px solid #fff;
}

div#wrapper div.services div.inner table tbody tr td h1 {
    font-size: 16px;
}

td,
td:hover {
    -webkit-transition: all 500ms ease; /* Firefox */
    -moz-transition: all 500ms ease; /* WebKit */
    -o-transition: all 500ms ease; /* Opera */
    transition: all 500ms ease; /* Standard */
}


.btn {
  background: #3B9AF0;
  background-image: -webkit-linear-gradient(top, #3B9AF0, #2980b9);
  background-image: -moz-linear-gradient(top, #3B9AF0, #2980b9);
  background-image: -ms-linear-gradient(top, #3B9AF0, #2980b9);
  background-image: -o-linear-gradient(top, #3B9AF0, #2980b9);
  background-image: linear-gradient(to bottom, #3B9AF0, #2980b9);
  -webkit-border-radius: 30;
  -moz-border-radius: 30;
  border-radius: 30px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

div#content div.post div.entry p a.btn:link {color: #fff; display: inline-block; margin-top:10px; text-decoration: none;}
div#content div.post div.entry p a.btn:visited {color: #fff;}
div#content div.post div.entry p a.btn:hover {color: #fff;}
div#content div.post div.entry p a.btn:active {color: #fff;}

/* jQuery hover  - http://css-tricks.com/pop-hovers/ */

.box {
  padding: 2em;
  /*border: 1px solid #ccc;*/
  display: block;
  height: 200px;
  float: left;
  /*margin: -1px 0 0 -1px;*/
  color: black;
  background: linear-gradient(
     white, white 50%, #E8F2FB 50%, #E8F2FB
  );
  background-size: 100% 202%;
  transition: all 0.2s ease;
  animation: down-bump 0.4s ease;
}

.box h2 {
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.box:hover {
  background-position: 100% 100%;
}

.box:hover h2 {
  color: #48ad26;
}

.box:hover h2 span {
  color: white;
}

.box:hover h3 {
  color: #999;
}

div.services div.inner table tbody tr td a.box p {
    color: #000;
}

div.services div.inner table tbody tr td a.box:hover {
    text-decoration: none;
    color: #fff;
}


/* Full width */

div#wrapper div#content {
    background: #FFF;
    width: 100%;
}

div#wrapper div#content div.post {
    margin: 0 auto;
/*    padding: 20px 0;
*/    position: relative;
    width: 960px;
}

div#wrapper div#content p#edit-entry {
    margin: 0 auto;
    padding: 10px 0 40px;
    position: relative;
    width: 960px;
}

div#wrapper div#content.full-width div.post div.entry h2 {
    margin-top: 40px;
}


/* Left hand nav */

div#wrapper div#content div.post h1,
div#wrapper div#content div.post h2,
div#wrapper div#content div.post h3,
div#wrapper div#content div.post h4,
div#wrapper div#content div.post h5 {
    font-weight: 300;
}

div#wrapper div.left-hand-nav div.post div.left nav li.page_item a:link {text-decoration:none;}
div#wrapper div.left-hand-nav div.post div.left nav li.page_item a:visited {text-decoration:none;}
div#wrapper div.left-hand-nav div.post div.left nav li.page_item a:hover {text-decoration:underline;}
div#wrapper div.left-hand-nav div.post div.left nav li.page_item a:active {text-decoration:none;}

div#wrapper div.left-hand-nav div.post div.left {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 240px;
}

div#wrapper div.left-hand-nav div.post div.left nav ul {
    padding: 0;
}

div#wrapper div.left-hand-nav div.post div.entry {
    border-left: 1px solid #e6e7e8;
    display: inline-block;
    padding: 0 0 0 40px;
    position: relative;
    width: 600px;
}

div.left-hand-nav div.left-hand-nav div.post div.entry h1 {
    margin-top: 0;
}

div.left-hand-nav div.post div.left nav li.page_item {
    margin-bottom: 10px;
}

/* White background */

div#content a:link {color: #107cc7; text-decoration: underline;}
div#content a:visited {color: #107cc7;}
div#content a:hover {color: #107cc7; text-decoration: none;}
div#content a:active {color: #107cc7;}


/* Contact */
div#wrapper div.contact-us div.left {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 200px;
}

div#wrapper div.contact-us div.post div.entry {
    border-left: 1px solid #e6e7e8;
    display: inline-block;
    padding: 0 0 0 40px;
    position: relative;
    width: 600px;
}

div.contact-us div.post div.left ul {
    padding: 0;
}

div.contact-us div.post div.left ul li {
    list-style-type: none;
    margin-bottom: 10px;
}

div#content.full-width div.post div.entry div.contact {
    display: inline-block;
    margin-left: 60px;
    vertical-align: top;
    width: 60%;
}

div.wpcf7 {
    display: inline-block;
    margin-right: 20px;
    position: relative;
    width: 32%;
}

html.js body.customize-support div#wrapper div#content.full-width div.post div.entry div.contact h2.contact {
    margin-top: 10px;
}

div.contact p img {
    height: 24px;
    margin-left: -5px;
    margin-top: 6px;
    text-align: left;
}

/* Testimonials */

table.testimonials {
    border-top: 1px solid #d2dce5;
    border-bottom: 1px solid #d2dce5;
}

table.testimonials tbody tr {
    border-bottom: 1px solid #d2dce5;
}

table.testimonials tbody tr td {
    border-right: 1px solid #D2DCE5;
    height: 300px;
    padding: 20px;
    vertical-align: top;
    width: 278px;
}

table.testimonials tbody tr td:last-child {
    border-right: 1px solid #fff;
}

table.testimonials tbody tr td h1 {
    font-size: 16px;
}

table.testimonials tbody tr td.box div.inner {
    padding: 10px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#content table.testimonials td.box div.inner a:link {text-decoration: none;}
#content table.testimonials td.box div.inner a:visited {text-decoration: none;}
#content table.testimonials td.box div.inner a:hover {text-decoration: underline;}
#content table.testimonials td.box div.inner a:active {text-decoration: none;}



/* Sub-page */

html.js body.customize-support div#wrapper div#content div.post h1


/* 404 */

html.js body.customize-support div#wrapper div#content.narrowcolumn  {
    margin: 0 auto;
    width: 960px;
}



/* Footer */

footer a:link {color: #bec0c1; text-decoration: none;}
footer a:visited {color: #bec0c1;}
footer a:hover {color: #bec0c1; text-decoration: underline;}
footer a:active {color: #bec0c1;}

footer div.inner div.left {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 400px;
}

ul.menu {
    padding: 0;
    vertical-align: top;
}

footer div.inner div.left ul.left {
    display: inline-block;
    padding: 0;
    position: relative;
    vertical-align: top;
    width: 100px;
}

footer div.inner div.left ul.right {
    display: inline-block;
    position: relative;
    width: 200px;
}

footer div.inner div.right {
    display: inline-block;
    float: right;
    position: relative;
    width: 510px;
}

footer div.inner div.left h2 {
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
}

footer div.inner div.right ul div.menu-primary-container ul.menu {
    float: right;
}

div.right ul div.menu-primary-container ul#menu-primary-1.menu li.menu-item,
footer div.inner div.right ul li {
    display: inline-block;
    font: 'Montserrat', sans-serif;
    margin-right: 20px;
    text-align: right;
    text-transform: uppercase;
}

footer div.inner div.left p img {
    margin-right: 10px;
}

footer div.inner div.right div.col ul {
    height: 240px;
    padding: 0px;
}

footer div.inner div.right div.col {
    display: inline-block;
    margin-right: 16px;
    position: relative;
    vertical-align: top;
    width: 150px;
}

footer div.menu-primary-container ul.menu li.menu-item a:link { color: #BEC0C1;}
footer div.menu-primary-container ul.menu li.menu-item a:visited { color: #BEC0C1;}
footer div.menu-primary-container ul.menu li.menu-item a:hover { color: #666;}
footer div.menu-primary-container ul.menu li.menu-item a:active { color: #fff;}

footer div.inner div.right a.btn:visited { background: #5e6367; }
footer div.inner div.right a.btn:hover { background: #7d858c; }
footer div.inner div.right a.btn:active { background: #5e6367; }

footer div.inner div.right div#col1 .btn {
    display: block;
    margin-top: 10px;
}

footer div.inner div.right div#col2 .btn {
    display: block;
    margin-top: 10px;
}

footer div.inner div.right div#col3 .btn {
    display: block;
    margin-top: 10px;
}

footer div.inner div.left p {
    font-family: 'Montserrat', sans-serif;
}

footer div.inner div.right div.menu-primary-container ul#menu-primary-1.menu li.menu-item a {
    font-family: 'Montserrat', sans-serif;
}

footer div.inner div.right div.menu-primary-container ul#menu-primary-1.menu {
    float: right;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
