h1 {
    text-align: center;
    color: #064956;
    font-size: 40px;
    font-family: 'Lato', sans-serif;
}
h2 {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}
h3 {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;

}

h4 {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;


}

h5 {
    font-size: 25px;
    font-family: 'Open Sans', sans-serif;
}

h6 {
    text-align: center;
    color: #035c6c;
    font-size: 50px;
    font-family: 'Lato', sans-serif;
    margin-top: 0.57em;
    margin-bottom: 0.67em;
}

#regularpage {
    width: calc(100% - 10px); /* - 2 times padding */
    margin-left: auto;
    margin-right: auto;
    font-size: 16px; !important
    font-family: 'Open Sans';
    min-height: calc(100% - 10px);
}

#specialpage {
    width: calc(100% - 10px); /* - 2 times padding */
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    font-size: 14px; !important
    font-family: 'Open Sans';
}

body {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.body_image_background {
    background: #edebed url('https://learningfrench.thisiscool.com/design/frenchback4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* menu bar styling */

/* makes menu bar pretty */
.menubar {
    width: 100%;
    box-shadow: inset 0px 1px 0px 0px #009ab4;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #009ab4), color-stop(1, #00798f));
    background: -moz-linear-gradient(center top, #009ab4 5%, #00798f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ab4', endColorstr='#00798f');
    border-top: 1px solid #00798f;
    border-bottom: 1px solid #00798f;
    text-align: center;
    margin:0 auto;
    display: inline-block;
    list-style:none;
    padding:0;

}

.menubar li {
    list-style-type: none; /* gets rid of ugly bullet points */
    display: inline-block; /* makes nav links line up horizontally (MOET inline-block zijn!! niet inline!!) */
    text-align: center;
    width: 140px;
}

.menubar li a{
    /* makes nav links pretty */
    padding: 0px 0px;
    width: inherit;
    display:inline-block;
    color: #f4fbfc;
    font-family:Trebuchet MS;
    font-size:15px;
    height:35px;
    line-height:35px;
    text-decoration:none;
    margin: 0px !important;
    text-shadow:1px 1px 0px #00798f;
}

.menucenter{
    text-align: center;
    width: auto;
    margin: 0 auto;  }

/* change link color on hover */
.menubar li a:hover, .menubar li:hover a {
    color:#deedef;
    background: #e3f0dd;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0187a0), color-stop(1, #0d7387));
    background: -moz-linear-gradient(center top, #0187a0 5%, #0d7387 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0187a0', endColorstr='#0d7387');
}

.menubar li a:active {
    background: #000;
}

/*makes nav links not do weird things */
.menubar ul {
    position: absolute;
}

/*makes dropdown menus appear*/
.menubar li:hover > ul {
    display: block;
}

/*makes dropdown menus pretty */
.menubar li ul {
    display: none;
    position: absolute;
    width: 140px;
    padding: 0px 16px;
    margin: 0;
    z-index:1000;
}
.menubar ul a {
    background:#0187a0 !important;
    display:inline-block;
    margin-left: -30px !important;
    align: center;
    width: 140px !important;
}
.menubar ul a:hover {
    background: #0d7387 !important;
}

/* sub menu of a sub menu */
.menubar ul ul {
    width: 80px !important;
    margin-top: -35px !important;
    z-index: 100 !important;
    left: 85%;
}
.menubar ul ul a {
    width: 150px !important;
}


body.home a.home, body.verbs a.verbs, body.regular_verbs a.regular_verbs, body.irregular_verbs a.irregular_verbs, body.build_your_own a.build_your_own,
body.random_practice a.random_practice, body.sentences a.sentences, body.audio a.audio, body.games a.games, body.tenses a.tenses,
body.vocabulary a.vocabulary, body.about a.about, body.crossword a.crossword, body.bringbirdiehome a.bringbirdiehome, body.countriesgame a.countriesgame,
body.lightuptheflags a.lightuptheflags, body.Frencharticlegame a.Frencharticlegame, body.vocabularypractice a.vocabularypractice, body.mojaalrobot a.mojaalrobot,
body.vocabulary a.vocabulary, body.grammar a.grammar{
    background-color: #00798f;
}

a, a:hover, a:link, a:visited, a:active {
    font-size: 14px;
    color: black;
    font-family: 'Open Sans';
    text-decoration: underline;
}

/* This styles the entire source text for the audios. Link and all. */
#audiosourcestyling {
    font-size: 14px;
    color: black;
    font-family: 'Open Sans';
}

#sentencessourcestyling {
    font-size: 14px;
    color: black;
    font-family: 'Open Sans';
}

a.special, a.special:hover, a.special:link, a.special:visited, a.special:active {

    font-size: 16px !important;
    color: black;
    font-family: 'Open Sans';
    text-decoration: underline;
}

/* table headers regular verbs */
#regularpage table.regular th {
    font-size: 16px;
    font-family: 'Open Sans';
}

#regularpage table.regular input:focus {
    outline: none;
    font-family: 'Open Sans';
}

table.regular{
    background: #f9f4ef;
    font-family: 'Open Sans';
}

table.puzzle{
    background: #f9f4ef;
    font-family: 'Open Sans';
    border-collapse: collapse;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    font-family: 'Open Sans';
    padding: 5px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
}

table.puzzle td {
    padding: 0px;
}

table.nopadding{
    background: rgba(0, 0, 0, 0);
    border-collapse: collapse;
    padding: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
}

table.nopadding td {
    padding: 0px;
}

.container {
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding: 20px;
}
table.special {
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding: 5px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
}

/* less padding then special table */
table.special2 {
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding: 5px;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 5px;
}

table.bygroup{
    text-align: left;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-size: 16px;
}

table.bygroup_border{
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    text-align: left;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-size: 16px;
}
/*table with the buttons at the top of by group page*/
table.bygroup_top{
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    text-align: left;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    font-size: 16px;
    line-height: 38px;
}

/* Rounded Cell borders */
table.rounded td {
    border-radius: 5px;
}​

table.bygroup_border td {
    valign: bottom;
    padding-bottom: 0px;
    border-spacing: 0px;
}

table.game {
    border: 1px solid black;
    border-collapse: collapse;
}

table.shadowed{
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    border-spacing: 6px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    text-align: left;
    background: #f9f4ef;
    font-family: 'Open Sans';
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
 }

table.shadowed_verbs{
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 0;
    border-style: none;
    padding: 10px;
    text-align: left;
    font-family: 'Open Sans';
    background: #f9f4ef;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
}

table.verbs {
    text-align: left;
    font-family: 'Open Sans';
    font-size: 16px;
}

table.grammarexercises {
    text-align: left;
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 31px;
}

table.shadowedsentences{
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 1px 0px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    text-align: left;
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 31px;
}

table.exceptions {
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 1px 0px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    text-align: left;
    background: #f7e1eb !important;
    text-align: left;
    border-collapse: collapse;
    border-style: none;
}

table.exceptions td {
    padding: 5px 5px 5px;
}

table.examples {
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 1px 0px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    text-align: left;
    background: #e5eef3 !important;
    text-align: left;
    border-collapse: collapse;
    border-style: none;
 }

table.examples td {
    padding: 5px 5px 5px;
}

table.notes {
    background: #fcfce8 !important;
    text-align: left;
    border-collapse: collapse;
    border-style: none;
}

table.notes td {
    padding: 5px 5px 5px;
}

/* Style the buttons that are used to open and close the accordion panel - Used in Grammar Pages */
.accordion {
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 1px 0px;
    -webkit-box-shadow: 0px 1px 6px #c2dfef;
    -moz-box-shadow: 0px 1px 6px #c2dfef;
    box-shadow: 0px 1px 6px #c2dfef;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    background-color: #e5eef3;
    color: #000000;
    cursor: pointer; cursor: hand;
    padding: 10px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    border: ridge;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #c2dfef;
}

.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.panel {
    padding: 0 18px;
    display: none;
    overflow: hidden;
}

table.borderless td {
     border:none;
 }

table.borderless th {
    border:none;
}

table.zebra tr {
    background-color: #f9f9f9;
}

table.zebra tr:nth-child(odd) {
    background-color: #e5eef3;
}

table.zebra th {
    background-color: #c2dfef;
}

#errormessage {
    color: red;
}

tr.border_bottom td {
    border-bottom:1pt solid black;
    padding-bottom: 5px;
}

tr.border_top td {
    border-top:1pt solid black;
    padding-top: 5px;
}

.centered {
    text-align: center;
}

.buttonsize{
    height:50px;
    width:200px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    font-family: 'Open Sans';
    color: #000000;
    font-weight: bold;
    font-size: 18px !important;
    background: #ffffff;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}

.buttonsizeindex{
    height:50px;
    width:220px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    font-family: 'Open Sans';
    color: #000000;
    font-weight: bold;
    font-size: 18px !important;
    background: #ffffff;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}

/*crossword puzzle page*/
.buttonsize2{
    width:150px;
    background: #ffffff;
    font-family: 'Open Sans';
}

/* Practice by group page */
.buttonsize3{
    width:80px;
    height:33px;
    background: #f7fafc;
    font-family: 'Open Sans';
}

/* Practiceverbs page */
.buttonsize4{
    width:150px;
    height:25px;
    background: #f7fafc;
    font-size: 14px !important;
    font-family: 'Open Sans';
    font-weight: bold;
}

.buttonsize5{
    height:30px;
    width:150px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    font-family: 'Open Sans';
    color: #000000;
    font-weight: bold;
    font-size: 16px !important;
    background: #ffffff;
    text-decoration: none;
}

.buttonsize6{
     height:40px;
     width:180px;
     -webkit-border-radius: 6;
     -moz-border-radius: 6;
     border-radius: 6px;
     -webkit-box-shadow: 0px 1px 6px #333333;
     -moz-box-shadow: 0px 1px 6px #333333;
     box-shadow: 0px 1px 6px #333333;
     font-family: 'Open Sans';
     color: #000000;
     font-weight: bold;
     font-size: 18px !important;
     background: #ffffff;
     padding: 6px 20px 10px 20px;
     text-decoration: none;
 }

/* Used for French article game */
.buttonsize7{
    height:30px;
    width:280px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    font-family: 'Open Sans';
    color: #000000;
    font-weight: bold;
    font-size: 18px !important;
    background: #ffffff;
    padding: 0px 20px 10px 20px;
    text-decoration: none;
}

/* small back button vocabulary practice page */
.buttonsize8{
    width:40px;
    height:33px;
    font-weight: bold;
    background: #f7fafc;
    font-size: 12px !important;
    font-family: 'Open Sans';
}

/* buttons for alphabet for Moja al robot game */
.buttonsize9{
    width:33px;
    height:33px;
    font-weight: bold;
    font-size: 16px !important;
    font-family: 'Open Sans';
}

/* buttons for new word button for Moja al robot game */
.buttonsize10{
    width:110px;
    height:30px;
    background: #f7fafc;
    font-size: 14px !important;
    font-family: 'Open Sans';
    font-weight: bold;
}

/* buttons for the ejercises in the gramatica pages */
.buttonsize11{
    width:120px;
    height:30px;
    background: #f7fafc;
    font-size: 14px !important;
    font-family: 'Open Sans';
    font-weight: bold;
}

/* button in the verbs.php page for conjugations */
.buttonsize12{
    height:20px;
    width:220px;
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    -webkit-box-shadow: 0px 1px 6px #333333;
    -moz-box-shadow: 0px 1px 6px #333333;
    box-shadow: 0px 1px 6px #333333;
    font-family: 'Open Sans';
    color: #000000;
    font-weight: bold;
    font-size: 15px !important;
    background: #ffffff;
    padding: 2px 10px 2px 10px;
    text-decoration: none !important;
}

.crosswordid {
    position: absolute;
    vertical-align: super;
    margin-left: 1px;
    font-size: 11px;
}

#crosswordanswers {
    max-width: 400px;
    max-height: 230px;
    overflow-y: auto;
    padding-left: 15px;
    padding-right: 15px;
}

#audiosentences {
    max-height: calc(100vh - 330px);
    overflow-y: auto;
    padding-left: 0px;
    padding-right: 0px;
    line-height: 200%;
}

/* used on songs page */
#audiosongs {
    height: calc(100vh - 305px);
    overflow-y: auto;
    padding-left: 0px;
    padding-right: 0px;
    line-height: 200%;
}

#regularpage table {
    table-layout: fixed;
    background: #f9f4ef;
    font-family: 'Open Sans';
    font-size: 16px;
}

footer {
    align: center;
    text-align: center;
    font-size: 12px;
    color: white;
}

/* audios player */
#player {
    width: 100%;
}​

/* Change the link color on hover */

/* padding of the text fields in the table */
input[type=text] {
    text-align: left;
    text-indent: 20px;
    font-family: 'Open Sans';
    font-size: 16px;
}

input[type=text2] {
    text-align: left;
    text-indent: 5px;
    font-family: 'Open Sans';
    font-size: 16px;
}

input[type=text3] {
    text-align: center;
    font-family: 'Open Sans';
    font-size: 18px;
    display: block;
    height: 35px;
    width: 35px;
    border: none;
}

input[type=checkbox] {
    font-size: 12px;
    font-family: 'Open Sans';
}

label.labelfont {
    font-family: 'Open Sans';
    font-size: 14px;
}

/* styling of the buttons. */
input[type=submit]{
    font-size: 14px;
    font-weight: bold;
    font-family: 'Open Sans';
    text-align:center;
    box-sizing: border-box;
}

input[type=submit]:hover{
    background: #e5eef3;
    cursor: pointer; cursor: hand;
}

.wug {
    text-align: center;
}
.wug form {
    margin-top: auto;
    margin-bottom: auto;
}

/* used on vocabulary page for the width of the text */
.vocabularytext {
    display: block;
    width: 550px;
}

/* This button is used to style the Studying Tips button on the audios page for instance. */
/* We didn't want to make it a regular submit button, because that would cause the form to resubmit, which is not what we want. */
input[type=submit2]{
    font-size: 14px;
    font-weight: bold;
    font-family: 'Open Sans';
    text-align:center;
    width: 125px;
}

input[type=submit2]:hover{
    background: #e5eef3;
    cursor: pointer; cursor: hand;
}

/* Submit 3 is used on the home page */
input[type=submit3]{
    font-size: 14px;
    font-weight: bold;
    font-family: 'Open Sans';
    text-align:center;
    width: 80px;
}

input[type=submit3]:hover{
    cursor: pointer; cursor: hand;
}

/* used in crosswords and audios to make button look like regular link */
.linkButton {
    background: none;
    border: none;
    color: #0066ff;
    text-decoration: underline;
    cursor: pointer; cursor: hand;
}

input[type=button]{
    clear: both;
}

input[type=button]:hover{
    background: #e5eef3;
}
select {
    font-size: 14px;
    font-family: 'Open Sans';
}

/* conjugation popup */

.conjugationpop {
    cursor: pointer; cursor: hand;
    display:none;
    position:absolute;
    text-align:left;
    z-index:50;
}

.conjugationpop p, .conjugationpop.div {
    border-bottom: 1px solid #EFEFEF;
    margin: 8px 0;
    padding-bottom: 8px;
}

/* used for images conjugation pages */
#pagy2 table tr td.image{
    width: 200px;
    background: #f9f4ef !important;
    border: 10px solid #d4e6cd;
}

/* This is the for the popup box that displays the Studying Tips. Also used on the audios page for instance. */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    cursor: pointer; cursor: hand;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background: #f9f4ef;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    cursor: pointer; cursor: hand;
    width: 60%; /* Could be more or less, depending on screen size */
    font-size: 16px; !important
    font-family: 'Open Sans';
}

/* Modal Content/Box used for grammar pages exercises */
.modal-content2 {
    -webkit-border-radius: 6;
    -moz-border-radius: 6;
    border-radius: 6px;
    border-spacing: 1px 0px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    top: 50%;
    left: 50%;
    width:250px;
    height:100px;
    position: absolute;
    cursor: pointer; cursor: hand;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    background-color: #fcfce8;
}

/* Modal Content/Box used for por para exercises */
.modal-content3 {
     -webkit-border-radius: 26;
     -moz-border-radius: 26;
     border-radius: 26px;
     border-spacing: 1px 0px;
     padding-left: 10px;
     padding-top: 5px;
     padding-bottom: 5px;
     padding-right: 10px;
    cursor: pointer; cursor: hand;
    top: 50%;
     left: 50%;
     width:400px;
     height:250px;
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);
     border: 1px solid #ccc;
     background-color: #fcfce8;
    border: 5px solid gold;
}

/* Modal Content/Box used for por para information modal boxes */
.modal-content4 {
    -webkit-border-radius: 26;
    -moz-border-radius: 26;
    border-radius: 26px;
    border-spacing: 1px 0px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    cursor: pointer; cursor: hand;
    background: #f9f4ef;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 5px solid #903969;
    width: 800px; /* Could be more or less, depending on screen size */
    font-size: 16px; !important
font-family: 'Open Sans';
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer; cursor: hand;
}

/* for audios in vocabulary.php. */

.speaker {
    background-image: url('../images/vocabulary/speaker.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 100% 0;
    height: 39px;
    width: 49px;
    cursor: pointer; cursor: hand;
    display: block;
}

.speakerplay {
    background-position: 0 0;
}

/* Styling of tabs */
.tabrow {
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 24px;
}
.tabrow li {
    margin: 0 1px;
    padding: 0 10px;
    border: 1px solid #AAA;
    background: #ECECEC;
    cursor: pointer; cursor: hand;
    display: inline-block;
}

.tabrow li.selected {
    background: #f9f4ef;
    color: #000;
}

.tabrow {
    position: relative;
}
.tabrow:after {
    position: absolute;
    content: "";
    width: 100%;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #AAA;
    z-index: 1;
}

.tabrow:before {
    z-index: 1;
}
.tabrow li {
    position: relative;
    z-index: 0;
}
.tabrow li.selected {
    z-index: 2;
    border-bottom-color: #f9f4ef;
}

/* Used for the flash cards */
.flip-container {
    perspective: 1000px;
}

.flip-container.hover .flipper {
    transform: rotateY(180deg);
}
.flip-container,
.front,
.back {
    width: 300px;
    height: 300px;
}
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.front {
    z-index: 2;
    transform: rotateY(0deg);
}
.back {
    transform: rotateY(180deg);
}

/* Tooltip container. Used in the grammer pages to show the English translations of texts. */
/* There are 5 sizes:
- tooltip: default size: 300
- tooltip2: small size: 200
- tooltip3: medium size: 250
- tooltip4: larger size: 350
- tooltip5: large size: 400
- tooltip6: extra large size: 450
- tooltip7: extra extra large: 500
- tooltip8: extra extra extra: 550
- tooltip9: Super large: 625
*/

/* Regular Size */
.tooltip {
     position: relative;
     display: inline-block;
 }

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip .tooltiptext {
    width: 300px;
    top: 100%;
    left: 50%;
    margin-left: -150px; /* Use half of the width, to center the tooltip */
}

/* Small Size */
.tooltip2 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip2 .tooltiptext2 {
    visibility: hidden;
    width: 200px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip2:hover .tooltiptext2 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip2 .tooltiptext2 {
    width: 200px;
    top: 100%;
    left: 50%;
    margin-left: -100px; /* Use half of the width, to center the tooltip */
}

/* Medium Size */
.tooltip3 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip3 .tooltiptext3 {
    visibility: hidden;
    width: 250px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip3:hover .tooltiptext3 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip3 .tooltiptext3 {
    width: 250px;
    top: 100%;
    left: 50%;
    margin-left: -125px; /* Use half of the width, to center the tooltip */
}

/* Large Size */
.tooltip4 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip4 .tooltiptext4 {
    visibility: hidden;
    width: 350px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip4:hover .tooltiptext4 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip4 .tooltiptext4 {
    width: 350px;
    top: 100%;
    left: 40%;
    margin-left: -175px; /* Use half of the width, to center the tooltip */
}

/* Large Size */
.tooltip5 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip5 .tooltiptext5 {
    visibility: hidden;
    width: 400px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip5:hover .tooltiptext5 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip5 .tooltiptext5 {
    width: 400px;
    top: 100%;
    left: 50%;
    margin-left: -200px; /* Use half of the width, to center the tooltip */
}

/* Extra large Size */
.tooltip6 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip6 .tooltiptext6 {
    visibility: hidden;
    width: 450px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip6:hover .tooltiptext6 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip6 .tooltiptext6 {
    width: 450px;
    top: 100%;
    left: 50%;
    margin-left: -225px; /* Use half of the width, to center the tooltip */
}

/* Extra extra large Size */
.tooltip7 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip7 .tooltiptext7 {
    visibility: hidden;
    width: 500px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip7:hover .tooltiptext7 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip7 .tooltiptext7 {
    width: 500px;
    top: 100%;
    left: 50%;
    margin-left: -250px; /* Use half of the width, to center the tooltip */
}

/* Extra extra extra large Size */
.tooltip8 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip8 .tooltiptext8 {
    visibility: hidden;
    width: 550px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip8:hover .tooltiptext8 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip8 .tooltiptext8 {
    width: 550px;
    top: 100%;
    left: 50%;
    margin-left: -275px; /* Use half of the width, to center the tooltip */
}

/* Super large Size */
.tooltip9 {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip9 .tooltiptext9 {
    visibility: hidden;
    width: 625px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip9:hover .tooltiptext9 {
    visibility: visible;
}

/* Position the text at the bottom */
.tooltip9 .tooltiptext9 {
    width: 625px;
    top: 100%;
    left: 50%;
    margin-left: -313px; /* Use half of the width, to center the tooltip */
}



.polytripperbutton {
    color: #000 !important;
    text-transform: uppercase;
    background: #ffffff;
    padding: 20px;
    border: 4px solid #008198 !important;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease 0s;
    font-weight: 600 !important;
}

.polytripperbutton:hover {
    color: #000 !important;
    border-radius: 6px;
    border-color: #008198 !important;
    transition: all 0.3s ease 0s;
}

.nowidth_greenbackbutton{
    background-color: #80CD36 !important; /* Green */
    border: none !important;
    color: white;
    padding: 5px 25px 5px 25px;
    text-align: center;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}

.nowidth_greenbackbutton:hover:enabled{
    background-color: #60a320 !important;
    border: none !important;
}