.navbar-fixed {
    position: fixed;
    top: -3em;
}
a:hover, a:visited, a:focus, a:active {
    text-decoration: none;
}
a:active {
    color: #dc324c;
}
.top_bar {
    background-color: #eaeaea;
    padding: 10px;
}
.btn-success {
    color: #000;
}
.btn-success:focus {
    color: #000;
}
.modal.in .modal-dialog {
    margin-top: 7%;
}
.m-b li {
    margin-bottom: 15px;
}
/*----------------------
  $NAVBAR
    basic navbar styling
  ----------------------*/
nav {
    width: 100%;
    color: #bbb;
    background: #fff;
    font-weight: bold;
    letter-spacing: 0.025em;
    border-bottom: 1px solid #555;
    border-top: 1px solid #555;
    z-index: 99999;
    -moz-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -webkit-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -o-box-shadow: 0px 2px 4px 0px #9b9b9b;
    box-shadow: 0px 2px 4px 0px #9b9b9b;
}
nav ul {
    text-align: center;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-block;
    padding: 0.4em 3em;
    line-height: 3em;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -webkit-transition: color 0.35s;
    transition: color 0.35s;
}
nav ul li a {
    color: #000;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-family: 'Raleway';
    font-size: 13px;
}
nav ul li a:hover {
    text-decoration: none;
    color: #dc324c;
}

/*----------------------
  $MISC
  ----------------------*/
.filler {
    width: 1px;
    height: 200px;
}
/* Navbar */
.navbar-fixed {
    /*background-color: rgba(237, 238, 240, 0.952941);*/
    background-color: rgba(0,0,0,0.6);
}
.navbar-fixed li a {
    color: #fff;
    font-family: FontAwesome;
}
.navbar-fixed li a:hover {
    color: #red;
}
/* Slider */
section.top-slider .carousel-inner > .item {
    -webkit-transition: none;
    transition: none;
}
@media all and (transform-3d), (-webkit-transform-3d) {
    section.top-slider .carousel-inner > .item {
        -webkit-transition: none;
        transition: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
    section.top-slider .carousel-inner > .item.next,
    section.top-slider .carousel-inner > .item.active.right {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        left: 0;
    }
    section.top-slider .carousel-inner > .item.prev,
    section.top-slider .carousel-inner > .item.active.left {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        left: 0;
    }
    section.top-slider .carousel-inner > .item.next.left,
    section.top-slider .carousel-inner > .item.prev.right,
    section.top-slider .carousel-inner > .item.active {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        left: 0;
    }
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0.5;}
    100% {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0.5;}
    100% {opacity: 1;}
}
@-webkit-keyframes fadeOut {
    0% {opacity: 1;}
    90% {opacity: 0.2;}
    100% {opacity: 0;}
}
@keyframes fadeOut {
    0% {opacity: 1;}
    90% {opacity: 0.2;}
    100% {opacity: 0;}
}
section.top-slider .carousel-inner.anim > .item {
    left: 0;
}
section.top-slider .carousel-inner.anim > .next,
section.top-slider .carousel-inner.anim > .prev {
    position: absolute;
    width: 100%;
}
section.top-slider .carousel-inner.anim > .next.left {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration:1.2s;
    animation-duration:1.2s;
}
section.top-slider .carousel-inner.anim > .prev.right {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration:1.2s;
    animation-duration:1.2s;
}
section.top-slider .carousel-inner.anim > .active.left {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
    -webkit-animation-duration:2.2s;
    animation-duration:2.2s;
}
section.top-slider .carousel-inner.anim > .active.right {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
    -webkit-animation-duration:2.2s;
    animation-duration:2.2s;
}
section.top-slider .carousel-inner>.item {
    transition: display 8000ms linear 0s;
    overflow:hidden;
}
section.top-slider .carousel-inner>.item.active img {
    transition: transform 8000ms linear 0s;
    /* This should be based on your carousel setting. For bs, it should be 5second*/
    transform: scale(1.06, 1.06);
    height: 100%;
}
section.top-slider .carousel,
section.top-slider .item,
section.top-slider .active {
    height: 100%;
}
section.top-slider .carousel-inner {
    height: 100%;
}
section.top-slider .fill, section.paralax-1 .fill, 
section.paralax-2 .fill, section.references .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.slider-text {
    position: absolute;
    top: 25%;
    color: #fff;
    z-index: 9;
}
.animated-two { 
    -webkit-animation-duration: .6s;
    -webkit-animation-delay: .2s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    -moz-animation-duration: .6s;
    -moz-animation-delay: .2s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;
    -ms-animation-duration: .6s;
    -ms-animation-delay: .2s;
    -ms-animation-timing-function: ease;
    -ms-animation-fill-mode: both;
    animation-duration: .6s;
    animation-delay: .2s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.animated-three { 
    -webkit-animation-duration: .6s;
    -webkit-animation-delay: .4s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;

    -moz-animation-duration: .6s;
    -moz-animation-delay: .4s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;

    -ms-animation-duration: .6s;
    -ms-animation-delay: .4s;
    -ms-animation-timing-function: ease;
    -ms-animation-fill-mode: both;

    animation-duration: .6s;
    animation-delay: .4s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}
.sp-vertical-middle h1, .sp-vertical-middle h2, .sp-vertical-middle p {
    border-left: 5px solid #dc324c;
    padding: 5px 10px 5px 20px;
}
.sp-vertical-middle p {
    margin-top: 20px;
    font-size: 18px;
}
section.about .slide {
    margin-top: 26px;
    height: 450px;
}
.copyright {
    padding: 20px 10px 10px 10px;
    background-color: #eaeaea;
}
.copyright a {
    color: #000;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.copyright a:hover {
    color: #dc324c;
}
section.contact .btn-default {
    width: 100%;
}
section.contact .form-control {
    border-radius: 0;
}
section.contact textarea {
    resize: vertical;
}
.form-control:focus {
    border-color: #dc324c;
    color: #000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(220,50,76,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(220,50,76,.6);
}
section.copyright .list-inline {
    float: right;
}
section.about {
    background: url(/img/malinabg.jpg) fixed center;
    background-size: cover;
}
section.about .carousel-control.right, section.about .carousel-control.left {
    margin-top: 90px;
    background-image: none;
} 
section.about .carousel-control.right .fa, section.about .carousel-control.left .fa{
    color: #dc324c;
    background-color: rgba(0,0,0,0.6);
    padding: 10px 20px;
}
section.about .carousel-indicators {
    bottom: 0px;
}
.carousel-indicators .active {
    background-color: #fff;
}
.carousel-indicators li {
    border: 1px solid #fff;
    background-color: rgba(0,0,0,0.6);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;

}
.carousel-indicators li:hover {
    background-color: #fff;
}
section.about .carousel-control.right {
    right: -18px;
}
section.about .carousel-control.left {
    left: -18px;
}
.md-margin-bottom-30 a {
    color: #dc324c;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.md-margin-bottom-30 a:hover {
    color: orange;
}
.separator {
    text-align: center;
    margin: 76px 0 50px 0;
}
.separator img {
    width: 10%;
}
.separator:before {
    content: '';
    width: 180px;
    height: 3px;
    background: url(../img/leftsepred.png) no-repeat center;
    margin-bottom: 7px;
    margin-right: 15px;
    display: inline-block;
}
.separator:after {
    content: '';
    width: 180px;
    height: 3px;
    background: url(../img/rightsepred.png) no-repeat center;
    margin-bottom: 7px;
    margin-left: 15px;
    display: inline-block;
}
section.about .btn, section.test .btn {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: rgba(255,255,255,0.5);
}
section.about .btn:hover, section.test .btn:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    border-color: #000;
}
.adress p {
    font-size: 16px;
}
.adress img {
    margin-top: 5px;
}
.phone img {
    margin-left: 2px;
    margin-right: 12px;
}
.phone p {
    font-size: 16px;
}
.mail {
    margin-top: 22px;
    margin-left: 7px;
}
.mail p {
    font-size: 16px;
}
.mail img {
    margin-right: 10px;
}
section.copyright .fa {
    font-size: 20px;
}
.space {
    margin-top: 15px;
    margin-bottom: 30px;
}
section.contact h2 {
    margin-bottom: 30px;
}
section.contact {
    margin-bottom: 25px;
}
section.contact label {
    font-weight: 500;
}
/*Contact*/
.padd-no .btn {
    width: 100%;
}
.form-control {
    border-radius: 0;
}
.headline {
    padding: 0 15px;
}
.headline ul li {
    padding-bottom: 10px; 
}
.form-group label {
    font-weight: 500;
}
.contacts-section {
    color: #fff;
    position: relative;
    background: #333 url(../img/contactbg.jpg) center fixed;
    background-size: cover;
}
.contacts-section:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: " ";
    position: absolute;
    background: rgba(0,0,0,0.5);
}
.contacts-in {
    margin-bottom: 25px;
    margin-top: 30px;
}
.contacts-in li i {
    width: 35px;
    padding: 8px;
    font-size: 20px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    background: rgba(255,255,255,0.1);
}
.contacts-in li {
    color: #fff;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 200;
}
.contacts li i {
    width: 35px;
    padding: 8px;
    font-size: 20px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    background: rgba(0,0,0,0.1);
}
.contacts li {
    color: #000;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 200;
}
.form-control {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    color: #fff;
    background: rgba(0, 0, 0, 0.17);
}
.form-control:focus {
    border-color: #bbb;
    background: rgba(255,255,255,0.1);
}
.contacts-in h2 {
    position: relative;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 0;
}
section.about .carousel-control.right .fa, section.about .carousel-control.left .fa {
    display: none;
}
.content-md {
    background-color: rgba(255, 255, 255, 0.71);
    box-shadow: 0px 0px 150px 25px white;
    padding: 40px 0;
}
.title-v2 {
    color: #dc324c;
    text-shadow: 0.4px 0.4px 0.1px #000;
    margin-bottom: 30px;
    font-size: 36px;
}
.md-margin-bottom-30 p {
    font-size: 16px;
}
section.about .carousel-inner>.active {
    height: 450px;
}
.carousel-inner>.item>a>img, .carousel-inner>.item>img {
    height: 100%;
}
.contacts-section .btn-default {
    background: rgba(0,0,0,0.3);
    color: #fff;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.contacts-section .btn-default:hover {
    background: rgba(255,255,255,0.1);
}
.map-content {
    padding: 0;
    margin: 30px 0;
}
section.nur {
    background: url(/img/malinabg.jpg) fixed center;
    background-size: cover;
}
section.nur p {
    font-size: 16px;
}
.one img {
    width: 20%;
    position: absolute;
    top: 4%;
    left: 41%;
}
section.pharmacy .team-v7-img img {
    height: 305px;
}
section.pharmacy .dp-table-cell {
    height: 305px;
}
/* test */

.team-v7 .team-arrow-right, .team-v7 .team-arrow-left {
    position: relative;
}
.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}
.team-v7 .team-arrow-right:before {
    right: -25px;
    border-width: 20px 0 20px 25px;
    border-color: transparent transparent transparent #fff;
}
.team-v7 .team-arrow-left:before, .team-v7 .team-arrow-right:before {
    width: 0;
    height: 0;
    top: 66%;
    margin-top: -25px;
    z-index: 2;
    content: " ";
    position: absolute;
    border-style: solid;
}
.team-v7 .team-v7-in {
    padding: 0 50px;
}
.dp-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.team-v7 .team-v7-name {
    margin-top: 50px;
}
.team-v7 .team-v7-name {
    color: #dc324c;
    text-shadow: 0.4px 0.4px 0.1px #000;
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.team-v7 .team-v7-position {
    display: block;
    color: #72c02c;
    font-style: normal;
    margin-bottom: 15px;
}
.team-v7 p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}
.team-v7 .social-icons-v1 {
    margin-bottom: 60px;
}
.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}
.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}
.team-v7 .team-arrow-left:before {
    left: -25px;
    border-width: 20px 25px 20px 0;
    border-color: transparent #fff transparent transparent;
}
.team-v7 .team-arrow-left:before, .team-v7 .team-arrow-right:before {
    width: 0;
    height: 0;
    top: 50%;
    margin-top: -25px;
    z-index: 2;
    content: " ";
    position: absolute;
    border-style: solid;
}
section.test {
    background: url(/img/malinabg.jpg) fixed center;
    background-size: cover;
}

section.test .no-gutter {
    padding-bottom: 40px;
}
section.test .no-gutter:last-child {
    padding-bottom: 0;
}
.btn-group-sm>.btn, .btn-sm {
    padding: 5px 10px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 3px;
}
.caegories {
    padding-bottom: 40px;
    color: #000;
}
section.test .btn.active, section.test .btn:active {
    color: #dc324c;
}
section.test .btn-group-sm>section.test .btn, section.test .btn-sm {
    color: #000;
}
section.test .btn {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
section.test .btn:hover {
    color: #fff;
}
section.test .btn.active, section.test .btn:active {
    -webkit-box-shadow: none;
    box-shadow: none;
}
section.test .btn {
    font-size: 16px;
}
section.test .btn:focus, section.pharmacy .btn:focus {
    outline: 0;
}
.isotope,
.isotope .item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.isotope .item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property:    -moz-transform, opacity;
    -ms-transition-property:     -ms-transform, opacity;
    -o-transition-property:         top, left, opacity;
    transition-property:         transform, opacity;
}
#filters {
    margin-bottom: 40px;
    text-align: center;
}
.arch-service img {
    width: 100%;
    max-height: 180px;
}
.arch-service {
    padding: 0;
    position: relative;
}
.arch-service-in {
    padding: 50px 30px;
    transition: opacity 0.4s ease-in-out;
}
.arch-service-1 {
    background: url(http://www.fitofarmacija.rs/UI/Images/Home/herbicidi.jpg) no-repeat 80% 0 / cover;
}
.arch-service-2 {
    background: url(http://www.fitofarmacija.rs/UI/Images/Home/herbicidi.jpg) no-repeat 80% 0 / cover;
}
.arch-service-3 {
    background: url(https://ekozona.files.wordpress.com/2010/03/maline-podgora.jpg) no-repeat 80% 0 / cover;
}
.arch-service-4 {
    background: url(http://www.fitofarmacija.rs/UI/Images/Home/herbicidi.jpg) no-repeat 80% 0 / cover;
}
.arch-service-5 {
    background: url(http://www.agroaqua.com/wp-content/gallery/kap-po-kap-kompletni-projekti/kompletniproj.jpg) no-repeat 80% 0 / cover;
}
.arch-service-6 {
    background: url(http://www.zdravasrbija.com/images/ZS_zm3.jpg) no-repeat 80% 0 / cover;
}
.arch-service-7 {
    background: url(http://domivrt.vecernji.hr/media/domivrt/foto/maline-mjesecarke-korn3-1803.jpg) no-repeat 80% 0 / cover;
}
.img-hover-1 {
    background: #494949;
}
.arch-service-in h3 {
    color: #fff;
    font: 400 18px "Roboto", Arial, sans-serif;
    margin: 20px 0 15px;
    text-align: center;
}
.arch-service-in .arch-service-btn1 {
    background: transparent;
    border: none;
    color: #dc324c;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    display: block;
}
.arch-service:hover .arch-service-in {
    opacity: 0.6;
    transition: opacity 0.4s ease-in-out;
}
section.pharmacy {
    background: url(/img/malinabg.jpg) fixed center;
    background-size: cover;
}
section.pharmacy .team-v7-img img {
    width: 100%;
}
section.pharmacy .team-v7 {
    margin-bottom: 30px;
}
section.pharmacy .btn {
    font-size: 16px;
}
section.pharmacy .btn {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
section.pharmacy .btn {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: rgba(255,255,255,0.5);
}
section.pharmacy .btn:hover {
    color: #fff;
}
section.pharmacy .btn:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    border-color: #000;
}
section.pharmacy .headline p {
    padding: 0 50px;
    text-align: center;
}
/*
.board {
  height: 222px;
  width: 280px;
  background: url("http://pngimg.com/upload/small/snowboard_PNG8022.png");
  position: absolute;
  top: 0;
  right: 0px;
}*/
.testiranje {
    background-image: url(https://1.bp.blogspot.com/_JgIfw3_B4Ms/SEnyRIENVzI/AAAAAAAAAK4/pfJhi9Hz8VI/s400/20080606_TomatoPlants.jpg);
    background-size: cover; 
    width: 600px;
    height: 505px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.testiranje:hover {
    background-image: url(../img/malinaslider1.jpg);
    background-size: cover;
    width: 600px;
    height: 505px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

/* Novi nav */
.affix {
    background-color: rgba(255,255,255,0.9);
    padding: 0px;
    -webkit-transition:padding 0.2s linear;
    -moz-transition:padding 0.2s linear;  
    -o-transition:padding 0.2s linear;         
    transition:padding 0.2s linear;
    -moz-box-shadow: 0px 1px 4px 2px #9b9b9b;
    -webkit-box-shadow: 0px 1px 4px 2px #9b9b9b;
    -o-box-shadow: 0px 1px 4px 2px #9b9b9b;
    box-shadow: 0px 1px 4px 2px #9b9b9b;

}

.affix-top {
    padding-top:15px;
    padding-bottom:15px;
    -webkit-transition:padding 0.5s linear;
    -moz-transition:padding 0.5s linear;  
    -o-transition:padding 0.5s linear;         
    transition:padding 0.5s linear;  
    -moz-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -webkit-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -o-box-shadow: 0px 2px 4px 0px #9b9b9b;
    box-shadow: 0px 2px 4px 0px #9b9b9b;
}
.affix-top {
    width: 100%;
    color: #bbb;
    background: #fff;
    font-weight: bold;
    letter-spacing: 0.025em;
    border-bottom: 1px solid #555;
    border-top: 1px solid #555;
    z-index: 99999;
    -moz-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -webkit-box-shadow: 0px 2px 4px 0px #9b9b9b;
    -o-box-shadow: 0px 2px 4px 0px #9b9b9b;
    box-shadow: 0px 2px 4px 0px #9b9b9b;
}
.logo {
    -webkit-transition: 0.5s linear;
    -moz-transition: 0.5s linear;  
    -o-transition: 0.5s linear;         
    transition: 0.5s linear;  
    height: 60px;
    width: 250px;
}
.navbar-brand {
    padding: 0;
}
.navbar-brand2 {
    float: right;
    height: 50px;
    padding: 0;
    font-size: 18px;
    line-height: 20px;
}
.navbar-nav>li {
    float: none;
    text-align: center;
    display: inline-block;
}
.navbar-nav {
    float: none;
    text-align: center;
}
.logo2 {
    height: auto;
    float: right;
    margin-right: -15px;
    -webkit-transition: 0.5s linear;
    -moz-transition: 0.5s linear;
    -o-transition: 0.5s linear;
    transition: 0.5s linear;
    height: 60px;
    width: 220px;
}
.navbar-nav>li>a {
    color: #000;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}
.navbar-nav>.active>a, .navbar-nav>.active>a:focus, .navbar-nav>.active>a:hover {
    color: #dc324c;
    background: none;
}
.navbar-nav>li>a:focus, .navbar-nav>li>a:hover {
    color: #dc324c;
    background: none;
}
.affix .navbar-nav>li>a {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
}
.navbar-nav>li>a:active, .navbar-nav>li>a:focus {
    color: #dc324c;
    outline: none;
}
body {
    padding-top: 50px;
}
.navbar-toggle {
    border: 1px solid #000;
}
.navbar-toggle .icon-bar {
    background: #000;
}
.slide_text1, .slide_text3 {
    float: left;
}
.slide1, .slide3 {
    float: right;
}
.slide_text2, .slide_text4 {
    float: right;
}
.slide2, .slide4 {
    float: left;
}
section.about .contact_form .btn {
    margin-top: 5px;
}
.contacts .headline {
    padding-left: 0;
}
.list-unstyled {
    padding-left: 15px;
}
.landscape-show {
    display: none;
}
section.pharmacy .content-md {
    min-height: 800px;
}
.form-message{
    display: block;
    position: absolute;
    top: 128px;
    color: green;
    font-size: 16px;
}
input.input-error, textarea.input-error {
    border: 1px solid red !important;
}

/* Phone Portrait */
@media only screen and (orientation:portrait) and (max-width: 768px) {
    .navbar-brand2 {
        display: none;
    }
    .navbar-nav>li {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid #000;
    }
    .content-md {
        padding: 0;
    }
    .space .title-v2 {
        text-align: center;
        padding: 0 10px;
    }
    .space p {
        padding: 0 15px;
    }
    section.about .slide {
        height: 350px;
    }
    section.about .carousel-inner>.active {
        height: 350px;
    }
    .slide1, .slide3, .slide2, .slide4, .slide_text1, .slide_text3, .slide_text2, .slide_text4 {
        float: none;
    }
    .slide4 {
        padding-bottom: 30px;
    }
    .copyright p {
        text-align: center;
    }
    section.copyright .list-inline {
        float: none;
        text-align: center;
    }
    section.test .title-v2 {
        margin-top: 50px;
    }
    section.test .content-md p {
        padding: 0 15px;
    }
    section.test .btn {
        margin-top: 10px;
        margin-bottom: 0px;
        width: 80%;
    }
    section.pharmacy .btn {
        margin-top: 10px;
        margin-bottom: 0px;
        width: 80%;
    }
    section.test .dp-table-cell {
        height: 305px;
    }
    section.test .team-v7-img img {
        height: 305px;
    }
    .team-v7 .team-v7-name {
        margin-top: 0;
        padding-left: 15px;
    }
    #filters {
        margin-bottom: 0;
    }
    .contacts {
        padding-left: 30px;
    }
    .top-slider {
        padding-top: 25px;
    }
    .navbar-brand {
        padding-left: 20px;
    }
    section.pharmacy {
        padding-top: 30px;
    }
    .contact_page {
        padding-top: 30px;
    }
    #navbar {
        margin-top: 10px;
    }
    .landscape-show {
        display: none;  
    }
}
/* Phone Landscape */
@media only screen and (orientation:landscape) and (max-width: 768px) {
    .navbar-brand2 {
        display: none;
    }
    .navbar-nav>li {
        display: block;
    }
    .space p {
        padding: 0 15px;
    }
    .space .title-v2 {
        text-align: center;
    }
    .slide1, .slide2, .slide3, .slide4 {
        margin-right: 15px;
        margin-left: 15px;
        padding: 0;
    }
    .top-slider {
        padding-top: 30px;
    }
    #navbar {
        margin-top: 10px;
        border-top: 1px solid #555;
    }
    .navbar-nav {
        padding-top: 15px;
    }
    section.about .content-md {
        padding: 0;
    }
    .slide4 {
        margin-bottom: 20px;
    }
    section.test .content-md p {
        padding: 0 15px;
    }
    section.test .dp-table-cell {
        height: 305px;
    }
    section.test .team-v7-img img {
        height: 305px;
    }
    section.copyright {
        text-align: center;
    }
    section.copyright .list-inline {
        float: none;
    }
    .list-unstyled {
        padding-left: 15px;
    }
    .slide1, .slide2, .slide3, .slide4 {
        padding: 15px;
        float: none;
    }
    section.about .btn, section.test .btn {
        margin-bottom: 0;
    }
    .slide_text1, .slide_text2, .slide_text3, .slide_text4 {
        float: none;
    }
    .carousel-inner>.item>a>img, .carousel-inner>.item>img {
        margin: auto;
    }
    .landscape-show {
        display: block;
    }
    .landscape-hide {
        display: none;
    }
    #filters {
        margin-bottom: 0;
    }
    section.test .team-v7-img img {
        margin: auto;
    }
    .team-v7 .team-v7-name {
        padding-left: 15px;
    }
    section.test .dp-table-cell {
        height: 200px;
    }
    section.test .no-gutter {
        padding-bottom: 0;
    }
    section.pharmacy .team-v7 .team-v7-name {
        padding: 0;
        margin-top: 0;
    }
    section.pharmacy .dp-table-cell {
        height: 170px;
    }
    section.pharmacy .team-v7-img img {
        padding-left: 50px;
        padding-right: 50px;
    }
    .contacts p {
        padding-left: 15px;
    }
    section.contact_page .btn {
        margin-bottom: 30px;
    }
    section.contact_page .title-v2 {
        padding-left: 15px;
    }
    section.contact_page {
        padding-top: 40px;
    }
    .navbar-brand {
        padding-left: 15px;
    }
}
/* Tablet Portrait */
@media only screen and (orientation:portrait) and (min-width: 768px) and (max-width: 1200px) {
    .landscape-show {
        display: none;
    }
    .navbar-collapse {
        border-top: none;
    }
    .navbar-nav>li {
        display: inline-block;
    }
    .carousel-inner>.item>a>img, .carousel-inner>.item>img {
        margin: auto;
    }
    section.test .team-v7-img img {
        margin: auto;
    }
    section.test .btn {
        width: auto;
    }
    section.test .dp-table-cell {
        height: 150px;
    }
    section.pharmacy .btn {
        width: auto;
    }
    section.pharmacy .dp-table-cell {
        height: 200px;
    }
    section.pharmacy .team-v7-img img {
        width: 100%;
        padding: 0 100px;
        height: auto;
    }
    section.pharmacy .team-v7 .team-v7-name {
        padding-left: 0;
    }
    section.test .no-gutter:last-child {
        padding-bottom: 20px;
    }
    section.contact_page .list-unstyled {
        padding-left: 0;
    }
    .contact_page {
        padding-top: 50px;
    }
    section.pharmacy {
        padding-top: 50px;
    }
    section.test {
        padding-top: 30px;
    }
}
/* Tablet Landscape */
@media only screen and (orientation:landscape) and (min-width: 768px) and (max-width: 1200px) {
    .landscape-show {
        display: none;
    }
    section.test .team-v7-img img {
        height: 405px;
    }
    section.test .dp-table-cell {
        height: 405px;
    }
}
