h1 {
	color:#000000;
}

h2 {
	color:#999999;
}

p {
    margin: 20px;
}

p span {
    color: #999999;
    font-size: 0.9em;
}

ul {
    margin-left: 30px;
    line-height: 200%;
}

#container {
	width:50%;
	margin:20px auto;
	font-size: 16px;
    border-width: 1px;
    border-style: solid;
    border-color: #000000;
    border-radius: 20px;
}

#header {
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff0d7;
}

#titlecnt {
    padding: 10px;
    padding-left: 20px;
    background-color: #fff8ee;
}

#logocnt {
    display: grid;
    grid-template-columns: 50px auto;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    align-self: center;
}

.ma {
    margin: 0;
    font-size: 2.5em;
    line-height: 140%;
    height: 50px;
    align-self: center;
}

#frm {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 20px;
    background-color: #ffffff;
}

#frm > input:not([type=checkbox]), #frm >select {
	display:block;
	margin-top: 5px;
	padding:10px;
	width:200px;
	font-size: 1em;
	border-radius: 5px;
}

.child > input:not([type=checkbox]), .child >select {
	display:inline;
	margin-top: 10px;
	padding:10px;
	width:200px;
	font-size: 1em;
	border-radius: 5px;
}

.remove {
    display: none;
	margin-left: 10px;
	padding: 5px;
    padding-left: 10px;
    width: 35px;
    height: 35px;
}

#msg {
	margin: 0 auto;
    width: 80%;
}

#msg > table {
	text-align: left;
    border-collapse: separate;
    border-spacing: 15px;
}

#pym {
    width: 50%;
    margin: 0 auto;
}


@media only screen and (max-width: 1200px)
{
    #container {
        width:80%;
    }

    .ma {
        margin: 0;
        font-size: 2em;
        line-height: 160%;
        height: 50px;
        align-self: center;
    }

    #msg {
        margin: 0 auto;
        width: 50%;
    }

    #pym {
        width: 80%;
        margin: 0 auto;
    }
}


@media only screen and (max-width: 750px)
{
    #container {
        width:90%;
    }

    .ma {
        margin: 0;
        font-size: 2em;
        line-height: 160%;
        height: 50px;
        align-self: center;
    }

    #pym {
        width: 80%;
        margin: 0 auto;
    }
}


@media only screen and (max-width: 600px)
{
    #container {
        width:90%;
    }

    .ma {
        margin: 0;
        font-size: 2em;
        line-height: 160%;
        height: 50px;
        align-self: center;
    }

    #pym {
        width: 80%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 360px)
{
    #container {
        width:90%;
    }

    .ma {
        margin: 0;
        font-size: 1.5em;
        line-height: 200%;
        height: 50px;
        align-self: center;
    }

    #pym {
        width: 80%;
        margin: 0 auto;
    }
}

/* iphone 6 portrait mode */
@media only screen and (max-width: 320px)
{
    #container {
        width:90%;
    }

    .ma {
        margin: 0;
        font-size: 1.1em;
        line-height: 240%;
        height: 50px;
        align-self: center;
    }

    #msg {
        margin: 0 auto;
        width: 80%;
    }

    #pym {
        width: 90%;
        margin: 0 auto;
    }
}


/* This will resolve the issues related to buttons and / or dropdowns that erroneously bring you back to the top of the page when they are clicked */

@media screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2) {
	html {
	  position: fixed;
	  overflow: auto;
	  width: 100%;
	  height: 100%;
	}
	html body {
	  position: fixed;
	  overflow-x: scroll;
	  height: 100%;
	  width: 100%;
	}
  }
  @media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
	html {
	  position: fixed;
	  overflow: auto;
	  width: 100%;
	  height: 100%;
	}
	html body {
	  position: fixed;
	  overflow-x: scroll;
	  height: 100%;
	  width: 100%;
	}
  }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
	html {
	  position: fixed;
	  overflow: auto;
	  width: 100%;
	  height: 100%;
	}
	html body {
	  position: fixed;
	  overflow-x: scroll;
	  height: 100%;
	  width: 100%;
	}
  }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
	html {
	  position: fixed;
	  overflow: auto;
	  width: 100%;
	  height: 100%;
	}
	html body {
	  position: fixed;
	  overflow-x: scroll;
	  height: 100%;
	  width: 100%;
	}
  }
  @media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) {
	html {
	  position: fixed;
	  overflow: auto;
	  width: 100%;
	  height: 100%;
	}
	html body {
	  position: fixed;
	  overflow-x: scroll;
	  height: 100%;
	  width: 100%;
	}
  }