/*
Theme Name: medpharcom
Author: MUST.marketing
Description: Unique Theme for Medpharcom
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
*/

@font-face {
    font-family: 'PlumbMedium';
    src: url('font/Plumb-Medium.woff2') format('woff2'),
        url('font/Plumb-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PlumbBlack';
    src: url('font/PlumbSoft-Black.woff2') format('woff2'),
        url('font/PlumbSoft-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'PlumbBold';
    src: url('font/PlumbBoldC.woff2') format('woff2'),
        url('font/PlumbBoldC.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PlumbLight';
    src: url('font/PlumbLightC.woff2') format('woff2'),
        url('font/PlumbLightC.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'PlumbRegular';
    src: url('font/Plumb-Regular.woff2') format('woff2'),
        url('font/Plumb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body{
        margin:0;
        padding:0;
        width:100%;
        height:100%;
    }

body{
	color: #313131;
	font-size: 16px;
	font-family: 'PlumbRegular';
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
	font-family: 'PlumbMedium';
}

h1, .h1,
h2, .h2{
	font-size: 40px;
	color: #50b848;
	text-transform: uppercase;
	margin: 20px 0 10px;
}

h3, .h3{
	font-size: 30px;
	color: #313131;
	text-transform: uppercase;
	color: #50b848;
}

h4, .h4{
	font-size: 24px;
}

h5, .h5{
	font-size: 21px;
}

h6, .h6{
	font-size: 18px;
}

a, a:link, a:visited, a:active{
	color: #6a9d3d;
	text-decoration: underline;
}

a:hover, a:focus{
	color: #418a00;
}

a.more-link{
	display: none;
}

div > img, div > a > img{
	max-width: 100%;
}

/* ~~~~~~~~~~~~~~~~ HEADER ~~~~~~~~~~~~~~~~~ */

.breadcrumbs{
	margin: 10px 0 25px;
	font-size: 14px;
}

header{
	position: fixed;
	width: 100%;
	padding-top: 0;
	padding-bottom: 13px;
	position: fixed;
	width: 100%;
	z-index: 999;
	background: #fff;
}

.top-header .container{
	padding-top: 10px;
	padding-bottom: 5px;
	background: url(imgs/logo-bg.png) no-repeat 100% 0%;
}

.top-header .phone{
	text-align: center;
	font-size: 22px;
	color: #6d6e71;
	padding-top: 16px;
}

.top-header .phone p:before{
	content: url(imgs/phone-icon.png);
	margin: 0 7px 0 0;
	vertical-align: middle;
}

.logo{
	margin-top: 7px;
}

.lang-widget{
	font-size: 13px;
	margin-top: 21px;
	margin-left: 90px;
	float: left;
	font-family: Arial, Verdana, sans-serif;
}

.lang-widget a{
	color: #313131!important;
	text-decoration: none;
	display: inline-block;
	margin: 0 4px;
}

.lang-widget a:hover, .lang-widget ul li.active a{
	color: #58aa47!important;
	border-bottom: 3px solid #58aa47;
}

.top-menu{
	background: #50b848;
}

.navbar-default, .navbar{
	background: none;
	border: none;
	margin-bottom: 0;
	min-height: 0;
	text-align: center;
}

.navbar-nav{
	display: inline-block;
	float: none;
}

.navbar-default .navbar-nav > li > a{
	display: inline-block;
	padding: 5px 20px 5px 10px;
	margin: 9px 5px 0 5px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: none;
	border-right: 1px solid #fff;
	text-align: center;
	font-size: 18px;
}

.navbar-default .navbar-nav > li:last-child > a{
	padding-right: 0;
	border-right: 0;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.current-menu-item > a,
.navbar-default .navbar-nav > li.current-page-ancestor > a,
.navbar-default .navbar-nav > li.current-post-parent > a{
	color: #111;
	text-decoration: underline;
}

ul.sub-menu{
	display: none;
	width: 250px;
	max-width: 250px;
	position: absolute;
	top: 35px;
    left: -5px;
	background: transparent;
	padding: 10px 0 10px;
	z-index: 14;
	list-style: none;
}

.navbar-nav > li:hover > ul.sub-menu{
	display: block;
}

ul.sub-menu li:first-child a{
	border-top: 1px solid #fff;
}

ul.sub-menu li a{
	background: #50b848;
	display: block;
	border-bottom: 1px solid #fff;
	color: #fff;
	list-style: none;
	text-decoration: none;
	padding: 7px 12px;
	text-transform: uppercase;
	font-size: 14px;
    text-align: left;
}

ul.sub-menu li a:hover{
	color: #111;
}

.callback{
	text-align: right;
	margin-top: 2px;
	float: right;
	padding-top: 13px;
}

.callback p{
	font-size: 24px;
	margin-bottom: 4px;
}

.btn, a.btn{
	display: inline-block;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 20px;
    padding: 9px 20px;
	font-size: 11px;
	font-family: Arial, Verdana, sans-serif;
	background: #50b848;
}

.btn:hover, a.btn:hover, .btn-rounded, a.btn-rounded{
	color: #50b848;
	border: 2px solid #50b848;
	background: #fff;
	padding: 9px 20px 8px;
}

.btn-rounded:hover, a.btn-rounded:hover{
	color: #fff;
	border: none;
	background: #50b848;
	padding: 11px 20px 10px!important;
}

.feedback-form .btn-rounded:hover, .feedback-form a.btn-rounded:hover{
	padding: 8px 20px!important;
}


/* ~~~~~~~~~~~~~~~~ END OF HEADER ~~~~~~~~~~~~~~~~~ */

/* ~~~~~~~~~~~~~~~~ CONTENT ~~~~~~~~~~~~~~~~~ */

#content{
	padding-top: 135px;
}

.slider-caption{
	position: absolute;
    top: 0;
    left: 50%;
	width: 100%;
	max-width: 736px;
	margin-left: -368px;
	z-index: 10;
	margin-top: 60px;
}

.slider-caption .slide-logo{
	background: rgba(0,0,0,.35);
	padding: 20px 25px;
	border-radius: 5px;
	text-align: center;
}

.slider-filter{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.50);
}

.slider-text{
	color: #fff;
	font-size: 42px;
	text-transform: uppercase;
	text-align: center;
	font-family: 'PlumbBold';
	line-height: 50px;
	margin-top: 85px;
}

.carousel-control{
	width: 10%;
}

.carousel-indicators{
	bottom: 10px;
}

.carousel-indicators li, .carousel-indicators li.active{
	width: 13px;
	height: 13px;
	margin: 4px;
}

.carousel-indicators li{
	background: #fff;
	border: none;
}

.carousel-indicators li.active{
	background: #6a9d3d;
}

.carousel-control.left{
	background: url(imgs/prev.png) no-repeat 30px 50%;
}

.carousel-control.right{
	background: url(imgs/next.png) no-repeat 30px 50%;
}

#about{
	border-top: 3px solid #50b848;
	margin-top: 1px;
	padding: 25px 0 15px;
	font-size: 17px;
}

#about .container{
	background: url(imgs/palma-logo-bg.png) no-repeat 100% 0;
	border-bottom: 1px solid #c9c9c9;
	padding-bottom: 35px;
}

#about a.readmore{
	font-size: 15px;
}

#about .col-md-5 img{
	margin-top: 20px;
}

.subtitle{
	font-size: 24px;
	padding: 7px 0 0;
	line-height: 1.3em;
}

.res-item{
	text-align: center;
	margin: 30px 0;
	min-height: 290px;
	position: relative;
}

.res-item img{
	border-radius: 50%;
	border: 3px solid #50b848;
}

.res-img-bg{
	position: absolute;
	left: 60px;
    top: 0;
	width: 206px;
	height: 206px;
	border-radius: 50%;
	background: #e8e8e8;
	z-index: -1;
}

.res-item p{
	margin-top: 10px;
}

#resource .h3{
	color: #313131;
}

#news{
	background: #f6f6f6;
	padding: 25px 0 35px;
	margin-bottom: 2px;
}

.news-item{
	margin: 30px 0;
}

.news-item a.readmore{
	font-size: 13px;
}

.news-item .thumb{
	float: left;
	margin-right: 15px;
	margin-bottom: 35px;
}

.news-item .date{
	font-size: 11px;
	line-height: 0;
}

.news-item h3, .news-item p{
	font-size: 14px;
	margin: 2px 0;
	line-height: 1.2em;
}

.entry-hr{
	margin-top: 20px;
    margin-bottom: 30px;
    border: 0;
    border-top: 1px solid #c9c9c9;
}

aside{
	padding-top: 6px;
}

aside .news-item{
	margin: 0 0 25px;
    padding-bottom: 10px;
	border-bottom: 1px solid #c9c9c9;
}

aside .news-item .thumb{
	margin-bottom: 15px;
}

.news-item a.readmore{
	font-size: 13px;
}


/* ~~~ FOOTER
~~~ */

footer{
	border-top: 3px solid #50b848;
	border-bottom: 40px solid #6d6e71;
	padding: 40px 0 35px;
	color: #77787b;
	margin-top: 35px;
}

body.home footer{
	margin-top: 0;
}

footer{
	background: url(imgs/footer-bg.png) no-repeat 90% 0;
}

.copyright{
	margin-top: 5px;
	font-size: 13px;
}

footer h4{
	font-size: 15px;
	text-transform: uppercase;
	color: #414141;
}

.sitemap ul, .social ul{
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	font-size: 14px;
}

.social{
	padding-left: 45px;
}

.sitemap ul li a, .social ul li a{
	color: #77787b;
	text-decoration: none;
}

.sitemap ul li a:hover, .social ul li a:hover{
	color: #50b848;
	text-decoration: underline;
}

.social ul li{
	padding-left: 20px;
	margin-left: 3px;
}

.social ul li:first-child{
	background: url(imgs/icons.png) no-repeat 0 -94px;
}

.social ul li:last-child{
	background: url(imgs/icons.png) no-repeat 0 -120px;
}

.contacts p{
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.2em;
}

.contacts .address{background: url(imgs/icons.png) no-repeat 0 2px;}
.contacts .phone{background: url(imgs/icons.png) no-repeat 0 -23px;}
.contacts .fax{background: url(imgs/icons.png) no-repeat 0 -47px;}
.contacts .email{background: url(imgs/icons.png) no-repeat 0 -71px;}

.accordion h3, .accordion .accordion-title{
	font-size: 18px;
	color: #fff;
	text-transform: uppercase;
	background: #50b848;
	padding: 25px;
	margin-bottom: 0;
	cursor: pointer;
	position: relative;
}

.accordion .accordion-title:after{
	content: url(imgs/tab-caret-down.png);
    position: absolute;
    right: 28px;
}

.accordion .accordion-title.open:after{
	content: url(imgs/tab-caret-up.png);
    position: absolute;
}

.accordion-content{
	display: block;
    padding: 15px 25px 25px;
    border: 1px solid #c9c9c9;
}

.accordion-content h4{
	font-size: 20px;
}

.cb-item{
	padding: 25px 0;
    border-bottom: 1px solid #cecece;
}

.cb-item  p{
	padding-left: 25px;
	margin-bottom: 7px;
}

.cb-item p.city{
	color: #50b848;
	font-size: 20px;
	text-transform: uppercase;
	font-family: 'PlumbMedium';
	padding-left: 0;
	margin-bottom: 11px;
}

.cb-db{
	margin-top: 15px;
}

.cb-db ul{
	padding-left: 23px;
}


.cb-db h5{
	font-size: 18px;
	color: #414141;
}

.cb-item .address{background: url(imgs/c-icons.png) no-repeat 0 2px;}
.cb-item .phone{background: url(imgs/c-icons.png) no-repeat 0 -26px;}
.cb-item .fax{background: url(imgs/c-icons.png) no-repeat 0 -56px;}
.cb-item .email{background: url(imgs/c-icons.png) no-repeat 0 -84px;}

.cb-item-left, .cb-item-right{
	width: 48%;
	float: left;
}

body.page-id-15 .entry-hr{
	margin-bottom: 5px;
}

.contacts-content{
	padding-bottom: 33px;
}

.contacts-content h3{
	margin-top: 10px;
}

.contacts-content h5{
	padding-top: 20px;
}

.widget-area h3{
	font-size: 16px;
	margin-bottom: 15px;
}

.feedback-form{
	border: 1px solid #cecece;
	padding: 30px 35px;
	text-align: center;
}

.feedback-form textarea{
	min-height: 120px;
	height: 120px;
	max-height: 250px;
	width: 100%;
	max-width: 100%;
	min-width: 288px;
}

.feedback-form input[type="submit"]{
	font-size: 17px;
	color: #414141;
	margin: 0 auto;
	width: 200px;
	padding: 6px 30px 5px;
}

.page-list-ext .page-list-ext-item{
	position: relative;
}

.page-list-ext .page-list-ext-title a{
	position: absolute;
	color: #fff;
	font-size: 18px;
	background: rgba(0,0,0,.55);
	width: 100%;
	height: 90px;
	text-align: center;
	top: 58px;
	text-decoration: none;
	display: block;
	padding-top: 33px;
}

.page-list-ext-image{
	width: 100%;
}

.c-list ul{
	padding-left: 0;
	list-style: none;
}

.c-list ul li{
	margin-bottom: 10px;
	padding: 20px 30px;
}

.c-list ul li:nth-child(even){
	background: #f2f2f2;
}

.c-list ul li img{
	max-width: 100%;
	border: 1px solid #c5c5c5;
}

.c-list ul li .c-about{
	margin-top: 12px;
}

.c-list ul li a.btn{
	margin-top: 3px;
}

body.page-id-25 .c-list ul li a.btn{
	display: none;
}

article .col-md-8 h3{
	font-size: 24px;
	margin-top: 30px;
}


/* ~~~ WP DEFAULT STYLES
~~~ */

img.size-full{
	max-width: 100%;
	height: auto;
}

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    margin: auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}

.pagination h2.screen-reader-text{
	display: none;
}

.nav-links .page-numbers{
	font-size: 17px;
	display: inline-block;
	background: #0099cc;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
}

.nav-links .page-numbers:hover{
	background: #f7941c;
}

.nav-links .current, .nav-links .current:hover{
	background: none;
	color: #323232;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* ~~~ FORM STYLES
~~~ */

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea{
	padding: 8px 15px 9px;
	box-shadow: none;
	font-size: 14px;
	display: inline-block;
	margin-bottom: 15px;
	width: 100%;
	background: #f5f5f5;
	border-radius: 4px;
	border: 1px solid #cecece;
	color: #3d3d3d;
}

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus, textarea:focus{
	background: #fff;
}

::-webkit-input-placeholder{color:#1a1a1a;}
::-moz-placeholder{color:#1a1a1a;}
:-moz-placeholder{color:#1a1a1a;}
:-ms-input-placeholder{color:#1a1a1a;}

:focus::-webkit-input-placeholder{color: transparent}
:focus::-moz-placeholder {color: transparent}
:focus:-moz-placeholder{color: transparent}
:focus:-ms-input-placeholder{color: transparent}


/* ~~~ MODAL STYLES
~~~ */

body.modal-open{
	overflow: visible;
	padding-right: 0!important;
}

#callback-modal{
	padding-right: 0!important;
}

.modal-dialog{
	width: 90%;
	max-width: 400px;
	border: 2px solid #50b848;
	box-shadow: 1px 1px 8px #333;
	border-radius: 5px;
}

.modal-content{
	border: none;
	box-shadow: none;
	background: #fff;
}

.modal-content .btn{
	margin-top: 10px;
}

.modal-header{
	border: none;
	padding: 7px 10px 0 0;
}

.modal-body{
	padding: 10px 15px 20px;
}

.modal-header .close{
	color: #fff;
	text-shadow: none;
	opacity: 1;
}

.modal-header .modal-title, .modal-body form p.form-title{
	text-align: center;
	font-size: 21px;
	margin-bottom: 10px;
}

.modal-body .tour-name{
	font-size: 15px;
	color: #101010;
}

.modal-body form{
	text-align: center;
}

.modal-body input[type="text"], .modal-body input[type="tel"]{
	width: 80%!important;
	margin: 7px auto !important;
	display: inline-block;
}


/* ~~~  Helper classes
~~~ */

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus{
	outline: none;
}

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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ~~~ PRINT STYLES
~~~ */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; 
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}