/*
Theme Name: Agel Web
Theme URI:
Author: Andrey Shchedrin
Author URI: https://vk.com/id186877650
Description: Agel Web is a simple WordPress theme for the blogging and news site. Lightweight and elegant design will make your web project irresistible.
Version: 1.0.2
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, blog
Text Domain: agel-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*WordPress Core*/
.sticky {
	
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}


/*Fonts*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Montserrat');

html { 
    -webkit-text-size-adjust: none;
}

/*Reset*/

.video embed,
.video object,
.video iframe { 
    width: 100%;  
    height: auto;
}

img{
    width:100%; 
    height: auto;
}

a{
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #628d7c; 
    text-decoration: none;
}

h1,h2{
    font-size: 25px;
    line-height: 30px;
}

h3,h4{
    font-size: 20px;
    line-height: 20px;
}

h5,h6{
    font-size: 16px;
    line-height: 16px;
}

h1, h2, h3, h4, h5, h6{
    clear: both;
    color: #000;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

p{
    margin: 10px 0;
}

label {
    cursor:pointer;
    margin:5px 0;
    display:block;
    font-weight:bold;
}

input {
    display:block;
    width:100%;
    color:#222;
    border:1px solid #d1d1d1;
    padding:23px;
    margin: 5px 0 20px 0;
    font-size: 16px;
}

input[type="submit"]{
    padding: 15px;
}

textarea {
    display:block;
    width:100%;
    height:250px;
    background-color:#fff; 
    color:#222;
    border:1px solid #d1d1d1;
    padding:10px;
    margin: 5px 0 20px 0;
}

.t-center{
    text-align: center!important;
}

.t-left{
    text-align: left;
}

.t-right{
    text-align: right;
}

.f-right{
    float: right;
}

.f-left{
    float: left;
}

.post:after, 
.post:before, 
article:after, 
article:before,
section:after, 
section:before{
    clear: both; 
    content: '\0020'; 
    display: block; 
    visibility: hidden; 
    width: 0; 
    height: 0;
}
.main-content {
    min-height: 70vh;
}
.post img{
    margin: 30px 0;
}

.clear{
    content: "\0020"; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix:after, 
.clearfix:before{
    clear: both; 
    content: '\0020'; 
    display: block; 
    visibility: hidden; 
    width: 0; 
    height: 0;
}

hr{
    border: 0;
    height: 3px;
    margin: 20px auto;
}

hr.line-1{
    background: #fff;
    max-width: 30px;
}

hr.line-2{
    background: #333;
    max-width: 40px;
    height: 4px;
}

/*Sidebar*/
.widget {
    margin: 10px;
    border-bottom: 1px solid #d1d1d1;
}
.widget li {
    
}

.widget-title{
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.38;
    margin: 20px;
    font-size: 18px;
    color: #000;
}

/*Html Body*/
html, body {
    width:100%; 
    padding:0; 
    margin:0;
}

body {
    font: 18px/28px Arial, Helvetica, sans-serif;
    font-family: 'Crimson Text', serif;
    background: #fff;
}


/*Header*/
header{
    text-align: center;
    background: #fff;
}

.logo {
    color: #333;
    padding: 20px 0 30px;
}

.logo a{
    font-family: 'Dancing Script', cursive;
    font-size: 80px;
    color: #333;
    font-weight: bold;
    display: block;
    line-height: 1.3;
}

.logo span{
    font-size: 16px;
    letter-spacing: 1px;
}

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

    .logo a{
        font-size: 65px;
    }

    .logo span{
        font-size: 16px;
    }
}

/* Container */
.content-box .wrap-box {
    padding: 40px 10px; 
    position: relative;
}

.content-box .box-header { 
    margin: 0 0 30px;
    text-align: center;
}

.content-box .box-header h2{
    font-size: 22px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
}

.content-box.box-style-1{
    background: #f9f9f9;
}


.content-box.box-1 {
    text-align: center;
}


/* ---MainContent-Article--- */
#main-content .wrap-content{padding: 50px 0;}

.single-post .wrap-post, 
.comments-are {
    background: #f7f7f7;
    padding:30px; 
    position: relative;
}

.single-post .wrap-post {
    margin-bottom: 50px;
}

article{
    background: #ffffff; 
    color: #3F3F3F; 
    margin-bottom: 30px;
}

article:after, 
article:before{
    clear: both; 
    content: '\0020'; 
    display: block; 
    visibility: hidden; 
    width: 0; 
    height: 0;
}

article .post-thumbnail-wrap {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

article h3.entry-title{
    font-size: 20px;
    margin: 10px 0 5px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #222;
}

article .l-tags{
    text-align: center;
    font-size: 12px; 
    font-family: 'Crimson Text',serif;
    text-transform: uppercase;
    letter-spacing: .9px;
}

article .l-tags a{
    color: #333;
}

article .l-tags a:hover{
    color: #628d7c;
}

article .entry-header{
    text-align: center;
}

article.single-post .entry-header{
    padding: 40px 0;
}

article.single-post .entry-header h2.entry-title{
    font-family: 'Cabin', Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
    color: #111;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

article.single-post .entry-header h2.entry-title a {
    color: #111;
    margin: 0;
}

article .entry-title-blog a:hover {
    color: #628d7c;
}

article .entry-header .time {
    font-family: "Merriweather",Georgia,serif;
    color: #888;
    font-size: 17px;
    padding-bottom: 10px;
    display: block;
}

article .entry-header .cat-links {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 10px;
    display: block;
}

article .entry-content{
    padding: 40px 50px;
    text-align: justify;
}

@media(max-width:767px){
    article .entry-content{ 
        padding: 30px 50px;
    }
}

@media(max-width:480px){
    article.single-post .entry-content{
        padding: 30px;
    }
}

article .entry-content p{
    font-size: 16px;
    color: #686868;
}

article .entry-content blockquote {
    border-left: 3px solid #1c7791;
    font-size: 18px;
    margin: 0 50px;
    font-style: italic;
    color: #666;
    padding-left: 20px;
}

article .entry-content ol {
    float: left;
    text-align: justify;
    margin: 10px 50px;
    font-size: 16px;
    list-style-type: circle;
}

/*Page*/

.page h1 {
    text-align: center;
    color: #333;
    margin: 35px;
    font-size: 33px;
}

.page .entry-content{
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 32px;
    color: #424242;
    margin-left: 100px;
}

/*Comments*/
.comment-form{
    border: 1px solid #eaeaea;
    padding: 20px;
    background: #f1f1f1;
}

.comment-form p label{
    display: block!important;
    font-weight: 100;
    font-size: 14px;
    margin-top: 15px;
}    

.comments-area{
    margin-top: 25px;
}    

.comment-reply-title{
    color: #6b6b6b;
    font-size: 18px;
    margin-left: 10px;
}

.comment-body{
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
    max-width: 95%;
}    

.comment-author img{
    display: none;
}

.required{
    color:#da0f00;
}

.comment-respond{
    margin-top: 30px;
    margin-bottom: 30px;
    color: #6b6b6b;
}

.form-submit{
    margin-top: 15px;
}

.form-submit .submit{
    display: inline-block;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 700;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background-color: #F33535;
    color: #ffffff;
    border: 1px solid #F33535;
    cursor: pointer;
    transition: all 0.3s linear;
}

.form-submit .submit:hover{
    color: #F33535;
    background-color: #ffffff;
}

.comment-body footer{
    background-image: none;
    border-top: 2px solid #dcdcdc;
    padding: 15px;
}

.comment-content{
    padding: 15px;
    line-height: 25px;
    font-size: 16px;
}

.comment-content p{
    color: #737373;
    font-style: italic;
    line-height: 26px;
}

.comment-author{
    margin-bottom: 10px;
    color: #6b6b6b;
    font-family: 'Open Sans', sans-serif;
}

.reply{
    padding: 10px;  
}

.says{
    display: none;
}
.comment-meta {
background-color: #0101;
}

.comment-metadata{
    font-size: 14px;
}

.comment-metadata a{
    color: #afafaf;
}

.reply a {
    display: inline-block;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background-color: #F33535;
    color: #ffffff;
    border: 1px solid #F33535;
    cursor: pointer;
    transition: all 0.3s linear;
}

.reply a:hover {
    color: #d6d4d4;

}

.comments-area li > ul,
.comments-area li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

.form-control, input[type=email], input[type=text], input[type=password], textarea {
    height: auto;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 10px 15px;
    border: 1px solid #eaeaea;
    background-color: #ffffff;
    line-height: 1.4;
    max-width: 97%;
    font-size: 14px;
    -webkit-transition: border-color 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: border-color 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: border-color 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    width: 100%;
}

/*Footer*/
footer div{
    width: 100%;
    background: #161616;
    font-size: 15px;
    color: #999;
    text-align: center;
}

footer a{
    
    color:#999;
    font-weight: bold;
    text-shadow: none;
}

footer a:hover{
    color:#fff;
}

/*Button*/
a.button{
    background-color: #161616;
    padding: 9px 20px;
    border-radius: 4px;
    color: #fff;
    margin-top: 20px;
    display:inline-block;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

a.button:hover{
    background-color: #333;
    color: #d6d4d4;
}

/*404page*/

p.desc-404 {
    text-align: center;
    font-size: 46px;
    color: #e86f6f;
}
h1.title-404 {
    text-align: center;
    font-size: 80px;
    color: #e86f6f;
    font-weight: normal;
}
div.page-404 {
    margin-top: 60px;
    border: 2px solid #e6e6e6;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 70px;
    
}

/*Paginator*/
i.paginator-arrow {
    font-size: 22px;
    font-weight: bold;
    font-style: normal;

}

.pagination .page-numbers {
    font-size: 28px;
     display: inline-block;
    border-radius: 5px;
    color: black;
    float: left;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color .3s;
    margin-bottom: 10px;
    margin-left: 5px;
}

.pagination .current {
    background-color: #6b6b6b;
    color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.thumbnail>img {
    margin: auto auto;
    padding-left: 10px;

}
.widget-area {
    margin-left: 30px;
}