/*======================================FONTS==================================================*/

@font-face {
    font-family: "MyriadPro";
    src: url("../fonts/myriadpro/MyriadPro-Regular0.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/myriadpro/MyriadPro-Regular0.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/myriadpro/MyriadPro-Regular0.otf") format("opentype"), /* Open Type Font */
    url("../fonts/myriadpro/MyriadPro-Regular0.svg") format("svg"), /* Legacy iOS */
    url("../fonts/myriadpro/MyriadPro-Regular0.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/myriadpro/MyriadPro-Regular0.woff") format("woff"), /* Modern Browsers */
    url("../fonts/myriadpro/MyriadPro-Regular0.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MyriadPro";
    src: url("../fonts/myriadpro/MyriadPro-Bold0.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/myriadpro/MyriadPro-Bold0.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/myriadpro/MyriadPro-Bold0.otf") format("opentype"), /* Open Type Font */
    url("../fonts/myriadpro/MyriadPro-Bold0.svg") format("svg"), /* Legacy iOS */
    url("../fonts/myriadpro/MyriadPro-Bold0.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/myriadpro/MyriadPro-Bold0.woff") format("woff"), /* Modern Browsers */
    url("../fonts/myriadpro/MyriadPro-Bold0.woff2") format("woff2");
    /* Modern Browsers */
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Alwyn;
    src: url('../fonts/alwyn.eot');
    /* IE9 Compatibility Modes */
    src: url('../fonts/alwyn.eot?') format('eot'), /* IE6-IE8 */
    url('../fonts/alwyn.woff') format('woff'), /* Modern Browsers */
    url('../fonts/alwyn.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/alwyn.svg#Oswald') format('svg');
    /* Legacy iOS */
}

@font-face {
    font-family: Calibri;
    src: url('../fonts/calibri.eot');
    /* IE9 Compatibility Modes */
    src: url('../fonts/calibri.eot?') format('eot'), /* IE6-IE8 */
    url('../fonts/calibri.woff') format('woff'), /* Modern Browsers */
    url('../fonts/calibri.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/calibri.svg#Oswald') format('svg');
    /* Legacy iOS */
}

@font-face {
    font-family: Oswald;
    src: url('../fonts/oswald-regular-webfont.eot');
    /* IE9 Compatibility Modes */
    src: url('../fonts/oswald-regular-webfont.eot?') format('eot'), /* IE6-IE8 */
    url('../fonts/oswald-regular-webfont.woff') format('woff'), /* Modern Browsers */
    url('../fonts/oswald-regular-webfont.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/oswald-regular-webfont.svg#Oswald') format('svg');
    /* Legacy iOS */
}

/*=============================================================================================*/

html {
    margin: 0 !important;
}

body {
    font-family: 'Alwyn', sans-serif;
    color: #fff;
}

body,
html {
    overflow-y: visible !important;
    width: initial;
    height: initial;
}

a:hover,
a:focus,
a:active {
    text-decoration: none !important;
    outline: none !important;
}

.d-flex {
    display: flex;
}

.fa.fa-bars {
    font-size: 4rem;
    color: #8fc2f1;
}

ul.list-inline {
    display: inline-block;
    align-items: center;
}

.align-items-center {
    align-items: center;
}

.list-inline {
    margin: 0;
}

.bx-viewport {
    position: initial !important;
}

[data-off-canvas] {
    background-color: #5e9cd6;
}

[data-canvas=container] {
    overflow: initial;
}

[data-off-canvas] ul {
    margin: 0;
    padding: 0;
}

[data-off-canvas] ul li {
    list-style: none;
}

[data-off-canvas] ul.menu li a {
    color: rgba(255, 255, 255, 0.87);
    display: block;
    padding: 20px;
    -webkit-transition: all 200ms ease-in-out 0s;
    transition: all 200ms ease-in-out 0s;
}

[data-off-canvas] ul.menu li a:hover {
    color: #04397d;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.btn-dark {
    border-color: #414141;
    background-image: -webkit-linear-gradient(top, #337ab7 0, #265a88 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
    background-image: linear-gradient(to bottom, #838894 0%, #475062 100%);
    background-repeat: repeat-x;
    color: #fff;
}

.btn-secondary {
    border: 1px solid #ffffff87 !important;
}

.btn-dark:hover,
.btn-dark:focus {
    background-color: #4a5365;
    background-position: 0 -15px;
    color: #fff;
}

.btn-slide {
    background-color: #5e9cd6;
    border-color: #5e9cd6;
    padding: 1rem 3rem;
}

.btn-slide:hover {
    background-color: #5e9cd6;
    color: #fff;
}

.btn-back {
    background-color: #3b7ee6;
    color: #fff !important;
    border: 2px solid #3b7ee6;
}

.btn-back:hover {
    background-color: transparent;
    color: #3b7ee6 !important;
}

.btn-primary,
.btn-dark {
    width: 15%;
}

.btn-info {
    background: #5e9cd6 !important;
}

.mb-5 {
    margin-bottom: 3rem;
}

.list-inline>li {
    padding: 0px 15px
}

.list-inline>li:last-child {
    padding-right: 0;
}

.list-inline>li:first-child {
    padding-left: 0;
}

.d-initial {
    display: initial;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.mb-5 {
    margin-bottom: 3rem;
    margin-top: 3%;
}

.thumbnail {
    background-color: #1e4580;
}

.thumbnail .caption {
    color: #fff;
}

.mb-7 {
    margin-bottom: 7rem;
}

/* HEADER */

#topo-info {
    color: #fff;
    background: #589cda;
    padding: 0.3% 0%;
    vertical-align: middle;
}

#topo-info a {
    color: #fff;
}

#topo-info p {
    margin: 0;
}

#topo-info a.icon {
    margin-right: 1%;
}

#topo-info a.icon:last-child {
    margin-right: 0%;
}

#topo-nav {
    padding: 1% 0%;
    font-weight: 700;;
    font-size: 1.3em;
    border-bottom: 6px solid #5e9cd6;
}

#topo-nav a {
    color: #282a2e;
    font-weight: 600;
}


@media (max-width: 1115px) {
    #topo-nav .col-md-offset-1 { margin-left: 1%; }
    #topo-nav .col-md-9 { width: 90%; }
}

@media (max-width: 1066px) {
    #topo-nav .header-web { display: none; }
    #topo-nav .hidden-xs, #topo-nav .hidden-sm { display: none !important;  }
    
    #topo-nav .hidden-md, #topo-nav .hidden-lg { display: block !important; }
    #topo-nav .header-mobile { display: block; }

    #topo-nav .fa.fa-bars { margin-top: 20px; }

}


/* CONTEÚDO - INDEX */

.ls-slide {
    background: url('../img/plugins/layerslider/sliderimages/bg-pattern.jpg');
    background-size: cover;
}

.ls-gpuhack {
    left: 0 !important;
}

#solucoes {
    background-color: #fff;
}

footer {
    background-color: #00568e;
}

#solucoes {
    padding: 5% 0% 5% 0%;
}

#solucoes a {
    color: #252323;
}

#solucoes p {
    color: #757575;
    font-family: Calibri;
    font-size: 1.35em;
    line-height: 19px;
}

#solucoes h3 {
    font-size: 1.65em;
    color: #00508b;
    font-weight: bold;
}

#solucoes h2 {
    color: #757575;
    font-size: 1.6em;
    font-weight: 600;
}

#solucoes h1 {
    margin-bottom: 0%;
    color: #00508b;
    font-weight: 600;
}


#solucoes{background-color:#fff;}
footer{background-color:#00568e;}
#solucoes{padding:2rem 0 3rem;}
#solucoes a {color:#252323;}
#solucoes p {color:#adabab;}
#solucoes h2 {color:#adabab;font-size: 1.45em;font-weight: 500;}
#solucoes h1{margin-bottom: 0%;color: #5e9cd6;font-weight: 600;}

#solucoes{background-color:#fff;}
footer{background-color:#00568e;}
#solucoes{padding:2rem 0 3rem;}
#solucoes a {color:#252323;}
#solucoes p {color:#adabab;}
#solucoes h2 {
  color: #6d6c6c;
  font-size: 1.75em;
  font-weight: 500;
}
#solucoes .h1{margin-bottom: 0%;color: #5e9cd6;font-weight: 600; font-size: 36px;}

#solucoes-itens {
    margin-bottom: 2%;
    padding-top: 3%;
}

#artigos {
    background: url(../img/bg-artigos.png);
    padding: 5% 0% 5% 0%;
}

#artigos h3 {
    color: #757575;
    font-size: 1.6em;
    font-weight: 600;
    padding-bottom: 2%;
}

#artigos p {
    color: #757575;
    font-size: 1em;
    font-weight: 600;
    padding-bottom: 2%;
}

#artigos h2 {
    color: #00518c;
    font-size: 36px;
    font-weight: 600;
}

#artigos h5 {
    color: #00518c;
    font-size: 1.49em;
    font-weight: 600;
}

#utilitarios2 {
    background: url('../img/bg-simulacao.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding-bottom: 8rem;
}

#artigos #list-artigos {
    margin: 3rem 0;
}

#artigos a {
    color: #fff;
}

#util-container {
    display: flex;
    margin-top: 4%;
    margin-bottom: 5%;
}

#util-container h3 {
    color: #333;
    font-size: 2.38em;
    font-weight: 600;
}

#galeria-depo {
    background-color: #ecececc7;
    padding: 0rem 0;
}

#galeria-depo .hr-title {
    width: 90%;
    height: auto;
    text-align: center;
}

#galeria-depo .center-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 1.5vmax;
}

#galeria-depo h2 {
    font-size: 2.5em;
    color: #00508b;
    font-weight: bold;
    width: 60%;
    clear: both;
    margin: 0 auto;
    text-align: center;
    line-height: 42px;
}

#galeria-depo h1 {
    display: initial;
    font-size: 5ch;
    color: #fff;
}

#galeria-depo .col-depoimento {
    margin-top: 4rem;
    background: url(../img/bg-depoimentos.png);
    /* background-attachment: fixed; */
    /* display: flex; */
    /* min-height: 280px; */
    padding: 4% 0% 6% 0%;
}
#galeria-depo .col-depoimento h1 { display: block; margin-bottom: 10px; }

#galeria-depo .fa-quote-left,
#galeria-depo .fa-quote-right {
    font-size: 10rem;
}

#galeria-depo #depo-bxslider a {
    color: #fff;
}

#galeria-depo #depo-bxslider p {
    font-size: 1.97rem;
    padding-top: 2%;
    color: #fff;
    /* font-weight: 600; */
    width: 55%;
    clear: both;
    margin: 0 auto;
    text-align: center;
}

#galeria-depo #depo-bxslider h5 {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
}

#noticias {
    height: 450px;
    background: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

#list-news h2 {
    color: #00518c;
    font-size: 36px;
    font-weight: 600;
    padding-bottom: 2%;
}

#list-news .new-bxslider {
    padding: 0;
    margin: 0;
}

#list-news .new-bxslider p {
    color: #00528d;
    font-family: "MyriadPro";
    font-size: 1.25em;
    margin-bottom: 1rem !important;
    display: inline-block;
}

#list-news .new-data {
    background-color: #ffffff;
    padding: 5px;
    color: #5e9cd6 !important;
}

#noticias a.btn {
    display: table;
    margin: 3rem auto 0;
}

.tbcalendario {
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 3px;
    margin-bottom: 3%;
}

.tbcalendario td {
    padding: .5rem 2rem;
    background-color: #fff;
}

.tbcalendario td span {
    color: #000;
}

.tbcalendario .atual {
    font-weight: bold;
}

.tbcalendario tr.titulo td,
.tbcalendario td.first-td {
    background-color: #80b8ec;
}

.tbcalendario td.first-td span {
    color: #fff;
}

.tbcalendario th {
    background-color: #005f99;
    color: #ffffff;
    font-size: 1.35em;
    padding: 1%;
    text-align: center;
}

#icalendario_agenda_estadual a {
    color: #5e9cd6;
    font-size: 1.21em;
}

.col-trabalhe {
    padding-top: 4rem;
}

/* CONTEÚDO - INDEX */

footer {
    padding: 5rem 0;
}

footer a {
    color: #fff;
}

footer .ti-ideal {
    vertical-align: bottom;
}


footer ul {
    padding: 0;
}

#fickle-content{color:#2a2b2b;font-size:1.5rem;padding-top:3rem;padding-bottom:3rem;}
#fickle-content h1{font-weight:600;color: #5e9cd6;}
#fickle-content a{color:#2a2b2b;transition:color .5s;}
#fickle-content a:hover{color:#282a2e;}
#fickle-content ul{padding:0;}
#fickle-content ul li{margin-left:3rem;}
#contato h1{font-size:2rem;margin:0;}
#contato table{border-collapse:separate;border-spacing:0 10px;}
#galerias h1{margin:0;}
#galerias h2{margin:0;margin-bottom:3rem;font-size:2.5rem;}
#galerias h4{font-weight:bold;}
#galerias .col-foto, #galerias .col-vids{margin:2rem 0;}
#galerias img{color:#fff;}
#downloads ul{padding:0;}
#downloads ul li{list-style:none;margin-left:0;border:1px solid #ccc;border-radius:5px;padding:3rem;position:relative;margin:1rem 0;font-size:1.7rem;}
#downloads ul li i.fa.fa-download{font-size:5rem;color:#aaa;margin-right:3rem;}
#downloads ul li a{position:absolute;top:3rem;}
#parceiros .media {padding:2rem;border:1px solid #ccc;}
#iartigos ul{padding:0;}
#iartigos ul li{list-style:none;margin-left:0;border:1px solid #ccc;border-radius:5px;padding:3rem;position:relative;margin:1rem 0;font-size:1.7rem;}
#iartigos ul li i.fa.fa-file-text{font-size:5rem;color:#aaa;margin-right:3rem;}
#iartigos ul li a{position:absolute;top:3rem;}

#fickle-content{color:#2a2b2b;font-size:1.95rem;padding-top:3rem;padding-bottom:3rem;}
#fickle-content h1{font-weight:600;color: #5e9cd6;}
#fickle-content a{color:#2a2b2b;transition:color .5s;}
#fickle-content a:hover{color:#282a2e;}
#fickle-content ul{padding:0;}
#fickle-content ul li{margin-left:3rem;}
#contato h1{font-size:2rem;margin:0;}
#contato table{border-collapse:separate;border-spacing:0 10px;}
#galerias h1{margin:0;}
#galerias h2{margin:0;margin-bottom:3rem;font-size:2.5rem;}
#galerias h4{font-weight:bold;}
#galerias .col-foto, #galerias .col-vids{margin:2rem 0;}
#galerias img{color:#fff;}
#downloads ul{padding:0;}
#downloads ul li{list-style:none;margin-left:0;border:1px solid #ccc;border-radius:5px;padding:3rem;position:relative;margin:1rem 0;font-size:1.7rem;}
#downloads ul li i.fa.fa-download{font-size:5rem;color:#aaa;margin-right:3rem;}
#downloads ul li a{position:absolute;top:3rem;}
#parceiros .media {padding:2rem;border:1px solid #ccc;}
#iartigos ul{padding:0;}
#iartigos ul li{list-style:none;margin-left:0;border:1px solid #ccc;border-radius:5px;padding:3rem;position:relative;margin:1rem 0;font-size:1.7rem;}
#iartigos ul li i.fa.fa-file-text{font-size:5rem;color:#aaa;margin-right:3rem;}
#iartigos ul li a{position:absolute;top:3rem;}


footer #newsletter {
    margin-bottom: 3rem;
    text-align: center;
}

footer #newsletter h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 4rem;
    display: inline-block;
    color: #FFF;
    font-size: 30px;
    font-weight: normal;
}

footer #newsletter .input-group {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

footer #news_email-error {
    text-align: center;
}

footer #footer-content {
    display: flex;
    font-size: 1.25em;
}

#copyright {
    padding: 1rem 0;
    background-color: #589cda;
}

#copyright p {
    margin: 0;
}

#fickle-content {
    color: #2a2b2b;
    font-size: 1.35em;
    padding-top: 3rem;
    padding-bottom: 10rem;
    font-family: Calibri;
}

#fickle-content h1 {
    font-weight: 600;
    color: #5e9cd6;
}

#fickle-content a {
    color: #2a2b2b;
    transition: color .5s;
}

#fickle-content a:hover {
    color: #282a2e;
}

#fickle-content ul {
    padding: 0;
}

#fickle-content ul li {
    margin-left: 3rem;
}

#contato h1 {
    font-size: 2rem;
    margin: 0;
}

#contato table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

#galerias h1 {
    margin: 0;
}

#galerias h2 {
    margin: 0;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

#galerias h4 {
    font-weight: bold;
}

#galerias .col-foto,
#galerias .col-vids {
    margin: 2rem 0;
}

#galerias img {
    color: #fff;
}

#downloads ul {
    padding: 0;
}

#downloads ul li {
    list-style: none;
    margin-left: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 3rem;
    position: relative;
    margin: 1rem 0;
    font-size: 1.7rem;
}

#downloads ul li i.fa.fa-download {
    font-size: 5rem;
    color: #aaa;
    margin-right: 3rem;
}

#downloads ul li a {
    position: absolute;
    top: 3rem;
}

#parceiros .media {
    padding: 2rem;
    border: 1px solid #ccc;
}

#iartigos ul {
    padding: 0;
}

#iartigos ul li {
    list-style: none;
    margin-left: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 3rem;
    position: relative;
    margin: 1rem 0;
    font-size: 1.7rem;
}

#iartigos ul li i.fa.fa-file-text {
    font-size: 5rem;
    color: #aaa;
    margin-right: 3rem;
}

#iartigos ul li a {
    position: absolute;
    top: 3rem;
}

#ligue_form,
#documentos_form {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.g-recaptcha {
    margin-bottom: 1.5rem;
}

#loadchat-2 {
    bottom: 2% !important;
    right: 2% !important;
}

.lcp-chat-icon-p1 {
    margin-right: 0 !important;
}

#fab-wpp {
    position: fixed;
    width: 64px;
    right: 2%;
    bottom: 9rem;
    z-index: 9998;
}

#fab-wpp .fab-action {
    transition: all 225ms ease-in-out;
    position: absolute;
    cursor: pointer;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 64px;
    height: 64px;
    background-color: #34AF23;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

#fab-wpp .fab-action:hover {
    background-color: #2d991e
}

#fab-wpp .fab-action i {
    margin: 0 auto;
    color: #fff;
    font-size: 3.5rem;
}

@media (min-width:768px) {
    .text-sm-right {
        text-align: right;
    }
}

@media (max-width:767px) {
    footer #newsletter .input-group {
        width: 100%;
    }
    footer #footer-content {
        display: block;
    }
    #ligue_form,
    #documentos_form {
        width: 100%;
    }
    .col-trabalhe {
        padding: 0;
        margin: 0;
    }
    .bx-wrapper .bx-controls-direction a {
        top: initial !important;
        bottom: -35%;
    }
    .bx-prev {
        left: 0 !important;
    }
}

#link-simulacao h2 {
    font-size: 1.55em;
}

#link-simulacao,
#link-simulacao-contato {
    margin-top: 5rem;
    text-align: center;
    font-size: 24px;
}

#link-simulacao a,
#link-simulacao-contato a {
    border-width: 2px;
    color: #fff;
}

#link-simulacao,
#link-simulacao a {
    color: #fff;
}

#link-simulacao h2 {
    font-size: 1.6em;
    width: 60%;
    clear: both;
    margin: 0 auto;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 1%;
}

#link-simulacao-contato a:hover {
    color: #fff;
}

#box-simulacao {
    background: #efefef;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

@keyframes pulse_animation {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.08);
    }
    50% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation-name: pulse_animation;
    animation-duration: 5000ms;
    transform-origin: 70% 70%;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@media (max-width:768px) {
    #galeria-depo h2 {
        font-size: 2.15em;
        color: #00508b;
        font-weight: bold;
        width: 90%;
        clear: both;
        margin: 0 auto;
        text-align: center;
        line-height: 32px;
        padding-bottom: 2%;
    }
    #galeria-depo h2 {
        font-size: 2.15em;
        color: #00508b;
        font-weight: bold;
        width: 90%;
        clear: both;
        margin: 0 auto;
        text-align: center;
        line-height: 34px;
    }
    #galeria-depo #depo-bxslider p {
        font-size: 1.97rem;
        padding-top: 2%;
        color: #fff;
        /* font-weight: 600; */
        width: 80%;
        clear: both;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width:550px) {
    .btn-primary,
    .btn-dark {
        width: 40%;
    }
    #loadchat-2 {
        display: none;
    }
    #galeria-depo h2 {
        display: initial;
        font-size: 3ch;
    }
    #noticias {
        height: 640px;
        background: #fff;
        display: flex;
        align-items: center;
        text-align: center;
    }
    #link-simulacao h2 {
        font-size: 1.2em;
        width: 100%;
        clear: both;
        margin: 0 auto;
        text-align: center;
        padding-top: 7%;
        padding-bottom: 7%;
    }
}

@media (max-width:420px) {
    #artigos h3 {
        color: #757575;
        font-size: 1.35em;
        font-weight: 600;
        padding-bottom: 2%;
        line-height: 24px;
    }
    #artigos h2 {
        color: #00518c;
        font-size: 31px;
        font-weight: 600;
    }
    #solucoes h1 {
        margin-bottom: 0%;
        color: #00508b;
        font-weight: 600;
        font-size: 28px;
    }
    #noticias {
        height: 646px;
    }
    #galeria-depo #depo-bxslider p {
        font-size: 1.67rem;
        padding-top: 7%;
        color: #fff;
    }
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  display: list-item;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}