/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

@font-face {
    font-family: 'martaitalic';
    src: url('../fonts/marta_italic-webfont.eot');
    src: url('../fonts/marta_italic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/marta_italic-webfont.woff') format('woff'),
    url('../fonts/marta_italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'martaregular';
    src: url('../fonts/marta_regular-webfont.eot');
    src: url('../fonts/marta_regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/marta_regular-webfont.woff') format('woff'),
    url('../fonts/marta_regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'martabold';
    src: url('../fonts/marta_bold-webfont.eot');
    src: url('../fonts/marta_bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/marta_bold-webfont.woff') format('woff'),
    url('../fonts/marta_bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sans_condensedbold';
    src: url('../fonts/opensans-condbold-webfont.eot');
    src: url('../fonts/opensans-condbold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-condbold-webfont.woff') format('woff'),
    url('../fonts/opensans-condbold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'noto_sansitalic';
    src: url('../fonts/notosans-italic-webfont.eot');
    src: url('../fonts/notosans-italic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/notosans-italic-webfont.woff') format('woff'),
    url('../fonts/notosans-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'noto_sansregular';
    src: url('../fonts/notosans-regular-webfont.eot');
    src: url('../fonts/notosans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/notosans-regular-webfont.woff') format('woff'),
    url('../fonts/notosans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


body {
    background: #d3d3d3;
}

header {
    background: url("../img/head_foot_bgr.jpg") 0 0 repeat-x;
    border-bottom: 10px solid #7f966c;
    height: 96px;
}

.wrapper {
    margin: 0 auto;
    width: 1024px;
    position: relative;
}

#logo {
    width: 255px;
    height: 238px;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    z-index: 100;
}

#langBar {
    float: right;
    clear: both;
    width: 196px;
    margin: 8px 2px 0 0;
    height: 22px;
}

#langBar li {
    float: right;
    margin-left: 6px;
    width: 33px;
    height: 22px;
}

#langBar li a {
    width: 33px;
    height: 22px;
    display: block;
    background: url("../img/sprite_sp.png");
    text-indent: -9999px;
    color: transparent;
}

#langBar li a.bg {
    background-position: -431px -4px;
}

#langBar li a.ru {
    background-position: -392px -4px;
}

#langBar li a.he {
    background-position: -354px -4px;
}

#langBar li a.de {
    background-position: -316px -4px;
}

#langBar li a.en {
    background-position: -278px -4px;
}

nav {
    width: 775px;
    height: 53px;
    background: url("../img/top_nav_right.png") right top no-repeat;
    float: right;
    padding-right: 7px;
    margin: 13px 1px 0 0;
}

nav ul {
    background: url("../img/top_nav_repeat.png") repeat-x;
    height: 53px;
    overflow: hidden;
    padding-right: 15px;
}

nav ul li {
    float: right;
    margin-left: 24px;
    height: 53px;
}

nav ul li:hover, nav ul li.active {
    background: url("../img/top_nav_hover.png") center bottom no-repeat;
}

nav ul li a {
    color: #dadada;
    display: block;
    padding-top: 18px;
    text-align: center;
    font-family: martaregular;
    text-decoration: none;
    height: 53px;
    font-size: 18px;

}

nav ul li:hover a, nav ul li.active a {
    color: #dab367;
}

#main {
    background: url("../img/main_bottom_gradient.png") 0 bottom repeat-x;
    padding-bottom: 8px;
}

#main .homeTopShadow {
    background: url("../img/main_top_shadow.png") center top no-repeat;
    width: 782px;
    height: 27px;
    margin: 7px auto 0;
}

#main .wrapper {
    background: url("../img/main_bottom_shadow.png") center bottom no-repeat;
    padding-bottom: 100px;
    min-height: 650px;
}

#flexslider {
    border: 2px solid #eaeaea;
    width: 1020px;
    height: 419px;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
}

#flexslider .listItem {
    width: 1020px;
    height: 415px;
}

#flexslider .listItem  img {
    width: 100%;
}

#flexslider .rotatorTitle {
    width: 438px;
    height: 62px;
    background: url("../img/sprite_sp.png") -17px -78px no-repeat;
    position: absolute;
    right: 0;
    bottom: 28px;
    color: #b1b1b1;
    font: oblique normal 18px/22px Georgia;
    text-align: right;
    padding: 20px 10px 0 0;

}

#flexslider .rotatorTitle.threeRow {
    padding-top: 10px;
    height: 72px;
}

#flexslider .flex-control-paging {
    bottom: 10px;
    right: 10px;
    position: absolute;
    z-index: 100;
}

#flexslider .flex-control-paging li {
    float: left;
}

#flexslider .flex-control-paging li a {
    background: #7f966c;
    width: 13px;
    height: 13px;
    display: block;
    text-indent: -9999px;
    margin: 2px 5px;
}

#flexslider .flex-control-paging li a.flex-active, #flexslider .flex-control-paging li a:hover {
    border: 2px solid #ccc;
    cursor: pointer;
    margin: 0 3px;
}

#main .aboutUs {
    margin: 30px 0 0 15px;
    overflow: hidden;
}

#main .aboutUs .description {
    float: left;
    margin-right: 45px;
    width: 300px;
}

#main .aboutUs .description.last {
    margin-right: 0;
}

#main .aboutUs .description .icon {
    background: url("../img/sprite_sp.png");
    display: block;
    margin: 0 auto;
}

#main .aboutUs .description .iconCourt {
    background-position: 0 0;
    width: 61px;
    height: 61px;
}

#main .aboutUs .description .iconGavel {
    background-position: -86px 0;
    width: 62px;
    height: 57px;
}

#main .aboutUs .description .iconPen {
    background-position: -172px 0;
    width: 48px;
    height: 52px;
}

#main .aboutUs .description p {
    text-align: justify;
    color: #444444;
    margin-top: 20px;
    font: 18px/32px martaitalic;
}

#main  p.bottom {
    font: 18px/32px martaitalic;
    margin: 40px 15px 0;
    color: #444444;
    text-align: justify;
}

footer {
    background: url("../img/head_foot_bgr.jpg") 0 0 repeat-x;
    border-top: 10px solid #7f966c;
    height: 152px;
    padding-top: 20px;
}

footer .wrapper {
    width: 915px;
}

footer section {
    width: 304px;
    background: url("../img/footer_separator.png") right top no-repeat;
    position: relative;
    height: 125px;
}

footer section .author {
    position: absolute;
    bottom: 0;
}

footer section p, footer section a {
    font: 14px/18px "noto_sansitalic";
    color: #bbbbbb;
}

footer section ul {
    margin-left: 40px;
    list-style: disc;
    color: #bbb;

}

footer section li {
    margin-left: 10px;
    line-height: 24px;
    width: 116px;
    float: left;
}

footer section a:hover {
    text-decoration: none;
}

footer section.contact {
    background: none;
    padding-left: 35px;
    width: 244px;
    margin-top: -6px;
}

footer section.contact p {
    padding: 0 0 10px 35px;
    position: relative;
}

footer section.contact p span{
    background: url("../img/sprite_sp.png");
    position: absolute;
    left: 0;
    top: 0;
    text-indent: -9999px;
}

footer section.contact p.phone span{
    background-position: -219px -41px;
    width: 27px;
    height: 19px;
    left: -3px;
    top: 2px;
}

footer section.contact p.map span{
    background-position: -263px -40px;
    width: 17px;
    height: 24px;
    left: 2px;
    top: 2px;
}

footer section.contact p.contactForm span{
    background-position: -294px -40px;
    width: 22px;
    height: 20px;
}

/*************************************
* INNER PAGES
*************************************/

#main .innerTopShadow {
    background: url("../img/main_top_shadow.png") center top no-repeat;
    width: 782px;
    height: 27px;
    margin: 7px 0 0 185px;
}

aside {
    background: url("../img/sidebar_top_bgr.png") 0 0 no-repeat;
    width: 238px;
    padding-top: 94px;
    margin: 50px 0 0 9px;
    overflow: hidden;
}

aside .sidebarWrapper {
    background: url("../img/sidebar_bottom_bgr.png") 0 bottom no-repeat;
    width: 238px;
    padding-bottom: 100px;
}

aside .sidebarCont {
    background: url("../img/sidebar_repeat_test1.jpg") 0 0 repeat-y;
    padding: 0 15px;
}

aside .sidebarCont h2 {
    color: #88a174;
    text-shadow: 1px 2px 2px #222;
    font: 18px "open_sans_condensedbold";
    padding: 10px 0;
    text-align: center;
}

aside .sidebarCont ul {
    width: 208px;
}

aside .sidebarCont li {
    border-bottom: 1px solid #aaaaaa;
    padding: 7px 5px;
    color: #cccccc;
    font: 13px 'noto_sansregular';
    font-style: normal!important;
}

aside .sidebarCont li.last {
    border: none;
}

aside .sidebarCont li a {
    color: #cccccc;
    display: block;
    text-decoration: none;
}

aside .sidebarCont li a:hover {
    color: #fff;
}

.pageContent {
    color: #454545;
    padding-left: 20px;
    overflow: hidden;
    line-height: 19px;
}

.pageContent h1 {
    font: 28px Marta;
    padding-top: 0;
    padding-bottom: 8px;
    background: url("../img/heading_bottom_bgr.png") 0 bottom no-repeat;
}

.lawyers .pageContent h1,  .contactUs .pageContent h1{
    padding-top: 50px;
}

.pageContent .lawyerProfile {
    margin-top: 30px;
    font-family: martaregular;
    font-size: 15px;
    color: #545454;
}

.pageContent .lawyerDetails {
    float: left;
    padding-left: 15px;
    width: 565px;
}

.pageContent .lawyerProfile .photoHolder {
    width: 147px;
    height: 190px;
    background: url("../img/photo_placeholder.png") 0 0 no-repeat;
    float: left;
    padding: 11px 13px;
}

.pageContent .lawyerProfile h3 {
    font-size: 26px;
    font-weight: normal;
    padding: 5px 0 20px 0;
}

.pageContent .lawyerDetails th {
    width: 145px;
    text-align: left;
    vertical-align: top;
}

.pageContent .lawyerDetails th, .pageContent .lawyerDetails td {
    padding-bottom: 10px;
}

.pageContent .separator {
    width: 100%;
    height: 44px;
    background: url("../img/separator_bgr.png") 175px center no-repeat;
    clear: both;
    overflow: hidden;
    margin: 40px 0 20px 0;
}

/*****************************
* FIELDS OF WORK
*****************************/

.fieldsOfWork h1 {
    padding-top: 0;
}

.topHeroImg {
    border: 2px solid #eaeaea;
    margin-top: 10px;
    width: 723px;
}

#accordion {
    width: 728px;
    margin-top: 10px;
}

#accordion .accordionTab {
    margin-top: 5px;
    padding-top: 6px;
    float: left;
    width: 728px;
    overflow: hidden;
    background: url("../img/fieldsOfWork_tab.png") 0 0 no-repeat;
    height: 43px;
}

#accordion .accordionTab h3 {
    margin: 0 7px;
    height: 26px;
    background: url("../img/plus_minus.png") left top no-repeat;
    padding-left: 37px;
    padding-top: 5px;
    font: 18px 'martabold';
    cursor: pointer;
    color: #444;
}

#accordion .accordionTab h3.opened {
    background-position: left bottom;
}

#accordion .accordionTab .accordionContent {
    border: 2px solid #6786b1;
    border-top: 4px solid #6786b1;
    font: 15px 'martaregular';
    padding: 15px 20px;
    margin: 3px 0 0 1px;
    width: 680px;
    display: none;
	text-align:justify;
}

/***************
* Partners
***************/

.namesList {
    margin: 20px 0 0 1px;
    font-family: martabold;
    font-size: 16px;
}

.namesList li {
    float: left;
    margin: 3px 3px 0 0;
    height: 40px;
    width: 359px;
    background: #bebebe;
    border: 1px solid #eaeaea;
}

.namesList li a {
    color: #454545;
}

.namesList li a:hover {
    text-decoration: none;
}

.namesList.fullWidth li {
    width: 725px;
    margin: 3px 0 0 0;
}

.namesList li span {
    display: block;
    height: 25px;
    padding-top: 7px;
    padding-left: 10px;
    margin: 3px;
    border: 1px dashed #999;
}

/*********************
* Contact Us
*********************/

.contactUs .pageContent .columnDiv {
    width: 750px;
    overflow: hidden;
}

.contactUs .pageContent .columnDiv.bottom {
    padding-left: 5px;
    width: 435px;
}


.contactUs .pageContent .columnDiv h2 {
    font: 28px martaregular;
    padding-top: 50px;
    padding-bottom: 8px;
    background: url("../img/heading_bottom_bgr.png") 0 bottom no-repeat;
}

.contactUs .pageContent .columnDiv.bottom h2 {
    padding-top: 20px;
    width: 433px;
}

#contactUsForm {
    margin-top: 20px;
    width: 434px;
    float: left;
    font: 15px 'noto_sansitalic';
    color: #444;

}

#contactUsForm fieldset {
    padding-left: 3px;
}

#contactUsForm label {
    width: 185px;
    margin-bottom: 10px;
    float: left;
    padding-top: 2px;
}

#contactUsForm .fieldWrapper, #contactUsForm .textareaWrapper {
    width: 244px;
    float: left;
    height: 32px;
    background: url("../img/form_fields_sprite.png") center 0 no-repeat;
    margin-bottom: 10px;
}

#contactUsForm .textareaWrapper {
    background-position: center -56px;
    height: 105px;
}

#contactUsForm .buttonWrapper {
    float: right;
    height: 32px;
    padding-left: 8px;
    background: url("../img/form_fields_sprite.png") left -163px no-repeat;
}

#contactUsForm .buttonWrapper:hover {
    background-position: left -198px;
}

#contactUsForm .buttonWrapper input {
    background: url("../img/form_fields_sprite.png") right -232px no-repeat;
    height: 32px;
    padding-right: 18px;
    padding-left: 10px;
    font: 14px 'noto_sansitalic';
    color: #fff;
}

#contactUsForm .buttonWrapper:hover input {
    background-position: right -267px;
}

#contactUsForm input[type=text], #contactUsForm textarea {
    width: 229px;
    padding: 3px 5px 0 7px;
    height: 22px;
    font: 14px 'noto_sansregular';
    background: transparent;
    border: none;
    color: #666;

}

#contactUsForm textarea {
    height: 95px;
    resize: none;
}

#callus {
    width: 436px;
    border: 2px solid #eaeaea;
    overflow: hidden;
    margin-top: 20px;
    float: left;
}

#callus .content {
    background: url("../img/contactus_top_img.jpg") right 0 no-repeat;
    width: 423px;
    border: 6px solid #999;
    height: 238px;
    position: relative;
}

#callus .content .phone, #callus .content .address, #callus .content .email {
    position: absolute;
    left: 12px;
    font: 15px 'noto_sansitalic';
}

#callus .content .phone {
    top: 25px;
    padding-left: 38px;

}

#callus .content .phoneIcon {
    background: url("../img/sprite_sp.png") -364px -40px no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 31px;
    height: 21px;
    display: block;
}

#callus .content .address {
    top: 100px;
    padding-left: 38px;
}

#callus .content .addressIcon {
    background: url("../img/sprite_sp.png") -326px -37px no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 30px;
    display: block;
}


#callus .content .email {
    bottom: 30px;
    padding-left: 38px;
}

#callus .content .emailIcon {
    background: url("../img/sprite_sp.png") -404px -41px no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 30px;
    display: block;
}

#callus .content .email a {
    text-decoration: none;
    color: #444;
}

#callus .content .email a:hover {
    text-decoration: underline;
}

#map_canvas {
    width: 298px;
    height: 246px;
    margin: 21px 0 0 0;
    float: right;
    border: 3px solid #999!important;
}


#contactUsForm .error {
    position: relative;
    margin-bottom: 30px;
    border: 1px solid red;

}

#contactUsForm .textareaWrapper.error {
    margin-bottom: 40px;
}

#contactUsForm .errorTxt {
    color: red;
    margin: 5px 0;
    display: none;
    position: absolute;
    font: 14px 'noto_sansregular';
    bottom: -30px;
}

#contactUsForm .textareaWrapper .errorTxt {
    bottom: -45px;
}

#contactUsForm .error .errorTxt {
    display: block;
    color: red;

}

#contactUsForm p.errorMsg {
    color: red;
    display: none;
}

#contactUsForm p.success {
    color: green;
    display: none;
}

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}


 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.


.clearfix {
    *zoom: 1;
}*/

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
