/*
Theme Name: AMS Responsive theme
Theme URI: http://advancedmedicalservices.ie
Description: For Advance Medical Service Website
Author: Keith Buchanan
Author URI: http://www.buchanan-solutions.com
*/

/* header */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700italic,700,800,800italic);
body{
	color:#555555;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}
h1 {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #04bab3;
    text-align: left;
    margin: 10px 0;
}

h2 {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #04bab3;
    text-align: left;
    margin: 10px 0;
    padding-bottom: 10px;
}

h3 {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #04bab3;
    text-align: left;
    margin: 10px 0;
}

p, ul, ol, dl {
    font-size:14px !important;
}
a {
    color: #03b7b0;
}
.header {
	background-color: #fff;
  	background: url(img/bgline.png) no-repeat bottom center;
  	background-size: contain;
  	padding-top: 20px;
    min-height:125px;
}
#cssmenu {
    float:right;
    margin-top:20px;
}
.menu ul {
    background: #fff;
    padding: 0;
    list-style: none;
    position: relative;
    display: inline;
}
.menu ul li {
    float:left;
    margin-right:10px;
}
.menu ul:after {
    content: ""; clear: both; display: block;
}
.menu ul li {
    list-style: none;
    display: inline;
}
.menu ul li a{
    padding:5px 15px;
    color:#555555;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
.menu ul li a:hover {
    background:#03b7b0;
    border-radius:8px;
    color:#FFF;
}


/*dropdown menu */
.menu ul ul {
    display: none;
}

.menu ul li:hover > ul {
    display: block;
}
.menu ul ul {
    background: #fff; border-radius: 0px; padding: 0;
    position: absolute;
    /*top: 100%;
    left:20px;*/
    display:none;
    z-index:999;
    padding: 0 10px;
}
.menu ul ul li {
    float: none;
    position: relative;
    display:block;
    text-align:left;
    width:250px;
    margin: 10px 0;
}
.menu ul ul li a {
    padding: 15px 0;
    color: #555;
}
.menu ul ul li a:hover {
    color:#03b7b0;
    border-radius:0;
    background:transparent;
}



.social img{
	width: 40px;
	height: 40px;
}

/*slider */
.slider {
	background: #ebebeb;
	height: 425px;
}
.slider img {
	height: 425px;
	width: 960px;
}
/* services */
.services {
	padding: 30px 0px;
}
.services .row .large-4{
	min-height: 300px;
	border-left: dashed 1px #acacac;
}
.services .row .large-4:last-child{
	border-right: dashed 1px #acacac;
}
.services .row {
	/*max-width: 70.5%;*/
}
.services .row .columns {
    padding-left: 1.1375rem;
}
.services .row .large-4 h1 {
	font-size: 18px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: #04bab3;
	text-align: center;
	padding-bottom: 20px;
}
.services .row .large-4 p{
	font-size: 12px;
}
.services .row .large-4 .learn {
	position: absolute;
	right: 10px;	
	float: right;
	text-align: right;
	bottom: 5px;
}
.services .row .large-4 .learn a {
	background:#03b7b0;
  padding:5px 15px;
  border-radius:8px;
  color:#555555;

}
/* buttons */
.buttons {
	background: url(img/buttonbg.jpg) repeat-x #ebebeb;
}
/* news */
.news {
	background: #21a19f;
	padding: 20px 0px 50px 0px;
}

.news .row .large-6 h2{
	font-size: 20px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: #fff;
	text-align: left;
	padding-bottom: 20px;
}
.news .row .large-6 p{
	font-size: 12px;
	color: #fff;
	font-weight: thin;
}
.news .row .large-6 ul li:first-child {
	padding-top: 0px;
}
.news .row .large-6 ul li:last-child {
	border-bottom: none;
}
.news .row .large-6 ul {
  margin-left: 0px;
}
.news .row .large-6 ul li {
	list-style: none;
	border-bottom: dashed 1px #fff;
	padding: 20px 0px;
	color:#fff;
}
.news .row .large-6 ul li a {
	color: #fff;
}
.news .row .large-6 ul li a:hover {
	text-decoration: underline;
}
/* footerwidget */
.footerwidget {
	background: #2a2a29;
	padding-top: 30px;
}
.footerwidget .row .large-6 p, .footerwidget .row .large-12 p{
	
	font-size: 12px;
	color: #fff;
	font-weight: thin;
}
.footerwidget .row .large-6 a {
	color: #fff;
}
.footerwidget .row .large-6 a:hover {
	color:#555555;
}
.footerwidget .row .large-6 .prefix img{
	width:16px; 
	height:13px;
}
.footerwidget .row .large-6 .prefix {
  border:none !important;
  line-height: 2.125rem;
  background: #fff;
}
.footerwidget .row .large-12 {
	padding-top: 20px;
}
.footerwidget .row .subscribe .large-12 {
	padding-top: 0px;
}
.footerwidget .subscribe input{
	font-size: 12px;
}
.footerwidget .button {
	background: #c0298b;
}
.footerwidget .social {
	padding-top: 20px;
}
.footerwidget table, .footerwidget table tr:nth-of-type(even) {
    background: #2a2a29;
}
.footerwidget table tr td {
padding:0;
}
.footerwidget label {
    color:#fff;
    padding: 0;
    line-height:1;
}

#sidebar {
    margin-top:10px;
}
#sidebar .widget {
    margin: 10px 0 20px;
}
#sidebar .widget h1 {
    padding-bottom:0;
}
#sidebar #sidebox {
    margin: 10px auto;
    width: 250px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color:#fdd100;
    color: #b49006;
    text-align:center;
    font-size: 20px;
    font-weight:bold;
    min-height: 75px;
}
#sidebar #sidebox a {
    color: #b49006;
}
#sidebar #sidebox a:hover {
    color:#fff;
}
#sidebar #sidebox:hover {
    background:#333;
    color:#fff;
}

#sidebar .impact {
    background:#abca0d !important;
    color:#748a01 !important;
}
#sidebar .impact a {
    color:#748a01 !important;
}
#sidebar .impact a:hover {
    color:#fff !important;
}
#sidebar .impact:hover {
    background:#333 !important;
}

#sidebar .newsletter {
    background:#c0288c !important;
    color:#77034e !important;
}
#sidebar .newsletter a {
    color:#77034e !important;
}
#sidebar .newsletter a:hover {
    color:#fff !important;
}
#sidebar .newsletter:hover {
    background:#333 !important;
}

#sidebar .login {
    background:#e6860d !important;
    color:#9a5301 !important;
}
#sidebar .login a {
    color:#9a5301 !important;
}
#sidebar .login a:hover {
    color:#fff !important;
}
#sidebar .login:hover {
    background:#333 !important;
}

#sidebar  ul {
    margin-left:0;
}
#sidebar  ul li {
    list-style: none;
    border-bottom: dashed 1px #333;
    padding: 10px 0px;
    color: #04bab3;
}
#sidebar  ul li a {
    color: #04bab3;
    font-size:14px;
}
#sidebar .widget .post-date {
    display:block;
    font-style:italic;
    font-size:12px;
}

.clients {
    padding: 10px;
    border-radius:5px;
    background:#efefef;
}
.client {
    float: left;
    margin: 10px 5px;
}
.clearfloat {
    clear:both;
}


/* Blog */
article {
    border-bottom: dashed 1px #333;
    padding: 10px 0px 20px;
}
article .comments-link {
    display:none;
}
.entry-meta {
    margin-bottom: 10px;
    font-style:italic;
}

/* columns work-around */
.large-4-kb {
    width: 33.33333%;
}
.services .row .large-4-kb{
    min-height: 340px;
    border-left: dashed 1px #acacac;
}
.services .row .large-4-kb:last-child{
    border-right: dashed 1px #acacac;
}
.services .row .large-4-kb h1 {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #04bab3;
    text-align: center;
    padding-bottom: 20px;
}
.services .row .large-4-kb p{
    font-size: 12px;
}
.services .row .large-4-kb .learn {
    position: absolute;
    right: 10px;
    float: right;
    text-align: right;
    bottom: 5px;
}
.services .row .large-4-kb .learn a {
    background:#03b7b0;
    padding:5px 15px;
    border-radius:8px;
    color:#555555;

}
/************************************/

/* Team members */
.memberbox {
    width: 30%;
    float:left;
    margin: 10px 10px 10px 0;
    border: 1px solid #efefef;
    border-radius: 5px;
    text-align:center;
    font-size: 12px;
    min-height:330px;
    padding: 10px 0;
    display:inline-block;
}
.memberbox img {
    max-width: 100px;
    border-radius:75px;
    height:auto;
}
.memberbox h3 {
    text-align:center;
}
.memberbox p {
    font-size: 12px;
    margin: 5px 0;
    min-height: 65px;
}
/**************************/

/* Links page */
#content_list {
    border-bottom: 1px dotted #333;
    margin: 5px 0;
    padding: 10px 0 10px;
}
#content_list p {
    margin: 0;
}
#content_list h1 {
    margin: 0;
    font-weight:500;
    font-size:18px;
}
#content_list_link {
    display:inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background-color:#04bab3;
    color:#fff;
    margin-top:5px;
}
#content_list_link a {
    color:#fff;
}
#content_list_link:hover {
    background-color:#333;
}
/*********************************/

.button {
    display:inline-block;
    padding: 5px 10px;
    color:#fff;
    border: 5px;
    background:#03b7b0;
}
.button a {
    color:#fff;
}
.button:hover, .button a:hover {
    background: #555;
    color:#fff;
}

.alignright {
    float: right;
    margin: 0 0 10px 10px;
}

.alignleft{
    float: left;
    margin: 0 0 10px 10px;
}

.home-col-content {
    min-height:300px;
}


@media only screen and (max-width: 1025px) {
    .buttons img {
        max-width: 215px;
    }
    #sidebar #sidebox {
        float: left;
        margin: 10px;
        width: 180px;
        font-size: 17px;
        min-height: 100px;
    }
    #sidebar .widget {
        clear:both;
    }
    .social {
        margin-top:-30px;
    }
}

@media only screen and (max-width: 930px) {
    .buttons img {
        max-width: 210px;
    }
    .home-col-content {
        min-height:350px;
    }

}

@media only screen and (max-width: 767px) {
    .services .row .large-4 {
        min-height: 50px;
    }
    .slider {
        height: auto;
    }
    .large-4-kb {
        width: 100%;
        min-height: 50px;
        border-left: 0;
        border-right: 0;
        border-bottom: dashed 1px #acacac;
        padding-bottom: 20px;
    }
    .buttons img {
        max-width: 100%;
    }
    .memberbox {
        width: 48%;
    }
    #sidebar #sidebox {
        float:none;
        margin: 10px auto;
        width: 250px;
        font-size: 20px;
        min-height: 75px;

    }
    .social {
        margin-top:0;
    }

}

@media only screen and (max-width: 479px) {
    .buttons img {
        display:block;
        margin: 0 auto;
    }
    .services .row .large-4 {
        min-height: 50px;
    }
    .memberbox {
        width: 100%;
        min-height:100px;
    }
    .social {
        text-align:center !important;
        margin: 10px 0;
    }
}