@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow');

html {
      height: 100%;
}

body {
  	padding-top: 160px;
  	padding-bottom: 0px;
  	/* Margin bottom by footer height */
  	margin-bottom: 0px;
  	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
  	color: #000000;
	height: 100%;
}

.row {
	margin-bottom: 20px;
	margin-right: 0px;
	margin-left: 0px;
}

.marge-contingut {
	padding-bottom: 100px !important;
	padding: 0;
}

.interiorheader {
	font-size: 14px;
	margin-bottom: 20px;
}
.interiorheader a {
	color: #4b4a49;
	text-decoration: none;
}
.interiorheader a:hover {
	color: #4b4a49;
	text-decoration: underline;
}
.titol-interiors {
	margin-top: 34px;
}
.titol-interiors h1 {
	color: #a10421;
	font-size: 28px;
	margin-bottom: 40px;
	border-bottom: 2px dotted #58585a;
	font-weight: bold;
}
.titol-interiors h2 {
	margin-left: 58px;
	color: #0088c0;
	font-size: 24px;
	margin-bottom: 20px !important;
}
.titol-interiors p {
	margin-left: 58px;
}

.titol-interiors2 {
	margin-top: 54px;
}

.imgtitol {
	margin-right: 15px;
}

.nopaddingrow {
    padding-right: 0px;
    padding-left: 0px;
}
.nopaddingrowright {
    padding-right: 0px;
}
.nopaddingrowleft {
    padding-left: 0px;
}


/* ELEMENTS COMUNS 
-------------------------------------------------- */

#interior-background {
    width: 634px;
    height: 1405px;
    position: fixed;
    top: 150px;
    left: 0;
    /*background-image: url(../imgs/interior-background.png);*/
    background-repeat: no-repeat;
	background-size: 60%;
    z-index: 0;
}

.btn-primary {
    background-image: none;
    background-repeat: repeat-x;
    border-color: #a10421;
    background-color: #a10421;
    border: 0;
    border-radius: 0;
    color: #fff !important;
	padding: 7px 35px;
	font-weight: bold;
}
.btn-primary:hover, btn-primary:focus {
    border-color: #a10421 !important;
    background-color: #a10421 !important;
}

.form-control {
    background-color: #ffffff;
    border: 1px solid #a10421;
    border-radius: 0;
    color: #4c4a49;
	font-size: 17px !important;
	height: auto;
}
.form-group {
    margin-bottom: 5px;
}

.right {
    float:right;
}
.clearclear { 
    clear: both !important;
    clear: right;
    color: #fff;
}
.clearboth { 
    clear: both !important;
    clear: right;
}

.alright {
    text-align: right;
}
.alcenter {
    text-align: center !important;
}

.vermell {
	color: #a10421;
}
.color2 {
	color: #004178;
}

ul li {
	list-style-image: url(../imgs/bullet.png);
	margin-bottom: 10px;
	text-align: justify;
}
ol li {
	margin-bottom: 10px;
}


/* HOME 
-------------------------------------------------- */

#homepage {
  	padding-top: 0px;   
    padding-bottom: 0px;   
    margin-bottom: 0px;
	background-image: url(../imgs/home-background.jpg);
	background-repeat: no-repeat;
  	background-size: cover;
}

.titol-home img {
	height: 50%;
	max-height: 50%;
	position: absolute;
}

.logo-organizadopor {
	position: absolute;
	top: 50px;
	right: 50px;
}
.logo-organizadopor img {
	width: 65%;
	float: right;
}
.franjahome {
	width: 100%;
	background-color: rgba(255,255,255,0.3);
	padding: 35px 35px;
	position: absolute;
	bottom: 40px;
}

.logo-patrocinadopor {
	width: 60%;
	float: left;
	/*margin: 21% 0;*/
	margin: 0% 0;
	text-align: center !important;
}
.logo-patrocinadopor p {
	margin-bottom: 30px;
	color: #ffffff;
	font-size: 17px;
	text-align: center !important;
}

ul {
	padding: 0px !important;
}
.botons-home li {
	list-style: none;
	margin-bottom: 5px !important;
	float: right !important;
}
.botonshome {
	width: 90%;
}

.usuario a {
    color: #ffffff;
	/*color: #4c4a49;*/
}
.usuario {
	float: right !important;
}

.bloqueusuario .btn-primary {
    border-color: #a10421;
    background-color: #a10421;
}

p.olvidado {
	text-align: right;
	margin-bottom: 0px;
	font-size: 12px;
}
p.olvidado2 {
	text-align: right !important;
}


/* NAVIGATION 
-------------------------------------------------- */

.posicio {
    float: right;
}

.navbar-nav > li > a {
    background-color: #004178;
    border-left: 1px solid #fff;
    color: #fff;
    text-align: center;
    width: 140px;
    text-shadow: none;
    margin-left: 0px;
	padding: 5px 0px !important;
}
.navbar-nav > li > a:hover {
    background-color: #f5dcc8 !important;
    color: #a10421 !important;
}
.navbar-nav > li.active > a {
    background-color: #f5dcc8 !important;
    color: #a10421 !important;
}

.navbar-inverse {
	border: none;
	background: #0e0218 !important;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
}

.navbar-nav {
    float: right;
    margin: 0;
}
.menutop {
	padding-right: 0px;
	padding-top: 0px;
	position: relative;
	height: 0;
}
.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav > li > a {
    text-shadow: none;
	margin-left: 0px;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}
.navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    padding-left: 0;
    padding-right: 20px;
}
.navbar-nav > li > a {
    padding: 0;
}

.logoint {
    margin: 0px 0px 0px 0px;
}
.logintcol {
	padding: 0;
}

#bg-left.container-fluid{/*overflow:hidden;*/padding-left:0; padding-right:0; background-image:url(../imgs/header-left.jpg); background-repeat:no-repeat; background-position:left top; background-size:auto 150px; min-height:150px; background-size: contain;}


/* NAVUSER 
-------------------------------------------------- */

.interiorheadertext-left {
	margin-top: 6px;
	float: left;
}
.interiorheadertext-right {
	margin-top: 6px;
	float: right;
}

.interiorheader .col-sm-6 {
	padding: 0px;
}

.btn-success, .btn-success:visited {
    background-image: none !important;
    background-repeat: repeat-x !important;
    border-color: #4b4a49 !important;
    background-color: #4b4a49 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
.btn-default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    box-shadow: none;
    text-shadow: none;
}
.btn {
	padding: 6px 20px 7px 20px;
	font-size: 17px;
}
.salir {
	color: #ffffff !important;
	margin-left: 20px;
	float: right;
	text-decoration: none !important;
	font-size: 14px;
}
.salir a {
	text-decoration: none !important;
}
.salir a:hover {
	text-decoration: none !important;
}


/* PROFESORADO 
-------------------------------------------------- */

ul.profesorado {
	margin-left: 0px !important;
	padding-left: 0px;
}
ul.profesorado img {
	margin-right: 10px;
}
ul.profesorado a img {
	margin-right: 0px;
	margin-right: 10px;
	vertical-align: bottom;
}
.profesorado li {
	list-style: none;
}
.profesorado li strong {
	color: #a10421;
}
.profesorado li p {
	color: #58585a;
	padding-left: 45px;
}


/* MODULOS + UNIDAD
-------------------------------------------------- */
	
.img-modul {
	position: absolute;
	z-index: 1000;
}
.img-modul img {
	width: 60%;
}

#indicemodulos {
	/*margin-left: 58px !important;*/
	padding-left: 0px;
	float: left;
	width: 100%;
}
.text-indicemodulos {
	float: left;
}
.text-indicemodulos-noactiu {
	float: left;
	color: #808080 !important;
}

.boto-indicemodulos {
	float: right;
	text-align: right;
	z-index:1001;
}

#line-modulos {
	border-top: solid 1px #000000;
	margin-bottom: 10px;
	margin-top: 5px;
}

.indicemodulos p.vermell {
	margin-top: 20px !important;
}

.btnmodulos2 {
  	-webkit-border-radius: 0;
  	-moz-border-radius: 0;
  	border-radius: 0px;
  	font-family: 'Open Sans', sans-serif;
  	color: #ffffff;
  	font-size: 16px;
  	background: #a10421;
  	padding: 6px 20px 7px 20px;
  	border: 0px;
  	text-decoration: none;
  	margin-left: 30px;
  	display: inline-block;
	box-shadow: 5px 5px 5px #888888;
	width: 146px;
	text-align: center;
}
.btnmodulos2:hover {
	text-decoration: none;
 	color: #ffffff;
}
p a.btnmodulos2 {
	float: right;
	margin-bottom: 15px;
}

.taulaunitat2  {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
.taulaunitat2 td  {
	vertical-align: top;
}

.taulaunitat  {
	border-collapse: collapse;
	border-spacing: 0;
	width: 95.5%;
	margin-left: 39px;
	margin-top: 20px;
}
.taulaunitat td  {
	vertical-align: top;
}
#line-unitat {
	border-top: solid 1px #410421;
}
.taulaunitat td.boto  {
	vertical-align: middle !important;
}

.fletxes {
    margin-left: 30px;
}
.contingutint {
    margin-top: 10px;
    border: 1px solid #a10421;
    padding: 40px;
	float: left;
	width: 100%;
}
.contingutint h1 {
	color: #a10421;
	font-size: 28px;
	margin-bottom: 20px !important;
}

.ombreta {
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}

.menucontenido {
        margin-top: 10px;  
}
.menucontenido img{
    margin: 0 !important;
    padding: 0;
}
.menuitem {
    width: 153px;
    min-height: 36px;
    background-image: url(../imgs/menu-fons.png);
    background-position: bottom;
}
.menuitem a {
    color: #a10421;
    display: block;
    font-size: 15px;
    padding: 10px 20px 10px 10px;
    width: 100%;
    line-height: 18px;
}
.menuitem a:hover {
    text-decoration: none;
}
.ultim {
    min-height: 36px;
    background-image: url(../imgs/menu-bottom.png);
    background-position: bottom;
    padding-bottom: 8px;
}

.menuocult {
	display:none;
}

img.paddingtop {
	padding-top: 10px;
}

.resposta-test {
	color: #4c4a49;
	background-color: #F5DCC8;
	padding: 20px;
	font-weight: bold;
}


/* AGENDA
-------------------------------------------------- */

/*ul.interior li {
	list-style-image: url(../imgs/bullet.png);
	list-style-image: url(../imgs/arrow-agenda.png);
	margin-bottom: 50px;
	text-align: justify;
	margin-left: 150px;
}*/

.contingutint-color {
    background-color: #f5dcc8;
    border: 1px solid #f5dcc8;
	padding-left: 98px;
}

.destacat {
	background-color: #004178;
	color: #ffffff;
	padding: 20px 20px 10px 20px;
	margin-bottom: 40px;
}

.dates {
	margin-left: 150px;
}
.dates p {
	margin-bottom: 30px;
}
.dates p img {
	margin-right: 20px;
}


/* ACREDITACION
-------------------------------------------------- */

.contingutacreditacion {
    margin-top: 10px;
    border: 1px solid #a10421;
    padding: 40px;
	background-color: #ffffff;
	/*height: 610px;
	height: 300px;*/
}
.contingutacreditacion:last-child {
	margin-right: 0px;
}
.contingutacreditacion h1 {
    font-size: 24px !important;
    color: #0088c0;
    font-weight: 700;
}
.contingutacreditacion p {
    margin: 0px !important;
}
.contingutacreditacion img {
    /*margin: 120px 0px 20px 0px;*/
	margin: 0px 0px 20px 0px;
}
.contingutacreditacion.llarg img {
    margin: 68px 0px 20px 0px;
}
.petit {
	font-size: 15px;
}


/* TUTOR
-------------------------------------------------- */

#miform .form-group {
    margin-bottom: 15px;
}
label {
    font-weight: normal;
}


/* EVALUACION
-------------------------------------------------- */

.table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	margin-top: 20px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border: 1px solid #000000;
    line-height: 1.42857;
    padding: 8px 20px !important;
    vertical-align: top;
}
tr.evaluacion > td {
    border: 1px solid #000000 !important;
    line-height: 1.42857;
    padding: 8px 20px !important;
    vertical-align: top; 
    background-color: #a10421 !important; 
	color: #ffffff !important;
}
tr.evaluacion > td:first-child {
	border-left: 1px solid #000000 !important;
}
tr.evaluacion > td:last-child {
	border-right: 1px solid #000000 !important;
}

.evaluacion-text {
	display: inline-table;
	margin-right: 10px;
}
.evaluacion-form {
	margin-right: 40px;
	display: inline-block;
	height: 15px;
}
.evaluacion-checkbox {
	width: 20px;
	height: 20px;
	border: solid 1px #000;
	background-color: #ffffff;
	text-align: center;
	font-size: 14px;
}

.table a{
	text-decoration: none;
	color: #000;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td/*, tbody tr td.titol-taula*/ {
    border-top: 0;
    background-color: #808080 !important;
	color:#ffffff;
	font-weight: bold;
}
.table > thead > tr > th {
    border: 1px solid #ffffff;
    line-height: 1.42857;
    padding: 3px;
    vertical-align: top;
	border-bottom: 1px solid #000000 !important;
}
.table > thead > tr:first-child {
	border: 1px solid #000000;
}
.table > thead > tr > th:first-child {
	border-left: 1px solid #000000;
}
.table > thead > tr > th:last-child {
	border-right: 1px solid #000000;
}
.table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border: 1px solid #000000;
    line-height: 1.42857;
    vertical-align: top;
    background-color: #ffffff;
}
/*.taronja {
	color:#e63312;
}*/

.missatge {
	color: #c73b41;
	font-style: italic;
}


/* Texts ESMON
-------------------------------------------------- */

#textesmon, #pregunta {
	font-weight: normal;
}

#textesmon h1 {
	font-size: 28px;
	color: #a10421;
	font-weight: normal;
}
#textesmon h2 {
	font-size: 24px;
	color: #a10421;
	margin-bottom: 10px;
	font-weight: normal;
}
#textesmon h3 {
	font-size: 20px;
	color: #a10421;	
}

#textesmon a {
    color: #a10421;
	text-decoration: none;
}
#textesmon a:hover {
    color: #a10421;
	text-decoration: underline;
}

#textesmon b, strong {
	font-weight: 700;
}

#textesmon ul{
	padding: 15px !important;
}

/* FOOTER
-------------------------------------------------- */

#footer {
   background-color: #ffffff;
   border-top: 1px solid #a10421;
   bottom: 0;
   color: #4c4a49;;
   font-size: 15px;
   position: fixed;
   text-align: center !important;
   width: 100%;
   z-index: 1000;
}
#footer p {
    text-align: center !important;
	margin: 20px;
}

#homepage #footer {
    background-color: transparent;
	border-top: 0px;
    color: #ffffff;
}
#homepage #footer a {
    color: #ffffff;
	text-decoration: none;
}
#homepage #footer a:hover {
	color: #ffffff;
	text-decoration: none;
}

.footerint {
	color: #4b4a49;
	line-height: 10px;
}
.footerint a {
     color: #4b4a49;
	 text-decoration: none;
}
.footerint a:hover {
     color: #a5a3a3;
	 text-decoration: none;
}


/* FANCYBOX
-------------------------------------------------- */

.fancycontent {
	background-color: #ffffff !important;
	padding: 20px;
}
#text {
	width: 100%;
}

#line {
	border-top: solid 1px #a10421;
	width: 100%;
	margin-bottom: 20px;
}
.cajaerror {
	background-color: #f4d8d9;
}
.error {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: #c73b41;
	font-style: italic;
}
.campsobligats {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: normal;
	color: #4c4a49;
	font-style: italic;
}

.titol_fancy {
	font-size: 26px;
	font-weight: bold;
	color: #a10421;
	margin-top: 10px !important;
}
.titol_fancy2 {
	font-size: 22px;
	font-weight: bold;
	color: #a10421;
}

.form-input-fancy {
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #4c4a49;
    width: 100%;
    padding: 6px 2.5%;
    font-size: 17px !important;
}
.form-select-fancy {
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #00002a;
    width: 100%;
    padding: 6px 2.5%;
    font-size: 17px !important;
}



/* MEDIA QUERRIES
-------------------------------------------------- */

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
	
	body {
    	padding-top: 119px;
	}
	
	.franjahome {
    	padding: 20px 35px;
	}
	.form-control {
    	font-size: 12px !important;
	}
	p.olvidado, p.olvidado2 {
		font-size: 10px !important;
	}
	.btn {
    	padding: 3px 17px 4px 17px;
    	font-size: 14px;
	}
	
	#bg-left.container-fluid {background-size:auto 109px; min-height:109px;}
	
	#interior-background {
    	top: 109px;	
	}
	
	.posicio {
    	float: right !important;
	}
	.navbar-nav > li > a {
    	width: 119px;
	}
	.interiorheader {
    	font-size: 12px;
	}
	
	.titol-interiors {
    	margin-top: 0px;
	}
	.titol-interiors h1 {
		margin-top: 0px;
		margin-bottom: 10px;
	}
	
	.titol-interiors2 {
    	margin-top: 0px;
	}
	
	.img-modul img {
    	width: 38%;
	}
	.contingutint-color {
    	padding-left: 78px;
	}
	
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
	  
	body {
    	padding-top: 92px;
	}
	
	#homepage {
		background-image: url(../imgs/home-background-ipad-portrait.jpg);
	}
	
	.franjahome {
    	padding: 20px 35px;
	}
	.form-control {
    	font-size: 12px !important;
	}
	p.olvidado, p.olvidado2 {
		font-size: 10px !important;
	}
	.btn {
    	padding: 3px 17px 4px 17px;
    	font-size: 14px;
	}
	
	#bg-left.container-fluid {/*background-size:auto 109px;*/ min-height:82px;}
	
	#interior-background {
    	top: 82px;	
	}
	
	.posicio {
    	float: right !important;
	}
	.navbar-nav > li > a {
    	width: 91px;
	}
	.interiorheader {
    	font-size: 11px;
	}
	
	.titol-interiors {
    	margin-top: 0px;
	}
	.titol-interiors h1 {
		margin-top: 0px;
		margin-bottom: 10px;
	}
	
	.titol-interiors2 {
    	margin-top: 0px;
	}
	
	.img-modul img {
    	width: 38%;
	}
	.contingutint-color {
    	padding-left: 58px;
	}
	
	.nopaddingrowright {
    	padding-left: 0px;
	}
	  
}
