@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    font-family: sans-serif;
  }
}
.d-flex {
    display: flex;
}
.flex-row {
    flex-direction: row;
}
.flex-column {
    flex-direction: column;
}
.justify-content-center {
    justify-content: center;
}
.align-items-center {
    align-items: center;
}
.align-self-center {
    align-self: center;
}
.align-self-left{
    align-self: left;
}
.callout {
  margin-bottom: 25px;
  padding: 20px;
  border-left: 3px solid #eeeeee;
}
.callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout-danger {
  background-color: #fdf7f7;
  border-color: #ebccd1;
}
.callout-danger h4 {
  color: #a94442;
}
.callout-warning {
  background-color: #faf8f0;
  border-color: #faebcc;
}
.callout-warning h4 {
  color: #8a6d3b;
}
.callout-info {
  background-color: #f4f8fa;
  border-color: #bce8f1;
}
.callout-info h4 {
  color: #31708f;
}
.callout-success {
  background-color: #f9fdf7;
  border-color: #d6e9c6;
}
.callout-success h4 {
  color: #3c763d;
}
.t-ww {
  word-wrap: break-word;
  word-break: break-word;
}
.line-height {
    line-height: 1.4;
}
.border-none {
  border: 0;
}
.p-b {
    padding-bottom:20px !important;
}
.p-20 {
    padding:20px !important;
}
.p-0 {
    padding:0 !important;
}
.m-0 {
    margin: 0 !important;
}
.m-t {
  margin-top: 30px !important;
}
.mt-20 {
    margin-top:20px !important;
}
.mt-50 {
    margin-top:50px !important;
}
.mt-100 {
    margin-top:100px !important;
}
.mt-200 {
    margin-top:200px !important;
}
.mb-100 {
    margin-bottom:100px !important;
}
.align-self-start {
    align-self: flex-start !important;
}
.align-self-end {
    align-self: flex-end !important;
}
.white-bg {
    background-color:#fff;
}
.primary-bg {
    background-color:#649406 !important;
}
.primary {
    color: #649406 !important;
}
.grey-bg {
    background-color: #f7f7f7 !important;
}
.light {
    color: #BBBBBB !important;
}
.navbar-header .navbar-brand {
  padding-left: 76px;
  background-image: url('../images/irish-veterinary-specialists.svg');
  background-size: auto 60%;
  background-repeat: no-repeat;
  background-position: 7px 50%;
  transition: color 0.2s ease 0.05s;
  color: #ccc;
  margin-left:10px;
}
.navbar-badge {
    float: left;
    font-size: 20px;
    background-image: url('../images/ecvs-400.jpg');
    background-size: 35px 40px;
    background-repeat: no-repeat;
    background-position: center;
    transition: color 0.2s ease 0.05s;
    color: #ccc;
    width: 40px;
    height: 40px;
    margin-top:15px;
    margin-left:15px;
}
.navbar-header .navbar-brand:hover {
  color: #fff;
}
.navbar-nav li.separator {
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
  height: 30px;
  margin: 20px 10px 0 10px;
}
.navbar-autohide {
  transition: transform .5s;
}
.navbar-autohide.is-hidden {
  transform: translateY(-135px);
}
.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a {
  transition: color 0.2s ease 0.05s;
}
.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:after {
  position: absolute;
  height: 4px;
  bottom: -1px;
  content: '';
  border-radius: 4px;
  z-index: 5;
  width: 0;
  left: 50%;
  transition: all 0.2s ease 0.05s;
}
.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after {
  width: 100% !important;
  left: 0 !important;
}
.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li:hover > a:after {
  width: 100%;
  left: 0;
}
.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a {
  background: transparent;
}
.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after,
.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
  background: #000000;
}
.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:hover:after {
  background: #000000;
}
.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
  background: #e67e22;
}
.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after,
.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
  background: #649406 !important;
}
.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:hover:after {
  background: #fff !important;
}
.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
  background: #fff  !important;
}
.top-nav {
    background-color:#649406;
    color:#fff;
    width: 100%;
    padding-top:2px;
    padding-bottom:2px;
}
.top-nav > .container > a {
    float: right;
    color:#fff;
}
.top-nav > .container > a:hover,
.top-nav > .container > a:focus {
    color:#fff;
    opacity:0.6;
    text-decoration: none;
}
.jumbotron {
    height:500px;
    background-image: url('../images/banner-desktop.jpg');
    background-size: cover;
    margin-top:30px;
    display: flex;
    align-items:flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    margin-bottom:0 !important;
}
.jumbotron > .container {
    width:80%;
    margin-right:15%;
    padding:20px 0;
}
.jumbotron > p {
    color: #020202 !important;
}
.dog-image {
    background-image:  url('../images/maltese-terrier.jpg' );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color:#f2f5fa;
    display: flex;
    align-items:center;
    width:100%;
    height:500px;
}
.round-image {
    background-size: cover;
    background-position: left center;
    background-color:#f2f5fa;
    display: flex;
    align-items:center;
    width:300px;
    height:300px;
    border-radius: 50%;
    margin-left:calc(50% - 150px);

}
.container-fluid {
    background-color:#fff;
}
.home-content-container,
.content-container {
    background-color:#fff;
    padding:10px 10px 50px 10px;
}
.content-container {
    margin-top:50px;
}
.help-section {
    flex-direction: column;
}
.intro-image-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.intro-image {
    width:100%;
    height:300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom:20px;
}
.image-square {
    width:100%;
    height:250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.image-stacked {
    margin-bottom:80px;
    display: none;
}
.image-logo {
    width:100%;
    height:378px;
    background-size:300px auto;
    background-repeat: no-repeat;
    background-position: center;
}
.image-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.home-section-wide,
.home-section {
    display: flex;
    flex-direction:column;
    padding:50px 0;

}
.home-section-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-section-right {
    display: flex;
    justify-content: center;
}
.section-text {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.section-contact > .section-text {
    margin-top:50px;
}
.section-text > h3,
.section-text > h4 {
    font-weight: bold;
}
.quote-container {
    align-self:center;
}
.quote-box {
    background-color: #f9f8fd;
    padding:20px;
    margin-bottom:50px;
}
.quote-box > h3 {
    font-family: 'Playfair Display', serif;
    color:#4a4a4a !important;
}
.quote-box > .author {

}
.footer-content {
    background-color:#8cb53b;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #b8e06b;
}
.terms-box {
    background-color:#8cb53b;
    padding-top:20px;
    padding-bottom:20px;
}
.footer-left,
.footer-mid,
.footer-right {
    width:100%;
    padding:20px 20px;
    text-align: center;
    color:#34421c !important;

}
.footer-left a,
.footer-mid a,
.footer-right a {
    color: #f4ffdf !important;
}
.footer-left a:hover,
.footer-mid a:hover,
.footer-right a:hover {
    text-decoration: none;
    color:rgba(100,148, 6, 1);
    opacity: 0.6;
}
.footer-title {
    letter-spacing: 1px;
    color:#020202;
    font-size: 18px;
}
.dog {
    position: relative;
    top:0;
    left:0;
    width:200px;
}
.grass {
    position: absolute;
    top: 29px;
    left:0px;
    background-position: center;
    background-repeat: repeat;
    background-size: 70px 58px;
    background-image: url('../images/grass.svg');
    width:100%;
    height:58px;
}
.wildside,
.wildside:hover {
    color:#E74296;
}
.wildside:hover {
    text-decoration: none;
    opacity:0.6;
}
.icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top:20px;
    margin-bottom:20px;
    width:50px;
    height:50px;
    margin-left:calc(50% - 25px)
}
.large {
    width:70px;
    height:70px;
    margin-left:calc(50% - 35px);
}
.i-small {
    width:40px;
    height:40px;
    margin-left:0;
    margin-right:10px;
    margin-top:10px;
    margin-bottom:10px;
}
.message {
    background-image: url('../images/message.svg' );
}
.contact {
    background-image: url('../images/phone.svg' );
}
body {
    padding-top: 70px;
    background-color:#f7f7f7;
    color:#4a4a4a;
}
a {
    font-weight: bold;
    color:rgba(100,148, 6, 1);
}

a:hover,
a:focus {
    color: rgba(100,148, 6, 1);
    opacity: 0.6;
    text-decoration: none;
}
small, .small {
    font-size: 75% !important;
}
h1, h2, h3, h4, h5, h6 {
    color:#020202 !important;

}
h1, .h1 {
    font-size: 50px !important;
}
h2, .h2 {
    font-size:30px !important;
}
h3, .h3 {
    font-size: 24px !important;
    line-height: 1.4;
    margin-top:0px;

}
h4 > a:hover,
.text-block > p > a:hover {
    color: rgba(100,148, 6, 1);
    opacity: 0.6;
    text-decoration: none;
}
.page-header {
    margin:0;
}
.page-header > h2 {
    text-align: center;
}

.btn-primary,
.btn-primary:hover {
    background-color: #649406;
    border-color: #649406;
    color:#fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
    font-size: 18px;
}
.btn-primary:hover {
    opacity:0.6;
}


@media (min-width: 768px) {
    .jumbotron > .container {
        width:50%;
        margin-left:10%;
        margin-top:20px;
    }
    .home-section {
        width:80%;
        padding:30px 10px;

    }
    .home-section-left,
    .home-section-right {
        padding: 0 30px;
    }
    .home-section-wide {
        padding-top:50px;
        padding-bottom:50px;
    }
    .intro-image-container {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .intro-image {
        width:50%;
        height:300px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom:0;
    }

    .home-content-container {
        padding:30px 30px 50px 30px;
    }
    .image-square {
        height:500px;
    }
    .help-section {
        flex-direction: row;
    }
    .section-contact > .section-text {
        margin-top:0;
    }
    .dog {
        width:300px;
    }
    .grass {
        top: 68px;
    }
    .footer-left,
    .footer-mid,
    .footer-right {
        padding:20px 100px 50px 100px;

    }
}

@media (min-width: 992px) {
    .navbar-nav > li > a {
        padding-top:40px;
        padding-bottom:40px;
    }
    .navbar-header .navbar-brand {
        background-position: center;
        width:200px;
        height:80px;
        margin-top:13px;
        padding-left:200px;
        background-size: auto 100%;
    }
    .navbar-badge {
        background-size: 70px;
        width: 100px;
        height: 100px;
        margin-left:0;
        margin-top:5px;
    }
    .intro-image {
        height:300px;
    }
    .home-section {
        width:66%;
        padding:50px 10px;
    }
    .home-section-left,
    .home-section-right {
        padding:0 40px 50px 40px;
    }
    .home-content-container {
        padding:50px;
    }
    .content-container {
        margin-top:100px;
    }
    .jumbotron {
        height:500px;
        background-image: url('../images/banner-desktop.jpg');
        background-size: cover;
        margin-top:30px;
        display: flex;
        align-items:flex-start;
    }
    .jumbotron > .container {
        width:50%;
        margin-left:10%;
        margin-top:50px;
    }
    .image-square {
        height:378px;
    }
    .image-stacked {
        display: block;
    }
    .home-content-container > .text-block,
    .content-container > .text-block {
        padding-left:150px;
        padding-right:150px;
    }
    .home-section-wide {
        width:80%;
        margin-left:10%;
    }
    .home-section-left,
    .home-section-right {
        width:50%;
    }
    .section {
        margin-top:0;
        display: flex;
        width:90%;
        margin-left:5%;
    }
    .section-contact {
        padding-left: 20px;
        padding-right:20px;
    }
    .section-left {
        width:100%;
    }
    .section-right {
        width:100%;
        margin-top:80px;
        align-self: flex-end;
    }
    .quote-container {
        width:66%;
        padding:50px 10px;
    }
    .image-square {
        height:378px;
    }
    .image-logo {
        height:378px;
        background-size:150 auto;
    }
    .image-right {
        align-self: flex-end;
        margin-bottom:80px;
    }
    .section-text {
        /* background-color: #f7f7f7; */
        padding: 30px 30px 50px 30px;

    }
    .procedures {
        background-color:#f7f7f7;
    }
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: row;
    }
    .footer-left,
    .footer-mid,
    .footer-right {
        width:33.333333%;
        padding:30px 40px 60px 40px;
        text-align: center;
    }
}
@media (min-width: 1200px) {
    .section {
        width:84%;
        margin-left:8%;
    }
    .home-section {
        padding:80px;
        width:850px;
    }
    .intro-image {
        height:350px;
        width:25%;
    }
    .image-square {
        height:436px;
    }
    .image-logo {
        width:100%;
        height:300px;
        background-size: auto 150px;
    }
    .jumbotron > .container {
        margin-top:100px;
    }
    .footer-content {
        padding-left:10%;
        padding-right:10%;
    }

}

// ------------ Animations---------------
@-webkit-keyframes fade-in {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fade-in {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes come-in {
    to { transform: translateY(0); }
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
.animated {
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    animation-timing-function: ease-in-out
}
.fade-in {
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
}
.slide-up, .slide-left, .slide-right {
    opacity:0;
}
.come-in-left {
    transform: translateX(-350px);
    animation: come-in 2s ease forwards;
}
.come-in-right {
    transform: translateX(350px);
    animation: come-in 2s ease forwards;
}
.come-in {
    transform: translateY(150px);
    animation: come-in 1.5s ease forwards;
}
.already-visible {
    transform: translateY(0);
    animation: none;
}
