#mainContainer {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background-color: #f0f0f0;    
}

#contentContainer {
    width: 100%;
}

#mainContainer img {
    max-width: 100%;
}

#mainContainer div,
#mainContainer input,
#mainContainer textarea,
#mainContainer button,
#mainContainer p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#mainContainer h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    margin: 5px 15px;
}

#mainContainer h2 {
    font-family: 'Poppins', sans-serif;
}

#mainContainer p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    margin: 15px;
    line-height: 1.4;
}

#mainContainer .content-section {
    width: 95%;
    margin: 0 auto;
    padding: 10px 0;
}

#mainContainer .content-section.card-style {
    padding: 10px;
    background-color: white;
    box-shadow: 0 2px 5px 0 gray;
    margin: 15px auto;
}

#mainContainer .center {
    text-align: center;
    justify-content: center;
}

#mainContainer .bold {
    font-weight: bold;
}

#mainContainer .italic {
    font-style: italic;
}

#mainContainer .normal-font-weight {
    font-weight: 300;
}

#mainContainer .underline {
    text-decoration: underline;
}

#mainContainer .left-margin {
    margin-left: 25px;
}

#mainContainer .no-margin {
    margin: 0;
}

#mainContainer .tool-title-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 5px;
}

#mainContainer .share-block {
    margin: 5px;
}

#mainContainer .share-icon {
    margin: 0 5px;
}

#mainContainer .top-border {
    border-top: 1px solid #ccc;
}

#mainContainer .lower-alpha {
    list-style-type: lower-alpha;
}

#mainContainer .ad-unit {
    text-align: center;
    margin: 5px auto;
}



/* -- Conveter tool general -- */
#converterTool #Volume {
    height: 552px;
}

#converterTool #Weight,
#converterTool #Length,
#converterTool #Time,
#converterTool #Temperature {
    display: none;
    height: 552px;
}

#converterTool #gasMarkDropDown {
    width: 65px;
    min-width: 65px;
}

#converterTool a:link,
#converterTool a:visited {
    color: white;
}

#converterTool a:hover,
#converterTool a:active {
    color: #6cf;
}



/* -- Converter tool tabs -- */
#converterTool .tab-block {
    display: flex;
    overflow-x: scroll;
    -ms-overflow-style: none;
}

#converterTool .tab-block::-webkit-scrollbar {
    display: none;
}

#converterTool .tab {
    height: 40px;
    width: 100%;
	margin: 0;	
	font-size: 12px;
	background-color:  #999;
	border: 0;
    border-radius: 0;
    cursor: pointer;
    outline: none;
}

#converterTool .tab.selected {
    background-color: #eee;
}



#converterTool .tab:hover {
    background-color: #777;
}

#converterTool .tab.selected:hover {
    background-color: #eee;
}



/* -- Converter tool blocks -- */

#converterTool .unit-block {
    width: 100%;
    margin: 0;
    padding: 10px 0 20px 0;
    color: black;
    background-color: #eee;
}

#converterTool .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

#converterTool .row.margin {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 15px;
}

#converterTool .row.header {
    height: 40px;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #777;
    margin: 0;
}

#converterTool .row.title {
    margin: 15px 0 2px 0;
}

#converterTool .row.title.margin {
    margin: 15px 15px 2px 15px;
}

#converterTool .row.title.center {
    justify-content: center;
}

#converterTool .row.buttons {
    margin-top: 10px;
}

#converterTool .row.bottom-note {
    margin: 30px 20px 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
}

#converterTool .row.bottom-note div {
    margin-bottom: 10px;
}

#converterTool .row.checkbox {
    align-items: baseline;
    justify-content: flex-start;
    margin: 20px 20px 20px 10px;
}

#converterTool .row [type="checkbox"] {
    margin-right: 5px;
}

#converterTool .row.tabs {
    overflow: hidden;
}

#converterTool .row.tabs .tab {
    width: 50%;
}


/* -- Converter inputs -- */
#converterInput {
	height:	auto;
    width: 100%;
    padding: 15px;
	color: #eee;
	background-color: #333;
}

#converterTool input {
    padding: 2px;
}

#converterTool textarea {
    resize: none;
    padding: 2px;
    font-size: 16px;
    outline: none;
}

#converterTool .converter-input {
	font-size: 14px;
	width: 63%;
	height: 50px;
	margin-right: 3%;
    border-radius: 0px;
	border: 1px solid;
    padding: 5px;
    outline: none;
}

#converterTool .vdropDown {
	font-size: 16px;
	height: 50px;
	width: 100%;
	border: 1px solid #000;
	border-radius: 0px;
	padding: 5px;
    color: #000;
    outline: none;
}

#converterTool .gdropDown {
    font-size: 16px;
	height: 50px;
	width: 100%;
	border: 1px solid #000;
	border-radius: 0px;
	padding: 5px;
    color: #000;
    outline: none;
}

#converterTool .dropDown {
	font-size: 16px;
	height: 50px;
	width: 100%;
	border: 1px solid #000;
	border-radius: 0px;
	padding: 5px;
    color: #000;
    outline: none;
}

#converterTool .desired-container {
    align-self: flex-end;
    margin-bottom: 2px;
}


/* -- Converter output -- */
#converterTool .conversion-output {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 5px;
}

#converterTool .conversion {
    display: flex;
    flex-direction: column;    
    width: 45%;
}

#converterTool .conversion-equals {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: black;
    padding: 5px;
}

#converterTool .conversion-or {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 5px;
}

#converterTool .conversion-out{
	text-align: center;
	height: 50px;
    width: 100%;
    font-size: 14px;
	border: 1px solid;
	background-color: white;
}

#converterTool .conversion-out-top {
	font-size: 16px;
	text-align: center;
	width: 100%;
    background-color: white;
    border: none;
    outline: none;
}

#converterTool .output-top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50px;
}

#converterTool .conversion-out-bottom{
	font-size: 16px;
	text-align: center;
	width: 100%;
    background-color: white;
    border: none;
    outline: none;
}

#converterTool .output-bottom {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 50px;
}

/* -- Conversion pad -- */
#convertedBlock{
	height:	auto;
	width: 100%;
	margin-left: 0;
    margin-top: 10px;
    padding: 15px;
	color: #eee;
	background-color: #333;
}

#convertedBlock .conversion-pad-title {
    font-size: 20px;
    margin-bottom: 5px;
}

#conversionPad {
	width: 100%;
	height: 280px;
    font-size: 16px;
    margin: 10px 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px;
}


/* -- Tool Desc -- */
#toolDesc a:link,
#toolDesc a:visited {
    color: black;
}

#toolDesc a:hover,
#toolDesc a:active {
    color: dodgerblue;
}


/* -- Tool styles -- */
#converterTool {
	display: flex;
	flex-wrap: wrap;
	font-size: 16px;
	width: 100%;	
    color: #333;
    margin: 5px auto;
}


/* -- Tool instructions -- */

#toolInstructions h3 {
    font-family: 'Roboto', sans-serif;
}

#toolInstructions p {
    margin: 15px 0;
}

#toolInstructions img {
    margin: 20px 0;
}

#toolInstructions ol {
    font-size: 18px;
    line-height: 1.4;
    margin: 15px auto;
    padding: 0 25px;
}

#toolInstructions li {
    font-size: 18px;
    margin: 0;
}



/* -- Tool Buttons -- */
#converterTool .btn {
    color: #555;
    border: solid 1px #333;
    text-align: center;
    outline: none;
    padding: 5px;
}

#converterTool .btn2 {
    clear: none;
    display: block;
    color: #555;
    border:0;
    text-align: center;
    padding: 5px;
}

#converterTool .btnR {
    clear: none;
    display: block;
    color: #555;
    border:0;
    text-align: center;
    padding: 5px;
}

#converterTool .btn:hover,
#converterTool .btn2:hover,
#converterTool .btnR:hover {
    border: 2px solid #555;
}

#converterTool .convertButton {
	font-size: 16px;
	height: 50px;
	width: 34%;
	background-color: #c9e4a5;
}

#converterTool .swapUnitsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0 5px 5px;
}

#converterTool .swapUnitsButton {
    display: flex;
    justify-content: center;
    align-items: center;
	font-size: 24px;
	font-weight: bold;
    height: 40px;
    width: 40px;
	text-align: center;
	color: #555;
	background-color: #d0b2e7;
	border: solid 1px #333;
}

#converterTool .swapUnitsButton:hover {
	border: 2px solid #555;
}

#converterTool .swapUnitsButton:active {
	background-color:#ccc;
}


#converterTool .unit-type-button {
	background-color: #b8edff;
	font-size: 16px;
	width: 50px;
	height: 50px;
	margin-right: 15px;
}

#printRecipeButton {
	height: 40px;
	margin: 0 5px 0 0;
	background-color: #eee;	
}

#clearRecipeButton {
	height: 40px;
	background-color: #FF9999;	
}

#printRecipeButton:active,
#clearRecipeButton:active {
    background-color: #ccc;
}

/* -- Note box -- */
#toolInstructions .note-container {
    display: flex;
    align-items: center;
    background-color: #cef;
    padding: 20px 20px 20px 50px;
    margin: 0;
}

#toolInstructions .note {    
    color: #069;
    font-size: 14px; 
    line-height: 150%;  
}

#toolInstructions .note a {    
    color: #069;
    font-size: 14px; 
    line-height: 150%;
    text-decoration: underline;  
}

#toolInstructions .note::before {
    content: "warning";
    font-family: "Material Icons";
    font-feature-settings: "liga";
    font-size: 24px;
    float: left;
    margin-left: -36px;
}


@media only screen and (min-width: 500px) {

    #converterTool .tab-block {
        display: flex;
        flex-wrap: nowrap;
        justify-content: stretch;
        overflow: hidden;
    }

    #converterTool .tab {        	
        font-size: 14px;
    }

    #converterTool .converter-input,
    #converterTool .convertButton,
    #converterTool .unit-type-button,
    #converterTool .vdropDown,
    #converterTool .dropDown,
    #converterTool .conversion-out,
    #converterTool .conversion-out-top,
    #converterTool .conversion-out-bottom {
        font-size: 20px;
    }

    #toolInstructions p {
        margin: 15px;
    }

    #toolInstructions li {
        margin: 0 0 10px 20px;
    }

    #toolInstructions .note-container {
        display: flex;
        align-items: center;
        background-color: #cef;
        padding: 20px 20px 20px 60px;
        margin: 5px 15px 20px 15px;
    }
}


@media only screen and (min-width: 768px) {
    
    #mainContainer h1 {
        font-size: 40px;
    }

    #converterTool {
        font-size: 16px; 
        margin: 5px auto;
    }    

    #conversionPad {
        height: 320px;
    }
}


@media only screen and (min-width: 800px) {
    
    #mainContainer .content-section {
        max-width: 1100px;
        width: 95%;
        margin: 20px auto;
        padding: 20px 0;
    }
        
    #converterTool {
        flex-wrap: nowrap;
    }

    #converterInput {
        height:	675px;
        color: #eee;
        background-color: #333;
    }
    
    #convertedBlock {
        height:	675px;
        margin-left: 0.5%;
        margin-top: 0;
        color: #eee;
        background-color: #333;
    }

    #conversionPad {
        height: 500px;
    }
}