/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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;
}

/*
 * 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.
 */

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

::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: #E3E7ED;
}
p{
    text-align: justify;
    font-size: 1.2em;
    line-height: 1.2em;
}
h1, h2{
    margin-top: 0;
}

img{
    width: 100%;
    height: auto;
}

p img{
    width: 100%;
    float: left;
    max-width: 332px;
    border-radius: 10px;
    margin: 0 20px 20px 0;
}

p li{
    font-size: 1.2em;
}

img + p{
    margin-top: 15px;
}

#logo img{
    width: 100%;
    height: auto;
}

#menu{
    background-color: #222;
    padding: 8px;
    margin-bottom: 20px;
}

#menu a{
    color: white;
    display: block;
    font-size: 22px;
}
#menu a:hover{
    text-decoration: none;
}
#menu a:focus, #menu a:active{
    text-decoration: none;
    border: none;
}

#menu span{
    float: right;
}
.phone h2, .phone h3{
    padding: 0;
    margin: 0;
    color: #5CBCEC;
}

.phone h2{
    font-size: 1.8em;
}
.phone h3{
    font-size: 1.5em;
}

#phone{
    
}
#phone img{
    min-width: 40px;
    min-height: 40px;
}
.container{
    border-radius: 0.625em;
    padding-bottom: 0 !important;
}
.margin-top-05 { margin-top: 0.5em; }
.margin-top-10 { margin-top: 1.0em; }
.margin-top-15 { margin-top: 1.5em; }
.margin-top-20 { margin-top: 2.0em; }
.margin-top-25 { margin-top: 2.5em; }
.margin-top-30 { margin-top: 3.0em; }
.margin-top-35 { margin-top: 3.5em; }
.margin-top-40 { margin-top: 4.0em; }

.margin-bottom-05 { margin-bottom: 0.5em; }
.margin-bottom-10 { margin-bottom: 1.0em; }
.margin-bottom-15 { margin-bottom: 1.5em; }
.margin-bottom-20 { margin-bottom: 2.0em; }
.margin-bottom-25 { margin-bottom: 2.5em; }
.margin-bottom-30 { margin-bottom: 3.0em; }

.background-white{
    background: white;
}
.background-black{
    background: #222;
}
.radius-top{
    padding: 20px;
    border-top-left-radius: 0.625em;
    border-top-right-radius: 0.625em;
}

.radius-bottom{
    border-bottom-left-radius: 0.625em;
    border-bottom-right-radius: 0.625em;
}

.paddign-left-less{
    padding-left: 0;
}

.paddign-right-less{
    padding-right: 0;
}

.padding-less {
   padding: 0 !important;
   margin: 0 !important;
}

.margin-less{
    margin: 0;
}

.thumbnail{
  display: block;
  width: 100%;
  border:none;
}

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}



/*Blog*/
.blog h2{
    position: relative;
    font-weight: 600;
    color: black;
    font-size: 2.75rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.blog h3 {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
    font-weight: bold;
    color: black;
}

.blog h4 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-weight: bold;
    color: black;
}

.blog h2 a, h3 a, h4 a{
    text-decoration: none;
    color: black;
}

.blog a{
    text-decoration: none;
}


/*Soporte*/
.soporte h2{
    position: relative;
    font-weight: 600;
    color: black;
    font-size: 2.75rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.soporte h3 {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
    font-weight: bold;
    color: black;
}

.soporte h4 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-weight: bold;
    color: black;
}

.redes-sociales{
    color: #fff;
    background-color: #0075af;
    padding: 10px;
}

.redes-sociales h4{
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

ul, ol{
    font-size: 1.2em;
}

footer{
    color: #aaa;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-bottom: 20px;
}
footer h3{
    color: #fff;
}

footer ul{
    list-style-type: none;
    padding: 0;
}

footer a{
    color: #aaa;
}

footer a:hover{
    color: #fff;
    text-decoration: none;
}

footer div:first-child{
    padding-left: 18px;
}


@media (min-width: 320px){
    #logo img{
        width: 100%;
        height: auto;
    }

    #myCarousel{
        display: none;
    }
    h2, h3{
        text-align: center;
    }
    p{
        text-align: justify;
    }
    footer h3{
        text-align: left;
    }
    .soporte h3, h4{
        text-align: center;
    }

    #listado-servicios{
        margin-bottom: 0;
        list-style-type: none;
        padding-left: 0;
    }

    #acciones .btn{
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px){
    #logo img{
        width: 100%;
        height: auto;
        min-width: 260px;
        max-width: 300px;
    }
    #myCarousel{
        display: block;
    }

    .fb-page{
      width: auto;
      height: 300px;
    }
    h2, h3{
        text-align: left;
    }
    p{
        text-align: justify;
    }

    .soporte h3, h4{
        text-align: left;
    }

}


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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * 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;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * 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: 320px) {
    /* Style adjustments for viewports that meet the condition */

    nav{
        display: none;
        border-bottom-left-radius: 0.625em;
        border-bottom-right-radius: 0.625em;
    }
}

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

    nav{
        display: block;
    }

    #menu{
        display: none;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (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 {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    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,
    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;
    }

    img {
        max-width: 100% !important;
    }

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

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