/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 27, 2015, 10:57:21 AM
    Author     : co075oh
*/

/* Desktop CSS */
@media only screen and (min-width:1025px) {
    
    main div.content {
        text-align: center;
        margin: 50px auto 50px auto;
        width: 75%;
    }

    main div.content article {
        width: 25%;
        display: inline-block;
        padding: 25px;
        vertical-align: top;
    }

    main div.content article img {
        display: block;
        margin: 0 auto;
    }

    main div.content article p {
        text-align: left;
    }
    
    main section.content_left_align {
        margin: 50px auto 50px auto;
        width: 75%;
    }
    
    .table {
        display: table;
    }

    .table-row {
        display: table-row;
    }

    .table-column-left {
        display: table-cell;
        vertical-align: top;
    }

    .table-column-right {
        display: table-cell;
        vertical-align: top;
        padding-left: 50px;
    }
    
}

/* Tablet CSS */
@media only screen and (min-width: 761px) and (max-width:1024px) {
    
    main div.content {
        text-align: center;
        margin: 50px auto 50px auto;
        width: 75%;
    }

    main div.content article {
        padding: 30px 50px 30px 50px;
        vertical-align: top;
    }

    main div.content article img {
        display: block;
        margin: 0 auto;
    }

    main div.content article p {
        text-align: left;
    }
    
    main section.content_left_align {
        margin: 50px auto 50px auto;
        width: 75%;
    }
    
    .table-column-left img, .table-column-right img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }
    
}

/* Mobile CSS */
@media only screen and (max-width:760px) {
    
    main div.content {
        text-align: center;
        margin: 50px auto 50px auto;
        width: 100%;
    }

    main div.content article {
        padding: 30px 50px 30px 50px;
        vertical-align: top;
    }

    main div.content article img {
        display: block;
        margin: 0 auto;
    }

    main div.content article p {
        text-align: left;
    }
    
    main section.content_left_align {
        margin: 50px auto 50px auto;
        width: 90%;
    }
    
    .table-column-left img, .table-column-right img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }
    
}


/* GENERAL CSS */
body {
    margin: 0 auto;
    background-color: #FFFFFF;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    color: #000000;
}

h1 {
    color: #1E90FF;
    font-size: 36px;
}

h2 {
    color: #1E90FF;
    font-size: 28px;
}

h3 {
    color: #1E90FF;
    font-size: 22px;
}

h4,h5,h6 {
    color: #1E90FF;
    font-size: 18px;
}

ul li {
    color: #1E90FF;
    font-size: 18px;
}

ul li a, ul li div {
    color: #000000;
}

figcaption {
    color: #868185;
    font-size: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    border: none;
}

.homepage_section {
     background-position: center center;
     background-repeat: no-repeat;
     background-size: cover;
     min-height: 450px;
     height: 100%;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
}

#iframe_center {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

#iframe_center iframe {
    position: absolute;
    border: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img_center {
    display: block;
    margin: 0 auto;
    max-width: 80%;
}

.block_center {
    margin: 0 auto;
}

.nodecoration {
    text-decoration: none;
    color: #000000;
}

tbody tr:nth-of-type(odd) { 
  background: #EEEEEE; 
}

.floatright {
    float: right;
    max-width: 55%;
    padding-left: 10px;
}

.floatleft {
    float: left;
    max-width: 55%;
    padding-right: 10px;
}


/* HEADER CSS STYLING */
header {
    text-align: center;
}

header img {
    margin-top: 20px;
    max-width: 85%;
}

hr {
    width: 100%;
}

hr.header {
    width: 60%;
}


/* NAVIGATION CSS STYLING */
nav {
    text-align: center;
    margin: 10px;
    font-size: 24px;
    color: #1E90FF;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a:link, nav a:visited {
    color: #1E90FF;
    text-decoration: none;
    font-size: 24px;
}

nav a:hover, nav a:active {
    color: #1E90FF;
    text-decoration: underline;
    font-size: 24px;
}

nav a.activelink {
    font-weight: bolder;
}


/* FOOTER CSS STYLING */
footer {
    text-align: center;
    padding: 10px;
    font-size: 16px;
    color: #F6F1ED;
    background-color: #323232;
}

footer ul {
    margin: 18px;
    padding: 0;
    list-style-type: none;
}

footer ul li {
    display: inline;
    margin-right: 20px;
    font-size: 24px;
}

footer a:link, footer a:visited {
    color: #F6F1ED;
    text-decoration: none;
}

footer a:hover, footer a:active {
    color: #F6F1ED;
    text-decoration: underline;
}


/* CONTACT FORM CSS */
#contactform *, #contactform *:before, #contactform *:after {
    box-sizing: border-box;
    text-align: left;
}

#contactform {
    border: 1px solid #C6C7CC;
    border-radius: 5px;
    overflow: hidden;
    width: 600px;
    margin: 0 auto;
    max-width: 95%;
}

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

#contactform input, #contactform textarea {
    border-radius: 5px;
    margin: 0;
}

#contactform_input {
    padding: 20px 20px 0 20px !important;
}

#contactform_input label {
    color: #1E90FF;
    display: block;
    font-weight: bold;
    margin-bottom: 20px;
}

#contactform_input input[type="text"], #contactform_input input[type="email"], #contactform_input input[type="tel"], #contactform_input input[type="number"], #contactform_input select, #contactform_input textarea {
    background: #FFFFFF;
    border: 1px solid #C6C7CC;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
    color: #636566;
    padding: 6px;
    margin-top: 6px;
    width: 100%;
}

#contactform_submit {
    background: #F0F0F2;
    border-top: 1px solid #C6C7CC;
    padding: 20px !important;
}

#contactform_submit label {
    color: #7C7C80;
    float: left;
    margin: 5px 0 0 40px;
    max-width: 50%;
}

#contactform_submit input#action {
    margin-top: 25px;
}

#action {
    padding: 10px 30px 10px 30px;
    background: linear-gradient(#FF7F50, #331910);
    border: 0;
    color: #FEFEFE;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    float: left;
}

.error, .success {
    border: 1px solid;
    border-radius: 5px;
    margin: 20px 20px 0px 20px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url('/images/success.png');
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('/images/error.png');
}