/*!
Theme Name: Medicina in Romania
Theme URI: https://them.es/starter
Author: Francesco Adorno
Author URI: https://www.francescoadorno.it
Description: Tema custom per Medicina in Romania
Version: 3.0.3
Requires at least: 5.0
Tested up to: 5.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: medicina
*/

/* Don't overwrite this file. Compile "/assets/main.(less|scss)" to "/assets/css/main.css" */


/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

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 {
	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;
}

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

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

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

.gallery-columns-3 .gallery-item {
	max-width: 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-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



@font-face {
    font-family: 'medicina';
    src: url('/wp-content/themes/medicina/assets/font/medicina.eot');
    src: url('/wp-content/themes/medicina/assets/font/medicina.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/medicina/assets/font/medicina.woff2') format('woff2'),
         url('/wp-content/themes/medicina/assets/font/medicina.woff') format('woff'),
         url('/wp-content/themes/medicina/assets/font/medicina.ttf') format('truetype'),
         url('/wp-content/themes/medicina/assets/font/medicina.svg#medicina') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'medicina-bold';
    src: url('/wp-content/themes/medicina/assets/font/medicina-bold.eot');
    src: url('/wp-content/themes/medicina/assets/font/medicina-bold.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/medicina/assets/font/medicina-bold.woff2') format('woff2'),
         url('/wp-content/themes/medicina/assets/font/medicina-bold.woff') format('woff'),
         url('/wp-content/themes/medicina/assets/font/medicina-bold.ttf') format('truetype'),
         url('/wp-content/themes/medicina/assets/font/medicina-bold.svg#medicina-bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

body {
	background-image: url(/wp-content/themes/medicina/assets/img/bg.png);
}

.bg-medicina {
	background: #2a78ac !important;
}

.bg-medicina-dark {
	background-color: #2d4175 !important;
}

.bg-medicina-logo {
    background-color: #115c82 !important;
}

.bg-medicina:hover {
   background: #115c82 !important;
}

.bg-yellow {
	background-color: #ffc53a !important;
}

.bg-gray {
    background-color: #e9ecef !important;
}

.bg-shape {
	background-image: url(/wp-content/themes/medicina/assets/img/shape.png);
	 background-repeat: no-repeat;
    background-position: center;
    background-size: 485px;
    background-blend-mode: hard-light;
	padding-top: 150px;
	padding-bottom: 150px;
}

.bg-outline-medicina {
	border-color: #2a78ac !important;
    color: #2a78ac !important;
}

.bg-outline-medicina:hover {
	 background-color: #2a78ac !important;
    border-color: #2a78ac !important;
    color: #fff !important;
}

.bg-light-blue {
	background-color: #cdd4fb !important;
}

.text-blue, a.text-blue {
	color: #2d4175 !important;
}


body:not(h1, h2, h3, h4, h5, h6) {
	font-family: "medicina", sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	color: #2d4175;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "medicina-bold", sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	letter-spacing: -2px;
}


ul#menu-menu-principale {
    font-family: 'medicina-bold', sans-serif;
}

ul#menu-menu-principale li a {
	letter-spacing: -1.5px;
	opacity: .95;
	-webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

ul#menu-menu-principale li a.active, ul#menu-menu-principale li a:hover {
    color: #2d4175;
	opacity: 1;
}

@media screen and (min-width: 1280px)
{
	ul#menu-menu-principale li a.active { border-bottom: 2px solid; padding: 8px 0px 0px; }
}


.box-shadow {
	box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 7%);
}

.letter-spacing-2 {
	letter-spacing: -2px;
}

.btn-xs {
    font-size: 12px !important;
}

.btn-xxs {
    font-size: 10px !important;
}

.rounded-5 {
	-webkit-border-radius: 5px !important;
    border-radius: 5px !important;
}

.shrink, .btn.shrink {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
	-webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.shrink:hover, .shrink:focus, .shrink:active, .btn.shrink:hover {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.lift {
    transition: 0.3s all ease-in-out !important;
}

.lift:hover {
    box-shadow: 0 2rem 5rem rgba(22,28,45,.1),0 .5rem 1rem -.75rem rgba(22,28,45,.05)!important;
    transform: translate3d(0,-5px,0) !important;
    transition: 0.3s all ease-in-out;
}

img.mask {
    -webkit-mask-image: url(/wp-content/themes/medicina/assets/img/mask.png);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}

img.blob {
    -webkit-mask-image: url(/wp-content/themes/medicina/assets/img/blob.svg);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}

.swiper-button-next, .swiper-button-prev {
    width: 2px !important;
	color: #2d4175 !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}

.entry-content p a {
    color: #0a58ca !important;
	font-weight: 600;
}

.entry-content p a:hover {
    text-decoration: underline;
}

.entry-content p a[target="_blank"]:after {
    content: '\F1C5';
    font-family: 'bootstrap-icons';
    font-size: 9px;
    vertical-align: top;
    margin-left: 2px;
}


.navbar-toggler:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: 0;
    text-decoration: none;
}

.navbar-toggler {
    border: 0 !important;
}


img.object-fit {
    object-fit: cover;
	object-position: left;
    width: 125px!important;
}


div.sommario:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-width: 4em 4em 0 0;
    border-style: solid;
    border-color: #dedede transparent;
}

div.sommario:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-width: 0 0 4em 4em;
    border-style: solid;
    border-color: #fff transparent;
}

.btn:focus {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}