/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	height:100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	/* background-color: #141e27; */
	height: 100%;
}

.section-box h2, .section-box h3 {
	font-weight: 100;
}
#core-administration-content h2 {
	font-weight: 100;
	text-align: left;
	margin-top: 12px;
	margin-bottom: 20px;
	font-size: 1.6em;
}

#core-administration-content h2 > span {
	display: inline-block;
	margin-right: 7px;
	font-size: 0.9em;
	color:#999;
	margin-left: 0px;
}

#core-administration-content h3 {
	font-weight: 100;
	text-align: left;
	margin-top: 25px;
	margin-bottom: 20px;
	font-size: 1.3rem;
}
#core-administration-content h3 > span {
	display: inline-block;
	margin-right: 8px;
	font-size:0.9em;
	color:#999;
}


.web-container {
}
#core-login-container {
	background-color:#fff;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 10px 0px;
	color: #333;
	/* padding: 25px; */
	margin-top: 1rem;
	margin-bottom: 1rem;
}
#core-login-container-content {
	padding: 1.8rem;
}
/* Administration */
nav#web-admin-nav {
}
/* Person */

#core-administration-menu-primary {
    padding: 10px 20px;
    background-color: #72beff;
    color: #fff;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}

.menu a  {
    color: #fff;
}

.menu a:hover  {
    color: rgba(255, 255, 255, 0.75);
}
.menu a.dropdown-item {
	color: #292b2c;
}

#core-administration-menu-primary-business {
	display: inline-block;
	font-size: 1.3rem;
	border-radius: 15px;
	background-color: rgba(0, 0, 0, 0.6);
}

div#core-administration-menu-primary-business {}

div#core-administration-menu-secondary {
	background-color: #444;
	padding: 5px;
	z-index: -532;
}

#core-administration-modules-menu {
	background-color: #666;
	padding: 1rem;
	color: rgba(255, 255, 255, 1);
}
#core-administration-modules-menu > h2 {
	font-weight:lighter;
	margin-bottom: 1rem;
}
#core-administration-modules-menu a.list-group-item {
	background-color: transparent;
	color: #fff;
	border: none;
}
#core-administration-modules-menu a.list-group-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
}
#core-administration-modules-menu a.list-group-item.active {
	background-color: #72beff;
}
#core-administration-modules-menu a.list-group-item.disabled {
	color: rgba(255, 255, 255, 0.5);
}
#core-administration-modules-content {
	padding: 1rem;
}
#core-administration-content {
	/* background-color: #fff; */
}

#core-administration-footer {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	padding: 10px;
}

div.wcst-section {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #eee;
}

div.wcst-section h2 {
	margin-bottom: 2.5rem;
	text-align: center;
}


.modal:nth-of-type(even) {
    z-index: 1042 !important;
}
.modal-backdrop.in:nth-of-type(even) {
    z-index: 1041 !important;
}


th,td {
	text-align:center;
}
th {
	text-transform:uppercase;
	font-size: 0.7rem;
	vertical-align: middle;
}
td {
	font-size: 0.8rem;
	padding: 0.4rem !important;
	white-space: nowrap;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    p:first-letter,
    div:first-letter,
    blockquote:first-letter,
    li:first-letter,
    p:first-line,
    div:first-line,
    blockquote:first-line,
    li:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }
	h1:first-letter,h4:first-letter {
		margin-top: 0;
	}

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

	.printhidden {
		display:none;
		visibility:hidden;
	}

	h1 {
		font-size: 0.7cm;
	}
	h4 {
		font-size: 0.4cm;
		text-transform: uppercase;
		font-weight: lighter;
		margin-top:0.3cm;
		margin-bottom:0.3cm;
	}

	.table-bordered td, .table-bordered th {
		padding:0.1cm;
		font-size:0.3cm;
	}


}

#3datos_imagen_container {
	display:block;
	width: 100%;
	min-height: 270px;
	background-color: #fdfdfd;
	border: 1px solid #eee;
	border-radius: 15px;
	margin: 30px auto;
	box-shadow: inset 6px 6px 50px -9px rgba(0, 0, 0, 0.03);
	border-bottom-color: #e4e4e4;
	border-top-color: #f7f7f7;
}
.upload-zone {
	text-align:center;
}

.form-box {
	border: 1px solid #e4e4e4;
	margin: -1px -1px 30px -15px;
	padding: 20px 20px 5px 15px;
	border-radius: 5px;
}

.section-box {
	/* border: 1px solid #ddd; */
	border-radius: 5px;
	padding: 10px 20px;
}

.box-contacto {
	border: 1px solid #d6e4ea;
	margin: -1px -1px 30px -1px;
	padding: 20px;
	border-radius: 5px;
}

#section-controls > div {
	margin-top:10px;
}

@font-face {
	font-family: "JMD";
	src: url(../fonts/DejaVuSans.woff) format("woff");
	font-weight: normal;
	font-style: normal;
}

.form-control-feedback {
	visibility:hidden;
}

.has-danger .form-control-feedback {visibility: visible;}

#reglamento {
	text-align: justify;
	padding: 30px;
	overflow-y: scroll;
	height: 20rem;
	font-size: 0.8em;
	font-family: sans-serif;
	background-color: #eee;
	margin: 30px;
}
p.advise {
	text-align: center;
	margin-top: 18px;
	background-color: #e2e8ea;
	padding: 10px 5px;
	border-radius: 5px;
}

.btn-primary.disabled, .btn-primary:disabled {
	background-color: #b7b7b7;
	border-color: #d0d0d0;
}

.alert-avalar {
    border-color: hsla(45, 47%, 81%, 1);
    background-color: #f3eddd;
    color: #333;
    padding: 2em;
}
