/*
Theme Name: One State Foundation Theme
Author: Innouveau
*/


/* overall */

* {   
    box-sizing: border-box;   -webkit-box-sizing: border-box;   -moz-box-sizing: border-box;  
}


/* architecture */

html {
    width: 100%;
    height: 100%;   
}

body {
    background: #fff;
    color: #000;
    font-family: 'Verdana';
    width: 100%;
    margin: 0;
    font-size: 11pt;
    line-height: 1.5;
    padding: 12px;
    direction: ltr;
}

/*.rtl {*/
    /*direction: rtl;*/
/*}*/

.pagewrap {
    width: 916px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

#main-bar {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 100px);
}

.inner-side-bar {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    padding: 0 70px 0 0;
    margin-top: 120px;
}

/*body.rtl .inner-side-bar {*/
    /*padding: 0 0 0 100px;*/
/*}*/

.inner-main {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 300px);
}

#side-bar {
    display: inline-block;
    vertical-align: top;
    width: 100px;
    font-size: 16pt;
    padding: 0 0 0 10px;
    font-family: 'Times New Roman';
    text-align: right;
}

/*body.rtl #side-bar {*/
    /*padding: 0 10px 0 0;*/
/*}*/

#header {
    height: 223px;
    width: 100%;
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
    font-family: 'Times New Roman';
    font-size: 16pt;
    direction: ltr;
}

#content {
    width: 100%;
    display: flex;
}

#footer {

}



/* inner-main */

.inner-main h1 {
    margin-top: 40px;
}

.inner-main h1:first-child {
    margin-top: 0;
}




/* identity */

#identity {
    float: left;
    vertical-align: top;
    height: 160px;
    margin-right: 10px;
}

#identity img {

}

#hamburger {
    vertical-align: top;
    padding-top: 87px;
    float: left;
}

#hamburger-icon {
    width: 24px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    display: none;
    z-index: 10001;
}

.burger {
    height: 4px;
    margin-bottom: 3px;
    background: #000;
}

.hamburg-menu-body ul {
    padding: 0;
    margin: 0;
}

.hamburg-menu-body ul li {
    list-style: none;
    display: inline-block;
    margin: 0 15px 0 0;
}

.hamburg-menu-body ul li:last-child {
    margin-right: 0;
}

.hamburg-menu-body ul li a {
    padding: 5px 10px;
    color: #000;
    vertical-align: top;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 16px;
    display: block;
}

.hamburg-menu-body ul li.current-menu-item a,
.hamburg-menu-body ul li:hover a {
    color: #7C9C81
}

.hamburg-menu-header {
    height: 36px;
    overflow: hidden;
}

.hamburg-menu-header img {
    width: 100%;
    height: auto;
    display: inline-block;
}



/* language switch */

#language-switch {
    padding-top: 19px;
}

#menu-languages {
    list-style: none;
}

#menu-languages {
    padding: 0;
}

#menu-languages li a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

#menu-languages li a img {
    display: none;
}

#menu-languages li.current-lang a,
#menu-languages li:hover a {
    color: #7C9C81;
}



/* home */

#home-grid {
    padding-left: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*body.rtl #home-grid {*/
    /*padding-left: 0;*/
    /*padding-right: 60px;*/
/*}*/

.home-grid-item {
    margin-bottom: 12px;
    border: 1px solid #fff;
}

.home-grid-item--circle {
    background-image: url(img/one-state-solution-circle.svg);
}

.home-grid-item.avatar {
    width: 110px;
    height: 110px;
}

.home-grid-item.avatar .avatar-label {
    font-size: 11pt;
}

.home-grid-placeholder {
    height: 0!important;
    padding: 0!important;
    border: 0!important;
    margin: 0!important;
}

.home-grid-item--video {
    position: relative;
}

.home-grid-item--video:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 30px solid #fff;
    left: calc(50% - 9px);
    top: calc(50% - 17px);
}


.home-grid-item--video .avatar-label {
    padding: 70px 0 0 0;
    text-align: center;
    display: none;
}


/* analysis */

.analysis-content table {
    margin-bottom: 20px;
    width: 500px;
}

.analysis-content table tbody th {
    text-align: left;
}

.analysis-content table td, .analysis-content table th{
    background: #ddd;
    padding: 4px;
}



/* avatar */

.avatar {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #ddd;
}

.avatar-label {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 10px 0 40px;
    top: 0;
    color: #fff;
    text-decoration: none;
    font-size: 16pt;
    line-height: 1.2;
    font-family: 'Times New Roman';
    font-weight: 700;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* page */

#content h1 {
    font-size: 16pt;
    font-weight: 700;
}

.content-intro a {
    color: #000;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid #000;
}

.content-intro a:before {
    content: '\25B6';
    font-size: 11px;
    padding-right: 4px;
}

.osf-indent {
    margin-left: 300px;
}



/* founder */

.members-type-header {
    margin-left: 300px;
    margin-bottom: 30px;
    font-weight: 700;
}

.person-item {
    margin-bottom: 20px;
    clear: both;
}

.person-item:last-child .person-item-footer {
    border-bottom: 0;
}

.person-item-image {
    width: 300px;
    float: left;
    text-align: right;
    padding-right: 20px;
}

.person-item-text {
    width: calc(100% - 300px);
    float: left;
    padding: 20px 0;
}

.person-item-head h4 {
    margin: 0 4px 0 0;
    font-family: 'Times New Roman';
    display: inline-block;
    font-size: 16pt;
    font-weight: 400;
}

.person-item-head h5 {
    margin: 0;
    display: inline-block;
    font-size: 11pt;
    font-weight: 700;
}

.person-item-footer {
    margin-left: 300px;
    border-bottom: 1px solid #000;
    clear: both;
}



/* testimonial */

.testimonial-item {
    font-weight: 700;
    font-style: italic;
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: right;
}

.testimonial-item h4 {
    font-weight: 700;
    font-size: 10pt;
    display: inline-block;
    width: 156px;
    text-align: center;
    font-style: normal;
    margin-top: 4px;
}

.testimonial-person {
    margin-top: 10px;
    text-align: right;
}



/* news */

.news-item {
    border-top: 1px solid #000;
    padding: 8px 4px;
    margin-top: 30px;
}

.news-item-date {
    font-size: 10pt;
    font-weight: 700;
}

.news-item h2 {
    font-size: 16pt;
    line-height: 1.1;
    margin: 2px 0 6px 0;
}



/* inner main */

.inner-main-intro {
    font-family: 'Times New Roman';
    font-size: 16pt;
}

.inner-main-intro h1 {
    font-family: 'Verdana';
}

.inner-main--contact h2 {
    font-family: 'Verdana';
    font-size: 16pt;
    font-weight: 400;
}



/* books */

.videos-intro,
.books-intro {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.inset {
    padding: 0 0 0 300px;
}

.book-category {
    margin-bottom: 20px;
}

.book-category-title {
    font-size: 16pt;
    margin-bottom: 5px;
}

.book-category-description {
    margin-bottom: 20px;
}

.book-category-divider {
    border-bottom: 1px solid #000;
}

.book-category:last-child .book-category-divider {
    border-bottom: 0;
}

.book-item {
    margin-bottom: 20px;
}

.book-item-image {
    display: inline-block;
    width: 300px;
    vertical-align: top;
    padding: 0 20px 0 0;
    text-align: right;
}


.book-item-image img {
    display: inline-block;
    width: 180px;
    height: auto;
}

.book-item-text {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 300px);
    max-width: 500px;
}

.book-item a {
    color: #009FE3;
}

.book-item-writer {
    font-size: 16pt;
    font-family: 'Times New Roman';
    font-weight: 700;
    display: inline-block;
}

.book-item-title {
    font-size: 16pt;
    font-family: 'Times New Roman';
    display: inline-block;
}

.book-item-translation {
    font-size: 10pt;
    display: inline-block;
}



/* videos */

.video {
    margin-bottom: 20px;
}

.video-title {
    font-size: 16pt;
    font-family: 'Times New Roman';
    font-weight: 700;
}

.video-description {

}

.video-container {

}


/* form */

form input[type=text],
form input[type=email],
form textarea {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 5px;
    font-family: 'Verdana';
    font-size: 12pt;
    background: #fff;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    outline: none;
}

form input[type=text]:focus,
form textarea:focus,
form input[type=email]:focus {
    border: 1px solid #009FE3;
}

form textarea {
    resize: none;
}

.form-submit-container {
    margin-top: 40px;
    text-align: center;
}

form input[type=submit] {
    background: #009FE3;
    border-radius: 4px;
    padding: 8px 100px;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: 'Times New Roman';
    font-weight: 700;
    font-size: 16px;
}

.page-template-template--engage input[type=email] {
    width: 100%;
}

.page-template-template--poll form input[type=submit] {
    background: #DD9059;
}

.page-template-template--engage form input[type=submit] {
    background: #ADC90E;
}

.form-group {
    overflow: auto;
}


/* footer */

#footer {
    padding-top: 30px;
    border-top: 1px solid #000;
    margin-top: 30px;
}



/* donation */

.donation-set {
    margin-bottom: 24px;
}

.donation-label {
    font-size: 16pt;
    margin-bottom: 4px;
}

.donation-option {
    display: inline-block;
    margin-right: 4px;
}

#donation-form input[type=text],
#donation-form input[type=number] {
    border-radius: 4px;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    border: 1px solid #aaa;
    padding: 5px;
}

.donation-row {
    margin-bottom: 4px;
}

.donation-row label {
    display: inline-block;
    margin-right: 10px;
    width: 150px;
}


.donation-row input {
    display: inline-block;
    width: 200px;
}

.donate-proceed {
    background: #009FE3;
    border-radius: 4px;
    padding: 8px 100px;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: 'Times New Roman';
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}


/* individual voices */

.individual-voice {
    margin-bottom: 20px;
    display: flex;
}

.individual-voice .avatar {
    margin-right: 20px;
}

.individual-voice-quote {
    width: calc(100% - 176px);
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
}




/* screen sizes */


@media (max-width: 1164px) {

    .pagewrap {
        width: 100%;
        margin: 0;
    }


}


@media (max-width: 767px) {

    /* architecture */

    #main-bar {
        display: block;
        width: 100%;
    }

    #side-bar {
        position: absolute;
        right: 20px;
        top: 40px;
        z-index: 1;
    }

    #header {
        height: 210px;
    }

    #identity {
        overflow: hidden;
        width: 100%;
        height: 190px;
    }

    #home-grid {
        padding-left: 0;
    }

    .home-grid-item.avatar {
        width: 150px;
        height: 150px;
    }

    .inset {
        padding: 0;
    }

    .inner-side-bar {
        display: none;
    }

    .inner-main {
        display: block;
        width: 100%;
    }

    .osf-indent {
        margin-left:0;
    }


    /* side menu */

    #language-switch {
        padding-top: 0;
    }



    /* menu */

    #hamburg {
        position: absolute;
        right: 0;
        top: 0;
        width: 65px;;
        cursor: pointer;
    }

    #hamburger-icon {
        display: block;
    }

    .hamburg-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1000;
        margin: 0;
        width: 100%;
    }
    .hamburg-menu-body {
        border: #ddd;
        background: #fff;
        box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        padding-top: 40px;
    }

    .hamburg-menu-body ul li {
        display: block;
        margin: 0;
        border-top: 1px solid #ddd;
    }

    .hamburg-menu-body ul li a {
        display: block;
        padding: 10px 0;
        text-align: center;
    }



    /* person item */

    .person-item-image,
    .person-item-text {
        width: 100%;
        float: none;
        text-align: left;
        padding: 0;
    }

    .person-item-footer {
        margin: 0;
    }

    .members-type-header {
        margin: 0 0 40px 0;
    }


    /* books */

    .book-item-image,
    .book-item-text {
        width: 100%;
        float: none;
        text-align: left;
        padding: 0;
    }


}


