/*
Theme Name: OPT Media
Theme URI: https://optimedia.vn
Author: OPT Media
Author URI: https://optimedia.vn
Description: Faster Than Flash
Version: 1.0.0
*/

/*======================================
[ Font Face ]
======================================*/
@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeue.eot');
    src: url('./fonts/HelveticaNeue.eot?#iefix') format('embedded-opentype'),
        url('./fonts/HelveticaNeue.woff2') format('woff2'),
        url('./fonts/HelveticaNeue.woff') format('woff'),
        url('./fonts/HelveticaNeue.ttf') format('truetype'),
        url('./fonts/HelveticaNeue.svg#HelveticaNeue') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeue-Medium.eot');
    src: url('./fonts/HelveticaNeue-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/HelveticaNeue-Medium.woff2') format('woff2'),
        url('./fonts/HelveticaNeue-Medium.woff') format('woff'),
        url('./fonts/HelveticaNeue-Medium.ttf') format('truetype'),
        url('./fonts/HelveticaNeue-Medium.svg#HelveticaNeue-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeue-Bold.eot');
    src: url('./fonts/HelveticaNeue-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/HelveticaNeue-Bold.woff2') format('woff2'),
        url('./fonts/HelveticaNeue-Bold.woff') format('woff'),
        url('./fonts/HelveticaNeue-Bold.ttf') format('truetype'),
        url('./fonts/HelveticaNeue-Bold.svg#HelveticaNeue-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/*======================================
[ Base ]
======================================*/
body {
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
}
/*======================================
[ Typography ]
======================================*/
a {
    color: #6D00F5;
    outline: 0;
    text-decoration: none;
}
a:hover {
    color: #5C00CC;
}
a:focus {
    outline: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h1 {
    font-size: 26px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 16px;
}
/*======================================
[ Header ]
======================================*/
.site-header {
    position: relative;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.navbar {
    padding: 0;
}
.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 1.125rem 1rem;
    color: #000;
}
.navbar-nav .nav-link:hover, .navbar-nav li.active .nav-link {
    color: #6D00F5;;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
.dropdown-menu {
    border: 0;
    border-radius: 5px;
    padding: 0;
    box-shadow: 0 0.4rem 2.2rem 0 rgba(27, 30, 36, 0.1);
    border-top: 2px solid #6D00F5;
}
.dropdown-item {
    font-size: 15px;
    color: #000;
    padding: 0.5rem 1rem;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #6D00F5;
    background-color: transparent;
}
/*======================================
[ Search box ]
======================================*/
.header-search {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #fff;
    z-index: 2;
}
.search-box {
    display: flex;
    align-items: center;
    height: 60px;
}
.search-box .search-form {
    position: relative;
    flex: 1;
}
.search-box .form-control {
    font-size: 15px;
    color: #000;
    border: 0;
    padding: 0;
    border-radius: 0;
    height: 36px;
}
/*======================================
[ Vertical Menu ]
======================================*/
.offcanvas-start {
    width: 300px;
    border: 0;
}
.offcanvas-body {
    padding: 30px;
}
.canvas-menu .vertical-menu {
    padding: 0;
    margin-bottom: 0;
}
.canvas-menu .vertical-menu li {
    position: relative;
    list-style: none;
}
.canvas-menu .vertical-menu li:after {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
    background: #EBEBEB;
}
.canvas-menu .vertical-menu li:last-child:after {
    content: "";
    display: none;
}
.canvas-menu .vertical-menu li a {
    color: #000;
    font-size: 16px;
}
.canvas-menu .vertical-menu li a:hover, .canvas-menu .vertical-menu li.current-menu-item a {
    color: #6D00F5;
}
.canvas-menu .vertical-menu li .switch {
    border: solid 1px #EBEBEB;
    border-radius: 5px;
    font-size: 12px;
    display: inline-block;
    padding: 8px;
    line-height: 1;
    cursor: pointer;
    color: #6D00F5;
    position: absolute;
    top: -3px;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-backface-visibility: hidden;
}
.canvas-menu .vertical-menu li.openmenu .switch {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.canvas-menu .sub-menu {
    display: none;
    padding: 10px 20px 0;
}
.canvas-menu .sub-menu li {
    padding: 5px 0;
}
.canvas-menu .sub-menu li:after {
    content: "";
    display: none;
}
.canvas-menu .sub-menu li a {
    color: #595959;
    font-size: 15px;
}
.canvas-menu .sub-menu li a:hover {
    color: #000;
}
/*======================================
[ Content ]
======================================*/
#content {
    padding-top: 30px;
    padding-bottom: 30px;
}
.section-title, .page-title {
    text-align: center;
    border-bottom: 2px solid #6D00F5;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.section-title span, .page-title span {
    font-size: 16px;
    line-height: 20px;
    background: #6D00F5;
    padding: 9px 10px;
    color: #fff;
    position: relative;
    display: inline-block;
}
.section-title span:before, .page-title span:before {
    content: "";
    width: 0;
    height: 0;
    border-width: 38px 20px 0px 0px;
    border-style: solid;
    border-color: transparent;
    border-right-color: #6D00F5;
    position: absolute;
    top: 0px;
    left: -20px;
}
.section-title span:after, .page-title span:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-left: 20px solid #6D00F5;
    border-bottom: 0px solid transparent;
    border-right: 0 solid transparent;
    position: absolute;
    top: 0px;
    right: -20px;
}
/*======================================
[ Post list small ]
======================================*/
.post-list-small {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #EBEBEB;
}
.post-list-small img {
    width: 120px;
    height: 80px;
    -o-object-fit: cover;
    object-fit: cover;
}
.post-list-small .post-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 5px;
}
.post-list-small .post-title a {
    color: #000;
}
.post-list-small .post-title a:hover {
    color: #6D00F5;
}
.post-list-small .post-meta {
    font-size: 15px;
    color: #595959;
}
.post-list-small:last-child {
    padding: 0;
    margin: 0;
    border: 0;
}
/*======================================
[ Single Post ]
======================================*/
.post-single .entry-header {
    padding-bottom: 1rem;
}
.post-single .entry-meta {
    font-size: 15px;
    color: #595959;
}
.entry-meta .list-inline-item:not(:last-child) {
    margin-right: 1rem;
}
.post-single .entry-meta a {
    color: #595959;
}
.post-single .entry-meta a:hover {
    color: #6D00F5;
}
.entry-content ul, .entry-content ol {
    padding-left: 40px;
}
blockquote {
    padding: 15px;
    margin: 0 0 20px;
    background: #f5f5f5;
    border-left: solid 3px #6D00F5;
    border-radius: 5px;
}
blockquote p:last-child {
    margin-bottom: 0;
}
/*======================================
[ Author box ]
======================================*/
.author-box {
    background-color: #f1f8ff;
    padding: 20px;
    overflow: hidden;
}
.author-img {
    float: left;
    margin: 0 1rem 0 0;
}
.author-content {
    overflow: hidden;
}
.author-content .author-name {
    font-size: 18px;
    margin: 0 0 10px;
}
.author-content .author-description {
    margin-bottom: 10px;
}
/*======================================
[ Pagination ]
======================================*/
.pagination {
    margin: 30px 0 0;
}
.pagination li {
    list-style-type: none;
    margin: 0 5px;
}
.page-link {
    position: relative;
    display: block;
    color: #595959;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    border: solid 1px #EBEBEB;
    height: 40px;
    line-height: 38px;
    text-align: center;
    padding: 0;
    width: 40px;
    transition: all 0.2s ease-in-out;
}
.page-link:hover, .page-item.active .page-link {
    border-color: transparent;
    color: #fff;
    background: #6D00F5;
}
.page-link:focus {
    color: #595959;
    background-color: #fff;
    box-shadow: none;
}
.page-item:first-child .page-link {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
.page-item:last-child .page-link {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}
.page-link i {
    font-size: 12px;
}
/*======================================
[ Widget ]
======================================*/
.widget {
    margin-bottom: 30px;
}
.widget:last-child {
    margin-bottom: 0;
}
.widget-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border-bottom: 2px solid #6D00F5;
    margin-bottom: 25px;
}
.widget-title span {
    position: relative;
    line-height: 17px;
    padding: 8px 15px;
    display: inline-block;
    background-color: #6D00F5;
    color: #fff;
}
.widget-title span:after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 10px solid #6D00F5;
    border-right: 10px solid transparent;
    background: transparent!important;
}
/*======================================
[ Theme Elements ]
======================================*/
.icon-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    background-color: #6D00F5;
    height: 36px;
    width: 36px;
    border: 0;
    border-radius: 50%;
}
.icon-button:hover {
    background-color: #5C00CC;
}
.form-control:focus {
    color: #000;
    box-shadow: none;
    border-color: #6D00F5;
}
.btn-default {
    color: #fff;
    background-color: #6D00F5;
    border-color: #6D00F5;
}
.btn-default:hover {
    color: #fff;
    background-color: #5C00CC;
    border-color: #5C00CC;
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 0;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*======================================
[ Alignments ]
======================================*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 20px;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 20px;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/*======================================
[ Captions ]
======================================*/
.wp-caption {
    margin-bottom: 1rem;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    font-size: 15px;
    font-style: italic;
    padding: 5px 10px;
    background-color: #eee;
}
.wp-caption-text {
    text-align: center;
}
/*======================================
[ Accessibility ]
======================================*/
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 0.313rem;
    line-height: normal;
    padding: 0.938rem 1.438rem 0.875rem;
    text-decoration: none;
    top: 0.313rem;
    width: auto;
    z-index: 100000;
}
#content[tabindex="-1"]:focus {
    outline: 0;
}
/*======================================
[ Footer ]
======================================*/
.site-footer {
    padding: 30px 0;
    border-top: 1px solid #EBEBEB;
    background-color: #F1F8FF;
}
.footer-logo img {
    height: 50px;
}
.footer-menu {
    padding: 0;
}
.footer-menu li {
    display: inline-block;
    list-style: none;
}
.footer-menu li:not(:last-child) {
    margin-right: 1rem;
}
.footer-menu li a {
    color: #000;
}
.footer-menu li a:hover {
    color: #6D00F5;
}
.copyright {
    font-size: 15px;
    color: #595959;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    background-color: #6D00F5;
    width: 38px;
    height: 38px;
    color: #fff;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}
.back-to-top:hover {
    color: #fff;
    background-color: #5C00CC;
}
/*======================================
[ Responsive ]
======================================*/
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}
@media only screen and (min-width: 992px) {
    .header-right {
        margin-left: 30px;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
      }
    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
}