/* FONTS:
    font-family: 'Open Sans', sans-serif;
    font-family:'BaskervilleMTW01-Roman';
    font-family:'BaskervilleMTW01-SmBdIt';
*/
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

img {
    max-width: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a, a:hover {
    color: #c5920d;
    text-decoration: none;
    transition: all 0.5s ease;
}
a[href^="tel:"] {
    color: inherit;
    cursor: default;
}
/*a, a:active, a:focus, input {
    outline: none;
}*/
body {
    font: 14px/24px 'Open Sans', Helvetica, Arial, sans-serif;
    letter-spacing: .02em;
    background-color: #fff;
    height: 100%;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.bkg-creme {
    background-color: #f9f9f9;
    padding: 50px 0;
}
.bkg-gray {
    background-color: #ececec;
    box-sizing: border-box;
}
.offset-margin {
    margin-top: -30px;
}
.offset-margin-bottom {
    margin-bottom: -50px;
}

.header-container {
    background: #ececec;
    width: 100%;
}
.header-container header {
    text-align: center;
}
.header-container img {
    width: 200px;
    transition: all 0.5s ease;
}
.header-container.shrink h1.title a img {
    width: 180px;
    transition: all 0.5s ease;
}
.gray {
    color: #8a8985;
}
ul.gray {
    margin-left: 180px;
    font-family: 'BaskervilleMTW01-SmBdIt', serif;
    font-style: normal;
}

/* ==============
    MOBILE: Menu
   ============== */
.navigation {
    display: none;
}
.mobile-menu {
    padding-top: 40px;
    position: relative;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-transform: uppercase;
}
nav.secondary ul {
    padding: 25px 0;
}
.shrink nav.secondary ul {
    padding: 6px 0;
}
nav.secondary a {
    display: block;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    color: #8c8b8c;
    font-size: .7em;
}
nav.secondary a:hover {
    color: #333;
}
nav.secondary ul li:last-child a {
    background-color: #2e4855;
    color: #fff;
    font-weight: bold;
    font-size: .8em;
    padding: 5px 25px;
    display: inline-block;
    position: relative;
    top: 0px;
    margin-left: 15px;
}
nav.secondary ul li:last-child a:hover {
    background-color: #000;
}
nav.main-menu {
    background-color: rgba(197,146,13, .9);
    width: 100%;
    clear: both;
}
nav.main-menu a {
    color: #fff;
    padding: 8px 16px;
    display: block;
}
nav.main-menu a:hover, nav.main-menu .active a {
    background-color: #2e4855;
    color: #c5920d;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: #fff;
    padding: 0px 5% 10px;
}
.text-center {
    text-align: center;
}

#map img {
    cursor: grabbing !important;
}

.footer-container {
    color: #fff;
    background-color: #163544;
    background-image: url(../img/bkg_footer.jpg);
    background-repeat: no-repeat;
    background-position: 90% 0px;
    background-size: cover;
    padding: 80px 0 50px 0;
    border-top: 8px solid #c5920d;
    font-size: .7em;
    text-align: center;
}
.footer-container a {
    color: #fff;
    padding-right: 25px;
    text-transform: none;
}
.footer-container a:hover {
    color: #c5920d;
}
.footer-container .fdic {
    /*float: right;*/
    padding-top: 10px;
}
.footer-container .logo {
    height: auto;
    margin-bottom: 20px;
}
.footer-container .logo img {
    width: 250px;
    height: 28px;
    margin: 0 auto;
}

/* ==========================================================================
   Page Specific Styles
   ========================================================================== */

/* Home */
.home-feature, .home .owl-carousel, .home .owl-wrapper-outer, .home .owl-item, .home .owl-wrapper {
    position: relative;
    height: 100%;
}
.home-feature {
    box-sizing: border-box;
}
.sub .home-feature {
    height: auto;
    min-height: 300px;
}
/* Feature */
.owl-wrapper .slide {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% top;
    display: table;
}
.owl-wrapper .slide .slide-content {
    height: 100%;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    padding: 10% 0;
    font-size: .75em;
}
.slide .slide-content .right {
    max-width: 400px;
}
.slide .slide-content h2 {
    line-height: 1.2em;
}
.slide em {
    font-family: 'BaskervilleMTW01-SmBdIt', serif;
    color: #c5920d;
    font-style: normal;
}
.slide p strong {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: .05em;
}
.sub .secondary-feature {
    background-size: cover;
    background-position: 20% top;
    position: relative;
}
.sub .secondary-feature h2 {
    text-shadow: 1px 1px 9px rgba(0, 0, 0, 0.5);
    line-height: 1.2em;
}
.sub .secondary-feature .wrapper {
    padding: 100px 0 60px 0;
    color: #fff;
}
.sub .secondary-feature a {
    color: #fff;
}
.sub .secondary-feature.positive, .sub .secondary-feature.positive a {
    color: #3d3c3e;
}
.sub .secondary-feature.positive h2 {
    text-shadow: 1px 1px 9px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}
h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2em;
    text-transform: uppercase;
    line-height: 1.5em;
    font-weight: 400;
    letter-spacing: 0.05em;
}
h2 strong {
    font-family:'BaskervilleMTW01-Roman';
    font-size: 2em;
    font-weight: 400;
    letter-spacing: .05em;
    display: block;
}
h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    line-height: 1.5em;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-bottom: 50px;
    margin-bottom: 50px;
    position: relative;
}
sup {
    font-size: .5em;
}
.sub h3 {
    margin-bottom: 15px;
    padding-bottom: 0;
}
.sub h3 sup {
    font-size: .4em;
    top: -10px;
}
.home h3 {
    margin: 60px 0 0 0;
    padding: 0;
}
h3.underline {
    padding-bottom: 40px;
    margin-bottom: 30px;
}
h3.underline:after {
    content: '';
    position: absolute;
    border-bottom: 1px solid #c5920d;
    width: 80px;
    bottom: 0;
    left: 0;
}
h4 {
    color: #c5920d;
    font-family: 'BaskervilleMTW01-SmBdIt', serif;
    font-size: 1.2em;
    margin: 10px 0;
}
h5 {
    font-weight: 600;
    font-size: 1.15em;
}
.disclaimer {
    font-size: .8em;
    line-height: 1.6em;
}
a.more {
    font-size: 1.2em;
    font-family: 'BaskervilleMTW01-SmBdIt', serif;
    display: block;
    margin-top: 20px;
}
span.tighten {
    letter-spacing: -.2em;
}
.owl-wrapper .prevail {
    background-image: url('../img/photo_home-prevail.jpg');
}
.owl-wrapper .together {
    background-image: url('../img/photo_home-together.jpg');
    background-position: top left;
}
.home .owl-theme .owl-controls {
    /*position: relative;
    margin-top: -60px;
    z-index: 10;*/
}
.home .owl-theme .owl-prev {
    left: -10px;
}
.home .owl-theme .owl-next {
    right: -10px;
}
.owl-pagination {
    display: none;
}
.owl-buttons {
    
}
.overlay-border {
    position: absolute;
    bottom: 0px;
    height: 8px;
    background-color: rgba(197,146,13,.75);
    z-index: 10;
    width: 100%;
}
.owl-theme .owl-controls .owl-page {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 0 3px;
    position: relative;
}
.owl-theme .owl-controls .owl-page:before {
    content: '';
    position: absolute;
    border-top: 1px solid #fff;
    z-index: 10;
    width: 6px;
    top: 50%;
    right: -7px;
}
.owl-theme .owl-controls .owl-page:last-child:before {
    display: none;
}
.owl-theme .owl-controls .owl-page span {
    opacity: 0 !important;
    margin: 2px !important;
}
.owl-theme .owl-controls .owl-page.active span {
    opacity: 1 !important;
    background-color: rgba(197,146,13,.95) !important;
    margin: 2px !important;
}
.service-type {
    display: block;
    padding: 6px 0;
    text-transform: uppercase;
    font-weight: bold;
}
.service-type span, .more span {
    font-family:'BaskervilleMTW01-SmBdIt';
    text-transform: lowercase;
    color: #cacaca;
    padding-left: 15px;
}
.service-type em {
    font-family:'BaskervilleMTW01-SmBdIt';
    text-transform: lowercase;
    font-style: normal;
    font-weight: normal;
}
.service-type i, .more i {
    display: inline-block;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 20px;
    font-size: 300;
    color: #cacaca;
    margin-left: 5px;
    text-align: center;
    box-shadow: 0px 0px 2px #cacaca;
    font-family:'BaskervilleMTW01-Roman';
    font-style: normal;
}
a.service-type:hover i {
    color: #999;
    box-shadow: 0px 0px 2px #999;
}
a.service-type:hover, a.service-type:hover span {
    color: #999;
}
.service-type:before {
    content: '●';
    padding-right: 10px;
    font-size: .65em;
    top: -2px;
    color: #c5920d;
    position: relative;
}
.content-target {
    font-size: .9em;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #b7b5b0;
    border-bottom: 1px solid #b7b5b0;
    outline: none !important;
}
#mobilebank.content-target {
    border-bottom: none;
}
.content-target a {
    color: #3d3c3e;
    text-decoration: underline;
}
.content-target ol {
  margin: 0 0 1.5em;
  padding: 0;
  counter-reset: item;
}
.content-target ol > li {
  margin: 0 0 10px 0;
  padding: 0 0 0 2em;
  text-indent: -2em;
  list-style-type: none;
  counter-increment: item;
  line-height: 1.4em;
}
.content-target ol > li:before {
  display: inline-block;
  width: 1em;
  padding-right: 1em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}
.content-target ol ul {
    padding-left: 20px;
}
.content-target ol ul li {
    padding-left: 30px;
    list-style-type: disc;
}
ul.styled {
    margin-top: 30px;
    border-top: 1px solid #b7b5b0;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b7b5b0;
    margin-bottom: 100px;
}
ul.styled li {
    
}
a.read-more {
    color: #fff;
    position: relative;
    margin-top: 20px;
    font-family: 'BaskervilleMTW01-SmBdIt', serif;
    display: block;
}
a.read-more:hover {
    text-decoration: underline;
}
a.read-more:hover .icon-ico-arrow {
    color: #c5920d;
}
/*a.read-more:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    border-top: 1px solid #fff;
    width: 80px;
}*/
a.read-more .icon-ico-arrow {
    font-size: 2em;
    display: inline-block;
    margin-top: 20px;
    margin-left: -5px;
}

.home-locations {
    background: #383839;
    background-size: cover;
    text-align: center;
    color: #fff;
    padding: 80px 0;
}
.home-locations ul, .home-locations li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.home-locations header strong {
    color: #c5920d;
    display: block;
    font-size: 2em;
    font-weight: 600;
}
.home-locations header em {
    color: #c5920d;
    display: block;
    font-family:'BaskervilleMTW01-SmBdIt';
    font-style: normal;
    margin: 5px 0 20px 0;
    padding-bottom: 20px;
    letter-spacing: .1em;
    font-size: 1.2em;
    position: relative;
}
.home-locations header em:after {
    content: '';
    position: absolute;
    border-bottom: 1px solid #c5920d;
    width: 80px;
    bottom: 0;
    left: 50%;
    margin-left: -40px;
}

#map { 
    height:350px;
}

.browsers a {
    display: inline-block;
    padding-right: 20px;
}

.location-marker {
    background: transparent url(../img/ico-droppin.png) no-repeat top left;
}

.extra-margin-top {
    margin-top: 150px;
}
.margin-top {
    margin-top: 40px;
}
.margin-bottom {
    margin-bottom: 40px;
}
.padding-top {
    padding-top: 40px;
}
.padding-bottom {
    padding-bottom: 40px;
}
.padding-left {
    padding-left: 5%;
}
.padding-right {
    padding-right: 5%;
}
.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}

.btn {
    background-color: #c5920d;
    color: #fff;
    display: inline-block;
    padding: 2px 12px;
    text-transform: uppercase;
    font-size: .9em;
}
.btn:hover {
    background-color: #fff;
    color: #c5920d;
}
.kasasa-modal {
    border: 10px solid #c5920d;
    text-align: left;
}

select, input:not([type='checkbox']):not([type='radio']), textarea {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #403b33;
    background-color: #ffffff;
    padding: 6px 10px;
    color: #333;
    margin: 0;
    outline: 0;
    border-radius: 0;
    -webkit-appearance: none;
    text-transform: uppercase;
    font-size: .8em;
    margin-bottom: 20px;
}
input[type=checkbox] {
    margin-bottom: 20px;
}
input[type=radio] {
    display: inline-block;
}
label {
    line-height: 1.2em;
}
button {
    background-color: #2e4855;
    color: #fff;
    font-weight: bold;
    padding: 0 20px;
    display: inline-block;
    position: relative;
    border: 0;
}
select {
    background-image: url(../img/ico-drop.gif);
    background-position: 94% 10px;
    background-repeat: no-repeat;
    padding: 1px 10px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #8a8985;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #8a8985;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #8a8985;
}
:-moz-placeholder { /* Firefox 18- */
  color: #8a8985;
}

.screen-reader {
    display: none;
}

.thanks {
    background-color: #2e4855;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 767px) {
    .main {
        padding: 30px 0;
    }
    .home .owl-theme .owl-controls {
        display: none !important;
    }
    .locations .col-25 {
        text-align: center;
        margin-bottom: 30px;
    }
    .locations .location-marker {
        background-position: top center;
    }
    .slide-content .right {
        background-color: rgba(0,0,0,.7);
        padding: 20px;
    }
    .owl-wrapper .slide .slide-content {
        vertical-align: bottom;
    }
}

@media only screen and (min-width: 480px) {
    nav.secondary ul li {
        display: inline-block;
    }
    nav.secondary a {
        float: left;
        /*padding: 5px 2%;*/
        margin: 0 6px;
    }
}

@media only screen and (min-width: 768px) {
    body {
        font: 16px/28px 'Open Sans', Helvetica, Arial, sans-serif;
        color: #3d3c3e;
    }
    .mobile-menu {
        display: none;
    }
    .home-feature {
        padding-top: 90px;
    }
    .sub .secondary-feature {
        margin-top: 90px;
        background-position: center center;
    }
    .secondary-feature.map {
        padding-top: 52px;
    }
    .header-container {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
    }
    .header-container header {
        text-align: left;
    }
    .main-menu ul {
        list-style:none;
        position:relative;
        float:left;
        margin:0;
        padding:0
    }
    .main-menu ul a {
        display:block;
        text-decoration:none;
        padding:0 15px;
        color: #ececec;
    }
    .main-menu ul a:hover {
        color: #c5920d;
    }
    .main-menu ul li {
        position:relative;
        float:left;
        margin:0;
        padding:0
    }
    .main-menu ul li.current-menu-item {
        background:#ddd
    }
    .main-menu ul li:hover {
        background:#383839;
        color: #c5920d;
    }
    .main-menu ul ul {
        display:none;
        position:absolute;
        margin-left: -1px;
        top:100%;
        left:0;
        background:#383839;
        padding:0
    }
    .main-menu ul ul li {
        float:none;
        display: block;
        width:200px
    }
    .main-menu ul em {
        display: block;
        text-transform: none;
    }
    .main-menu ul ul a {
        line-height:120%;
        padding:10px 25px;
        font-size: 12px;
        background-color: #383839;
        color: #fff;
        border-bottom: 1px solid #6a5829;
    }
    .main-menu ul ul ul {
        top:0;
        left:100%
    }
    .main-menu ul li:hover > ul {
        display:block
    }
    h1.title {
        float: left;
        margin: 0;
        padding: 20px 0;
    }
    .shrink h1.title {
        padding: 10px 0;
    }
    .main-container {
        /*min-height: calc(100% - 200px);*/
        padding: 50px 0;
    }
    .owl-wrapper .slide .slide-content {
        font-size: 1em;
    }
    .offset-margin {
        margin-top: -50px;
    }

    /* Menu */
    .slicknav_menu {
        display: none;
    }
    .navigation {
        display: block;
    }
    nav ul li {
        white-space: nowrap;
        display: inline-block;
    }
    nav.secondary {
        float: right;
    }
    nav.main-menu {
        position: absolute;
        width: 100%;
        z-index: 10;
        left: 0;
        bottom: -50px;
        transition: all 0.5s ease;
    }
    nav.main-menu ul li {
        border-left: 1px solid #a57817;
    }
    nav.main-menu > ul > li:last-child {
        border-right: 1px solid #a57817;
    }
    nav.main-menu a {
        color: #fff;
        padding: 12px 24px;
        display: block;
    }
    .col-75, .col-50, .col-25 {
        display: inline-block;
        float: left;
        width: 50%;
        box-sizing: border-box;
    }
    .col-50:first-of-type {
        padding-right: 6%;
    }
    .col-50:last-of-type {
        padding-left: 6%;
    }
    form .col-50:first-of-type {
        padding-right: 1.5%;
    }
    form .col-50:last-of-type {
        padding-left: 1.5%;
    }
    .col-75 {
        width: 75%;
    }
    .col-25 {
        width: 25%;
        padding-right: 3%;
    }
    .col-50 em {
        font-weight: 600;
    }
    .col-50 strong {
        font-size: 1.1em;
    }
    .home-locations {
        display: none;
    }
    .footer-container {
        text-align: left;
        background-size: contain;
    }
    .margin-top {
        margin-top: 80px;
    }
    .margin-bottom {
        margin-bottom: 80px;
    }
    .sub .secondary-feature .has-content {
        max-width: 65%;
    }
    .sub .secondary-feature .has-content p {
        font-size: 1.3em;
        font-weight: 300;
    }

}
@media only screen and (min-width: 980px) {
    .header-container img {
        width: 252px;
    }
}
@media only screen and (min-width: 1280px) {
    .wrapper {
        max-width: 1200px; /* 1140px - 10% for margins */
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    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;
    }
}

@media only speech {
    .screen-reader, .content-target {
        display: block !important;
    }
}


/*
 *  Remodal - v1.1.0
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(40, 40, 40, 0.9);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 35px;

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background: #fff;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  -webkit-animation-name: remodal-opening-keyframes;
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  -webkit-animation-name: remodal-closing-keyframes;
  animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
  vertical-align: middle;
}

/* Close button */

.remodal-close {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  overflow: visible;

  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;

  cursor: pointer;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  text-decoration: none;

  color: #95979c;
  border: 0;
  outline: 0;
  background: transparent;
}

.remodal-close:hover,
.remodal-close:focus {
  color: #2b2e38;
}

.remodal-close:before {
  /*font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;*/
  font-size: 25px;
  line-height: 35px;

  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 35px;

  content: "\00d7";
  text-align: center;
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm {
  color: #fff;
  background: #c5920d;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
  background: #a77901;
}

.remodal-cancel {
  color: #fff;
  background: #999999;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #666666;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 700px;
  }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}
