/*
     Table of Contents

    01. Settings ----------------------------------
    02. Sprite ------------------------------------
    03. Generic -----------------------------------
    04. Base --------------------------------------
         Small Desktop ----------------------------
         Mobile -----------------------------------
    05. Fonts -------------------------------------
    06. Helpers -----------------------------------
         Clear ------------------------------------
         Notext -----------------------------------
         Hidden -----------------------------------
         Alignleft --------------------------------
         Alignright -------------------------------
         Disabled ---------------------------------
         Grid -------------------------------------
         Responsive Helpers -----------------------
    07. Reset -------------------------------------
    08. Regions -----------------------------------
    09. Container ---------------------------------
    10. Content -----------------------------------
    11. Footer ------------------------------------
    12. Header ------------------------------------
    13. Main --------------------------------------
    14. Shell -------------------------------------
    15. Sidebar -----------------------------------
    16. Wrapper -----------------------------------
    17. Modules -----------------------------------
    18. Article -----------------------------------
         Small Desktop ----------------------------
         Mobile -----------------------------------
    19. Article Small -----------------------------
         Mobile -----------------------------------
    20. Button ------------------------------------
         Button Block -----------------------------
    21. Form Elements -----------------------------
    22. Form --------------------------------------
    23. List --------------------------------------
    24. List Books --------------------------------
         Small Desktop ----------------------------
         Tablet Portrait --------------------------
    25. Logo --------------------------------------
    26. Nav ---------------------------------------
         Small Desktop ----------------------------
         Mobile -----------------------------------
         Mobile -----------------------------------
    27. Section Article Small ---------------------
    28. Section About -----------------------------
         Mobile -----------------------------------
    29. Slider ------------------------------------
    30. Socials -----------------------------------
         Small Desktop ----------------------------
         Mobile -----------------------------------
    31. Table -------------------------------------
    32. Video -------------------------------------
    33. Widget ------------------------------------
    34. Themes ------------------------------------
 */

/* ------------------------------------------------------------ *\
     Settings
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Sprite
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Generic
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Base
\* ------------------------------------------------------------ */

body {
    min-width: 320px;
    background: #fff;
    font-family: 'Palatino', 'BookAntiqua', serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

a {
    color: inherit;
    text-decoration: underline;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

a:hover,
a[href^="tel"] {
    text-decoration: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-bottom: 0.75em;
}

h1,
.h1 {
    font-size: 56px;
}

h2,
.h2 {
    font-size: 32px;
}

h3,
.h3 {
    font-size: 20px;
}

h4,
.h4 {
    font-size: 17px;
}

h5,
.h5 {
    font-size: 16px;
}

h6,
.h6 {
    font-size: 14px;
}

p,
ul,
ol,
dl,
hr,
table,
blockquote {
    margin-bottom: 1.5em;
}

h1[class],
.h1[class],
h2[class],
.h2[class],
h3[class],
.h3[class],
h4[class],
.h4[class],
h5[class],
.h5[class],
h6[class],
.h6[class],
h1:last-child,
.h1:last-child,
h2:last-child,
.h2:last-child,
h3:last-child,
.h3:last-child,
h4:last-child,
.h4:last-child,
h5:last-child,
.h5:last-child,
h6:last-child,
.h6:last-child,
p:last-child,
ul:last-child,
ol:last-child,
dl:last-child,
table:last-child,
blockquote:last-child {
    margin-bottom: 0;
}

/* Small Desktop */

@media(max-width: 1280px) {
    h1, .h1 {
        font-size: 40px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    h2, .h2 {
        font-size: 25px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    h1, .h1 {
        font-size: 22px;
        text-align: center;
    }

    h2, .h2 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }
}

/* ------------------------------------------------------------ *\
     Fonts
\* ------------------------------------------------------------ */

@font-face {
    font-family: 'Palatino';
    src: url('../fonts/PalatinoLinotype-Italic.eot');
    src: url('../fonts/PalatinoLinotype-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/src/assets/fonts/PalatinoLinotype-Italic.woff') format('woff'),
        url('../fonts/PalatinoLinotype-Italic.ttf') format('truetype'),
        url('../images/src/assets/fonts/PalatinoLinotype-Italic.svg') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Palatino';
    src: url('../fonts/PalatinoLinotype-Roman.eot');
    src: url('../fonts/PalatinoLinotype-Roman.eot?#iefix') format('embedded-opentype'),
        url('../fonts/src/assets/fonts/PalatinoLinotype-Roman.woff') format('woff'),
        url('../fonts/PalatinoLinotype-Roman.ttf') format('truetype'),
        url('../images/src/assets/fonts/PalatinoLinotype-Roman.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BookAntiqua';
    src: url('../fonts/BookAntiqua.eot');
    src: url('../fonts/BookAntiqua.eot?#iefix') format('embedded-opentype'),
        url('../fonts/src/assets/fonts/BookAntiqua.woff') format('woff'),
        url('../fonts/BookAntiqua.ttf') format('truetype'),
        url('../images/src/assets/fonts/BookAntiqua.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------------------ *\
     Helpers
\* ------------------------------------------------------------ */

/*  Clear  */

.clear:after {
    content: '';
    display: block;
    clear: both;
}

/*  Notext  */

.notext {
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
}

/*  Hidden  */

[hidden],
.hidden {
    display: none !important;
}

/*  Alignleft  */

.alignleft {
    float: left;
}

/*  Alignright  */

.alignright {
    float: right;
}

/*  Disabled  */

[disabled],
.disabled {
    cursor: default;
}

/*  Grid  */

.cols {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.col {
    max-width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
}

.col--1of2 {
    width: 100%;
    max-width: 700px;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 700px;
    flex: 0 1 700px;
}

.col--1of3 {
    max-width: 33%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
}

/*  Responsive Helpers  */

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
    display: none !important;
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }

    .visible-xs-block {
        display: block !important;
    }

    .visible-xs-inline {
        display: inline !important;
    }

    .visible-xs-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hidden-sm {
        display: none !important;
    }

    .visible-sm-block {
        display: block !important;
    }

    .visible-sm-inline {
        display: inline !important;
    }

    .visible-sm-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .hidden-md {
        display: none !important;
    }

    .visible-md-block {
        display: block !important;
    }

    .visible-md-inline {
        display: inline !important;
    }

    .visible-md-inline-block {
        display: inline-block !important;
    }
}

@media (min-width: 1201px) {
    .hidden-lg {
        display: none !important;
    }

    .visible-lg-block {
        display: block !important;
    }

    .visible-lg-inline {
        display: inline !important;
    }

    .visible-lg-inline-block {
        display: inline-block !important;
    }
}

/* ------------------------------------------------------------ *\
     Reset
\* ------------------------------------------------------------ */

* {
    padding: 0;
    margin: 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
main {
    display: block;
}

template {
    display: none;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

img,
iframe,
video,
audio,
object {
    max-width: 100%;
}

img,
iframe {
    border: 0 none;
}

img {
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

b,
strong {
    font-weight: bold;
}

address {
    font-style: normal;
}

svg:not(:root) {
    overflow: hidden;
}

a,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
input[type="image"],
label[for] {
    cursor: pointer;
}

a[href^="tel"],
button[disabled],
input[disabled],
textarea[disabled],
select[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="color"],
textarea,
a[href^="tel"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

button,
select {
    text-transform: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

nav ul,
nav ol {
    list-style: none outside none;
}

/* ------------------------------------------------------------ *\
     Regions
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Container
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Content
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Footer
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Header
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Main
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Shell
\* ------------------------------------------------------------ */

.shell {
    max-width: 1520px;
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
}

.shell--fluid {
    max-width: none;
}

/* ------------------------------------------------------------ *\
     Sidebar
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Wrapper
\* ------------------------------------------------------------ */

.wrapper {
    min-height: 100vh;
    overflow: hidden;
}

/* ------------------------------------------------------------ *\
     Modules
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Article
\* ------------------------------------------------------------ */

.article {
    position: relative;
}

.article blockquote {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 323px;
    flex: 0 1 323px;
    max-width: 323px;
    font-size: 18px;
}

.article~.article {
    border-top: 1px solid #e8e8e8;
}

.article .article__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 15px 0px 5px 0;
}

.article .article__head a {
    text-decoration: none;
}

.article .article__inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* article beside a sub-section heading, to align properly */

.article .article__meta {
    padding: 6px 0;
    font-size: 13px;
}

.article .article__meta span,
.article .article__meta em {
    color: #767676;
}

.article .article__meta strong {
    margin-right: 10px;
    font-family: "Helvetica", sans-serif;
}

.article .article__label {
    margin-left: 1px;
    display: inline-block;
    padding: 0 5px;
    height: 20px;
    background-color: #e00;
    color: #fff;
    line-height: 22px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Helvetica", sans-serif;
    vertical-align: top;
    margin-top: 3px;
}

.article .article__actions {
    padding: 5px 0 8px 0;
}

.article .article__actions .btn~.btn {
    margin-left: 5px;
}

.article .article__blockquote {
    padding-right: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.article .article__blockquote span {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding-top: 15px;
    display: block;
    font-size: 14px;
    font-family: "Helvetica", sans-serif;
}

@media(max-width: 1441px) {
    .article .col {
        padding: 0 15px;
        width: 50%;
    }

    .article~.article {
        border-top: 0;
    }

    .article~.article:before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        background-color: #e8e8e8;
        height: 1px;
        width: 95%;
    }
}

@media(max-width: 1280px) {
    .article .article__inner {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .article .article__inner h3,
    .article .article__inner .h3 {
        font-size: 18px;
    }
}

/* Small Desktop */

@media (max-width: 1200px) {
    .article .article__blockquote blockquote {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 50%;
        flex: 0 1 50%;
        max-width: 50%;
        padding: 0 10px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .article .col {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
    }

    .article .article__inner {
        display: block;
        padding-right: 0;
    }

    .article .article__blockquote {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .article .article__blockquote blockquote {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* ------------------------------------------------------------ *\
     Article Small
\* ------------------------------------------------------------ */

.articles {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.article--small {
    padding: 20px 0;
    max-width: 700px;
    width: 100%;
}

.article--small .article__head {
    display: block;
}

.article--small .article__entry {
    padding-bottom: 15px;
}

.article--small .article__highlight {
    display: inline-block;
    padding-bottom: 15px;
    color: #4e2da9;
    font-weight: bold;
    font-family: "Helvetica", sans-serif;
}

@media(max-width: 1441px) {
    .article--small {
        padding: 0 15px;
        width: 50%;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .article--small {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
    }
}

/* ------------------------------------------------------------ *\
     Button
\* ------------------------------------------------------------ */

.btn {
    display: inline-block;
    min-width: 60px;
    height: 20px;
    padding: 0 6px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 18px;
    border: 2px solid #4267b2;
    color: #4267b2;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    font-weight: bold;
    font-family: "Helvetica", sans-serif;
}

.btn:hover {
    background-color: #4267b2;
    color: #fff;
}

/*  Button Block  */

.btn--block {
    display: block;
    padding-left: 0;
    padding-right: 0;
}

.btn--red {
    border: 2px solid #e00;
    color: #e00;
}

.btn--red:hover {
    background-color: #e00;
    color: #fff;
}

/* ------------------------------------------------------------ *\
     Form Elements
\* ------------------------------------------------------------ */

input::-webkit-input-placeholder {
    color: inherit;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: inherit;
    opacity: 1;
}

input::-ms-input-placeholder {
    color: inherit;
    opacity: 1;
}

input::placeholder {
    color: inherit;
    opacity: 1;
}

textarea::-webkit-input-placeholder {
    color: inherit;
    opacity: 1;
}

textarea:-ms-input-placeholder {
    color: inherit;
    opacity: 1;
}

textarea::-ms-input-placeholder {
    color: inherit;
    opacity: 1;
}

textarea::placeholder {
    color: inherit;
    opacity: 1;
}

input:-webkit-autofill {
    -webkit-text-fill-color: inherit;
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

/* ------------------------------------------------------------ *\
     Form
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     List
\* ------------------------------------------------------------ */

[class^="list-"] {
    list-style: none outside none;
}

/* ------------------------------------------------------------ *\
     List Books
\* ------------------------------------------------------------ */

.list-books {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.list-books li {
    width: 160px;
    display: inline-block;
}

.list-books a {
    display: block;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.list-books a:hover {
    opacity: .8;
}

/* Small Desktop */

@media (max-width: 1200px) {
    .list-books {
        text-align: center;
    }

    .list-books li {
        width: 100%;
    }
}

/* Tablet Portrait */

@media (max-width: 1023px) {

    .list-books {
        padding: 20px 0;
        text-align: center;
    }
}

/*   .list-books img { width: 100%; }*\
}

/* ------------------------------------------------------------ *\
     Logo
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
     Nav
\* ------------------------------------------------------------ */

\
/* ------------------------------------------------------------ *\
     Section
\* ------------------------------------------------------------ */

.section {
    padding: 36px 0;
}

.section .section__head {
    padding: 36px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.section .section__head h1,
.section .section__head .h1 {
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
}

.section .section__head p {
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
    font-family: "Helvetica", sans-serif;
}

.section .section__label {
    position: absolute;
    left: 0;
    top: -30px;
    font-family: "Helvetica", sans-serif;
}

.section .section__label span {
    display: block;
    padding: 0 12px;
    height: 30px;
    background-color: #2b039a;
    line-height: 30px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.section .section__body {
    padding: 43px 0;
    border-top: 3px solid #a6a7a9;
}

.section .link {
    display: inline-block;
    text-decoration: none;
}

.section .link:hover {
    color: #2b039a;
}

@media(max-width: 1441px) {
    .section .col {
        padding: 0 15px;
        max-width: 50%;
        width: 50%;
    }
}

/* Small Desktop */

/* Mobile */

@media (max-width: 767px) {
    .section .col {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .section .section__head {
        padding: 15px 0;
    }

    .section .section__head h1,
    .section .section__head .h1 {
        margin-bottom: 5px;
    }

    .section .section__label {
        left: 0;
        right: 0;
        margin: auto;
    }
}

/* ------------------------------------------------------------ *\
     Section Article Small
\* ------------------------------------------------------------ */

.section--article {
    padding: 30px 0;
}

.section--article .col {
    max-width: 100%;
    width: 100%;
}

.section--article .section__body {
    position: relative;
    padding: 0;
    border-color: #7f26b6;
}

/*.section--article .section__foot { font-family: "Helvetica",sans-serif; }

/* ------------------------------------------------------------ *\
     Section About
\* ------------------------------------------------------------ */

.section--about {
    padding: 30px 0 60px;
    font-family: "Helvetica", sans-serif;
}

.section--about .section__title {
    padding: 30px 0;
}

.section--about .section__entry {
    padding-top: 10px;
}

/* Mobile */

@media (max-width: 767px) {
    .section--about {
        padding: 20px 0;
    }
}

/* ------------------------------------------------------------ *\
     Widget
\* ------------------------------------------------------------ */

.widgets {
    list-style: none outside none;
}

/* ------------------------------------------------------------ *\
     Themes
\* ------------------------------------------------------------ */

.lex {
    width: 320px;
}

.fake-youtube-player {
    position: relative;
}

.fake-youtube-player:before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -34px;
    top: 50%;
    margin-top: -24px;
    background: url(/assets/images/play-button.png);
    background-position: left top;
    background-size: 68px 96px;
    width: 68px;
    height: 48px;
}

.fake-youtube-player:hover:before {
    background-position: left bottom;
}
