/***************** AUTHORS CODE STARTS HERE *****************/

a {
    outline: none!important;
}

#header-wrapper {
    width: 100%;
    background: url(../images/bg.png) center 60px no-repeat;
    padding-bottom: 46px;
}

    #header {
        width: 961px;
        margin: 0 auto;
    }

    #header #logo {
        width: 224px;
        float: left;
        margin: 93px 0 0 4px;
    }

    #header #menu-main-menu {
        margin: -50px 0 0 228px;
        width: 800px;
        display: none;
        
    }

    #header #menu-main-menu li {
        display: inline;
        margin-right: 1px;
        background-color: transparent!important;
    }
    
    #menu-main-menu li:first-child {
        margin-left: 146px;
    }
    
        #menu-main-menu a {
            font-family: ‘Times New Roman’, Times, serif;
            font-size: 16px;
            text-transform: uppercase;
            color: #555852;
            padding: 10px 10px;
            border: none;
        }
        
            #menu-main-menu a:hover {
                background-color: #e5e5e5;
            }
        
        #menu-main-menu .sub-menu {
            background-color: #fff;
            box-shadow: none;
        }
        
            #menu-main-menu .sub-menu li {
                padding: 0;
                margin: 0!important;
            }
        
            #menu-main-menu .sub-menu a {
               font-size: 14px;
               text-transform: none;
               border-right: none;
               width: 200px;
               padding: 8px 10px 8px 10px;
            }
            
            #menu-main-menu li:nth-child(3) .sub-menu a {
                width: 206px;
                padding: 8px 25px 8px 10px;
                white-space: normal!important;
            }
            
                .lt-ie9 #menu-main-menu li:nth-child(3) .sub-menu a {
                    width: 198px;
                    padding-right: 30px;
                }
         
#content-wrapper {
    position:relative;
    top: -2px;
    width: 100%;
    margin-top: -46px;

}

    #mainarea {
        width: 1037px;
        margin: 0 auto;
        background-color: #fff;
        padding-bottom: 22px;
    }
    
    .front #mainarea {
        padding-bottom: 0;
    }
    
        #main_content {
            width: 737px;
            float: left;
            margin: 4px 0 0 43px; /*previously margin-top 4px*/
        }
        
            .blog #main_content {
            	margin-top: -30px;
             }	
        
            #slides li {
                list-style: none;
            }
            
            #services-frontbox div{
                width: 224px;
                float: left;   
                margin: 0 21px 21px 0;
                background-color: #d6e9eb;
                padding-bottom: 30px;
            }
            
                #services-frontbox img {
                    width: 100%;
                    height: 100%;
                }
                
                #services-frontbox h4 {
                    font-family: Arial;
                    font-size: 14px;
                    font-weight: bold;
                    color: #ffffff;
                    line-height: normal;
                    text-align: center;
                    margin: 0;
                    padding: 13px 2px 0 20px!important;
                    background: #007183;
                    position: relative;
                    top: -4px;      
                    height: 48px;   
                    text-align: left;       
               }
                
                #services-frontbox p {
                    font-family: Arial;
                    font-size: 12px;
                    font-weight: normal;
                    color: #575757;
                    line-height: 17px;
                    margin: 0 0 15px 0;
                    padding: 0 20px 0 20px;
                }
                
                #services-frontbox div p:nth-of-type(2){
                    height: 65px;
                }
                
                    #services-frontbox p a {
                        display: block;
                        margin-top: 5px;
                        color: #007183;
                        font-weight: bold;
                    }
                    
             #teammembers-section div {
                 float: left;
             }
             
             #teammembers-section div:first-child {
                 margin-right: 21px
             }
             
             #teammembers-section div:nth-child(2) {
                 float: left;
                 width: 554px;
                 margin-bottom: 15px
             }
             
                #teammembers-section div p {
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: 13px;
                    font-weight: normal;
                    color: #575757;
                    line-height: 20px;
                    margin: 0 0 20px 0;
                }
                
                    #teammembers-section div a {
                        color: #007183;
                    }
                    
                    #teammembers-section div a:hover {
                        text-decoration: underline;
                    }
                
                #teammembers-section div ul {
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: 12px;
                    font-weight: normal;
                    color: #575757;
                    line-height: 20px;
                    list-style: none;
                    padding: 0;
                    margin: 0 0 20px 0;
                }
                
                    #teammembers-section div li {
                        margin: 0 0 9px 0;
                        padding: 0 0 0 15px;
                        background: transparent url('../images/listicon.png') no-repeat 0 6px;
                        list-style: none;
                    }
            
            .title {
                font-family: Georgia, Arial;
                font-size: 20px;
                font-weight: normal;
                color: #575757;
                line-height: normal;
                margin: 19px 0 25px 43px;
                padding: 0 0 5px 0;
                border-bottom: 1px solid #d8d8d8;
                display: block;
                width: 961px;
            }
            
            .pagetitle {
                font-family: Georgia, Arial;
                font-size: 20px;
                font-weight: normal;
                color: #575757;
                line-height: normal;
                margin: 19px 0 25px 43px;
                padding: 0 0 5px 0;
                border-bottom: 1px solid #d8d8d8;
                display: block;
                width: 961px;
                font-weight: normal!important;
            }
            
            .front .title {
                display: none;
            }
            
            .search .title,
            .error404 .title,
            .archive .pagetitle {
                margin-left: 0;
            }
            
            .pageheaders img {
                margin: 19px 0 0 43px;
            }
            
            .entry p {
                font-family: Arial, Helvetica, sans-serif;
                font-size: 13px;
                font-weight: normal;
                color: #575757;
                line-height: 20px;
                margin: 0;
             }
             
             .entry h3 {
                 font-family: Georgia, Arial;
                font-size: 16px;
                font-weight: normal;
                font-style: normal;
                color: #575757;
                line-height: normal;
                margin: 0 0 20px 0;
             }
             
             .page-id-20 .entry a {
                  font-size: 13px;
                  color: #007183!important; 
             }
             
             .entry img.frame {
                 border: 2px #007183 solid;
             }
             
             .entry .alignright {
                 border: 1px #F0F0F0 solid;
             }
             
             .page-id-107 .entry .alignright {
                 margin-left: 20px;
             }
             
             .entry ul {
                 font-family: Arial, Helvetica, sans-serif;
                 font-size: 12px;
                 font-weight: normal;
                 color: #575757;
                 line-height: 20px;
                 list-style: none;
                 padding: 0;
                 margin: 0 0 20px 0;
             }
             
             .entry ul:first-of-type {
                 width: 420px;
             }
             
                .entry li {
                    margin: 0 0 9px 0;
                    padding: 0 0 0 15px;
                    background: transparent url('../images/listicon.png') no-repeat 0 6px;
                    list-style: none;
                }
                
            .blog .post,
            .single .entry,
            .archive .post,
            .not-front .entry {
                width: 710px;
            }
            
                .blog .post_title a ,
                .archive .post_title a{
                    font-family: Arial, Helvetica, sans-serif;
                    color: #007183!important;  
                }
                
                .blog .post p,
                .archive .post p {
                     font-family: Arial, Helvetica, sans-serif;  
                }
                
                    .blog .moretag,
                    .archive .moretag {
                        margin-left: 5px;
                        font-family: Arial, Helvetica, sans-serif;
                        font-weight: bold;
                        color: #007183!important;  
                    }
                    
                .blog .postmetadata,
                .blog small,
                .archive .postmetadata,
                .archive small {
                    font-family: Arial, Helvetica, sans-serif;
                    color: #575757;
                }
                
                    .postmetadata a {
                        color: #007183!important; 
                    }
                    
               .single .centerImg {
                    display: table-cell;
                    width: 710px;
                    text-align: center!important;
                    vertical-align: middle;
                    padding-bottom: 20px;
                }
                
                .blog .navigation a {
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: 15px;
                    color: #007183;
                    margin-right: 25px;
                }
                
                .blog .navigation .alignleft a {
                    margin: 0;
                }
                     
                .wpcf7 p {
                    margin-bottom: 15px; 
                }
                
                .wpcf7-submit {
                     border: none;
                     font-family: Arial, Helvetica, sans-serif;
                     font-size: 14px;
                     background-color: #007183;
                     color: #fff;
                }
                
                #commentform #submit {
                    border: none;
                     font-family: Arial, Helvetica, sans-serif;
                     font-size: 14px;
                     background-color: #007183;
                     color: #fff;
                }
        
        #right_sidebar {
            float: left;
            width: 223px;
            background-color: #ebebeb;
            margin-top: -3px;
        }
        
        .front #right_sidebar {
            margin: 20px 0 15px 0;
        }
        
        .search #right_sidebar,
        .error404 #right_sidebar,
        .archive #right_sidebar {
            margin-top: 66px;
        }
        
            .sideblock {
                padding: 13px 15px 10px 18px;
            }
            
            .sideblock:nth-of-type(2) {
                padding-bottom: 13px;
            }
            
            .front .sideblock:nth-of-type(3) {
                min-height: 619px;
            }
            
            .sideblock h2 {
                 font-family: ‘Times New Roman’, Times, serif;
                 font-size: 22px;
                 color: #555852;
                 border-bottom: 1px #d8d8d8 solid;
            }
            
            .sideblock p,
            .sideblock a {
                font-family: Arial, Helvetica, sans-serif;
                font-size: 13px;
                font-weight: normal;
                color: #575757;
                line-height: 21px;
                margin-top: 21px;
            }
            
            .sideblock a {
                color: #007183;
            }
            
                .sideblock a:hover {
                    text-decoration: underline;
                }
            
                .execphpwidget {
padding-top:20px;
margin:0;
                }
                
                    .execphpwidget a {
                        position: relative;
                        top: -22px;
                    }
                    
                    .execphpwidget a ~ img {
                        margin: 22px 0 0 12px;
                    }
                    
           .recent-post-item p {
               line-height: 16px;
           }
           
           .recent-post-item a {
               line-height: 0px;
           }
             
           .sideblock:nth-of-type(3) ul {
               width: 191px;
               padding: 0;
           } 
                  
               .sideblock:nth-of-type(3) li {
                   list-style: none;
                   margin-bottom: 30px;                   
               }
               
                   .sideblock:nth-of-type(3) li > a {
                       font-family: Arial, Helvetica, sans-serif;
                       font-size: 14px;
                       font-weight: bold;
                       color: #007183;
                   }
                   
                        .sideblock:nth-of-type(3) li a:hover {
                            text-decoration: none;
                        }
                   
                   .sideblock:nth-of-type(3) li p {
                       margin-top: 8px;
                   }
                   
                   .more-link {
                       font-weight: bold!important;
                   }
                   
                   
             .s2w-bare-bones-style,
             .sideblock:nth-child(5) {
                 margin-top: -40px;
                 padding-bottom: 30px;
             }    
                   
                 .s2w-form label,
                 .widgetGuts label {
                     font-family: Arial, Helvetica, sans-serif;
                     font-size: 14px;
                     color: #575757;
                 }
                 
                 .widgetGuts dd,
                 .widgetGuts dt {
                 	margin-bottom: 0!important;
                 	}
                 
                 #s2email,
                 #frm-email {
                     width: 172px;
                     margin-top: 5px;
                     margin-bottom: 5px;
                 }
                 
                 .s2w-btn,
                 .subscribeButton {
                     border: none;
                     font-family: Arial, Helvetica, sans-serif;
                     font-size: 12px;
                     background-color: #007183;
                     color: #fff;
                 }
                           
#footer-wrapper {
    width: 100%;
}

    #footer {
        width: 972px;
        margin: 0 auto;
        padding-bottom: 20px;
    }
    
    .footer_text {
        border-top: 1px #d8d8d8 solid;
    }
    
    #footer-submenu {
        width: 300px;
        float: left;
    }
    
        #footer-submenu ul {
            margin: 10px 0 0 0;
        }
    
    #footer-submenu ul {
        padding: 0;
    }
    
    #footer-submenu li {
        list-style: none;
        display: inline;
        margin-right: 10px;
    }
    
    #footer-link {
        float: right;
        margin-top: 10px;
    }
    
        #footer-submenu li a,
        #footer-link a {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            color: #8a8a8a;
        }


/**for mobile**/
.wptouch-desktop-switch {
font-family: arial;
color:#8a8a8a;
}

.wptouch-desktop-switch a {
color:#007182;
font-family: arial;
}

/*
#main-wrapper {
    filter:alpha(opacity=70);
    opacity:0.5;
    
}
body {
    background:url(../images/template/pixelperfect1.jpg) center top no-repeat;
}
**/

/***************** AUTHORS CODE ENDS HERE *****************/

/** Media Queries **/
    
@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 */
}
    
/** Helpers **/
    
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*
 * 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;
}

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