/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
    font-family: 'Constantia';
    src: url('../fonts/constan.ttf') format('truetype');
}

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

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

/* CUSTOMIZATION */
.hide {
    display: none;
}

.clear {
	clear: both;
}

.section-title-area h2 {
    text-transform: none!important;
}

.contact-social {
    text-align: right;
}

.contact-social img {
    width: 50%;
}

.main-header-area .main-menu-area {
    float: right;
}

.main-header-area .main-menu-area nav > ul > li {
    font-weight: bold;
    padding: 15px 0!important;
}

.main-header-area .main-menu-area nav > ul > li a.navlink {
    border-left: none!important;
    padding: 0 15px!important;
}

.logo-mobile img {
    width: 60%;
}

.margin-left75 {
    margin-left: 75px;
}

.split-advert .left {
    background: #222;
    padding: 41px 135px 41px 10px;
    text-align: right;
}

.split-advert .left h3 {
    color: white;
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
    padding-bottom: 0;
}

.split-advert .left .subtitle {
    color: white;
    font-family: "Open Sans";
    font-size: 16px;
    line-height: 30px;
    font-style: italic;
    font-weight: 700;
}

.split-advert .right {
    background: #cf9455;
    padding: 33px 0 28px;
    color: white;
}

.split-advert .right:before {
    background: #cf9455;
    content: "";
    height: 100.1%;
    left: -31px;
    position: absolute;
    top: 0;
    -webkit-transform: skewX(-19deg);
    transform: skewX(-19deg);
    width: 58px;
}

.split-advert .right .phone-text {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
}

.split-advert .right .phone-number {
    font-size: 32px;
    line-height: 1.4;
}

.practice-thumbnail {
    margin-left: -10px;
    margin-right: -10px;
}

.practice-thumbnail img {
    width: 100%;
    max-height: 165px;
}

.our-practice-area .practice-area .single-practice {
    padding-top: 0px!important;
    margin-left: 5px!important;
    margin-right: 5px!important;
}

.our-attorney-area .our-attorney .single-attorney .attorney-picture .overlay h2 {
    margin-top: 55%!important;
}

ul.working-hours > li {
    width: 100%;
}

ul.working-hours > li .left, ul.working-hours > li .right {
    width: 50%;
    float: left;
}

ul.working-hours > li .right {
    text-align: right;
}

.slider-area small {
	font-size: 50%;
}

#preload {
	width: 100%;
	height: 100vh;
	background: #EEBE40;
	position: fixed;
	z-index: 999999;
	text-align: center;
	color: black;
}

.preload-title {
	font-family: 'Constantia';
	font-size: 92px;
	padding-top: 20%;
	margin-bottom: 85px;
	text-transform: uppercase;
}

.preload-subtitle {
	font-size: 32px;
	font-family: 'Constantia';
	letter-spacing: 5px;
	line-height: 0px;
}

.preload-subtitle::after {
    content: ""; 
    display: block; 
    margin: 0px auto 35px; 
    width: 0px;
    height: 0px;
    transition: all 1.5s ease;
    animation: preload 1.5s linear both;
}

.preload-subtitle span {
	background: #EEBE40;
	padding: 0 15px;
}

.banner-subtitle::after {
    content: ""; 
    display: block; 
    margin: 0 auto; 
    width: 0px;
    height: 0px;
    transition: all 1.5s ease;
    animation: preloadBanner 1.5s linear both 2s;
    position: relative;
    top: -45px;
    z-index: -1;
}

.banner-subtitle span {
	background: black;
	padding: 0 15px;
	z-index: 999;
}

.banner-title {
	text-transform: uppercase!important;
}

@keyframes preload {
	from {width: 0px; height: 0px; background-color: transparent;}
	to {width: 45%; height: 1px; background-color: black;} 
}

@keyframes preloadBanner {
	from {width: 0px; height: 0px; background-color: transparent;}
	to {width: 50%; height: 1px; background-color: white;} 
}

.default-practice {
	display: none;
}

.quotes {
	margin-top: 20px;
}

@media (max-width: 480px) {
    .split-advert .left {
        padding: 24px 15px;
        text-align: center;
    }

    .split-advert .left h3 {
        font-size: 23px;
    }

    .split-advert .left .subtitle {
        font-size: 16px;
    }

    .margin-left75 {
        margin-left: 0px;
        text-align: center;
    }

    .split-advert .right .phone-text {
        margin-bottom: 15px;
    }
    
    .split-advert .right .phone-number {
        font-size: 21px;
        line-height: 1.6;
    }
    
    .preload-title {
		font-size: 45px;
		padding-top: 50%;
	}
	
	.preload-subtitle {
		font-size: 15px;
		letter-spacing: 5px;
	}
	
	.preload-title:after {
	    margin: 25px auto 25px; 
	
	}
	
	@keyframes preload {
		from {width: 0px; height: 0px; background-color: transparent;}
		to {width: 90%; height: 1px; background-color: black;} 
	}
	
	.slider-area, .banner-area {
		padding-top: 60px!important;
	}
	
	.default-practice {
		display: block;
	}
}

@media (max-width: 991px) {
    .split-advert .left {
        padding: 33px;
    }
}