/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: "yekan";
    src: url(/fonts/Yekan.eot);
    src: url(/fonts/Yekan.eot?#iefix) format("embedded-opentype"), url(/fonts/Yekan.woff) format("woff"), url(/fonts/Yekan.ttf) format("truetype"), url(/fonts/Yekan.svg#BYekan) format("svg");
    font-weight: normal;
    font-style: normal
}

body {

    margin: 0;
    padding: 0;
    overflow-x: hidden;
    direction: rtl;
}

.container {

    width: 960px;
    margin: 0 auto;

}

#top-bar {

    height: 60px;
    background: #edeef3;
    width: 100%;
}

#top-bar #top-right-menu {
    float: right;
}

#top-bar #top-right-menu ul {

}

#top-bar #top-right-menu ul li {

    float: right;
    margin-left: 10px;
}

#top-bar #top-right-menu ul li a {

    display: block;
    text-decoration: none;
    font-family: yekan;
    background: #FFFFFF;
    padding: 3px 10px;
    color: #6d6e72;
}

#top-bar #top-right-menu ul li a i {

    float: right;
    margin: 4px 0 0 10px;
}

#top-left-social {

    float: left;
}

#top-left-social ul {
    margin: 0;;
}

#top-left-social ul li {
    float: left;
    margin-right: 10px;
    height: 60px;
    padding: 0 0 0 15px;
    border-left: 1px solid #DDDDDD;
}

#top-left-social ul li:last-child {
    border-right: 1px solid #DDDDDD;
    padding-right: 10px;
}

#top-left-social ul li a {

    display: block;
    padding: 20px 10px 0;

}

#top-left-social ul li a i {
    font-size: 20px;
}

#top-left-social ul li a i.fa-facebook-official {
    color: #2b75b2;
}

#top-left-social ul li a i.fa-twitter {
    color: #1ea9e4;
}

#top-left-social ul li a i.fa-instagram {
    color: #25668c;
}

#top-left-social ul li a i.fa-google-plus {
    color: #dc406f;

}

/*start header*/
#top-header {

    height: 200px;
    width: 100%;
}

#top-header #logo {
    float: right;
    padding-top: 20px;
}

#top-header #logo a {
    text-decoration: none;
}

#top-header #logo a h1 {
    display: inline-block;
    font-family: yekan;
    color: #6d6e72;
    margin-right: 20px;
}

#top-header #contact-bar {
    float: left;
    padding-top: 70px;
    font-size: 25px;
}

#top-header #contact-bar a {

    text-decoration: none;
    font-size: 25px;
    color: #6d6e72;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    padding: 10px;
    position: relative;
}

#top-header #contact-bar a:hover {
    color: #1eabe3;
}

#top-header #contact-bar a:before {
    content: attr(title);
    display: block;
    width: 150px;
    height: 25px;
    border: 2px solid #d4d4d4;
    padding: 2px;
    position: absolute;
    right: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    top: -100%;
    opacity: 0;
    font-size: 15px;
    text-align: center;
    font-family: yekan;
    color: #6D6E72;
    -webkit-transform: translateX(40%);
    -moz-transform: translateX(40%);
    -ms-transform: translateX(40%);
    -o-transform: translateX(40%);
    transform: translateX(40%);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    line-height: 25px;
}

#top-header #contact-bar a:hover:before {

    opacity: 1;
    top: -80%;
}

#top-header #contact-bar a:after {

    content: '';
    position: absolute;
    border: 5px solid #DDDDDD;
    right: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: 0;
    top: -50%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    right: 35%;

}

#top-header #contact-bar a:hover:after {
    top: -10%;
    opacity: 1;
}

/*end header*/
/*start main menu wrapper*/
#main-menu-wrapper {

    height: 60px;
    width: 100%;
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

#main-menu-wrapper #main-menu {
    float: right;
}

#main-menu-wrapper #main-menu ul {
    margin: 0;
}

#main-menu-wrapper #main-menu ul li {
    float: right;
    height: 60px;
    border-left: 1px solid #DDDDDD;
}

#main-menu-wrapper #main-menu ul li a {
    font-family: yekan;
    display: block;
    text-decoration: none;
    color: #6d6e72;
    padding: 5px 10px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    padding-top: 15px;
    position: relative;
}

#main-menu-wrapper #main-menu ul li a:after {

    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid #1faae1;
    top: 96%;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid transparent;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#main-menu-wrapper #main-menu ul li a:hover {
    color: #1faae1;
}

#main-menu-wrapper #main-menu ul li a:hover:after {

    opacity: 1;
}

#top-search {
    float: left;
}

#top-search #search-input {
    margin-top: 15px;
    height: 28px;
    width: 200px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: yekan;
}

#top-search label {
    margin: 5px;
}

#top-search label i {
    font-size: 20px;
}

/*end main menu wrapper*/
/*start slider*/
#slider-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.rslides p.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: rgba(0, 0, 0, .6);
    color: #FFFFFF;
    font-family: yekan;
    padding: 10px 30px 10px 10px;
}

#slider-wrapper .rslides1_nav {
    position: absolute;
    top: 50%;
    z-index: 999;
    color: #FFFFFF;
    font-size: 40px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);

}

#slider-wrapper .rslides1_nav.prev {
    left: 5%;

}

#slider-wrapper .rslides1_nav.next {
    right: 5%;

}

/*end slider*/

/*start main content*/
#main-content, #featured-contnet {
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

.nav-tab {
    padding: 10px 0;
}

.nav-tab ul {
    text-align: center;
}

.nav-tab ul li {

    display: inline-block;
    margin: 0 5px;
}

.nav-tab ul li a {
    text-decoration: none;
    font-family: yekan;
    font-size: 15px;
    color: #d4d4d4;
    border: 2px solid #d4d4d4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 10px;
}

.nav-tab ul li a:hover {
}

.nav-tab ul li a.active {
    border-color: #909090;
    color: #909090;
}

#main-content .posts-container {

    text-align: center;
}

#main-content .posts-container .post-link, #featured-contnet .posts-container .post-link {
    display: block;
    margin-right: 20px;
}

#main-content .posts-container .post-link:hover .post .post-title {

    top: 80%;
}

#main-content .posts-container .post {

    -webkit-box-shadow: 0 0 5px #F3F3F3;
    -moz-box-shadow: 0 0 5px #555555;
    box-shadow: 0 0 5px #D2D2D2;
    float: right;
    margin-left: 10px;
    border: 1px solid #DDD;
    padding: 10px 10px 0;

}

#main-content .posts-container .post .post-inner {

    overflow: hidden;
    height: 150px;
    position: relative;
    width: 260px;
    margin: 0 auto;
}

#main-content .posts-container .post .post-inner .post-title {
    display: block;
    background-color: rgba(0, 0, 0, .6);
    color: #FFF;
    font-family: yekan;
    height: 30px;
    line-height: 30px;
    text-align: right;
    padding-right: 20px;
    position: absolute;
    z-index: 9999;
    top: 100%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    width: 100%;
}

#main-content .posts-container .post .post-meta {
    width: 100%;
    margin-top: 5px;
    height: 30px;

}

#main-content .posts-container .post .post-meta span {
    font-family: yekan;
    font-size: 12px;
    padding: 2px;
    color: #818181;
    float: right;
    margin-left: 20px;
}

#main-content .posts-container .post .post-meta span i {
    margin-left: 3px;
}

.posts-container:not(:first-of-type) {

    display: none;
}
.load-more-wrapper{
    float: right;
    width: 100%;
    margin: 50px auto 10px;
}
.load-more-wrapper a.load-more{
    display: inline-block;
    text-decoration: none;
    font-family: yekan;
    color: #ddd;
    background: #808080;
    padding: 5px 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;

}
.load-more-wrapper a.load-more:hover{
    background: #c00;
    color: #fff;
}

/*end main content*/

/*start featured content*/
#featured-contnet {
    margin-top: 30px;
    background: #efefef;
    padding: 20px 0;
    overflow: hidden;
}

#featured-contnet .post-wrapper {
    width: 200px;
    color: #FFFFFF;
    box-shadow: 0 0 3px #928F8F;
    background-color: #FFF;
    border-radius: 5px;
    float: right;
    margin-left: 8px;
    margin-bottom: 15px;
    padding: 10px;
}

#featured-contnet .post-wrapper .post {
    overflow: hidden;
    position: relative;
}

#featured-contnet .post-wrapper .post:hover .title {

    bottom: 0;
}

#featured-contnet .post-wrapper .post .thumbnail {
}

#featured-contnet .post-wrapper .post .title {
    width: 100%;
    display: block;
    /* background-color: #000; */
    font-family: yekan;
    font-size: 12px;
    padding: 5px 0;
    text-align: right;
    padding-right: 10px;
    background: rgba(0, 0, 0, .5);
    position: absolute;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    bottom: -26px;
}

#featured-contnet .post-wrapper .post-meta {
    overflow: hidden;
    padding-right: 20px;
    padding-top: 5px;
    border-top: 1px solid #DDD;
}

#featured-contnet .post-wrapper .post-meta span {

    color: #686868;
    float: right;
    margin-left: 10px;
    font-family: yekan;
    font-size: 14px;
}

#featured-contnet .post-wrapper .post-meta span i {

    margin-left: 5px;
}

#featured-contnet .nav-tab ul li a {
    background: #FFFFFF;
    color: #ADADAD;
}

/*end featured content*/

/*start team section*/
#team-wrapper{

    text-align: center;
}
#team-wrapper #team-header{
    width: 50%;
    margin: 50px auto 0;
}
#team-wrapper #team-header .team-logo{
    float: right;
}
#team-wrapper #team-header .team-title{
    float: left;
    margin-top: 50px;
}
#team-wrapper #team-header .team-title h3{
    font-family: yekan;
    font-size: 30px;
}
#team-wrapper #team-members {
    width: 100%;
    float: right;
    margin-top: 20px;
}
#team-wrapper #team-members .team-member{

    background: #f5f5f5;
    width: 220px;
    float: right;
    margin-right: 20px;
    -webkit-box-shadow: 0 0 5px #DDD;
    -moz-box-shadow: 0 0 5px #DDD;
    box-shadow: 0 0 5px #DDD;
    font-family: yekan;


}
#team-wrapper #team-members .team-member p{
    font-size: 12px;
    color: #9c9c9c;
}
#team-wrapper #team-members .team-member .avatar{
    margin-top: 10px;
    text-align: center;

}
#team-wrapper #team-members .team-member .avatar img{

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    -webkit-box-shadow: 0 0 5px #DDD;
    -moz-box-shadow: 0 0 5px #DDD;
    box-shadow: 0 0 5px #DDD;
}

#team-wrapper .team-member .team-social{
    background: #FFFFFF;
    height: 30px;
    margin: 10px 0;

}
#team-wrapper .team-member .team-social a{
    display: inline-block;
    color: #9b9b9b;
    margin: 0 10px;
    font-size: 20px;
}

/*end team section*/
/*start statistics section*/
#statistics{
    height: 300px;
    width: 100%;
    float: right;
    background: #efefef;
    margin-top: 50px;
}
#statistics .stat{
    width: 25%;
    text-align: center;
    float: right;
}
#statistics .stat span{
    display: block;
    font-family: yekan;
    font-size: 30px;
    color: #4e4e4e;
}
#statistics .stat .stat-title{
    margin-top: 40%;
}
#statistics .stat .stat-value{
    margin-top: 20px;
}
/*end statistics section*/
/*start footer section*/
    #footer{
        background: #2b2c2e;
        float: right;
        width: 100%;
        height: 200px;
    }
    #footer .footer-details{
        margin-top: 20px;

    }
    #footer .footer-details .newsletter{
        float: right;
        width: 50%;
        background: #3a3b3d;
        padding: 10px;
    }
#footer .footer-details .newsletter input[type="text"]{
    border: none;
    background-color: transparent;
    font-family: yekan;
    float: left;
    width: 70%;
    outline: none;
    color: #7c7c7c;
    text-align: left;
}
#footer .footer-details .newsletter input[type="submit"]{
    border: none;
    background-color: #484c4d;
    color: #FFF;
    font-family: yekan;
    border-radius: 5px;
    font-size: 16px;
    padding: 1px 10px;
}
#footer .footer-details .newsletter  span{
    float: left;
    color: #7c7c7c;
    padding: 8px;
}
#footer .footer-details .social-share-links{
        float: left;
        width: 45%;
        text-align: center;

    }
#footer .footer-details .social-share-links a{
    padding: 20px;
    border-right: 1px solid #3c3d3f;
    display: inline-block;
}
#footer .footer-details .social-share-links a i{
    color:#7c7c7c;
    font-size: 25px;
}
#footer .footer-copyright{

}
#footer .footer-copyright .footer-menu{
    float: right;

}
#footer .footer-copyright .footer-menu ul{

}
#footer .footer-copyright .footer-menu ul li{
    float: right;
    margin-left: 5px;
}
#footer .footer-copyright .footer-menu ul li a{
    display: block;
    padding: 5px;
    text-decoration: none;
    color:#7c7c7c;
    font-family: yekan;
}
#footer .footer-copyright .copyright{
    float: left;
    color: #7C796F;
    font-family: yekan;
    text-align: right;
    width: 45%;
    margin-top: 12px;
}
/*end footer section*/

/*Single Page*/

#main-content .post-entry {
    float: right;
    width: 65%;
    background-color: #FFF;
    box-shadow: 0 0 10px 0 #DDD;
    padding: 10px 30px;
    margin-bottom: 40px;
}

#main-content .post-entry .post-title {
    font-family: yekan;
    color: #6D6E71;
    text-align: right;
}

#main-content .post-entry .post-title i {
    margin-left: 10px;
}

#main-content .post-entry .post-content {
    font-family: tahoma;
    font-size: 10pt;
    text-align: justify;
    line-height: 25px;
}

#main-content .post-entry .post-content .post-sub-title {
    font-family: yekan;
    color: #767676;
}

#main-content .post-entry .post-content p.post-img {
    text-align: center;
}

#main-content .post-entry .post-content img {
    margin: 10px;
    text-align: center;
}

#main-content .post-entry .post-content .box {
    padding: 5px 15px;
    border-right: 4px solid #DDD;
    background-color: #EFEFEF;
}

.box-success {
    border-right: 4px solid #55BA06 !important;
}

.box-info {
    border-right: 4px solid #0691BA !important;
}

.box-error {
    border-right: 4px solid #C80404 !important;
}

#main-content .post-entry .post-meta {
    border-top: 3px solid #DDD;
    padding: 3px 0;
    font-family: yekan;
    font-size: 12px;
    margin-bottom: 15px;
    float: right;
    width: 100%;
    background-color: #EFEFEF;
    color: #6F6F6F;
    position: relative;
}

#main-content .post-entry .post-meta .meta {
    float: right;
    margin-left: 20px;
}

#main-content .post-entry .post-meta .meta i {
    margin: 5px;
}

#main-content .post-entry .social-links {
    margin: 20px;
    float: right;
    width: 100%;
    text-align: right;
}

#main-content .post-entry .social-links a {
    width: 50px;
    height: 50px;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    color: #FFF;
    position: relative;
    display: inline-block;
    float: right;
    line-height: 50px;
    text-align: center;
}

#main-content .post-entry .social-links a:hover {
    top: -2px;
}

#main-content .post-entry .social-links a:hover i {
    color: #FFF;
}

#main-content .post-entry .social-links a i {
    font-size: 20px;
}

#main-content .post-entry .social-links a.facebook {
    background-color: #3b5998;
}

#main-content .post-entry .social-links a.twitter {
    background-color: #00a0d1;
}

#main-content .post-entry .social-links a.gplus {
    background-color: #db4a39;
}

#main-content .post-entry .social-links a.pinterest {
    background-color: #c8232c;
}

#main-content .post-entry .social-links a.dribbble {
    background-color: #ea4c89;
}

#sidebar {
    float: left;
    width: 28%
}

#sidebar .widget {
    background-color: #FFFFFF;
    width: 100%;
    box-shadow: 0 0 3px #CBCBCB;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#sidebar .widget .wtitle {
    font-family: yekan;
    text-align: right;
    margin-bottom: 10px;
    background-color: #EFEFEF;
    height: 35px;
    line-height: 35px;
    padding-right: 10px;
    color: #7E7E7E;
}

#sidebar .widget .wcontent {}

#sidebar .widget .wcontent a {
    text-decoration: none;
    font-family: yekan;
    font-size: 13px;
    color: #8C8B8B;
    margin-bottom: 7px;
    display: inline-block;
}

#post-comments {
    width: 100%;
    float: right;
    padding: 10px;
}

#post-comments .comment-title {
    float: right;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-family: yekan;
    background-color: #EFEFEF;
    padding: 0px 10px;
    color: #8E8E8E;
}

#post-comments .comment-list {
    padding: 20px 20px 0;
}

#post-comments .comment-list ol {
    list-style: none;
}

#post-comments .comment-list li {
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    clear: both;
}

#post-comments .comment-list li div.comment {
    padding-bottom: 20px;
    position: relative;
    border-bottom: 1px solid #DDD;
}

#post-comments .comment-list li .comment-avatar {
    float: right;
}

#post-comments .comment-list li .comment-content {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: 15px;
    min-height: 80px;
    margin-left: 0;
    margin-right: 80px;
    font-family: yekan;
    font-size: 14px;
    color: #767474;
}

#post-comments .comment-list li .comment-author {
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
}

#post-comments .comment-list li .comment-author .commentmeta {
    float: left;
}

#post-comments .comment-list li div.comment .reply a {
    position: absolute;
    left: 0;
    background: #E7E7E7;
    padding: 5px 10px;
    font-size: 11px;
    font-family: yekan;
    text-decoration: none;
    color: #000;
    display: inline-block;
    bottom: 0;
}
/*End Single Page*/

.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 500px;
  height: 200;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
