/**************************************************************************************/
/**	Sweet Alert
***************************************************************************************/
.sweet-alert h2 {
    margin-top: 32px;
    margin-bottom: 32px;
    font-size: 1.4em;    
}

/**************************************************************************************/
/**	Estils reescrits: bootstrap.min.css
***************************************************************************************/
.navbar-brand {
    padding: 5px 5px;
}

.popover {
    max-width: 280px;
}

.popover-content {
    font-size: 14px;
}

.popover-content img {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

@media (min-width: 768px) {
  .modal-sm {
    width: 380px;
  }
}

/* Tooltip de la icona de l'app */
#jmgvv_logo .tooltip-inner {
    max-width: 340px;
}

button.close {
    padding: 0 0 0 10px;
}

/**************************************************************************************/
/**	Estils reescrits: layout.css
***************************************************************************************/

h1 {
    margin-bottom: 34px;
}

section header {
	padding-bottom: 40px;
}


/* per headers que només tenen ttiol*/
section header.only-title {
	padding-bottom: 10px;
}

/* espais de les seccions de pàgines interiors */
section {
    padding: 100px 0 80px;
}

/* espais de les seccions de la home */
#f_jmgvv_home section {
    padding: 100px 0;
}

#header {
    padding: 0 !important;
}

/* portfolio */
#portfolio .item-box {
    margin-top: 6px;
}

#portfolio .item-box-desc h4 a {
    text-decoration: none;
    color: #333;
}

#portfolio .item-box h4 {
    font-size: 17px;
}

#portfolio .item-box-desc {
    padding: 10px 15px;
}

/**************************************************************************************/
/**	Estils reescrits: essentials.css
***************************************************************************************/

.alert i.fa {
    font-size: 16px !important;
    margin-right: 5px;
}


/**************************************************************************************/
/**	Estils NOUS
***************************************************************************************/

/* text que posem al menú per indicar "Entorn de proves" */
.jmgvv_entorn {
    position: absolute;
    top: 0;
    left: -180px;
    color: red;
    font-size: 16px;
}

/* enllaç a National Geographic */
#div_NG {
    position: absolute;
    top: 0;
    left: -250px;
    padding-top: 8px;
}

#div_NG img {
    margin-bottom: 15px;
}

#div_NG div {
    width: 100%;
    max-width: 150px;    
    font-size: 12px;
    line-height: 16px;
    display: inline-block;
    white-space: normal;
}

#div_NG i {
    color: #eea236;
    /* color: #AB8B64; */
    font-size: 25px;
    position: absolute;
    top: 25px;
    left: 300px;
}

/* diàlegs modals centrats */
.modal .vertical-alignment-helper .modal-body {
    padding: 40px 30px 30px;
}

.modal .vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}
.modal .vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}

.modal .vertical-alignment-helper .modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}


/* peu de les fotos del slider del maginific popup */
.mfp-title {
    font-size: 13px;
}

.mfp-title a {
    color: #f3f3f3;
    text-decoration: underline;
}

/* link de tornar enrera */
.back-link {
    margin: 30px 0 0 0;      
    text-transform: uppercase;
    font-size: 12px;   
}

.back-link a:hover, .back-link a:focus {
    text-decoration: none;
}

/* imatge de progrés a l'enviar formularis via AJAX */
.ajax-progress {
    position: fixed; 
    text-align: center; 
    height: 100%; 
    width: 100%; 
    top: 0; 
    right: 0; 
    left: 0; 
    z-index: 9999999; 
    background-color: #000000; 
    opacity: 0.6;
}

.ajax-progress img {
    padding: 10px;
    position:fixed;
    top:45%;
    left:50%;
}

/* ajax per veure galeria d'imatges */
#gallery-slider {
    padding: 20px 0;
}

#gallery-slider p {
    color: #000;
    margin-top: 10px;
}

#gallery-slider .customNavigation {
  text-align: center;
  padding: 0 0 10px;
}

#gallery-slider .customNavigation .btn {
  padding: 8px 10px;
}

#gallery-slider .customNavigation a {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);  
  margin: 0 5px;
}

#gallery-slider .customNavigation a i {
    margin-right: 0;
}


/* camps formularis (contacte i registre) */
.form-inline input[type="text"], 
.form-inline input[type="password"],
.form-inline textarea {
	margin-bottom:10px;
	padding:0 25px !important;
	height:54px;
}

.form-inline textarea {
	height:183px;
	padding:25px !important;
}

.form-inline select {
	height:54px;
}

.form-inline .form-check label {
    color: #7e8998;
    font-weight: 400;
}

/* footer: Web Médica Acreditada */
footer div.wma {
    display: block;
    padding: 10px 0;
}

footer div.wma img {
    border : none;
}

/******************************** MENÚ ********************************/

#header .navbar-header {
    white-space: nowrap;
}

/* 02/11/2020: l'app ja no està publicada al App Store */
/* no cal marge esquerre
#header .sel-lang {
    margin-left: 160px;
}
*/

/* afegim marge esquerre a l'afegir el logo de NG */
#header .sel-lang {
    margin-left: 140px;
}

#header .lang {
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;    
}

#header .active {
    color: #eea236 !important;
}

/******************************** ABOUT ********************************/

#about a:hover, #about a:focus {
    color: #AB8B64;
    text-decoration: none;
}


/******************************** SLIDER HOME ********************************/

#home .table-cell {
    vertical-align: bottom;       
}

#home h1 {
	font-size: 60px;
	line-height: 60px;
	margin-bottom: 40px;	
}

#home h4 {
    font-weight: 400;
	margin-bottom: 40px;	    
}

#home a {
    margin-bottom: 40px;       
}

#home .btn-default {
    color: #333;
    border-color: #fff;
    background-color: #fff !important;    
}

#home .btn-default:hover,
#home .btn-default:active,
#home .btn-default:focus {
    border-color: #444;	
}

#home .text-slider-orange {
    color: #eea236 !important;
}

#home .text-slider-black {
    color: #000 !important;
}

#home .text-slider-bg {
    background-color: #ddd;
    padding: 20px 15px 10px 15px;
    text-shadow: none;
    /*margin-bottom: 40px;*/
}

#home .text-slider-bg h4 {
    color: #333;
    font-size: 1.2em;
    font-weight: 400;
    text-shadow: none;
    margin-bottom: 10px;
}

#home .text-slider-bg h4 i {
    color: #333;
    text-shadow: none;
}

#home .text-slider-bg a {    
    margin: 5px 0 10px 20px;
    letter-spacing: normal;
}

#home .text-slider-bg a.wma {
    float: right;
    margin: 0 !important;
    padding: 0 10px;
}


/* slider 3 */

#home #slider3 .table {
    left: 52%;    
}

#home #slider3 .table-cell {
    vertical-align: middle;    
    text-align: left;    
}

#home #slider3 .table-cell h1, 
#home #slider3 .table-cell h2, 
#home #slider3 .table-cell h3 {
    font-family: "Georgia", Times, serif !important;
    line-height: 100% !important;
    letter-spacing: normal !important;
}

#home #slider3 .table-cell h1 {    
    font-size: 48px;       
    margin-bottom: 10px;
}

#home #slider3 .table-cell h2 {        
    font-size: 22px; 
    line-height: 120% !important;
    margin-bottom: 18px;
    color: #A69741;
}

#home #slider3 .table-cell h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #A69741;
}

#home #slider3 .table-cell .btn {
    color: #A69741;  
    border-color: #A69741;  
    border-radius: 8px;    
    padding: 8px 60px;
    font-size: 15px;
}

#home #slider3 .table-cell .btn:hover {
    color: #fff !important;
	background: #A69741 !important;
}

/******************************** VIDEO LIBRARY ********************************/

#video_library header {
	padding-bottom: 30px;
}

/* amplada noms de categories */
#video_library #portfolio ul.isotope-filter {
    margin: 0 150px;    
    text-align: center;
}

#video_library #portfolio .nav li {
    max-width: 380px;
    display: inline-block;
    float: none;
}

#video_library #portfolio .nav li:after {
    top: 0;
}

#video_library #portfolio .nav li a {
    padding: 5px 15px 5px 20px;
}

#video_library #portfolio hr.menu-lines {
	margin-top: -32px;
    margin-bottom: 50px;
}

/* treiem el text-overflow: ellipsis (posa 3 puntets al final) */
#video_library #portfolio .item-box h4 {
    text-overflow: inherit;
    font-size: 16px;
}

#video_library .bs-callout {
    padding: 22px 4px;
    margin: 40px 0;
}

#video_library .bs-callout h3 {
    font-size: 18px;
    line-height: 23px;
}


/******************************** SCIENTIFIC WORK ********************************/

#scientific_work .service-description a:hover, 
#scientific_work .service-description a:visited,
#scientific_work .service-description a:link {
    text-decoration: none;
}

/******************************** TEAM ********************************/

#team .team-member h4 {
    font-size: 1.23em;
}

#team .team-member .inner {
    margin-left: 10px;
    margin-right: 10px;
}

#team .team-member .longdesc {
    margin-top: -90px !important;
}

#team .item-box-desc {
    padding: 10px 5px;
}

/******************************** CONTACT, REGISTER ********************************/

#contact header, #register header {
	padding-bottom: 60px;
}

#contact a:hover, #contact a:focus {
    color: #AB8B64;
    text-decoration: none;
}


/******************************** LOGIN ********************************/

#login .modal-body, #recordar .modal-body {
    padding: 20px 15px;
}

#login .form-control, #recordar .form-control {
    height: 40px;
    padding: 6px 12px !important;
}

#login a {
    text-decoration: none;
}


/******************************** INSTITUTIONS, AWARDS ********************************/

#institutions ul, #awards ul {
    list-style: none;    
    padding-left: 0;
}

#institutions #ul_col1, #awards #ul_col1 {        
    padding-right: 10px;
}

#institutions ul i.fa, #awards ul i.fa {
    float: left;  
    margin-top: 4px;  
}

#institutions ul li, #awards ul li {
    margin-left: 22px;
    margin-bottom: 4px;
}

#awards #div_galeria {
    margin-bottom: 20px;    
}


#awards .link_galeria {
    font-size: 16px;
    font-weight: 500;    
}

#awards .link_galeria:hover {
    text-decoration: none;
}

#awards .link_galeria:focus {
    text-decoration: none;
    color: #AB8B64;
}

/******************************** BOOKS, COURSES, CONGRESS COMMUNICATIONS, ARTICLES ********************************/

#courses .table {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Sota del títol no tenen text (=> margin-top: 0) */
#books .table, #congress .table {
    margin-top: 0;
    margin-bottom: 50px;
}

#courses .table tbody td, #congress .table tbody td {
    border-top: 0;   
}

#books .table tr:last-child > td {
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

#books td a {    
    padding-right: 10px;
}

#books td .padding-icon {    
    padding-left: 26px;
}

#books .chapter td {
    border-top: 0;   
    padding-top: 2px; 
}

#books .chapter td a {
    padding-left: 20px;
    padding-right: 10px;
}

#articles .widget .nav-tabs>li {
    margin-bottom: 0 !important;
}

#articles .widget .nav>li>a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color: #333;
}

#articles .widget .nav>li>a:hover {
    color: #AB8B64;
}

#articles div.tab-content {
    padding: 30px;
    color: #333;
}

#articles .table {
    margin: 0;
}

#articles .table > thead > tr > th {
    white-space: nowrap;
    border-bottom: 2px solid #CFCFCF;
}

#articles .table > thead > tr > th a {
    color: #787878;
}

#articles .table > thead > tr > th a:hover {
    text-decoration: none;
}

#articles .table tbody {
    font-size: 14px;    
}

#articles .table tbody td {
    font-size: 14px;
    border-top: 0;   
}

#articles .table tbody td a:hover, #popup_articles1 a:hover {
    text-decoration: none;   
}

#articles .table tbody td a:link, #articles .table tbody td a:visited {
    color: #AB8B64;
    text-decoration: none;   
}

#articles .table tbody td i.fa {
    padding-left: 4px;
}

/******************************** SEARCH ********************************/

#search .item-box {
    margin: 2px 0;
}

#search a {
    text-transform: uppercase;
    font-size: 12px;
}

#search a:hover {
    text-decoration: none;
}

#search a i {
    padding-right: 8px;
}

#search #criteria {
    margin-bottom: 20px;
    display: block;    
}

#search #criteria h4 {
    font-size: 16px;
}

#search #criteria a {
    float: right;  
    margin-top: 5px;      
}

#search hr {
    margin: 20px 0;
}

#search .row h4 {
    font-size: 16px;
}

#search .row p {
    margin: 5px 0 10px;
}

/******************************** DOCUMENTS ********************************/

@media (min-width: 1092px) {
    #documents .modal-dialog {
        width: 1000px;
    }
}

#documents .modal-header {
    background-color: #fff;
}

#documents .modal-header button, #documents h4.modal-title {
    color: #333 !important;
}

#documents .modal-body {
    font-size: 14px;    
}

/* estils aplicats a seccions interiors */
.padding-bottom0 {
    padding-bottom: 0;
}

.margin-bottom0 {
    margin-bottom: 0;
}

.header-text {
    margin-bottom: 40px;
}

.p-bottom10 {
    margin: 0 0 10px;    
}

/******************************** Entrevista ********************************/

#Interview_JM_Gil-Vernet .row {
    margin-top: 15px;
}

#Interview_JM_Gil-Vernet h1 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 34px;
}

#Interview_JM_Gil-Vernet .widget {
    margin-left: 50px;
}

#Interview_JM_Gil-Vernet .widget h4 {
    font-size: 17px;
}

#Interview_JM_Gil-Vernet .widget ul {
    margin: 0;
    padding: 0;
}

#Interview_JM_Gil-Vernet .widget ul.nav-list li {
    margin: 0;
}

#Interview_JM_Gil-Vernet .widget .nav > li > a {
    padding: 5px 0;
}

#Interview_JM_Gil-Vernet .widget ul li a i {
    padding-right: 8px;
}

#Interview_JM_Gil-Vernet article .question {
    margin: 30px 0 10px;
    font-weight: 600;
}

/******************************** Popup d'entrada a la web ********************************/
#popup_home .modal-footer {
    text-align: center;
}

/******************************** Obituary ********************************/
#Obituary header h1 {
    margin-bottom: 16px;
}
#Obituary header h2 {
	font-size: 26px;
    line-height: 26px;
	font-weight: 300;
    margin-bottom: 34px;
}

#Obituary .header-text h4 {
	font-size: 18px;
    line-height: 18px;
	font-weight: 600;
    margin: 16px 0 8px 0;
}

#Obituary .header-text a:link {
    color: #AB8B64;
	text-decoration: none;
}

