﻿button.accordion {
    background-color: #fff;
    color: #444;
    font-weight: bold;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    outline: 0;
    margin-left: 200px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
@media only screen and (max-width: 1100px) {
    button.accordion {
        margin-left: 50px;
        width:80%;
        font-size:16px;
    }
}

button::-moz-focus-inner {
  border: 0;
}
button.accordion.clicked, button.accordion:hover {
    font-weight: bold;
    /*background-color:#27487c;*/
    color: #178fe0;
    outline: 0;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

button.accordion .chevron {
    -moz-transform: rotate(0deg); /* Firefox */
    -ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);

    font-family:"Roboto";
    font-size:24px;
    line-height:22px;
    float:left;
    padding-left:0;
    padding-right:0px;
    font-weight:bold;
    vertical-align:middle;
    margin-right:10px;

    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
button.accordion.clicked .chevron {
    -moz-transform: rotate(90deg); /* Firefox */
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    
    float: left;
    padding-left: 0;
    padding-right: 0px;
    font-weight: bold;

    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
div.panel {
    overflow: hidden;
    padding: 0 18px;
    max-height: 0em;
    /*display: none;
    background-color: white;*/
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

#FAQ .panel p {
    padding-left: 21%;
}

@media only screen and (max-width: 1260px) {
    #FAQ .panel p {
        padding-left: 30%;
    }
}

button.accordion.clicked + div.panel {
    max-height: 25em;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

@media only screen and (max-width:1260px) {
    button.accordion.clicked + div.panel {
        max-height: 75em !important;
    }
}

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 640px) {
    #FAQ h3{
        font-size:56px !important;
    }
    button.accordion {
        margin-left: 0px;
        width: 80%;
        font-size: 40px;
    }
    button.accordion .chevron {
        padding-top:15px;
        font-size: 44px;
    }

    #FAQ .panel p {
        padding-left: 1%;
        font-size:30px;
    }
    button.accordion.clicked + div.panel {
        max-height: 75em !important;
    }
}

/* #### iPhones Portrait or Landscape #### */
@media screen and (max-device-width: 736px) {
    #FAQ h3 {
        font-size: 56px !important;
    }
    button.accordion {
        margin-left: 0px;
        width: 80%;
        font-size: 40px;
    }

    button.accordion .chevron {
        padding-top:15px;
        font-size: 44px;
    }

    #FAQ .panel p {
        padding-left: 1%;
        font-size: 30px;
    }

    button.accordion.clicked + div.panel {
        max-height: 75em !important;
    }
}