﻿/*
Theme Name: Madroka Theme
Theme URI: http://meritdesigns.com/
Description: Madroka Theme
Version: 1.0
Author: Merit Designs - Andres J. Villar
*/

body { 
	margin:0; 
	padding:0; 
	font-size:15px; 
	color: #666666; 
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	background: url(images/bg.png) no-repeat top center #f7f7f7;
	/** background-attachment: fixed; **/
	background-size: 100%;
}

.container-fluid {
	width: 1100px; 
	max-width: 100%; 
	margin: 0 auto; 
}
.clear { 
	width: 100%; 
	clear: both; 
}
.uppercase {
	text-transform: uppercase;
}
.height10 {
	width: 100%; 
	clear: both;
	height: 10px;
}
.height15 {
	width: 100%; 
	clear: both;
	height: 15px;
}
.height20 {
	width: 100%; 
	clear: both;
	height: 20px;
}
.height30 {
	width: 100%; 
	clear: both;
	height: 30px;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
}
h4 {
	font-size: 16px;
}
a, a:hover, a:focus { 
	text-decoration: none; 
	color: #1864A9;
}
.white {
	color: #fff;
}
.black {
	color: #000;
}
.blue {
	color: #1864A9 !important;
}
.yellow {
	color: #FDC508;
}
.grey {
	color: #666;
}
.bg-white {
	background: #fff;
}
.bg-black {
	background: #000;
}
.bg-yellow {
	background: #FDC508;
}
.bg-grey {
	background: #f7f7f7;
}
.bg-blue {
	background: #1864A9;
}
img {
	max-width: 100%;
	height: auto;
}
.transition {
	transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
}


/** HEADER **/
.top-bar {
	color: #fff;
	font-size: 14px;
	font-weight: 300;
	padding-top: 10px;
	margin-bottom: 20px;
}
.top-bar a, .top-bar a:hover, .top-bar a:focus {
	color: #fff;
}
.top-bar a.menu {
	display: inline-block;
}
.top-bar a.border:before {
	content: '';
	height: 14px;
	width: 2px;
	background: #fff;
	margin: 0 8px 0 6px;
	position: relative;
	top: 2px;
	display: inline-block;
}
.top-bar .social.first {
	margin-left: 12px;
}
.top-bar .social .fa {
	font-size:18px;
	margin-left: 8px;
	position: relative;
	top: 2px;
}
.top-bar select {
	border: none;
	background: url(images/down.png) no-repeat right center transparent;
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	padding-left: 10px;
   	padding-right: 16px;
}
.top-bar br {
	display: none;
}
.mainmenu {
	background: transparent;
	padding: 0;
	position: relative;
	z-index: 99999;
}
.navbar-default { 
	background-color: transparent !important; 
	border: none !important; 
	margin-bottom: 0; 
	padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}
.navbar {
    border-radius: 0;
}
.navbar-default .navbar-nav > li {
	padding-left: 4px;
	padding-right: 4px;
}
.navbar-default .navbar-nav > li.mobile {
	display: none;
}
.navbar-default .navbar-nav > li > a {
    color: #fff !important;
	padding-left: 6px;
	padding-right: 6px;
	font-size: 15px;
	background: transparent;
	font-weight: 300;
}
.logo {
    position: absolute;
    left: 0;
    padding: 0;
   	line-height: 20px;
    height: auto;
    border: none;
    z-index: 99;
    top: -54px;
}
.logo img {
	width: 180px;
}
.navbar-default .navbar-toggle {
    background: #1864A9 !important;
    border: 1px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 44px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    margin-top: 0;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}
.navbar-default .navbar-toggle:hover {
	background: #fff !important;
}
.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #1864A9;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: transparent;
}
.navbar-collapse {
    border: none !important;
}
h4.resultados {
	font-size: 16px;
	margin: 20px 0 10px 0;
}
.carousel {
	border-bottom: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	z-index: 1;
	position: relative;
}
.carousel .item { 
	width: 100%; 
}
.carousel .item img {
	border: 8px solid #fff;
}
.shadow {
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
}
.block {
	background: #fff;
	padding: 20px 20px 12px 20px;
}
.block.bg-grey {
	background: #f9f9f9;
}
.block .col-xs-2 {
	padding: 0 2px;
	text-align: center;
}
.block .rownumbers {
	margin: 0;
}
.block .number {
	background: #e8e8e8;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	display: block;
	padding-top: 8px;
	padding-bottom: 8px;
	position: relative;
	margin-bottom: 6px;
}
.block .flecha {
	background: url(images/flecha.jpg) no-repeat center center #fff;
	position: absolute;
	width: 100%;
	height: 7px;
	padding: 0;
	bottom: -5px;
}
.block .border {
	border-top: 2px solid #e9e9e9;
	width: 100%;
	height: 1px;
	margin: 10px 0;
}
.block big {
	text-transform: uppercase;
	font-size: 34px;
	line-height: 30px;
}
.block small {
	text-transform: uppercase;
	font-size: 18px;
}
.block .resultados {
	font-weight: 300;
	letter-spacing: 0.4px;
	margin-top: 12px;
	padding: 8px 0 0 0;
	color: #777;
	font-size: 14px;
	border-top: 3px solid #e9e9e9;
}
.block .resultados img {
	float: right;
	width: 20px;
}

/** Footer **/
footer {
	background: url(images/bg-footer.jpg) repeat-y center center;
	padding-top: 20px;
	padding-bottom: 12px;
	margin-top: 30px;
	color: #fff;
	font-size: 13.5px;
	font-weight: 300;
}
footer .menufooter {
	border-bottom: 1px solid #005ba5;
	margin-bottom: 20px;
}
footer .menufooter a {
	color: #fff;
	font-weight: 300;
	font-size: 13.5px;
	padding-right: 8px;
	padding-bottom: 10px;
	display: inline-block;
}
footer .copyright {
	border-top: 1px solid #005ba5;
	margin: 20px 0 0 0;
	padding: 20px 0 0 0;
	font-size: 13px;
}
footer .copyright a {
	color: #fff;
	font-weight: 300 !important;
}

/** PAGOINAS **/
.breadcrumbs {
	text-align: right;
	font-weight: 300;
	color: #2790D4;
	font-size: 13px;
	margin: 20px 0;
}
.breadcrumbs a {
	color: #fff;
}
.breadcrumbs .fa {
	color: #fff;
}

.contenidos {
	padding-top: 30px;
	margin-top: 10px;
	padding-bottom: 30px;
	font-weight: 300;
}
.contenidos h3 {
	margin-bottom: 14px;
	font-weight: 700;
}
.contenidos i, .contenidos em {
	color: #1864A9;
	font-style: normal;
}
.contenidos h4 {
	color: #1864A9;
	margin: 30px 0 10px 0;
}
.contenidos strong {
	font-weight: normal;
	color: #222;
}
.contenidos ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.contenidos ul li {
	padding: 15px 0 15px 36px;
	border-bottom: 1px solid #e9e9e9;
	min-height: 42px;
}
.contenidos ul li:nth-child(1) {
	background: url(images/1.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(2) {
	background: url(images/2.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(3) {
	background: url(images/3.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(4) {
	background: url(images/4.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(5) {
	background: url(images/5.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(6) {
	background: url(images/6.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(7) {
	background: url(images/7.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(8) {
	background: url(images/8.png) no-repeat left 20px;
	background-size: 24px;
} 
.contenidos ul li:nth-child(9) {
	background: url(images/9.png) no-repeat left 20px;
	background-size: 24px;
} 
a.readmore {
	background: #1864A9;
	border-radius: 6px;
	display: inline-block;
	margin: 20px 0;
	padding: 7px 20px;
	font-size: 13px;
	border:2px solid #1864A9;
	color: #fff;
}
a.readmore:hover {
	background: #fff;
	color: #1864A9;
	border: 2px solid #1864A9;
}
a.imagenbg {
	width: 100%;
	height: 200px;
	display: inline-block;
	margin-bottom: 10px;
}
a.img_full img {
	width: 100%;
	margin-bottom: 12px;
}
.videos {
    background: #fff;
}
.videos .col-xs-9 .main {
    padding: 0;
}
.videos .col-xs-3 {
    padding-left: 0;
}
.videos iframe {
    width: 100%;
    height: 396px;
}
.videos .anteriores {

}
.videos .anteriores h3 {
    padding: 10px;
    color: #fff;
    font-size: 17px;
    background: #0067af;
    margin: 0;
}
.videos .anteriores ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    /**
    height: 360px;
    overflow-y: auto;
    **/
}
.videos .anteriores ul li {
    display: block;
    clear: both;
    border-bottom: 1px solid #58b4e2;
    cursor: pointer;
    padding-top: 10px;
    padding-left: 10px;
}
.videos .anteriores {
    color: #fff;
    line-height: 16px;
    font-size: 13px;
}
.videos .anteriores img {
    width: 90px;
    float: left;
    margin-right: 12px;
    margin-bottom: 10px;
    max-width: 48%;
}
.nano { 
    width: 100%; 
    height: 360px; 
    background: #0067af;
}
.nano .nano-content { }
.nano .nano-pane   { 
    background: #999; 
    margin-right: 2px; 
}
.nano .nano-slider { 
    background: #111; 
}
.formulario input, .formulario textarea {
	border: 1px solid #d0d0d0;
	padding: 10px;
	margin-bottom: 15px;
	width: 100%;
}
.contactos {
	line-height: 20px;
}
.contactos .fa {
	display: inline-block;
	width:26px;
	text-align:center;
}
.formulario input[type="submit"] {
	background: #1864A9;
	border-radius: 3px;
	display: inline-block;
	margin: 10px 0;
	padding: 10px 30px;
	border:2px solid #1864A9;
	color: #fff;
	width: auto;
}
.formulario input[type="submit"]:hover {
	background: #fff;
	color: #1864A9;
	border: 2px solid #1864A9;
}

@media(max-width: 991px) {  
	.navbar-collapse {
    	border-top: none;
    }
	.navbar-nav {
		background: #1864A9;
	}
	.logo img {
	    width: 140px;
	}
	.videos .anteriores img {
        width: 92%;
        float: none;
        margin-right: 0;
        max-width: 100%;
    }
    .videos .anteriores li {
        padding-bottom: 10px;
    }
}


@media(max-width: 767px) {
	footer .logofooter {
		text-align: center;
	}
	footer .logofooter img {
		width: 150px;
		margin-bottom: 20px;
	}
	footer a.social {
		margin-top: 20px;
		display: inline-block;
	}
	footer .copyright .col-sm-6 {
		text-align: center;
	}
	footer .copyright .text-right {
		text-align: center;
	}
	.videos .col-xs-9, .videos .col-xs-3 {
        float: none;
        width: 100%;
    }
    .videos .col-xs-3 {
        padding-left: 15px !important;
        padding-bottom: 12px;
        margin-top: 20px !important;
        height: 160px;
        overflow: hidden;
    }
    .videos .anteriores ul {
    	vertical-align: top;
    }
    .videos .anteriores ul li {
        display: inline-block;
        clear: none;
        border-bottom: none;
        cursor: pointer;
        padding-top: 0;
        padding-bottom: 10px;
        width: 23%;
        margin-right: 1%;
        vertical-align: top;
    }
    .nano-content {
        height: 160px;
        overflow: hidden;
    }
    .videos .anteriores img {
        width: 98%;
    }
}

@media(max-width: 598px) {
	.top-bar br {
		display: block;

	}
	.top-bar .social, .top-bar a.menu {
		display: none;
	}
	.top-bar select {
		margin-bottom:8px;
		margin-top: 8px;
	}
	.logo {
		top: -60px;
	}
	.navbar-default .navbar-toggle {
	    margin-right: 0;
	}
	.navbar-default .navbar-nav > li.mobile {
		display: block;
	}
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid #799dbd;
	}
	h4.resultados {
		display: none;
	}
	footer .menufooter a {
		display: block;
	}
	.videos .anteriores ul li {
        display: inline-block;
        clear: none;
        border-bottom: none;
        cursor: pointer;
        padding-top: 0;
        padding-bottom: 10px;
        width: 48%;
        margin-right: 1%;
    }

}


/** NUEVO **/
.result-sorteo {
	background: #fff;
	padding: 10px;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
	margin-bottom: 8px;
}
.result-sorteo .logo-sorteo {
	text-align: center;

}
.horassorteo {
	background: #17467c;
	margin: 0 auto;
	color: #FECC49;
	text-align: center;
	border-radius: 20px;
	padding: 6px 30px;
	margin-top: 10px;
	margin-bottom: 20px;
	width: 300px;
	max-width: 98%;
	margin-left: auto;
	margin-right: auto;
	font-size: 17px;
}
.bolas-sorteo .numero {
	font-size: 42px;
	color: #fff;
	display: inline-block;
	position: relative;
	width: 86px;
	height: 86px;
	border-radius: 86px;
	line-height: 90px;
	font-weight: 700;
	background: url(images/bg-bola.png) no-repeat center center;
	background-size: cover;
	position: relative;
}
.bolas-sorteo .numero.bolablue {
	background: url(images/bg-bola-blue.png) no-repeat center center;
	background-size: cover;
}
.bolas-sorteo .numero.verde {
	background: url(images/bg-bolasverdes.png) no-repeat center center !important;
	background-size: cover;
}
.bolas-sorteo .numero.bolablue.verde {
	background: url(images/bg-bolasverdes.png) no-repeat center center;
	background-size: cover;
}
.bolas-sorteo .small {
    font-size: 10px;
    font-weight: normal;
    position: absolute;
    display: inline-block;
    width: 100%;
    left: 0;
    top: -24px;
}
.otro-sorteo {
	color: #17467C;
}
.otro-sorteo .fecha {
    display: inline-block;
    border-right: 1px solid #17467C;
    margin-right: 18px;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 8px;
    text-align: center;
}
.otro-sorteo .numero {
	font-size: 24px;
	color: #fff;
	display: inline-block;
	position: relative;
	width: 52px;
	height: 52px;
	border-radius: 52px;
	line-height: 48px;
	font-weight: 700;
	background: url(images/bg-bola.png) no-repeat center center;
	background-size: cover;
	position: relative;
	text-align: center;
	margin-right: 5px;
}

.otro-sorteo .numero.bolablue {
	background: url(images/bg-bola-blue.png) no-repeat center center;
	background-size: cover;
}
.otro-sorteo .numero.verde, .otro-sorteo .numero.bolablue.verde {
	background: url(images/bg-bolasverdes.png) no-repeat center center;
	background-size: cover;
}
.rapidita-result {
	margin-bottom: 10px;
}
.rapidita-result .fecha {
	background: #1c437f;
	color: #fff;
	font-size: 16px;
	padding: 8px 10px;
	font-weight: 300;
	display: inline-block;
	margin-right: 15px;
}
.rapidita-result .bolas {
	display: inline-block;
}
.rapidita-result .fecha .horasorteo {
	font-weight: 600;
}
.rapidita-resulta .fecha .numsorteo {
	margin-left: 6px;
}
@media(min-width: 1100px) {
	.rapidita-result .fecha {
    	width: 238px;
	}
}


@media(max-width: 991px) {
	.bolas-sorteo .numero {
		font-size: 36px;
		width: 72px;
		height: 72px;
		border-radius: 72px;
		line-height: 82px;
	}
	.otro-sorteo .fecha {
		margin-right: 10px;
		font-size: 16px;
		padding-left: 6px;
		padding-right: 15px;
	}
	.otro-sorteo .numero {
		font-size: 24px;
		width: 48px;
		height: 48px;
		border-radius: 48px;
		line-height: 44px;
		margin-right: 2px;
	}
	.rapidita-result .fecha {
		display: block;
		width: 100%;
		text-align: center;
		margin-bottom: 12px;
	}
	.rapidita-result {
		margin-bottom: 30px;
	}
	.rapidita-result .otro-sorteo.bolas {
		text-align: center;
		width: 100%;
		clear: both;
	}
	
}

@media(max-width: 498px) {
	.bolas-sorteo .numero {
		font-size: 32px;
		width: 64px;
		height: 64px;
		border-radius: 64px;
		line-height: 72px;
	}
	.otro-sorteo .fecha {
		margin-right: 6px;
		font-size: 15px;
		padding-left: 4px;
		padding-right: 10px;
	}
	.otro-sorteo .numero {
		font-size: 23px;
		width: 42px;
		height: 42px;
		border-radius: 42px;
		line-height: 40px;
		margin-right: 2px;
	}
	.bolas-sorteo .small {
	    font-size: 9px;
	    font-weight: normal;
	    position: absolute;
	    display: inline-block;
	    width: 100%;
	    left: 0;
	    top: -20px;
	}
}

@media(max-width: 398px) {
	.otro-sorteo .fecha {
		font-size: 13px;
    	padding-left: 3px;
    	padding-right: 8px;
    }
}


.fichas-sorteos .bolas-sorteo {
	margin: 10px 0 20px 0;
}
.fichas-sorteos .bolas-sorteo .numero {
    font-size: 28px;
    color: #fff;
    display: inline-block;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 48px;
    line-height: 48px;
    font-weight: 700;
    background: url(images/bg-bola.png) no-repeat center center;
    background-size: cover;
    position: relative;
}
.fichas-sorteos .bolas-sorteo .numero.verde {
    background: url(images/bg-bolasverdes.png) no-repeat center center;
    background-size: cover;
}
.fichas-sorteos .bolas-sorteo .numero .small { 
	display: none;
}
.consultarotros .fa {
	color: #ff9636;
	font-size: 20px;
	margin-right: 12px;
}
#modal-otros form {
	padding-top: 20px;
	padding-bottom: 20px;
}
#modal-otros form input {
	width: 100%;
	height: 40px;
	border: 1px solid #e0e0e0;
	padding: 9px 12px;
}
#modal-otros form button {
	width: 100%;
	height: 40px;
	border: 1px solid #ff9636;
	background: #ff9636;
	padding: 9px 12px;
	color: #fff;
	opacity: 0.9;
}
#modal-otros form button:hover {
	opacity: 1;
}