/*! 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
   ========================================================================== */

a {
    transition: all 0.5s ease;
}

a:focus {
    outline: none;
}

html, body {
    font-family: 'Libre Baskerville', serif;
}

body {
    margin-left: 38px;
    margin-top: 38px;
    /*min-width: 1024px;*/
    min-width: 1410px;
    overflow-x: hidden;
}

header {
    position: relative;
    float: left;
    width: 100%;
    height: 150px;
}

#logo {
    display: block;
    position: relative;
    float: left;
    width: 112px;
    height: 112px;
    margin-right: 38px;
    background: url(../img/logo.png) no-repeat center;
}

header h1 {
    display: block;
    position: relative;
    float: left;
    color: #000000;
    font-size: 32px;
    margin: 0;
    padding: 0;
    line-height: 26px;
    font-weight: normal;
}

header h1.main {
    color: #B1B3B5;
}

main {
    position: absolute;
    top: 188px;
    left: 188px;
    width: auto;
    overflow: hidden;
    /*padding-bottom: 300px;*/
}

nav.nav {
    position: absolute;
    /*float: left;*/
    top: 188px;
    left: 38px;
    width: 112px;
    /*margin-right: 38px;*/
    z-index: 4;
}

nav.nav ul {
    position: relative;
    display: block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: -2px;
}

nav.nav ul li {
    position: relative;
}

nav.nav ul li a {
    display: block;
    position: relative;
    float: left;
    width: 100%;
    line-height: 17px;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    margin-bottom: 10px;
}

nav.nav ul.mainpage li a {
    color: #000000;
}

nav.nav ul li a:hover {
    width: 100px;
    padding-left: 12px;
    text-align: left;
    text-decoration: none;
}

nav.nav ul li a.active {
    text-align: right;
    color: #000000;
    text-decoration: underline;
}

nav.nav ul.mainpage li a.active {
    width: 100px;
    padding-left: 12px;
    text-align: left;
    text-decoration: none;
}


#img {
    position: absolute;
    top: 188px;
    right: 0;
    width: auto;
    /*height: 816px;*/
    overflow: hidden;
}

#img img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    /*height: 816px;*/
}


footer {
    position: absolute;
    left: 38px;
    right: 38px;
    top: 0;
    width: auto;
    height: 112px;
    background: #231F20;
    z-index: 100;
}

#copyright {
    position: relative;
    margin-left: 150px;
    font-family: Verdana;
    font-size: 12px;
    color: #BDBFC1;
    line-height: 30px;
}

#copyright a {
    font-family: Verdana;
    font-size: 12px;
    color: #BDBFC1;
    text-decoration: none;
}

#copyright a:hover {
    color: #FFFFFF;
}

#social {
    position: relative;
    float: left;
    width: 100%;
    margin-top: 40px;
}

#social a {
    display: block;
    position: relative;
    float: left;
    width: 22px;
    height: 22px;
    margin-right: 12px;
}

#social a.fb {
    background: url(../img/fb.png) no-repeat left center;
}

#social a.fb:hover {
    background: url(../img/fb.gif) no-repeat left center;
}

#social a.twitter {
    background: url(../img/twitter.png) no-repeat left center;
}

#social a.twitter:hover {
    background: url(../img/twitter.gif) no-repeat left center;
}

/*PROFILE*/
#profile {
    position: relative;
    float: left;
}

.james_hill {
    position: relative;
    float: left;
    width: 188px;
    height: 188px;
    background: url(../img/JamesHill.png) no-repeat 38px 38px;
}


.about {
    position: relative;
    float: left;
    width: 370px;
    padding-right: 6px;
}

.about p {
    font-size: 13px;
    line-height: 21px;
    color: #231F20;
    text-indent: 38px;
    margin: 0;
    padding: 0;
}

.about p.profile {
    font-size: 19px;
    line-height: 26px;
    color: #808184;
    margin-bottom: 18px;
    margin-top: -4px;
    text-indent: 0;
}


/*Galleries*/
header h1 span {
    margin-left: 33px;
    border-left: 1px solid #B3B3B3;
    padding-left: 10px;
    color: #B3B3B3;
}

header nav {
    position: absolute;
    bottom: 38px;
    left: 150px;
    width: auto;
    height: 7px;
}

header nav a {
    display: block;
    position: relative;
    float: left;
    font-family: Verdana;
    font-size: 11px;
    line-height: 7px;
    color: #808184;
    text-decoration: none;
    letter-spacing: 1px;
}

header nav a:hover {
    color: #231F20;
}

header nav a.active {
    color: #231F20;
    text-decoration: underline;
}

header nav a.thumbs {
    margin-left: 80px;
    margin-right: 10px;
}

#gal {
    position: relative;
    float: left;
    width: auto;
    z-index: 1;
}

#gal .cover {
    display: block;
    position: relative;
    float: left;
    width: 282px;
    height: 282px;
    border: 1px solid #FFFFFF;
}

#gal .cover:hover {
    border: 1px solid #B3B3B3;
}

#gal .cover img {
    display: block;
    position: relative;    
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0 auto;
}

#gal .cover .descr {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 273px;
    padding-left: 9px;
    line-height: 23px;
    height: 46px;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #231F20;
    font-size: 16px;
    text-align: left;
    text-decoration: none;
    background: #ffffff;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
    z-index: 2;
}

/*@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (-webkit-min-device-pixel-ratio: 1){
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) 
and (-webkit-min-device-pixel-ratio: 1) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1)  {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 1) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}

@media only screen and (max-width: 760px) {
    #gal .cover .descr {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 273px;
        padding-left: 9px;
        line-height: 23px;
        height: 46px;
        padding-top: 7px;
        padding-bottom: 7px;
        color: #231F20;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
        background: #ffffff;
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        -khtml-opacity: 0.8;
        opacity: 0.8;
        z-index: 2;
    }
}*/


#gal .cover:hover .descr {
    visibility: visible;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    /* IE 5-7 */
    filter: alpha(opacity=80);
    /* Netscape */
    -moz-opacity: 0.8;
    /* Safari 1.x */
    -khtml-opacity: 0.8;
    /* Good browsers */
    opacity: 0.8;
}
/*gallery*/

header h1.active_gallery {
    color: #B3B3B3;
}

header h1.active_gallery a {
    color: #B3B3B3;
    text-decoration: none;
}

header h1.active_gallery span {
    color: #000000;
    padding-right: 20px;
    /*border-right: 1px solid #B3B3B3;*/
}

header h1.active_gallery span.clickable {
    cursor: pointer;
}

header h1.active_gallery span.clickable:hover {
    text-decoration: none;
}

header p {
    display: block;
    position: relative;
    float: left;
    clear: none;
    /*position: absolute;
    left: 881px;*/
    width: 470px;
    margin: 0;
    padding: 0;
    /*padding-left: 20px;
    border-left: 1px solid #B3B3B3;*/
    margin-left: 10px;
    margin-top: -5px;
    line-height: 21px;
    font-size: 13px;
    color: #000000;
}

#img_gal {
    position: relative;
    float: left;
    width: auto;
    height: 0;
    opacity: 0;
    z-index: 12;
}

#img_gal img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 816px;
    z-index: 1;
}

.left, .right {
    display: block;
    position: absolute;
    top: 0;
    width: 50%;
    height: 816px;
    z-index: 2;
    background-image: none;
    background-position: center;
    transition: all 0.5s;
}

.left {
    left: 0;

}

.left:hover {
    /*background: url(../img/left.png) no-repeat left center;*/ 
    cursor: url('../img/left_cur.png'), pointer;
}

.right {
    right: 0;

}

.right:hover {
    /*background: url(../img/right.png) no-repeat right center;*/
    cursor: url('../img/right_cur.png'), pointer;
}

.copy {
    display: block;
    position: relative;
    float: left;
    /*clear: both;*/
    /*bottom: 0;*/
    /*margin-left: 376px;*/
    margin-left: 106px;
    margin-top: -4px;
    /*margin-top: -76px;*/
    width: auto;
    height: 38px;
    font-size: 11px;
    /*line-height: 38px;*/
    line-height: 15px;
    color: #808184;
    font-family: Verdana;
    text-align: center;
    text-decoration: none;
    z-index: 15;
    padding-left: 20px;
    background: none;
}



.copied {
    color: #231f20;
    background: url(../img/copied.png) no-repeat 0px 0px;
    /*display: block;
    position: absolute;
    left: 362px;
    width: 210px;
    height: 38px;
    font-size: 14px;
    line-height: 38px;
    padding: 0;
    color: #C1C3C5;
    background: #FFFFFF;
    font-family: Verdana;
    text-align: center;
    z-index: 15;
    text-decoration: none;
    opacity: 0;*/
}

.fb_gal {
    /*display: block;*/
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    height: 38px;
    font-size: 11px;
    line-height: 38px;    
    color: #231f20;
    font-family: Verdana;
    text-decoration: none;
    z-index: 15;
}

/*#img_gal:hover .copy {
    visibility: visible;
}*/

/*books*/

#shelf {
    position: relative;
    float: left;
    width: auto;
}

.books {
    display: block;
    position: relative;
    float: left;
    width: 188px;
    text-decoration: none;
}

.books:hover {
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    /* IE 5-7 */
    filter: alpha(opacity=80);
    /* Netscape */
    -moz-opacity: 0.8;
    /* Safari 1.x */
    -khtml-opacity: 0.8;
    /* Good browsers */
    opacity: 0.8;
}

.books .bookcover {
    position: relative;
    float: left;
    width: 188px;
    height: 186px;
    background-position: left 2px;
    background-repeat: no-repeat;
}

.books p {
    font-size: 13px;
    line-height: 21px;
    color: #231F20;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

.books p.bookname {
    font-size: 16px;
    line-height: 23px;
    color: #808184;
    margin: 0;
    text-transform: uppercase;
}

/*book*/
header div.active_book {
    display: block;
    position: relative;
    float: left;     
    width: 187px;
    height: 112px;
}

header div.active_book h1 {
    display: block;
    position: relative;
    float: left;
    color: #B3B3B3;
    width: 177px;
    font-size: 32px;
    margin-right: 8px;
    border-right: 1px solid #B3B3B3;
    line-height: 26px;   
    height: 32px;
    margin-bottom: 24px;
}

header div.active_book h1 a {
    text-decoration: none;
    color: #B3B3B3;
}

header h1.active_bookname {
    display: block;
    position: relative;
    float: left;
    color: #000000;
    padding-right: 20px;
    font-size: 32px;
}



header h1.active_bookname span {
    display: block;
    font-size: 13px;
    color: #231F20;
    border: none;
    margin: 0;
    padding: 0;
    margin-top: 14px;
}

header div.active_book div.other_books {
    position: relative;
    float: left;
    clear: both;
    width: 188px;
    height: 48px;
    padding-top: 8px;
}

header div.active_book div.other_books a {
    display: block;
    position: relative;
    float: left;
    margin-right: 14px;
}

.qtip-plain {
    border: none;
    text-transform: capitalize;
    background: #E6E6E6;
    font-family: Verdana;
    font-size: 12px;
    color: #231F20;
    margin-top: 6px;
}

#book {
    position: relative;
    float: left;
}

#book_cover {
    position: relative;
    float: left;
    width: 282px;
    height: 282px;
    background-position: 1px 1px;
    background-repeat: no-repeat;
}

#book_img {
    position: relative;
    float: left;
    width: auto;
    height: auto;
    overflow: hidden;
}

#book_img #pages {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
}

#book_img #pages img {
    display: block;
    position: relative;
    float: left;
    clear: both;
}

/*exhibition*/

#exhibitions {
    position: relative;
    float: left;
    width: 551px;
    padding-right: 13px;
}

.exh_year {
    font-size: 13px;
    color: #231F20;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.exh_name {
    font-size: 16px;
    line-height: 26px;
    color: #231F20;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    padding-left: 38px;
    letter-spacing: 1px;
    margin-top: 8px;
}

.exh_year + .exh_name {
    margin-top: 0;
}

.exh_place {
    font-size: 13px;
    color: #231F20;
    margin: 0;
    padding: 0;
    font-style: italic;
    padding-left: 38px;
    line-height: 21px;
    margin-top: -1px;
}

.exh_support {
    font-size: 13px;
    color: #666666;
    margin: 0;
    padding: 0;
    padding-left: 38px;
}

.mb8 {
    margin-bottom: 8px
}

/*prints*/

#prints {
    position: relative;
    float: left;
    width: 363px;
    padding-right: 13px;
}

#prints p {
    font-size: 13px;
    font-weight: normal;
    color: #231F20;
    margin-top: 20px;
    line-height: 21px;
    font-family: 'Libre Baskerville';
}

#prints p b {
    font-weight: 700;
}

#prints p a {
    color: #237DA6;
    text-decoration: underline;
}

#prints p.announce {
    font-size: 19px;
    line-height: 26px;
    color: #808184;
    margin: 0;
    padding: 0;

}

/*contacts*/
#contacts {
    position: relative;
    float: left;
    width: 551px;
    padding-right: 13px;
}



#contacts p {
    font-size: 13px;
    line-height: 21px;
    color: #231F20;
    margin: 0;
    padding: 0;
}

#contacts p.info {
    padding-left: 38px;
}

#contacts p a {
    color: #237DA6;
    text-decoration: underline;
}

#contacts p.contacts_type {
    font-size: 13px;
    color: #231F20;
    margin: 0;
    padding: 0;
    font-weight: bold;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
#contacts div.block {
    position: relative;
    float: left;    
    clear: both;
    width: 100%;
}
#contacts div.country {
    position: relative;
    float: left;    
    clear: both;
    font-size: 13px;
    line-height: 21px;
    text-transform: uppercase;
    color: #666666;
    width: 108px;
    letter-spacing: 0.1em;
}

#contacts p.country {
    font-size: 13px;
    line-height: 21px;
    text-transform: uppercase;
    color: #666666;
    letter-spacing: 0.1em;
}

#contacts div.countrytel  {
    position: relative;
    float: left;
    width: 200px;
    font-size: 13px;
    color: #231F20;
    text-transform: none;
}

#contacts p span.italic {
    font-size: 20px;
    font-style: italic;
}

#contacts p.mb28, #contacts div.mb28 {
    margin-bottom: 28px;
}

/*corporate*/
#corporate {
    position: relative;
    float: left;
    width: 942px;
}

#corporate p {
    font-size: 13px;
    color: #231F20;
    text-indent: 38px;
    line-height: 21px;
    margin: 0;
    padding: 0;
    width: 356px;
    height: 188px;
}

.image_line {
    position: relative;
    float: left;
    width: 100%;
    height: 188px;
}

.image_line img {
    display: block;
    position: relative;
    float: left;
    height: 188px;
    margin: 0;
    padding: 0;
    border: none;
}

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