html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* padding para .navbar-fixed-top. */
    font-family: 'Lato', sans-serif;
    background-color: #f6f6f6;
    overflow-x: hidden
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input,
label,
select,
button,
textarea
{
    margin:0;
    border:0;
    padding:0;
    display:inline-block;
    vertical-align:middle;
    white-space:normal;
    background:none;
    line-height:1;
    font-size:13px;
}

input:focus
{
    outline:0;
}

input,
textarea
{
    -webkit-box-sizing:content-box;
    -moz-box-sizing:content-box;
    box-sizing:content-box;
}

button,
input[type=reset],
input[type=button],
input[type=submit],
input[type=checkbox],
input[type=radio],
select
{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

input[type=checkbox],
input[type=radio]
{
    width:13px;
    height:13px;
}


input[type=search]
{
    -webkit-appearance:textfield;
    -webkit-box-sizing:content-box;
}

::-webkit-search-decoration
{
    display:none;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"]
{
    overflow:visible;
    width:auto;
}

::-webkit-file-upload-button {   
    padding:0;
    border:0;
    background:none;
}

textarea {
    vertical-align:top;
    overflow:auto;
}


select[multiple] {
    vertical-align:top;
}
.img-center {
    display: block;
    margin: auto;
}
.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Header */
#main-header {
    position: absolute;
    z-index: 1;
}
.navbar-toggle {
    margin-top: 21px;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: transparent;
}
.navbar-inverse {
    background-color: #4EB046;
    height: 115px;
    color: white; 
    border: none;
}
.navbar-inverse .navbar-nav>li>a {
    color: white;
    font-weight: 100;
    font-size: 17px;
}
.m-b-30{
    margin-bottom: 30px;
}
.navbar-inverse .navbar-nav>li>a:hover {
    border-bottom: 3px solid white;
}
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
    background-color: transparent;
    border-bottom: 3px solid white;
}
.noBorder {
    border-bottom: 0 !important;
}
.cta-tramites {
    background-color: #145AB1;
    border-radius: 5px;
    padding: 10px;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}

.cta-tramites:hover {
    background-color: #1772E2;
    border-radius: 5px;
    padding: 10px;
}

.logo-som {
    width: 70px;
    height: 88px;
    background: url(../img/logo-som.png) no-repeat 0% 50%;
    position: relative;
    top: 15px;
    left: 0;
    float: left;
    background-size: contain;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0px 0;
    margin: 2px 0 0;
    font-size: 16px;
    text-align: left;
    list-style: none;
    background-color: #4EB046;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 0; 
    border-radius: 0;
    -webkit-box-shadow: none;
    color: white !important;
    box-shadow: none;
}
.dropdown-menu>li {
    border-bottom: 1px solid #32862B;
}
.dropdown-menu>li:last-of-type {
    border-bottom: 0;
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 100;
    line-height: 36px;
    color: #FFF;
    white-space: nowrap;
}
.dropdown-menu>li>ul>li>a{
    color: white;
}
.dropdown-menu>li>a:hover {
    background-color: #32862B;
    color: white;
}

.dropdown-menu>li>a span {
    font-size: 12px;
    background-color: #145AB1;
    padding: 6px;
    border-radius: 4px;
}
.md-content button.close{
    position: absolute;
    right: 20px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    height: 25px;
    width: 25px;
    background: #f05d78;
    padding: 0 0 2px 2px ;

}
/* Home Page Carousel */

section.carousel {
    height: 100%;
}

section.carousel .item,
section.carousel .item.active,
section.carousel .carousel-inner {
    height: 100%;
}

section.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.carousel-caption {
    bottom: 0;
    top: 35%;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.69);
}

.carousel-caption h2 {
    font-size: 3.5em;
}

.carousel-caption .btn-novedades {
    margin: 80px auto;
    width: 25%;
    padding: 15px;
    transition: all .5s ease;
}

.carousel-caption .btn-default:hover {
    background-color: #32862B;
}

.arrow-container {
    position: relative;
    top: -120px;
    color: white;
    text-align: center;
}

.arrow-down {
    background-image: url(../img/arrow-down.png);
    height: 40px;
    width: 80px;
    background-repeat: no-repeat;
    display: block;
    margin: auto;
    text-decoration: none;
    margin-bottom: 15px;
}

/* SecciÃ³n de Noticias*/

.over-container {
    margin-top: -75px;
    margin-bottom: 18px;
}
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 0;
    border-bottom: 7px solid transparent;
    border-radius: 0;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    overflow-y: hidden;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;        

}
.panel-default {
    border-color: #4EB046;
}
.panel-default>.panel-heading {
    color: #636363;
    background-color: #fff;
    border-color: white;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 1px -1px 11px #BBBBBB;
}
.panel-default>.panel-heading h4 {
    font-size: 20px;
}
.panel-default>.panel-heading h4 a {
    color: #636363;
    text-decoration: none;
}
.panel-heading {
    padding: 17px 15px;
}
.panel-body {
    padding: 15px;
    border-bottom: 1px solid gainsboro;
}

.panel-default .panel-body h2 {
    color: #636363;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-top: 0;
}
.panel-default .panel-body h2 {
    color: #636363;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-top: 0;
}
.panel-default .panel-body span {
    position: relative;
    top: 15px;
}

#novedades {
    position: relative;
    top: -13em;
}
.modal-importante{
   overflow-y: auto !important;
   max-width: 600px!important;
   display: flex;
   align-items: center;
   justify-content: center;
}
.modal-buttons{
     display: flex;
     justify-content: space-around;
     margin-top: 30px;
}
.md-content{
}
.btm-modal{
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
    border: none;
    padding: 0.4em 1.2em;
    background: #4EB046;
    color: #fff;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
    outline: none;
    width: 150px;
}
.modal-importante img{
    max-width: 100%;
    max-height: 100%;
}
/* Botones */
.btn-default {
    color: #FFF !important;
    background-color: #4EB046 !important;
    border-color: #4EB046 !important;
    float: right;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}
.btn-default:hover {
    color: #FFF;
    background-color: #1E5F19;
    border-color: #1E5F19;
}
/* Section TrÃ¡mites online */

#tramites-online {
background-color: #4EB046;
color: white;
margin:150px 0;
}

#tramites-online h2 {
    text-align: center;
    font-size: 55px;
    font-weight: 600;
    margin: 60px 0;
}
#tramites-online .slider-border {
    padding: 35px 35px 0 35px;
    background-color: #32862B;
    height: 340px;
}

#tramites-online .carousel {
    height: 100%;
}

#tramites-online .carousel .item,
#tramites-online .carousel .item.active,
#tramites-online .carousel .carousel-inner {
    height: 400px;
}

#tramites-online .carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.tramites-text h2 {
    font-size: 3em;
    font-weight: 600;
    color: #145AB1;
    margin: 0 0 35px 0;
}
.tramites-text p {
    color: #9B9B9B;
    font-size: 17px;
    margin-bottom: 35px;
}
.text-left {
    text-align: left;
    border-left: 5px solid #4EB046;
}
.text-left .btn-default {
    float: left;
}
.text-right{
    text-align: right;
    border-right: 5px solid #4EB046;
}
.tramites-row {
    margin: 130px 0;
}
#prefooter {
    background-color: #145AB1;
}
#prefooter .col-md-6 {
    padding: 40px 0;    
}
#prefooter .col-md-6 a {
    color: white;
    font-size: 38px;
    font-weight: 600;
    position: relative;
    text-decoration: none;    
}
#prefooter .col-md-6 a img {
    height: 60px; 
    position: relative;
    top: -3px;
    margin-right: 30px;
}
#prefooter .col-md-6 ul {
    padding: 0;
    margin-top: 55px;
    list-style: none;
    color: white;
    display: none;
}
#prefooter .col-md-6 ul h6{
    font-size: 17px;
}
#prefooter .col-md-6 ul p{
    font-weight: 100;
}
#prefooter .col-md-6 ul a{
    font-size: 14px;
    font-weight: 100;
}
#prefooter .col-md-6:last-child {
    padding-left: 70px;
}
#prefooter .col-md-6:last-child:before {
    content: "";
    position: absolute;
    left: 0;
    right: -66%;
    background-color: #104B94;
    top: 0;
    bottom: 0;
}
.nemesis-web {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%
}

.nemesis-web a {
    text-align: center;
    display: block;
    padding: 25px 0;
    text-decoration: none;
    color: white;
    background-color: #145AB1;
    font-size: 1.5em;
    font-weight: 600;
}

/* Estilo de paginas */

.intro-pages {
    height:590px; 
}

.over-container {
    background-color: white;
    padding: 45px;
    color: #989898;
    font-size: 17px;
    font-weight: 300;
}

.over-container h1,
.over-container h2  {
    margin-top: 0;
    font-weight: 800;    
}

.over-container h2 {
    margin: 20px 0;
}

.over-container h5 {
    font-size: 17px;
}

.over-container span {
    font-weight: 800;
}


.sindicato-title {
    color: #4EB046;
}

.obra-title {
    color: #145AB1;
}

.btn-pre {
    background-color: #145AB1;
    text-align: center;
    color: white !important;
    display: block;
    padding: 15px;
    font-size: 30px;
    margin: 20px 0;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    transition:all .5s ease;
}

.btn-pre:hover{
    background-color: #08428A;
}


.btn-pre-verde {
    background-color: #4EB046;
}

.btn-pre-verde:hover {
    background-color: #308229;
}
.info_content h3 {
    margin-top: 5px;
}
.info_content ul {
    padding-left: 20px;
}

.float-afiliarse {
    position: fixed;
    top: 115px;
    display: none;
    padding: 0 15em;
    width: 100%;
}

.afiliarse-cta {
    background-color: #308229;
    text-align: center;
    color: white;
    display: block;
    z-index: 10;
    padding: 15px 0;
    font-size: 20px;
    text-decoration: none;
    transition: all .5s ease;
}

.afiliarse-cta:hover,
.afiliarse-cta:active {
    background-color: #4EB046;
    color: white;
    text-decoration: none;
}

.ospm-cta {
    background-color: #145AB1;
}

.ospm-cta:hover {
    background-color: #08428A;
}

#btn-pre-hide, #btn-pre-hide2{
    margin-bottom: 0;
}
.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.hide-locations{
    margin-bottom: 20px;
    padding: 15px;
    border:1px solid grey;
    border-top: 0px;
    display: none;
}

.hide-locations ul {
    margin-bottom: 0px;
}

.hide-locations ul li{
    margin-bottom: 10px;
    font-size: 20px;
}

.hide-locations ul li:last-child {
    margin-bottom: 0px;
}



/* Sindicato */

#sindicato-intro {
    background-image: url("../img/sindicato-intro.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Asesoria Legal */

.group            { 
  position:relative; 
}

.form-som input[type="text"],
.form-som input[type="number"],
.form-som input[type="email"],
.form-som select,
.form-som textarea {
    width: 98.5%;
    padding: 27px 0 15px 0;
    margin-bottom: 20px;
    border: 1px solid #cfd9db;
    background-color: #ffffff;
    border-radius: .25em;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    font-weight: 100;
    outline: none;
    padding-left: 1.5%;
    resize:none;
    -webkit-transition: border-color .5s ease, box-shadow .5s ease;
    transition: border-color .5s ease, box-shadow .5s ease;
}

.form-som input:focus,
.form-som select:focus,
.form-som textarea:focus {
    border-color: #4EB046;}

.form-som small {
    position: relative;
    top: -20px;
    font-style: italic;
    color: #B5B5B5;
}
.group label {
  color:#999; 
  font-size:17px;
  font-weight:300;
  position:absolute;
  pointer-events:none;
  left:19px;
  top:23px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

.group input:focus ~ label, .group input:valid ~ label, .group textarea:focus ~ label, .group textarea:valid ~ label, .group input[type="number"]:focus ~ label, .group input[type="number"]:valid ~ label {
    top: 10px;
    font-size: 12px;
    color: #4EB046;
    font-weight: 500;
    left: 17px;
}

.form-som select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 23px;
}

.form-som .row {
    padding: 0;
    margin: 0;
}

.form-som .row .col {
    padding: 0;
}

.form-som .row .col-md-3 select{
    width: 90%;
}

.form-som .row .col-md-6 input {
    width: 90%;
    padding: 27px 17px 15px;
}

.form-som .row .col-md-6 .input-full {
    width: 93.5%;
}

.form-som .g-recaptcha {
    margin-bottom: 20px;
}

.form-som .btn {
    float: left;
    padding: 1em;
    font-size: 1em;
    width: 20%;
}

.box-datos{margin-top: 10px;  }

.box-datos p{ border-top:solid 2px #4EB046;padding: 10px;}
/* Escalas Salariales */

.hide-escalas {
    display: none;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #E4E4E4;;
    border-top: transparent;
}

.hide-escalas ul {
    padding-left: 18px;
}

.hide-escalas ul li {
    margin-bottom: 23px;
}

.hide-escalas ul li:last-child {
    margin-bottom: 0;
}

.hide-escalas ul span {
    padding: 5px;
    color: white;
    font-size: 12px;
    background-color: #4EB046;
    border-radius: 3px;
    font-weight: 300;
    display: inline-block;
}

.year-escala {
    margin-bottom: 0;
}


.iframe-revista {
    width: 100%;
    height:650px;
}

.news-section .sindicato-title {
    text-align: center;
    font-size: 55px;
    font-weight: 600;
    margin-top: 60px;
}

.col-news {
    position: relative;
    margin-top: 120px;
}
.video-news{
    max-width: 600px;
    margin: 0 auto;
}
.video-news video{
    width: 100%;
}
.col-news img {
    height: 400px;
    display: block;
    margin: auto;
}

.col-news div {
    background-color: white;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.32);
}

.col-news div header{
    background-color: #4EB046;
    color: white;
    padding: 15px;
}

.col-news div header h2 {
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.col-news div header span {
    padding: 6px 0px;
    text-align: center;
    display: block;
    padding-bottom: 0;
}

.col-news div p{
    padding: 32px;
    margin: 0;
    font-style: italic;
    font-size: 15px;
}

.col-news div a{
    float: right;
    display: block;
    padding: 9px 20px;
    text-transform: uppercase;
    background-color: #4EB046;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.btn-novedades {
    margin: 80px auto;
    float: none;
    display: block;
    width: 30%;
    margin-bottom: 0;
    font-size: 20px;
    padding: 20px;
}
.revista {
    position: fixed;
    top: 20%;
    background-color:white;
    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.35);
    padding: 20px;
    display: none;
    text-decoration: none;
}

.revista p {
    font-size: 18px;
    color:#4EB046;
    text-align: center;
}
/* Footer */

footer {
    padding: 20px 0 0 0;
    background-color: #4EB046;
}
footer .img-footer-container {
    margin: 20px auto;
    display: table;
}
footer .img-footer-container img:first-child{
    margin-right: 20px;
}

footer .img-footer-container img:nth-child(2){
     margin-right: 20px;
     height: 130px;
}

footer .img-footer-container img:nth-child(3){
    height: 105px;
}
footer .text-footer-container {
    width: 500px;
    margin: auto;
    color: white;
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
}
footer .social-icon-container {
    margin: 20px auto 0 auto;
    display: table;
}
footer .social-icon-container a {
    width: 45px;
    height: 45px;
    display: block;
    background-color: #32862B;
    float: left;
    margin-right: 20px;
    border-radius: 50%
}
footer .social-icon-container a:last-child {
    margin-right: 0px;
}
footer .social-icon-container a img{
    margin: 8px auto;
    display: block;
}
footer .dev-footer {
    background-color: #32862B;
    color: white;
    font-weight: 100;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}
footer .dev-footer p {
    display: inline;
}
footer .dev-footer a {
    color: white;
    padding: 15px 0;
}
/* Scroll bar */

.mousescroll {
    overflow: hidden;
}
.mousescroll:hover {
    overflow-y: scroll;
}

.slimScrollDiv { border: 1px solid #fff; margin:10px; }

/* 404 */

.error-404 {
    font-size: 100px;
}

#vidModal {
    max-width: 100%;
    height: auto;
}

.modal-header {
    border-bottom: 0px;
}



/* Selector de archivo del ABM */

.file-picker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-picker-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-picker-btn {
    margin-bottom: 0;
    cursor: pointer;
    white-space: nowrap;
}

.file-picker-input:focus + .file-picker-btn,
.file-picker-btn:hover {
    background-color: #e6e6e6;
}

.file-picker-name {
    color: #777;
    font-size: 14px;
    word-break: break-all;
}

/* Media Queries */

@media (max-width: 1300px) {
    #prefooter .col-md-6:last-child:before {
        right: -11%;
    }
}    

@media (max-width: 767px) {
    .modal-importante{
       overflow-y: auto;
       max-height: 95%;
       height:unset!important;
    }
    .navbar-nav .open .dropdown-menu {
        background-color: #21651B;
        text-align: center;
    } 
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
        color: white;
    }
    .navbar-inverse .navbar-nav>li>a {
        font-size: 17px;
        padding: 15px 0;
    }
    .navbar-nav .open .dropdown-menu .dropdown-header,
    .navbar-nav .open .dropdown-menu>li>a {
    padding: 20px 0;
    }

    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
        max-height: 580px;
    }

    .navbar-collapse {
        text-align: center;
        background-color: #32862B;
        margin-top: 20px;
    }
}

@media (min-width: 767px) {
    
    .navbar-nav>li>a {
        padding: 46px 10px;
    }
    .carousel-indicators {
        bottom: -95px;
    }
    .revista {
        display: none;
    }

    .navbar-right .dropdown-menu {
    right: initial;
    left: 0;
    }

    .modal-dialog {
        width: 60%;
    }   
    
}
@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }

    .btn {
        padding: 15px;
        font-size: 19px;
    }

    .navbar-inverse .navbar-toggle {
        border-color: transparent;
    }

    .navbar-toggle {
        padding: 25px 10px;
    }

    .navbar-inverse .navbar-nav>li>a {
        font-size: 15px;
    }

    .over-container {
    margin-top: -135px;
    }

    .float-afiliarse {
        left: 2.5%;
    }

    #tramites-online {
        margin: 80px 0;
    }

    #prefooter .col-md-6 {
    padding: 25px 0;
    }
    
    #prefooter .col-md-6 a {
    font-size: 30px;
    }


    #prefooter .col-md-6 a img {
        height: 40px;
        margin-right: 14px;
    }

    #prefooter .col-md-6:last-child {
    padding-left: 48px;
    }

    #prefooter .col-md-6:last-child:before {
    right: -9%;
    }

    .form-som .row .col-md-3 select {
    width: 100%;
    }

    .form-som .row .col-md-6 input,
    .form-som .row .col-md-6 .input-full {
        width: 94.7%;   
    }

    .form-som .btn {
        width: 100%;
    }
    
    .form-som .g-recaptcha {
    margin: 20px auto;
    width: 50%;
    }

    .carousel-caption .btn-novedades {
        width: 60%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-inverse .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-inverse .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        float: right;
        width: auto;
    }
    .navbar-inverse .navbar-nav > li {
        float: none;
    }
    .navbar-inverse .navbar-nav > li > a {
        font-size: 15px;
        padding: 46px 5px;
        white-space: nowrap;
    }
    .cta-tramites,
    .cta-tramites:hover {
        font-size: 12px;
        padding: 7px 7px;
        white-space: nowrap;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }

    .logo-som {
        left: 20px;
    }

    .float-afiliarse {
        width: 100%;
        left: 0;
        padding: 0;
    }

    h2 {
        font-size: 2.5em !important;
    }
    .col-news {
        margin-top: 60px;
    }
    .col-news img {
        height: auto;
        max-width: 100%;
    }

    .col-news div {
    position: initial;
    width: 85%;
    margin: auto;
    }

    .col-news div header h2 {
        text-align: center;
        font-size: 1.8em !important;
    }

    .col-news div a {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    .col-news div p {
        padding: 32px 32px 32px 32px;
    }

    .btn-novedades {
        width: 85%;
    }

    #prefooter .container {
        padding: 0;
    }
    
    #prefooter .col-md-6 {
        text-align: center;
    }

    #prefooter .col-md-6:last-child {
        padding-left: 43px;
        background-color: #104B94;
    }

    #prefooter .col-md-6:last-child:before {
        display: none;
    }

    .carousel-caption {
        top: 20%;
    }

    .arrow-container {
        top: -70px;
    }

    .arrow-down {
        background-image: url(../img/arrow-down.png);
        height: 20px;
        width: 40px;
        background-size: contain;
    }
}

#map {
        height: 600px;
        width: 100%;
      }
.md-perspective,
.md-perspective body {
    height: 100%;
    overflow: hidden;
}

.md-perspective body  {
    background: #222;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}

.md-modal {
    position: fixed;
    padding: 25px;
    background-color: white;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 900px;
    min-width: 320px;
    /*height: 500px;*/
    min-height: 600px;
    max-height: 100%;
    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    overflow-y:scroll; 
}
.md-modal.small-modal{
    padding: 0;
    max-width: 540px;
    min-width: 300px;
    overflow-y:auto;
}

.img-modal{
    max-width: 650px;
}
.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background:rgba(39, 39, 39, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

.md-content {
    color: grey;
    position: relative;
    margin: 0 auto;
}

.md-content h3 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 800;
}

.md-content > div {
    margin: 0;
    font-weight: 300;
    font-size: 1.15em;
}

.md-content > div p {
    margin: 0;
    padding: 10px 0;
}

.md-content > div ul {
    margin: 0;
    padding: 0 0 17px 20px;
}

.md-content > div ul li {
    padding: 5px 0;
}

.md-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
    border: none;
    padding: 0.6em 1.2em;
    background: #4EB046;
    color: #fff;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
    outline: none;
    width: 150px;
    margin-bottom: 15px;
}

.md-effect .md-content {
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    transform: translateY(20%);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect .md-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}


.vid-bckg { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background: url('img/vid-bckg.png') no-repeat;
    background-size: cover;
    transition: 1s opacity;
}
.dropdown-menu.submenu{
    position: absolute !important;
    top: 347px !important;
    left: 198px !important;
}
.minimenu.caret{
    transform: rotate(-90deg)!important;
}
