*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: #FFE6E1;
}
a{
    color: rgb(237,68,47);
    text-decoration: none;
}
/*menu start*/
.menu-wrapper{
    float: right;
}
.oldenglish-menu {
  display: inline-block;
  cursor: pointer;
  position: relative;
  margin: 0 10px;
}

.bar1, .bar2, .bar3 {
    width: 25px;
    height: 4px;
    background-color: #901E3E;
    margin: 5px 0;
    transition: 0.4s;
}
.dark_mode  .bar1,
.dark_mode  .bar2,
.dark_mode  .bar3{
    background-color: #fff;
}
.change .bar1 {
  transform: translate(0, 7px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.oldenglish-inner-links {
  position: absolute;
  top: 53px;
  right: -3px;
  background-color: #000;
  padding: 10px 20px 10px;
  transition: top 0.4s ease;
  z-index: 1;
  width: 270px;
  display: none;
}
.oldenglish-inner-links ul{
    list-style: none;
}
.oldenglish-inner-links ul li{
    margin: 10px 0;
}
.oldenglish-inner-links ul a{
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    padding: 10px;
    border-left: 3px solid rgb(237,68,47);
    border-radius: 4px;
}
.oldenglish-inner-links ul a:hover{
    background-color: rgb(237,68,47);
    color: #fff;
    transition: .6s;
}
.show {
  top: 53px;
  display: inline-block;
}
/*old-english-font start*/
.oldenglish-font-box{
    width: 100%;
    display: inline-block;
    margin: 10px 0;
    padding: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.oldenglish-font{
    width: 80%;
    float: left;
}
.oldenglish-font h2{
    font-size: 18px;
    margin-bottom: 10px;
    color: #424040;
}
.oldenglish-font img{
    width: 100%;
}
.oldenglish-font-btn{
    float: right;
}
.plbonus_table {
    border: 1px solid #ccc;
    width: 100%;
    max-width: 550px;
    margin-top: 20px;
}
.plbonus_table td, .plbonus_table th{
    padding: 10px;
}
.plbonus_table td{
    border-top: 1px solid #ccc;
    background: #fff;
}
.oldenglish-boys,
.oldenglish-girls{
    width: 100%;
    display: inline-block;
    padding: 10px 0;
}
.oldenglish-boys h2,
.oldenglish-girls h2{
    font-size: 30px;
    margin-bottom: 10px;
    position: relative;
    padding: 0 15px 0;
}
.oldenglish-boys h2::before, .oldenglish-girls h2::before {
    content: '';
    width: 5px;
    height: 100%;
    background: #f56636;
    position: absolute;
    left: 0;
    top: 0;
}
.oldenglish-boys ul,
.oldenglish-girls ul{
    list-style-position: inside;
    padding-left: 20px;
}
.oldenglish-boys li,
.oldenglish-girls li{
    font-size: 20px;
    margin-bottom: 5px;
}

/*old-english-font end*/
.extlinks{
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 10px;
}
.main-heading h1{
    font-size: 30px;
    margin: 0;
    padding: 10px;
    color: #000;
}
.main-heading p{
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    color: #777;
}
.top_tool_suggestion {
    display: block;
    padding: 10px 0 10px;
    text-align: center;
}
.suggestsec {
    width: 100%;
    padding: 30px 0 30px;
}
.suggestsec h3 {
    color: #444;
    font-size: 22px;
    margin-bottom: 15px;
}
.suggest_link {
    display: inline-grid;
    padding: 5px;
    text-decoration: none;
    color: #fff;
    background-color: #511D43;
    width: 260px;
    font-size: 14px;
    border: 2px solid #511D43;
    text-align: center;
    margin: 10px;
    font-weight: bold;
}
.suggest_link:hover{
    background: transparent;
    color: #511D43;
}
.top_tool_suggestion a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px 5px;
    background-color: rgb(254,219,67);
    color: #000;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    top: -3px;
}
.container{
    width: 100%;
    max-width: 1170px;
    padding: 0 10px 0;
    margin: auto;
    height: auto;
}
.clear{
    clear: both;
}
.textbtn-light{
    cursor: pointer;
    font-size: 16px;
    color: #000;
    border: 2px solid #901E3E;
    background-color: transparent;
    color: #901E3E;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px 5px;
    border-radius: 3px;
}
.textbtn-light:hover{
    background-color: #901E3E;
    color: #fff;
    transition: .3s;
}
.textbtn-solid{
    padding: 5px 10px 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 3px;
    margin: 0 10px;
    border: 2px solid #901E3E;
    background-color: #901E3E;
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
}
.textbtn-solid:hover{
    background-color: #fff;
    color: #901E3E;
    transition: .3s;
}
.dark_mode .textbtn-solid,
.dark_mode .textbtn-light{
    background-color: #141c23;
    color: #fff;
    border: 2px solid #777;
}
.dark_mode{
    transition: 0.3s !important;
    background-color: #1A252F;
    color: #fff;
}
.oldenglish_mode{
    display: inline-block;
    width: 25px;
    height: 25px;
    cursor: pointer;
    float: right;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 4px;
}
.oldenglish_mode_day{
    transition: 0.3s;
    background-image: url('images/night_mode.png');

}
.oldenglish_mode_night{
    transition: 0.3s;
    background-image: url('images/day_mode.png');
}
.dark_mode .header{
    background: #141c23;
}
.dark_mode .header h4{
    color: #fff;
}
.header{
    display: block;
    width: 100%;
    background: #fff;
    padding: 5px 0 0;
}
.header-left{
    width: auto;
    float: left;
}
.header-left a{
    display: block;
    line-height: 0.5;
    margin-top: 7px;
}

.header-left a strong{
    color: #f6f6f6;
}
.header-right{
    width: auto;
    float: right;
    padding: 15px 0;
}
.header-right a{
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    margin-left: 12px;
    margin-right: 12px;
}

.main-template{
    width: 100%;
    padding: 15px 0;
    display: inline-block;
}
.heading{
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    text-align: center;
    text-transform: capitalize;
}
.heading h1{
    font-size: 40px;
    margin: 0;
    padding: 8px 0;
}
.heading p{
    font-size: 20px;
    margin: 0;
    padding: 8px 0;
}
.main-oldenglish-template{
    width: 100%;
    padding: 20px 0;
}
.main-oldenglish-title{
    width: 100%;
    display: inline-block;
    text-align: center;
}
.main-oldenglish-title h1{
    font-size: 30px;
    margin: 0;
    padding: 10px;
}
.main-oldenglish-title p{
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
}
.dark_mode .main-oldenglish-title p{
    color: #fff;
}
.main-oldenglish-wrapper{
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 5px #dfdddd;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}
.main-oldenglish-box{
    text-align: center;
}
.main-oldenglish-box textarea{
    width: 49%;
    height: 200px;
    padding: 10px;
    font-size: 16px;
    display: inline-block;
    border: 1px solid #bcbcbc;
    border-radius: 2px;
    outline: none;
    resize: none;
}
.dark_mode .main-oldenglish-box textarea{
    background-color: #273744;
    border: 1px solid #777;
    color: #fff;
}
.translator-template {
    width: 100%;
    padding: 20px 0;
}
.translator-template .translator-title {
    font-size: 30px;
    margin: 0;
    padding: 10px 0 10px;
    display: block;
    text-align: center;
}
.translator-template .translator-title small{
    font-size: 16px;
    display: block;
}
.translator-template .translator-tagline {
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}
.ai_wrapper {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 5px #dfdddd;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}
.relevant_translator{
    display: block;
    padding: 10px 0 10px;
}
.relevant_translator a{
    display: inline-block;
    padding: 5px;
    border: 2px solid #511D43;
    font-weight: bold;
    color: #511D43;
    margin-left: 10px;
    border-radius: 3px;
}
.relevant_translator a:hover{
    background-color: #511D43;
    color: #fff;
}
.translator-half-left {
    width: 50%;
    float: left;
    padding: 10px;
}
.ai_wrapper textarea {
    width: 100%;
    height: 250px;
    padding: 10px;
    font-size: 15px;
    display: inline-block;
    border: 1px solid #bcbcbc;
    border-radius: 2px;
    outline: none;
    resize: none;
}
.ai-translate {
    background-color: #FF3F33;
    border: 2px solid #000;
    border-radius: 30px;
    box-shadow: #000 4px 4px 0 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.ai-translate:hover{
    background-color: transparent;
    color: #FF3F33;
}
.translator-half-right {
    width: 50%;
    float: right;
    padding: 10px;
}
.translator-half-right button{
    float: right;
}
/*footer start*/
.footer{
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 20px 0px;
    color: #fff;
}
.footer img{
    margin-bottom: 10px;
}
.dark_mode .footer{
    display: inline-block;
    background-color: #141c23;
}
.footer .social_links a{
    color: #FF7919;
    display: inline-block;
    margin-right: 10px;
}
.footer .footer-col40{
    width: 100%;
    padding: 10px 20px 10px;
    margin: 0 auto;
    text-align: center;
}
.footer .footer-col20{
    display: inline-block;
    width: 27%;
    padding: 10px 20px 10px;
    float: right;
}
.footer p{
    border-bottom: : 1px solid #d6d6d6;
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 26px;
    color: #555;
}
.footer strong{
    color: #555;
}
.dark_mode .footer p, .dark_mode .footer strong{
    color: #ccc;
}
.footer a{
    text-decoration: none;
    color: #0587fa;
}
.footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer ul li{
    display: inline-block;
}
.footer ul li a{
    text-decoration: none;
    color: #901E3E;
    display: inline-block;
    margin: 10px;
}
.footer ul li a:hover{
    text-decoration: underline;
}
/*footer end*/
/*about content start*/
.content{
    width: 100%;
    padding: 30px 0 30px;
    text-align: center;
}
#about{
    width: 100%;
    float: left;
    background: #fff;
    border: 1px solid #dad9da;
    padding: 10px 20px 50px;
    margin-top: 10px;
}
.dark_mode #about,
.dark_mode .main-oldenglish-wrapper{
    background: #273744;
    border: 1px solid #000;
}
.about-paragraph{
    float: left;
    text-align: left;
    width: 100%;
    padding-top: 30px;
}
.about-paragraph h3{
    font-size: 15px;
    font-weight: 500;
    padding: 7px 0 7px;
}
.about-paragraph h2{
    margin: 20px 0 0;
    font-size: 17px;
}
.about-paragraph li{
    font-size: 15px;
    margin: 15px;
    color: #777;
}
.about-paragraph p{
    font-size: 16px;
    color: #999;
    line-height: 25px;
    margin: 10px 0 20px 0;
}
.dark_mode .about-paragraph p{
    color: #ccc;
}
.about-paragraph strong{
    font-size: 14px;
    margin-top: 10px;
    display: block;
}
.about-paragraph a{
    text-decoration: none;
    color: #673de6;
}
.about-paragraph a:hover{
    text-decoration: underline;
}
/*about content end*/


/*bonus pages*/
.plbonus_main{
    display: block;
    padding: 30px 0 30px;
    text-align: left;
}
.plbonus_main .container{
    background: #f6f6f6;
    border: 1px solid #dad9da;
    padding: 20px;
    margin-top: 10px;
}
.plbonus_main h1{
    font-size: 26px;
    font-weight: 900;
}
.plbonus_main p{
    font-weight: 300;
    margin-top: 10px;
    font-size: 18px;
}

.plbonus_table{
    border: 1px solid #ccc;
    width: 100%;
    max-width: 550px;
    margin-top: 20px;
}
.plbonus_table td, .plbonus_table th{
    padding: 10px;
}
.plbonus_table td{
    border-top: 1px solid #ccc;
    background: #fff;
}

/*site pages*/
.plpages_sec, .plblog_sec{
    display: block;
    padding: 30px 0 30px;
}
.plpages_sec .container, .plblog_sec .container{
    width: 100%;
    padding: 10px;
    background: #f6f6f6;
    border: 1px solid #ccc;
}
.plpages_sec h1, .plblog_sec h1{
    display: block;
    position: relative;
    padding: 0 15px 0;
    margin: 10px 0 10px;
    font-weight: 500;
    font-size: 50px;
}
.plpages_sec h1::before, .plblog_sec h1::before{
    content: '';
    width: 5px;
    height: 100%;
    background: #f56636;
    position: absolute;
    left: 0;
    top: 0;
}
.plpages_sec h2, .plblog_sec h2{
    font-weight: 500;
    font-size: 34px;
    margin: 20px 0 5px;
}
.plpages_sec h3, .plblog_sec h3{
    font-weight: 500;
    font-size: 22px;
    margin: 20px 0 5px;
}
.plpages_sec p, .plblog_sec p{
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 10px;
}
.plblog_sec .img_wrap{
    display: block;
    text-align: center;
    padding: 10px 0 10px;
}
.plblog_sec .img_wrap img{
    width: 100%;
    max-width: 700px;
}
.plblog_sec ul, .plblog_sec ol{
    margin: 0 20px 0;
    color: #333;
}
.plblog_sec ul li, .plblog_sec ol li{
    margin: 10px 0 10px;
}
.plpost_wrapper{
    display: block;
    padding: 20px 0 20px;
    text-align: center;
}
.pl_post{
    display: inline-block;
    width: 300px;
/*    height: 95px;*/
    padding: 10px;
    overflow: hidden;
    border: 1px solid #ccc;
    background: #fff;
    text-decoration: none;
    margin: 10px;
}
.pl_post:hover{
    background: #f56636;
}
.pl_post:hover p{
    color: #fff;
}
.pl_post img{
    width: 100%;
}
.pl_post strong{
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: #000;
}
.pl_post p{
    font-size: 16px;
    font-weight: 300;
    color: #555;
}
.plblog_sec table {
    width: 100%;
    max-width: 500px;
}
.plblog_sec table td, .plblog_sec table th {
    border: 1px solid #000;
    padding: 10px;
}

@media only screen and (max-width: 980px) {
    #about {
        width: 100%;
    }
    .about-paragraph ul{
        list-style: none;
        padding: 0;
    }
    .footer .footer-col40{
        padding: 10px;
    }
    .footer .footer-col40{
        width: 40%;
    }
    .main-oldenglish-btns{
        text-align: center;
    }
}
@media only screen and (max-width: 820px) {
    .main-oldenglish-box textarea{
        width: 100%;
        height: 120px;
        margin: 10px 0;
    }
} 
@media only screen and (max-width: 786px) {

    .textbtn-solid,
    .textbtn-light{
        width: 120px;
        margin: 0 5px;
    }
    .footer .footer-col40 {
         width: 98%;
    }
    .oldenglish-font,
    .oldenglish-font-btn{
        width: 100%;
        float: none;
        padding: 10px 0;
        text-align: center;
    }
}

@media only screen and (max-width: 680px) {
    .about-paragraph{
        text-align: center;
    }
    #about {
        text-align: center;
    }
    .translator-half-left, .translator-half-right{
        width: 100%;
    }
    .ai-translate{
        padding: 5px;
        line-height: 20px;
    }
}
@media only screen and (max-width: 520px){
    .main-oldenglish-box textarea{
        height: 150px;
    }
} 

@media only screen and (max-width: 480px) {
    #about {
        padding: 20px 5px 50px;
    }
}
@media only screen and (max-width: 380px) {
    .textbtn-solid, .textbtn-light {
    width: 170px;
    margin:5px 0;
    }
}