/*
=============================
    FULL WIDTH IMAGE
=============================
*/

.main-image img {
    width: 100%;
}

/*
=============================
    MAIN ARTICLE
=============================
*/

/* GENERAL RULES */

.article {
    margin: 30px auto;
    color: #333;
    line-height: 1.5em;
}

/*
=============================
    HEADER
=============================
*/

/* GENERAL RULES */

.article h1 {
    color: #333; /* Grey */
    font-size: 1.6em;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 20px;
}

.article span, .main-text span {
    color: #df2590; /* Pink */
}

.article h2, .article h3, .article h4 {
    font-size: 1em;
}

.article h2 {
    margin-bottom: 10px;
}

/*
=============================
    MAIN TEXT
=============================
*/

/* WIDTH OF CONTAINER */

.main-text {
    width: 80%;
    margin: 0 auto;
}

/* PARAGRAPH RULES */

.main-text p {
    text-align: justify;
    font-size: 1em;
    margin-left: 15px;
}

.main-text p, .main-text img {
    margin-bottom: 25px;
}

.main-text p:nth-child(2) {
    margin-bottom: 20px;
}

.main-text .pink {
    color: #df2590; /* Pink */
    text-align: center;
}

.main-text .red {
    color: #f00; /* Red */
}

/* LINK RULES */

.main-text a {
    color: #df2590; /* Pink */
}

/* LIST AND SUB-HEADER RULES */

.main-text li {
    margin-left: 20px;
    list-style-type: disc;
}

.main-text li:last-child {
    margin-bottom: 20px;
}

ul li span {
    font-weight: bold;
    color: #df2590; /* Pink */
}

li > p {
    margin-left: 0px !important;
}

/* COLORS INLINE ELEMENTS PINK */

.read, h1 span, h2 span, p span {
    color: #df2590; /* Pink */
    cursor: pointer;
}

/* IMAGE RULES */

.main-text img {
    margin-top: 10px;
}

.banner {
    margin-bottom: 20px;
}

/* KEEPS EXTRA CONTENT HIDDEN */

.extra-text {
    display: none;
}

/* REGISTER BUTTON */

.register-btn {
    position: fixed;
    height: 30px;
    width: 160px;
    bottom: 0;
    right: 0;
    background-color: #df2590; /* Pink */
    color: #fff; /* White */
    font-size: 1.2em;
    line-height: 30px;
    text-align: center;
    border-top-left-radius: 60px;
}

/* FREE CONSULTATION BUTTON */

.freeconsultation-btn {
    position: fixed;
    height: 60px;
    width: 160px;
    bottom: 0;
    right: 0;
    background-color: #ffeb3b; /* Yellow */
    color: #000000; /* Black */
    font-size: 1.2em;
    line-height: 30px;
    text-align: center;
    border-top-left-radius: 30px;
}

/* MAKES ROOM FOR REGISTER BUTTON ON FOOTER */

footer {
    margin-bottom: 55px;
}



/* AUPAIR PROGRAMS PAGE */

.countries ul li {
    list-style-type: none;
    margin-bottom: 0px !important;
}

.program {
    margin-top: 10px;
    margin-bottom: 20px;
}

.program h2 {
    color: #df2590; /* Pink */
    font-weight: bold;
    font-size: 1.4em;
}

.program img {
    margin: 10px auto;
}

.program p {
    margin: 5px 0 5px 15px;
}



/* TYPES OF VISA PAGE */

.visa-links li {
    list-style-type: none;
}

.visa-links i {
    color: #df2590; /* Pink */
    font-size: 0.5em;
    vertical-align: middle;
    padding-right: 10px;
}

.visa h2 {
    font-size: 1.4em;
    margin-left: 0;
}

#visa a.grey {
   color: inherit;
}

/* ENGLISH2SKYPE PAGE */

#download-btn {
    width: 200px;
    margin: 0;
}

.eng2skype img {
    width: 0 auto;
    margin-bottom: 10px;
}

.eng2skype h1 {
    color: rgb(0, 112, 192); /* Blue */
    text-transform: capitalize;
    width: 100%;
}

.eng2skype span {
    color: rgb(0, 112, 192); /* Blue */
}

.eng2skype .super {
    vertical-align: super;
    font-size: 0.7em;
}

.eng2skype .light {
    font-weight: lighter;
}

.eng2skype .grey {
    color: rgb(102, 102, 102); /* Grey */
}

.eng2skype input[name="day"] {
    width: 100px;
}

@media screen and (min-width: 768px) {

   .e2s-logo {
      width: 400px;
      margin: 0 auto;
   }

   .eng2skype h1 {
      width: 340px;
   }
}

@media screen and (min-width: 1024px) {

   .eng2skype img {
      margin-bottom: 0;
   }
}

@media screen and (min-width: 1366px)  {

   .e2s-logo {
      width: 460px;
   }

   .eng2skype h1 {
      width: 410px;
   }
}

/* CONTACT PAGE */

.contacts p {
    text-align: center;
}

.contacts ul {
    width: 240px;
    margin: 0 auto;
}

.contacts li {
    text-align: justify;
}

.article .center {
    text-align: center;
}

.main-text .center > * {
    text-align: center;
}

.main-text .center li {
    list-style-type: none;
}

.center p:first-of-type {
    margin-bottom: 10px;
}



/* INSURANCE PAGE */

.insur-banner-lg {
    display: none;
}

@media screen and (min-width: 551px) {
    .insur-banner-sm {
        display: none;
    }

    .insur-banner-lg {
        display: block;
    }

}

/*
=============================
    TABLE
=============================
*/

table {
    margin: 0 auto 20px;
}

td {
    padding-left: 10px;
}

td:first-child {
    text-align: right;
}

.contact td:first-child {
    text-align: left;
}

/*
=============================
    LINE BREAK
=============================
*/

hr {
    border: 1px dashed rgb(121, 121, 121); /* Grey */
    margin-bottom: 20px;
}

/*
=============================
    MEDIA QUERIES
=============================
*/

@media screen and (max-width: 424px) {
    .program img {
        max-width: 220px;
    }
}

@media screen and (min-width: 426px) {
    .main-text p {
        margin-left: 0px;
    }
}

@media screen and (max-width: 767px) {
    .main-text h2 {
        margin-left: 15px;
    }
}

@media screen and (min-width: 768px) {
    .program img {
        float: left;
        margin-right: 15px;
        margin-bottom: 0px;
    }

    .program {
        clear: left;
    }

    .program:after {
        content: "";
        display: table;
        clear: both;
    }

    .program p {
        padding-top: 15px;
    }

    .program h2 {
        font-size: 1.6em;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .contacts {
        width: 50%;
    }

    .inline-img {
        width: 82%;
        margin: 0 auto;
    }

    .inline-img img {
        display: inline-block;
        width: 49%;
    }
}

@media screen and (min-width: 1024px) {
    .article h1 {
        letter-spacing: 0.5px;
        margin: 30px 0px;
    }
}

/* Reduces width of article */
@media screen and (min-width: 1366px) {
    .main-text {
        width: 70%;
    }

    .article h1 {
        font-size: 2em;
        margin: 50px 0px;
    }

    .contacts {
        width: 35%;
    }

    .extra-text {
        display: block;
    }

    .read {
        display: none;
    }
}

@media screen and (min-width: 1920px) {
    .main-text {
        width: 60%;
    }
}
