/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */

html,
button,
input,
select,
textarea {
    /*formerly #FDFDFD*/
    color: #FFFFFF;
}

body {
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #F6121C;
    color: #ffffff;
    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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}


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

textarea {
    resize: vertical;
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    /*formerly #FDFDFD*/
    background-color: #FFFFFF;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #acaeaf;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.col-md-4 {
    padding-bottom: 20px;
}

/*.row {
    margin-right: 0px;
    margin-left: -15px;
}*/

.modal-header {
    background: -moz-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ff3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #463570), color-stop(100%, #5D4796));
    /* safari4+,chrome */
    background: -webkit-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* opera 11.10+ */
    background: -ms-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ie10+ */
    background: linear-gradient(0deg, #5D4796 0%, #463570 100%);
    /* w3c */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#463570', endColorstr='#5D4796', GradientType=0);
    /* ie6-9 */
}

.modal-header h4 {
    color: #FFFFFF;
    font-weight: 600
}

.modal-footer {
    background: #FFFFFF;
}

.navbar-default {
    border-color: transparent;
    background-color: #dadada;
}

.navbar-toggle {
    border-color: transparent;
    border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #16a085;
    color: #323232;
}

hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    /* background: #323232; */
}

.odd a img {
    background: #f5f5f5;
}


/* Titles */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #323232;
}


/* Paragraph & Typographic */

p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}


/* Images */

.overflow-image {
    margin-top: -65px;
}


/* Links */

a {
    color: #46356e;
    word-wrap: break-word;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #F6121C;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}


/* ==========================================================================
   Wrap Sections
   ========================================================================== */

.headerwrap {
    /*  background: url(../img/bgjuanwhite.png) no-repeat center top;
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    /*min-height: 580px;*/
/*    min-height: 100vh;*/

    /*    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
}

#particle-js {
    position: absolute;
    width: 100%;
    max-height: 700px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
}

.headerwrap h1 {
    color: #323232;
    margin-top: 90px;
    padding-bottom: 30px;
    letter-spacing: 8px;
    font-size: 100px;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
}

.headerwrap p {
    color: #B40000;
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    /*line-height: 45px;*/
    /*letter-spacing: 3px;*/
    padding-top: 10px;
}

#greywrap {
    /*formerly #FDFDFD*/
    background: #FFFFFF;
    margin-top: -30px;
    padding-top: 40px;
    /*  border-bottom: 1px solid #ddd;*/
    text-align: center;
    /*    -webkit-box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);
    -moz-box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);
    box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);*/
}

#greywrap .callout {
    margin-bottom: 20px;
}

#greywrap p {
    margin-left: 30px;
    margin-right: 30px;
    /*letter-spacing: 1px;*/
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: justify;
    -moz-text-align-last: center;
    /* Code for Firefox */
    text-align-last: center;
}

#greywrap .icon {
    font-size: 60px;
    line-height: 30px;
    margin-bottom: 10px;
}

/*#purplewrap {
    background: -moz-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ff3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #463570), color-stop(100%, #5D4796));
    /* safari4+,chrome */
    background: -webkit-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* opera 11.10+ */
    background: -ms-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ie10+ */
    background: linear-gradient(0deg, #5D4796 0%, #463570 100%);
    /* w3c */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#463570', endColorstr='#5D4796', GradientType=0);
    /* ie6-9 */
    padding-top: 40px;
    /*  border-bottom: 1px solid #ddd;*/
    text-align: left;
    /*    -webkit-box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);
    -moz-box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);
    box-shadow: 0px 0px 67px 36px rgba(3,10,18,1);*/
}*/


 #purplewrap .callout {
    margin-bottom: 20px;
}

#purplewrap p {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: left;
    /*    -moz-text-align-last: center;  Code for Firefox
    text-align-last: center;*/
}

#purplewrap .icon {
    font-size: 60px;
    line-height: 30px;
    margin-bottom: 10px;
}


/*#yellowwrap {
    padding-top: 40px;
    background: -moz-linear-gradient(90deg, #F6121C 0%, #F6121C 100%);
    /* ff3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F6121C), color-stop(100%, #F6121C));
    /* safari4+,chrome */
    background: -webkit-linear-gradient(90deg, #F6121C 0%, #F6121C 100%);
    /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(90deg, #F6121C 0%, #F6121C 100%);
    /* opera 11.10+ */
    background: -ms-linear-gradient(90deg, #F6121C 0%, #F6121C 100%);
    /* ie10+ */
    background: linear-gradient(0deg, #F6121C 0%, #F6121C 100%);
    /* w3c */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#F6121C', endColorstr='#F6121C', GradientType=0);
    /* ie6-9 */
}*/

#yellowwrap .callout {
    margin-bottom: 20px;
}



#footerwrap {
    background: -moz-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ff3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #463570), color-stop(100%, #5D4796));
    /* safari4+,chrome */
    background: -webkit-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* opera 11.10+ */
    background: -ms-linear-gradient(90deg, #5D4796 0%, #463570 100%);
    /* ie10+ */
    background: linear-gradient(0deg, #5D4796 0%, #463570 100%);
    /* w3c */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#463570', endColorstr='#5D4796', GradientType=0);
    /* ie6-9 */
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

#footerwrap h4 {
    color: #FFFFFF;
}


/* ==========================================================================
   Box Sections
   ========================================================================== */

.#323232 h1 {
    padding-top: 35px;
}

.#323232 p {
    padding-top: 25px;
}


/* Section Dividers */

.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    /*    border-bottom: 2px solid #E6EAED;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 70px;
    margin-top: 45px;
    background-position: center center;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: relative;
    text-align: center;
}

.textdivider h1 {
    padding-top: 70px;
    color: #323232;
    font-size: 40px;
}

.textdivider p {
    color: #323232;
    font-size: 25px;
}


/* Section Dividers Backgrounds */

.divider1 {
    background-image: url('../img/bg/divider1.jpg')
}

.divider2 {
    background-image: url('../img/bg/divider2.jpg')
}

.divider3 {
    background-image: url('../img/bg/divider3.jpg');
    margin-top: 0px;
}

.divider4 {
    /*  background-image: url('../img/bg/black.jpg')*/
    /*formerly #FDFDFD*/
    background-color: #FFFFFF;
}

.divider6 {
    background-image: url('../img/bg/divider6.jpg')
}


/* ==========================================================================
   Services Section
   ========================================================================== */

.service-trigger {
    display: block;
    position: relative;
    margin-bottom: 15px;
    color: #323232;
    font-size: 20px;
    text-align: center;
    height: 168px;
    cursor: pointer;
    padding: 90px 20px 50px 20px;
    border: none;
    background: #333;
}

.service-trigger:before {
    width: 100%;
    top: 50px;
    color: #3498db;
    font-size: 36px;
    text-align: center;
    position: absolute;
    left: 0;
}

.service-active .service-trigger {
    /*formerly #FDFDFD*/
    background: #FFFFFF;
}

.service-active p {
    font-family: Helvetica, Arial, sans-serif;
    padding-top: 10px;
}

.service-content {
    padding: 15px 20px;
    background: #e6eaed;
    display: block;
    height: auto
}

.service-content p:last-child {
    margin: 0;
}


/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid figure {
    margin: 0;
    position: relative;
    cursor: pointer;
}

.grid figure img {
    width: 100%;
    display: block;
    position: relative;
}

.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    color: #323232;
    background: #2772DB;
}

.grid figcaption h5 {
    margin: 0;
    padding-top: 0px;
    padding-left: 20px;
    padding-bottom: 5px;
    color: #323232;
    font-weight: 700;
    text-align: left;
    letter-spacing: 2px;
}

.grid figcaption a {
    text-align: left;
    padding: 5px 10px;
    margin-left: 20px;
    display: inline-block;
    background: #2f2f2f;
    color: #323232;
    font-size: 13px;
}


/* Caption Style */

.mask figure {
    overflow: hidden;
}

.mask figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}


/*.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
}*/

.mask figcaption {
    height: 50px;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}


/*.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}*/

.mask figcaption a {
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 30px;
}


/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-bg {
    background: #2b2b2b;
    padding-right: 0px;
    padding-left: 0px;
}

.blog-bg h4 {
    color: #dadada;
    padding-top: 0px;
}

.blog-bg h5 {
    color: #dadada;
    font-size: 11px;
}

.blog-content {
    padding-top: 10px;
    background: #f2f2f2;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */



/* ==========================================================================
   OVERWRITES
   ========================================================================== */

.close {
    color: white;
    opacity: 0.6;
}
