
/* Search box placeholder colour */

::-webkit-input-placeholder {
   color: #8AB5D6;
}

:-moz-placeholder { /* Firefox 18- */
   color: #8AB5D6;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #8AB5D6;  
}

:-ms-input-placeholder {  
   color: #8AB5D6;  
}

.search-form form input {
color:#8AB5D6 !important;
}

/* header styling */

.header-right{
margin-top:62px!important;
}

.site-header a:hover {
color: #f9b938 !important;
}

.logo {
margin:25px auto !important;
width:45%;
}

.logo img {
width: 100%;
height:auto;
}

body,
.main-menu li ul,
.tab-content {
  border-color: #f9b938 !important;
}

.main-menu li a:hover {
color: #f9b938 !important;
}

.main_menu a {
color: #8ab5d6;
}

.main_menu a:hover {
color: #f9b938;
}

.menu-toggle-btn {
background-color: #f9b938 !important;
text-align: left;
padding-left: 25px;
font-size: 32px;
}

.current_page_item a {
color: #f9b938 !important;
}

.responsive_menu {
background-color: #004884 !important;
}

/* footer links */

.site-footer a:hover {
color:#f9b938 !important;
}

a.fa.fa-facebook:hover {
text-decoration:none !important;
}

a.fa.fa-twitter:hover {
text-decoration:none !important;
}

.app-download-link {
padding-top:150px;
padding-left:15px;
}

.app-download-link img {
padding-bottom:10px;
}


/* sidebar quick link styling */

.sidebar .widget-main ul li a {
color: #4782b2 !important;
font-weight:700;
}

.sidebar .widget-main ul li a:hover {
color: #4b7ca6 !important;
font-weight:700;
}




/* expands slider white border to fit full picture */

.flexslider {
height: auto !important;
}

@media (max-width: 581px)
.flexslider {
height: auto !important;
}

/* removes underline on slider arrows */

.flex-direction-nav a:hover {
text-decoration:none
}

.flex-direction-nav a:hover {
text-decoration:none
}

.flex-direction-nav a:active{
text-decoration:none
}

.flex-direction-nav a:visited {
text-decoration:none
}

.flex-direction-nav a:link {
text-decoration:none
}

.home-aboutbox-title {
margin-bottom:30px;
color:black !important;
}

.home-aboutbox-image{
margin-top:5px !important;
}

@media screen and (max-width: 580px) {
.home-aboutbox-image {
width:100% !important;
height:auto !important;
}
}


/* department page */

#menu-departments {
list-style-type: none;
margin-left:-39px;
}


/* styling for contact-details on contact page */

.contact-details {
margin-top:30px;
padding:20px 20px 50px 20px;
box-sizing:border-box;
background-color:white;
}

.contact-form .small-text {
display:none !important
}

.contact-form .mainBtn:hover {
background-color:#004884
}

.contact-form .contact-label {
width:20%;
}

.contact-form input {
width: 75% !important;
}

.contact-form textarea {
width: 75% !important;
max-width:75% !important;
color:black;
}

@media (max-width: 581px) {
.contact-form .contact-label {
width: 100% !important;
margin-bottom: 30px;
}
.contact-form input {
width: 100% !important;
}
.contact-form textarea {
width:100% !important;
max-width:100% !important;
}
}

.contact-form .mainBtn {
width:20% !important;
margin-left: 20% !important;
text-align:center !important;
}

@media (max-width: 581px) {
.contact-form .mainBtn {
width: 100% !important;
margin-left: 0 !important;
}
}

.contact-details-item {
margin: 0 !important;
}

.contact-form .full-row {
margin-bottom: 4px !important;
}


/* announcement widget on home page */

.announcements-widget {
padding: 10px 0px !important;
border-bottom: 1px dashed !important;
border-color:#d5dbe0 !important
}

.announcements-widget a{
font-family: Arial;
font-weight :700;
font-size: 14px;
}

.announcements-widget:first-child {
padding-top:0px !important;
}

.announcements-widget:last-child {
border-bottom: none !important;
}

.announcements-page {
border-bottom: 1px dashed !important;
border-color:#d5dbe0 !important;
padding:10px 0px !important;
}

.announcements-page h4{
color: #4782b2 !important;
}

.announcements-page:first-child {
padding-top: 15px !important;
}

/* gallery images */

.stmary-mobile-images {
width:100% !important;
}

.stmary-mobile-images h2 {
padding-left:10px;
}

.stmary-mobile-images img{
width: 50%;
height: auto;
padding: 10px;
}

@media screen and (max-width: 680px) {
    .stmary-mobile-images img {
        width: 100%;
    }
}

.so-widget-sow-image-sow-image-4333b04dd157 .sow-image-container {
padding-bottom:10px;
}

/* resizes featured images for mobile */

.wp-caption, .hentry img {
height: auto !important;
}

/* form validation message */

.wpcf7-validation-errors {
color: black !important;
}

.wpcf7-mail-sent-ok {
color: black !important;
}

/* location page */

#location {
height:547px !important;
}

@media screen and (max-width:581px) {
#location {
height:250px !important;
overflow:hidden;
}
}

#map_wrapper {
padding: 6px;
margin-top:30px;
box-sizing:border-box;
background-color:#fff;
}

.infowindow img {
height: auto;
width:165px;
margin-top:10px;
}

@media screen and (max-width:581px) {
.infowindow img {
width:120px;
}
}
