/* Alexandra.Craig | alexandracraig.com */
/* 20 January 2021 | v1.0.0 */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

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

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: 'andrich_minervaregular';
    src: url('../fonts/andrich-minerva-regular-webfont.eot');
    src: url('../fonts/andrich-minerva-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/andrich-minerva-regular-webfont.woff') format('woff'),
         url('../fonts/andrich-minerva-regular-webfont.ttf') format('truetype'),
         url('../fonts/andrich-minerva-regular-webfont.svg#andrich_minervaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html { text-rendering:optimizeLegibility !important; -webkit-font-smoothing:antialiased !important; -moz-osx-font-smoothing:grayscale !important; text-shadow:1px 1px 1px rgba(0,0,0,0.004); font-size:1em; line-height:1.5; letter-spacing:0em; color:#FFF; background:#000; font-family:Helvetica, sans-serif; font-weight:400; }

html, body { overflow-x:hidden; }

h1, h2, h3, h4, p { margin:0; font-weight:400; }
figure { margin:0; padding:0; }
img, svg { width:100%; height:auto; display:block; }
ul { list-style:none; padding:0; margin:0; }

a { text-decoration:none; color:inherit; }
a.cta { display:block; width:100%; height:40px; line-height:40px; box-sizing:border-box; border-radius:4px; background:#FFF; color:#000; text-align:center; position:relative; margin-top:31px; margin-bottom:90px; }

.grey { color:#BCBCBC; }

/* start of grid system */
.row { display:flex; flex-wrap:wrap; padding-left:31px; padding-right:31px; width:100%; box-sizing:border-box; position:relative; }
.row > * { width:100%; }

.col { width:100%; box-sizing:border-box; position:relative; padding-left:4px; padding-right:4px; /*background:#FF0;*/ }
.col.size_s { width:73px; }
.col.auto { width:calc(100% - 73px) }
.col_inner { display:flex; flex-wrap:wrap; width:calc(100% + 8px); transform:translateX(-4px); -webkit-transform:translateX(-4px); }
/* end of grid system */

.m_1_2 { width:50%; }

/* fonts */
.h1 { font-family:'andrich_minervaregular'; font-size:1.438rem; padding-top:42px; padding-bottom:36px; }
.p1 { font-size:0.813rem; line-height:1.308em; }

hr { border-top:1px solid #F0F0F0; margin-top:16px; margin-bottom:35px; }

label { font-weight:700; display:block; }
input[type="text"], textarea { display:block; box-sizing:border-box; width:100%; height:33px; line-height:33px; outline:0; resize:none; border:1px solid #BCBCBC; border-radius:4px; box-shadow:0 0 2px 0 rgba(113, 113, 113, 0.2); padding-left:8px; padding-right:8px; color:#000; }
input.countrycode { padding-left:22px; }
input.phone { margin-top:23px; }
input[type="text"]:focus, textarea:focus, input[type="text"].active, textarea.active { border-color:#FFF; }
fieldset.error input, fieldset.error input:focus { border-color:#DC0000; }
fieldset.error label, .properties_field.error > p { color:#DC0000; }
textarea { height:100px; padding-top:8px; padding-bottom:8px; line-height:1.308em; }
.checkbox { display:inline-block; font-weight:400; position:relative; padding-top:1px; padding-left:35px; margin-top:0; cursor:pointer; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none; }
.checkbox input { position:absolute; opacity:0; cursor:pointer; height:0; width:0; }
.checkbox span { position:absolute; top:0; left:0; height:17px; width:17px; border:1px solid #D2D2D2; border-radius:2px; box-shadow:0 0 2px 0 rgba(113, 113, 113, 0.2); }
.checkbox input:checked ~ span { border-color:#FFF; }
.checkbox span:after { content:""; position:absolute; display:none; }
.checkbox input:checked ~ span:after { display:block; }
.checkbox span:after { left:5px; top:1px; width:5px; height:10px; border:solid #FFF; border-width:0 2px 2px 0; -webkit-transform:rotate(45deg); -ms-transform:rotate(45deg); transform:rotate(45deg); }
fieldset { position:relative; margin-bottom:31px; }
fieldset label { margin-bottom:6px; }
fieldset span { position:absolute; top:30px; left:12px; }

.checkboxes { margin-bottom:27px; width:100%; }
.checkboxes + .checkboxes + div, .checkboxes + p { margin-top:-9px; }
.checkboxes p:last-of-type { margin-bottom:11px; }
.checkboxes fieldset { margin-bottom:9px; }

.form { border-radius:16px 16px 0 0; margin-top:-16px; position:relative; z-index:10; background:#000; }

.gallery > article, .gallery > article > div { width:100%; height:430px; position:relative; }
.gallery > article:before { content:""; display:block; width:100%; height:170px; background:#F00; position:absolute; top:-70px; left:0; z-index:10; background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); }
.swiper-container { width:100%; height:100%; }
.swiper-container figure { width:100%; height:100%; background-size:cover !important; background-position:center center !important; }

.logo { width:86px; position:absolute; top:35px; left:35px; z-index:100; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

/*
@media (orientation: portrait) {
	
}
*/
/* 820 */
@media only screen and (min-width: 820px) {
    .h1 { padding-top:107px; padding-bottom:56px; }

    .gallery { position:fixed; top:0; left:0; width:40%; height:100%; }

    .form { padding-left:40%; box-sizing:border-box; background:none; }

    .gallery > article, .gallery > article > div { height:100%; }
}

/* 968 */
@media only screen and (min-width: 968px) {
    a.cta { display:block; width:calc(100% - 8px); margin-left:4px; }

    .col_d { width:100%; box-sizing:border-box; position:relative; padding-left:4px; padding-right:4px; /*background:#FF0;*/ }
    .col_inner_d { display:flex; flex-wrap:wrap; width:calc(100% + 8px); transform:translateX(-4px); -webkit-transform:translateX(-4px); }

    .d_1_2 { width:50%; }
    .d_1_2.col_inner { transform:translateX(0); -webkit-transform:translateX(0); padding-left:0; padding-right:0; }

    .d_1_3 { width:33.33%; }
    .d_2_3 { width:66.66%; }

    .d_or_1_3 { margin-right:33.33%; }
}

/* 1100 */
@media only screen and (min-width: 1100px) {
    .gallery { width:440px; }

    .form { padding-left:440px; }
    .form > .row { max-width:620px; margin-left:auto; margin-right:auto; }
}

/* 1186 */
@media only screen and (min-width: 1186px) {
    a.cta { width:calc(66.66% - 8px); }

    .hd_1_3 { width:33.33%; }
    .hd_2_3 { width:66.66%; }

    .form > .row { max-width:100%; margin-left:0; padding-left:94px; padding-right:94px; }
}

/* 1440 */
@media only screen and (min-width: 1440px) {
    .gallery { width:33.33%; }

    .form { padding-left:33.33%; }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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