/*
publishing.css
*/

sup {
    vertical-align: 40%;
    font-size: 40%;
}

p {
    font-family: "droid-serif", serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 150%;
    max-width: 500px;
    margin: auto;
}

h1 {
    font-family: "azo-sans-web",sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size:75px;
    text-transform:uppercase;
    text-align:center;
}

h2 {
    font-family: "azo-sans-web",sans-serif;
    font-style: normal;
    font-weight: 200;
    line-height: 120%;
    font-size:45px;
    text-transform:uppercase;
}

h3 {
    font-family: "azo-sans-web",sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 32px;
    text-transform:uppercase;
    text-align: center
}

h4 {
    font-family: "etica-display",sans-serif;
    font-style: italic;
    font-weight: 900;
    max-width:750px;
    text-align:center;
    font-size:56px;
    color:#333333;
    text-transform:uppercase;
}

h5 {
    font-family: "lft-etica",sans-serif;
    font-weight: bold;
    font-size: 32px;
}

h5 sup {
    vertical-align: 80%;
    font-weight: normal;
    font-size: 50%;
}

#outer {
    text-align:center;
}

.button {
    font-family: "lft-etica",sans-serif;
    font-style: normal;
    font-weight: 300;
    border-width:1px;
    border-style:solid;
    font-size: 14px;
    padding: 15px 15px;
    text-decoration:none;
    text-transform:uppercase;
    border-radius:12px;
}
.ashes {color:#3a3d44;border-color:#3a3d44;}
.gold {color:#c8c6ad;border-color:#c8c6ad;}
.brown {color:#7c6d58;border-color:#7c6d58;}
.white {color:#ffffff;border-color:#ffffff;}



/* ========================  
Navigation
==========================*/
.nav {
    position:relative;
    text-align:center;
    font-family: "lft-etica", sans-serif;
    font-weight: 100;
    font-size: 14px;
    text-transform: uppercase;
    z-index:99999;
    left:-10px;
}

.nav a {
    position:relative;
    line-height: 150%;
    top:-35px;
    color:#000;
    text-decoration:none;
    padding-left: 15px;
    padding-right: 15px;
}

.nav a.short {
    padding-left: 6px;
    padding-right: 6px;    
}

.nav a.nav-publishing {
    text-decoration:underline;
}

.nav a.nav-home{
    width: 87px;
    height: 87px;
    display: inline-block;
    position: relative;
    background: url(/National_Library/oe_/https://www.saymedia.com/images/common/logo-nav-black.jpg) no-repeat;
    background-size: contain;
    top:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ========================  
Hero box
==========================*/


#pb-hero {
    background: url(/National_Library/oe_/https://www.saymedia.com/images/publishing/PUB_HERO-min.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#pb-hero h1{
    padding-top:140px;
    padding-bottom:170px;
}

#pb-hero img{
    width:212px;
    padding-bottom: 100px;
}

.hero-boxed {
    bottom: 100px;
    background:rgba(200,198,173, 0.9);
    padding-top: 43px;
    padding-bottom: 40px;
}

.hero-boxed p {
    font-size: 18px;
    max-width: 600px;
}

.arrow-container {
    position: relative;
    left:50%;
    width:10px;
    bottom: 40px;
}

.arrow-up {
    position: absolute;
    left:-100px;
    width: 0; 
    height: 0; 
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 40px solid rgba(200,198,173, 0.9);
}


.L-img-left {
    position: relative;
    float: left;
    width:50%;
}

.L-img-left img {
    float: left;
    position:relative;
    width: 100%;
}

.L-img-right {
    position: relative;
    text-align: left;
    float: right;
    width:50%;
}

.L-img-right p, .L-img-right h2, .L-img-right h5{
    margin-left: 20px;
    margin-right: 30px;
}

.R-img-left {
    position: relative;
    text-align: left;
    float: left;
    width:50%;
}

.R-img-right {
    position: relative;
    text-align: left;
    float: right;
    width:50%;
}

.R-img-right img {
    position:relative;
    float: left;
    width: 100%;
}

.R-img-left p, .R-img-left h2, .R-img-left h5{
    margin-left: 20%;
    margin-right: 25px;
}

.learnmore {
    padding-left: 50px; 
    padding-right: 50px;
}

.floatClear {
    clear: both;
}



/* ========================  
innovative box
==========================*/

#pb-innovative {
    margin-top: 120px;
    margin-bottom: 110px;
}

#pb-innovative .L-img-left {
    width:45%;
}

#pb-innovative .L-img-right {
    width:55%;
}

#pb-innovative img {
    max-width: 580px;
}

#pb-innovative h2 {
    padding-top: 20px;
    padding-bottom: 15px;
    padding-left: 30px;
}

#pb-innovative p {
    padding-bottom: 30px;
    padding-left: 30px;
}


/* ========================  
beautiful design box
==========================*/

#pb-beautiful {
    text-align: center;
    background: #c8c6ad;
}

#pb-beautiful img {
    max-width: 615px;
}

#pb-beautiful h2 {
    padding-top: 130px;
    padding-bottom: 10px;
}


/* ========================  
Dependable Tools box
==========================*/

#pb-dependable {
    margin-top: 130px;
    margin-bottom: 130px;
}

#pb-dependable img{
    max-width: 590px;
}

#pb-dependable h2{
    margin-bottom: 20px;
}

#pb-dependable p{
    padding-bottom: 40px;
}

/* ========================  
native display
==========================*/
#pb-yield {
    background: #c8c6ad;
    margin-top: 70px;
    margin-bottom: 130px;
    min-height: 450px;
}

#pb-yield h2 {
    padding-top: 100px;
    padding-bottom: 20px;
}

#pb-yield p {
    padding-bottom: 30px;
}

#pb-yield img {
    max-width: 615px;
}


/* ========================  
Tempest Partners
==========================*/
#pb-partners {
    padding-bottom: 100px;
}

#pb-partners h1 {
    font-size: 60px;
    padding-bottom: 70px;
}

#pb-partners img {
    width:80%;
    max-width: 1001px;
    padding-bottom: 60px;
}

#pb-partners .button {
    font-size: 17px;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 18px;
    padding-bottom: 18px;
}


/* ========================  
half story
==========================*/
#pb-half {
    margin-top: 50px;
    margin-bottom: 170px;
}

#pb-half h1{
    font-size: 60px;
    line-height: 120%;
    padding-bottom: 50px;
}

#pb-half .button {
    font-size: 17px;
    padding-left: 37px;
    padding-right: 37px;
    padding-top: 18px;
    padding-bottom: 18px;
}



#footer { 
    text-align:center; 
    line-height: 0 
}
.footer-legal {
    padding:50px 0;
    font-family: "droid-serif",serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color:#000;
}
.footer-legal a {
    color:#000;
    text-decoration:none;
}


@media (max-width:980px) {



    /* ========================  
    medium hero box
    ==========================*/

    .hero-boxed p {
        margin-left: 10%;
        margin-right: 10%;        
        max-width: none;
    }

    /* ========================  
    left right column
    ==========================*/

    .L-img-left {
        padding:0px;
        position: relative;
        width:100%;
    }

    .L-img-right {
        position: relative;
        text-align: center;
        float: right;
        width:100%;
    }

    #pb-innovative .L-img-left, #pb-innovative .L-img-right {
        width:100%;
    }

    .L-img-left img {
        float: none;
        position:relative;
        padding:0px;
    }

    .L-img-right p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .R-img-left p, .R-img-left h2, .R-img-left h5{
        margin-left: 10%;
        margin-right: 10%;
    }

    .R-img-right {
        position: relative;
        text-align: center;
        float: right;
        width:100%;
    }    

    .R-img-left {
        padding-top: 20px;
        position: relative;
        text-align: center;
        float: left;
        width:100%;
    }

    .R-img-right img {
        position:relative;
        width: 100%;
    }

    /* ========================  
    Innovative box
    ==========================*/

    #pb-innovative {
        margin-top: 70px;
        margin-bottom: 35px;
    }

    #pb-innovative h2 {
        padding-top: 50px;
        padding-left: 0px;
    }  

    #pb-innovative p {
        max-width: none;
        padding-left: 0px;
    }

    #pb-innovative img {
        max-width: none;
    }

    /* ========================  
    beautiful design box
    ==========================*/

    #pb-beautiful {
        padding-bottom: 75px;
    }

    #pb-beautiful img {
        max-width: none;
    }

    #pb-beautiful p {
        max-width: none;
    }

    #pb-beautiful h2 {
        padding-top: 50px;
    }

    /* ========================  
    Dependable tools
    ==========================*/

    #pb-dependable {
        margin-top: 70px;
        margin-bottom: 45px;
    }

    #pb-dependable img {
        max-width: none;
    }
    #pb-dependable p {
        max-width: none;
    }
    #pb-dependable h2 {
        margin-top: 65px;
        margin-bottom: 20px;
    }

    /* ========================  
    native display
    ==========================*/
    #pb-yield {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-bottom: 35px;
    }

    #pb-yield h2 {
        padding-top: 40px;
        padding-bottom: 16px;
    }

    #pb-yield p {
        max-width: none;
    }

    #pb-yield img {
        max-width: none;
    }

    /* ========================  
    Tempest Partners
    ==========================*/

    #pb-partners {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    #pb-partners h1 {
        font-size: 50px;
        padding-bottom: 70px;
    }


    /* ========================  
    half story 
    ==========================*/
    #pb-half h1{
        font-size: 50px;
        padding-bottom: 50px;
        margin-right: 15px;
        margin-left: 15px;
    }

    #pb-half {
        margin-top: -100px;
        margin-bottom: 130px;
    }

}



@media (max-width:600px) {


    .nav {
        text-align:center;
        font-family: "lft-etica", sans-serif;
        font-weight: 600;
        font-size: 10px;
        text-transform: uppercase;
        height: 0;
        z-index:99999;
        position:relative;
    }

    .nav a {
        color:#000;
        text-decoration:none;
        position:relative;
        top:-20px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .nav a.short {
        padding-left: 2px;
        padding-right: 2px;    
    }

    .nav a.nav-home{
        width: 50px;
        height: 50px;
        display: inline-block;
        position: relative;
        background: url(/National_Library/oe_/https://www.saymedia.com/images/common/logo-nav-black.jpg) no-repeat;
        background-size: contain;
    }


    p {
        font-family: "droid-serif", serif;
        font-weight: 100;
        font-size: 16px;
        line-height: 140%;
        margin: auto;
        margin-bottom: 35px;
    }

    h1 {
        font-size:40px;
    }

    h2 {
        line-height: 120%;
        font-size:34px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size:34px;
    }

    h5 {
        font-size: 30px;
    }

    h5 sup {
        vertical-align: 80%;
        font-weight: normal;
        font-size: 50%;
    }


    #pb-hero h1{
        padding-top:170px;
        padding-bottom:120px;
    }

    #pb-hero img {
        width:120px;
        padding-bottom: 120px;
    }

    .hero-boxed p {
        font-size: 18px;
        margin-bottom: 0px;
    }

    /* ========================  
    innovative box small setting
    ==========================*/ 
    #pb-innovative {
        min-height: 393px;
        margin-top: 45px;
        margin-bottom: 25px;        

    }
       
    #pb-innovative h2 {
        padding-top: 50px;
        padding-bottom: 10px;
    }

    #pb-innovative p {
        padding-bottom: 10px;    
    }

    /* ========================  
    dependable box small setting
    ==========================*/ 

    #pb-beautiful {
        padding-bottom: 35px;
    }

    #pb-beautiful img {
        max-width: none;
    }

    #pb-beautiful h2 {
        padding-top: 50px;
    }


    /* ========================  
    dependable box small setting
    ==========================*/ 
    #pb-dependable {
        margin-top: 70px;
    }
    
    #pb-dependable h2 {
        margin-top: 45px;
        margin-bottom: 20px;
    }

    #pb-dependable p {
        padding-bottom: 10px;
    }

    /* ========================  
    dependable box small setting
    ==========================*/ 

    #pb-yield {
        padding-bottom: 20px;
    }

    #pb-yield h2 {
        padding-top: 40px;
        padding-bottom: 16px;
    }

    #pb-yield p {
        max-width: none;
        padding-bottom: 10px;
    }

    /* ========================  
    Interested
    ==========================*/

    #pb-tempest h1 {
        font-size: 36px;
    }
    #pb-tempest .button {
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 18px;
        padding-bottom: 18px;
    }    

    /* ========================  
    half box
    ==========================*/

    #pb-half h1{
        font-size: 36px;
    }

    #pb-half .button {
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 18px;
        padding-bottom: 18px;
    }    

    /* ========================  
    Tempest Partners
    ==========================*/

    #pb-partners h1 {
        font-size: 36px;
    }

    #pb-partners .button {
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 18px;
        padding-bottom: 18px;
    }



}








