/*
 * @author JoomDev https://www.joomdev.com/
 * @copyright Copyright (C) 2008 - 2018 Joomdev.com. All rights reserved.
 * @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later
*/

/* Module Class Suffix Css */

section > .container{
	padding: 60px 0;
}

.sp-module .sp-module-title{
	text-transform: none;
	color: #a0a0a0;
	font-weight: bold !important;
	text-shadow: 0.5px 0.5px 0.5px #555;
	
}
/*----- titulo actualidad de la portada -----*/
#sp-utility-a > div:nth-child(1) > div:nth-child(1) > h3:nth-child(1){
color: #ffffff;
text-shadow: 0.5px 0.5px 0.5px #555;
}

/*----- scrollup -----*/
a.scrollup {
	right: 30px;
	bottom: 30px;
	background-color: @major_color;
	&:before{
		color: #fff;
	}
	&:hover{
		background-color: @secondary_color;
	}
}

/*------ Extensions Page -----*/
.extensions{
	margin-top: 20px;
}

/*----- Offcanvas Menu -----*/
.offcanvas-menu .offcanvas-inner .sp-module .sp-module-content ul li{
	display: block;
}

.rtl.offcanvas .body-wrapper{
	transform: translateX(-0px);
	-webkit-transform: translateX(-0px);
}

/*----- Login -----*/
#login-form{
	#form-login-remember label{
		font-weight: 600;
	}
	ul.form-links li a:before{
		content: none;
	}
}

/*----- Search -----*/
.search{
	&.search-right{
		label{
			display: none;
		}
		.input.search-query,
		input[type=search]{
			width: 100%; 
			background: #fff;
			display: inline-block;
			border-radius: 0;
			padding: 5px 15px;
			border: 1px solid #ddd;
			height: 40px;
		}
		button.button{
			margin-right: 0;	
			margin-top: 9px;
			border-radius: 0;
			margin-left: -42px;
			padding: 3px 18px 9px;
			text-indent: -999999px;
			-webkit-border-radius: 0;
			border-left: 1px solid #ddd;
			background: url(../images/search-icon.png) no-repeat center center;
			&:hover{
				background: @major_color url(../images/search-icon-hover.png) no-repeat center center;
			}
		}
	}
}

.entry-header h2{
    font-size: 36px;
    margin: 0 0 20px;
}

div.sp-module ul li{
	display: inline-block;
	border: none;
}

/*----- 3rd Party Extensions */
/* -----
	01. SP Tweet
	02. RokSprocket
	03. Chronoform
	04. News Show SP2
----- */

/*----- SP Tweet Module  -----*/
.sp-tweet .sp-tweet-even{
	background: transparent;
}

/*************** RokSprocket *************/
/*----- Slideshow  -----*/
.layout-slideshow .sprocket-features-arrows span.arrow{
	background: @major_color;
	font-size: 25px;
	line-height: 18px;
}
.layout-showcase .sprocket-features-arrows span.arrow{
	background: @major_color;
	font-size: 25px;
	line-height: 18px;
}

/*----- Headlines -----*/
.sprocket-headlines{
	&.navigation-active{
		ul.sprocket-headlines-list li a{
			color: @secondary_color;
		}
		.sprocket-headlines-navigation{
			width: auto;
			span.arrow{
				background: @major_color;
				font-size: 25px;
				height: 30px;
				line-height: 25px;
				width: 30px;
			}
		}
	}
}

/*----- Mosaic Layout  -----*/
.sprocket-mosaic-g-order ul li{
	display: inline-block;
}

/*----- Quotes Layout -----*/
.sprocket-quotes {
	.sprocket-quotes-nav .sprocket-quotes-arrows .arrow{
		background: @major_color;
	}
	.sprocket-quotes-overlay  .css-loader-wrapper {
		padding: 9px !important;
	}
}

/*----- Tabs Layout -----*/
.sprocket-tabs {
	border: 1px solid #ddd;
	ul.sprocket-tabs-nav {
		border: none;
		line-height: 0;
		text-align: center;
		background: transparent;
		margin-bottom: 20px;
		padding: 0 !important;
		li {
			float: none;
			margin: 0;
			top: 0;
			position: relative;
			display: inline-block;
			&.active, &:hover {
				span.sprocket-tabs-inner {
					border: none;
					color: fade(@major_color, 80%);
					background: none;
				}
				img.sprocket-tabs-icon {
					background: @major_color;
				}
			}
			span.sprocket-tabs-inner {
				border: none;
				background: none;
				color: #98999e;
				padding: 0 25px;
			}
			img.sprocket-tabs-icon {
				background: #b5b5b5;
				padding: 10px 15px;
				min-height: 69px;
				& + .sprocket-tabs-text {
					top: 23px;
					position: relative;
					display: inline;
				}
			}
			.sprocket-tabs-text {
				display: block;
				padding: 20px 0;
				font-weight: bold;
			}
		}
	}
	&.layout-top .sprocket-tabs-panels {
		padding: 0 10px 10px;
	}
	&.layout-bottom {
		.sprocket-tabs-panels {
			padding: 10px 10px 0;
		}
		.sprocket-tabs-nav {
			margin-bottom: 0;
			margin-top: 20px;
		}
	}
	&.layout-left {
		.sprocket-tabs-nav {
			margin: 0 15px 0 0;
			li {
				float: none;
				display: block;
				border-bottom: 1px solid #ddd;
				&:last-child {
					border: none;
				}
			}
		}
		.sprocket-tabs-panels {
			padding: 10px;
		}
	}
	&.layout-right {
		.sprocket-tabs-nav {
			margin: 0 0 0 15px;
			li {
				display: block;
				float: none;
				border-bottom: 1px solid #ddd;
				&:last-child {
					border: none;
				}
			}
		}
		.sprocket-tabs-panels {
			padding: 10px;
		}
		}
	}

.tab-border-top {
	.sprocket-tabs.layout-top {
		ul.sprocket-tabs-nav {
			li {
				border-top: 2px solid transparent;
				&.active {
					border-top: 2px solid @major_color;
					background: #fff;
					
				}
				&:hover {
					background: #fff;
					border-top: 2px solid @major_color;
					.sprocket-tabs-inner {
						color: @major_color;
					}
				}
			}
		}
	}
}

/*----- Mosaic Layout -----*/
.sprocket-mosaic {
	.sprocket-mosaic-item,
	.sprocket-mosaic-g-item {
		margin: 10px;
		border: 1px solid #e3e3e3;
	}
	.sprocket-mosaic-container {
		li {
			.sprocket-mosaic-item {
				h2.sprocket-mosaic-title a {
					color: inherit;
					font-size: 22px;
					text-decoration: none;
				}
				.sprocket-readmore {
					color: inherit;
					text-decoration: none;
				}
				.sprocket-mosaic-tags {
					background: fade(@secondary_color, 80%);
				}
			}
		}
	}
	.sprocket-mosaic-g-container {
		li {
			.sprocket-mosaic-g-item {
				h2.sprocket-mosaic-g-title a {
					color: #fff;
					font-size: 22px;
					text-decoration: none;
				}
				.sprocket-mosaic-g-readon {
					color: #fff;
					text-decoration: none;
				}
				.sprocket-mosaic-g-tags {
					background: fade(@secondary_color, 80%);
				}
			}
		}
	}
	.sprocket-mosaic-filter,
	.sprocket-mosaic-g-filter {
		float: none;
		text-align: center;
		ul {
			li {
				color: @secondary_color;
				margin: 5px 0;
				background: #fff;
				border-radius: 0;
				font-weight: bold;
				padding: 10px 25px;
				-moz-border-radius: 0;
				-webkit-border-radius: 0;
				border: 1px solid #e3e3e3;
				display: inline-block;
				&.active, &:hover {
					color: #fff;
					background: fade(@major_color, 80%);
				}
			}
		}
	}

	.sprocket-mosaic-order,
	.sprocket-mosaic-g-order {
		float: none;
		text-align: center;
		ul {
			li {
				color: @secondary_color;
				margin: 5px 0;
				background: #fff;
				border-radius: 0;
				padding: 10px 25px;
				-moz-border-radius: 0;
				-webkit-border-radius: 0;
				border:1px solid #e3e3e3;
				&.active {
					color: #fff;
					background: fade(@major_color, 80%);
				}
			}
		}
	}
	.sprocket-mosaic-loadmore,
	.sprocket-mosaic-g-loadmore {
		color: #fff;
		width: 190px;
		border: none;
		padding: 15px 8px;
		background: @secondary_color;
		.loadmore-all span, span {
			line-height: 18px;
		}
		.loadmore-info {
			display: none;
		}
		&:hover {
			background: fade(@secondary_color, 80%);
		}
	}
}
.sprocket-mosaic-overlay .css-loader-wrapper,
.sprocket-mosaic-g-overlay .css-loader-wrapper { padding: 9px !important; }

/*----- Strips -----*/
.sprocket-strips{
	.sprocket-strips-item{
		position: relative;
		&:before{
			content: "";
			display: block;
			position: absolute;
			width: 100%;
			height: 100%;
			background: rgba(0,0,0,0.6);
			z-index: 9;
			
		}
		.sprocket-strips-content{
			z-index: 99;
			position: relative;
			.sprocket-strips-title{
				a{
					color: #eee;
				}
			}
			.sprocket-strips-text{
				color: #eee;
				padding-bottom: 10px;
			}
			.readon{
				span{
					color: #eee;
				}
			}
		}
	}
}
.sprocket-strips-s{
	.sprocket-strips-s-title{
		a{
			font-size: 22px;
			color: @text_color;
		}
	}
}

.sprocket-strips-c{
	.sprocket-strips-c-title{
		a{
			font-size: 22px;
			color: @text_color;
		}
	}
}

.sprocket-strips-p{
	.sprocket-strips-p-title{
		a{
			font-size: 22px;
			color: @text_color;
		}
	}
}

/*----- Chronoform -----*/
.chronoforms {
	form {
		input {
			padding: 10px 5px;
			border-radius: 0px !important;
		}
		textarea {
			height: 200px;
			border-radius: 0px !important;
		}
		input#your_name {
			background: #fff url(../images/name-icon.png) no-repeat scroll 8px 5px;
			padding-left: 35px;
		}
		input#email-address {
			background: #fff url(../images/email-icon.png) no-repeat scroll 8px 13px;
			padding-left: 35px;
		}
		input#message-subject {
			background: #fff url(../images/subject.png) no-repeat scroll 8px 5px;
			padding-left: 45px;
		}
		textarea#message {
			background: #fff url(../images/message-icon.png) no-repeat scroll 8px 13px;
			padding-left: 35px;
		}
		label {
			color: @major_color !important;
		}
	}
	.ui.button.green {
		background: @major_color !important;
		border: none;
		border-radius: 3px;
		color: #fff;
		display: inline-block;
		font-weight: bold;
		margin-bottom: 10px;
		margin-top: 10px;
		padding: 15px 15px;
		text-shadow: none;
		font-size: 18px;
		float: right;
		&:hover, &:focus {
			color: #fff;
			background: fade(@major_color, 80%) !important;
		}
	}
	.ui.three.column.grid {
		margin-bottom: 20px;
	}
}

a.chronoforms6_credits {
	display: none;
}

.home-chrono-form {
	.chronoforms {
		form {
			input {
				padding: 10px 5px;
				border-radius: 0px !important;
			}
			textarea {
				height: auto;
				border-radius: 0px !important;
			}
			textarea#message {
				background: #fff url(../images/message-icon.png) no-repeat scroll 8px 13px;
				padding-left: 35px;
			}
			input#full-name {
				background: #fff url(../images/name-icon.png) no-repeat scroll 8px 5px;
				padding-left: 35px;
			}
			input#you-email-address {
				background: #fff url(../images/email-icon.png) no-repeat scroll 8px 13px;
				padding-left: 35px;
			}
		}
		.ui.button.green {
			background: @major_color !important;
			border: none;
			border-radius: 3px;
			color: #fff;
			display: inline-block;
			font-weight: bold;
			margin-bottom: 10px;
			margin-top: 10px;
			padding: 9px 15px;
			text-shadow: none;
			font-size: 18px;
			&:hover, &:focus {
				color: #fff;
				background: fade(@major_color, 80%) !important;
			}
		}
	}
	.chronoforms6_credits {
		display: none;
	}
}

/*----- News Show SP2 -----*/
.ns2-wrap {
	.ns2-row-inner .ns2-column {
		.ns2-introtext {
			border-bottom: 3px solid @major_color;
			font-size: 17px;
			font-weight: 500;
			line-height: 30px;
			max-width: 250px;
			padding: 10px 0;
		}
		.ns2-created {
			color: @major_color;
			font-size: 14px;
			position: relative;
			padding: 0px 20px;
			&:before {
				font-family: FontAwesome;
				content: "\f073";
				color: @major_color;
				display: block;
				position: absolute;
				left: 0;
				top: -4px;
			}
		}
	}
}

/*----- Contacts Detail -----*/
.contacts-detail {
	.custom.contacts-detail {
		background: @secondary_color;
		color: #fff;
		padding: 37px 35px;
	}
	.icon_list_wrapper {
		float:left;
	}
	.icon_description_text,
	.icon_description_text a {
		color:#fff;
		font-size:13px;
	}
	.icon_description {
		margin-left: 56px;
		> h3 {
			color:#fff;
			font-size:18px;
			font-weight:normal;
		}
	}
	.icon_list_icon  i.fa {
		font-size: 18px;
		color: #fff;
	}
}

/*----- JD Social Icons -----*/
#jd-social-icons {
	.small-heading {
		padding-bottom: 15px;
		border-bottom: 1px solid #ddd;
	}
	ul {
		margin-top: 20px;
		li {
			border: none;
			display: inline-block;
			padding: 10px 5px;
			&:first-child {
				padding: 10px 0px;
			}
			a {
				background: #fff;
				border-radius: 100%;
				height: 40px;
				text-align: center;
				width: 40px;
				&:hover, &:focus {
					background: @major_color;
					color: #fff;
				}
				&:before {
					content: none;
				}
			}
		}
	}
}

/*----- Flipbox -----*/
#flipbox {
	text-align: center;
	.flip-container {
		perspective: 1000;
	&:hover .flipper {
		background: @major_color;
		transform: rotateY(180deg);
	}
	&:hover .heading {
		color: @major_color;
	}
	.heading {
		color: #303030;
		margin: 10px 0;
		cursor: pointer;
		font-size: 17px;
		font-weight: bold;
		line-height: normal;
	}
	.flipper {
		color: #fff;
		width: 260px;
		height: 270px;
		transition: 0.6s;
		margin: 10px auto;
		position: relative;
		transform-style: preserve-3d;
	}
	.front,
	.back {
		top: 0;
		left: 0;
		width: 100%;
		position: absolute;
		backface-visibility: hidden;
	}
	.front {
		z-index: 2;
		transform: rotateY(0deg);
		.info {
			position: absolute;
			bottom: 10px;
			width: 100%;
		}
	}
	.back {
		padding: 15px 20px;
		transform: rotateY(180deg);
		.info {
			padding-bottom: 20px;
		}
		p.desc {
			max-height: 155px;
		}
	}
}

	.member-name {
		font-size: 25px;
		color: #fff;
		margin: 5px 0;
	}
	.member-post {
		font-size: 18px;
		color: #fff;
		margin: 5px 0;
	}
	p.desc {
		font-size: 16px;
		line-height: 20px;
	}
}

/*----- Clients Icon -----*/
.clients ul li {
	border: none;
	border: medium none;
	display: inline-block;
	padding: 17px 10px;
}

/*----- Scale Transition -----*/
.scale-icon {
	div[class*="col-md-"] {
		text-align: center;
	}
	.scale {
		img {
			transition:all 0.3s ease 0s;
			-o-transition:all 0.3s ease 0s;
			-moz-transition:all 0.3s ease 0s;
			-webkit-transition:all 0.3s ease 0s;
			margin: 0 auto;
		}
		&:hover {
			img {
				transform:scale(1.1);
				-o-transform:scale(1.1);
				-ms-transform:scale(1.1);
				-moz-transform:scale(1.1);
				-webkit-transform:scale(1.1);
			}
		}
	}
}

/*----- Inrotext -----*/
.introtext {
	margin: 0 auto 20px;
    text-align: center;
    width: 60%;
}

/*----- Title -----*/
div.jd-title {
	h3.sp-module-title {
		font-size: 30px;
		position: relative;
		text-align: center;
		font-weight: 300 ;
		display: inline-block;
		margin-bottom: 80px;
		width: 100%;
		span {
			font-weight: 600;
		}
		&:before {
			content: "";
			display: block;
			margin: 0 auto;
			position: absolute;
			right: 0;
			left: 0;
			bottom:-40px;
			text-align: center;
			background: @major_color;
			z-index: 1;
		   width: 17px; 
		   height: 17px;
		   /* Rotate */
		   -webkit-transform: rotate(-45deg);
		   -moz-transform: rotate(-45deg);
		   -ms-transform: rotate(-45deg);
		   -o-transform: rotate(-45deg);
		   transform: rotate(-45deg);
		   /* Rotate Origin */
		   -webkit-transform-origin: 0 100%;
		   -moz-transform-origin: 0 100%;
		   -ms-transform-origin: 0 100%;
		   -o-transform-origin: 0 100%;
		   transform-origin: 0 100%;
			
		}
		&:after {
			width: 30%;
			content: "";
			height: 1px;
			display: block;
			margin: 0 auto;
			position: absolute;
			right: 0;
			left: 0;
			bottom: -29px;
			text-align: center;
			background: #ccc;
		}
	}
}

/*----- Tab -----*/
.tab-border-top {
	.sprocket-tabs {
		border: 1px solid #ddd;
	}
	.sprocket-tabs-panels {
		padding: 10px 15px;
		line-height: 30px;
	}
	.sprocket-tabs.layout-top {
		ul.sprocket-tabs-nav {
			padding: 10px 8px 0;
			li {
				border-top:2px solid transparent;
				&.active {
					border-top:2px solid @major_color;
					background:#fff;
					color: @major_color;
				}
				&:hover {
					background: #fff;
					border-top: 2px solid @major_color;
					.sprocket-tabs-inner {
						color: @major_color;
					}
				}
				.sprocket-tabs-inner {
					border-radius: 0;
					cursor: pointer;
					display: block;
					font-weight: 500;
					line-height: 1em;
					padding: 10px 15px;
				}
			}
		}
	}
}

/*----- Grids -----*/
.sprocket-grids-b{
	ul{
		li{
			.sprocket-grids-b-item{
				.sprocket-grids-b-content{
					color: #fff;
				}
				.sprocket-grids-b-title{
					color: #fff;
					font-size: 22px;
					a{
						color: #fff;
					}
				}
				.sprocket-grids-b-readon{
					color: #fff;
				}
			}
		}
	}
}

/*----- Sprocket Lists -----*/
.sprocket-lists {
	ul.sprocket-lists-container {
		text-align: left;
		li {
			margin-bottom: 5px;
			&.active .sprocket-lists-title {
				background: #fff;
				border: 1px solid #ddd;
				color: fade(@major_color, 80%);
			}
			.sprocket-lists-title {
				color: #333;
				background: #fff;
				border-radius: 0;
				margin: 0 !important;
				border: 1px solid #ddd;
				-webkit-border-radius: 0;
				padding: 8px 35px 8px 20px !important;
			}
			.sprocket-lists-item {
				border-top: none !important;
				border-left: 1px solid #ddd !important;
				border-right: 1px solid #ddd !important;
				border-bottom: 1px solid #ddd !important;
			}
			&.active .indicator:after {
				content:"-";
				font-size: 35px;
			}
			.indicator {
				opacity: 1;
				width: 30px;
				color: #fff;
				height: 30px;
				border-radius: 0;
				margin-top: -15px;
				background: fade(@major_color, 80%);
				-webkit-border-radius: 0;
				span, &:before {
					display: none;
				}
				&:after {
					content: "+";
					color: fff;
					font-size: 28px;
					line-height: 28px;
				}
			}
		}
	}
}

.sprocket-lists-modern {
	.sprocket-lists-modern-container {
		border: 1px solid #ddd;
		padding: 0 10px !important;
		li:last-child {
			border: none;
		}
		li.active span.indicator {
			border-bottom: 10px solid @secondary_color;
			border-top: none;
			opacity: 1;
		}
		.sprocket-lists-modern-title {
			font-size: 20px !important;
			padding-bottom: 0 !important;
		}
		.sprocket-lists-modern-item {
			display: inline-block;
		}
	}
	.sprocket-lists-modern-nav {
		.next {
			background: url(../images/arrow-r.png) no-repeat;
			height:25px;
			width:25px;
		}
		.next:hover {
			background: url(../images/arrow-r-h.png) no-repeat;
		}
		.prev {
			background: url(../images/arrow-l.png) no-repeat;
			height:25px;
			width:25px;
		}
		.prev:hover {
			background: url(../images/arrow-l-h.png) no-repeat;
		}
		.arrow:before {
			display: none;
		}
	}
}

.sprocket-lists-portrait {
	.sprocket-lists-portrait-container {
		border: 1px solid #ddd;
		padding: 0 10px !important;
		h4.sprocket-lists-portrait-title {
			font-size: 20px !important;
		}
		li:last-child {
			border-bottom: 0;
		}
	}
}

/*----- Acymailing Module -----*/
.acymailing_module {
	table.acymailing_form {
		margin: 0;
		tr {
			td.acysubbuttons {
				text-align: left;
			}
		}
		input {
			padding: 9px 20px;
			border-radius: 0;
			height: auto;
		}
	}
	
	td, th {
		padding: 0;
	}
	form {
		margin: 0;
	}
	.acysubbuttons .button {
		border: none;
		border-radius: 0;
		font-size: 18px;
		position: relative;
		top: -3px;
		padding: 9px 22px;
		line-height: normal;
		text-indent: -999999px;
		background: fade(@major_color, 80%) url(../images/check-icon.png) no-repeat center center;
		&:hover {
			background: @major_color url(../images/check-icon.png) no-repeat center center;
		}
	}
	.acyfield_email input.inputbox {
		width: 310px !important;
	}
	p.acysubbuttons {
		text-align: left;
	}
	.acymailing_introtext {
		margin-bottom: 15px !important;
	}
}

.jd-subscribe {
	.acymailing_module {
		table.acymailing_form {
			margin:0;
			tr {
				td.acysubbuttons {
					text-align: left;
				}
			}
			input {
				padding: 9px 20px;
				border-radius: 0;
			}
		}
		.acyfield_email input.inputbox{
			width: 350px !important;
		}
		.acysubbuttons .button {
			padding: 0;
			text-indent: 0;
			margin: 0;
			background: none !important;
		}
		.acysubbuttons {
			width: 160px;
			height: 41px;
			display: block;
			margin-left: 5px;
			padding: 10px 15px;
			background: @secondary_color;
			text-align: center !important;
			&:before {
				width: 16px;
				content: "";
				height: 16px;
				display: inline-block;
				background: @secondary_color url(../images/plane-icon.png) no-repeat left center;
			}
		}
		p.acysubbuttons {
			text-align: left;
		}
	}
	.acymailing_module_form {
		width: 580px;
		background: fade(@major_color, 80%);
		margin: 0 auto !important;
		padding: 25px 40px !important;
		td {
			padding: 0;
		}
	}
	.acymailing_introtext {
		color: #fff;
		font-size: 20px;
		font-weight: bold;
		margin-bottom: 15px !important;
	}
}

/*----- Headlines Layout -----*/
.sp-module {
	.sprocket-headlines {
		border: none;
		background: none;
		ul.sprocket-headlines-list {
			li {
				border: none;
				span {
					display: inline-block;
					font-size: inherit;
					line-height: normal;
				}
			}
		}
	}
}

/* BT Login */
#btl {
	#btl-panel-login,
	.btl-modal {
		margin: 0 !important;
		height: auto !important;
		box-shadow: none !important;
		line-height:normal !important;
		padding: 3px 0 3px 24px !important;
		background: url(../images/lock-icon.png) no-repeat 1px 4px !important;
	}
	#btl-panel-profile {
		margin: 0;
		height: auto;
		border-radius: 0;
		text-transform: capitali;
		box-shadow: none !important;
		padding: 1px 30px 1px 10px !important;
	}
	#btl-panel-profile.active {
		opacity: 1;
	}
}

#btl-content-profile {
	box-shadow: none;
	margin-top: 10px;
	padding-top: 10px;
	border-top: none;
	border-radius: 0;
	background: #fff;
	&:before {
		content:"";
		display: inline-block;
		background: url(../images/menu_drop.png) no-repeat;
	}
	div.btl-buttonsubmit {
		margin: 15px 12px 10px 20px !important;
		.btl-buttonsubmit {
			background: @major_color !important;
			text-shadow: none !important;
			box-shadow: none !important;
		}
	}
}

/*----- BT Popup Login -----*/
#btl-content-login {
	border: none;
	background: #fff;
}

#btl-content-login {
	.btl-field {
		margin: 0 20px !important;
		.btl-label, .btl-input { width:100%; }
		.btl-input input {
			width:100%;
			height:auto;
			box-shadow:none;
			border-radius:0;
			line-height:normal;
			padding:6px;
			&:focus {
				border: 1px solid @major_color;
			}
		}
		#btl-input-remember {
			text-align: right;
			padding-top: 8px;
		}
	}
	h3 {
		color: #fff;
		text-align: center;
		background: fade(@secondary_color, 80%);
		padding: 5px !important;
	}
	div.btl-buttonsubmit {
		border: none !important;
		margin: -36px 25px 30px 20px;
		text-align: left !important;
		.btl-buttonsubmit {
			font-size: 18px;
			text-shadow:none;
			padding: 9px 28px 10px;
			border: none !important;
			height: auto !important;
			box-shadow: none !important;
			border-radius: 3px !important;
			-moz-border-radius: 3px !important;
			-webkit-border-radius: 3px !important;
			border-radius: 3px !important;
			background: @major_color !important;
			line-height: normal !important;
			&:hover {
				background: @major_color !important;
			}
		}
	}
	ul#bt_ul {
		float: none;
		display: inline-block;
		li {
			float: left;
			list-style: none;
			margin: 0 10px 0 0;
			a:hover {
				color: @major_color !important;
				text-decoration: none !important;
			}
		}
	}
}

/*----- Top Bar Section -----*/
#sp-top-bar {
	background: @major_color;
	.container {
		padding: 0;
	}
	.sp-module {
		display: block;
	}
	.sp-contact-info {
		i.fa {
			color: #fff;
			font-size: 30px;
		}
		a {
			color: #fff;
			font-weight: 500;
			position: relative;
			top: -5px;
			font-size: 17px;
			letter-spacing: 2px;
		}
	}
	#sp-top-c {
		padding: 0px;
	}
	span#btl-panel-registration{
		display: none;
	}
}

/*----- Header Section -----*/
#sp-header {
	height: auto;
	padding: 10px 0;
	background: @secondary_color;
	#sp-logo {
		.logo {
			height: auto;
			padding: 5px 0;
		}
	}
}

/* Mega Menu */
#offcanvas-toggler {
	line-height: 60px;
	> i {
		color: #fff;
	}
}
#sp-menu {
	ul.sp-megamenu-parent {
		> li {
			a {
				color: #fff;
				line-height: 30px;
				padding: 15px;
				position: relative;
				font-size: 16px;
				font-weight: normal;
				text-transform: none;
				&:before {
					content: "";
					position: absolute;
					top: 50px;
					bottom: 0;
					left: 0;
					right: 0;
					background: @major_color;
					height: 2px;
					width: 100%;
					-webkit-transform: scaleX(0);
					transform: scaleX(0);
					-webkit-transform-origin: 50%;
					transform-origin: 50%;
					-webkit-transition: transform 0.26s ease-out;
					-moz-transition: transform 0.26s ease-out;
					-ms-transition-duration: 0.26s ease-out;
					transition: transform 0.26s ease-out;
				}
			}
			&.active a {
				color: @major_color;
				&:before {
					content: "";
					position: absolute;
					top: 50px;
					bottom: 0;
					left: 0;
					right: 0;
					background: @major_color;
					height: 2px;
					width: 100%;
					-webkit-transform: scaleX(1);
					transform: scaleX(1);
					-webkit-transform-origin: 50%;
					transform-origin: 50%;
					-webkit-transition: transform 0.26s ease-out;
					-moz-transition: transform 0.26s ease-out;
					-ms-transition-duration: 0.26s ease-out;
					transition: transform 0.26s ease-out;
				}
			}
			&:hover a:before{
				transform:scaleX(1)
			}
			.sp-dropdown-main {
				.sp-dropdown-inner {
					padding: 0px;
					ul.sp-dropdown-items {
						li {
							border-bottom: 1px solid #ccc;
							a {
								padding: 7px 15px;
								color: @secondary_color;
								transition: all 0.3s ease 0s;
								font-size: 15px;
								&:before {
									content: none;
								}
								&:hover, &:focus {
									color: #fff;
									transition: all 0.3s ease 0s;
								}
							}
							&:hover a {
								padding-left: 25px;
							}
							&.active a {
								background: @major_color;
								color: #fff;
							}
							.sp-dropdown-sub {
								ul.sp-dropdown-items {
									li {
										border-bottom: 1px solid #ccc;
										a {
											background: transparent;
											padding-left: 15px;
											color: @secondary_color;
											transition: all 0.3s ease 0s;
											&:hover, &:focus {
												color: #fff;
												background: @major_color;
												transition: all 0.3s ease 0s;
											}
										}
										&.active a {
											background: @major_color;
											color: #fff;
										}
										&:hover  a {
											padding-left: 25px;
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

/*----- Slider Section -----*/
section#sp-slider {
	.container{
		padding: 0;
	}
	#sp-slider {
		.sp-module {
			position: relative;
			&.jd-subscribe {
				bottom: -65px;
				left: 0;
				margin: 0;
				position: absolute;
				right: 0;
				top: auto;
			}
		}
	}
}



/*----- Feature -----*/
#sp-feature {
	background: #f2f3f8;
}

/*----- Utility Section -----*/
#sp-utility {
	background-size:cover;
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:top center;
	background-image:url(../images/bg2.jpg);
	h1, h2, h3, h4,
	h5, h6, p { color:#000; }
	.heading {
		width:60%;
		color:#000;
		font-size:35px;
		margin-top:20px;
		font-weight:bold;
		line-height:normal;
		margin-bottom:10px;
	}
}

/*----- Main Bottom Section -----*/
#sp-mainbottom {
	background: #f2f3f8;
}

/*----- JD Custome Position -----*/
#sp-jd-custom-one {
	background-size: cover;
	background-repeat: no-repeat ;
	background-position: top center;
	background-image: url(../images/bg1.jpg);
	h1, h2, h3, h4, h5, h6, p { color: #fff; }
}

/* ----- */
#sp-jd-custom-two {
	background: #f2f3f8;
}

/* ----- */
#sp-jd-custom-three {
	background-image: url(../images/bg3.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/*----- Main Body -----*/
#sp-main-body {
	padding: 0px 0;
	.container{
		padding: 0;
	}
	#sp-sidebar-a {
		.sp-module {
			background: #fff;
			border-radius: 3px;
			box-shadow: 0 0 5px rgba(0, 0, 0, 0.09);
			margin-top: 20px;
			padding: 15px;
			h3.sp-module-title {
				font-size: 22px;
				line-height: normal;
				margin-bottom: 5px;
				font-weight: 400;
				padding-bottom: 0px;
				color: @secondary_color;
				span {
					font-weight: 600;
				}
			}
			.sp-module-content {
					ul.menu {
					margin-left:20px;
					li {
						margin:0;
						width: 100%;
						position:relative;
						line-height:normal;
						display:inline-block;
						ul {
							margin-left:20px;
						}
						a {
							width:100%;
							color:#5b5b5b;
							padding:5px 0;
							font-size:16px;
							position:relative;
							margin-bottom:5px;
							font-weight:normal;
							display:inline-block;
							&:before {
								background-color:@major_color;
								content: "";
								height: 100%;
								left:-15px;
								position: absolute;
								top: 0;
								transition: width 0.2s ease-in 0s;
								width: 3px;
							}
							&:hover {
								z-index:1;
								color:#fff !important;
								&:before {
									transition: width 0.2s ease-in 0s;
									width: 100%;
									z-index:-1;
								}
							}
						}
					}
				}
			}
		}
	}
	#sp-sidebar-b {
		.sp-module {
			background: #fff;
			border-radius: 3px;
			box-shadow: 0 0 5px rgba(0, 0, 0, 0.09);
			margin-top: 20px;
			padding: 15px;
			h3.sp-module-title {
				font-size: 22px;
				line-height: normal;
				margin-bottom: 5px;
				font-weight: 400;
				padding-bottom:0px;
				color: @secondary_color;
				span {
					font-weight: 600;
				}
			}
			.sp-module-content {
					ul.menu {
					margin-left:20px;
					li {
						margin:0;
						width: 100%;
						position:relative;
						line-height:normal;
						display:inline-block;
						ul {
							margin-left:20px;
						}
						a {
							width:100%;
							color:#5b5b5b;
							padding:5px 0;
							font-size:16px;
							position:relative;
							margin-bottom:5px;
							font-weight:normal;
							display:inline-block;
							&:before {
								background-color:@major_color;
								content: "";
								height: 100%;
								left:-15px;
								position: absolute;
								top: 0;
								transition: width 0.2s ease-in 0s;
								width: 3px;
							}
							&:hover {
								color:#fff !important;
								z-index:1;
								&:before {
									z-index:-1;
									width: 100%;
									transition: width 0.2s ease-in 0s;
								}
							}
						}
					}
				}
			}
		}
	}	
}
article.item {
	margin: 0;
}

.entry-header {
	margin: 0px;
}

.margin-zero {
	#sp-main-body {
		padding:0px;
	}
}

/*----- Bottom Section -----*/
section#sp-bottom {
	color:#fff;
	background: @major_color;
	padding: 20px 0px;
	.container{
		padding: 0;
	}
}

/*----- Footer Section -----*/
footer#sp-footer {
	background: @secondary_color;
	padding: 40px 0px;
	.sp-module {
		margin: 0px;
		h3.sp-module-title {
			font-size: 28px;
			color: #fff;
			text-align: left;
		}
		#jd-social-icons {
			.small-heading {
				text-align: left;
				margin-top: 30px;
			}
			ul {
				li {
					float: left;
					a {
						i.fa {
							color: @secondary_color;
						}
						&:hover, &:active {
							i.fa {
								color: #fff;
							}
						}
					}
				}
			}
		}
	}
	ul.nav {
		li {
			border: none;
			text-align: left;
			display: block;
			a {
				display: inline-block;
				&:hover, &:focus {
					background: transparent;
				}
				&:before {
					content: none;
				}
			}
		}
	}
	.acymailing_module {
		.acymailing_introtext {
			text-align: left;
		}
		.acysubbuttons {
			input.button {
				background: @major_color url("../images/check-icon.png") no-repeat scroll center center !important;
				border: medium none;
				border-radius: 0;
				line-height: normal;
				padding: 8px 22px;
				text-indent: -999999px;
				margin: 0px;
				position: relative;
				top: 0;
				
			}
		}
	}
	.sp-tweet {
		text-align: left;
	}
}

/*----- Copyright Section -----*/
#sp-copyright {
	background: #000;
	color: #fff;
	font-size: 15px;
	text-align: center;
	padding: 15px 0px;
	.container{
		padding: 0;
	}
	p {
		padding: 0px;
		margin: 0px;
		a {
			color: #fff;
		}
	}
	a {
		color: #fff;
	}
}



/* espacio entre el buscar Y EL PROIMER MODULO */

#sp-showcase{
	div.container {
	padding-top: 50px;
	padding-bottom: 2%;
	
}
}






/* para poner azul el modulo de buscar de la pag principal */
.sp-module.search-top {
	background: rgba(26, 154, 188, 0.8) !important;
}


/* poner azul Política y Gobierno */
#flipbox .flip-container .flipper{
    background: rgb(10, 151, 205)!important;
     border-radius:10px;
	}
	
#flipbox .flip-container .flipper {
    background: 
    #164d78 !important;
    border-radius: 10px;
}	


/* actualidad */

sprocket-tabs ul.sprocket-tabs-nav {
     border: none; 
     line-height: 0; 
     text-align: left; 
    
   
    padding: 0 !important;
}

ul.sprocket-tabs-nav>li {
         border-radius: 5px 5px 0px 0px;
}


#sp-utility p {
    color: #107a8d;
}

 ul.sprocket-tabs-nav li {
	background: #beeaf3 !important;
	margin-right: 2px !important;
	margin-left: 2px !important;
    
 
}

.sprocket-tabs ul.sprocket-tabs-nav{
  
     text-align: left !important ;
}





.tab-border-top .sprocket-tabs.layout-top ul.sprocket-tabs-nav li.active {
 border-top: 2px solid #2d9dff;
 background: white !important;
}

.tab-border-top .sprocket-tabs.layout-top ul.sprocket-tabs-nav li:hover  {
 border-top: 2px solid #2d9dff;
 background: white !important;
}

.tab-border-top .sprocket-tabs.layout-top ul.sprocket-tabs-nav .sprocket-tabs-inner {
 color: #2d9dff;
}
.tab-border-top .sprocket-tabs.layout-top ul.sprocket-tabs-nav li:hover .sprocket-tabs-inner {
 color: #2d9dff;
}


.sprocket-tabs-nav > li:nth-child(1){
	margin-left: 0px !important;
  background: #beeaf3 !important; 
}


sprocket-tabs-panels a {
    color: #2472d7 !important;
}

div.jd-title h3.sp-module-title::before{
background: #1a99bc;
}


.sprocket-tabs-nav > li {
border-top-left-radius:0px;
border-top-right-radius:10px;
background: #a4dbed !important;
}


.sprocket-tabs-nav {
	margin-bottom: 0px !important;
}

.sprocket-tabs.layout-top .sprocket-tabs-panels { 
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
background-color: white; }

.sprocket-tabs ul.sprocket-tabs-nav {
	
	}

.tab-border-top .sprocket-tabs {
    border: 0px !important;
}

div.nspArtPage> div{
	
	background: #93d7ff45 !important;
	margin-left: 2px;
	margin-right: 4px;
	border-radius:5px;
	
}

.sprocket-tabs-text {padding: 4px !important;}

.nspCol3 {
    width: 32.5% !important;
}

.nspPages3 {
	width: 309% !important;
}



/* tramites y servicios */

.view-all-button{
	text-align: center;
}

.tram-marco-par {
    background: #47aecd !important;;
}

.sp-module ul > li > a:hover {
    color: #fefefe !important;;
}

.mostread{
  font-size: small;
}

ul.mostread>li>a{
 line-height: 18px;
 display: flex !important;
 text-align: justify;
      color: #164d78;
}


ul.mostread>li{

 display: block !important;
 
}

.cuerpo{
  min-height: 152px;
}




.tramites-card-impar{
  padding-right: 10px;
    padding-left: 10px;
    background-color: #A1d2ef;
    padding-bottom: 7px;
  padding-top: 7px;
border-radius: 5px;}


.tramites-card-par{
  padding-right: 10px;
    padding-left: 10px;
    background-color: #a1d2ef;
    padding-bottom: 7px;
padding-top: 7px;
border-radius: 5px;}


.tram-marco-impar, .tram-marco-par {
    width: 73px !important;
    height: 73px !important;
    border-radius: 94px !important;
    margin: auto !important;
}

.impar, .par{
padding-top: 17px !important;
padding-left: 0px !important;
}

.tramites-card-impar>h6, .tramites-card-par>h6 {
	color: #316c9a !important;
}

.tramites-card-impar>hr, .tramites-card-par>hr {
	margin-top: 1px !important;
	    margin-bottom: 4px !important;
}
/**-------------------------------------------------------------------------**/




/* .tramites_box{border-right-color: #4A8291; */
/* border-right-style: inset;} */ 



/* esto es para poner un css dependiendo de la resolucion de la pantalla */



    /* Large desktop */
    @media (min-width: 1200px) { 
	.pantalla-movil{
				display:none;
			}
      #sp-top-bar>.container {
    width: 1326px !important;
			}
}
    /* Portrait tablet to landscape and desktop */
    @media (min-width: 768px) and (max-width: 1200px) { 

	.tab-text{
				display:none;
			}
	.pantalla-movil{
				display:none;
			}
      
        .container{margin-left: 20px;
    margin-right: 20px;}
      
        .tramites_box{ margin-bottom: 5px;
   
        margin-top: 5px;}


	}
     
    /* Landscape phone to portrait tablet */
    @media (max-width: 767px) { 
	
			.tab-text{
				display:none;
			}
			.pantalla-completa{
				display:none;
			}
			.container{margin-left: 20px;
				margin-right: 20px;}
      
			.tramites_box{ margin-bottom: 5px;
   
				margin-top: 5px;}

	}
     
    /* Landscape phones and down */
    @media (max-width: 480px) { 
		
			.tab-text{
				display:none;
			}
			.pantalla-completa{
				display:none;
			}
      
			.container{margin-left: 20px;
				margin-right: 20px;
			}
      
			.tramites_box{ margin-bottom: 5px;
   
					margin-top: 5px;
			}
					
				
			
	}



    
#sp-copyright-a > div > div > div > ul{text-align: center;}


/**ocultar el footer de las descargas**/
.jd_footer{
  display:none !important;
}

.results-box{
      border: 0px solid #fefefe !important;
   margin-top: 6px !important;
}

#mod-ajaxsearch-form > div:nth-child(1) > div:nth-child(1){
  float: right !important;
 
}

.boton_login{
  font-size: 23px;
  padding-top: 8px;
  float: right;
}

#phocagallery a img {
      float: left !important;
}


.img-thumbnail{
  min-width: 40px !important;
}




/*para que el over del menu cubra las palabras completamente*/
#sp-main-body #sp-sidebar-b .sp-module .sp-module-content ul.menu li a:hover:before {
  z-index: -1;
  width: 115% !important;
  transition: width 0.2s ease-in 0s;
}
 /*esto es para poner la ruta pegada al banner*/
.sp-module {
    margin-top: -10px;
}
.imagen-cuba {
    left: 5px;
    bottom: 30px;
    position: fixed;
    z-index: 999;
    width: 100px;
    background: #eaeceb75;
    padding-right: 10px;
}


.btn-login-button {
  color: #fff;
}

#je-popuplogin{
    margin-top: 20px !important ;
}

#sp-header-c, {
     margin-top: 18px !important ;
     padding-left: 9px !important;
   padding-right: 9px !important;

}
#sp-menu{
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.custom.jd-title.m-t-50{
  margin-top: 1px !important;
  
}

h1{color: #736565;}

h2 {
    font-size: 30px !important;;
    margin: 0 0 20px !important;;
   
}
/*color de h2*/
.entry-header h2 a {
    color: #736565;}

/*ordenar la lupa y el candado en mivil*/
#sp-header-c > div > div:nth-child(1){
float: right;
}


#sp-header-d > div > div.sp-module.col-sm-1{
float:  right;


}


#sp-header-d > div > div:nth-child(2){
float: left;
margin-top: 19px !important ; 

}

#sp-header>.container {
    
			padding-right: 24px !important;
			}	


/*esto es para apliar aviso*/

#sp-top-bar>.container{
    margin-left: 11px !important;
    margin-right: 10px !important;
}

/*separar los articulos*/
  
  article.item{
    padding-bottom: 37px !important;
  }

/*para separar el boton flotante*/
button.jfab_main_btn,.jfab_btns_wrapper {
      right: 80px !important;
}
.jfab_btns_wrapper {
      right: 69px !important;
}